/linux-6.6.21/arch/arm64/lib/ |
D | memcmp.S | 22 #define limit x2 macro 36 subs limit, limit, 8 44 subs limit, limit, 8 47 ldr data1, [src1, limit] 48 ldr data2, [src2, limit] 59 subs limit, limit, 16 64 cmp limit, 96 69 add limit, limit, tmp1 80 subs limit, limit, 16 94 add src1, src1, limit [all …]
|
D | strncmp.S | 26 #define limit x2 macro 62 cbz limit, L(ret0) 78 subs limit, limit, #8 91 add limit, limit, 8 /* Rewind limit to before last subs. */ 100 cmp limit, pos, lsr #3 110 tbz limit, #63, L(not_limit) 111 add tmp1, limit, 8 112 cbz limit, L(not_limit) 114 lsl limit, tmp1, #3 /* Bits -> bytes. */ 116 lsr mask, mask, limit [all …]
|
/linux-6.6.21/arch/x86/mm/ |
D | amdtopology.c | 83 u64 base, limit; in amd_numa_init() local 86 limit = read_pci_config(0, nb, 1, 0x44 + i*8); in amd_numa_init() 88 nodeids[i] = nodeid = limit & 7; in amd_numa_init() 96 base, limit); in amd_numa_init() 100 if (!limit) { in amd_numa_init() 105 if ((base >> 8) & 3 || (limit >> 8) & 3) { in amd_numa_init() 107 nodeid, (base >> 8) & 3, (limit >> 8) & 3); in amd_numa_init() 116 limit >>= 16; in amd_numa_init() 117 limit++; in amd_numa_init() 118 limit <<= 24; in amd_numa_init() [all …]
|
/linux-6.6.21/lib/ |
D | dynamic_queue_limits.c | 20 unsigned int inprogress, prev_inprogress, limit; in dql_completed() local 30 limit = dql->limit; in dql_completed() 31 ovlimit = POSDIFF(num_queued - dql->num_completed, limit); in dql_completed() 53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed() 82 slack = POSDIFF(limit + dql->prev_ovlimit, in dql_completed() 94 limit = POSDIFF(limit, dql->lowest_slack); in dql_completed() 101 limit = clamp(limit, dql->min_limit, dql->max_limit); in dql_completed() 103 if (limit != dql->limit) { in dql_completed() 104 dql->limit = limit; in dql_completed() 108 dql->adj_limit = limit + completed; in dql_completed() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nft_limit.c | 24 struct nft_limit *limit; member 37 spin_lock_bh(&priv->limit->lock); in nft_limit_eval() 39 tokens = priv->limit->tokens + now - priv->limit->last; in nft_limit_eval() 43 priv->limit->last = now; in nft_limit_eval() 46 priv->limit->tokens = delta; in nft_limit_eval() 47 spin_unlock_bh(&priv->limit->lock); in nft_limit_eval() 50 priv->limit->tokens = tokens; in nft_limit_eval() 51 spin_unlock_bh(&priv->limit->lock); in nft_limit_eval() 113 priv->limit = kmalloc(sizeof(*priv->limit), GFP_KERNEL_ACCOUNT); in nft_limit_init() 114 if (!priv->limit) in nft_limit_init() [all …]
|
D | nf_conntrack_sip.c | 67 const char *limit, int *shift) in string_len() argument 71 while (dptr < limit && isalpha(*dptr)) { in string_len() 79 const char *limit, int *shift) in digits_len() argument 82 while (dptr < limit && isdigit(*dptr)) { in digits_len() 100 static int word_len(const char *dptr, const char *limit) in word_len() argument 103 while (dptr < limit && iswordc(*dptr)) { in word_len() 111 const char *limit, int *shift) in callid_len() argument 115 len = word_len(dptr, limit); in callid_len() 117 if (!len || dptr == limit || *dptr != '@') in callid_len() 122 domain_len = word_len(dptr, limit); in callid_len() [all …]
|
/linux-6.6.21/drivers/clk/bcm/ |
D | clk-kona-setup.c | 21 u32 limit; in ccu_data_offsets_valid() local 23 limit = ccu->range - sizeof(u32); in ccu_data_offsets_valid() 24 limit = round_down(limit, sizeof(u32)); in ccu_data_offsets_valid() 26 if (ccu_policy->enable.offset > limit) { in ccu_data_offsets_valid() 29 ccu->name, ccu_policy->enable.offset, limit); in ccu_data_offsets_valid() 32 if (ccu_policy->control.offset > limit) { in ccu_data_offsets_valid() 35 ccu->name, ccu_policy->control.offset, limit); in ccu_data_offsets_valid() 80 u32 limit; in peri_clk_data_offsets_valid() local 87 limit = range - sizeof(u32); in peri_clk_data_offsets_valid() 88 limit = round_down(limit, sizeof(u32)); in peri_clk_data_offsets_valid() [all …]
|
/linux-6.6.21/Documentation/hwmon/ |
D | ina209.rst | 44 in0_max shunt voltage max alarm limit (mV) 45 in0_min shunt voltage min alarm limit (mV) 46 in0_crit_max shunt voltage crit max alarm limit (mV) 47 in0_crit_min shunt voltage crit min alarm limit (mV) 48 in0_max_alarm shunt voltage max alarm limit exceeded 49 in0_min_alarm shunt voltage min alarm limit exceeded 50 in0_crit_max_alarm shunt voltage crit max alarm limit exceeded 51 in0_crit_min_alarm shunt voltage crit min alarm limit exceeded 57 in1_max bus voltage max alarm limit (mV) 58 in1_min bus voltage min alarm limit (mV) [all …]
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | paca.c | 27 unsigned long limit, int cpu) in alloc_paca_data() argument 45 limit, nid); in alloc_paca_data() 59 static void *__init alloc_shared_lppaca(unsigned long size, unsigned long limit, in alloc_shared_lppaca() argument 80 limit, NUMA_NO_NODE); in alloc_shared_lppaca() 121 static struct lppaca * __init new_lppaca(int cpu, unsigned long limit) in new_lppaca() argument 131 lp = alloc_shared_lppaca(LPPACA_SIZE, limit, cpu); in new_lppaca() 133 lp = alloc_paca_data(LPPACA_SIZE, 0x400, limit, cpu); in new_lppaca() 149 static struct slb_shadow * __init new_slb_shadow(int cpu, unsigned long limit) in new_slb_shadow() argument 163 s = alloc_paca_data(sizeof(*s), L1_CACHE_BYTES, limit, cpu); in new_slb_shadow() 258 u64 limit; in allocate_paca() local [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dpll.c | 372 const struct intel_limit *limit, in intel_pll_is_valid() argument 375 if (clock->n < limit->n.min || limit->n.max < clock->n) in intel_pll_is_valid() 377 if (clock->p1 < limit->p1.min || limit->p1.max < clock->p1) in intel_pll_is_valid() 379 if (clock->m2 < limit->m2.min || limit->m2.max < clock->m2) in intel_pll_is_valid() 381 if (clock->m1 < limit->m1.min || limit->m1.max < clock->m1) in intel_pll_is_valid() 389 if (clock->p < limit->p.min || limit->p.max < clock->p) in intel_pll_is_valid() 391 if (clock->m < limit->m.min || limit->m.max < clock->m) in intel_pll_is_valid() 395 if (clock->vco < limit->vco.min || limit->vco.max < clock->vco) in intel_pll_is_valid() 400 if (clock->dot < limit->dot.min || limit->dot.max < clock->dot) in intel_pll_is_valid() 407 i9xx_select_p2_div(const struct intel_limit *limit, in i9xx_select_p2_div() argument [all …]
|
/linux-6.6.21/net/sched/ |
D | sch_fifo.c | 22 if (likely(sch->qstats.backlog + qdisc_pkt_len(skb) <= sch->limit)) in bfifo_enqueue() 31 if (likely(sch->q.qlen < sch->limit)) in pfifo_enqueue() 42 if (likely(sch->q.qlen < sch->limit)) in pfifo_tail_enqueue() 103 u32 limit = qdisc_dev(sch)->tx_queue_len; in __fifo_init() local 106 limit *= psched_mtu(qdisc_dev(sch)); in __fifo_init() 108 sch->limit = limit; in __fifo_init() 115 sch->limit = ctl->limit; in __fifo_init() 119 bypass = sch->limit >= psched_mtu(qdisc_dev(sch)); in __fifo_init() 121 bypass = sch->limit >= 1; in __fifo_init() 157 struct tc_fifo_qopt opt = { .limit = sch->limit }; in __fifo_dump() [all …]
|
/linux-6.6.21/fs/romfs/ |
D | storage.c | 131 unsigned long pos, size_t limit) in romfs_blk_strnlen() argument 140 while (limit > 0) { in romfs_blk_strnlen() 142 segment = min_t(size_t, limit, ROMBSIZE - offset); in romfs_blk_strnlen() 151 limit -= segment; in romfs_blk_strnlen() 217 size_t limit; in romfs_dev_read() local 219 limit = romfs_maxsize(sb); in romfs_dev_read() 220 if (pos >= limit || buflen > limit - pos) in romfs_dev_read() 240 size_t limit; in romfs_dev_strnlen() local 242 limit = romfs_maxsize(sb); in romfs_dev_strnlen() 243 if (pos >= limit) in romfs_dev_strnlen() [all …]
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | kv_smc.c | 75 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument 79 if ((smc_address + 3) > limit) in kv_set_smc_sram_address() 89 u32 *value, u32 limit) in kv_read_smc_sram_dword() argument 93 ret = kv_set_smc_sram_address(rdev, smc_address, limit); in kv_read_smc_sram_dword() 119 const u8 *src, u32 byte_count, u32 limit) in kv_copy_bytes_to_smc() argument 124 if ((smc_start_address + byte_count) > limit) in kv_copy_bytes_to_smc() 134 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 160 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 173 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() 188 ret = kv_set_smc_sram_address(rdev, addr, limit); in kv_copy_bytes_to_smc() [all …]
|
D | rv770_smc.c | 266 u16 smc_address, u16 limit) in rv770_set_smc_sram_address() argument 272 if ((smc_address + 3) > limit) in rv770_set_smc_sram_address() 285 u16 byte_count, u16 limit) in rv770_copy_bytes_to_smc() argument 294 if ((smc_start_address + byte_count) > limit) in rv770_copy_bytes_to_smc() 304 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc() 319 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc() 337 ret = rv770_set_smc_sram_address(rdev, addr, limit); in rv770_copy_bytes_to_smc() 455 static void rv770_clear_smc_sram(struct radeon_device *rdev, u16 limit) in rv770_clear_smc_sram() argument 461 for (i = 0; i < limit; i += 4) { in rv770_clear_smc_sram() 462 rv770_set_smc_sram_address(rdev, i, limit); in rv770_clear_smc_sram() [all …]
|
D | ci_smc.c | 34 u32 smc_address, u32 limit) in ci_set_smc_sram_address() argument 38 if ((smc_address + 3) > limit) in ci_set_smc_sram_address() 49 const u8 *src, u32 byte_count, u32 limit) in ci_copy_bytes_to_smc() argument 59 if ((smc_start_address + byte_count) > limit) in ci_copy_bytes_to_smc() 69 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc() 84 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc() 101 ret = ci_set_smc_sram_address(rdev, addr, limit); in ci_copy_bytes_to_smc() 186 int ci_load_smc_ucode(struct radeon_device *rdev, u32 limit) in ci_load_smc_ucode() argument 247 u32 smc_address, u32 *value, u32 limit) in ci_read_smc_sram_dword() argument 253 ret = ci_set_smc_sram_address(rdev, smc_address, limit); in ci_read_smc_sram_dword() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | kv_smc.c | 78 u32 smc_address, u32 limit) in kv_set_smc_sram_address() argument 82 if ((smc_address + 3) > limit) in kv_set_smc_sram_address() 93 u32 *value, u32 limit) in amdgpu_kv_read_smc_sram_dword() argument 97 ret = kv_set_smc_sram_address(adev, smc_address, limit); in amdgpu_kv_read_smc_sram_dword() 123 const u8 *src, u32 byte_count, u32 limit) in amdgpu_kv_copy_bytes_to_smc() argument 128 if ((smc_start_address + byte_count) > limit) in amdgpu_kv_copy_bytes_to_smc() 138 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 164 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 177 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() 192 ret = kv_set_smc_sram_address(adev, addr, limit); in amdgpu_kv_copy_bytes_to_smc() [all …]
|
D | si_smc.c | 34 u32 smc_address, u32 limit) in si_set_smc_sram_address() argument 38 if ((smc_address + 3) > limit) in si_set_smc_sram_address() 49 const u8 *src, u32 byte_count, u32 limit) in amdgpu_si_copy_bytes_to_smc() argument 57 if ((smc_start_address + byte_count) > limit) in amdgpu_si_copy_bytes_to_smc() 67 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc() 82 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc() 98 ret = si_set_smc_sram_address(adev, addr, limit); in amdgpu_si_copy_bytes_to_smc() 203 int amdgpu_si_load_smc_ucode(struct amdgpu_device *adev, u32 limit) in amdgpu_si_load_smc_ucode() argument 246 u32 *value, u32 limit) in amdgpu_si_read_smc_sram_dword() argument 252 ret = si_set_smc_sram_address(adev, smc_address, limit); in amdgpu_si_read_smc_sram_dword() [all …]
|
/linux-6.6.21/kernel/cgroup/ |
D | pids.c | 49 atomic64_t limit; member 79 atomic64_set(&pids->limit, PIDS_MAX); in pids_css_alloc() 164 int64_t limit = atomic64_read(&p->limit); in pids_try_charge() local 171 if (new > limit) in pids_try_charge() 287 int64_t limit; in pids_max_write() local 292 limit = PIDS_MAX; in pids_max_write() 296 err = kstrtoll(buf, 0, &limit); in pids_max_write() 300 if (limit < 0 || limit >= PIDS_MAX) in pids_max_write() 308 atomic64_set(&pids->limit, limit); in pids_max_write() 316 int64_t limit = atomic64_read(&pids->limit); in pids_max_show() local [all …]
|
/linux-6.6.21/fs/xfs/ |
D | xfs_qm_bhv.c | 24 uint64_t limit; in xfs_fill_statvfs_from_dquot() local 26 limit = dqp->q_blk.softlimit ? in xfs_fill_statvfs_from_dquot() 29 if (limit && statp->f_blocks > limit) { in xfs_fill_statvfs_from_dquot() 30 statp->f_blocks = limit; in xfs_fill_statvfs_from_dquot() 36 limit = dqp->q_ino.softlimit ? in xfs_fill_statvfs_from_dquot() 39 if (limit && statp->f_files > limit) { in xfs_fill_statvfs_from_dquot() 40 statp->f_files = limit; in xfs_fill_statvfs_from_dquot()
|
/linux-6.6.21/Documentation/devicetree/bindings/power/supply/ |
D | gpio-charger.yaml | 42 charge-current-limit-gpios: 47 charge-current-limit-mapping: 50 current limit. 55 Current limit in uA 58 charge-current-limit-gpios property. Bit 1 second to last 70 - charge-current-limit-gpios 73 charge-current-limit-gpios: [ charge-current-limit-mapping ] 74 charge-current-limit-mapping: [ charge-current-limit-gpios ] 89 charge-current-limit-gpios = <&gpioA 11 GPIO_ACTIVE_HIGH>, 91 charge-current-limit-mapping = <2500000 0x00>, // 2.5 A => both GPIOs low
|
/linux-6.6.21/Documentation/devicetree/bindings/regulator/ |
D | regulator.yaml | 34 regulator-input-current-limit-microamp: 122 description: Set over current protection limit. This is a limit where 125 limit setting can be omitted. 128 description: Set over current error limit. This is a limit where part of 131 that detection should be enabled but limit setting can be omitted. 134 description: Set over current warning limit. This is a limit where hardware 135 is assumed still to be functional but approaching limit where it gets 138 be enabled but limit setting can be omitted. 141 description: Set over voltage protection limit. This is a limit where 144 limit setting can be omitted. Limit is given as microvolt offset from [all …]
|
/linux-6.6.21/net/wireless/ |
D | of.c | 30 struct ieee80211_freq_range *limit = &freq_limits[i]; in wiphy_freq_limits_valid_chan() local 32 if (cfg80211_does_bw_fit_range(limit, in wiphy_freq_limits_valid_chan() 109 struct ieee80211_freq_range *limit = &freq_limits[i]; in wiphy_read_of_freq_limits() local 111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits() 117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits() 123 if (!limit->start_freq_khz || in wiphy_read_of_freq_limits() 124 !limit->end_freq_khz || in wiphy_read_of_freq_limits() 125 limit->start_freq_khz >= limit->end_freq_khz) { in wiphy_read_of_freq_limits()
|
/linux-6.6.21/drivers/gpu/drm/gma500/ |
D | oaktrail_crtc.c | 39 static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit, 43 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, 86 const struct gma_limit_t *limit = NULL; in mrst_limit() local 94 limit = &mrst_limits[MRST_LIMIT_LVDS_100L]; in mrst_limit() 97 limit = &mrst_limits[MRST_LIMIT_LVDS_83]; in mrst_limit() 100 limit = &mrst_limits[MRST_LIMIT_LVDS_100]; in mrst_limit() 104 limit = &mrst_limits[MRST_LIMIT_SDVO]; in mrst_limit() 106 limit = NULL; in mrst_limit() 110 return limit; in mrst_limit() 126 static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, in mrst_sdvo_find_best_pll() argument [all …]
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-driver-intel-i915-hwmon | 13 Description: RW. Card reactive sustained (PL1/Tau) power limit in microwatts. 17 exceeds this limit. A read value of 0 means that the PL1 18 power limit is disabled, writing 0 disables the 19 limit. Writing values > 0 will enable the power limit. 27 Description: RO. Card default power limit (default TDP setting). 35 Description: RW. Sustained power limit interval (Tau in PL1/Tau) in 44 Description: RW. Card reactive critical (I1) power limit in microwatts. 46 Card reactive critical (I1) power limit in microwatts is exposed 49 this limit. 57 Description: RW. Card reactive critical (I1) power limit in milliamperes. [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_eeprom.c | 185 u16 limit; in amdgpu_eeprom_xfer() local 190 limit = 0; in amdgpu_eeprom_xfer() 192 limit = quirks->max_read_len; in amdgpu_eeprom_xfer() 194 limit = quirks->max_write_len; in amdgpu_eeprom_xfer() 196 if (limit == 0) { in amdgpu_eeprom_xfer() 199 } else if (limit <= EEPROM_OFFSET_SIZE) { in amdgpu_eeprom_xfer() 211 limit -= EEPROM_OFFSET_SIZE; in amdgpu_eeprom_xfer() 214 ps = min(limit, buf_size); in amdgpu_eeprom_xfer()
|