Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/include/linux/
Dposix-timers.h128 static inline void posix_cputimers_init(struct posix_cputimers *pct) in posix_cputimers_init() argument
130 memset(pct, 0, sizeof(*pct)); in posix_cputimers_init()
131 pct->bases[0].nextevt = U64_MAX; in posix_cputimers_init()
132 pct->bases[1].nextevt = U64_MAX; in posix_cputimers_init()
133 pct->bases[2].nextevt = U64_MAX; in posix_cputimers_init()
136 void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit);
138 static inline void posix_cputimers_rt_watchdog(struct posix_cputimers *pct, in posix_cputimers_rt_watchdog() argument
141 pct->bases[CPUCLOCK_SCHED].nextevt = runtime; in posix_cputimers_rt_watchdog()
163 static inline void posix_cputimers_init(struct posix_cputimers *pct) { } in posix_cputimers_init() argument
164 static inline void posix_cputimers_group_init(struct posix_cputimers *pct, in posix_cputimers_group_init() argument
/Linux-v5.4/kernel/time/
Dposix-cpu-timers.c23 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()
155 static inline bool expiry_cache_is_inactive(const struct posix_cputimers *pct) in expiry_cache_is_inactive() argument
157 return !(~pct->bases[CPUCLOCK_PROF].nextevt | in expiry_cache_is_inactive()
158 ~pct->bases[CPUCLOCK_VIRT].nextevt | in expiry_cache_is_inactive()
159 ~pct->bases[CPUCLOCK_SCHED].nextevt); in expiry_cache_is_inactive()
280 struct posix_cputimers *pct = &tsk->signal->posix_cputimers; in thread_group_sample_cputime() local
282 WARN_ON_ONCE(!pct->timers_active); in thread_group_sample_cputime()
[all …]
/Linux-v5.4/tools/testing/selftests/ptp/
Dtestptp.c153 struct ptp_clock_time *pct; in main() local
450 pct = &sysoff->ts[0]; in main()
452 t1 = pctns(pct+2*i); in main()
453 tp = pctns(pct+2*i+1); in main()
454 t2 = pctns(pct+2*i+2); in main()
459 (pct+2*i)->sec, (pct+2*i)->nsec); in main()
461 (pct+2*i+1)->sec, (pct+2*i+1)->nsec); in main()
463 (pct+2*i+2)->sec, (pct+2*i+2)->nsec); in main()
/Linux-v5.4/drivers/ptp/
Dptp_chardev.c120 struct ptp_clock_time *pct; in ptp_ioctl() local
292 pct = &sysoff->ts[0]; in ptp_ioctl()
295 pct->sec = ts.tv_sec; in ptp_ioctl()
296 pct->nsec = ts.tv_nsec; in ptp_ioctl()
297 pct++; in ptp_ioctl()
304 pct->sec = ts.tv_sec; in ptp_ioctl()
305 pct->nsec = ts.tv_nsec; in ptp_ioctl()
306 pct++; in ptp_ioctl()
309 pct->sec = ts.tv_sec; in ptp_ioctl()
310 pct->nsec = ts.tv_nsec; in ptp_ioctl()
/Linux-v5.4/drivers/xen/
Dxen-acpi-processor.c187 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()
/Linux-v5.4/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-v5.4/arch/arc/boot/dts/
Dnsim_hs_idu.dts59 arcpct0: pct {
60 compatible = "snps,archs-pct";
Dnsim_700.dts69 arcpct0: pct {
70 compatible = "snps,arc700-pct";
Dhaps_hs_idu.dts69 arcpct0: pct {
70 compatible = "snps,archs-pct";
Dnsim_hs.dts61 arcpct0: pct {
62 compatible = "snps,archs-pct";
Dhaps_hs.dts60 arcpct0: pct {
61 compatible = "snps,archs-pct";
Dnsimosci.dts84 arcpct0: pct {
85 compatible = "snps,arc700-pct";
Dnsimosci_hs.dts84 arcpct0: pct {
85 compatible = "snps,archs-pct";
Dnsimosci_hs_idu.dts92 arcpct0: pct {
93 compatible = "snps,archs-pct";
Daxc001.dtsi71 arcpct0: pct {
72 compatible = "snps,arc700-pct";
Daxc003.dtsi85 arcpct0: pct {
86 compatible = "snps,archs-pct";
Daxc003_idu.dtsi92 arcpct0: pct {
93 compatible = "snps,archs-pct";
/Linux-v5.4/drivers/acpi/
Dprocessor_perflib.c197 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()
/Linux-v5.4/tools/perf/bench/
Depoll-ctl.c205 static void init_fdmaps(struct worker *w, int pct) in init_fdmaps() argument
211 if (!pct) in init_fdmaps()
214 inc = 100/pct; in init_fdmaps()
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dda7218.txt60 - dlg,jack-threshold-pct : Threshold level for jack detection (% of VDD)
99 dlg,jack-threshold-pct = <84>;
/Linux-v5.4/tools/perf/util/
Dstat.c70 double pct = 0.0; in rel_stddev_stats() local
73 pct = 100.0 * stddev/avg; in rel_stddev_stats()
75 return pct; in rel_stddev_stats()
/Linux-v5.4/kernel/sched/
Dpsi.c284 unsigned long pct; in calc_avgs() local
294 pct = div_u64(time * 100, period); in calc_avgs()
295 pct *= FIXED_1; in calc_avgs()
296 avg[0] = calc_load(avg[0], EXP_10s, pct); in calc_avgs()
297 avg[1] = calc_load(avg[1], EXP_60s, pct); in calc_avgs()
298 avg[2] = calc_load(avg[2], EXP_300s, pct); in calc_avgs()
/Linux-v5.4/fs/cifs/
Dnetmisc.c155 const char *pct; in cifs_convert_address() local
167 pct = memchr(src, '%', len); in cifs_convert_address()
168 alen = pct ? pct - src : len; in cifs_convert_address()
175 if (pct) { in cifs_convert_address()
180 memcpy(scope_id, pct + 1, slen); in cifs_convert_address()

12