Home
last modified time | relevance | path

Searched full:limits (Results 1 – 25 of 2311) sorted by relevance

12345678910>>...93

/openbmc/linux/drivers/net/ipa/data/
H A Dipa_data-v3.1.c189 .limits[IPA_RSRC_GROUP_SRC_UL] = {
192 .limits[IPA_RSRC_GROUP_SRC_DL] = {
195 .limits[IPA_RSRC_GROUP_SRC_DIAG] = {
198 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
201 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
206 .limits[IPA_RSRC_GROUP_SRC_UL] = {
209 .limits[IPA_RSRC_GROUP_SRC_DL] = {
212 .limits[IPA_RSRC_GROUP_SRC_DIAG] = {
215 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
218 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
[all …]
H A Dipa_data-v5.0.c187 .limits[IPA_RSRC_GROUP_SRC_UL] = {
190 .limits[IPA_RSRC_GROUP_SRC_DL] = {
193 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
196 .limits[IPA_RSRC_GROUP_SRC_U_RX_QC] = {
201 .limits[IPA_RSRC_GROUP_SRC_UL] = {
204 .limits[IPA_RSRC_GROUP_SRC_DL] = {
207 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
212 .limits[IPA_RSRC_GROUP_SRC_UL] = {
215 .limits[IPA_RSRC_GROUP_SRC_DL] = {
218 .limits[IPA_RSRC_GROUP_SRC_URLLC] = {
[all …]
H A Dipa_data-v4.9.c175 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
178 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
181 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
186 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
189 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
192 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
197 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
200 .limits[IPA_RSRC_GROUP_SRC_DMA] = {
203 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
208 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
[all …]
H A Dipa_data-v3.5.1.c181 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
184 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
187 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
192 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
195 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
198 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
203 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
206 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
209 .limits[IPA_RSRC_GROUP_SRC_UC_RX_Q] = {
214 .limits[IPA_RSRC_GROUP_SRC_LWA_DL] = {
[all …]
H A Dipa_data-v4.5.c183 .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] = {
207 .limits[IPA_RSRC_GROUP_SRC_UNUSED_0] = {
210 .limits[IPA_RSRC_GROUP_SRC_UL_DL] = {
213 .limits[IPA_RSRC_GROUP_SRC_UNUSED_2] = {
216 .limits[IPA_RSRC_GROUP_SRC_UNUSED_3] = {
[all …]
/openbmc/linux/block/
H A Dblk-settings.c29 * blk_set_default_limits - reset limits to default values
65 * blk_set_stacking_limits - set default limits for stacking devices
70 * by stacking drivers like DM that have no internal limits.
76 /* Inherit limits from component devices */ in blk_set_stacking_limits()
100 q->limits.bounce = bounce; in blk_queue_bounce_limit()
125 struct queue_limits *limits = &q->limits; in blk_queue_max_hw_sectors() local
135 limits->logical_block_size >> SECTOR_SHIFT); in blk_queue_max_hw_sectors()
136 limits->max_hw_sectors = max_hw_sectors; in blk_queue_max_hw_sectors()
138 max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); in blk_queue_max_hw_sectors()
140 if (limits->max_user_sectors) in blk_queue_max_hw_sectors()
[all …]
/openbmc/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 …]
H A Dccs-pll.h127 * struct ccs_pll_branch_limits_fr - CCS PLL front-end limits
150 * struct ccs_pll_branch_limits_bk - CCS PLL back-end limits
173 * struct ccs_pll_limits - CCS PLL limits
177 * @vt_fr: Video timing front-end limits
178 * @vt_bk: Video timing back-end limits
179 * @op_fr: Operational timing front-end limits
180 * @op_bk: Operational timing back-end limits
185 /* Strict PLL limits */
194 /* Other relevant limits */
205 * @limits: Limits specific to the sensor
[all …]
/openbmc/linux/drivers/net/ipa/
H A Dipa_resource.c36 /* We program at most 8 source or destination resource group limits */ in ipa_resource_limits_valid()
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()
107 ylimits = group_count == 3 ? NULL : &resource->limits[3]; in ipa_resource_config_src()
109 &resource->limits[2], ylimits); in ipa_resource_config_src()
114 ylimits = group_count == 5 ? NULL : &resource->limits[5]; in ipa_resource_config_src()
116 &resource->limits[4], ylimits); in ipa_resource_config_src()
121 ylimits = group_count == 7 ? NULL : &resource->limits[7]; in ipa_resource_config_src()
[all …]
/openbmc/qemu/docs/
H A Dthrottle.txt11 QEMU includes a throttling module that can be used to set limits to
24 them the user can set a global limit or separate limits for read and
27 I/O limits can be set using the throttling.* parameters of -drive, or
42 It is possible to set limits for both IOPS and bps at the same time,
44 write limits or not, but note that if iops-total is set then neither
73 In addition to the basic limits we have just seen, QEMU allows the
78 limits lower the rest of the time.
144 When applying IOPS limits all I/O operations are treated equally
146 of this in order to circumvent the limits and submit one huge I/O
160 requests is never taken into account when applying IOPS limits.
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D20462 limits=align=4k,max-transfer=64k
63 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
68 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE
69 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
74 echo "== non-power-of-2 write zeroes limits =="
76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
77 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
81 echo "== non-power-of-2 discard limits =="
83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
84 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
[all …]
H A D17761 limits=align=4k,max-transfer=64k
62 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
67 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE
68 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
73 echo "== non-power-of-2 write zeroes limits =="
75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
76 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
80 echo "== non-power-of-2 discard limits =="
82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
83 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
H A D093126 # Check that the I/O is within the limits and evenly distributed
157 limits = dict([(k, 0) for k in params])
158 limits[tk] = params[tk] * ndrives
159 self.configure_throttle(ndrives, limits)
160 self.do_test_throttle(ndrives, 5, limits)
175 limits = dict([(k, 0) for k in params])
176 limits[tk] = params[tk] * self.max_drives
177 self.configure_throttle(self.max_drives, limits)
178 self.do_test_throttle(1, 5, limits, drive)
207 limits = dict([(k, 0) for k in params])
[all …]
H A D18470 "limits" : {
97 "limits": {
105 "property" : "limits"
111 "property" : "limits",
120 "property" : "limits"
135 "limits": {
150 "property" : "limits",
/openbmc/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 …]
/openbmc/linux/security/apparmor/include/
H A Dresource.h5 * This file contains AppArmor resource limits function definitions.
22 * @mask: which hard limits to set
23 * @limits: rlimit values that override task limits
26 * limits specified in @mask will be controlled by apparmor.
30 struct rlimit limits[RLIM_NLIMITS]; member
/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Domap4xxx-bandgap.h49 * Temperature limits and thresholds for OMAP4430
52 * ADC conversions and representation of temperature limits
57 * ADC conversion table limits. Ignore values outside the TRM listed
63 /* bandgap clock limits (no control on 4430) */
136 * Temperature limits and thresholds for OMAP4460
139 * ADC conversions and representation of temperature limits
143 /* ADC conversion table limits */
146 /* bandgap clock limits */
H A Ddra752-bandgap.h126 * Temperature limits and thresholds for DRA752
129 * ADC conversions and representation of temperature limits
135 /* ADC conversion table limits */
140 /* bandgap clock limits */
148 /* bandgap clock limits */
156 /* bandgap clock limits */
164 /* bandgap clock limits */
172 /* bandgap clock limits */
/openbmc/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.
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_netlink.sh80 default_limits="$(ip netns exec $ns1 ./pm_nl_ctl limits)"
82 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 0
83 subflows 2" "defaults limits"
130 ip netns exec $ns1 ./pm_nl_ctl limits 9 1 2>/dev/null
131 check "ip netns exec $ns1 ./pm_nl_ctl limits" "$default_limits" "rcv addrs above hard limit"
133 ip netns exec $ns1 ./pm_nl_ctl limits 1 9 2>/dev/null
134 check "ip netns exec $ns1 ./pm_nl_ctl limits" "$default_limits" "subflows above hard limit"
136 ip netns exec $ns1 ./pm_nl_ctl limits 8 8
137 check "ip netns exec $ns1 ./pm_nl_ctl limits" "accept 8
138 subflows 8" "set limits"
/openbmc/linux/Documentation/hwmon/
H A Dlm77.rst27 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.
/openbmc/openbmc-test-automation/lib/
H A Denergy_scale_utils.robot32 DCMI Power Get Limits
44 # &{limits}= DCMI Power Get Limits
45 # ${power_setting}= Set Variable ${limits['power_limit']}
51 &{limits}= Key Value Outbuf To Dict ${output}
52 RETURN &{limits}
59 &{limits}= DCMI Power Get Limits
60 ${power_setting}= Get From Dictionary ${limits} power_limit
/openbmc/linux/drivers/mfd/
H A Dmax14577.c42 * @limits: constraints for charger, matching the MBCICHWRC register
53 * - is always between <limits.min, limits.max>;
59 * is outside of given charger limits) and 'dst' is not set.
61 int maxim_charger_calc_reg_current(const struct maxim_charger_current *limits, in maxim_charger_calc_reg_current() argument
69 if (min_ua > limits->max || max_ua < limits->min) in maxim_charger_calc_reg_current()
72 if (max_ua < limits->high_start) { in maxim_charger_calc_reg_current()
81 /* max_ua is in range: <high_start, infinite>, cut it to limits.max */ in maxim_charger_calc_reg_current()
82 max_ua = min(limits->max, max_ua); in maxim_charger_calc_reg_current()
83 max_ua -= limits->high_start; in maxim_charger_calc_reg_current()
86 * - max_ua >= limits.high_start in maxim_charger_calc_reg_current()
[all …]

12345678910>>...93