Searched refs:cap1 (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | cap_helpers.c | 17 __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.6.21/drivers/pci/ |
D | vc.c | 106 u32 ctrl, header, cap1, ctrl2; in pci_vc_enable() local 130 pci_read_config_dword(dev->bus->self, pos2 + PCI_VC_PORT_CAP1, &cap1); in pci_vc_enable() 131 evcc = cap1 & PCI_VC_CAP1_EVCC; in pci_vc_enable() 188 u32 cap1; in pci_vc_do_save_buffer() local 200 pci_read_config_dword(dev, pos + PCI_VC_PORT_CAP1, &cap1); in pci_vc_do_save_buffer() 202 evcc = cap1 & PCI_VC_CAP1_EVCC; in pci_vc_do_save_buffer() 204 lpevcc = (cap1 & PCI_VC_CAP1_LPEVCC) >> 4; in pci_vc_do_save_buffer() 206 parb_size = 1 << ((cap1 & PCI_VC_CAP1_ARB_SIZE) >> 10); in pci_vc_do_save_buffer()
|
/linux-6.6.21/drivers/cpufreq/ |
D | amd-pstate-ut.c | 125 u64 cap1 = 0; in amd_pstate_ut_check_perf() local 149 ret = rdmsrl_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1); in amd_pstate_ut_check_perf() 156 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in amd_pstate_ut_check_perf() 157 nominal_perf = AMD_CPPC_NOMINAL_PERF(cap1); in amd_pstate_ut_check_perf() 158 lowest_nonlinear_perf = AMD_CPPC_LOWNONLIN_PERF(cap1); in amd_pstate_ut_check_perf() 159 lowest_perf = AMD_CPPC_LOWEST_PERF(cap1); in amd_pstate_ut_check_perf()
|
D | amd-pstate.c | 292 u64 cap1; in pstate_init_perf() local 296 &cap1); in pstate_init_perf() 306 if (highest_perf > AMD_CPPC_HIGHEST_PERF(cap1)) in pstate_init_perf() 307 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in pstate_init_perf() 311 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1)); in pstate_init_perf() 312 WRITE_ONCE(cpudata->lowest_nonlinear_perf, AMD_CPPC_LOWNONLIN_PERF(cap1)); in pstate_init_perf() 313 WRITE_ONCE(cpudata->lowest_perf, AMD_CPPC_LOWEST_PERF(cap1)); in pstate_init_perf() 314 WRITE_ONCE(cpudata->min_limit_perf, AMD_CPPC_LOWEST_PERF(cap1)); in pstate_init_perf()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 356 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local 362 &cap1); in erdma_dev_attrs_init() 368 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init() 370 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init() 371 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init() 372 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init() 392 &cap1); in erdma_dev_attrs_init()
|
/linux-6.6.21/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb.h | 70 void __iomem *cap1; member
|
D | mb862xxfbdrv.c | 932 par->cap1 = par->mmio_base + MB86297_CAP1_BASE; in carmine_init()
|
/linux-6.6.21/drivers/thunderbolt/ |
D | debugfs.c | 334 u32 cap0, cap1; in margining_caps_show() local 342 cap1 = usb4->margining->caps[1]; in margining_caps_show() 343 seq_printf(s, "0x%08x\n", cap1); in margining_caps_show() 379 cap1 & USB4_MARGIN_CAP_1_TIME_DESTR ? "yes" : "no"); in margining_caps_show()
|
/linux-6.6.21/kernel/sched/ |
D | fair.c | 124 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument
|