Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/drivers/cpufreq/
H A Damd-pstate-ut.c115 u64 cap1 = 0; in amd_pstate_ut_check_perf() local
140 ret = rdmsrl_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1); in amd_pstate_ut_check_perf()
146 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
147 nominal_perf = FIELD_GET(AMD_CPPC_NOMINAL_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
148 lowest_nonlinear_perf = FIELD_GET(AMD_CPPC_LOWNONLIN_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
149 lowest_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
H A Damd-pstate.c392 u64 cap1, numerator; in msr_init_perf() local
395 &cap1); in msr_init_perf()
405 perf.min_limit_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf()
406 perf.nominal_perf = FIELD_GET(AMD_CPPC_NOMINAL_PERF_MASK, cap1); in msr_init_perf()
407 perf.lowest_nonlinear_perf = FIELD_GET(AMD_CPPC_LOWNONLIN_PERF_MASK, cap1); in msr_init_perf()
408 perf.lowest_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf()
410 WRITE_ONCE(cpudata->prefcore_ranking, FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1)); in msr_init_perf()
/linux-6.15/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-6.15/drivers/infiniband/hw/erdma/
H A Derdma_main.c381 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local
387 &cap1, true); in erdma_dev_attrs_init()
393 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init()
397 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init()
398 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init()
399 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init()
420 &cap1, true); in erdma_dev_attrs_init()
/linux-6.15/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-6.15/kernel/sched/
H A Dfair.c113 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument