Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/
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/
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/
A Damd-pstate-ut.c128 u64 cap1 = 0; in amd_pstate_ut_check_perf() local
152 ret = rdmsrl_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1); in amd_pstate_ut_check_perf()
159 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in amd_pstate_ut_check_perf()
160 nominal_perf = AMD_CPPC_NOMINAL_PERF(cap1); in amd_pstate_ut_check_perf()
161 lowest_nonlinear_perf = AMD_CPPC_LOWNONLIN_PERF(cap1); in amd_pstate_ut_check_perf()
162 lowest_perf = AMD_CPPC_LOWEST_PERF(cap1); in amd_pstate_ut_check_perf()
A Damd-pstate.c371 u64 cap1; in pstate_init_perf() local
374 &cap1); in pstate_init_perf()
378 WRITE_ONCE(cpudata->highest_perf, AMD_CPPC_HIGHEST_PERF(cap1)); in pstate_init_perf()
379 WRITE_ONCE(cpudata->max_limit_perf, AMD_CPPC_HIGHEST_PERF(cap1)); in pstate_init_perf()
380 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1)); in pstate_init_perf()
381 WRITE_ONCE(cpudata->lowest_nonlinear_perf, AMD_CPPC_LOWNONLIN_PERF(cap1)); in pstate_init_perf()
382 WRITE_ONCE(cpudata->lowest_perf, AMD_CPPC_LOWEST_PERF(cap1)); in pstate_init_perf()
383 WRITE_ONCE(cpudata->prefcore_ranking, AMD_CPPC_HIGHEST_PERF(cap1)); in pstate_init_perf()
384 WRITE_ONCE(cpudata->min_limit_perf, AMD_CPPC_LOWEST_PERF(cap1)); in pstate_init_perf()
/linux/drivers/infiniband/hw/erdma/
A Derdma_main.c387 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local
393 &cap1); in erdma_dev_attrs_init()
399 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init()
401 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init()
402 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init()
403 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init()
423 &cap1); in erdma_dev_attrs_init()
/linux/drivers/video/fbdev/mb862xx/
A Dmb862xxfb.h70 void __iomem *cap1; member
A Dmb862xxfbdrv.c932 par->cap1 = par->mmio_base + MB86297_CAP1_BASE; in carmine_init()
/linux/drivers/thunderbolt/
A Ddebugfs.c573 u32 cap0, cap1; in margining_caps_show() local
581 cap1 = margining->caps[1]; in margining_caps_show()
582 seq_printf(s, "0x%08x\n", cap1); in margining_caps_show()
626 cap1 & USB4_MARGIN_CAP_1_TIME_DESTR ? "yes" : "no"); in margining_caps_show()
/linux/kernel/sched/
A Dfair.c110 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument

Completed in 45 milliseconds