Home
last modified time | relevance | path

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

/linux/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/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/drivers/cpufreq/
H A Damd-pstate-ut.c117 u64 cap1 = 0; in amd_pstate_ut_check_perf() local
142 ret = rdmsrq_safe_on_cpu(cpu, MSR_AMD_CPPC_CAP1, &cap1); in amd_pstate_ut_check_perf()
148 highest_perf = FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
149 nominal_perf = FIELD_GET(AMD_CPPC_NOMINAL_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
150 lowest_nonlinear_perf = FIELD_GET(AMD_CPPC_LOWNONLIN_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
151 lowest_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in amd_pstate_ut_check_perf()
H A Damd-pstate.c394 u64 cap1, numerator, cppc_req; in msr_init_perf() local
398 &cap1); in msr_init_perf()
424 perf.min_limit_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf()
425 perf.nominal_perf = FIELD_GET(AMD_CPPC_NOMINAL_PERF_MASK, cap1); in msr_init_perf()
426 perf.lowest_nonlinear_perf = FIELD_GET(AMD_CPPC_LOWNONLIN_PERF_MASK, cap1); in msr_init_perf()
427 perf.lowest_perf = FIELD_GET(AMD_CPPC_LOWEST_PERF_MASK, cap1); in msr_init_perf()
429 WRITE_ONCE(cpudata->prefcore_ranking, FIELD_GET(AMD_CPPC_HIGHEST_PERF_MASK, cap1)); in msr_init_perf()
/linux/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/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/Documentation/admin-guide/media/
H A Dc3-isp.dot17 n0000001a [label="c3-isp-cap1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
H A Dc3-isp.rst71 - `c3-isp-resizer1` is linked to the `c3-isp-cap1` capture video device
/linux/drivers/clocksource/
H A Dtimer-ti-dm.c1108 unsigned int cap1 = 0; in omap_dm_timer_cap_counter() local
1141 cap1 = __omap_dm_timer_cap(timer, 0); in omap_dm_timer_cap_counter()
1152 return (cap2-cap1); in omap_dm_timer_cap_counter()
/linux/kernel/sched/
H A Dfair.c112 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument