Home
last modified time | relevance | path

Searched refs:limit (Results 51 – 75 of 1424) sorted by relevance

12345678910>>...57

/linux/drivers/infiniband/hw/qib/
H A Dqib_diag.c344 u32 limit; in qib_read_umem64() local
352 if (count >= limit) in qib_read_umem64()
353 count = limit; in qib_read_umem64()
388 u32 limit; in qib_write_umem64() local
396 if (count >= limit) in qib_write_umem64()
397 count = limit; in qib_write_umem64()
433 u32 limit; in qib_read_umem32() local
441 if (count >= limit) in qib_read_umem32()
442 count = limit; in qib_read_umem32()
479 u32 limit; in qib_write_umem32() local
[all …]
/linux/drivers/perf/
H A Darm_spe_pmu.c395 limit >>= 1; in arm_spe_pmu_next_snapshot_off()
407 return limit; in arm_spe_pmu_next_snapshot_off()
415 u64 limit = bufsize; in __arm_spe_pmu_next_off() local
468 limit = min(limit, round_up(wakeup, PAGE_SIZE)); in __arm_spe_pmu_next_off()
470 if (limit > head) in __arm_spe_pmu_next_off()
471 return limit; in __arm_spe_pmu_next_off()
491 if (limit && (limit - head < spe_pmu->max_record_sz)) { in arm_spe_pmu_next_off()
496 return limit; in arm_spe_pmu_next_off()
502 u64 base, limit; in arm_spe_perf_aux_output_begin() local
513 limit = 0; in arm_spe_perf_aux_output_begin()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu7_smumgr.c38 static int smu7_set_smc_sram_address(struct pp_hwmgr *hwmgr, uint32_t smc_addr, uint32_t limit) in smu7_set_smc_sram_address() argument
41 …PP_ASSERT_WITH_CODE((limit > (smc_addr + 3)), "SMC addr is beyond the SMC RAM area.", return -EINV… in smu7_set_smc_sram_address()
63 smu7_read_smc_sram_dword(hwmgr, addr, &data, limit); in smu7_copy_bytes_from_smc()
73 smu7_read_smc_sram_dword(hwmgr, addr, &data, limit); in smu7_copy_bytes_from_smc()
86 const uint8_t *src, uint32_t byte_count, uint32_t limit) in smu7_copy_bytes_to_smc() argument
103 result = smu7_set_smc_sram_address(hwmgr, addr, limit); in smu7_copy_bytes_to_smc()
119 result = smu7_set_smc_sram_address(hwmgr, addr, limit); in smu7_copy_bytes_to_smc()
139 result = smu7_set_smc_sram_address(hwmgr, addr, limit); in smu7_copy_bytes_to_smc()
265 …mu7_read_smc_sram_dword(struct pp_hwmgr *hwmgr, uint32_t smc_addr, uint32_t *value, uint32_t limit) in smu7_read_smc_sram_dword() argument
269 result = smu7_set_smc_sram_address(hwmgr, smc_addr, limit); in smu7_read_smc_sram_dword()
[all …]
/linux/fs/freevxfs/
H A Dvxfs_lookup.c62 loff_t limit = VXFS_DIRROUND(ip->i_size); in vxfs_find_entry() local
67 while (pos < limit) { in vxfs_find_entry()
77 while (pg_ofs < PAGE_SIZE && pos < limit) { in vxfs_find_entry()
195 loff_t pos, limit; in vxfs_readdir() local
209 limit = VXFS_DIRROUND(ip->i_size); in vxfs_readdir()
210 if (ctx->pos > limit) in vxfs_readdir()
215 while (pos < limit) { in vxfs_readdir()
227 while (pg_ofs < PAGE_SIZE && pos < limit) { in vxfs_readdir()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_hwtstamp.c125 int limit; in config_addend() local
134 limit = 10; in config_addend()
135 while (limit--) { in config_addend()
140 if (limit < 0) in config_addend()
150 int limit; in adjust_systime() local
177 limit = 10; in adjust_systime()
178 while (limit--) { in adjust_systime()
183 if (limit < 0) in adjust_systime()
/linux/Documentation/hwmon/
H A Dadm9240.rst102 * User sets 0 to fan_min limit
108 * User sets fan_min limit too low
124 * User sets unreasonably high low fan speed limit
126 - resolution of the low speed limit may be reduced
187 0 +2.5 V_Error high or low limit exceeded
188 1 VCCP_Error high or low limit exceeded
189 2 +3.3 V_Error high or low limit exceeded
190 3 +5 V_Error high or low limit exceeded
192 6 FAN1_Error fan low limit exceeded
193 7 FAN2_Error fan low limit exceeded
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dga100.c25 ga100_acr_wpr_check(struct nvkm_acr *acr, u64 *start, u64 *limit) in ga100_acr_wpr_check() argument
30 *limit = (u64)(nvkm_rd32(device, 0x1fa820) & 0xffffff00) << 8; in ga100_acr_wpr_check()
31 *limit = *limit + 0x20000; in ga100_acr_wpr_check()
/linux/arch/x86/math-emu/
H A Dget_address.c141 unsigned long base_address, limit, address, seg_top; in pm_address() local
165 limit = seg_get_limit(&descriptor) + 1; in pm_address()
166 limit *= seg_get_granularity(&descriptor); in pm_address()
167 limit += base_address - 1; in pm_address()
168 if (limit < base_address) in pm_address()
169 limit = 0xffffffff; in pm_address()
180 (address <= limit) || (address >= seg_top) ? 0 : in pm_address()
184 (address > limit) || (address < base_address) ? 0 : in pm_address()
185 ((limit - address) >= 254 ? 255 : limit - address + 1); in pm_address()
/linux/mm/
H A Dcma.c231 phys_addr_t size, phys_addr_t limit, in cma_declare_contiguous_nid() argument
248 __func__, &size, &base, &limit, &alignment); in cma_declare_contiguous_nid()
274 limit &= ~(alignment - 1); in cma_declare_contiguous_nid()
299 if (limit == 0 || limit > memblock_end) in cma_declare_contiguous_nid()
300 limit = memblock_end; in cma_declare_contiguous_nid()
302 if (base + size > limit) { in cma_declare_contiguous_nid()
305 &size, &base, &limit); in cma_declare_contiguous_nid()
331 limit, nid, true); in cma_declare_contiguous_nid()
344 highmem_start, limit, nid, true); in cma_declare_contiguous_nid()
345 limit = highmem_start; in cma_declare_contiguous_nid()
[all …]
/linux/drivers/tty/serial/
H A Dsunhv.c77 int limit = 10000; in receive_chars_getchar() local
79 while (limit-- > 0) { in receive_chars_getchar()
120 int limit = 10000; in receive_chars_read() local
122 while (limit-- > 0) { in receive_chars_read()
274 int limit = 10000; in sunhv_send_xchar() local
281 while (limit-- > 0) { in sunhv_send_xchar()
301 int limit = 10000; in sunhv_break_ctl() local
461 while (limit--) { in sunhv_console_write_paged()
470 if (limit < 0) in sunhv_console_write_paged()
483 int limit = 1000000; in sunhv_console_putchar() local
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-overo-common-peripherals.dtsi74 st,min-limit-x = <120>;
75 st,min-limit-y = <120>;
76 st,min-limit-z = <140>;
77 st,max-limit-x = <550>;
78 st,max-limit-y = <550>;
79 st,max-limit-z = <750>;
/linux/Documentation/devicetree/bindings/power/supply/
H A Dsummit,smb347-charger.yaml55 summit,mains-current-limit-microamp:
58 summit,usb-current-limit-microamp:
69 description: Soft temperature limit compensation method
106 summit,mains-current-limit-microamp:
110 summit,usb-current-limit-microamp:
119 summit,mains-current-limit-microamp:
123 summit,usb-current-limit-microamp:
159 summit,mains-current-limit-microamp = <2000000>;
160 summit,usb-current-limit-microamp = <500000>;
H A Dqcom,pm8941-charger.yaml43 qcom,fast-charge-current-limit:
54 Battery voltage limit in uV above which fast charging may operate; Defaults to 3.2V
62 Battery voltage limit in uV below which fast charging may operate; Defaults to 4.2V
81 setting this will harmlessly fail. The property 'qcom,fast-charge-current-limit'
90 after end-of-charge; The high cutoff limit for auto-recharge is 5% above this value.
100 qcom,dc-current-limit:
105 Default DC charge current limit in uA. Defaults to 100mA.
120 usb-charge-current-limit:
125 Default USB charge current limit in uA.
172 qcom,fast-charge-current-limit = <1000000>;
[all …]
/linux/arch/arm/mach-rpc/include/mach/
H A Dacornfb.h15 u_long limit; in acornfb_valid_pixrate() local
25 limit = 6578; in acornfb_valid_pixrate()
27 limit = 13157; in acornfb_valid_pixrate()
29 limit = 26315; in acornfb_valid_pixrate()
32 return acornfb_bandwidth(var) >= limit; in acornfb_valid_pixrate()
/linux/net/devlink/
H A Ddev.c22 enum devlink_reload_limit limit; member
29 .limit = DEVLINK_RELOAD_LIMIT_NO_RESET,
35 enum devlink_reload_limit limit) in devlink_reload_combination_is_invalid() argument
41 devlink_reload_invalid_combinations[i].limit == limit) in devlink_reload_combination_is_invalid()
370 limit > DEVLINK_RELOAD_LIMIT_MAX)) in devlink_remote_reload_actions_performed()
444 enum devlink_reload_limit limit, in devlink_reload() argument
523 enum devlink_reload_limit limit; in devlink_nl_reload_doit() local
544 limit = DEVLINK_RELOAD_LIMIT_UNSPEC; in devlink_nl_reload_doit()
555 for (limit = 0 ; limit <= DEVLINK_RELOAD_LIMIT_MAX ; limit++) in devlink_nl_reload_doit()
556 if (limits_selected & BIT(limit)) in devlink_nl_reload_doit()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv44.c45 nvkm_wr32(device, NV20_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile()
54 nvkm_wr32(device, NV47_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile()
57 nvkm_wr32(device, NV40_PGRAPH_TLIMIT1(i), tile->limit); in nv44_gr_tile()
62 nvkm_wr32(device, NV20_PGRAPH_TLIMIT(i), tile->limit); in nv44_gr_tile()
65 nvkm_wr32(device, NV40_PGRAPH_TLIMIT1(i), tile->limit); in nv44_gr_tile()
/linux/Documentation/admin-guide/cgroup-v1/
H A Dpids.rst9 new tasks from being fork()'d or clone()'d after a certain limit is reached.
11 Since it is trivial to hit the task limit without hitting any kmemcg limits in
24 to have pids.current > pids.max. This can be done by either setting the limit to
30 To set a cgroup to have no limit, set pids.max to "max". This is the default for
32 limit in the hierarchy is followed).
39 - max: Number of times fork failed because limit was hit.
58 It should be noted that attempts to overcome the set limit (2 in this case) will
67 Even if we migrate to a child cgroup (which doesn't have a set limit), we will
68 not be able to overcome the most stringent limit in the hierarchy (in this case,
82 We can set a limit that is smaller than pids.current, which will stop any new
H A Dhugetlb.rst24 …hugetlb.<hugepagesize>.rsvd.limit_in_bytes # set/show limit of "hugepagesize" hugetlb r…
28 …hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb f…
75 The HugeTLB controller allows users to limit the HugeTLB usage (page fault) per
76 control group and enforces the limit during page fault. Since HugeTLB
77 doesn't support page reclaim, enforcing the limit at page fault time implies
79 pages beyond its limit. Therefore the application needs to know exactly how many
94 The HugeTLB controller allows to limit the HugeTLB reservations per control
95 group and enforces the controller limit at reservation time and at the fault of
99 MAP_NORESERVE allocations, the reservation limit behaves the same as the fault
100 limit, enforcing memory usage at fault time and causing the application to
[all …]
/linux/drivers/leds/
H A Dleds-cpcap.c20 u16 limit; member
28 .limit = 31,
34 .limit = 31,
40 .limit = 31,
47 .limit = 1,
56 .limit = 1,
204 led->led.max_brightness = led->info->limit; in cpcap_led_probe()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dnv50.c112 u64 start, limit, size; in nv50_bar_oneinit() local
133 limit = start + size; in nv50_bar_oneinit()
135 ret = nvkm_vmm_new(device, start, limit-- - start, NULL, 0, in nv50_bar_oneinit()
157 nvkm_wo32(bar->bar2, 0x04, lower_32_bits(limit)); in nv50_bar_oneinit()
159 nvkm_wo32(bar->bar2, 0x0c, upper_32_bits(limit) << 24 | in nv50_bar_oneinit()
173 limit = start + size; in nv50_bar_oneinit()
175 ret = nvkm_vmm_new(device, start, limit-- - start, NULL, 0, in nv50_bar_oneinit()
193 nvkm_wo32(bar->bar1, 0x04, lower_32_bits(limit)); in nv50_bar_oneinit()
195 nvkm_wo32(bar->bar1, 0x0c, upper_32_bits(limit) << 24 | in nv50_bar_oneinit()
/linux/net/netfilter/
H A Dnft_connlimit.c18 u32 limit; member
53 if ((count > priv->limit) ^ priv->invert) { in nft_connlimit_do_eval()
64 u32 flags, limit; in nft_connlimit_do_init() local
70 limit = ntohl(nla_get_be32(tb[NFTA_CONNLIMIT_COUNT])); in nft_connlimit_do_init()
85 priv->limit = limit; in nft_connlimit_do_init()
110 if (nla_put_be32(skb, NFTA_CONNLIMIT_COUNT, htonl(priv->limit))) in nft_connlimit_do_dump()
223 priv_dst->limit = priv_src->limit; in nft_connlimit_clone()
/linux/drivers/usb/mon/
H A Dmon_text.c101 int cnt, limit; member
413 ptr.limit = rp->printf_size; in mon_text_read_t()
452 ptr.limit = rp->printf_size; in mon_text_read_u()
523 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_t()
541 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_head_u()
552 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
560 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_statset()
571 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_intstat()
595 p->cnt += scnprintf(p->pbuf + p->cnt, p->limit - p->cnt, in mon_text_read_isodesc()
624 p->limit - p->cnt, in mon_text_read_data()
[all …]
/linux/arch/mips/ath25/
H A Dboard.c57 static const void __iomem * __init find_board_config(const void __iomem *limit, in find_board_config() argument
61 const void __iomem *begin = limit - 0x1000; in find_board_config()
62 const void __iomem *end = limit - 0x30000; in find_board_config()
71 static const void __iomem * __init find_radio_config(const void __iomem *limit, in find_radio_config() argument
82 end = limit; in find_radio_config()
89 end = limit - 0x1000 + 0xf8; in find_radio_config()
/linux/arch/s390/boot/
H A Duv.h6 unsigned long adjust_to_uv_max(unsigned long limit);
9 static inline unsigned long adjust_to_uv_max(unsigned long limit) in adjust_to_uv_max() argument
11 return limit; in adjust_to_uv_max()
/linux/drivers/clk/sophgo/
H A Dclk-cv18xx-pll.c47 static int ipll_find_rate(const struct cv1800_clk_pll_limit *limit, in ipll_find_rate() argument
58 for_each_pll_limit_range(pre, &limit->pre_div) { in ipll_find_rate()
59 for_each_pll_limit_range(div, &limit->div) { in ipll_find_rate()
60 for_each_pll_limit_range(post, &limit->post_div) { in ipll_find_rate()
101 const struct cv1800_clk_pll_limit *limit, in pll_get_mode_ctrl() argument
107 for_each_pll_limit_range(mode, &limit->mode) { in pll_get_mode_ctrl()
108 for_each_pll_limit_range(ictrl, &limit->ictrl) { in pll_get_mode_ctrl()
283 const struct cv1800_clk_pll_limit *limit, in fpll_find_rate() argument
297 for_each_pll_limit_range(pre, &limit->pre_div) { in fpll_find_rate()
298 for_each_pll_limit_range(post, &limit->post_div) { in fpll_find_rate()
[all …]

12345678910>>...57