Searched refs:cap1 (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A 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/drivers/pci/ |
| H A D | vc.c | 107 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/infiniband/hw/erdma/ |
| H A D | erdma_main.c | 380 u64 req_hdr, cap0, cap1; in erdma_dev_attrs_init() local 386 &cap1, true); in erdma_dev_attrs_init() 392 dev->attrs.max_mw = 1 << ERDMA_GET_CAP(MAX_MW, cap1); in erdma_dev_attrs_init() 396 dev->attrs.local_dma_key = ERDMA_GET_CAP(DMA_LOCAL_KEY, cap1); in erdma_dev_attrs_init() 397 dev->attrs.cc = ERDMA_GET_CAP(DEFAULT_CC, cap1); in erdma_dev_attrs_init() 398 dev->attrs.max_qp = ERDMA_NQP_PER_QBLOCK * ERDMA_GET_CAP(QBLOCK, cap1); in erdma_dev_attrs_init() 419 &cap1, true); in erdma_dev_attrs_init()
|
| /linux/drivers/video/fbdev/mb862xx/ |
| H A D | mb862xxfb.h | 70 void __iomem *cap1; member
|
| /linux/drivers/cpufreq/ |
| H A D | amd-pstate.c | 466 u64 cap1, numerator, cppc_req; in msr_init_perf() local 469 &cap1); in msr_init_perf() 485 perf.min_limit_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf() 486 perf.nominal_perf = FIELD_GET(AMD_CPPC_NOMINAL_PERF_MASK, cap1); in msr_init_perf() 487 perf.lowest_nonlinear_perf = FIELD_GET(AMD_CPPC_LOWNONLIN_PERF_MASK, cap1); in msr_init_perf() 488 perf.lowest_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf() 491 WRITE_ONCE(cpudata->prefcore_ranking, FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1)); in msr_init_perf() 492 WRITE_ONCE(cpudata->floor_perf_cnt, FIELD_GET(AMD_CPPC_FLOOR_PERF_CNT_MASK, cap1)); in msr_init_perf()
|
| /linux/kernel/sched/ |
| H A D | fair.c | 114 * is 'cap1' noticeably greater than 'cap2' 118 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument
|