/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.c | 92 struct abx500_pinctrl *pct = gpiochip_get_data(chip); in abx500_gpio_get_bit() local 98 ret = abx500_get_register_interruptible(pct->dev, in abx500_gpio_get_bit() 101 dev_err(pct->dev, in abx500_gpio_get_bit() 115 struct abx500_pinctrl *pct = gpiochip_get_data(chip); in abx500_gpio_set_bits() local 120 ret = abx500_mask_and_set_register_interruptible(pct->dev, in abx500_gpio_set_bits() 123 dev_err(pct->dev, "%s write reg, %x offset %x failed (%d)\n", in abx500_gpio_set_bits() 136 struct abx500_pinctrl *pct = gpiochip_get_data(chip); in abx500_gpio_get() local 155 dev_err(pct->dev, "%s failed (%d)\n", __func__, ret); in abx500_gpio_get() 164 struct abx500_pinctrl *pct = gpiochip_get_data(chip); in abx500_gpio_set() local 169 dev_err(pct->dev, "%s write failed (%d)\n", __func__, ret); in abx500_gpio_set() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
D | sch_red.sh | 230 local pct=$((100 * nmarked_d / npackets_d)) 232 echo $pct 233 ((pct $cond)) 248 local pct=$((100 * nmirrored_d / npackets_d)) 250 echo $pct 251 ((pct $cond)) 259 local pct 268 pct=$(check_marking "== 0") 269 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 278 pct=$(check_marking ">= 95") [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | posix-timers.h | 139 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument 141 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init() 142 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init() 143 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init() 144 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init() 147 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit); 149 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument 152 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog() 174 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument 175 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
|
/kernel/linux/linux-5.10/kernel/time/ |
D | posix-cpu-timers.c | 23 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument 25 posix_cputimers_init(pct); in posix_cputimers_group_init() 27 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init() 28 pct->timers_active = true; in posix_cputimers_group_init() 145 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive() argument 147 return !(~pct->bases[CPUCLOCK_PROF].nextevt | in expiry_cache_is_inactive() 148 ~pct->bases[CPUCLOCK_VIRT].nextevt | in expiry_cache_is_inactive() 149 ~pct->bases[CPUCLOCK_SCHED].nextevt); in expiry_cache_is_inactive() 270 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime() local 272 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_core.sh | 398 local pct=$((100 * nmarked_d / npackets_d)) 400 echo $pct 401 ((pct $cond)) 410 local pct 419 pct=$(check_marking $vlan "== 0") 420 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0." 429 pct=$(check_marking $vlan ">= 95") 430 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95." 487 local pct 498 pct=$(check_marking $vlan "== 0") [all …]
|
D | devlink_trap_policer.sh | 205 local rate pct drop_rate 222 pct=$((100 * (rate - 1000) / 1000)) 223 ((-10 <= pct && pct <= 10)) 224 …check_err $? "Expected rate 1000 pps, got $rate pps, which is $pct% off. Required accuracy is +-10…
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
D | testptp.c | 157 struct ptp_clock_time *pct; in main() local 487 pct = &sysoff->ts[0]; in main() 489 t1 = pctns(pct+2*i); in main() 490 tp = pctns(pct+2*i+1); in main() 491 t2 = pctns(pct+2*i+2); in main() 496 (pct+2*i)->sec, (pct+2*i)->nsec); in main() 498 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main() 500 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | stream.c | 230 double pct; in print_callchain_pair() local 234 pct = (double)base_cnode->hit / (double)es_base->streams_hits; in print_callchain_pair() 236 callchain_avg_cycles(base_cnode), pct * 100.0); in print_callchain_pair() 238 pct = (double)pair_cnode->hit / (double)es_pair->streams_hits; in print_callchain_pair() 240 callchain_avg_cycles(pair_cnode), pct * 100.0); in print_callchain_pair() 273 double pct; in print_stream_callchain() local 277 pct = (double)cnode->hit / (double)es->streams_hits; in print_stream_callchain() 279 callchain_avg_cycles(cnode), pct * 100.0); in print_stream_callchain()
|
/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_chardev.c | 120 struct ptp_clock_time *pct; in ptp_ioctl() local 336 pct = &sysoff->ts[0]; in ptp_ioctl() 339 pct->sec = ts.tv_sec; in ptp_ioctl() 340 pct->nsec = ts.tv_nsec; in ptp_ioctl() 341 pct++; in ptp_ioctl() 348 pct->sec = ts.tv_sec; in ptp_ioctl() 349 pct->nsec = ts.tv_nsec; in ptp_ioctl() 350 pct++; in ptp_ioctl() 353 pct->sec = ts.tv_sec; in ptp_ioctl() 354 pct->nsec = ts.tv_nsec; in ptp_ioctl()
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | xen-acpi-processor.c | 187 static int xen_copy_pct_data(struct acpi_pct_register *pct, in xen_copy_pct_data() argument 194 dst_pct->descriptor = pct->descriptor; in xen_copy_pct_data() 195 dst_pct->length = pct->length; in xen_copy_pct_data() 196 dst_pct->space_id = pct->space_id; in xen_copy_pct_data() 197 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data() 198 dst_pct->bit_offset = pct->bit_offset; in xen_copy_pct_data() 199 dst_pct->reserved = pct->reserved; in xen_copy_pct_data() 200 dst_pct->address = pct->address; in xen_copy_pct_data()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arc/ |
D | archs-pct.txt | 11 "snps,archs-pct" 16 compatible = "snps,archs-pct";
|
D | pct.txt | 14 "snps,arc700-pct" 19 compatible = "snps,arc700-pct";
|
/kernel/linux/linux-5.10/arch/arc/boot/dts/ |
D | nsim_700.dts | 55 arcpct0: pct { 56 compatible = "snps,arc700-pct";
|
D | haps_hs_idu.dts | 68 arcpct0: pct { 69 compatible = "snps,archs-pct";
|
D | nsimosci.dts | 84 arcpct0: pct { 85 compatible = "snps,arc700-pct";
|
D | nsimosci_hs.dts | 84 arcpct0: pct { 85 compatible = "snps,archs-pct";
|
D | nsimosci_hs_idu.dts | 92 arcpct0: pct { 93 compatible = "snps,archs-pct";
|
D | haps_hs.dts | 63 arcpct0: pct { 64 compatible = "snps,archs-pct";
|
D | axc001.dtsi | 77 arcpct0: pct { 78 compatible = "snps,arc700-pct";
|
D | axc003_idu.dtsi | 92 arcpct0: pct { 93 compatible = "snps,archs-pct";
|
D | axc003.dtsi | 85 arcpct0: pct { 86 compatible = "snps,archs-pct";
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | processor_perflib.c | 197 union acpi_object *pct = NULL; in acpi_processor_get_performance_control() local 207 pct = (union acpi_object *)buffer.pointer; in acpi_processor_get_performance_control() 208 if (!pct || (pct->type != ACPI_TYPE_PACKAGE) in acpi_processor_get_performance_control() 209 || (pct->package.count != 2)) { in acpi_processor_get_performance_control() 219 obj = pct->package.elements[0]; in acpi_processor_get_performance_control() 235 obj = pct->package.elements[1]; in acpi_processor_get_performance_control()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | epoll-ctl.c | 204 static void init_fdmaps(struct worker *w, int pct) in init_fdmaps() argument 210 if (!pct) in init_fdmaps() 213 inc = 100/pct; in init_fdmaps()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | da7218.txt | 60 - dlg,jack-threshold-pct : Threshold level for jack detection (% of VDD) 99 dlg,jack-threshold-pct = <84>;
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | psi.c | 288 unsigned long pct; in calc_avgs() local 298 pct = div_u64(time * 100, period); in calc_avgs() 299 pct *= FIXED_1; in calc_avgs() 300 avg[0] = calc_load(avg[0], EXP_10s, pct); in calc_avgs() 301 avg[1] = calc_load(avg[1], EXP_60s, pct); in calc_avgs() 302 avg[2] = calc_load(avg[2], EXP_300s, pct); in calc_avgs()
|