Home
last modified time | relevance | path

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

/linux-3.4.99/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.c68 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset()
109 u32 tmp = sbus_readl(cregs + CREG_CTRL); in qe_stop()
166 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init()
170 tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + in qe_init()
171 sbus_readl(gregs + GLOB_RSIZE); in qe_init()
476 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt()
482 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)
/linux-3.4.99/drivers/sbus/char/
Ductrl.c243 if (UCTRL_STAT_TXNF_STA & sbus_readl(&driver->regs->uctrl_stat)) \
256 if ((UCTRL_STAT_RXNE_STA & sbus_readl(&driver->regs->uctrl_stat)) == 0) \
260 value = sbus_readl(&driver->regs->uctrl_data); \
270 stat = sbus_readl(&driver->regs->uctrl_stat); in uctrl_do_txn()
271 intr = sbus_readl(&driver->regs->uctrl_intr); in uctrl_do_txn()
/linux-3.4.99/drivers/video/
Dleo.c201 (sbus_readl(&lx_krn->krn_csr) & LEO_KRN_CSR_PROGRESS) && in leo_wait()
235 val = sbus_readl(&par->lc_ss0_usr->csr); in leo_switch_from_graph()
245 sbus_writel(sbus_readl(&cursor->cur_misc) & ~LEO_CUR_ENABLE, &cursor->cur_misc); in leo_switch_from_graph()
299 val = sbus_readl(&lx_krn->krn_csr); in leo_setcolreg()
324 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
334 val = sbus_readl(&lx_krn->krn_csr); in leo_blank()
478 val = sbus_readl(&lx_krn->krn_csr); in leo_wid_put()
513 val = sbus_readl(&par->ld_ss1->ss1_misc); in leo_init_hw()
Dcg6.c275 if (!(sbus_readl(&fbc->s) & 0x10000000)) in cg6_sync()
340 val = sbus_readl(&fbc->draw); in cg6_fillrect()
382 i = sbus_readl(&fbc->blit); in cg6_copyarea()
524 val = sbus_readl(&thc->thc_misc); in cg6_blank()
616 conf = sbus_readl(par->fhc); in cg6_init_fix()
684 rev = (sbus_readl(par->fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK; in cg6_chip_init()
686 conf = (sbus_readl(par->fhc) & CG6_FHC_RES_MASK) | in cg6_chip_init()
698 mode = sbus_readl(&fbc->mode); in cg6_chip_init()
700 i = sbus_readl(&fbc->s); in cg6_chip_init()
Dp9100.c192 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
202 val = sbus_readl(&regs->vid_screenpaint_timectl1); in p9100_blank()
Dtcx.c137 u32 tmp = sbus_readl(p); in __tcx_set_control_plane()
211 val = sbus_readl(&thc->thc_misc); in tcx_blank()
/linux-3.4.99/sound/sparc/
Ddbri.c641 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()
665 else if (len < sbus_readl(dbri->regs + REG8) - dbri->dma_dvma) in dbri_cmdlock()
716 tmp = sbus_readl(dbri->regs + REG0); in dbri_cmdsend()
731 sbus_readl(dbri->regs + REG0), in dbri_reset()
732 sbus_readl(dbri->regs + REG2), in dbri_reset()
733 sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9)); in dbri_reset()
736 for (i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++) in dbri_reset()
741 tmp = sbus_readl(dbri->regs + REG0); in dbri_reset()
1437 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
1461 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
[all …]
Dcs4231.c1637 csr = sbus_readl(chip->port + APCCSR); in snd_cs4231_sbus_interrupt()
1686 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_request()
1714 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_prepare()
1743 csr = sbus_readl(base->regs + APCCSR); in sbus_dma_enable()
1765 return sbus_readl(base->regs + base->dir + APCVA); in sbus_dma_addr()
/linux-3.4.99/arch/m68k/include/asm/
Dsbus.h42 #define sbus_readl(a) _sbus_readl((unsigned long)a) macro
/linux-3.4.99/arch/sparc/kernel/
Dsun4m_irq.c326 sbus_readl(&timers_global->l10_limit); in sun4m_clear_clock_irq()
341 si = sbus_readl(&sun4m_irq_global->pending); in sun4m_nmi()
367 sbus_readl(&timers_percpu[cpu]->l14_limit); in sun4m_clear_profile_irq()
Dsun4c_irq.c169 sbus_readl(&sun4c_timers->l10_limit); in sun4c_clear_clock_irq()
Dsun4d_irq.c280 sbus_readl(&sun4d_timers->l10_timer_limit); in sun4d_clear_clock_irq()
/linux-3.4.99/drivers/net/ethernet/amd/
Dsunlance.c441 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
445 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma()
449 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
490 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance()
499 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance()
663 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
853 u32 addr = sbus_readl(lp->dregs + DMA_ADDR); in lance_interrupt()
865 u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); in lance_interrupt()
995 csr = sbus_readl(lp->dregs + DMA_CSR); in lance_reset()
1449 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_probe_one()
/linux-3.4.99/drivers/parport/
Dparport_sunbpp.c55 tmp = sbus_readl(&regs->p_csr); in parport_sunbpp_disable_irq()
65 tmp = sbus_readl(&regs->p_csr); in parport_sunbpp_enable_irq()
/linux-3.4.99/arch/sparc/include/asm/
Dio_32.h184 #define sbus_readl(__addr) _sbus_readl(__addr) macro
Dio_64.h391 #define sbus_readl(__addr) _sbus_readl(__addr) macro
/linux-3.4.99/drivers/scsi/
Dsun_esp.c31 sbus_readl(esp->dma_regs + (REG))
/linux-3.4.99/include/linux/
Dfb.h935 #define fb_readl sbus_readl
/linux-3.4.99/drivers/atm/
Dfore200e.c667 return sbus_readl(addr); in fore200e_sba_read()