Home
last modified time | relevance | path

Searched refs:cap1 (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dcap_helpers.c17 __u32 cap1 = caps >> 32; in cap_enable_effective() local
28 (data[1].effective & cap1) == cap1) in cap_enable_effective()
32 data[1].effective |= cap1; in cap_enable_effective()
47 __u32 cap1 = caps >> 32; in cap_disable_effective() local
57 if (!(data[0].effective & cap0) && !(data[1].effective & cap1)) in cap_disable_effective()
61 data[1].effective &= ~cap1; in cap_disable_effective()
/linux/drivers/pci/
H A Dvc.c107 u32 ctrl, header, cap1, ctrl2; in pci_vc_enable() local
131 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable()
132 evcc = cap1 & PCI_VC_CAP1_EVCC; in pci_vc_enable()
189 u32 cap1; in pci_vc_do_save_buffer() local
201 pci_read_config_dword(dev, pos + PCI_VC_PORT_CAP1, &cap1); in pci_vc_do_save_buffer()
203 evcc = cap1 & PCI_VC_CAP1_EVCC; in pci_vc_do_save_buffer()
205 lpevcc = FIELD_GET(PCI_VC_CAP1_LPEVCC, cap1); in pci_vc_do_save_buffer()
207 parb_size = 1 << FIELD_GET(PCI_VC_CAP1_ARB_SIZE, cap1); in pci_vc_do_save_buffer()
/linux/drivers/cpufreq/
H A Damd-pstate.c414 u64 cap1, numerator; in msr_init_perf() local
417 &cap1); in msr_init_perf()
427 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1)); in msr_init_perf()
428 WRITE_ONCE(cpudata->lowest_nonlinear_perf, AMD_CPPC_LOWNONLIN_PERF(cap1)); in msr_init_perf()
429 WRITE_ONCE(cpudata->lowest_perf, AMD_CPPC_LOWEST_PERF(cap1)); in msr_init_perf()
430 WRITE_ONCE(cpudata->prefcore_ranking, AMD_CPPC_HIGHEST_PERF(cap1)); in msr_init_perf()
431 WRITE_ONCE(cpudata->min_limit_perf, AMD_CPPC_LOWEST_PERF(cap1)); in msr_init_perf()
/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h70 void __iomem *cap1; member
H A Dmb862xxfbdrv.c932 par->cap1 = par->mmio_base + MB86297_CAP1_BASE; in carmine_init()
/linux/kernel/sched/
H A Dfair.c113 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument