Home
last modified time | relevance | path

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

12

/linux/drivers/pinctrl/nomadik/
A Dpinctrl-abx500.c101 dev_err(pct->dev, in abx500_gpio_get_bit()
391 dev_err(pct->dev, in abx500_get_mode()
624 ret = abx500_set_mode(pct->pctldev, &pct->chip, in abx500_gpio_request_enable()
997 pct = devm_kzalloc(&pdev->dev, sizeof(*pct), GFP_KERNEL); in abx500_gpio_probe()
998 if (!pct) in abx500_gpio_probe()
1027 if (!pct->soc) { in abx500_gpio_probe()
1032 pct->chip.ngpio = abx500_get_gpio_num(pct->soc); in abx500_gpio_probe()
1033 pct->irq_cluster = pct->soc->gpio_irq_cluster; in abx500_gpio_probe()
1034 pct->irq_cluster_size = pct->soc->ngpio_irq_cluster; in abx500_gpio_probe()
1036 ret = gpiochip_add_data(&pct->chip, pct); in abx500_gpio_probe()
[all …]
/linux/tools/testing/selftests/net/forwarding/
A Dsch_red.sh231 echo $pct
232 ((pct $cond))
249 echo $pct
250 ((pct $cond))
258 local pct
267 pct=$(check_marking "== 0")
277 pct=$(check_marking ">= 95")
332 local pct
343 pct=$(check_marking "== 0")
351 pct=$(check_marking "== 0")
[all …]
A Dcustom_multipath_hash.sh261 local pct=$(echo "$diff / $sum * 100" | bc -l)
262 local is_balanced=$(echo "-20 <= $pct && $pct <= 20" | bc)
/linux/kernel/time/
A Dposix-cpu-timers.c25 posix_cputimers_init(pct); in posix_cputimers_group_init()
28 pct->timers_active = true; in posix_cputimers_group_init()
272 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime()
899 if (expiry_cache_is_inactive(pct)) in check_thread_timers()
926 if (expiry_cache_is_inactive(pct)) in check_thread_timers()
979 if (!READ_ONCE(pct->timers_active) || pct->expiry_active) in check_process_timers()
986 pct->expiry_active = true; in check_process_timers()
1029 if (expiry_cache_is_inactive(pct)) in check_process_timers()
1032 pct->expiry_active = false; in check_process_timers()
1121 pct = &sig->posix_cputimers; in fastpath_timer_check()
[all …]
/linux/include/linux/
A Dposix-timers.h146 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument
148 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init()
149 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init()
150 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init()
151 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init()
154 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
156 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument
159 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
181 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument
182 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
/linux/tools/testing/selftests/drivers/net/mlxsw/
A 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")
516 local pct
527 pct=$(check_marking get_nmarked $vlan "== 0")
535 pct=$(check_marking get_nmarked $vlan "== 0")
538 pct=$((100 * diff / limit))
539 ((0 <= pct && pct <= 10))
[all …]
A 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))
578 local pkts pct
597 pct=$((100 * (pkts - 10000) / 10000))
598 (( -25 <= pct && pct <= 25))
[all …]
A 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/tools/testing/selftests/ptp/
A Dtestptp.c157 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()
/linux/tools/perf/util/
A 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/drivers/powercap/
A Ddtpm.c34 static struct powercap_control_type *pct; variable
383 powercap_unregister_zone(pct, &dtpm->zone); in dtpm_unregister()
414 if (!pct) in dtpm_register()
435 pcz = powercap_register_zone(&dtpm->zone, pct, name, in dtpm_register()
466 pct = powercap_register_control_type(NULL, "dtpm", NULL); in init_dtpm()
467 if (IS_ERR(pct)) { in init_dtpm()
469 return PTR_ERR(pct); in init_dtpm()
/linux/drivers/ptp/
A 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/drivers/xen/
A 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/tools/perf/tests/shell/
A Dstat+csv_summary.sh13 while read summary num event run pct
26 while read num event run pct
/linux/Documentation/devicetree/bindings/arc/
A Darchs-pct.txt11 "snps,archs-pct"
16 compatible = "snps,archs-pct";
A Dpct.txt14 "snps,arc700-pct"
19 compatible = "snps,arc700-pct";
/linux/drivers/acpi/
A 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/arch/arc/boot/dts/
A Dnsim_700.dts55 arcpct0: pct {
56 compatible = "snps,arc700-pct";
A Dhaps_hs_idu.dts68 arcpct0: pct {
69 compatible = "snps,archs-pct";
A Dnsimosci.dts84 arcpct0: pct {
85 compatible = "snps,arc700-pct";
A Dnsimosci_hs.dts84 arcpct0: pct {
85 compatible = "snps,archs-pct";
A Dhaps_hs.dts63 arcpct0: pct {
64 compatible = "snps,archs-pct";
A Dnsimosci_hs_idu.dts92 arcpct0: pct {
93 compatible = "snps,archs-pct";
A Daxc001.dtsi77 arcpct0: pct {
78 compatible = "snps,arc700-pct";
/linux/tools/perf/bench/
A Depoll-ctl.c203 static void init_fdmaps(struct worker *w, int pct) in init_fdmaps() argument
209 if (!pct) in init_fdmaps()
212 inc = 100/pct; in init_fdmaps()

Completed in 36 milliseconds

12