/linux-2.4.37.9/drivers/net/ |
D | sunbmac.c | 79 if (sbus_readl(gregs + GLOB_CTRL) & GLOB_CTRL_RESET) { in qec_global_reset() 131 while ((sbus_readl(bregs + BMAC_TXCFG) & ~(BIGMAC_TXCFG_FIFO)) != 0 && in bigmac_tx_reset() 138 sbus_readl(bregs + BMAC_TXCFG)); in bigmac_tx_reset() 147 while (sbus_readl(bregs + BMAC_RXCFG) && --tries) in bigmac_rx_reset() 153 sbus_readl(bregs + BMAC_RXCFG)); in bigmac_rx_reset() 168 stats->rx_crc_errors += sbus_readl(bregs + BMAC_RCRCECTR); in bigmac_get_counters() 171 stats->rx_frame_errors += sbus_readl(bregs + BMAC_UNALECTR); in bigmac_get_counters() 174 stats->rx_length_errors += sbus_readl(bregs + BMAC_GLECTR); in bigmac_get_counters() 177 stats->tx_aborted_errors += sbus_readl(bregs + BMAC_EXCTR); in bigmac_get_counters() 180 (sbus_readl(bregs + BMAC_EXCTR) + in bigmac_get_counters() [all …]
|
D | myri_sbus.c | 143 if (sbus_readl(&chan->state) == STATE_READY) { in myri_do_handshake() 158 softstate = sbus_readl(&chan->state); in myri_do_handshake() 226 if (sbus_readl(&shmem->channel.state) != STATE_READY) in myri_load_lanai() 258 dma_addr = sbus_readl(&rxd->myri_scatters[0].addr); in myri_clean_rings() 274 dma_addr = sbus_readl(&txd->myri_gathers[0].addr); in myri_clean_rings() 355 int limit = sbus_readl(&sq->head); in myri_tx() 365 dma_addr = sbus_readl(&sq->myri_txd[entry].myri_gathers[0].addr); in myri_tx() 423 int entry = sbus_readl(&rqa->head); in myri_rx() 424 int limit = sbus_readl(&rqa->tail); in myri_rx() 434 u32 csum = sbus_readl(&rxdack->csum); in myri_rx() [all …]
|
D | sunqe.c | 62 u32 tmp = sbus_readl(gregs + GLOB_CTRL); in qec_global_reset() 103 u32 tmp = sbus_readl(cregs + CREG_CTRL); in qe_stop() 160 tmp = qep->channel * sbus_readl(gregs + GLOB_MSIZE); in qe_init() 164 tmp = sbus_readl(cregs + CREG_RXRBUFPTR) + in qe_init() 165 sbus_readl(gregs + GLOB_RSIZE); in qe_init() 471 qec_status = sbus_readl(qecp->gregs + GLOB_STAT); in qec_interrupt() 477 qe_status = sbus_readl(qep->qcregs + CREG_STAT); in qec_interrupt() 797 if ((sbus_readl(qecp->gregs + GLOB_CTRL) & 0xf0000000) != GLOB_CTRL_MMODE) { in qec_ether_init()
|
D | sunlance.c | 439 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma() 443 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma() 447 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma() 488 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance() 497 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance() 663 *p32++ = sbus_readl(pbuf); in lance_piocopy_to_skb() 855 u32 addr = sbus_readl(lp->dregs + DMA_ADDR); in lance_interrupt() 867 u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); in lance_interrupt() 997 csr = sbus_readl(lp->dregs + DMA_CSR); in lance_reset() 1440 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_init()
|
D | sunhme.c | 214 return sbus_readl(reg); in sbus_hme_read32() 287 sbus_readl(__reg)
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | dma.h | 156 #define DMA_ERROR_P(regs) (sbus_readl((regs) + DMA_CSR) & DMA_HNDL_ERROR) 157 #define DMA_IRQ_P(regs) ((sbus_readl((regs) + DMA_CSR)) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)) 158 #define DMA_WRITE_P(regs) (sbus_readl((regs) + DMA_CSR) & DMA_ST_WRITE) 160 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ 165 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ 170 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ 175 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ 182 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ 187 do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \
|
D | io.h | 328 #define sbus_readl(__addr) (_sbus_readl((unsigned long)(__addr))) macro
|
/linux-2.4.37.9/drivers/sbus/ |
D | dvma.c | 24 sbus_readl(dregs + DMA_CSR), sbus_readl(dregs + DMA_ADDR), in dump_dma_regs() 25 sbus_readl(dregs + DMA_COUNT), sbus_readl(dregs + DMA_TEST)); in dump_dma_regs() 35 switch(sbus_readl(dma->regs + DMA_CSR)&DMA_DEVICE_ID) { in init_one_dvma() 62 sbus_readl(dma->regs + DMA_CSR) & DMA_DEVICE_ID); in init_one_dvma()
|
/linux-2.4.37.9/drivers/fc4/ |
D | socal.c | 67 *dp++ = sbus_readl(xram); in socal_copy_from_xram() 108 SOD(("imask %08x %08x\n", s->imask, sbus_readl(s->regs + IMASK))); in socal_enable() 163 if (sbus_readl(&u[0]) == 0x00003000 || in socal_solicited() 164 sbus_readl(&u[0]) == 0x00003801) { in socal_solicited() 168 sbus_readl(&u[0]), sbus_readl(&u[1]), in socal_solicited() 169 sbus_readl(&u[2]), sbus_readl(&u[3]), in socal_solicited() 170 sbus_readl(&u[4]), sbus_readl(&u[5]), in socal_solicited() 171 sbus_readl(&u[6]), sbus_readl(&u[7]))) in socal_solicited() 174 sbus_readl(&u[0]), sbus_readl(&u[1]), in socal_solicited() 175 sbus_readl(&u[2]), sbus_readl(&u[3]), in socal_solicited() [all …]
|
D | soc.c | 79 SOD(("imask %08lx %08lx\n", s->imask, sbus_readl(s->regs + IMAK))); in soc_enable() 158 sbus_readl(s->regs + CMD); in soc_solicited() 170 SOD(("imask %08lx %08lx\n", s->imask, sbus_readl(s->regs + IMASK))); in soc_request() 233 sbus_readl(s->regs + CMD); in soc_unsolicited() 330 sbus_readl(s->regs + CMD); in soc_unsolicited() 344 cmd = sbus_readl(s->regs + CMD); in soc_intr() 345 for (; (cmd = SOC_INTR (s, cmd)); cmd = sbus_readl(s->regs + CMD)) { in soc_intr() 382 SOD(("imask %08lx %08lx\n", s->imask, sbus_readl(s->regs + IMASK))); in soc_hw_enque() 514 sbus_readl(s->regs + CMD); in soc_hw_enque()
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | vfc_i2c.c | 127 sbus_readl(&dev->regs->i2c_s1))); in vfc_i2c_reset_bus() 135 while(!(sbus_readl(&dev->regs->i2c_s1) & BB)) { in vfc_i2c_wait_for_bus() 148 while ((s1 = sbus_readl(&dev->regs->i2c_s1)) & PIN) { in vfc_i2c_wait_for_pin() 202 if ((ret = sbus_readl(&dev->regs->i2c_reg) & 0xff000000) != raddr) { in vfc_i2c_xmit_addr() 253 *byte = (sbus_readl(&dev->regs->i2c_reg)) >> 24; in vfc_i2c_recv_byte()
|
D | bpp.c | 991 csr = sbus_readl(rp + BPP_CSR); in probeLptPort() 994 csr = sbus_readl(rp + BPP_CSR); in probeLptPort() 1002 sbus_writel(sbus_readl(rp + BPP_CSR) & ~P_RESET, rp + BPP_CSR); in probeLptPort() 1003 csr = sbus_readl(rp + BPP_CSR); in probeLptPort()
|
D | vfc_dev.c | 304 dev->control_reg = sbus_readl(&dev->regs->control); in vfc_capture_start() 574 tmp = sbus_readl(&dev->regs->control); in vfc_ioctl()
|
/linux-2.4.37.9/drivers/video/ |
D | leofb.c | 185 i = sbus_readl(&us->csr); in leo_clear() 216 i = sbus_readl(&us->csr); in leo_fill() 255 i = sbus_readl(&us->csr); in leo_putc() 293 i = sbus_readl(&us->csr); in leo_putcs() 404 for (i = 0; (sbus_readl(&lx_krn->krn_csr) & LEO_KRN_CSR_PROGRESS) && i < 300000; i++) in leo_wait() 434 tmp = sbus_readl(&lx_krn->krn_csr); in leo_loadcmap() 447 tmp = sbus_readl(&fb->s.leo.ld_ss1->ss1_misc); in leo_restore_palette() 470 for (i = 0; (sbus_readl(&l->cur_misc) & LEO_CUR_PROGRESS) && i < 300000; i++) in leo_setcursormap() 492 tmp = sbus_readl(&l->cur_misc); in leo_setcurshape() 507 tmp = sbus_readl(&l->cur_misc); in leo_setcurshape() [all …]
|
D | cgsixfb.c | 242 i = sbus_readl(&fbc->s); in cg6_clear() 267 i = sbus_readl(&fbc->draw); in cg6_clear() 281 i = sbus_readl(&fbc->s); in cg6_fill() 297 i = sbus_readl(&fbc->draw); in cg6_fill() 328 i = sbus_readl(&fbc->s); in cg6_putc() 371 i = sbus_readl(&fbc->s); in cg6_putcs() 591 tmp = sbus_readl(&fb->s.cg6.thc->thc_misc); in cg6_blank() 603 tmp = sbus_readl(&fb->s.cg6.thc->thc_misc); in cg6_unblank() 626 rev = (sbus_readl(fb->s.cg6.fhc) >> CG6_FHC_REV_SHIFT) & CG6_FHC_REV_MASK; in cg6_reset() 628 conf = (sbus_readl(fb->s.cg6.fhc) & CG6_FHC_RES_MASK) | in cg6_reset() [all …]
|
D | p9100fb.c | 45 out = sbus_readl(&actual-> ## member ); \ 53 out = sbus_readl(&enab-> ## member ); \ 54 out = sbus_readl(&actual-> ## member ); \ 63 __writetmp = sbus_readl(&enab-> ## member ); \
|
D | tcxfb.c | 97 u32 tmp = sbus_readl(p); in __tcx_set_control_plane() 207 tmp = sbus_readl(&fb->s.tcx.thc->thc_misc); in tcx_blank() 222 tmp = sbus_readl(&fb->s.tcx.thc->thc_misc); in tcx_unblank() 246 tmp = sbus_readl(&fb->s.tcx.bt->control); in tcx_reset() 355 ((sbus_readl(&fb->s.tcx.thc->thc_rev) >> TCX_THC_REV_REV_SHIFT) & in tcxfb_init() 357 ((sbus_readl(&fb->s.tcx.thc->thc_rev) >> TCX_THC_REV_MINREV_SHIFT) & in tcxfb_init()
|
/linux-2.4.37.9/drivers/sbus/audio/ |
D | dbri.c | 192 (sbus_readl(dbri->regs + REG0) & D_P)) in dbri_cmdsend() 220 sbus_readl(dbri->regs + REG0), in dbri_reset() 221 sbus_readl(dbri->regs + REG2), in dbri_reset() 222 sbus_readl(dbri->regs + REG8), in dbri_reset() 223 sbus_readl(dbri->regs + REG9))); in dbri_reset() 226 for(i = 0; (sbus_readl(dbri->regs + REG0) & D_R) && i < 64; i++) in dbri_reset() 265 tmp = sbus_readl(dbri->regs + REG0); in dbri_initialize() 512 x = sbus_readl(dbri->regs + REG1); in dbri_intr() 533 tmp = sbus_readl(dbri->regs + REG0); in dbri_intr() 1327 tmp = sbus_readl(dbri->regs + REG0); in mmcodec_init_data() [all …]
|
D | cs4231.h | 68 sbus_readl((__REG))) 83 #define CS4231_READ32(__C, __REG) sbus_readl((__REG))
|
D | cs4231.c | 750 u32 dmapc = sbus_readl(cs4231_chip->regs + APCPC); in cs4231_get_output_samples() 762 u32 dmacc = sbus_readl(cs4231_chip->regs + APCCC); in cs4231_get_input_samples() 977 tmp = sbus_readl(cs4231_chip->regs + APCCSR); in cs4231_chip_reset() 983 tmp = sbus_readl(cs4231_chip->regs + APCCSR); in cs4231_chip_reset() 1121 tmp = sbus_readl(cs4231_chip->regs + APCCC); in cs4231_getsamplecount() 1123 tmp = sbus_readl(cs4231_chip->regs + APCCNC); in cs4231_getsamplecount() 1128 tmp = sbus_readl(cs4231_chip->regs + APCPC); in cs4231_getsamplecount() 1130 tmp = sbus_readl(cs4231_chip->regs + APCPNC); in cs4231_getsamplecount() 1534 csr = sbus_readl(cs4231_chip->regs + APCCSR); in cs4231_start_output() 1543 pnva = sbus_readl(cs4231_chip->regs + APCPNVA); in cs4231_start_output() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | esp.c | 393 sbus_writel(sbus_readl((__dregs)+DMA_CSR)&~(DMA_INT_ENAB), (__dregs)+DMA_CSR) 395 sbus_writel(sbus_readl((__dregs)+DMA_CSR)|DMA_INT_ENAB, (__dregs)+DMA_CSR) 397 (sbus_readl((__dregs)+DMA_CSR) & (DMA_HNDL_INTR|DMA_HNDL_ERROR)) 486 tmp = sbus_readl(esp->dregs + DMA_CSR); in esp_reset_dma() 513 while (sbus_readl(esp->dregs + DMA_CSR) & DMA_PEND_READ) in esp_reset_dma() 531 tmp = sbus_readl(esp->dregs + DMA_CSR); in esp_reset_dma() 536 tmp = sbus_readl(esp->dregs + DMA_CSR); in esp_reset_dma() 547 tmp = sbus_readl(esp->dregs + DMA_CSR); in esp_reset_dma() 1800 tmp = sbus_readl(esp->dregs + DMA_CSR); in esp_exec_cmd() 1886 sbus_readl(esp->dregs + DMA_CSR), in esp_dump_state() [all …]
|
/linux-2.4.37.9/drivers/parport/ |
D | parport_sunbpp.c | 57 tmp = sbus_readl(®s->p_csr); in parport_sunbpp_disable_irq() 67 tmp = sbus_readl(®s->p_csr); in parport_sunbpp_enable_irq()
|
/linux-2.4.37.9/include/asm-sparc/ |
D | io.h | 172 #define sbus_readl(a) _sbus_readl((unsigned long)(a)) macro
|
/linux-2.4.37.9/include/video/ |
D | fbcon.h | 203 #define fb_readl sbus_readl
|
/linux-2.4.37.9/Documentation/sparc/ |
D | sbus_drivers.txt | 129 u32 sbus_readl(unsigned long reg) /* read longword */
|