Home
last modified time | relevance | path

Searched refs:limits (Results 1 – 200 of 298) sorted by relevance

12

/linux-4.4.14/drivers/media/i2c/
Daptina-pll.c30 const struct aptina_pll_limits *limits, in aptina_pll_calculate() argument
43 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate()
44 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate()
49 if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) { in aptina_pll_calculate()
69 mf_min = DIV_ROUND_UP(limits->m_min, pll->m); in aptina_pll_calculate()
70 mf_min = max(mf_min, limits->out_clock_min / in aptina_pll_calculate()
71 (pll->ext_clock / limits->n_min * pll->m)); in aptina_pll_calculate()
72 mf_min = max(mf_min, limits->n_min * limits->p1_min / div); in aptina_pll_calculate()
73 mf_max = limits->m_max / pll->m; in aptina_pll_calculate()
74 mf_max = min(mf_max, limits->out_clock_max / in aptina_pll_calculate()
[all …]
Dsmiapp-pll.c86 const struct smiapp_pll_limits *limits, in check_all_bounds() argument
94 limits->min_pll_ip_freq_hz, in check_all_bounds()
95 limits->max_pll_ip_freq_hz, in check_all_bounds()
100 limits->min_pll_multiplier, limits->max_pll_multiplier, in check_all_bounds()
105 limits->min_pll_op_freq_hz, limits->max_pll_op_freq_hz, in check_all_bounds()
135 limits->vt.min_sys_clk_freq_hz, in check_all_bounds()
136 limits->vt.max_sys_clk_freq_hz, in check_all_bounds()
141 limits->vt.min_pix_clk_freq_hz, in check_all_bounds()
142 limits->vt.max_pix_clk_freq_hz, in check_all_bounds()
160 struct device *dev, const struct smiapp_pll_limits *limits, in __smiapp_pll_calculate() argument
[all …]
Daptina-pll.h53 const struct aptina_pll_limits *limits,
Dsmiapp-pll.h104 const struct smiapp_pll_limits *limits,
Dmt9p031.c217 static const struct aptina_pll_limits limits = { in mt9p031_clk_setup() local
248 if (pdata->ext_freq > limits.ext_clock_max) { in mt9p031_clk_setup()
264 return aptina_pll_calculate(&client->dev, &limits, &mt9p031->pll); in mt9p031_clk_setup()
Dmt9m032.c264 static const struct aptina_pll_limits limits = { in mt9m032_setup_pll() local
289 ret = aptina_pll_calculate(&client->dev, &limits, &pll); in mt9m032_setup_pll()
/linux-4.4.14/block/
Dblk-settings.c170 blk_set_default_limits(&q->limits); in blk_queue_make_request()
204 q->limits.bounce_pfn = max(max_low_pfn, b_pfn); in blk_queue_bounce_limit()
208 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
213 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
239 struct queue_limits *limits = &q->limits; in blk_queue_max_hw_sectors() local
248 limits->max_hw_sectors = max_hw_sectors; in blk_queue_max_hw_sectors()
249 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
251 limits->max_sectors = max_sectors; in blk_queue_max_hw_sectors()
271 q->limits.chunk_sectors = chunk_sectors; in blk_queue_chunk_sectors()
283 q->limits.max_hw_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
[all …]
Dblk-sysfs.c112 return queue_var_show(q->limits.max_integrity_segments, (page)); in queue_max_integrity_segments_show()
145 return queue_var_show(q->limits.discard_granularity, page); in queue_discard_granularity_show()
152 val = q->limits.max_hw_discard_sectors << 9; in queue_discard_max_hw_show()
159 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
171 if (max_discard & (q->limits.discard_granularity - 1)) in queue_discard_max_store()
178 if (max_discard > q->limits.max_hw_discard_sectors) in queue_discard_max_store()
179 max_discard = q->limits.max_hw_discard_sectors; in queue_discard_max_store()
181 q->limits.max_discard_sectors = max_discard; in queue_discard_max_store()
193 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
209 q->limits.max_dev_sectors >> 1); in queue_max_sectors_store()
[all …]
Dblk-merge.c25 granularity = max(q->limits.discard_granularity >> 9, 1U); in blk_bio_discard_split()
27 max_discard_sectors = min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blk_bio_discard_split()
44 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()
62 if (!q->limits.max_write_same_sectors) in blk_bio_write_same_split()
65 if (bio_sectors(bio) <= q->limits.max_write_same_sectors) in blk_bio_write_same_split()
68 return bio_split(bio, q->limits.max_write_same_sectors, GFP_NOIO, bs); in blk_bio_write_same_split()
Dblk-lib.c60 granularity = max(q->limits.discard_granularity >> 9, 1U); in blkdev_issue_discard()
290 if (discard && blk_queue_discard(q) && q->limits.discard_zeroes_data && in blkdev_issue_zeroout()
Dblk-integrity.c200 q->limits.max_integrity_segments) in blk_integrity_merge_rq()
230 q->limits.max_integrity_segments) in blk_integrity_merge_bio()
Dpartition-generic.c303 queue_limit_alignment_offset(&disk->queue->limits, start); in add_partition()
305 queue_limit_discard_alignment(&disk->queue->limits, start); in add_partition()
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c187 static struct perf_limits *limits = &performance_limits; variable
189 static struct perf_limits *limits = &powersave_limits; variable
278 limits->turbo_disabled = in update_turbo_state()
297 adj_range = limits->min_perf_pct * range / 100; in intel_pstate_hwp_set()
302 adj_range = limits->max_perf_pct * range / 100; in intel_pstate_hwp_set()
304 if (limits->no_turbo) { in intel_pstate_hwp_set()
373 return sprintf(buf, "%u\n", limits->object); \
409 if (limits->turbo_disabled) in show_no_turbo()
410 ret = sprintf(buf, "%u\n", limits->turbo_disabled); in show_no_turbo()
412 ret = sprintf(buf, "%u\n", limits->no_turbo); in show_no_turbo()
[all …]
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_main.c169 mdev->limits.mtt_seg_size = (1 << log_mtts_per_seg) * 8; in mthca_dev_lim()
197 mdev->limits.num_ports = dev_lim->num_ports; in mthca_dev_lim()
198 mdev->limits.vl_cap = dev_lim->max_vl; in mthca_dev_lim()
199 mdev->limits.mtu_cap = dev_lim->max_mtu; in mthca_dev_lim()
200 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
201 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
202 mdev->limits.local_ca_ack_delay = dev_lim->local_ca_ack_delay; in mthca_dev_lim()
208 mdev->limits.max_sg = min_t(int, dev_lim->max_sg, in mthca_dev_lim()
215 mdev->limits.max_wqes = dev_lim->max_qp_sz; in mthca_dev_lim()
216 mdev->limits.max_qp_init_rdma = dev_lim->max_requester_per_qp; in mthca_dev_lim()
[all …]
Dmthca_profile.c96 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile()
175 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
180 dev->limits.num_eecs = profile[i].num; in mthca_make_profile()
185 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
190 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
201 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
214 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
215 dev->limits.num_amgms = profile[i].num >> 1; in mthca_make_profile()
222 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
228 dev->limits.num_mtt_segs = profile[i].num; in mthca_make_profile()
[all …]
Dmthca_mr.c223 for (i = dev->limits.mtt_seg_size / 8; i < size; i <<= 1) in __mthca_alloc_mtt()
269 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()
322 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
341 BUG_ON(s % dev->limits.mtt_seg_size); in mthca_arbel_write_mtt_seg()
344 s / dev->limits.mtt_seg_size, &dma_handle); in mthca_arbel_write_mtt_seg()
478 mr->mtt->first_seg * dev->limits.mtt_seg_size); in mthca_mr_alloc()
492 key & (dev->limits.num_mpts - 1)); in mthca_mr_alloc()
559 (dev->limits.num_mpts - 1)); in mthca_free_mr()
593 idx = key & (dev->limits.num_mpts - 1); in mthca_fmr_alloc()
613 mtt_seg = mr->mtt->first_seg * dev->limits.mtt_seg_size; in mthca_fmr_alloc()
[all …]
Dmthca_uar.c59 dev->limits.num_uars, in mthca_init_uar_table()
60 dev->limits.num_uars - 1, in mthca_init_uar_table()
61 dev->limits.reserved_uars + 1); in mthca_init_uar_table()
Dmthca_provider.c96 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device()
97 props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; in mthca_query_device()
98 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
99 props->max_sge = mdev->limits.max_sg; in mthca_query_device()
101 props->max_cq = mdev->limits.num_cqs - mdev->limits.reserved_cqs; in mthca_query_device()
102 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
103 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()
104 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
106 props->max_qp_init_rd_atom = mdev->limits.max_qp_init_rdma; in mthca_query_device()
108 props->max_srq = mdev->limits.num_srqs - mdev->limits.reserved_srqs; in mthca_query_device()
[all …]
Dmthca_srq.c207 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq()
208 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq()
224 if (!mthca_is_memfree(dev) && (ds > dev->limits.max_desc_sz)) in mthca_alloc_srq()
277 srq->srqn & (dev->limits.num_srqs - 1), in mthca_alloc_srq()
347 srq->srqn & (dev->limits.num_srqs - 1)); in mthca_free_srq()
429 srq = mthca_array_get(&dev->srq_table.srq, srqn & (dev->limits.num_srqs - 1)); in mthca_srq_event()
643 return dev->limits.max_sg; in mthca_max_srq_sge()
659 return min_t(int, dev->limits.max_sg, in mthca_max_srq_sge()
660 ((1 << (fls(dev->limits.max_desc_sz) - 1)) - in mthca_max_srq_sge()
675 dev->limits.num_srqs, in mthca_init_srq_table()
[all …]
Dmthca_qp.c244 qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1)); in mthca_qp_event()
316 param.port_width = dev->limits.port_width_cap; in init_port()
317 param.vl_cap = dev->limits.vl_cap; in init_port()
318 param.mtu_cap = dev->limits.mtu_cap; in init_port()
319 param.gid_cap = dev->limits.gid_table_len; in init_port()
320 param.pkey_cap = dev->limits.pkey_table_len; in init_port()
402 if (ib_ah_attr->port_num == 0 || ib_ah_attr->port_num > dev->limits.num_ports) in to_ib_ah_attr()
413 ib_ah_attr->grh.sgid_index = path->mgid_index & (dev->limits.gid_table_len - 1); in to_ib_ah_attr()
523 if (ah->grh.sgid_index >= dev->limits.gid_table_len) { in mthca_path_set()
525 ah->grh.sgid_index, dev->limits.gid_table_len-1); in mthca_path_set()
[all …]
Dmthca_mcg.c205 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_attach()
285 BUG_ON(amgm_index_to_free < dev->limits.num_mgms); in mthca_multicast_detach()
304 BUG_ON(index < dev->limits.num_mgms); in mthca_multicast_detach()
318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table()
323 dev->limits.num_mgms); in mthca_init_mcg_table()
Dmthca_pd.c72 dev->limits.num_pds, in mthca_init_pd_table()
74 dev->limits.reserved_pds); in mthca_init_pd_table()
Dmthca_av.c98 if (dev->limits.stat_rate_support == 0x3 && mthca_rate) in mthca_rate_to_ib()
147 if (!(dev->limits.stat_rate_support & (1 << rate))) in mthca_get_rate()
209 av->gid_index = (ah_attr->port_num - 1) * dev->limits.gid_table_len + in mthca_create_ah()
283 ah->av->gid_index % dev->limits.gid_table_len, in mthca_read_ah()
317 (dev->limits.gid_table_len - 1); in mthca_ah_query()
Dmthca_mad.c300 for (p = 0; p < dev->limits.num_ports; ++p) in mthca_create_agents()
314 for (p = 1; p <= dev->limits.num_ports; ++p) { in mthca_create_agents()
326 for (p = 0; p < dev->limits.num_ports; ++p) in mthca_create_agents()
339 for (p = 0; p < dev->limits.num_ports; ++p) { in mthca_free_agents()
Dmthca_cq.c226 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_completion()
246 cq = mthca_array_get(&dev->cq_table.cq, cqn & (dev->limits.num_cqs - 1)); in mthca_cq_event()
527 (dev->limits.num_qps - 1)); in mthca_poll_one()
858 cq->cqn & (dev->limits.num_cqs - 1), in mthca_init_cq()
935 cq->cqn & (dev->limits.num_cqs - 1)); in mthca_free_cq()
966 dev->limits.num_cqs, in mthca_init_cq_table()
968 dev->limits.reserved_cqs); in mthca_init_cq_table()
973 dev->limits.num_cqs); in mthca_init_cq_table()
982 mthca_array_cleanup(&dev->cq_table.cq, dev->limits.num_cqs); in mthca_cleanup_cq_table()
Dmthca_eq.c774 dev->limits.num_eqs, in mthca_init_eq_table()
775 dev->limits.num_eqs - 1, in mthca_init_eq_table()
776 dev->limits.reserved_eqs); in mthca_init_eq_table()
797 err = mthca_create_eq(dev, dev->limits.num_cqs + MTHCA_NUM_SPARE_EQE, in mthca_init_eq_table()
Dmthca_dev.h337 struct mthca_limits limits; member
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp-core.c178 || pixels >= sensor->limits[SMIAPP_LIMIT_MIN_FRAME_LENGTH_LINES] / 2) in smiapp_read_frame_fmt()
244 .min_pre_pll_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_PRE_PLL_CLK_DIV], in smiapp_pll_try()
245 .max_pre_pll_clk_div = sensor->limits[SMIAPP_LIMIT_MAX_PRE_PLL_CLK_DIV], in smiapp_pll_try()
246 .min_pll_ip_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_PLL_IP_FREQ_HZ], in smiapp_pll_try()
247 .max_pll_ip_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_PLL_IP_FREQ_HZ], in smiapp_pll_try()
248 .min_pll_multiplier = sensor->limits[SMIAPP_LIMIT_MIN_PLL_MULTIPLIER], in smiapp_pll_try()
249 .max_pll_multiplier = sensor->limits[SMIAPP_LIMIT_MAX_PLL_MULTIPLIER], in smiapp_pll_try()
250 .min_pll_op_freq_hz = sensor->limits[SMIAPP_LIMIT_MIN_PLL_OP_FREQ_HZ], in smiapp_pll_try()
251 .max_pll_op_freq_hz = sensor->limits[SMIAPP_LIMIT_MAX_PLL_OP_FREQ_HZ], in smiapp_pll_try()
253 .op.min_sys_clk_div = sensor->limits[SMIAPP_LIMIT_MIN_OP_SYS_CLK_DIV], in smiapp_pll_try()
[all …]
Dsmiapp-quirk.c55 sensor->limits[limit] = val; in smiapp_replace_limit()
111 .limits = jt8ew9_limits,
225 .limits = jt8ev1_limits,
240 .limits = tcm8500md_limits,
DMakefile2 smiapp-quirk.o smiapp-limits.o
Dsmiapp-quirk.h48 int (*limits)(struct smiapp_sensor *sensor); member
Dsmiapp.h203 u32 limits[SMIAPP_LIMIT_LAST]; member
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c542 minfo->limits.pixel.vcomax = maxdac; in parse_pins1()
554 minfo->limits.pixel.vcomax = 220000; in default_pins1()
563 minfo->limits.pixel.vcomax = in parse_pins2()
564 minfo->limits.system.vcomax = (bd->pins[41] == 0xFF) ? 230000 : ((bd->pins[41] + 100) * 1000); in parse_pins2()
577 minfo->limits.pixel.vcomax = in default_pins2()
578 minfo->limits.system.vcomax = 230000; in default_pins2()
587 minfo->limits.pixel.vcomax = in parse_pins3()
588 minfo->limits.system.vcomax = (bd->pins[36] == 0xFF) ? 230000 : ((bd->pins[36] + 100) * 1000); in parse_pins3()
605 minfo->limits.pixel.vcomax = in default_pins3()
606 minfo->limits.system.vcomax = 230000; in default_pins3()
[all …]
Dg450_pll.c394 pi = &minfo->limits.pixel; in __g450_setclk()
406 pi = &minfo->limits.system; in __g450_setclk()
426 pi = &minfo->limits.video; in __g450_setclk()
Dmatroxfb_base.h467 } limits; member
/linux-4.4.14/include/linux/
Dblkdev.h420 struct queue_limits limits; member
609 return q->limits.cluster; in blk_queue_cluster()
867 return min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blk_queue_get_max_sectors()
870 return q->limits.max_write_same_sectors; in blk_queue_get_max_sectors()
872 return q->limits.max_sectors; in blk_queue_get_max_sectors()
882 if (!q->limits.chunk_sectors) in blk_max_size_offset()
883 return q->limits.max_sectors; in blk_max_size_offset()
885 return q->limits.chunk_sectors - in blk_max_size_offset()
886 (offset & (q->limits.chunk_sectors - 1)); in blk_max_size_offset()
894 return q->limits.max_hw_sectors; in blk_rq_get_max_sectors()
[all …]
Ddevice-mapper.h110 struct queue_limits *limits);
/linux-4.4.14/drivers/macintosh/
Dtherm_adt746x.c78 u8 limits[3]; member
217 th->limits[0], th->limits[1], th->limits[2], in display_stats()
235 int var = th->temps[i] - th->limits[i]; in update_fans_speed()
312 th->limits[i] = default_limits_chip[i] + limit_adjust; in set_limit()
313 write_reg(th, LIMIT_REG[i], th->limits[i]); in set_limit()
316 th->limits[i] = default_limits_local[i] + limit_adjust; in set_limit()
376 BUILD_SHOW_FUNC_INT(sensor1_limit, th->limits[1])
377 BUILD_SHOW_FUNC_INT(sensor2_limit, th->limits[2])
533 th->initial_limits[2], th->limits[0], th->limits[1], in probe_thermostat()
534 th->limits[2]); in probe_thermostat()
[all …]
/linux-4.4.14/Documentation/hwmon/
Dlm7721 The LM77 implements 3 limits: low (temp1_min), high (temp1_max) and
23 applies to all 3 limits. The relative difference is stored in a single
25 the limit and its hysteresis is always the same for all 3 limits.
37 hysteresis applies automatically to the low and high limits.
38 * The limits should be set before the hysteresis.
Demc140341 The chips implement three limits for each sensor: low (tempX_min), high
43 hysteresis mechanism which applies to all limits. The relative difference
46 all three limits.
58 hysteresis applies automatically to all other limits.
59 * The limits should be set before the hysteresis.
Dlm8032 Temperatures are measured in degrees Celsius. There are two sets of limits
35 drops below the HOT Hysteresis. The Overtemperature Shutdown (OS) limits
39 0.0625 degrees; the limits have a resolution of 1 degree.
Duserspace-tools16 setup monitoring limits etc. You can get them on their homepage
30 4) fix sensors.conf, labels, limits, fan divisors
Dadc128d81821 Temperatures are measured in degrees Celsius. There is one set of limits.
25 measurement has a resolution of 0.5 degrees; the limits have a resolution
Djc4281 limits. The chip supports only a single register to configure the hysteresis,
82 which applies to all limits. This register can be written by writing into
86 is likely that it has locked the registers, i.e., that the temperature limits
Dmax161924 Only the external sensor has high and low limits.
Dds162146 both high and low temperature limits which can be user defined (i.e.
66 The alarm bits are set when the high or low limits are met or exceeded and
72 any of the limits have ever been met or exceeded since last power-up or
Dmax1606551 Each monitored channel has its own low and high critical limits. MAX16065,
90 Either low or high warning limits are supported
Dltc421537 The LTC4215 has built-in limits for overvoltage, undervoltage, and
Dadm103131 Each temperature channel has its own high and low limits, plus a critical
Dadm924074 with resolution of 0.5 degrees Celsius. High and low temperature limits
139 An alarm is asserted for any voltage going below or above the set limits.
141 The driver reports and accepts voltage limits scaled to the above table.
Dds62019 high and low temperature limits which can be user defined (i.e. programmed
Dsis559588 triggered when an external chip has crossed its limits. Usually, this is
89 connected to some LM75-like chip; if at least one crosses its limits, this
Dpc8736090 also for the programmable low limits, so don't be surprised if you try to
113 associated low, high and overtemperature limits, each of which triggers an
150 Each voltage measured has associated low and high limits, each of which
Dw83l785ts21 far suggest that the two possible limits are actually 95 and 110
Dadm102645 limits for each sensor. If this limit is exceeded, the #THERM output will
46 be asserted. The current temperature and limits have a resolution of 1
Dlm9524532 hysteresis value common to both critical limits. To make life easier to
Dnct668340 considered too risky with this firmware and has been disabled. All limits
Dsmm66552 Each monitored channel has its own high and low limits, plus a critical
82 or crit if exceeding the limits triggers RST, Power Off, or Fault, and as min or
Dads782836 bounded with limits accepted by the chip, described in the datasheet.
Dlm90150 family is that it features critical limits with hysteresis, and an
159 * ALERT is triggered by temperatures over critical limits.
218 Each sensor has its own high and low limits, plus a critical limit.
Dthmc5036 sensors, limits can be set through the appropriate Overtemperature Shutdown
Df71805f63 you can only set the limits in steps of 32 mV (before scaling).
92 Each voltage measured has associated low and high limits, each of which
Dltc424538 The LTC4245 has built-in limits for over and under current warnings. This
Dasc762144 outputs that are based on temperature limits. These are in 19h and 1Ah.
98 the system host that any measurements are outside of programmed limits
Dadm102176 Each sensor has its own low and high limits. When they are crossed, the
Ddme1737110 Each voltage input has associated min and max limits which trigger an alarm
128 Each temperature input has associated min and max limits which trigger an alarm
Dsubmitting-patches112 chip may offer, it should at least support all limits and alarms.
Dpmbus50 Each monitored channel has its own high and low limits, plus a critical
Dlm9332 only one set of limits (absolute or relative) to be in operation at a
74 and prochot2_max. prochot1_max and prochot2_max contain the user limits
Dsysfs-interface355 two upper temperature limits. Must be equal or greater than
413 back to a temperature (or the other way around for limits) requires
739 limits using clamp_val(value, min_limit, max_limit). If it is not continuous
Dw83792d112 calculation method to in6-in7(measured value, limits) is a little
Dnct6775143 temperature is lower than desired), using the following limits and time
/linux-4.4.14/drivers/md/
Ddm-table.c281 struct queue_limits *limits = data; in device_area_is_invalid() local
286 limits->logical_block_size >> SECTOR_SHIFT; in device_area_is_invalid()
326 limits->logical_block_size, bdevname(bdev, b)); in device_area_is_invalid()
335 limits->logical_block_size, bdevname(bdev, b)); in device_area_is_invalid()
434 struct queue_limits *limits = data; in dm_set_device_limits() local
445 if (bdev_stack_limits(limits, bdev, start) < 0) in dm_set_device_limits()
450 q->limits.physical_block_size, in dm_set_device_limits()
451 q->limits.logical_block_size, in dm_set_device_limits()
452 q->limits.alignment_offset, in dm_set_device_limits()
604 struct queue_limits *limits) in validate_hardware_logical_block_alignment() argument
[all …]
Ddm-verity.c655 static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits) in verity_io_hints() argument
659 if (limits->logical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
660 limits->logical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
662 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
663 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
665 blk_limits_io_min(limits, limits->logical_block_size); in verity_io_hints()
Ddm.h65 struct queue_limits *limits);
67 struct queue_limits *limits);
Ddm-stripe.c408 struct queue_limits *limits) in stripe_io_hints() argument
413 blk_limits_io_min(limits, chunk_size); in stripe_io_hints()
414 blk_limits_io_opt(limits, chunk_size * sc->stripes); in stripe_io_hints()
Ddm-thin.c2678 struct queue_limits *data_limits = &bdev_get_queue(data_bdev)->limits; in disable_passdown_if_not_supported()
3825 static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits) in pool_io_hints() argument
3829 sector_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in pool_io_hints()
3840 if (limits->max_sectors < pool->sectors_per_block) { in pool_io_hints()
3841 while (!is_factor(pool->sectors_per_block, limits->max_sectors)) { in pool_io_hints()
3842 if ((limits->max_sectors & (limits->max_sectors - 1)) == 0) in pool_io_hints()
3843 limits->max_sectors--; in pool_io_hints()
3844 limits->max_sectors = rounddown_pow_of_two(limits->max_sectors); in pool_io_hints()
3854 if (is_factor(pool->sectors_per_block, limits->max_sectors)) in pool_io_hints()
3855 blk_limits_io_min(limits, limits->max_sectors << SECTOR_SHIFT); in pool_io_hints()
[all …]
Ddm.c985 struct queue_limits *limits = dm_get_queue_limits(md); in disable_write_same() local
988 limits->max_write_same_sectors = 0; in disable_write_same()
1018 !bdev_get_queue(bio->bi_bdev)->limits.max_write_same_sectors)) in clone_endio()
1278 !clone->q->limits.max_write_same_sectors)) in dm_done()
2479 struct queue_limits *limits) in __bind() argument
2513 dm_table_set_restrictions(t, q, limits); in __bind()
2592 return &md->queue->limits; in dm_get_queue_limits()
3004 struct queue_limits limits; in dm_swap_table() local
3022 limits = md->queue->limits; in dm_swap_table()
3027 r = dm_calculate_queue_limits(table, &limits); in dm_swap_table()
[all …]
Ddm-log-writes.c763 static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits) in log_writes_io_hints() argument
770 limits->discard_granularity = 1 << SECTOR_SHIFT; in log_writes_io_hints()
771 limits->max_discard_sectors = (UINT_MAX >> SECTOR_SHIFT); in log_writes_io_hints()
Ddm-io.c299 special_cmd_max_sectors = q->limits.max_discard_sectors; in do_region()
301 special_cmd_max_sectors = q->limits.max_write_same_sectors; in do_region()
Ddm-raid.c1183 if (!q->limits.discard_zeroes_data) in configure_discard_support()
1614 static void raid_io_hints(struct dm_target *ti, struct queue_limits *limits) in raid_io_hints() argument
1620 blk_limits_io_min(limits, chunk_size); in raid_io_hints()
1621 blk_limits_io_opt(limits, chunk_size * (conf->raid_disks - conf->max_degraded)); in raid_io_hints()
Ddm-era-target.c1675 static void era_io_hints(struct dm_target *ti, struct queue_limits *limits) in era_io_hints() argument
1678 uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in era_io_hints()
1686 blk_limits_io_min(limits, 0); in era_io_hints()
1687 blk_limits_io_opt(limits, era->sectors_per_block << SECTOR_SHIFT); in era_io_hints()
Ddm-cache-target.c3789 static void set_discard_limits(struct cache *cache, struct queue_limits *limits) in set_discard_limits() argument
3794 limits->max_discard_sectors = min_t(sector_t, cache->discard_block_size * 1024, in set_discard_limits()
3796 limits->discard_granularity = cache->discard_block_size << SECTOR_SHIFT; in set_discard_limits()
3799 static void cache_io_hints(struct dm_target *ti, struct queue_limits *limits) in cache_io_hints() argument
3802 uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in cache_io_hints()
3810 blk_limits_io_min(limits, cache->sectors_per_block << SECTOR_SHIFT); in cache_io_hints()
3811 blk_limits_io_opt(limits, cache->sectors_per_block << SECTOR_SHIFT); in cache_io_hints()
3813 set_discard_limits(cache, limits); in cache_io_hints()
/linux-4.4.14/drivers/regulator/
Dmax14577.c51 const struct maxim_charger_current *limits = in max14577_reg_get_current_limit() local
60 return limits->min; in max14577_reg_get_current_limit()
64 return limits->high_start + reg_data * limits->high_step; in max14577_reg_get_current_limit()
73 const struct maxim_charger_current *limits = in max14577_reg_set_current_limit() local
79 ret = maxim_charger_calc_reg_current(limits, min_uA, max_uA, &reg_data); in max14577_reg_set_current_limit()
Dmax77802.c237 const unsigned int limits[], int size, in max77802_find_ramp_value() argument
243 if (ramp_delay <= limits[i]) in max77802_find_ramp_value()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.c515 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits = in amdgpu_parse_extended_power_table() local
525 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record))); in amdgpu_parse_extended_power_table()
529 u32 size = limits->numEntries * in amdgpu_parse_extended_power_table()
538 limits->numEntries; in amdgpu_parse_extended_power_table()
539 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table()
541 for (i = 0; i < limits->numEntries; i++) { in amdgpu_parse_extended_power_table()
577 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits = in amdgpu_parse_extended_power_table() local
583 u32 size = limits->numEntries * in amdgpu_parse_extended_power_table()
592 limits->numEntries; in amdgpu_parse_extended_power_table()
593 entry = &limits->entries[0]; in amdgpu_parse_extended_power_table()
[all …]
Dcz_dpm.c1241 struct amdgpu_clock_and_voltage_limits *limits = in cz_apply_state_adjust_rules() local
1258 mclk = limits->mclk; in cz_apply_state_adjust_rules()
1511 struct amdgpu_clock_and_voltage_limits *limits = in cz_dpm_update_sclk_limit() local
1518 stable_ps_clock = limits->sclk * 75 / 100; in cz_dpm_update_sclk_limit()
/linux-4.4.14/drivers/platform/x86/
Dintel_ips.c333 struct ips_mcp_limits *limits; member
644 if (avg > (ips->limits->core_temp_limit * 100)) in cpu_exceeded()
669 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100)) in mch_exceeded()
688 if (ips->mcp_power_limit < ips->limits->mcp_power_limit || in verify_limits()
690 ips->mcp_power_limit = ips->limits->mcp_power_limit; in verify_limits()
692 if (ips->mcp_temp_limit < ips->limits->core_temp_limit || in verify_limits()
693 ips->mcp_temp_limit < ips->limits->mch_temp_limit || in verify_limits()
695 ips->mcp_temp_limit = min(ips->limits->core_temp_limit, in verify_limits()
696 ips->limits->mch_temp_limit); in verify_limits()
1371 struct ips_mcp_limits *limits = NULL; in ips_detect_cpu() local
[all …]
/linux-4.4.14/drivers/mfd/
Dmax14577.c71 int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits, in maxim_charger_calc_reg_current() argument
79 if (min_ua > limits->max || max_ua < limits->min) in maxim_charger_calc_reg_current()
82 if (max_ua < limits->high_start) { in maxim_charger_calc_reg_current()
92 max_ua = min(limits->max, max_ua); in maxim_charger_calc_reg_current()
93 max_ua -= limits->high_start; in maxim_charger_calc_reg_current()
99 current_bits = max_ua / limits->high_step; in maxim_charger_calc_reg_current()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dr600_dpm.c1074 ATOM_PPLIB_VCE_Clock_Voltage_Limit_Table *limits = in r600_parse_extended_power_table() local
1084 1 + (limits->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Record))); in r600_parse_extended_power_table()
1088 u32 size = limits->numEntries * in r600_parse_extended_power_table()
1097 limits->numEntries; in r600_parse_extended_power_table()
1098 entry = &limits->entries[0]; in r600_parse_extended_power_table()
1100 for (i = 0; i < limits->numEntries; i++) { in r600_parse_extended_power_table()
1136 ATOM_PPLIB_UVD_Clock_Voltage_Limit_Table *limits = in r600_parse_extended_power_table() local
1142 u32 size = limits->numEntries * in r600_parse_extended_power_table()
1151 limits->numEntries; in r600_parse_extended_power_table()
1152 entry = &limits->entries[0]; in r600_parse_extended_power_table()
[all …]
Dpptable.h626 ATOM_PPLIB_SAMClk_Voltage_Limit_Table limits; member
644 ATOM_PPLIB_ACPClk_Voltage_Limit_Table limits; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c486 union acpi_object *limits, *domain_type, *power_limit; in splx_get_pwr_limit() local
496 limits = &splx->package.elements[1]; in splx_get_pwr_limit()
497 if (limits->type != ACPI_TYPE_PACKAGE || in splx_get_pwr_limit()
498 limits->package.count < 2 || in splx_get_pwr_limit()
499 limits->package.elements[0].type != ACPI_TYPE_INTEGER || in splx_get_pwr_limit()
500 limits->package.elements[1].type != ACPI_TYPE_INTEGER) { in splx_get_pwr_limit()
505 domain_type = &limits->package.elements[0]; in splx_get_pwr_limit()
506 power_limit = &limits->package.elements[1]; in splx_get_pwr_limit()
/linux-4.4.14/Documentation/namespaces/
Dresource-control.txt2 individual limits or that have limits that are ineffective when a set
/linux-4.4.14/security/apparmor/
Dresource.c108 new_rlim->rlim_max > profile->rlimits.limits[resource].rlim_max)) in aa_task_setrlimit()
150 new->rlimits.limits[i].rlim_max); in __aa_transition_rlimits()
Dpolicy_unpack.c455 profile->rlimits.limits[a].rlim_max = tmp2; in unpack_rlimits()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c246 struct nvbios_pll limits; in calc_pll() local
249 ret = nvbios_pll_parse(bios, 0x137000 + (idx * 0x20), &limits); in calc_pll()
253 limits.refclk = read_div(clk, idx, 0x137120, 0x137140); in calc_pll()
254 if (!limits.refclk) in calc_pll()
257 ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P); in calc_pll()
Dgt215.c237 struct nvbios_pll limits; in gt215_pll_info() local
252 ret = nvbios_pll_parse(subdev->device->bios, pll, &limits); in gt215_pll_info()
256 ret = gt215_clk_info(&clk->base, idx - 0x10, limits.refclk, info); in gt215_pll_info()
257 if (ret != limits.refclk) in gt215_pll_info()
260 ret = gt215_pll_calc(subdev, &limits, khz, &N, NULL, &M, &P); in gt215_pll_info()
Dgk104.c267 struct nvbios_pll limits; in calc_pll() local
270 ret = nvbios_pll_parse(bios, 0x137000 + (idx * 0x20), &limits); in calc_pll()
274 limits.refclk = read_div(clk, idx, 0x137120, 0x137140); in calc_pll()
275 if (!limits.refclk) in calc_pll()
278 ret = gt215_pll_calc(subdev, &limits, freq, &N, NULL, &M, &P); in calc_pll()
/linux-4.4.14/arch/arm/boot/dts/
Dexynos4210.dtsi198 samsung,pix-limits = <4224 8192 1920 4224>;
204 samsung,pix-limits = <4224 8192 1920 4224>;
210 samsung,pix-limits = <4224 8192 1920 4224>;
216 samsung,pix-limits = <1920 8192 1366 1920>;
Dexynos4x12.dtsi302 samsung,pix-limits = <4224 8192 1920 4224>;
310 samsung,pix-limits = <4224 8192 1920 4224>;
318 samsung,pix-limits = <4224 8192 1920 4224>;
327 samsung,pix-limits = <1920 8192 1366 1920>;
Dam335x-chilisom.dtsi141 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
150 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-igep0033.dtsi266 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
275 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-phycore-som.dtsi264 /* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
273 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-bone-common.dtsi318 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
327 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Ds5pv210.dtsi597 samsung,pix-limits = <4224 8192 1920 4224>;
611 samsung,pix-limits = <4224 8192 1920 4224>;
625 samsung,pix-limits = <4224 8192 1920 4224>;
Dam335x-nano.dts391 /* VDD_MPU voltage limits 0.95V - 1.1V with ±4% tolerance */
400 /* VDD_CORE voltage limits 0.95V - 1.1V with ±4% tolerance */
Dam335x-sl50.dts395 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
404 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-baltos-ir5221.dts401 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
410 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-pepper.dts446 /* VDD_CORE voltage limits 0.95V - 1.26V with +/-4% tolerance */
455 /* VDD_MPU voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam437x-sk-evm.dts432 /* VDD_CORE limits min of OPP50 and max of OPP100 */
442 /* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
Dam335x-evmsk.dts560 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
569 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-evm.dts638 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
647 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
/linux-4.4.14/Documentation/cpu-freq/
Dintel-pstate.txt29 max_perf_pct: limits the maximum P state that will be requested by
34 min_perf_pct: limits the minimum P state that will be requested by
38 no_turbo: limits the driver to selecting P states below the turbo
Dgovernors.txt61 within specific "limits" | to specific frequencies
64 consists of frequency limits (policy->{min,max})
71 / the limits of policy->{min,max}
75 the limits and the the frequency closest
136 limits depend on the CONFIG_HZ option:
241 CPUFREQ_GOV_LIMITS: The limits for CPU policy->cpu have changed to
Duser-guide.txt186 scaling_max_freq show the current "policy limits" (in
188 files, you can change these limits.
221 but only within the limits of
Dpcc-cpufreq.txt133 pcc-cpufreq: (v1.00.00) driver loaded with frequency limits: 1600 MHz, 2933
137 between the limits (1600 MHz, and 2933 MHz) specified in the message.
157 frequency, within limits, requested by the governor. A frequency does not have
Dcore.txt35 speed limits (like LCD drivers on ARM architecture). Additionally, the
/linux-4.4.14/Documentation/filesystems/
Dquota.txt5 Quota subsystem allows system administrator to set limits on used space and
8 of used inodes there are actually two limits. The first one is called softlimit
15 Quota limits (and amount of grace time) are set independently for each
Dxfs.txt97 When inode32 is specified, it indicates that XFS limits
185 User disk quota accounting enabled, and limits (optionally)
189 Group disk quota accounting enabled and limits (optionally)
193 Project disk quota accounting enabled and limits (optionally)
Dext2.txt83 and also impose other limits on the size of files and the filesystem.
303 There are various limits imposed by the on-disk layout of ext2. Other
304 limits are imposed by the current implementation of the kernel code.
305 Many of the limits are determined at the time the filesystem is first
311 Most of these limits could be overcome with slight changes in the on-disk
Dinotify.txt31 fd and no twiddling with fd limits. Initializing an inotify instance two
Dtmpfs.txt10 unneeded pages out to swap space. It has maximum size limits which can
/linux-4.4.14/drivers/block/rsxx/
Ddev.c302 card->queue->limits.discard_granularity = RSXX_HW_BLK_SIZE; in rsxx_setup_dev()
303 card->queue->limits.discard_alignment = RSXX_HW_BLK_SIZE; in rsxx_setup_dev()
304 card->queue->limits.discard_zeroes_data = 1; in rsxx_setup_dev()
/linux-4.4.14/security/apparmor/include/
Dresource.h34 struct rlimit limits[RLIM_NLIMITS]; member
/linux-4.4.14/Documentation/cgroups/
Dpids.txt10 Since it is trivial to hit the task limit without hitting any kmemcg limits in
30 all new cgroups (N.B. that PID limits are hierarchical, so the most stringent
43 Then we create a hierarchy, set limits and attach processes to it:
Dmemory.txt66 memory.failcnt # show the number of memory usage hits limits
67 memory.memsw.failcnt # show the number of memory+Swap hits limits
83 memory.kmem.failcnt # show the number of kernel memory usage hits limits
88 memory.kmem.tcp.failcnt # show the number of tcp buf memory usage hits limits
255 limits on the root cgroup.
295 Kernel memory limits are not imposed for the root cgroup. Usage for the root
303 to trigger slab reclaim when those limits are reached.
328 limit, and "K" the kernel limit. There are three possible ways limits can be
338 Overcommiting kernel memory limits is definitely not recommended, since the
378 NOTE: We cannot set limits on the root cgroup any more.
[all …]
Dmemcg_test.txt128 xKB or xxMB limits.
/linux-4.4.14/scripts/
D.docproc.cmd56 /usr/lib/gcc/i686-linux-gnu/4.8/include-fixed/limits.h \
58 /usr/include/limits.h \
61 /usr/include/linux/limits.h \
/linux-4.4.14/include/linux/mfd/
Dmax14577.h104 extern int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
/linux-4.4.14/net/wireless/
Dutil.c1540 struct ieee80211_iface_limit *limits; in cfg80211_iter_combinations() local
1550 limits = kmemdup(c->limits, sizeof(limits[0]) * c->n_limits, in cfg80211_iter_combinations()
1552 if (!limits) in cfg80211_iter_combinations()
1559 all_iftypes |= limits[j].types; in cfg80211_iter_combinations()
1560 if (!(limits[j].types & BIT(iftype))) in cfg80211_iter_combinations()
1562 if (limits[j].max < iftype_num[iftype]) in cfg80211_iter_combinations()
1564 limits[j].max -= iftype_num[iftype]; in cfg80211_iter_combinations()
1589 kfree(limits); in cfg80211_iter_combinations()
Dcore.c510 u16 types = c->limits[j].types; in wiphy_verify_combinations()
517 if (WARN_ON(!c->limits[j].max)) in wiphy_verify_combinations()
526 c->limits[j].max > 1)) in wiphy_verify_combinations()
529 cnt += c->limits[j].max; in wiphy_verify_combinations()
/linux-4.4.14/drivers/gpu/drm/amd/include/
Dcgs_common.h464 struct cgs_clock_limits *limits);
613 #define cgs_pm_query_clock_limits(dev,clock,limits) \ argument
614 CGS_CALL(pm_query_clock_limits,dev,clock,limits)
Dpptable.h637 ATOM_PPLIB_SAMClk_Voltage_Limit_Table limits; member
655 ATOM_PPLIB_ACPClk_Voltage_Limit_Table limits; member
/linux-4.4.14/fs/quota/
DKconfig10 If you say Y here, you will be able to set per user limits for disk
66 also supports 64-bit inode and block quota limits. If you need this
/linux-4.4.14/scripts/basic/
D.fixdep.cmd69 /usr/lib/gcc/i686-linux-gnu/4.8/include-fixed/limits.h \
71 /usr/include/limits.h \
74 /usr/include/linux/limits.h \
/linux-4.4.14/scripts/kconfig/
D.zconf.tab.o.cmd72 /usr/lib/gcc/i686-linux-gnu/4.8/include-fixed/limits.h \
74 /usr/include/limits.h \
77 /usr/include/linux/limits.h \
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-devices-system-cpu19 Description: CPU topology files that describe kernel limits related to
214 limits for the P-state that will be requested by the
217 max_perf_pct: limits the maximum P state that will be requested by
220 min_perf_pct: limits the minimum P state that will be requested by
223 no_turbo: limits the driver to selecting P states below the turbo
Dsysfs-class-net-cdc_ncm31 The actual limits are device dependent. See
47 The actual limits are device dependent. See
Dsysfs-block201 internal limits on the number of bytes that can be
203 protocols also have inherent limits on the number of
/linux-4.4.14/drivers/net/wireless/p54/
Dfwio.c455 struct pda_channel_output_limit *limits = in p54_scan() local
460 limits->val_bpsk; in p54_scan()
462 limits->val_qpsk; in p54_scan()
464 limits->val_16qam; in p54_scan()
466 limits->val_64qam; in p54_scan()
/linux-4.4.14/Documentation/devicetree/bindings/pwm/
Dpwm-lp3943.txt7 Note that this hardware limits the period length to the
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db644 API-blk-cloned-rq-check-limits
653 API-blk-set-default-limits
654 API-blk-set-stacking-limits
666 API-blk-limits-io-min
668 API-blk-limits-io-opt
670 API-blk-queue-stack-limits
671 API-blk-stack-limits
672 API-bdev-stack-limits
673 API-disk-stack-limits
Dlibata.xml.db63 API-ata-force-link-limits
/linux-4.4.14/Documentation/filesystems/caching/
Dcachefiles.txt96 Configure the culling limits. Optional. See the section on culling
99 The commands beginning with a 'b' are file space (block) limits, those
100 beginning with an 'f' are file count limits.
193 "limits":
199 rises above both these limits, then culling is turned off.
205 cache falls below either of these limits, then culling is started.
211 cache falls below either of these limits, then no further allocation of
213 these limits again.
/linux-4.4.14/drivers/staging/rtl8723au/
DMakefile52 ccflags-y += $(call cc-option,-Wtype-limits,)
/linux-4.4.14/drivers/powercap/
DKconfig24 technology which allows power limits to be enforced and monitored on
/linux-4.4.14/drivers/mmc/card/
Dqueue.c170 q->limits.discard_zeroes_data = 1; in mmc_queue_setup_discard()
171 q->limits.discard_granularity = card->pref_erase << 9; in mmc_queue_setup_discard()
174 q->limits.discard_granularity = 0; in mmc_queue_setup_discard()
/linux-4.4.14/drivers/video/fbdev/via/
Dhw.c1388 static struct via_pll_config get_pll_config(struct pll_limit *limits, int size, in get_pll_config() argument
1396 cur.rshift = limits[i].rshift; in get_pll_config()
1397 cur.divisor = limits[i].divisor; in get_pll_config()
1408 if (cur.multiplier < limits[i].multiplier_min) in get_pll_config()
1409 cur.multiplier = limits[i].multiplier_min; in get_pll_config()
1410 else if (cur.multiplier > limits[i].multiplier_max) in get_pll_config()
1411 cur.multiplier = limits[i].multiplier_max; in get_pll_config()
/linux-4.4.14/Documentation/devicetree/bindings/power_supply/
Dqcom_smbb.txt46 Description: Maximum charge current; May be clamped to safety limits.
60 voltage. May be clamped to safety limits.
Dcharger-manager.txt30 - cm-dis/charging-max = limits of charging duration
/linux-4.4.14/drivers/md/bcache/
Dsuper.c806 q->limits.max_hw_sectors = UINT_MAX; in bcache_device_init()
807 q->limits.max_sectors = UINT_MAX; in bcache_device_init()
808 q->limits.max_segment_size = UINT_MAX; in bcache_device_init()
809 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()
811 q->limits.discard_granularity = 512; in bcache_device_init()
812 q->limits.io_min = block_size; in bcache_device_init()
813 q->limits.logical_block_size = block_size; in bcache_device_init()
814 q->limits.physical_block_size = block_size; in bcache_device_init()
1116 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
1120 q->limits.raid_partial_stripes_expensive; in cached_dev_init()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dscan.c378 int limits[NUM_IWL_RXON_CTX] = {}; in iwl_limit_dwell() local
412 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell()
419 limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; in iwl_limit_dwell()
424 limit = (limits[0] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; in iwl_limit_dwell()
Dmac80211.c83 .limits = iwlagn_sta_ap_limits,
88 .limits = iwlagn_2sta_limits,
/linux-4.4.14/fs/jfs/
Dioctl.c151 q->limits.discard_granularity); in jfs_ioctl()
/linux-4.4.14/drivers/scsi/
Dsd.c640 q->limits.discard_zeroes_data = 0; in sd_config_discard()
650 q->limits.discard_alignment = 0; in sd_config_discard()
651 q->limits.discard_granularity = logical_block_size; in sd_config_discard()
653 q->limits.discard_alignment = sdkp->unmap_alignment * in sd_config_discard()
655 q->limits.discard_granularity = in sd_config_discard()
677 q->limits.discard_zeroes_data = sdkp->lbprz; in sd_config_discard()
683 q->limits.discard_zeroes_data = sdkp->lbprz; in sd_config_discard()
689 q->limits.discard_zeroes_data = 1; in sd_config_discard()
2872 q->limits.max_dev_sectors = logical_to_sectors(sdp, dev_max); in sd_revalidate_disk()
2883 rw_max = q->limits.io_opt = in sd_revalidate_disk()
[all …]
/linux-4.4.14/drivers/power/
Dmax14577_charger.c316 const struct maxim_charger_current *limits = in max14577_init_fast_charge() local
319 ret = maxim_charger_calc_reg_current(limits, uamp, uamp, &reg_data); in max14577_init_fast_charge()
/linux-4.4.14/Documentation/video4linux/
Dradiotrack.txt41 these limits, experiments did not give promising results. The variable
44 gets clipped beyond the limits mentioned above.
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
DKconfig119 limits used are expressed in the terms of SAR, which is a measure
123 be evaluated to meet the RF exposure limits set forth in the
Dinit.c751 .limits = if_limits_multi,
771 .limits = if_limits,
778 .limits = wds_limits,
786 .limits = if_dfs_limits,
/linux-4.4.14/tools/perf/Documentation/
Dperf-buildid-cache.txt16 files to/from the cache. In the future it should as well set upper limits for
/linux-4.4.14/fs/xfs/
Dxfs_discard.c160 unsigned int granularity = q->limits.discard_granularity; in xfs_ioc_trim()
DKconfig29 If you say Y here, you will be able to set limits for disk usage on
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/
DCPUfreq.txt65 timings changing, any maximum frequency limits and information about the
/linux-4.4.14/drivers/block/
Dbrd.c505 brd->brd_queue->limits.discard_granularity = PAGE_SIZE; in brd_alloc()
507 brd->brd_queue->limits.discard_zeroes_data = 1; in brd_alloc()
Dloop.c837 q->limits.discard_granularity = 0; in loop_config_discard()
838 q->limits.discard_alignment = 0; in loop_config_discard()
840 q->limits.discard_zeroes_data = 0; in loop_config_discard()
845 q->limits.discard_granularity = inode->i_sb->s_blocksize; in loop_config_discard()
846 q->limits.discard_alignment = 0; in loop_config_discard()
848 q->limits.discard_zeroes_data = 1; in loop_config_discard()
Dnbd.c1050 disk->queue->limits.discard_granularity = 512; in nbd_init()
1052 disk->queue->limits.discard_zeroes_data = 0; in nbd_init()
1054 disk->queue->limits.max_sectors = 256; in nbd_init()
/linux-4.4.14/Documentation/
Dcpu-load.txt56 #include <limits.h>
Dflexible-arrays.txt19 A flexible array holds an arbitrary (within limits) number of fixed-sized
Dpi-futex.txt40 cases (like shared hardware, or other resource limits) where lockless
/linux-4.4.14/drivers/target/
Dtarget_core_device.c840 attrib->max_unmap_lba_count = (q->limits.max_discard_sectors << 9) / in target_configure_unmap_from_queue()
846 attrib->unmap_granularity = q->limits.discard_granularity / block_size; in target_configure_unmap_from_queue()
847 attrib->unmap_granularity_alignment = q->limits.discard_alignment / in target_configure_unmap_from_queue()
/linux-4.4.14/arch/arm/mach-pxa/
Dsleep.S119 @ check that the memory frequency is within limits
/linux-4.4.14/Documentation/development-process/
D8.Conclusion11 distributions runs into internal limits and fails to process the documents
/linux-4.4.14/Documentation/thermal/
Dsysfs-api.txt145 .limits: This is an array of cooling state limits. Must have exactly
147 of tuples <lower-state upper-state> of state limits. Each trip
150 on all trips. These limits are used when binding a cdev to a
/linux-4.4.14/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt61 - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis
/linux-4.4.14/drivers/block/zram/
Dzram_drv.c1249 zram->disk->queue->limits.discard_granularity = PAGE_SIZE; in zram_add()
1260 zram->disk->queue->limits.discard_zeroes_data = 1; in zram_add()
1262 zram->disk->queue->limits.discard_zeroes_data = 0; in zram_add()
/linux-4.4.14/Documentation/misc-devices/
Dlis3lv02d48 to allow adjustment of the limits without a change to the actual driver.
/linux-4.4.14/Documentation/scheduler/
Dsched-bwc.txt42 bandwidth limits are used in a hierarchical fashion, these are explained in
Dsched-rt-group.txt138 Group settings are checked against the following limits in order to keep the
/linux-4.4.14/drivers/block/xen-blkback/
Dxenbus.c484 q->limits.discard_granularity); in xen_blkbk_discard()
491 q->limits.discard_alignment); in xen_blkbk_discard()
/linux-4.4.14/drivers/thermal/
Dthermal_core.c283 unsigned long *limits, in __bind() argument
294 if (limits) { in __bind()
295 lower = limits[i * 2]; in __bind()
296 upper = limits[i * 2 + 1]; in __bind()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dfw.c229 ar->if_combs[0].limits = ar->if_comb_limits; in carl9170_fw_set_if_combinations()
/linux-4.4.14/Documentation/block/
Dqueue-sysfs.txt25 Devices that support discard functionality may have internal limits on
/linux-4.4.14/Documentation/networking/
De1000e.txt151 This value, in units of 1.024 microseconds, limits the delay in which a
174 This value, in units of 1.024 microseconds, limits the delay in which a
Dnetdev-features.txt31 by child VLAN devices (limits netdev->features set). This is currently
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Darm,scpi.txt41 limits but only discrete points within the range. The firmware
/linux-4.4.14/Documentation/i2c/
Dfault-codes123 arbitrary limits (much longer than SMBus!) too.
/linux-4.4.14/Documentation/power/regulator/
Doverview.txt118 operating limits for this domain and system state (e.g.
/linux-4.4.14/net/mac80211/
Dmain.c920 if ((c->limits[j].types & BIT(NL80211_IFTYPE_ADHOC)) && in ieee80211_register_hw()
921 c->limits[j].max > 1) in ieee80211_register_hw()
/linux-4.4.14/Documentation/power/powercap/
Dpowercap.txt169 limits and 2 attributes representing the sizes of the time windows. Such that,
/linux-4.4.14/Documentation/vm/
Didle_page_tracking.txt6 account when configuring the workload parameters, setting memory cgroup limits,
/linux-4.4.14/Documentation/arm/
DIXP4xx82 limits the system to just 64MB of PCI memory. This can be
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt58 - samsung,pix-limits: an array of maximum supported image sizes in pixels, for
/linux-4.4.14/fs/ext4/
Dioctl.c607 q->limits.discard_granularity); in ext4_ioctl()
/linux-4.4.14/Documentation/input/
Dff.txt29 To stop this annoying behaviour, move you joystick to its limits. Anyway, you
/linux-4.4.14/Documentation/fault-injection/
Dfault-injection.txt81 Any positive value limits failures to only processes indicated by
/linux-4.4.14/fs/squashfs/
DKconfig71 one time. This limits CPU and memory usage to a minimum.
/linux-4.4.14/arch/arm/mach-ixp4xx/
DKconfig209 limits the system to just 64MB of PCI memory. This can be
/linux-4.4.14/arch/m68k/fpsp040/
Dround.S149 movel #30,%d2 |of the sgl prec. limits
161 movel #30,%d2 |of the dbl prec. limits
/linux-4.4.14/drivers/net/wireless/
Dmac80211_hwsim.c429 .limits = hwsim_if_limits,
436 .limits = hwsim_if_dfs_limits,
450 .limits = hwsim_if_limits,
456 .limits = hwsim_if_dfs_limits,
/linux-4.4.14/Documentation/devicetree/bindings/opp/
Dopp.txt121 and thermal limits.

12