Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunbmac.c86 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { in qec_global_reset()
138 while ((sbus_readl(bregs + BMAC_TXCFG) & ~(BIGMAC_TXCFG_FIFO)) != 0 && in bigmac_tx_reset()
145 sbus_readl(bregs + BMAC_TXCFG)); in bigmac_tx_reset()
154 while (sbus_readl(bregs + BMAC_RXCFG) && --tries) in bigmac_rx_reset()
160 sbus_readl(bregs + BMAC_RXCFG)); in bigmac_rx_reset()
175 stats->rx_crc_errors += sbus_readl(bregs + BMAC_RCRCECTR); in bigmac_get_counters()
178 stats->rx_frame_errors += sbus_readl(bregs + BMAC_UNALECTR); in bigmac_get_counters()
181 stats->rx_length_errors += sbus_readl(bregs + BMAC_GLECTR); in bigmac_get_counters()
184 stats->tx_aborted_errors += sbus_readl(bregs + BMAC_EXCTR); in bigmac_get_counters()
187 (sbus_readl(bregs + BMAC_EXCTR) + in bigmac_get_counters()
[all …]
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()
Dsunhme.c193 return sbus_readl(reg); in sbus_hme_read32()
268 sbus_readl(__reg)
/kernel/linux/linux-5.10/drivers/sbus/char/
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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dleo.c202 (sbus_readl(&lx_krn->krn_csr) & LEO_KRN_CSR_PROGRESS) && in leo_wait()
236 val = sbus_readl(&par->lc_ss0_usr->csr); in leo_switch_from_graph()
246 sbus_writel(sbus_readl(&cursor->cur_misc) & ~LEO_CUR_ENABLE, &cursor->cur_misc); in leo_switch_from_graph()
300 val = sbus_readl(&lx_krn->krn_csr); in leo_setcolreg()
325 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
335 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
479 val = sbus_readl(&lx_krn->krn_csr); in leo_wid_put()
514 val = sbus_readl(&par->ld_ss1->ss1_misc); in leo_init_hw()
Dcg6.c276 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
341 val = sbus_readl(&fbc->draw); in cg6_fillrect()
383 i = sbus_readl(&fbc->blit); in cg6_copyarea()
525 val = sbus_readl(&thc->thc_misc); in cg6_blank()
617 conf = sbus_readl(par->fhc); in cg6_init_fix()
685 rev = (sbus_readl(par->fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK; in cg6_chip_init()
687 conf = (sbus_readl(par->fhc) & CG6_FHC_RES_MASK) | in cg6_chip_init()
699 mode = sbus_readl(&fbc->mode); in cg6_chip_init()
701 i = sbus_readl(&fbc->s); in cg6_chip_init()
Dp9100.c193 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
203 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
Dtcx.c138 u32 tmp = sbus_readl(p); in __tcx_set_control_plane()
212 val = sbus_readl(&thc->thc_misc); in tcx_blank()
/kernel/linux/linux-5.10/sound/sparc/
Ddbri.c646 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()
672 else if (len < sbus_readl(dbri->regs + REG8) - dvma_addr) in dbri_cmdlock()
724 tmp = sbus_readl(dbri->regs + REG0); in dbri_cmdsend()
739 sbus_readl(dbri->regs + REG0), in dbri_reset()
740 sbus_readl(dbri->regs + REG2), in dbri_reset()
741 sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9)); in dbri_reset()
744 for (i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++) in dbri_reset()
749 tmp = sbus_readl(dbri->regs + REG0); in dbri_reset()
1447 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
1471 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
[all …]
Dcs4231.c1619 csr = sbus_readl(chip->port + APCCSR); in snd_cs4231_sbus_interrupt()
1668 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_request()
1696 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_prepare()
1725 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_enable()
1747 return sbus_readl(base->regs + base->dir + APCVA); in sbus_dma_addr()
/kernel/linux/linux-5.10/arch/sparc/kernel/
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()
Dtime_32.c142 val = sbus_readl(master_l10_counter); in sbus_cycles_offset()
Dsun4d_irq.c270 sbus_readl(&sun4d_timers->l10_timer_limit); in sun4d_clear_clock_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
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()
1436 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_probe_one()
/kernel/linux/linux-5.10/drivers/parport/
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()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dio_32.h75 static inline u32 sbus_readl(const volatile void __iomem *addr) in sbus_readl() function
Dio_64.h300 static inline u32 sbus_readl(const volatile void __iomem *addr) in sbus_readl() function
/kernel/linux/linux-5.10/arch/sparc/mm/
Diommu.c79 control = sbus_readl(&iommu->regs->control); in sbus_iommu_init()
/kernel/linux/linux-5.10/drivers/scsi/
Dsun_esp.c32 sbus_readl(esp->dma_regs + (REG))
/kernel/linux/linux-5.10/include/linux/
Dfb.h536 #define fb_readl sbus_readl
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.c636 return sbus_readl(addr); in fore200e_sba_read()