Home
last modified time | relevance | path

Searched refs:cpu_idx (Results 1 – 12 of 12) sorted by relevance

/drivers/irqchip/
Dirq-bcm6345-l1.c160 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_unmask() local
162 intc->cpus[cpu_idx]->enable_cache[word] |= mask; in __bcm6345_l1_unmask()
163 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_unmask()
164 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
172 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_mask() local
174 intc->cpus[cpu_idx]->enable_cache[word] &= ~mask; in __bcm6345_l1_mask()
175 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_mask()
176 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_mask()
Dirq-bcm7038-l1.c151 static void __bcm7038_l1_unmask(struct irq_data *d, unsigned int cpu_idx) in __bcm7038_l1_unmask() argument
157 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
158 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_unmask()
162 static void __bcm7038_l1_mask(struct irq_data *d, unsigned int cpu_idx) in __bcm7038_l1_mask() argument
168 intc->cpus[cpu_idx]->mask_cache[word] |= mask; in __bcm7038_l1_mask()
169 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_mask()
/drivers/thermal/
Dcpu_cooling.c388 int cpu_idx) in get_load() argument
394 delta_idle = now_idle - cpufreq_device->time_in_idle[cpu_idx]; in get_load()
395 delta_time = now - cpufreq_device->time_in_idle_timestamp[cpu_idx]; in get_load()
402 cpufreq_device->time_in_idle[cpu_idx] = now_idle; in get_load()
403 cpufreq_device->time_in_idle_timestamp[cpu_idx] = now; in get_load()
/drivers/soc/fsl/qbman/
Dqman_ccsr.c615 void qman_set_sdest(u16 channel, unsigned int cpu_idx) in qman_set_sdest() argument
623 cpu_idx /= 2; in qman_set_sdest()
624 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
628 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
Dqman_priv.h266 void qman_set_sdest(u16 channel, unsigned int cpu_idx);
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h228 __u8 cpu_idx:6; member
232 __u8 cpu_idx:6; member
659 __u8 cpu_idx; member
672 __u8 cpu_idx; member
727 __u8 cpu_idx; member
Dt3_hw.c2537 int i, j, cpu_idx = 0, q_idx = 0; in t3_config_rss() local
2544 val |= (cpus[cpu_idx++] & 0x3f) << (8 * j); in t3_config_rss()
2545 if (cpus[cpu_idx] == 0xff) in t3_config_rss()
2546 cpu_idx = 0; in t3_config_rss()
Dcxgb3_offload.c1103 req->cpu_idx = 0; in set_l2t_ix()
/drivers/edac/
Dxgene_edac.c534 int cpu_idx) in xgene_edac_pmd_l1_check() argument
540 pg_f = ctx->pmd_csr + cpu_idx * CPU_CSR_STRIDE + CPU_MEMERR_CPU_PAGE; in xgene_edac_pmd_l1_check()
547 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
587 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
631 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
/drivers/infiniband/ulp/srp/
Dib_srp.c3404 int cpu_idx = 0; in srp_create_target() local
3409 if (ch_start + cpu_idx >= ch_end) in srp_create_target()
3411 ch = &target->ch[ch_start + cpu_idx]; in srp_create_target()
3414 cv_start + cpu_idx % (cv_end - cv_start); in srp_create_target()
3433 ch_start + cpu_idx, in srp_create_target()
3435 if (node_idx == 0 && cpu_idx == 0) { in srp_create_target()
3446 cpu_idx++; in srp_create_target()
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1163 req->cpu_idx = 0; in ddp_setup_conn_pgidx()
1200 req->cpu_idx = 0; in ddp_setup_conn_digest()
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c198 req->cpu_idx = 0; in iwch_quiesce_tid()
219 req->cpu_idx = 0; in iwch_resume_tid()
1255 req->cpu_idx = 0; in listen_stop()