Searched refs:n_cpu (Results 1 – 4 of 4) sorted by relevance
49 unsigned n_cpu; member94 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 …]
60 static inline void icp_hv_set_qirr(int n_cpu , u8 value) in icp_hv_set_qirr() argument62 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()
75 static inline void icp_native_set_qirr(int n_cpu, u8 value) in icp_native_set_qirr() argument77 out_8(&icp_native_regs[n_cpu]->qirr.bytes[0], value); in icp_native_set_qirr()
146 unsigned int n_cpu = num_online_cpus(); in ibmveth_real_max_tx_queues() local148 return min(n_cpu, IBMVETH_MAX_QUEUES); in ibmveth_real_max_tx_queues()