Searched refs:_cpu (Results 1 – 9 of 9) sorted by relevance
/freebsd/sys/riscv/riscv/ |
H A D | aplic.c | 137 #define APLIC_IDC_REG(_sc, _cpu, _field) \ argument 139 ((_sc->hart_indices[_cpu]) * APLIC_IDC_SZ)) 141 #define APLIC_IDC_IDELIVERY(_sc, _cpu) \ argument 142 APLIC_IDC_REG(_sc, _cpu, IDELIVERY) 144 #define APLIC_IDC_IFORCE(_sc, _cpu) \ argument 145 APLIC_IDC_REG(_sc, _cpu, IFORCE) 147 #define APLIC_IDC_ITHRESHOLD(_sc, _cpu) \ argument 148 APLIC_IDC_REG(_sc, _cpu, ITHRESHOLD) 150 #define APLIC_IDC_TOPI(_sc, _cpu) \ argument 151 APLIC_IDC_REG(_sc, _cpu, TOPI) [all …]
|
H A D | plic.c | 69 #define PLIC_ENABLE(_sc, _irq, _cpu) \ argument 70 (_sc->contexts[_cpu].enable_offset + ((_irq) / 32) * sizeof(uint32_t)) 71 #define PLIC_THRESHOLD(_sc, _cpu) \ argument 72 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_THRESHOLD) 73 #define PLIC_CLAIM(_sc, _cpu) \ argument 74 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_CLAIM)
|
/freebsd/lib/libpmc/ |
H A D | pmc.h | 75 int _cpu, pmc_id_t *_pmcid, uint64_t count); 82 int pmc_disable(int _cpu, int _pmc); 83 int pmc_enable(int _cpu, int _pmc); 98 int pmc_npmc(int _cpu); 100 int pmc_pmcinfo(int _cpu, struct pmc_pmcinfo **_pmc_info);
|
H A D | libpmcinternal.h | 35 const char *_pmc_name_of_event(enum pmc_event _ev, enum pmc_cputype _cpu);
|
/freebsd/sys/sys/ |
H A D | pmc.h | 1009 int (*pcd_config_pmc)(int _cpu, int _ri, struct pmc *_pm); 1010 int (*pcd_get_config)(int _cpu, int _ri, struct pmc **_ppm); 1011 int (*pcd_read_pmc)(int _cpu, int _ri, struct pmc *_pm, 1013 int (*pcd_write_pmc)(int _cpu, int _ri, struct pmc *_pm, 1017 int (*pcd_allocate_pmc)(int _cpu, int _ri, struct pmc *_t, 1019 int (*pcd_release_pmc)(int _cpu, int _ri, struct pmc *_pm); 1022 int (*pcd_start_pmc)(int _cpu, int _ri, struct pmc *_pm); 1023 int (*pcd_stop_pmc)(int _cpu, int _ri, struct pmc *_pm); 1026 int (*pcd_describe)(int _cpu, int _ri, struct pmc_info *_pi, 1030 int (*pcd_pcpu_init)(struct pmc_mdep *_md, int _cpu); [all …]
|
H A D | pmckern.h | 253 int pmc_cpu_is_disabled(int _cpu); /* deprecated */ 254 int pmc_cpu_is_active(int _cpu); 255 int pmc_cpu_is_present(int _cpu); 256 int pmc_cpu_is_primary(int _cpu);
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | cpu.h | 76 #define cpumask_of(_cpu) (lkpi_get_static_single_cpu_mask(_cpu)) argument
|
/freebsd/sys/powerpc/powerpc/ |
H A D | platform_if.m | 166 * @param _cpu CPU whose timebase to query 171 struct cpuref *_cpu; 213 struct pcpu *_cpu;
|
/freebsd/sys/kern/ |
H A D | bus_if.m | 709 * @param _cpu the CPU to bind the interrupt to 715 int _cpu;
|