Searched refs:cap1 (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/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.1.9/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.1.9/drivers/cpufreq/ |
D | amd-pstate-ut.c | 143 u64 cap1 = 0; in amd_pstate_ut_check_perf() local 168 ret = rdmsrl_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1); in amd_pstate_ut_check_perf() 175 nominal_perf = AMD_CPPC_NOMINAL_PERF(cap1); in amd_pstate_ut_check_perf() 176 lowest_nonlinear_perf = AMD_CPPC_LOWNONLIN_PERF(cap1); in amd_pstate_ut_check_perf() 177 lowest_perf = AMD_CPPC_LOWEST_PERF(cap1); in amd_pstate_ut_check_perf()
|
D | amd-pstate.c | 92 u64 cap1; in pstate_init_perf() local 96 &cap1); in pstate_init_perf() 106 if (highest_perf > AMD_CPPC_HIGHEST_PERF(cap1)) in pstate_init_perf() 107 highest_perf = AMD_CPPC_HIGHEST_PERF(cap1); in pstate_init_perf() 111 WRITE_ONCE(cpudata->nominal_perf, AMD_CPPC_NOMINAL_PERF(cap1)); in pstate_init_perf() 112 WRITE_ONCE(cpudata->lowest_nonlinear_perf, AMD_CPPC_LOWNONLIN_PERF(cap1)); in pstate_init_perf() 113 WRITE_ONCE(cpudata->lowest_perf, AMD_CPPC_LOWEST_PERF(cap1)); in pstate_init_perf()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 358 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local 364 &cap1); in erdma_dev_attrs_init() 370 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init() 372 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init() 373 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init() 374 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init() 393 &cap1); in erdma_dev_attrs_init()
|
/linux-6.1.9/drivers/video/fbdev/mb862xx/ |
D | mb862xxfb.h | 70 void __iomem *cap1; member
|
D | mb862xxfbdrv.c | 936 par->cap1 = par->mmio_base + MB86297_CAP1_BASE; in carmine_init()
|
/linux-6.1.9/drivers/thunderbolt/ |
D | debugfs.c | 331 u32 cap0, cap1; in margining_caps_show() local 339 cap1 = usb4->margining->caps[1]; in margining_caps_show() 340 seq_printf(s, "0x%08x\n", cap1); in margining_caps_show() 376 cap1 & USB4_MARGIN_CAP_1_TIME_DESTR ? "yes" : "no"); in margining_caps_show()
|
/linux-6.1.9/kernel/sched/ |
D | fair.c | 164 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument
|