Home
last modified time | relevance | path

Searched refs:n_cpu (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/xtensa/
H A Dmx_pic.c49 unsigned n_cpu; member
94 return ((mx->n_cpu - 1) << 18) | (mx_cpu - mx->cpu); in xtensa_mx_pic_ext_reg_read()
154 for (cpu = 0; cpu < mx->n_cpu; ++cpu) { in xtensa_mx_pic_update_all()
168 for (cpu = 0; cpu < mx->n_cpu; ++cpu) { in xtensa_mx_pic_ext_reg_write()
181 for (cpu = 0; cpu < mx->n_cpu; ++cpu) { in xtensa_mx_pic_ext_reg_write()
239 for (cpu = 0; cpu < mx->n_cpu; ++cpu) { in xtensa_mx_pic_ext_reg_write()
279 struct XtensaMxPicCpu *mx_cpu = mx->cpu + mx->n_cpu; in xtensa_mx_pic_register_cpu()
288 ++mx->n_cpu; in xtensa_mx_pic_register_cpu()
339 for (i = 0; i < mx->n_cpu; ++i) { in xtensa_mx_pic_reset()
345 mx->runstall = (1u << mx->n_cpu) - 2; in xtensa_mx_pic_reset()
[all …]
/openbmc/linux/arch/powerpc/sysdev/xics/
H A Dicp-hv.c60 static inline void icp_hv_set_qirr(int n_cpu , u8 value) in icp_hv_set_qirr() argument
62 int hw_cpu = get_hard_smp_processor_id(n_cpu); in icp_hv_set_qirr()
70 "returned %ld\n", __func__, n_cpu, hw_cpu, value, rc); in icp_hv_set_qirr()
H A Dicp-native.c75 static inline void icp_native_set_qirr(int n_cpu, u8 value) in icp_native_set_qirr() argument
77 out_8(&icp_native_regs[n_cpu]->qirr.bytes[0], value); in icp_native_set_qirr()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c146 unsigned int n_cpu = num_online_cpus(); in ibmveth_real_max_tx_queues() local
148 return min(n_cpu, IBMVETH_MAX_QUEUES); in ibmveth_real_max_tx_queues()