Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dxdp_redirect_cpu.bpf.c224 u32 cpu_idx; in xdp_prognum2_round_robin() local
291 cpu_idx = 0; in xdp_prognum3_proto_separate()
298 cpu_idx = 2; in xdp_prognum3_proto_separate()
301 cpu_idx = 0; in xdp_prognum3_proto_separate()
304 cpu_idx = 1; in xdp_prognum3_proto_separate()
307 cpu_idx = 0; in xdp_prognum3_proto_separate()
358 cpu_idx = 0; in xdp_prognum4_ddos_filter_pktgen()
365 cpu_idx = 2; in xdp_prognum4_ddos_filter_pktgen()
368 cpu_idx = 0; in xdp_prognum4_ddos_filter_pktgen()
371 cpu_idx = 1; in xdp_prognum4_ddos_filter_pktgen()
[all …]
/linux/drivers/irqchip/
A Dirq-bcm6345-l1.c153 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_unmask() local
155 intc->cpus[cpu_idx]->enable_cache[word] |= mask; in __bcm6345_l1_unmask()
156 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_unmask()
157 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
165 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_mask() local
167 intc->cpus[cpu_idx]->enable_cache[word] &= ~mask; in __bcm6345_l1_mask()
168 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_mask()
169 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_mask()
A Dirq-bcm7038-l1.c152 static void __bcm7038_l1_unmask(struct irq_data *d, unsigned int cpu_idx) in __bcm7038_l1_unmask() argument
158 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
159 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_unmask()
163 static void __bcm7038_l1_mask(struct irq_data *d, unsigned int cpu_idx) in __bcm7038_l1_mask() argument
169 intc->cpus[cpu_idx]->mask_cache[word] |= mask; in __bcm7038_l1_mask()
170 l1_writel(mask, intc->cpus[cpu_idx]->map_base + in __bcm7038_l1_mask()
/linux/drivers/thermal/
A Dcpufreq_cooling.c138 int cpu_idx) in get_load() argument
148 int cpu_idx) in get_load() argument
152 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load()
/linux/drivers/soc/fsl/qbman/
A Dqman_ccsr.c667 void qman_set_sdest(u16 channel, unsigned int cpu_idx) in qman_set_sdest() argument
675 cpu_idx /= 2; in qman_set_sdest()
676 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
680 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
A Dqman_priv.h204 void qman_set_sdest(u16 channel, unsigned int cpu_idx);
/linux/drivers/net/ethernet/chelsio/cxgb3/
A 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
A Dt3_hw.c2473 int i, j, cpu_idx = 0, q_idx = 0; in t3_config_rss() local
2480 val |= (cpus[cpu_idx++] & 0x3f) << (8 * j); in t3_config_rss()
2481 if (cpus[cpu_idx] == 0xff) in t3_config_rss()
2482 cpu_idx = 0; in t3_config_rss()
A Dcxgb3_offload.c1103 req->cpu_idx = 0; in set_l2t_ix()
/linux/tools/lib/perf/
A Devlist.c426 int idx, struct perf_mmap_param *mp, int cpu_idx, in mmap_per_evsel() argument
429 int evlist_cpu = perf_cpu_map__cpu(evlist->cpus, cpu_idx); in mmap_per_evsel()
/linux/drivers/edac/
A Dxgene_edac.c520 int cpu_idx) in xgene_edac_pmd_l1_check() argument
526 pg_f = ctx->pmd_csr + cpu_idx * CPU_CSR_STRIDE + CPU_MEMERR_CPU_PAGE; in xgene_edac_pmd_l1_check()
533 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
573 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
617 ctx->pmd * MAX_CPU_PER_PMD + cpu_idx, val, in xgene_edac_pmd_l1_check()
/linux/drivers/net/wireless/mediatek/mt76/
A Ddma.c103 writel(0, &q->regs->cpu_idx); in mt76_dma_queue_reset()
227 writel(q->head, &q->regs->cpu_idx); in mt76_dma_kick_queue()
A Dmt76.h141 u32 cpu_idx; member
/linux/drivers/scsi/cxgbi/cxgb3i/
A Dcxgb3i.c1170 req->cpu_idx = 0; in ddp_setup_conn_pgidx()
1206 req->cpu_idx = 0; in ddp_setup_conn_digest()
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.h682 int cpu_idx; member
A Dmtk_eth_soc.c1449 cpu = ring->cpu_idx; in mtk_poll_tx_pdma()
1473 ring->cpu_idx = cpu; in mtk_poll_tx_pdma()
/linux/tools/perf/util/
A Devsel.c1665 int nr_cpus, int cpu_idx, in update_fds() argument
1670 if (cpu_idx >= nr_cpus || thread_idx >= nr_threads) in update_fds()
1674 nr_cpus = pos != evsel ? nr_cpus : cpu_idx; in update_fds()
/linux/kernel/sched/
A Dfair.c2345 int mem_idx, membuf_idx, cpu_idx, cpubuf_idx; in task_numa_placement() local
2354 cpu_idx = task_faults_idx(NUMA_CPU, nid, priv); in task_numa_placement()
2372 f_diff = f_weight - p->numa_faults[cpu_idx] / 2; in task_numa_placement()
2376 p->numa_faults[cpu_idx] += f_diff; in task_numa_placement()
2388 ng->faults[cpu_idx] += f_diff; in task_numa_placement()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
A Dmac.c1549 dma_idx != readl(&q->regs->cpu_idx)) in mt7603_tx_hang()

Completed in 108 milliseconds