Home
last modified time | relevance | path

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

12

/linux-4.1.27/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.1.27/block/
Dblk-settings.c188 blk_set_default_limits(&q->limits); in blk_queue_make_request()
222 q->limits.bounce_pfn = max(max_low_pfn, b_pfn); in blk_queue_bounce_limit()
226 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
231 q->limits.bounce_pfn = b_pfn; in blk_queue_bounce_limit()
252 void blk_limits_max_hw_sectors(struct queue_limits *limits, unsigned int max_hw_sectors) in blk_limits_max_hw_sectors() argument
260 limits->max_sectors = limits->max_hw_sectors = max_hw_sectors; in blk_limits_max_hw_sectors()
274 blk_limits_max_hw_sectors(&q->limits, max_hw_sectors); in blk_queue_max_hw_sectors()
294 q->limits.chunk_sectors = chunk_sectors; in blk_queue_chunk_sectors()
306 q->limits.max_discard_sectors = max_discard_sectors; in blk_queue_max_discard_sectors()
318 q->limits.max_write_same_sectors = max_write_same_sectors; in blk_queue_max_write_same_sectors()
[all …]
Dblk-lib.c60 granularity = max(q->limits.discard_granularity >> 9, 1U); in blkdev_issue_discard()
67 max_discard_sectors = min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blkdev_issue_discard()
169 max_write_same_sectors = q->limits.max_write_same_sectors; in blkdev_issue_write_same()
306 if (discard && blk_queue_discard(q) && q->limits.discard_zeroes_data && in blkdev_issue_zeroout()
Dblk-sysfs.c111 return queue_var_show(q->limits.max_integrity_segments, (page)); in queue_max_integrity_segments_show()
144 return queue_var_show(q->limits.discard_granularity, page); in queue_discard_granularity_show()
150 (unsigned long long)q->limits.max_discard_sectors << 9); in queue_discard_max_show()
161 (unsigned long long)q->limits.max_write_same_sectors << 9); in queue_write_same_max_show()
180 q->limits.max_sectors = max_sectors_kb << 1; in queue_max_sectors_store()
Dblk-integrity.c203 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.1.27/drivers/cpufreq/
Dintel_pstate.c156 static struct perf_limits limits = { variable
255 limits.turbo_disabled = in update_turbo_state()
270 min = PCT_TO_HWP(limits.min_perf_pct); in intel_pstate_hwp_set()
274 max = PCT_TO_HWP(limits.max_perf_pct); in intel_pstate_hwp_set()
275 if (limits.no_turbo) { in intel_pstate_hwp_set()
343 return sprintf(buf, "%u\n", limits.object); \
379 if (limits.turbo_disabled) in show_no_turbo()
380 ret = sprintf(buf, "%u\n", limits.turbo_disabled); in show_no_turbo()
382 ret = sprintf(buf, "%u\n", limits.no_turbo); in show_no_turbo()
398 if (limits.turbo_disabled) { in store_no_turbo()
[all …]
/linux-4.1.27/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.c97 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile()
179 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
184 dev->limits.num_eecs = profile[i].num; in mthca_make_profile()
189 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
194 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
205 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
218 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
219 dev->limits.num_amgms = profile[i].num >> 1; in mthca_make_profile()
226 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
232 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.c93 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device()
94 props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; in mthca_query_device()
95 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
96 props->max_sge = mdev->limits.max_sg; in mthca_query_device()
97 props->max_cq = mdev->limits.num_cqs - mdev->limits.reserved_cqs; in mthca_query_device()
98 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
99 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()
100 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
102 props->max_qp_init_rd_atom = mdev->limits.max_qp_init_rdma; in mthca_query_device()
104 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.c292 for (p = 0; p < dev->limits.num_ports; ++p) in mthca_create_agents()
306 for (p = 1; p <= dev->limits.num_ports; ++p) { in mthca_create_agents()
318 for (p = 0; p < dev->limits.num_ports; ++p) in mthca_create_agents()
331 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.1.27/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.1.27/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.h492 } limits; member
/linux-4.1.27/include/linux/
Dblkdev.h447 struct queue_limits limits; member
637 return q->limits.cluster; in blk_queue_cluster()
907 return min(q->limits.max_discard_sectors, UINT_MAX >> 9); in blk_queue_get_max_sectors()
910 return q->limits.max_write_same_sectors; in blk_queue_get_max_sectors()
912 return q->limits.max_sectors; in blk_queue_get_max_sectors()
922 if (!q->limits.chunk_sectors) in blk_max_size_offset()
923 return q->limits.max_sectors; in blk_max_size_offset()
925 return q->limits.chunk_sectors - in blk_max_size_offset()
926 (offset & (q->limits.chunk_sectors - 1)); in blk_max_size_offset()
934 return q->limits.max_hw_sectors; in blk_rq_get_max_sectors()
[all …]
Ddevice-mapper.h113 struct queue_limits *limits);
/linux-4.1.27/drivers/ntb/
Dntb_hw.c350 if (idx >= ndev->limits.max_spads) in ntb_write_local_spad()
374 if (idx >= ndev->limits.max_spads) in ntb_read_local_spad()
399 if (idx >= ndev->limits.max_spads) in ntb_write_remote_spad()
423 if (idx >= ndev->limits.max_spads) in ntb_read_remote_spad()
741 ndev->limits.max_spads = SNB_MAX_B2B_SPADS; in ntb_xeon_setup()
750 if (!ndev->mw[ndev->limits.max_mw - 1].bar_sz) in ntb_xeon_setup()
753 ndev->limits.max_db_bits = SNB_MAX_DB_BITS; in ntb_xeon_setup()
755 ndev->mw[ndev->limits.max_mw - 1].vbase + in ntb_xeon_setup()
758 ndev->mw[ndev->limits.max_mw - 1].vbase + in ntb_xeon_setup()
773 ndev->limits.max_mw = SNB_ERRATA_MAX_MW; in ntb_xeon_setup()
[all …]
Dntb_hw.h126 } limits; member
189 return ndev->limits.max_mw; in ntb_max_mw()
/linux-4.1.27/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.1.27/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
Dadm103131 Each temperature channel has its own high and low limits, plus a critical
Dltc421537 The LTC4215 has built-in limits for overvoltage, undervoltage, and
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
Dsubmitting-patches105 chip may offer, it should at least support all limits and alarms.
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
Dpmbus46 Each monitored channel has its own high and low limits, plus a critical
Dw83792d104 calculation method to in6-in7(measured value, limits) is a little
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
Dnct6775139 temperature is lower than desired), using the following limits and time
/linux-4.1.27/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()
422 struct queue_limits *limits = data; in dm_set_device_limits() local
433 if (bdev_stack_limits(limits, bdev, start) < 0) in dm_set_device_limits()
438 q->limits.physical_block_size, in dm_set_device_limits()
439 q->limits.logical_block_size, in dm_set_device_limits()
440 q->limits.alignment_offset, in dm_set_device_limits()
449 blk_limits_max_hw_sectors(limits, in dm_set_device_limits()
[all …]
Ddm-verity.c674 static void verity_io_hints(struct dm_target *ti, struct queue_limits *limits) in verity_io_hints() argument
678 if (limits->logical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
679 limits->logical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
681 if (limits->physical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
682 limits->physical_block_size = 1 << v->data_dev_block_bits; in verity_io_hints()
684 blk_limits_io_min(limits, limits->logical_block_size); in verity_io_hints()
Ddm.h64 struct queue_limits *limits);
66 struct queue_limits *limits);
Ddm-thin.c2428 struct queue_limits *data_limits = &bdev_get_queue(data_bdev)->limits; in disable_passdown_if_not_supported()
3590 static void set_discard_limits(struct pool_c *pt, struct queue_limits *limits) in set_discard_limits() argument
3595 limits->max_discard_sectors = pool->sectors_per_block; in set_discard_limits()
3601 data_limits = &bdev_get_queue(pt->data_dev->bdev)->limits; in set_discard_limits()
3602 limits->discard_granularity = max(data_limits->discard_granularity, in set_discard_limits()
3605 limits->discard_granularity = pool->sectors_per_block << SECTOR_SHIFT; in set_discard_limits()
3608 static void pool_io_hints(struct dm_target *ti, struct queue_limits *limits) in pool_io_hints() argument
3612 sector_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in pool_io_hints()
3623 if (limits->max_sectors < pool->sectors_per_block) { in pool_io_hints()
3624 while (!is_factor(pool->sectors_per_block, limits->max_sectors)) { in pool_io_hints()
[all …]
Ddm-stripe.c406 struct queue_limits *limits) in stripe_io_hints() argument
411 blk_limits_io_min(limits, chunk_size); in stripe_io_hints()
412 blk_limits_io_opt(limits, chunk_size * sc->stripes); in stripe_io_hints()
Ddm.c951 struct queue_limits *limits = dm_get_queue_limits(md); in disable_write_same() local
954 limits->max_write_same_sectors = 0; in disable_write_same()
986 !bdev_get_queue(bio->bi_bdev)->limits.max_write_same_sectors)) in clone_endio()
1239 !clone->q->limits.max_write_same_sectors)) in dm_done()
2530 struct queue_limits *limits) in __bind() argument
2567 dm_table_set_restrictions(t, q, limits); in __bind()
2650 return &md->queue->limits; in dm_get_queue_limits()
3056 struct queue_limits limits; in dm_swap_table() local
3074 limits = md->queue->limits; in dm_swap_table()
3079 r = dm_calculate_queue_limits(table, &limits); in dm_swap_table()
[all …]
Ddm-log-writes.c777 static void log_writes_io_hints(struct dm_target *ti, struct queue_limits *limits) in log_writes_io_hints() argument
784 limits->discard_granularity = 1 << SECTOR_SHIFT; in log_writes_io_hints()
785 limits->max_discard_sectors = (UINT_MAX >> SECTOR_SHIFT); in log_writes_io_hints()
Ddm-io.c298 special_cmd_max_sectors = q->limits.max_discard_sectors; in do_region()
300 special_cmd_max_sectors = q->limits.max_write_same_sectors; in do_region()
Ddm-era-target.c1690 static void era_io_hints(struct dm_target *ti, struct queue_limits *limits) in era_io_hints() argument
1693 uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in era_io_hints()
1701 blk_limits_io_min(limits, 0); in era_io_hints()
1702 blk_limits_io_opt(limits, era->sectors_per_block << SECTOR_SHIFT); in era_io_hints()
Ddm-raid.c1178 if (!q->limits.discard_zeroes_data) in configure_discard_support()
1602 static void raid_io_hints(struct dm_target *ti, struct queue_limits *limits) in raid_io_hints() argument
1608 blk_limits_io_min(limits, chunk_size); in raid_io_hints()
1609 blk_limits_io_opt(limits, chunk_size * (conf->raid_disks - conf->max_degraded)); in raid_io_hints()
Ddm-cache-target.c3330 static void set_discard_limits(struct cache *cache, struct queue_limits *limits) in set_discard_limits() argument
3335 limits->max_discard_sectors = min_t(sector_t, cache->discard_block_size * 1024, in set_discard_limits()
3337 limits->discard_granularity = cache->discard_block_size << SECTOR_SHIFT; in set_discard_limits()
3340 static void cache_io_hints(struct dm_target *ti, struct queue_limits *limits) in cache_io_hints() argument
3343 uint64_t io_opt_sectors = limits->io_opt >> SECTOR_SHIFT; in cache_io_hints()
3351 blk_limits_io_min(limits, cache->sectors_per_block << SECTOR_SHIFT); in cache_io_hints()
3352 blk_limits_io_opt(limits, cache->sectors_per_block << SECTOR_SHIFT); in cache_io_hints()
3354 set_discard_limits(cache, limits); in cache_io_hints()
/linux-4.1.27/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.c236 const unsigned int limits[], int size, in max77802_find_ramp_value() argument
242 if (ramp_delay <= limits[i]) in max77802_find_ramp_value()
/linux-4.1.27/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.1.27/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.1.27/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
Dsi_dpm.c3833 const struct radeon_phase_shedding_limits_table *limits) in si_validate_phase_shedding_tables() argument
3837 if ((table == NULL) || (limits == NULL)) in si_validate_phase_shedding_tables()
3852 if (limits->count != (num_levels - 1)) in si_validate_phase_shedding_tables()
4148 const struct radeon_phase_shedding_limits_table *limits, in si_populate_phase_shedding_value() argument
4154 for (i = 0; i < limits->count; i++) { in si_populate_phase_shedding_value()
4155 if ((voltage <= limits->entries[i].voltage) && in si_populate_phase_shedding_value()
4156 (sclk <= limits->entries[i].sclk) && in si_populate_phase_shedding_value()
4157 (mclk <= limits->entries[i].mclk)) in si_populate_phase_shedding_value()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Ddrv.c485 union acpi_object *limits, *domain_type, *power_limit; in splx_get_pwr_limit() local
495 limits = &splx->package.elements[1]; in splx_get_pwr_limit()
496 if (limits->type != ACPI_TYPE_PACKAGE || in splx_get_pwr_limit()
497 limits->package.count < 2 || in splx_get_pwr_limit()
498 limits->package.elements[0].type != ACPI_TYPE_INTEGER || in splx_get_pwr_limit()
499 limits->package.elements[1].type != ACPI_TYPE_INTEGER) { in splx_get_pwr_limit()
504 domain_type = &limits->package.elements[0]; in splx_get_pwr_limit()
505 power_limit = &limits->package.elements[1]; in splx_get_pwr_limit()
/linux-4.1.27/Documentation/namespaces/
Dresource-control.txt2 individual limits or that have limits that are ineffective when a set
/linux-4.1.27/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.1.27/arch/arm/boot/dts/
Dexynos4210.dtsi207 samsung,pix-limits = <4224 8192 1920 4224>;
213 samsung,pix-limits = <4224 8192 1920 4224>;
219 samsung,pix-limits = <4224 8192 1920 4224>;
225 samsung,pix-limits = <1920 8192 1366 1920>;
Dexynos4x12.dtsi178 samsung,pix-limits = <4224 8192 1920 4224>;
186 samsung,pix-limits = <4224 8192 1920 4224>;
194 samsung,pix-limits = <4224 8192 1920 4224>;
203 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-bone-common.dtsi252 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
261 /* 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-pepper.dts444 /* VDD_CORE voltage limits 0.95V - 1.26V with +/-4% tolerance */
452 /* VDD_MPU voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam335x-evm.dts563 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
572 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
Dam437x-sk-evm.dts401 /* VDD_CORE limits min of OPP50 and max of OPP100 */
411 /* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
Dam335x-evmsk.dts538 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
547 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c242 struct nvbios_pll limits; in calc_pll() local
245 ret = nvbios_pll_parse(bios, 0x137000 + (clk * 0x20), &limits); in calc_pll()
249 limits.refclk = read_div(priv, clk, 0x137120, 0x137140); in calc_pll()
250 if (!limits.refclk) in calc_pll()
253 ret = gt215_pll_calc(nv_subdev(priv), &limits, freq, &N, NULL, &M, &P); in calc_pll()
Dgk104.c260 struct nvbios_pll limits; in calc_pll() local
263 ret = nvbios_pll_parse(bios, 0x137000 + (clk * 0x20), &limits); in calc_pll()
267 limits.refclk = read_div(priv, clk, 0x137120, 0x137140); in calc_pll()
268 if (!limits.refclk) in calc_pll()
271 ret = gt215_pll_calc(nv_subdev(priv), &limits, freq, &N, NULL, &M, &P); in calc_pll()
Dgt215.c231 struct nvbios_pll limits; in gt215_pll_info() local
246 ret = nvbios_pll_parse(bios, pll, &limits); in gt215_pll_info()
250 ret = gt215_clk_info(clock, clk - 0x10, limits.refclk, info); in gt215_pll_info()
251 if (ret != limits.refclk) in gt215_pll_info()
254 ret = gt215_pll_calc(nv_subdev(priv), &limits, khz, &N, NULL, &M, &P); in gt215_pll_info()
/linux-4.1.27/Documentation/cpu-freq/
Dintel-pstate.txt28 max_perf_pct: limits the maximum P state that will be requested by
33 min_perf_pct: limits the minimum P state that will be requested by
37 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.
223 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.1.27/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
Dxfs-self-describing-metadata.txt17 validating and repairing the structure, there are limits to what they can
18 verify, and this in turn limits the supportable size of an XFS filesystem.
/linux-4.1.27/drivers/block/rsxx/
Ddev.c294 card->queue->limits.discard_granularity = RSXX_HW_BLK_SIZE; in rsxx_setup_dev()
295 card->queue->limits.discard_alignment = RSXX_HW_BLK_SIZE; in rsxx_setup_dev()
296 card->queue->limits.discard_zeroes_data = 1; in rsxx_setup_dev()
/linux-4.1.27/security/apparmor/include/
Dresource.h34 struct rlimit limits[RLIM_NLIMITS]; member
/linux-4.1.27/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.1.27/include/linux/mfd/
Dmax14577.h104 extern int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits,
/linux-4.1.27/net/wireless/
Dutil.c1539 struct ieee80211_iface_limit *limits; in cfg80211_iter_combinations() local
1549 limits = kmemdup(c->limits, sizeof(limits[0]) * c->n_limits, in cfg80211_iter_combinations()
1551 if (!limits) in cfg80211_iter_combinations()
1558 all_iftypes |= limits[j].types; in cfg80211_iter_combinations()
1559 if (!(limits[j].types & BIT(iftype))) in cfg80211_iter_combinations()
1561 if (limits[j].max < iftype_num[iftype]) in cfg80211_iter_combinations()
1563 limits[j].max -= iftype_num[iftype]; in cfg80211_iter_combinations()
1588 kfree(limits); in cfg80211_iter_combinations()
Dcore.c503 u16 types = c->limits[j].types; in wiphy_verify_combinations()
510 if (WARN_ON(!c->limits[j].max)) in wiphy_verify_combinations()
519 c->limits[j].max > 1)) in wiphy_verify_combinations()
522 cnt += c->limits[j].max; in wiphy_verify_combinations()
/linux-4.1.27/drivers/mmc/card/
Dqueue.c170 q->limits.max_discard_sectors = max_discard; in mmc_queue_setup_discard()
172 q->limits.discard_zeroes_data = 1; in mmc_queue_setup_discard()
173 q->limits.discard_granularity = card->pref_erase << 9; in mmc_queue_setup_discard()
176 q->limits.discard_granularity = 0; in mmc_queue_setup_discard()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/Documentation/cgroups/
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 …]
Dblkio-controller.txt14 one is throttling policy which can be used to specify upper IO rate limits
113 Documentation/block/cfq-iosched.txt. For throttling, all limits apply
Dmemcg_test.txt128 xKB or xxMB limits.
/linux-4.1.27/Documentation/devicetree/bindings/pwm/
Dpwm-lp3943.txt7 Note that this hardware limits the period length to the
/linux-4.1.27/drivers/net/wireless/p54/
Dfwio.c456 struct pda_channel_output_limit *limits = in p54_scan() local
461 limits->val_bpsk; in p54_scan()
463 limits->val_qpsk; in p54_scan()
465 limits->val_16qam; in p54_scan()
467 limits->val_64qam; in p54_scan()
/linux-4.1.27/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-block194 internal limits on the number of bytes that can be
196 protocols also have inherent limits on the number of
/linux-4.1.27/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.1.27/drivers/staging/rtl8723au/
DMakefile52 ccflags-y += $(call cc-option,-Wtype-limits,)
/linux-4.1.27/drivers/powercap/
DKconfig24 technology which allows power limits to be enforced and monitored on
/linux-4.1.27/drivers/block/
Dbrd.c502 brd->brd_queue->limits.discard_granularity = PAGE_SIZE; in brd_alloc()
503 brd->brd_queue->limits.max_discard_sectors = UINT_MAX; in brd_alloc()
504 brd->brd_queue->limits.discard_zeroes_data = 1; in brd_alloc()
Dnbd.c826 disk->queue->limits.discard_granularity = 512; in nbd_init()
827 disk->queue->limits.max_discard_sectors = UINT_MAX; in nbd_init()
828 disk->queue->limits.discard_zeroes_data = 0; in nbd_init()
830 disk->queue->limits.max_sectors = 256; in nbd_init()
Dloop.c654 q->limits.discard_granularity = 0; in loop_config_discard()
655 q->limits.discard_alignment = 0; in loop_config_discard()
656 q->limits.max_discard_sectors = 0; in loop_config_discard()
657 q->limits.discard_zeroes_data = 0; in loop_config_discard()
662 q->limits.discard_granularity = inode->i_sb->s_blocksize; in loop_config_discard()
663 q->limits.discard_alignment = 0; in loop_config_discard()
664 q->limits.max_discard_sectors = UINT_MAX >> 9; in loop_config_discard()
665 q->limits.discard_zeroes_data = 1; in loop_config_discard()
/linux-4.1.27/drivers/md/bcache/
Dsuper.c837 q->limits.max_hw_sectors = UINT_MAX; in bcache_device_init()
838 q->limits.max_sectors = UINT_MAX; in bcache_device_init()
839 q->limits.max_segment_size = UINT_MAX; in bcache_device_init()
840 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()
841 q->limits.max_discard_sectors = UINT_MAX; in bcache_device_init()
842 q->limits.discard_granularity = 512; in bcache_device_init()
843 q->limits.io_min = block_size; in bcache_device_init()
844 q->limits.logical_block_size = block_size; in bcache_device_init()
845 q->limits.physical_block_size = block_size; in bcache_device_init()
1147 dc->disk.stripe_size = q->limits.io_opt >> 9; in cached_dev_init()
[all …]
Dio.c22 return min(bio_sectors(bio), q->limits.max_discard_sectors); in bch_bio_max_sectors()
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/dvm/
Dscan.c387 int limits[NUM_IWL_RXON_CTX] = {}; in iwl_limit_dwell() local
421 limits[n_active++] = ctx->beacon_int ?: IWL_PASSIVE_DWELL_BASE; in iwl_limit_dwell()
428 limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; in iwl_limit_dwell()
433 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.1.27/fs/jfs/
Dioctl.c151 q->limits.discard_granularity); in jfs_ioctl()
/linux-4.1.27/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.1.27/Documentation/video4linux/
Dradiotrack.txt41 these limits, experiments did not give promising results. The variable
44 gets clipped beyond the limits mentioned above.
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dcharger-manager.txt30 - cm-dis/charging-max = limits of charging duration
/linux-4.1.27/drivers/scsi/
Dsd.c638 q->limits.discard_zeroes_data = 0; in sd_config_discard()
639 q->limits.discard_alignment = sdkp->unmap_alignment * in sd_config_discard()
641 q->limits.discard_granularity = in sd_config_discard()
650 q->limits.max_discard_sectors = 0; in sd_config_discard()
662 q->limits.discard_zeroes_data = sdkp->lbprz; in sd_config_discard()
668 q->limits.discard_zeroes_data = sdkp->lbprz; in sd_config_discard()
674 q->limits.discard_zeroes_data = 1; in sd_config_discard()
678 q->limits.max_discard_sectors = max_blocks * (logical_block_size >> 9); in sd_config_discard()
2766 sdkp->disk->queue->limits.max_sectors = in sd_revalidate_disk()
/linux-4.1.27/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.c750 .limits = if_limits_multi,
770 .limits = if_limits,
777 .limits = wds_limits,
785 .limits = if_dfs_limits,
/linux-4.1.27/drivers/target/
Dtarget_core_iblock.c137 q->limits.max_discard_sectors; in iblock_configure_device()
144 q->limits.discard_granularity >> 9; in iblock_configure_device()
146 q->limits.discard_alignment; in iblock_configure_device()
Dtarget_core_file.c175 q->limits.max_discard_sectors; in fd_configure_device()
181 q->limits.discard_granularity >> 9; in fd_configure_device()
183 q->limits.discard_alignment; in fd_configure_device()
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/i2o/
DREADME67 o The core setup works within limits.
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/
DCPUfreq.txt65 timings changing, any maximum frequency limits and information about the
/linux-4.1.27/Documentation/thermal/
Dsysfs-api.txt137 .limits: This is an array of cooling state limits. Must have exactly
139 of tuples <lower-state upper-state> of state limits. Each trip
142 on all trips. These limits are used when binding a cdev to a
/linux-4.1.27/drivers/block/zram/
Dzram_drv.c1208 zram->disk->queue->limits.discard_granularity = PAGE_SIZE; in create_device()
1209 zram->disk->queue->limits.max_discard_sectors = UINT_MAX; in create_device()
1219 zram->disk->queue->limits.discard_zeroes_data = 1; in create_device()
1221 zram->disk->queue->limits.discard_zeroes_data = 0; in create_device()
/linux-4.1.27/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.1.27/arch/arm/mach-pxa/
Dsleep.S119 @ check that the memory frequency is within limits
/linux-4.1.27/Documentation/development-process/
D8.Conclusion11 distributions runs into internal limits and fails to process the documents
/linux-4.1.27/Documentation/devicetree/bindings/misc/
Dlis302.txt61 - st,{min,max}-limit-{x,y,z} set the min/max limits for x/y/z axis
/linux-4.1.27/drivers/thermal/
Dthermal_core.c224 unsigned long *limits) in __bind() argument
234 if (limits) { in __bind()
235 lower = limits[i * 2]; in __bind()
236 upper = limits[i * 2 + 1]; in __bind()
/linux-4.1.27/drivers/block/xen-blkback/
Dxenbus.c520 q->limits.discard_granularity); in xen_blkbk_discard()
527 q->limits.discard_alignment); in xen_blkbk_discard()
/linux-4.1.27/Documentation/misc-devices/
Dlis3lv02d48 to allow adjustment of the limits without a change to the actual driver.
/linux-4.1.27/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.1.27/Documentation/block/
Dqueue-sysfs.txt25 Devices that support discard functionality may have internal limits on
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dfw.c229 ar->if_combs[0].limits = ar->if_comb_limits; in carl9170_fw_set_if_combinations()
/linux-4.1.27/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
De1000.txt213 This value, in units of 1.024 microseconds, limits the delay in which a
293 This value, in units of 1.024 microseconds, limits the delay in which a
/linux-4.1.27/Documentation/i2c/
Dfault-codes123 arbitrary limits (much longer than SMBus!) too.
/linux-4.1.27/Documentation/power/regulator/
Doverview.txt118 operating limits for this domain and system state (e.g.
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt169 limits and 2 attributes representing the sizes of the time windows. Such that,
/linux-4.1.27/net/mac80211/
Dmain.c916 if ((c->limits[j].types & BIT(NL80211_IFTYPE_ADHOC)) && in ieee80211_register_hw()
917 c->limits[j].max > 1) in ieee80211_register_hw()
/linux-4.1.27/Documentation/arm/
DIXP4xx82 limits the system to just 64MB of PCI memory. This can be
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt58 - samsung,pix-limits: an array of maximum supported image sizes in pixels, for
/linux-4.1.27/drivers/mtd/
Dmtd_blkdevs.c426 new->rq->limits.max_discard_sectors = UINT_MAX; in add_mtd_blktrans_dev()
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt77 Any positive value limits failures to only processes indicated by
/linux-4.1.27/fs/squashfs/
DKconfig71 one time. This limits CPU and memory usage to a minimum.
/linux-4.1.27/Documentation/input/
Dff.txt29 To stop this annoying behaviour, move you joystick to its limits. Anyway, you
/linux-4.1.27/arch/arm/mach-ixp4xx/
DKconfig209 limits the system to just 64MB of PCI memory. This can be
/linux-4.1.27/arch/m68k/fpsp040/
Dround.S149 movel #30,%d2 |of the sgl prec. limits
161 movel #30,%d2 |of the dbl prec. limits
/linux-4.1.27/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.1.27/fs/ext4/
Dioctl.c615 q->limits.discard_granularity); in ext4_ioctl()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
Dmain.c1793 .limits = wl18xx_iface_limits,
1799 .limits = wl18xx_iface_ap_limits,
/linux-4.1.27/Documentation/vm/
Dhugetlbpage.txt224 the resource limits of any cpuset in which the task runs. Thus, there will
295 no limits are set. For pagesize, size, min_size and nr_inodes options, you
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c2504 char limits[10] = {0}; in _rtl8812ae_phy_get_txpower_limit() local
2508 limits[i] = rtlphy->txpwr_limit_2_4g[i][bdwidth] in _rtl8812ae_phy_get_txpower_limit()
2512 _rtl8812ae_phy_get_world_wide_limit(limits) : in _rtl8812ae_phy_get_txpower_limit()
2516 char limits[10] = {0}; in _rtl8812ae_phy_get_txpower_limit() local
2520 limits[i] = rtlphy->txpwr_limit_5g[i][bdwidth] in _rtl8812ae_phy_get_txpower_limit()
2524 _rtl8812ae_phy_get_world_wide_limit(limits) : in _rtl8812ae_phy_get_txpower_limit()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt127 immediately taken into account to evaluate the dirty memory limits and the
149 account to evaluate the dirty memory limits and the other appears as 0 when
685 However, if a process limits using nodes by mempolicy/cpusets,
Dkernel.txt773 Linux lets you set resource limits, including how much memory one
776 thus might not be counted against any resource limits. If enabled,
784 limits (in particular, RLIMIT_AS and RLIMIT_NPROC). Most systems don't

12