Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/powerpc/platforms/cell/
Dspu_priv1_mmio.c43 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_and()
51 old_mask = in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_or()
62 return in_be64(&spu->priv1->int_mask_RW[class]); in int_mask_get()
72 return in_be64(&spu->priv1->int_stat_RW[class]); in int_stat_get()
95 return in_be64(&spu->priv1->mfc_dar_RW); in mfc_dar_get()
100 return in_be64(&spu->priv1->mfc_dsisr_RW); in mfc_dsisr_get()
120 return in_be64(&spu->priv1->mfc_sr1_RW); in mfc_sr1_get()
130 return in_be64(&spu->priv1->mfc_tclass_id_RW); in mfc_tclass_id_get()
145 return in_be64(&spu->priv1->resource_allocation_groupID_RW); in resource_allocation_groupID_get()
155 return in_be64(&spu->priv1->resource_allocation_enable_RW); in resource_allocation_enable_get()
Dras.c43 in_be64(&pregs->checkstop_fir)); in dump_fir()
45 in_be64(&pregs->checkstop_fir)); in dump_fir()
47 in_be64(&pregs->spec_att_mchk_fir)); in dump_fir()
52 in_be64(&iregs->ioc_fir)); in dump_fir()
292 if (in_be64(&regs->ras_esc_0) & 0x0000ffff) { in cbe_sysreset_hack()
Dcbe_thermal.c96 value.val = in_be64(&reg->val); in spu_read_register_value()
118 value = in_be64(&pmd_regs->tm_tpr.val); in show_throttle()
140 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
193 value = in_be64(&pmd_regs->ts_ctsr2); in ppe_show_temp()
Dpmu.c66 (val) = (u32)(in_be64(&pmd_regs->reg) >> 32); \
340 *buf++ = in_be64(&pmd_regs->trace_buffer_0_63); in cbe_read_trace_buffer()
341 *buf++ = in_be64(&pmd_regs->trace_buffer_64_127); in cbe_read_trace_buffer()
Diommu.c159 while (in_be64(reg) & IOC_IOPT_CacheInvd_Busy) in invalidate_tce_cache()
248 stat = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in ioc_interrupt()
406 reg = in_be64(iommu->xlate_regs + IOC_IO_ExcpStat); in cell_iommu_enable_hardware()
422 in_be64(iommu->xlate_regs + IOC_IOST_Origin); in cell_iommu_enable_hardware()
425 reg = in_be64(iommu->cmd_regs + IOC_IOCmd_Cfg) | IOC_IOCmd_Cfg_TE; in cell_iommu_enable_hardware()
797 (void)in_be64(xregs + IOC_IOST_Origin); in cell_disable_iommus()
798 val = in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()
801 (void)in_be64(cregs + IOC_IOCmd_Cfg); in cell_disable_iommus()
Dpervasive.c131 out_be64(&regs->pmcr, in_be64(&regs->pmcr) | in cbe_pervasive_init()
Dinterrupt.c113 bits = in_be64(&node_iic->iic_is); in iic_ioexc_cascade()
154 in_be64((u64 __iomem *) &iic->regs->pending_destr); in iic_get_irq()
/Linux-v4.19/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-v4.19/drivers/cpufreq/
Dppc_cbe_cpufreq_pervasive.c78 value = in_be64(&pmd_regs->pmcr); in cbe_cpufreq_set_pmode()
88 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
91 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()
111 ret = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_get_pmode()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dswitch.c188 switch (in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
191 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
198 in_be64(&priv2->mfc_control_RW) | in save_mfc_cntl()
203 POLL_WHILE_FALSE((in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
208 in_be64(&priv2->mfc_control_RW) & in save_mfc_cntl()
274 csa->priv2.mfc_control_RW |= in_be64(&priv2->mfc_control_RW) & mask; in save_mfc_stopped_status()
318 POLL_WHILE_TRUE(in_be64(&prob->spc_mssync_RW) & MS_SYNC_PENDING); in do_mfc_mssync()
356 if ((in_be64(&priv2->mfc_control_RW) & MFC_CNTL_DMA_QUEUES_EMPTY) == 0) { in save_mfc_queues()
359 in_be64(&priv2->puq[i].mfc_cq_data0_RW); in save_mfc_queues()
361 in_be64(&priv2->puq[i].mfc_cq_data1_RW); in save_mfc_queues()
[all …]
Dhw_ops.c105 *data = in_be64(&priv2->puint_mb_R); in spu_hw_ibox_read()
154 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal1_type_set()
165 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 1) != 0); in spu_hw_signal1_type_get()
175 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal2_type_set()
186 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-v4.19/arch/powerpc/platforms/powernv/
Drng.c113 *v = rng_whiten(rng, in_be64(rng->regs)); in powernv_get_random_long()
161 val = in_be64(rng->regs); in rng_create()
Dvas.h448 return in_be64(win->hvwc_map+reg); in read_hvwc_reg()
Deeh-powernv.c182 *val = in_be64(phb->regs + offset); in pnv_eeh_dbgfs_get()
/Linux-v4.19/arch/powerpc/platforms/ps3/
Dspu.c385 while (in_be64(&spu_pdata(spu)->shadow->spe_execution_status) in ps3_create_spu()
531 return in_be64(&spu_pdata(spu)->shadow->mfc_dar_RW); in mfc_dar_get()
541 return in_be64(&spu_pdata(spu)->shadow->mfc_dsisr_RW); in mfc_dsisr_get()
/Linux-v4.19/arch/powerpc/include/asm/
Dio.h195 DEF_MMIO_IN_D(in_be64, 64, ld);
200 return swab64(in_be64(addr)); in in_le64()
212 static inline u64 in_be64(const volatile u64 __iomem *addr) in in_be64() function
543 #define __do_readq_be(addr) in_be64(PCI_FIX_ADDR(addr))
Deeh.h425 u64 val = in_be64(addr); in eeh_readq_be()
/Linux-v4.19/drivers/misc/ocxl/
Dlink.c103 *dsisr = in_be64(spa->reg_dsisr); in read_irq()
104 *dar = in_be64(spa->reg_dar); in read_irq()
105 reg = in_be64(spa->reg_pe_handle); in read_irq()
/Linux-v4.19/drivers/misc/cxl/
Ddebugfs.c21 *val = in_be64((u64 __iomem *)data); in debugfs_io_u64_get()
Dcxl.h793 return in_be64(_cxl_p1_addr(cxl, reg)); in cxl_p1_read()
813 return in_be64(_cxl_p1n_addr(afu, reg)); in cxl_p1n_read()
832 return in_be64(_cxl_p2n_addr(afu, reg)); in cxl_p2n_read()
/Linux-v4.19/drivers/dma/
Dfsldma.h200 static u64 in_be64(const u64 __iomem *addr) in in_be64() function
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dnative.c394 in_be64(xive_tima + TM_SPC_PULL_POOL_CTX); in xive_native_setup_cpu()
431 in_be64(xive_tima + TM_SPC_PULL_POOL_CTX); in xive_native_teardown_cpu()
Dcommon.c205 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read()
/Linux-v4.19/sound/ppc/
Dsnd_ps3.c831 the_card.audio_irq_outlet = in_be64(mapped); in snd_ps3_allocate_irq()

12