Home
last modified time | relevance | path

Searched refs:_cpu (Results 1 – 10 of 10) sorted by relevance

/src/sys/riscv/riscv/
H A Daplic.c137 #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 Dplic.c69 #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)
/src/lib/libpmc/
H A Dpmc.h75 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 Dlibpmcinternal.h35 const char *_pmc_name_of_event(enum pmc_event _ev, enum pmc_cputype _cpu);
/src/sys/sys/
H A Dpmc.h1036 int (*pcd_config_pmc)(int _cpu, int _ri, struct pmc *_pm);
1037 int (*pcd_get_config)(int _cpu, int _ri, struct pmc **_ppm);
1038 int (*pcd_read_pmc)(int _cpu, int _ri, struct pmc *_pm,
1040 int (*pcd_write_pmc)(int _cpu, int _ri, struct pmc *_pm,
1044 int (*pcd_allocate_pmc)(int _cpu, int _ri, struct pmc *_t,
1046 int (*pcd_release_pmc)(int _cpu, int _ri, struct pmc *_pm);
1049 int (*pcd_start_pmc)(int _cpu, int _ri, struct pmc *_pm);
1050 int (*pcd_stop_pmc)(int _cpu, int _ri, struct pmc *_pm);
1053 int (*pcd_describe)(int _cpu, int _ri, struct pmc_info *_pi,
1058 int (*pcd_pcpu_init)(struct pmc_mdep *_md, int _cpu);
[all …]
H A Dpmckern.h253 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);
/src/sys/compat/linuxkpi/common/include/linux/
H A Dcpu.h76 #define cpumask_of(_cpu) (lkpi_get_static_single_cpu_mask(_cpu)) argument
/src/sys/powerpc/powerpc/
H A Dplatform_if.m166 * @param _cpu CPU whose timebase to query
171 struct cpuref *_cpu;
213 struct pcpu *_cpu;
/src/contrib/sqlite3/autosetup/
H A Dsystem.tcl352 define ${type}_cpu $cpu
/src/sys/kern/
H A Dbus_if.m708 * @param _cpu the CPU to bind the interrupt to
714 int _cpu;