Home
last modified time | relevance | path

Searched refs:sbus_writel (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/video/fbdev/
H A Dcg6.c293 sbus_writel(CG6_THC_CURSOFF, &thc->thc_cursxy); in cg6_switch_from_graph()
331 sbus_writel(rect->color, &fbc->fg); in cg6_fillrect()
332 sbus_writel(~(u32)0, &fbc->pixelm); in cg6_fillrect()
333 sbus_writel(0xea80ff00, &fbc->alu); in cg6_fillrect()
334 sbus_writel(0, &fbc->s); in cg6_fillrect()
335 sbus_writel(0, &fbc->clip); in cg6_fillrect()
336 sbus_writel(~(u32)0, &fbc->pm); in cg6_fillrect()
337 sbus_writel(rect->dy, &fbc->arecty); in cg6_fillrect()
338 sbus_writel(rect->dx, &fbc->arectx); in cg6_fillrect()
339 sbus_writel(rect->dy + rect->height, &fbc->arecty); in cg6_fillrect()
[all …]
H A Dleo.c223 sbus_writel(0xffffffff, &ss->wid); in leo_switch_from_graph()
224 sbus_writel(0xffff, &ss->wmask); in leo_switch_from_graph()
225 sbus_writel(0, &ss->vclipmin); in leo_switch_from_graph()
226 sbus_writel(par->extent, &ss->vclipmax); in leo_switch_from_graph()
227 sbus_writel(0, &ss->fg); in leo_switch_from_graph()
228 sbus_writel(0xff000000, &ss->planemask); in leo_switch_from_graph()
229 sbus_writel(0x310850, &ss->rop); in leo_switch_from_graph()
230 sbus_writel(0, &ss->widclip); in leo_switch_from_graph()
231 sbus_writel((info->var.xres-1) | ((info->var.yres-1) << 11), in leo_switch_from_graph()
233 sbus_writel(4, &par->lc_ss0_usr->addrspace); in leo_switch_from_graph()
[all …]
H A Dtcx.c142 sbus_writel(tmp, p); in __tcx_set_control_plane()
188 sbus_writel(regno << 24, &bt->addr); in tcx_setcolreg()
189 sbus_writel(red << 24, &bt->color_map); in tcx_setcolreg()
190 sbus_writel(green << 24, &bt->color_map); in tcx_setcolreg()
191 sbus_writel(blue << 24, &bt->color_map); in tcx_setcolreg()
239 sbus_writel(val, &thc->thc_misc); in tcx_blank()
445 sbus_writel(0x04 << 24, &par->bt->addr); /* color planes */ in tcx_probe()
446 sbus_writel(0xff << 24, &par->bt->control); in tcx_probe()
447 sbus_writel(0x05 << 24, &par->bt->addr); in tcx_probe()
448 sbus_writel(0x00 << 24, &par->bt->control); in tcx_probe()
[all …]
H A Dp9100.c167 sbus_writel((regno << 16), &regs->ramdac_cmap_wridx); in p9100_setcolreg()
168 sbus_writel((red << 16), &regs->ramdac_palette_data); in p9100_setcolreg()
169 sbus_writel((green << 16), &regs->ramdac_palette_data); in p9100_setcolreg()
170 sbus_writel((blue << 16), &regs->ramdac_palette_data); in p9100_setcolreg()
196 sbus_writel(val, &regs->vid_screenpaint_timectl1); in p9100_blank()
206 sbus_writel(val, &regs->vid_screenpaint_timectl1); in p9100_blank()
H A Dcg3.c169 sbus_writel(D4M4(regno), &bt->addr); in cg3_setcolreg()
171 sbus_writel(*p32++, &bt->color_map); in cg3_setcolreg()
H A Dcg14.c262 sbus_writel(val, &clut->c_clut[regno]); in cg14_setcolreg()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c84 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
112 sbus_writel(regval | GLOB_CTRL_BMODE, gregs + GLOB_CTRL); in qec_init()
113 sbus_writel(GLOB_PSIZE_2048, gregs + GLOB_PSIZE); in qec_init()
116 sbus_writel(resource_size(&qec_op->resource[1]), in qec_init()
120 sbus_writel(resource_size(&qec_op->resource[1]) >> 1, in qec_init()
122 sbus_writel(resource_size(&qec_op->resource[1]) >> 1, in qec_init()
133 sbus_writel(0, bregs + BMAC_TXCFG); in bigmac_tx_reset()
153 sbus_writel(0, bregs + BMAC_RXCFG); in bigmac_rx_reset()
176 sbus_writel(0, bregs + BMAC_RCRCECTR); in bigmac_get_counters()
179 sbus_writel(0, bregs + BMAC_UNALECTR); in bigmac_get_counters()
[all …]
H A Dsunqe.c67 sbus_writel(GLOB_CTRL_RESET, gregs + GLOB_CTRL); in qec_global_reset()
107 sbus_writel(CREG_CTRL_RESET, cregs + CREG_CTRL); in qe_stop()
157 sbus_writel(qblk_dvma + qib_offset(qe_rxd, 0), cregs + CREG_RXDS); in qe_init()
158 sbus_writel(qblk_dvma + qib_offset(qe_txd, 0), cregs + CREG_TXDS); in qe_init()
161 sbus_writel(0, cregs + CREG_RIMASK); in qe_init()
162 sbus_writel(1, cregs + CREG_TIMASK); in qe_init()
164 sbus_writel(0, cregs + CREG_QMASK); in qe_init()
165 sbus_writel(CREG_MMASK_RXCOLL, cregs + CREG_MMASK); in qe_init()
169 sbus_writel(tmp, cregs + CREG_RXRBUFPTR); in qe_init()
170 sbus_writel(tmp, cregs + CREG_RXWBUFPTR); in qe_init()
[all …]
H A Dsunhme.c152 sbus_writel(val, reg); in sbus_hme_write32()
222 sbus_writel((__val), (__reg))
/openbmc/linux/arch/sparc/kernel/
H A Dsun4m_irq.c201 sbus_writel(handler_data->mask, &sun4m_irq_percpu[cpu]->set); in sun4m_mask_irq()
203 sbus_writel(handler_data->mask, &sun4m_irq_global->mask_set); in sun4m_mask_irq()
220 sbus_writel(handler_data->mask, &sun4m_irq_percpu[cpu]->clear); in sun4m_unmask_irq()
222 sbus_writel(handler_data->mask, &sun4m_irq_global->mask_clear); in sun4m_unmask_irq()
343 sbus_writel(sun4m_imask[SUN4M_PROFILE_IRQ], &sun4m_irq_global->mask_clear); in sun4m_unmask_profile_irq()
355 sbus_writel(value, &timers_percpu[cpu]->l14_limit); in sun4m_load_profile_irq()
386 sbus_writel(0x00000000, &timers_global->timer_config); in sun4m_init_timers()
396 sbus_writel(timer_value(sparc_config.cs_period), in sun4m_init_timers()
411 sbus_writel(0, &timers_percpu[i]->l14_limit); in sun4m_init_timers()
413 sbus_writel(SUN4M_INT_E14, &sun4m_irq_global->mask_set); in sun4m_init_timers()
[all …]
H A Dsun4m_smp.c141 sbus_writel(SUN4M_SOFT_INT(level), &sun4m_irq_percpu[cpu]->set); in sun4m_send_ipi()
H A Dsun4d_irq.c468 sbus_writel(timer_value(sparc_config.cs_period), in sun4d_init_timers()
/openbmc/linux/drivers/net/ethernet/amd/
H A Dsunlance.c458 sbus_writel(csr, lp->dregs + DMA_CSR); in init_restart_ledma()
497 sbus_writel(csr, lp->dregs + DMA_CSR); in init_restart_lance()
859 sbus_writel(dma_csr, lp->dregs + DMA_CSR); in lance_interrupt()
926 sbus_writel(regval, lp->dregs + DMA_TEST); in lance_open()
938 sbus_writel(0, &ib->filter[0]); in lance_open()
939 sbus_writel(0, &ib->filter[1]); in lance_open()
987 sbus_writel(csr | DMA_RST_ENET, lp->dregs + DMA_CSR); in lance_reset()
989 sbus_writel(csr & ~DMA_RST_ENET, lp->dregs + DMA_CSR); in lance_reset()
992 sbus_writel(addr, lp->dregs + DMA_TEST); in lance_reset()
1012 sbus_writel(*p32, piobuf); in lance_piocopy_from_skb()
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Diommu_32.h114 sbus_writel(0, &regs->tlbflush); in iommu_invalidate()
119 sbus_writel(ba & PAGE_MASK, &regs->pageflush); in iommu_invalidate_page()
H A Dio_32.h90 static inline void sbus_writel(u32 l, volatile void __iomem *addr) in sbus_writel() function
H A Dio_64.h334 static inline void sbus_writel(u32 l, volatile void __iomem *addr) in sbus_writel() function
/openbmc/linux/drivers/sbus/char/
H A Ductrl.c244 sbus_writel(value, &driver->regs->uctrl_data); \
259 sbus_writel(UCTRL_STAT_RXNE_STA, &driver->regs->uctrl_stat); \
269 sbus_writel(stat, &driver->regs->uctrl_stat); in uctrl_do_txn()
379 sbus_writel(UCTRL_INTR_RXNE_REQ|UCTRL_INTR_RXNE_MSK, &p->regs->uctrl_intr); in uctrl_probe()
/openbmc/linux/arch/sparc/mm/
H A Dio-unit.c72 sbus_writel(0, xpt); in iounit_iommu_init()
139 sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); in iounit_get_area()
255 sbus_writel(iopte_val(MKIOPTE(__pa(page))), iopte); in iounit_alloc()
H A Diommu.c85 sbus_writel(control, &iommu->regs->control); in sbus_iommu_init()
110 sbus_writel(base, &iommu->regs->base); in sbus_iommu_init()
/openbmc/linux/sound/sparc/
H A Ddbri.c725 sbus_writel(tmp, dbri->regs + REG0); in dbri_cmdsend()
742 sbus_writel(D_R, dbri->regs + REG0); /* Soft Reset */ in dbri_reset()
751 sbus_writel(tmp, dbri->regs + REG0); in dbri_reset()
790 sbus_writel(dma_addr, dbri->regs + REG8); in dbri_initialize()
1448 sbus_writel(tmp, dbri->regs + REG0); in cs4215_open()
1451 sbus_writel(D_ENPIO | D_PIO1 | D_PIO3 | in cs4215_open()
1472 sbus_writel(tmp, dbri->regs + REG0); in cs4215_open()
1500 sbus_writel(val, dbri->regs + REG2); in cs4215_setctrl()
1525 sbus_writel(tmp, dbri->regs + REG0); in cs4215_setctrl()
1548 sbus_writel(tmp, dbri->regs + REG0); in cs4215_setctrl()
[all …]
H A Dcs4231.c1620 sbus_writel(csr, chip->port + APCCSR); in snd_cs4231_sbus_interrupt()
1681 sbus_writel(bus_addr, base->regs + base->dir + APCNVA); in sbus_dma_request()
1682 sbus_writel(len, base->regs + base->dir + APCNC); in sbus_dma_request()
1703 sbus_writel(csr, base->regs + APCCSR); in sbus_dma_prepare()
1715 sbus_writel(0, base->regs + base->dir + APCNC); in sbus_dma_enable()
1716 sbus_writel(0, base->regs + base->dir + APCNVA); in sbus_dma_enable()
1718 sbus_writel(0, base->regs + base->dir + APCC); in sbus_dma_enable()
1719 sbus_writel(0, base->regs + base->dir + APCVA); in sbus_dma_enable()
1732 sbus_writel(csr, base->regs + APCCSR); in sbus_dma_enable()
1737 sbus_writel(csr, base->regs + APCCSR); in sbus_dma_enable()
/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c58 sbus_writel(tmp, &regs->p_csr); in parport_sunbpp_disable_irq()
68 sbus_writel(tmp, &regs->p_csr); in parport_sunbpp_enable_irq()
/openbmc/u-boot/include/linux/
H A Dfb.h536 #define fb_writel sbus_writel
/openbmc/linux/drivers/scsi/
H A Dsun_esp.c35 sbus_writel((VAL), esp->dma_regs + (REG))
/openbmc/linux/drivers/atm/
H A Dfore200e.c639 sbus_writel(val, addr); in fore200e_sba_write()