Home
last modified time | relevance | path

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

/linux/drivers/irqchip/
H A Dirq-bcm6345-l1.c147 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_unmask() local
149 intc->cpus[cpu_idx]->enable_cache[word] |= mask; in __bcm6345_l1_unmask()
150 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_unmask()
151 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_unmask()
159 unsigned int cpu_idx = cpu_for_irq(intc, d); in __bcm6345_l1_mask() local
161 intc->cpus[cpu_idx]->enable_cache[word] &= ~mask; in __bcm6345_l1_mask()
162 __raw_writel(intc->cpus[cpu_idx]->enable_cache[word], in __bcm6345_l1_mask()
163 intc->cpus[cpu_idx]->map_base + reg_enable(intc, word)); in __bcm6345_l1_mask()
H A 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()
/linux/kernel/bpf/
H A Dpercpu_freelist.c103 unsigned int cpu, cpu_idx, i, j, n, m; in pcpu_freelist_populate() local
108 cpu_idx = 0; in pcpu_freelist_populate()
111 j = n + (cpu_idx < m ? 1 : 0); in pcpu_freelist_populate()
117 cpu_idx++; in pcpu_freelist_populate()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed_wo.c95 mtk_wed_mmio_w32(wo, q->regs.cpu_idx, val); in mtk_wed_wo_queue_kick()
281 mtk_wed_mmio_w32(wo, q->regs.cpu_idx, 0); in mtk_wed_wo_queue_free()
324 mtk_wed_mmio_w32(wo, q->regs.cpu_idx, 0); in mtk_wed_wo_queue_reset()
409 regs.cpu_idx = MTK_WED_WO_CCIF_DUMMY3; in mtk_wed_wo_hardware_init()
423 regs.cpu_idx = MTK_WED_WO_CCIF_DUMMY7; in mtk_wed_wo_hardware_init()
H A Dmtk_wed_wo.h195 u32 cpu_idx; member
H A Dmtk_eth_soc.h898 int cpu_idx; member
H A Dmtk_eth_soc.c2335 cpu = ring->cpu_idx; in mtk_poll_tx_pdma()
2359 ring->cpu_idx = cpu; in mtk_poll_tx_pdma()
/linux/kernel/events/
H A Dhw_breakpoint_test.c247 int tsk_on_cpu_idx, cpu_idx; in test_task_on_all_and_one_cpu() local
263 cpu_idx = idx; in test_task_on_all_and_one_cpu()
272 unregister_test_bp(&test_bps[cpu_idx]); in test_task_on_all_and_one_cpu()
/linux/Documentation/bpf/
H A Dmap_cpumap.rst134 __u32 cpu_idx;
139 cpu_idx = *cpu_iterator;
145 cpu_selected = bpf_map_lookup_elem(&cpus_available, &cpu_idx);
/linux/drivers/thermal/
H A Dcpufreq_cooling.c163 int cpu_idx) in get_load() argument
171 int cpu_idx) in get_load() argument
175 struct time_in_idle *idle_time = &cpufreq_cdev->idle_time[cpu_idx]; in get_load()
/linux/drivers/soc/fsl/qbman/
H A Dqman_ccsr.c645 void qman_set_sdest(u16 channel, unsigned int cpu_idx) in qman_set_sdest() argument
653 cpu_idx /= 2; in qman_set_sdest()
654 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
658 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
H A Dqman_priv.h204 void qman_set_sdest(u16 channel, unsigned int cpu_idx);
/linux/drivers/net/ethernet/chelsio/cxgb3/
H 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
H 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()
/linux/sound/soc/generic/
H A Daudio-graph-card2.c496 int *nm_idx, int cpu_idx, in graph_parse_node_multi_nm() argument
539 if (cpu_idx > dai_link->num_cpus) { in graph_parse_node_multi_nm()
576 dai_link->ch_maps[*nm_idx].cpu = cpu_idx; in graph_parse_node_multi_nm()
/linux/tools/lib/perf/
H A Devlist.c470 int idx, struct perf_mmap_param *mp, int cpu_idx, in mmap_per_evsel()
473 struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->all_cpus, cpu_idx); in mmap_per_evsel()
456 mmap_per_evsel(struct perf_evlist * evlist,struct perf_evlist_mmap_ops * ops,int idx,struct perf_mmap_param * mp,int cpu_idx,int thread,int * _output,int * _output_overwrite,int * nr_mmaps) mmap_per_evsel() argument
/linux/drivers/edac/
H 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/
H A Ddma.c215 Q_WRITE(q, cpu_idx, 0); in __mt76_dma_queue_reset()
378 Q_WRITE(q, cpu_idx, q->head); in mt76_dma_kick_queue()
H A Dmt76.h197 u32 cpu_idx; member
/linux/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c1171 req->cpu_idx = 0; in ddp_setup_conn_pgidx()
1207 req->cpu_idx = 0; in ddp_setup_conn_digest()
/linux/kernel/sched/
H A Dfair.c2917 int mem_idx, membuf_idx, cpu_idx, cpubuf_idx; in task_numa_placement() local
2926 cpu_idx = task_faults_idx(NUMA_CPU, nid, priv); in task_numa_placement()
2944 f_diff = f_weight - p->numa_faults[cpu_idx] / 2; in task_numa_placement()
2948 p->numa_faults[cpu_idx] += f_diff; in task_numa_placement()
2960 ng->faults[cpu_idx] += f_diff; in task_numa_placement()
/linux/tools/perf/
H A Dbuiltin-record.c1916 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument
1925 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c1558 dma_idx != readl(&q->regs->cpu_idx)) in mt7603_tx_hang()