Home
last modified time | relevance | path

Searched refs:limits (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/linux/drivers/net/ipa/data/
H A Dipa_data-v3.1.c190 .limits[IPA_RSRC_GROUP_SRC_UL] = {
193 .limits[IPA_RSRC_GROUP_SRC_DL] = {
196 .limits[IPA_RSRC_GROUP_SRC_DIAG] = {
199 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
202 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
207 .limits[IPA_RSRC_GROUP_SRC_UL] = {
210 .limits[IPA_RSRC_GROUP_SRC_DL] = {
213 .limits[IPA_RSRC_GROUP_SRC_DIAG] = {
216 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
219 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
[all …]
H A Dipa_data-v5.0.c188 .limits[IPA_RSRC_GROUP_SRC_UL] = {
191 .limits[IPA_RSRC_GROUP_SRC_DL] = {
194 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
197 .limits[IPA_RSRC_GROUP_SRC_U_RX_QC] = {
202 .limits[IPA_RSRC_GROUP_SRC_UL] = {
205 .limits[IPA_RSRC_GROUP_SRC_DL] = {
208 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
213 .limits[IPA_RSRC_GROUP_SRC_UL] = {
216 .limits[IPA_RSRC_GROUP_SRC_DL] = {
219 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
[all …]
H A Dipa_data-v3.5.1.c182 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
185 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
188 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
193 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
196 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
199 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
204 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
207 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
210 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
215 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
[all …]
H A Dipa_data-v5.5.c188 .limits[IPA_RSRC_GROUP_SRC_UL] = {
191 .limits[IPA_RSRC_GROUP_SRC_DL] = {
194 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
197 .limits[IPA_RSRC_GROUP_SRC_U_RX_QC] = {
202 .limits[IPA_RSRC_GROUP_SRC_UL] = {
205 .limits[IPA_RSRC_GROUP_SRC_DL] = {
208 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
213 .limits[IPA_RSRC_GROUP_SRC_UL] = {
216 .limits[IPA_RSRC_GROUP_SRC_DL] = {
219 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
[all …]
H A Dipa_data-v4.9.c176 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
179 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
182 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
187 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
190 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
193 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
198 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
201 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
204 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
209 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
[all …]
H A Dipa_data-v4.5.c184 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
187 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
192 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
195 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
200 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
203 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
208 .limits[IPA_RSRC_GROUP_SRC_UNUSED_0] = {
211 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
214 .limits[IPA_RSRC_GROUP_SRC_UNUSED_2] = {
217 .limits[IPA_RSRC_GROUP_SRC_UNUSED_3] = {
[all …]
H A Dipa_data-v4.11.c175 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
180 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
185 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
190 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
195 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
204 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
207 .limits[IPA_RSRC_GROUP_DST_DRB_IP] = {
212 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
H A Dipa_data-v4.2.c175 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
180 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
185 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
190 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
195 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
204 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
209 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
H A Dipa_data-v4.7.c171 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
176 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
181 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
186 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
191 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
200 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
205 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
/linux/drivers/media/i2c/
H A Daptina-pll.c16 const struct aptina_pll_limits *limits, in aptina_pll_calculate() argument
29 if (pll->ext_clock < limits->ext_clock_min || in aptina_pll_calculate()
30 pll->ext_clock > limits->ext_clock_max) { in aptina_pll_calculate()
35 if (pll->pix_clock == 0 || pll->pix_clock > limits->pix_clock_max) { in aptina_pll_calculate()
55 mf_min = DIV_ROUND_UP(limits->m_min, pll->m); in aptina_pll_calculate()
56 mf_min = max(mf_min, limits->out_clock_min / in aptina_pll_calculate()
57 (pll->ext_clock / limits->n_min * pll->m)); in aptina_pll_calculate()
58 mf_min = max(mf_min, limits->n_min * limits->p1_min / div); in aptina_pll_calculate()
59 mf_max = limits->m_max / pll->m; in aptina_pll_calculate()
60 mf_max = min(mf_max, limits->out_clock_max / in aptina_pll_calculate()
[all …]
/linux/drivers/net/ipa/
H A Dipa_resource.c50 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid()
63 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid()
99 ylimits = group_count == 1 ? NULL : &resource->limits[1]; in ipa_resource_config_src()
101 &resource->limits[0], ylimits); in ipa_resource_config_src()
106 ylimits = group_count == 3 ? NULL : &resource->limits[3]; in ipa_resource_config_src()
108 &resource->limits[2], ylimits); in ipa_resource_config_src()
113 ylimits = group_count == 5 ? NULL : &resource->limits[5]; in ipa_resource_config_src()
115 &resource->limits[4], ylimits); in ipa_resource_config_src()
120 ylimits = group_count == 7 ? NULL : &resource->limits[7]; in ipa_resource_config_src()
122 &resource->limits[6], ylimits); in ipa_resource_config_src()
[all …]
/linux/drivers/w1/masters/
H A Dw1-uart.c107 const struct w1_uart_limits *limits, in w1_uart_set_config() argument
115 w1cfg->baudrate = serdev_device_set_baudrate(serdev, limits->baudrate); in w1_uart_set_config()
121 bits_low = to_ns(limits->bit_min_us) / bit_ns; in w1_uart_set_config()
125 if (low_ns < to_ns(limits->bit_min_us)) in w1_uart_set_config()
128 if (low_ns > to_ns(limits->bit_max_us)) in w1_uart_set_config()
132 if (limits->sample_us > 0 && in w1_uart_set_config()
133 bit_ns * BITS_PER_BYTE < low_ns + to_ns(limits->sample_us)) in w1_uart_set_config()
139 if (to_ns(limits->cycle_us) > packet_ns) in w1_uart_set_config()
141 (to_ns(limits->cycle_us) - packet_ns) / NSEC_PER_USEC; in w1_uart_set_config()
159 struct w1_uart_limits limits = { .baudrate = 9600, in w1_uart_set_config_reset() local
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_link_bw.c26 struct intel_link_bw_limits *limits) in intel_link_bw_init_limits() argument
31 limits->force_fec_pipes = 0; in intel_link_bw_init_limits()
32 limits->bpp_limit_reached_pipes = 0; in intel_link_bw_init_limits()
39 limits->max_bpp_x16[pipe] = crtc_state->max_link_bpp_x16; in intel_link_bw_init_limits()
41 limits->force_fec_pipes |= BIT(pipe); in intel_link_bw_init_limits()
43 limits->max_bpp_x16[pipe] = INT_MAX; in intel_link_bw_init_limits()
68 struct intel_link_bw_limits *limits, in intel_link_bw_reduce_bpp() argument
81 if (limits->bpp_limit_reached_pipes & BIT(crtc->pipe)) in intel_link_bw_reduce_bpp()
109 limits->max_bpp_x16[max_bpp_pipe] = max_bpp_x16 - 1; in intel_link_bw_reduce_bpp()
160 struct intel_link_bw_limits *limits) in check_all_link_config() argument
[all …]
H A Dintel_dp_mst.c168 struct link_config_limits *limits, in intel_dp_mst_find_vcpi_slots_for_bpp() argument
191 crtc_state->lane_count = limits->max_lane_count; in intel_dp_mst_find_vcpi_slots_for_bpp()
192 crtc_state->port_clock = limits->max_rate; in intel_dp_mst_find_vcpi_slots_for_bpp()
321 struct link_config_limits *limits) in intel_dp_mst_compute_link_config() argument
330 fxp_q4_to_int(limits->link.max_bpp_x16), in intel_dp_mst_compute_link_config()
331 fxp_q4_to_int(limits->link.min_bpp_x16), in intel_dp_mst_compute_link_config()
332 limits, in intel_dp_mst_compute_link_config()
344 struct link_config_limits *limits) in intel_dp_dsc_mst_compute_link_config() argument
362 max_bpp = min_t(u8, dsc_max_bpc * 3, limits->pipe.max_bpp); in intel_dp_dsc_mst_compute_link_config()
363 min_bpp = limits->pipe.min_bpp; in intel_dp_dsc_mst_compute_link_config()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_main.c168 mdev->limits.mtt_seg_size = (1 << log_mtts_per_seg) * 8; in mthca_dev_lim()
196 mdev->limits.num_ports = dev_lim->num_ports; in mthca_dev_lim()
197 mdev->limits.vl_cap = dev_lim->max_vl; in mthca_dev_lim()
198 mdev->limits.mtu_cap = dev_lim->max_mtu; in mthca_dev_lim()
199 mdev->limits.gid_table_len = dev_lim->max_gids; in mthca_dev_lim()
200 mdev->limits.pkey_table_len = dev_lim->max_pkeys; in mthca_dev_lim()
201 mdev->limits.local_ca_ack_delay = dev_lim->local_ca_ack_delay; in mthca_dev_lim()
207 mdev->limits.max_sg = min_t(int, dev_lim->max_sg, in mthca_dev_lim()
214 mdev->limits.max_wqes = dev_lim->max_qp_sz; in mthca_dev_lim()
215 mdev->limits.max_qp_init_rdma = dev_lim->max_requester_per_qp; in mthca_dev_lim()
[all …]
H A Dmthca_profile.c94 profile[MTHCA_RES_MTT].size = dev->limits.mtt_seg_size; in mthca_make_profile()
173 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
178 dev->limits.num_eecs = profile[i].num; in mthca_make_profile()
183 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
188 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
199 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
212 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
213 dev->limits.num_amgms = profile[i].num >> 1; in mthca_make_profile()
220 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
226 dev->limits.num_mtt_segs = profile[i].num; in mthca_make_profile()
[all …]
H A Dmthca_mr.c221 for (i = dev->limits.mtt_seg_size / 8; i < size; i <<= 1) in __mthca_alloc_mtt()
267 mtt->first_seg * dev->limits.mtt_seg_size + in __mthca_write_mtt()
320 mtts = dev->mr_table.tavor_fmr.mtt_base + mtt->first_seg * dev->limits.mtt_seg_size + in mthca_tavor_write_mtt_seg()
339 BUG_ON(s % dev->limits.mtt_seg_size); in mthca_arbel_write_mtt_seg()
342 s / dev->limits.mtt_seg_size, &dma_handle); in mthca_arbel_write_mtt_seg()
475 mr->mtt->first_seg * dev->limits.mtt_seg_size); in mthca_mr_alloc()
489 key & (dev->limits.num_mpts - 1)); in mthca_mr_alloc()
556 (dev->limits.num_mpts - 1)); in mthca_free_mr()
570 dev->limits.num_mpts, in mthca_init_mr_table()
571 ~0, dev->limits.reserved_mrws); in mthca_init_mr_table()
[all …]
H A Dmthca_provider.c89 props->page_size_cap = mdev->limits.page_size_cap; in mthca_query_device()
90 props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; in mthca_query_device()
91 props->max_qp_wr = mdev->limits.max_wqes; in mthca_query_device()
92 props->max_send_sge = mdev->limits.max_sg; in mthca_query_device()
93 props->max_recv_sge = mdev->limits.max_sg; in mthca_query_device()
94 props->max_sge_rd = mdev->limits.max_sg; in mthca_query_device()
95 props->max_cq = mdev->limits.num_cqs - mdev->limits.reserved_cqs; in mthca_query_device()
96 props->max_cqe = mdev->limits.max_cqes; in mthca_query_device()
97 props->max_mr = mdev->limits.num_mpts - mdev->limits.reserved_mrws; in mthca_query_device()
98 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
[all …]
/linux/include/linux/
H A Dblkdev.h500 struct queue_limits limits; member
634 #define blk_queue_nonrot(q) (!((q)->limits.features & BLK_FEAT_ROTATIONAL))
635 #define blk_queue_io_stat(q) ((q)->limits.features & BLK_FEAT_IO_STAT)
637 ((q)->limits.flags & BLK_FLAG_IOSTATS_PASSTHROUGH)
638 #define blk_queue_dax(q) ((q)->limits.features & BLK_FEAT_DAX)
639 #define blk_queue_pci_p2pdma(q) ((q)->limits.features & BLK_FEAT_PCI_P2PDMA)
655 ((q)->limits.features & BLK_FEAT_SKIP_TAGSET_QUIESCE)
686 (q->limits.features & BLK_FEAT_ZONED); in blk_queue_is_zoned()
710 return sector >> ilog2(disk->queue->limits.chunk_sectors); in disk_zone_no()
720 return bdev->bd_disk->queue->limits.max_open_zones; in bdev_max_open_zones()
[all …]
H A Dt10-pi.h45 rq->q->limits.integrity.interval_exp) in t10_pi_ref_tag()
46 shift = rq->q->limits.integrity.interval_exp; in t10_pi_ref_tag()
70 rq->q->limits.integrity.interval_exp) in ext_pi_ref_tag()
71 shift = rq->q->limits.integrity.interval_exp; in ext_pi_ref_tag()
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_misc.c543 minfo->limits.pixel.vcomax = maxdac; in parse_pins1()
555 minfo->limits.pixel.vcomax = 220000; in default_pins1()
564 minfo->limits.pixel.vcomax = in parse_pins2()
565 minfo->limits.system.vcomax = (bd->pins[41] == 0xFF) ? 230000 : ((bd->pins[41] + 100) * 1000); in parse_pins2()
578 minfo->limits.pixel.vcomax = in default_pins2()
579 minfo->limits.system.vcomax = 230000; in default_pins2()
588 minfo->limits.pixel.vcomax = in parse_pins3()
589 minfo->limits.system.vcomax = (bd->pins[36] == 0xFF) ? 230000 : ((bd->pins[36] + 100) * 1000); in parse_pins3()
606 minfo->limits.pixel.vcomax = in default_pins3()
607 minfo->limits.system.vcomax = 230000; in default_pins3()
[all …]
/linux/drivers/macintosh/
H A Dtherm_adt746x.c80 u8 limits[3]; member
219 th->limits[0], th->limits[1], th->limits[2], in display_stats()
237 int var = th->temps[i] - th->limits[i]; in update_fans_speed()
314 th->limits[i] = default_limits_chip[i] + limit_adjust; in set_limit()
315 write_reg(th, LIMIT_REG[i], th->limits[i]); in set_limit()
318 th->limits[i] = default_limits_local[i] + limit_adjust; in set_limit()
378 BUILD_SHOW_FUNC_INT(sensor1_limit, th->limits[1])
379 BUILD_SHOW_FUNC_INT(sensor2_limit, th->limits[2])
535 th->initial_limits[2], th->limits[0], th->limits[1], in probe_thermostat()
536 th->limits[2]); in probe_thermostat()
[all …]
/linux/drivers/clk/
H A Dclk-axi-clkgen.c60 struct axi_clkgen_limits limits; member
126 static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, in axi_clkgen_calc_params() argument
144 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params()
145 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params()
148 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params()
149 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params()
341 const struct axi_clkgen_limits *limits = &axi_clkgen->limits; in axi_clkgen_set_rate() local
351 axi_clkgen_calc_params(limits, parent_rate, rate, &d, &m, &dout); in axi_clkgen_set_rate()
392 const struct axi_clkgen_limits *limits = &axi_clkgen->limits; in axi_clkgen_determine_rate() local
396 axi_clkgen_calc_params(limits, req->best_parent_rate, req->rate, in axi_clkgen_determine_rate()
[all …]
/linux/Documentation/admin-guide/sysctl/
H A Duser.rst15 limits on the number of namespaces and other objects that have
16 per user per user namespace limits.
18 The primary purpose of these limits is to stop programs that
21 intention that the defaults of these limits are set high enough that
22 no program in normal operation should run into these limits.
31 limits in the user namespaces of those users.
34 user namespace does not allow a user to escape their current limits.
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_ipp.c244 if (copy_to_user((void __user *)ptr, format->limits, in exynos_drm_ipp_get_limits_ioctl()
245 sizeof(*format->limits) * format->num_limits)) in exynos_drm_ipp_get_limits_ioctl()
430 static void __get_size_limit(const struct drm_exynos_ipp_limit *limits, in __get_size_limit() argument
434 const struct drm_exynos_ipp_limit *l = limits; in __get_size_limit()
439 for (l = limits; l - limits < num_limits; l++) { in __get_size_limit()
476 const struct drm_exynos_ipp_limit *limits, unsigned int num_limits, in exynos_drm_ipp_check_size_limits() argument
484 if (!limits) in exynos_drm_ipp_check_size_limits()
487 __get_size_limit(limits, num_limits, IPP_LIMIT_BUFFER, &l); in exynos_drm_ipp_check_size_limits()
496 __get_size_limit(limits, num_limits, id, &l); in exynos_drm_ipp_check_size_limits()
523 const struct drm_exynos_ipp_limit *limits, in exynos_drm_ipp_check_scale_limits() argument
[all …]

12345678910>>...18