Searched refs:nb_cpus (Results 1 – 2 of 2) sorted by relevance
97 int opps_index, nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_free_table() local99 for (opps_index = 0 ; opps_index <= nb_cpus; opps_index++) { in armada_8k_cpufreq_free_table()125 int ret = 0, opps_index = 0, cpu, nb_cpus; in armada_8k_cpufreq_init() local137 nb_cpus = num_possible_cpus(); in armada_8k_cpufreq_init()138 freq_tables = kcalloc(nb_cpus, sizeof(*freq_tables), GFP_KERNEL); in armada_8k_cpufreq_init()
224 uint32_t nb_cpus; member453 for (i = 0; i < opp->nb_cpus; i++) { in openpic_update_irq()462 if (i == opp->nb_cpus) in openpic_update_irq()583 uint32_t normal_mask = (1UL << opp->nb_cpus) - 1; in write_IRQreg_idr()586 int crit_shift = IDR_EP_SHIFT - opp->nb_cpus; in write_IRQreg_idr()608 for (i = 0; i < opp->nb_cpus; i++) { in write_IRQreg_idr()758 retval |= (opp->nb_cpus - 1) << FRR_NCPU_SHIFT; in openpic_gbl_read()1757 opp->nb_cpus = max(opp->nb_cpus, cpu + 1); in kvmppc_mpic_connect_vcpu()