Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
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 …]
Dmyri_sbus.c135 if (sbus_readl(&chan->state) == STATE_READY) { in myri_do_handshake()
150 softstate = sbus_readl(&chan->state); in myri_do_handshake()
233 if (sbus_readl(&shmem->channel.state) != STATE_READY) in myri_load_lanai()
266 dma_addr = sbus_readl(&rxd->myri_scatters[0].addr); in myri_clean_rings()
283 dma_addr = sbus_readl(&txd->myri_gathers[0].addr); in myri_clean_rings()
359 int limit = sbus_readl(&sq->head); in myri_tx()
369 dma_addr = sbus_readl(&sq->myri_txd[entry].myri_gathers[0].addr); in myri_tx()
428 int entry = sbus_readl(&rqa->head); in myri_rx()
429 int limit = sbus_readl(&rqa->tail); in myri_rx()
439 u32 csum = sbus_readl(&rxdack->csum); in myri_rx()
[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()
167 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init()
171 tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + in qe_init()
172 sbus_readl(gregs + GLOB_RSIZE); in qe_init()
477 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt()
483 qe_status = sbus_readl(qep->qcregs + CREG_STAT); in qec_interrupt()
792 ctrl = sbus_readl(qecp->gregs + GLOB_CTRL); in get_qec()
Dsunlance.c442 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
446 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma()
450 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
491 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance()
500 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance()
664 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb()
854 u32 addr = sbus_readl(lp->dregs + DMA_ADDR); in lance_interrupt()
866 u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); in lance_interrupt()
996 csr = sbus_readl(lp->dregs + DMA_CSR); in lance_reset()
1456 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_probe_one()
Dsunhme.c194 return sbus_readl(reg); in sbus_hme_read32()
269 sbus_readl(__reg)
/linux-2.6.39/drivers/sbus/char/
Ductrl.c244 if (UCTRL_STAT_TXNF_STA & sbus_readl(&driver->regs->uctrl_stat)) \
257 if ((UCTRL_STAT_RXNE_STA & sbus_readl(&driver->regs->uctrl_stat)) == 0) \
261 value = sbus_readl(&driver->regs->uctrl_data); \
271 stat = sbus_readl(&driver->regs->uctrl_stat); in uctrl_do_txn()
272 intr = sbus_readl(&driver->regs->uctrl_intr); in uctrl_do_txn()
/linux-2.6.39/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-2.6.39/sound/sparc/
Ddbri.c640 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()
664 else if (len < sbus_readl(dbri->regs + REG8) - dbri->dma_dvma) in dbri_cmdlock()
715 tmp = sbus_readl(dbri->regs + REG0); in dbri_cmdsend()
730 sbus_readl(dbri->regs + REG0), in dbri_reset()
731 sbus_readl(dbri->regs + REG2), in dbri_reset()
732 sbus_readl(dbri->regs + REG8), sbus_readl(dbri->regs + REG9)); in dbri_reset()
735 for (i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++) in dbri_reset()
740 tmp = sbus_readl(dbri->regs + REG0); in dbri_reset()
1436 tmp = sbus_readl(dbri->regs + REG0); in cs4215_open()
1460 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-2.6.39/arch/sparc/kernel/
Dsun4m_irq.c316 sbus_readl(&timers_global->l10_limit); in sun4m_clear_clock_irq()
331 si = sbus_readl(&sun4m_irq_global->pending); in sun4m_nmi()
349 sbus_readl(&timers_percpu[cpu]->l14_limit); in sun4m_clear_profile_irq()
Dsun4c_irq.c137 sbus_readl(&sun4c_timers->l10_limit); in sun4c_clear_clock_irq()
Dsun4d_irq.c425 sbus_readl(&sun4d_timers->l10_timer_limit); in sun4d_clear_clock_irq()
/linux-2.6.39/arch/m68k/include/asm/
Dsbus.h42 #define sbus_readl(a) _sbus_readl((unsigned long)a) macro
/linux-2.6.39/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-2.6.39/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-2.6.39/drivers/scsi/
Dsun_esp.c31 sbus_readl(esp->dma_regs + (REG))
/linux-2.6.39/include/linux/
Dfb.h930 #define fb_readl sbus_readl
/linux-2.6.39/drivers/atm/
Dfore200e.c667 return sbus_readl(addr); in fore200e_sba_read()