Home
last modified time | relevance | path

Searched refs:sbus_readl (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c262 sbus_readl(tregs + TCVR_MPAL); in idle_transceiver()
264 sbus_readl(tregs + TCVR_MPAL); in idle_transceiver()
274 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit()
277 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit()
282 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit()
285 sbus_readl(tregs + TCVR_MPAL); in write_tcvr_bit()
297 sbus_readl(tregs + TCVR_MPAL); in read_tcvr_bit()
300 sbus_readl(tregs + TCVR_MPAL); in read_tcvr_bit()
304 sbus_readl(tregs + TCVR_MPAL); in read_tcvr_bit()
462 sbus_readl(tregs + TCVR_MPAL); in bigmac_tcvr_init()
[all …]
H A Dsunqe.c69 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset()
110 u32 tmp = sbus_readl(cregs + CREG_CTRL); in qe_stop()
168 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init()
172 tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + in qe_init()
173 sbus_readl(gregs + GLOB_RSIZE); in qe_init()
475 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt()
481 qe_status = sbus_readl(qep->qcregs + CREG_STAT); in qec_interrupt()
786 ctrl = sbus_readl(qecp->gregs + GLOB_CTRL); in get_qec()
H A Dsunhme.c157 return sbus_readl(reg); in sbus_hme_read32()
224 sbus_readl(__reg)
/openbmc/linux/drivers/sbus/char/
H A Ductrl.c240 if (UCTRL_STAT_TXNF_STA & sbus_readl(&driver->regs->uctrl_stat)) \
253 if ((UCTRL_STAT_RXNE_STA & sbus_readl(&driver->regs->uctrl_stat)) == 0) \
257 value = sbus_readl(&driver->regs->uctrl_data); \
267 stat = sbus_readl(&driver->regs->uctrl_stat); in uctrl_do_txn()
268 intr = sbus_readl(&driver->regs->uctrl_intr); in uctrl_do_txn()
/openbmc/linux/drivers/video/fbdev/
H A Dleo.c203 (sbus_readl(&lx_krn->krn_csr) & LEO_KRN_CSR_PROGRESS) && in leo_wait()
237 val = sbus_readl(&par->lc_ss0_usr->csr); in leo_switch_from_graph()
247 sbus_writel(sbus_readl(&cursor->cur_misc) & ~LEO_CUR_ENABLE, &cursor->cur_misc); in leo_switch_from_graph()
301 val = sbus_readl(&lx_krn->krn_csr); in leo_setcolreg()
326 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
336 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
480 val = sbus_readl(&lx_krn->krn_csr); in leo_wid_put()
515 val = sbus_readl(&par->ld_ss1->ss1_misc); in leo_init_hw()
H A Dcg6.c277 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
342 val = sbus_readl(&fbc->draw); in cg6_fillrect()
384 i = sbus_readl(&fbc->blit); in cg6_copyarea()
526 val = sbus_readl(&thc->thc_misc); in cg6_blank()
618 conf = sbus_readl(par->fhc); in cg6_init_fix()
686 rev = (sbus_readl(par->fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK; in cg6_chip_init()
688 conf = (sbus_readl(par->fhc) & CG6_FHC_RES_MASK) | in cg6_chip_init()
700 mode = sbus_readl(&fbc->mode); in cg6_chip_init()
702 i = sbus_readl(&fbc->s); in cg6_chip_init()
H A Dp9100.c194 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
204 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
H A Dtcx.c139 u32 tmp = sbus_readl(p); in __tcx_set_control_plane()
213 val = sbus_readl(&thc->thc_misc); in tcx_blank()
/openbmc/linux/sound/sparc/
H A Ddbri.c723 tmp = sbus_readl(dbri->regs + REG0); in dbri_cmdsend()
738 sbus_readl(dbri->regs + REG0), in dbri_reset()
739 sbus_readl(dbri->regs + REG2), in dbri_reset()
740 sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9)); in dbri_reset()
748 tmp = sbus_readl(dbri->regs + REG0); in dbri_reset()
1446 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
1470 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
1523 tmp = sbus_readl(dbri->regs + REG0); in cs4215_setctrl()
1546 tmp = sbus_readl(dbri->regs + REG0); in cs4215_setctrl()
1939 x = sbus_readl(dbri->regs + REG1); in snd_dbri_interrupt()
[all …]
H A Dcs4231.c1618 csr = sbus_readl(chip->port + APCCSR); in snd_cs4231_sbus_interrupt()
1667 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_request()
1695 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_prepare()
1724 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_enable()
1746 return sbus_readl(base->regs + base->dir + APCVA); in sbus_dma_addr()
/openbmc/linux/arch/sparc/kernel/
H A Dsun4m_irq.c308 sbus_readl(&timers_global->l10_limit); in sun4m_clear_clock_irq()
323 si = sbus_readl(&sun4m_irq_global->pending); in sun4m_nmi()
349 sbus_readl(&timers_percpu[cpu]->l14_limit); in sun4m_clear_profile_irq()
H A Dtime_32.c141 val = sbus_readl(master_l10_counter); in sbus_cycles_offset()
H A Dsun4d_irq.c270 sbus_readl(&sun4d_timers->l10_timer_limit); in sun4d_clear_clock_irq()
/openbmc/linux/drivers/net/ethernet/amd/
H A Dsunlance.c436 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
440 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma()
444 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
485 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance()
494 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance()
656 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
844 u32 addr = sbus_readl(lp->dregs + DMA_ADDR); in lance_interrupt()
856 u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); in lance_interrupt()
986 csr = sbus_readl(lp->dregs + DMA_CSR); in lance_reset()
1434 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_probe_one()
/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c56 tmp = sbus_readl(&regs->p_csr); in parport_sunbpp_disable_irq()
66 tmp = sbus_readl(&regs->p_csr); in parport_sunbpp_enable_irq()
/openbmc/linux/arch/sparc/include/asm/
H A Dio_32.h75 static inline u32 sbus_readl(const volatile void __iomem *addr) in sbus_readl() function
H A Dio_64.h314 static inline u32 sbus_readl(const volatile void __iomem *addr) in sbus_readl() function
/openbmc/u-boot/include/linux/
H A Dfb.h532 #define fb_readl sbus_readl
/openbmc/linux/arch/sparc/mm/
H A Diommu.c80 control = sbus_readl(&iommu->regs->control); in sbus_iommu_init()
/openbmc/linux/drivers/scsi/
H A Dsun_esp.c33 sbus_readl(esp->dma_regs + (REG))
/openbmc/linux/drivers/atm/
H A Dfore200e.c634 return sbus_readl(addr); in fore200e_sba_read()