Home
last modified time | relevance | path

Searched refs:in_be64 (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c30 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
38 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
49 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get()
59 return in_be64(&spu->priv1->int_stat_RW[class]); in int_stat_get()
82 return in_be64(&spu->priv1->mfc_dar_RW); in mfc_dar_get()
87 return in_be64(&spu->priv1->mfc_dsisr_RW); in mfc_dsisr_get()
107 return in_be64(&spu->priv1->mfc_sr1_RW); in mfc_sr1_get()
117 return in_be64(&spu->priv1->mfc_tclass_id_RW); in mfc_tclass_id_get()
132 return in_be64(&spu->priv1->resource_allocation_groupID_RW); in resource_allocation_groupID_get()
142 return in_be64(&spu->priv1->resource_allocation_enable_RW); in resource_allocation_enable_get()
Dras.c39 in_be64(&pregs->checkstop_fir)); in dump_fir()
41 in_be64(&pregs->checkstop_fir)); in dump_fir()
43 in_be64(&pregs->spec_att_mchk_fir)); in dump_fir()
48 in_be64(&iregs->ioc_fir)); in dump_fir()
288 if (in_be64(&regs->ras_esc_0) & 0x0000ffff) { in cbe_sysreset_hack()
Dcbe_thermal.c82 value.val = in_be64(&reg->val); in spu_read_register_value()
104 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
126 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
179 value = in_be64(&pmd_regs->ts_ctsr2); in ppe_show_temp()
Diommu.c148 while (in_be64(reg) & IOC_IOPT_CacheInvd_Busy) in invalidate_tce_cache()
237 stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in ioc_interrupt()
395 reg = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in cell_iommu_enable_hardware()
411 in_be64(iommu->xlate_regs + IOC_IOST_Origin); in cell_iommu_enable_hardware()
414 reg = in_be64(iommu->cmd_regs + IOC_IOCmd_Cfg) | IOC_IOCmd_Cfg_TE; in cell_iommu_enable_hardware()
702 (void)in_be64(xregs + IOC_IOST_Origin); in cell_disable_iommus()
703 val = in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()
706 (void)in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()
Dpmu.c54 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
328 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
329 *buf++ = in_be64(&pmd_regs->trace_buffer_64_127); in cbe_read_trace_buffer()
Dpervasive.c119 out_be64(&regs->pmcr, in_be64(&regs->pmcr) | in cbe_pervasive_init()
Dinterrupt.c101 bits = in_be64(&node_iic->iic_is); in iic_ioexc_cascade()
138 in_be64((u64 __iomem *) &iic->regs->pending_destr); in iic_get_irq()
/linux-6.6.21/drivers/edac/
Dcell_edac.c84 fir = in_be64(&priv->regs->mic_fir); in cell_edac_check()
92 addreg = in_be64(&priv->regs->mic_df_ecc_address_0); in cell_edac_check()
97 addreg = in_be64(&priv->regs->mic_df_ecc_address_1); in cell_edac_check()
102 addreg = in_be64(&priv->regs->mic_df_ecc_address_0); in cell_edac_check()
107 addreg = in_be64(&priv->regs->mic_df_ecc_address_1); in cell_edac_check()
118 (void)in_be64(&priv->regs->mic_fir); in cell_edac_check()
122 fir = in_be64(&priv->regs->mic_fir); in cell_edac_check()
184 reg = in_be64(&regs->mic_mnt_cfg); in cell_edac_probe()
197 in_be64(&regs->mic_fir)); in cell_edac_probe()
/linux-6.6.21/drivers/cpufreq/
Dppc_cbe_cpufreq_pervasive.c65 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
75 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
78 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
98 ret = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_get_pmode()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dswitch.c174 switch (in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
177 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
184 in_be64(&priv2->mfc_control_RW) | in save_mfc_cntl()
189 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
194 in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
260 csa->priv2.mfc_control_RW |= in_be64(&priv2->mfc_control_RW) & mask; in save_mfc_stopped_status()
304 POLL_WHILE_TRUE(in_be64(&prob->spc_mssync_RW) & MS_SYNC_PENDING); in do_mfc_mssync()
342 if ((in_be64(&priv2->mfc_control_RW) & MFC_CNTL_DMA_QUEUES_EMPTY) == 0) { in save_mfc_queues()
345 in_be64(&priv2->puq[i].mfc_cq_data0_RW); in save_mfc_queues()
347 in_be64(&priv2->puq[i].mfc_cq_data1_RW); in save_mfc_queues()
[all …]
Dhw_ops.c92 *data = in_be64(&priv2->puint_mb_R); in spu_hw_ibox_read()
141 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal1_type_set()
152 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 1) != 0); in spu_hw_signal1_type_get()
162 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal2_type_set()
173 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 2) != 0); in spu_hw_signal2_type_get()
Drun.c110 while ((in_be64(mfc_cntl) & MFC_CNTL_PURGE_DMA_STATUS_MASK) in spu_setup_isolated()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Drng.c90 *v = rng_whiten(rng, in_be64(rng->regs)); in pnv_get_random_long()
140 val = in_be64(rng->regs); in rng_create()
Docxl.c584 val = in_be64(arva + PNV_OCXL_ATSD_STAT); in pnv_ocxl_tlb_invalidate()
594 val = in_be64(arva + PNV_OCXL_ATSD_STAT); in pnv_ocxl_tlb_invalidate()
Dvas.h475 return in_be64(win->hvwc_map+reg); in read_hvwc_reg()
/linux-6.6.21/arch/powerpc/platforms/ps3/
Dspu.c368 while (in_be64(&spu_pdata(spu)->shadow->spe_execution_status) in ps3_create_spu()
514 return in_be64(&spu_pdata(spu)->shadow->mfc_dar_RW); in mfc_dar_get()
524 return in_be64(&spu_pdata(spu)->shadow->mfc_dsisr_RW); in mfc_dsisr_get()
/linux-6.6.21/drivers/misc/ocxl/
Dlink.c112 *dsisr = in_be64(spa->reg_dsisr); in read_irq()
113 *dar = in_be64(spa->reg_dar); in read_irq()
114 reg = in_be64(spa->reg_pe_handle); in read_irq()
/linux-6.6.21/arch/powerpc/include/asm/
Dio.h196 DEF_MMIO_IN_D(in_be64, 64, ld);
201 return swab64(in_be64(addr)); in in_le64()
213 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64() function
577 #define __do_readq_be(addr) in_be64(PCI_FIX_ADDR(addr))
Deeh.h412 u64 val = in_be64(addr); in eeh_readq_be()
/linux-6.6.21/drivers/misc/cxl/
Ddebugfs.c17 *val = in_be64((u64 __iomem *)data); in debugfs_io_u64_get()
Dcxl.h791 return in_be64(_cxl_p1_addr(cxl, reg)); in cxl_p1_read()
811 return in_be64(_cxl_p1n_addr(afu, reg)); in cxl_p1n_read()
830 return in_be64(_cxl_p2n_addr(afu, reg)); in cxl_p2n_read()
/linux-6.6.21/arch/powerpc/sysdev/xive/
Dnative.c403 in_be64(xive_tima + TM_SPC_PULL_POOL_CTX); in xive_native_setup_cpu()
440 in_be64(xive_tima + TM_SPC_PULL_POOL_CTX); in xive_native_teardown_cpu()
/linux-6.6.21/drivers/dma/
Dfsldma.h202 #define fsl_ioread64be(p) in_be64(p)
/linux-6.6.21/sound/ppc/
Dsnd_ps3.c795 the_card.audio_irq_outlet = in_be64(mapped); in snd_ps3_allocate_irq()
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_xive_native.c40 val = in_be64(xd->eoi_mmio + offset); in xive_vm_esb_load()

12