/linux-6.3-rc2/drivers/net/ipa/data/ |
A D | ipa_data-v3.1.c | 189 .limits[IPA_RSRC_GROUP_SRC_UL] = { 192 .limits[IPA_RSRC_GROUP_SRC_DL] = { 206 .limits[IPA_RSRC_GROUP_SRC_UL] = { 209 .limits[IPA_RSRC_GROUP_SRC_DL] = { 223 .limits[IPA_RSRC_GROUP_SRC_UL] = { 226 .limits[IPA_RSRC_GROUP_SRC_DL] = { 240 .limits[IPA_RSRC_GROUP_SRC_UL] = { 243 .limits[IPA_RSRC_GROUP_SRC_DL] = { 257 .limits[IPA_RSRC_GROUP_SRC_UL] = { 260 .limits[IPA_RSRC_GROUP_SRC_DL] = { [all …]
|
A D | ipa_data-v3.5.1.c | 181 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = { 184 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 192 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = { 195 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 203 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = { 206 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 214 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = { 217 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 228 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = { 231 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { [all …]
|
A D | ipa_data-v4.9.c | 175 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 178 .limits[IPA_RSRC_GROUP_SRC_DMA] = { 186 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 189 .limits[IPA_RSRC_GROUP_SRC_DMA] = { 200 .limits[IPA_RSRC_GROUP_SRC_DMA] = { 211 .limits[IPA_RSRC_GROUP_SRC_DMA] = { 222 .limits[IPA_RSRC_GROUP_SRC_DMA] = { 237 .limits[IPA_RSRC_GROUP_DST_DMA] = { 240 .limits[IPA_RSRC_GROUP_DST_UC] = { 251 .limits[IPA_RSRC_GROUP_DST_DMA] = { [all …]
|
A D | ipa_data-v4.5.c | 183 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 186 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = { 191 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 194 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = { 199 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 202 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = { 210 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 219 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = { 224 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 227 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = { [all …]
|
A D | ipa_data-v4.11.c | 174 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 179 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 184 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 189 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 194 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 203 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = { 206 .limits[IPA_RSRC_GROUP_DST_DRB_IP] = { 211 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
|
A D | ipa_data-v4.2.c | 174 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 179 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 184 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 189 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 194 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 203 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = { 208 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
|
A D | ipa_data-v4.7.c | 170 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = { 175 .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] = { 199 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = { 204 .limits[IPA_RSRC_GROUP_DST_UL_DL_DPL] = {
|
/linux-6.3-rc2/block/ |
A D | blk-settings.c | 125 struct queue_limits *limits = &q->limits; in blk_queue_max_hw_sectors() local 311 struct queue_limits *limits = &q->limits; in blk_queue_logical_block_size() local 318 if (limits->io_min < limits->physical_block_size) in blk_queue_logical_block_size() 319 limits->io_min = limits->physical_block_size; in blk_queue_logical_block_size() 343 q->limits.physical_block_size = q->limits.logical_block_size; in blk_queue_physical_block_size() 345 if (q->limits.io_min < q->limits.physical_block_size) in blk_queue_physical_block_size() 346 q->limits.io_min = q->limits.physical_block_size; in blk_queue_physical_block_size() 420 if (limits->io_min < limits->logical_block_size) in blk_limits_io_min() 421 limits->io_min = limits->logical_block_size; in blk_limits_io_min() 423 if (limits->io_min < limits->physical_block_size) in blk_limits_io_min() [all …]
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | aptina-pll.c | 16 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() 56 mf_min = max(mf_min, limits->out_clock_min / 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() 62 mf_max = min(mf_max, DIV_ROUND_UP(limits->n_max * limits->p1_max, div)); in aptina_pll_calculate() 122 if (limits->p1_min == 0) { in aptina_pll_calculate() 127 p1_min = max(limits->p1_min, DIV_ROUND_UP(limits->out_clock_min * div, in aptina_pll_calculate() 129 p1_max = min(limits->p1_max, limits->out_clock_max * div / in aptina_pll_calculate() [all …]
|
/linux-6.3-rc2/drivers/net/ipa/ |
A D | ipa_resource.c | 51 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid() 64 if (resource->limits[j].min || resource->limits[j].max) in ipa_resource_limits_valid() 100 ylimits = group_count == 1 ? NULL : &resource->limits[1]; in ipa_resource_config_src() 102 &resource->limits[0], ylimits); in ipa_resource_config_src() 109 &resource->limits[2], ylimits); in ipa_resource_config_src() 116 &resource->limits[4], ylimits); in ipa_resource_config_src() 123 &resource->limits[6], ylimits); in ipa_resource_config_src() 139 &resource->limits[0], ylimits); in ipa_resource_config_dst() 146 &resource->limits[2], ylimits); in ipa_resource_config_dst() 153 &resource->limits[4], ylimits); in ipa_resource_config_dst() [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A D | mthca_main.c | 418 mdev->limits.reserved_mtts = ALIGN(mdev->limits.reserved_mtts * mdev->limits.mtt_seg_size, in mthca_init_icm() 422 mdev->limits.mtt_seg_size, in mthca_init_icm() 423 mdev->limits.num_mtt_segs, in mthca_init_icm() 434 mdev->limits.num_mpts, in mthca_init_icm() 445 mdev->limits.num_qps, in mthca_init_icm() 446 mdev->limits.reserved_qps, in mthca_init_icm() 456 mdev->limits.num_qps, in mthca_init_icm() 457 mdev->limits.reserved_qps, in mthca_init_icm() 467 mdev->limits.num_qps << in mthca_init_icm() 478 mdev->limits.num_cqs, in mthca_init_icm() [all …]
|
A D | mthca_profile.c | 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() 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() 232 dev->limits.num_uars = profile[i].num; in mthca_make_profile() 255 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile() [all …]
|
A D | mthca_mr.c | 339 BUG_ON(s % dev->limits.mtt_seg_size); in mthca_arbel_write_mtt_seg() 556 (dev->limits.num_mpts - 1)); in mthca_free_mr() 570 dev->limits.num_mpts, in mthca_init_mr_table() 577 dev->limits.fmr_reserved_mtts = 0; in mthca_init_mr_table() 593 if (dev->limits.fmr_reserved_mtts) { in mthca_init_mr_table() 603 mtts = dev->limits.num_mtt_segs; in mthca_init_mr_table() 604 mpts = dev->limits.num_mpts; in mthca_init_mr_table() 636 if (dev->limits.fmr_reserved_mtts) { in mthca_init_mr_table() 652 if (dev->limits.reserved_mtts) { in mthca_init_mr_table() 668 if (dev->limits.fmr_reserved_mtts) in mthca_init_mr_table() [all …]
|
A D | mthca_provider.c | 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() 102 props->max_srq = mdev->limits.num_srqs - mdev->limits.reserved_srqs; in mthca_query_device() [all …]
|
A D | mthca_uar.c | 59 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()
|
A D | mthca_srq.c | 215 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq() 216 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq() 285 srq->srqn & (dev->limits.num_srqs - 1), in mthca_alloc_srq() 355 srq->srqn & (dev->limits.num_srqs - 1)); in mthca_free_srq() 645 return dev->limits.max_sg; in mthca_max_srq_sge() 661 return min_t(int, dev->limits.max_sg, in mthca_max_srq_sge() 662 ((1 << (fls(dev->limits.max_desc_sz) - 1)) - in mthca_max_srq_sge() 677 dev->limits.num_srqs, in mthca_init_srq_table() 678 dev->limits.num_srqs - 1, in mthca_init_srq_table() 679 dev->limits.reserved_srqs); in mthca_init_srq_table() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/matrox/ |
A D | matroxfb_misc.c | 543 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() 578 minfo->limits.pixel.vcomax = in default_pins2() 588 minfo->limits.pixel.vcomax = in parse_pins3() 606 minfo->limits.pixel.vcomax = in default_pins3() 637 minfo->limits.pixel.vcomax = in default_pins4() 690 minfo->limits.pixel.vcomax = in default_pins5() 691 minfo->limits.system.vcomax = in default_pins5() 693 minfo->limits.pixel.vcomin = in default_pins5() [all …]
|
/linux-6.3-rc2/drivers/clk/ |
A D | clk-axi-clkgen.c | 59 struct axi_clkgen_limits limits; member 125 static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, in axi_clkgen_calc_params() argument 143 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params() 144 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params() 147 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params() 148 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params() 340 const struct axi_clkgen_limits *limits = &axi_clkgen->limits; in axi_clkgen_set_rate() local 350 axi_clkgen_calc_params(limits, parent_rate, rate, &d, &m, &dout); in axi_clkgen_set_rate() 391 const struct axi_clkgen_limits *limits = &axi_clkgen->limits; in axi_clkgen_round_rate() local 395 axi_clkgen_calc_params(limits, *parent_rate, rate, &d, &m, &dout); in axi_clkgen_round_rate() [all …]
|
/linux-6.3-rc2/drivers/macintosh/ |
A D | therm_adt746x.c | 78 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-6.3-rc2/Documentation/admin-guide/sysctl/ |
A D | user.rst | 15 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-6.3-rc2/include/linux/ |
A D | blkdev.h | 491 struct queue_limits limits; member 649 return q->limits.zoned; in blk_queue_zoned_model() 1109 return q->limits.seg_boundary_mask; in queue_segment_boundary() 1114 return q->limits.virt_boundary_mask; in queue_virt_boundary() 1119 return q->limits.max_sectors; in queue_max_sectors() 1129 return q->limits.max_hw_sectors; in queue_max_hw_sectors() 1134 return q->limits.max_segments; in queue_max_segments() 1144 return q->limits.max_segment_size; in queue_max_segment_size() 1193 return q->limits.io_min; in queue_io_min() 1203 return q->limits.io_opt; in queue_io_opt() [all …]
|
/linux-6.3-rc2/Documentation/hwmon/ |
A D | lm77.rst | 27 The LM77 implements 3 limits: low (temp1_min), high (temp1_max) and 29 applies to all 3 limits. The relative difference is stored in a single 31 the limit and its hysteresis is always the same for all 3 limits. 44 hysteresis applies automatically to the low and high limits. 45 * The limits should be set before the hysteresis.
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
A D | exynos_drm_ipp.c | 244 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() 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() 484 if (!limits) 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 529 for (; num_limits; limits++, num_limits--) in exynos_drm_ipp_check_scale_limits() 536 lh = (!swap) ? &limits->h : &limits->v; in exynos_drm_ipp_check_scale_limits() 537 lv = (!swap) ? &limits->v : &limits->h; in exynos_drm_ipp_check_scale_limits() [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-table.c | 228 struct queue_limits *limits = data; in device_area_is_invalid() local 399 struct queue_limits *limits = data; in dm_set_device_limits() local 409 if (blk_stack_limits(limits, &q->limits, in dm_set_device_limits() 416 q->limits.logical_block_size, in dm_set_device_limits() 417 q->limits.alignment_offset, in dm_set_device_limits() 627 limits->logical_block_size); in validate_hardware_logical_block_alignment() 1666 blk_set_stacking_limits(limits); in dm_calculate_queue_limits() 1728 zoned_model = limits->zoned; in dm_calculate_queue_limits() 1942 q->limits = *limits; in dm_table_set_restrictions() 1953 q->limits.discard_alignment = 0; in dm_table_set_restrictions() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_dp_mst.c | 52 struct link_config_limits *limits, in intel_dp_mst_find_vcpi_slots_for_bpp() argument 135 limits->min_bpp, limits, in intel_dp_mst_compute_link_config() 155 struct link_config_limits *limits) in intel_dp_dsc_mst_compute_link_config() argument 179 min_bpp = limits->min_bpp; in intel_dp_dsc_mst_compute_link_config() 207 min_bpp, limits, in intel_dp_dsc_mst_compute_link_config() 281 struct link_config_limits limits; in intel_dp_mst_compute_config() local 300 limits.min_rate = in intel_dp_mst_compute_config() 303 limits.min_lane_count = in intel_dp_mst_compute_config() 320 conn_state, &limits); in intel_dp_mst_compute_config() 335 conn_state, &limits); in intel_dp_mst_compute_config() [all …]
|