Searched refs:pcpu (Results 1 – 11 of 11) sorted by relevance
/drivers/xen/ |
D | pcpu.c | 60 struct pcpu { struct 103 struct pcpu *cpu = container_of(dev, struct pcpu, dev); in online_show() 112 struct pcpu *pcpu = container_of(dev, struct pcpu, dev); in online_store() local 124 ret = xen_pcpu_down(pcpu->cpu_id); in online_store() 127 ret = xen_pcpu_up(pcpu->cpu_id); in online_store() 172 struct pcpu *pcpu) in pcpu_online_status() argument 175 !xen_pcpu_online(pcpu->flags)) { in pcpu_online_status() 177 pcpu->flags |= XEN_PCPU_FLAGS_ONLINE; in pcpu_online_status() 178 kobject_uevent(&pcpu->dev.kobj, KOBJ_ONLINE); in pcpu_online_status() 180 xen_pcpu_online(pcpu->flags)) { in pcpu_online_status() [all …]
|
D | Makefile | 15 dom0-$(CONFIG_X86) += pcpu.o
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | dc_fpu.c | 63 int *pcpu, depth = 0; in dc_assert_fp_enabled() local 65 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_assert_fp_enabled() 66 depth = *pcpu; in dc_assert_fp_enabled() 87 int *pcpu; in dc_fpu_begin() local 89 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_fpu_begin() 90 *pcpu += 1; in dc_fpu_begin() 92 if (*pcpu == 1) { in dc_fpu_begin() 112 TRACE_DCN_FPU(true, function_name, line, *pcpu); in dc_fpu_begin() 128 int *pcpu; in dc_fpu_end() local 130 pcpu = get_cpu_ptr(&fpu_recursion_depth); in dc_fpu_end() [all …]
|
/drivers/crypto/caam/ |
D | qi.c | 443 int *pcpu = &get_cpu_var(last_cpu); in caam_drv_ctx_init() local 445 *pcpu = cpumask_next(*pcpu, cpus); in caam_drv_ctx_init() 446 if (*pcpu >= nr_cpu_ids) in caam_drv_ctx_init() 447 *pcpu = cpumask_first(cpus); in caam_drv_ctx_init() 448 *cpu = *pcpu; in caam_drv_ctx_init()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 549 struct stmmac_pcpu_stats *pcpu; in stmmac_get_rx_normal_irq_n() local 553 pcpu = per_cpu_ptr(priv->xstats.pcpu_stats, cpu); in stmmac_get_rx_normal_irq_n() 555 start = u64_stats_fetch_begin(&pcpu->syncp); in stmmac_get_rx_normal_irq_n() 556 irq_n = u64_stats_read(&pcpu->rx_normal_irq_n[q]); in stmmac_get_rx_normal_irq_n() 557 } while (u64_stats_fetch_retry(&pcpu->syncp, start)); in stmmac_get_rx_normal_irq_n() 570 struct stmmac_pcpu_stats *pcpu; in stmmac_get_tx_normal_irq_n() local 574 pcpu = per_cpu_ptr(priv->xstats.pcpu_stats, cpu); in stmmac_get_tx_normal_irq_n() 576 start = u64_stats_fetch_begin(&pcpu->syncp); in stmmac_get_tx_normal_irq_n() 577 irq_n = u64_stats_read(&pcpu->tx_normal_irq_n[q]); in stmmac_get_tx_normal_irq_n() 578 } while (u64_stats_fetch_retry(&pcpu->syncp, start)); in stmmac_get_tx_normal_irq_n()
|
/drivers/base/ |
D | devres.c | 1199 void __percpu *pcpu; in __devm_alloc_percpu() local 1201 pcpu = __alloc_percpu(size, align); in __devm_alloc_percpu() 1202 if (!pcpu) in __devm_alloc_percpu() 1207 free_percpu(pcpu); in __devm_alloc_percpu() 1211 *(void __percpu **)p = pcpu; in __devm_alloc_percpu() 1215 return pcpu; in __devm_alloc_percpu()
|
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 2551 txq_pcpu_aux = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_reserved_desc_num_proc() 2892 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx_done() 3153 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_init() 3190 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_deinit() 3260 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_txq_clean() 3648 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_xdp_finish_tx() 3684 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_xdp_submit_frame() 4085 struct mvpp2_txq_pcpu *txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in tx_desc_unmap_put() 4191 struct mvpp2_txq_pcpu *txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx_frag_process() 4372 txq_pcpu = per_cpu_ptr(txq->pcpu, thread); in mvpp2_tx() [all …]
|
D | mvpp2.h | 1215 struct mvpp2_port_pcpu __percpu *pcpu; member 1444 struct mvpp2_txq_pcpu __percpu *pcpu; member
|
/drivers/firmware/arm_ffa/ |
D | driver.c | 1258 struct ffa_pcpu_irq *pcpu = irq_data; in irq_handler() local 1259 struct ffa_drv_info *info = pcpu->info; in irq_handler()
|
/drivers/tee/optee/ |
D | smc_abi.c | 1073 struct optee_pcpu *pcpu = dev_id; in notif_pcpu_irq_handler() local 1074 struct optee *optee = pcpu->optee; in notif_pcpu_irq_handler()
|
/drivers/acpi/ |
D | acpi_processor.c | 188 phys_cpuid_t physid, u32 acpi_id, int *pcpu) in acpi_map_cpu() argument
|