Home
last modified time | relevance | path

Searched refs:pct (Results 1 – 25 of 46) sorted by relevance

12

/linux-5.19.10/drivers/pinctrl/nomadik/
Dpinctrl-abx500.c92 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 …]
/linux-5.19.10/tools/testing/selftests/net/forwarding/
Dsch_red.sh229 local pct=$((100 * nmarked_d / npackets_d))
231 echo $pct
232 ((pct $cond))
247 local pct=$((100 * nmirrored_d / npackets_d))
249 echo $pct
250 ((pct $cond))
258 local pct
267 pct=$(check_marking "== 0")
268 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
277 pct=$(check_marking ">= 95")
[all …]
Dcustom_multipath_hash.sh269 local pct=$(echo "$diff / $sum * 100" | bc -l)
270 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
/linux-5.19.10/include/linux/
Dposix-timers.h145 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument
147 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init()
148 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init()
149 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init()
150 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init()
153 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
155 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument
158 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
180 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument
181 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
/linux-5.19.10/kernel/time/
Dposix-cpu-timers.c24 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit) in posix_cputimers_group_init() argument
26 posix_cputimers_init(pct); in posix_cputimers_group_init()
28 pct->bases[CPUCLOCK_PROF].nextevt = cpu_limit * NSEC_PER_SEC; in posix_cputimers_group_init()
29 pct->timers_active = true; in posix_cputimers_group_init()
152 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive() argument
154 return !(~pct->bases[CPUCLOCK_PROF].nextevt | in expiry_cache_is_inactive()
155 ~pct->bases[CPUCLOCK_VIRT].nextevt | in expiry_cache_is_inactive()
156 ~pct->bases[CPUCLOCK_SCHED].nextevt); in expiry_cache_is_inactive()
277 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime() local
279 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime()
[all …]
/linux-5.19.10/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh408 local pct=$((100 * nmarked_d / npackets_d))
410 echo $pct
411 ((pct $cond))
421 local pct
430 pct=$(check_marking "$get_nmarked" $vlan "== 0")
431 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected == 0."
440 pct=$(check_marking "$get_nmarked" $vlan ">= 95")
441 check_err $? "backlog $backlog / $limit Got $pct% marked packets, expected >= 95."
516 local pct
527 pct=$(check_marking get_nmarked $vlan "== 0")
[all …]
Dtc_sample.sh228 local pkts pct
244 pct=$((100 * (pkts - 10000) / 10000))
245 (( -25 <= pct && pct <= 25))
246 …check_err $? "Expected 10000 packets, got $pkts packets, which is $pct% off. Required accuracy is …
476 local backlog pct occ
510 pct=$((100 * (occ - backlog) / backlog))
511 (( -1 <= pct && pct <= 1))
512 …gestion of $backlog bytes, but sampled congestion is $occ bytes, which is $pct% off. Required accu…
578 local pkts pct
597 pct=$((100 * (pkts - 10000) / 10000))
[all …]
Ddevlink_trap_policer.sh205 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…
/linux-5.19.10/drivers/powercap/
Ddtpm.c37 static struct powercap_control_type *pct; variable
338 powercap_unregister_zone(pct, &dtpm->zone); in dtpm_unregister()
369 if (!pct) in dtpm_register()
390 pcz = powercap_register_zone(&dtpm->zone, pct, name, in dtpm_register()
558 if (pct) { in dtpm_create_hierarchy()
563 pct = powercap_register_control_type(NULL, "dtpm", NULL); in dtpm_create_hierarchy()
564 if (IS_ERR(pct)) { in dtpm_create_hierarchy()
566 ret = PTR_ERR(pct); in dtpm_create_hierarchy()
608 powercap_unregister_control_type(pct); in dtpm_create_hierarchy()
610 pct = NULL; in dtpm_create_hierarchy()
[all …]
/linux-5.19.10/tools/testing/selftests/ptp/
Dtestptp.c158 struct ptp_clock_time *pct; in main() local
497 pct = &sysoff->ts[0]; in main()
499 t1 = pctns(pct+2*i); in main()
500 tp = pctns(pct+2*i+1); in main()
501 t2 = pctns(pct+2*i+2); in main()
506 (pct+2*i)->sec, (pct+2*i)->nsec); in main()
508 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main()
510 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
/linux-5.19.10/tools/perf/util/
Dstream.c230 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()
/linux-5.19.10/drivers/ptp/
Dptp_chardev.c120 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()
/linux-5.19.10/arch/powerpc/include/asm/
Dnmi.h8 void watchdog_nmi_set_timeout_pct(u64 pct);
11 static inline void watchdog_nmi_set_timeout_pct(u64 pct) {} in watchdog_nmi_set_timeout_pct() argument
/linux-5.19.10/tools/perf/tests/shell/
Dstat+csv_summary.sh13 while read summary num event run pct
26 while read num event run pct
/linux-5.19.10/drivers/xen/
Dxen-acpi-processor.c188 static int xen_copy_pct_data(struct acpi_pct_register *pct, in xen_copy_pct_data() argument
195 dst_pct->descriptor = pct->descriptor; in xen_copy_pct_data()
196 dst_pct->length = pct->length; in xen_copy_pct_data()
197 dst_pct->space_id = pct->space_id; in xen_copy_pct_data()
198 dst_pct->bit_width = pct->bit_width; in xen_copy_pct_data()
199 dst_pct->bit_offset = pct->bit_offset; in xen_copy_pct_data()
200 dst_pct->reserved = pct->reserved; in xen_copy_pct_data()
201 dst_pct->address = pct->address; in xen_copy_pct_data()
/linux-5.19.10/Documentation/devicetree/bindings/arc/
Darchs-pct.txt11 "snps,archs-pct"
16 compatible = "snps,archs-pct";
Dpct.txt14 "snps,arc700-pct"
19 compatible = "snps,arc700-pct";
/linux-5.19.10/arch/arc/boot/dts/
Dnsim_700.dts55 arcpct0: pct {
56 compatible = "snps,arc700-pct";
Dhaps_hs_idu.dts68 arcpct0: pct {
69 compatible = "snps,archs-pct";
Dnsimosci.dts84 arcpct0: pct {
85 compatible = "snps,arc700-pct";
Dnsimosci_hs.dts84 arcpct0: pct {
85 compatible = "snps,archs-pct";
Dhaps_hs.dts63 arcpct0: pct {
64 compatible = "snps,archs-pct";
Dnsimosci_hs_idu.dts92 arcpct0: pct {
93 compatible = "snps,archs-pct";
/linux-5.19.10/drivers/acpi/
Dprocessor_perflib.c194 union acpi_object *pct = NULL; in acpi_processor_get_performance_control() local
203 pct = (union acpi_object *)buffer.pointer; in acpi_processor_get_performance_control()
204 if (!pct || (pct->type != ACPI_TYPE_PACKAGE) in acpi_processor_get_performance_control()
205 || (pct->package.count != 2)) { in acpi_processor_get_performance_control()
215 obj = pct->package.elements[0]; in acpi_processor_get_performance_control()
231 obj = pct->package.elements[1]; in acpi_processor_get_performance_control()
/linux-5.19.10/arch/powerpc/kernel/
Dwatchdog.c585 void watchdog_nmi_set_timeout_pct(u64 pct) in watchdog_nmi_set_timeout_pct() argument
587 pr_info("Set the NMI watchdog timeout factor to %llu%%\n", pct); in watchdog_nmi_set_timeout_pct()
588 WRITE_ONCE(wd_timeout_pct, pct); in watchdog_nmi_set_timeout_pct()

12