/openbmc/linux/sound/sparc/ |
H A D | amd7930.c | 351 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_idle() 352 sbus_writeb(0, amd->regs + AMD7930_DR); in amd7930_idle() 362 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_enable_ints() 363 sbus_writeb(AM_INIT_ACTIVE, amd->regs + AMD7930_DR); in amd7930_enable_ints() 373 sbus_writeb(AMR_INIT, amd->regs + AMD7930_CR); in amd7930_disable_ints() 374 sbus_writeb(AM_INIT_ACTIVE | AM_INIT_DISABLE_INTS, amd->regs + AMD7930_DR); in amd7930_disable_ints() 385 sbus_writeb(AMR_MAP_GX, amd->regs + AMD7930_CR); in __amd7930_write_map() 386 sbus_writeb(((map->gx >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map() 387 sbus_writeb(((map->gx >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map() 389 sbus_writeb(AMR_MAP_GR, amd->regs + AMD7930_CR); in __amd7930_write_map() [all …]
|
H A D | cs4231.c | 270 return sbus_writeb(val, reg_addr); in __cs4231_writeb()
|
/openbmc/linux/drivers/input/misc/ |
H A D | sparcspkr.c | 91 sbus_writeb(0x01, info->regs + 0); in bbc_spkr_event() 92 sbus_writeb(0x00, info->regs + 2); in bbc_spkr_event() 93 sbus_writeb((count >> 16) & 0xff, info->regs + 3); in bbc_spkr_event() 94 sbus_writeb((count >> 8) & 0xff, info->regs + 4); in bbc_spkr_event() 95 sbus_writeb(0x00, info->regs + 5); in bbc_spkr_event() 97 sbus_writeb(0x00, info->regs + 0); in bbc_spkr_event() 128 sbus_writeb(sbus_readb(info->enable_reg) | 3, info->enable_reg); in grover_spkr_event() 130 sbus_writeb(0xB6, info->freq_regs + 1); in grover_spkr_event() 132 sbus_writeb(count & 0xff, info->freq_regs + 0); in grover_spkr_event() 133 sbus_writeb((count >> 8) & 0xff, info->freq_regs + 0); in grover_spkr_event() [all …]
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | sunqe.c | 92 sbus_writeb(MREGS_BCONFIG_RESET, mregs + MREGS_BCONFIG); in qe_stop() 184 sbus_writeb(MREGS_PHYCONFIG_AUTO, mregs + MREGS_PHYCONFIG); in qe_init() 185 sbus_writeb(MREGS_TXFCNTL_AUTOPAD, mregs + MREGS_TXFCNTL); in qe_init() 186 sbus_writeb(0, mregs + MREGS_RXFCNTL); in qe_init() 192 sbus_writeb(MREGS_IMASK_COLL | MREGS_IMASK_RXIRQ, mregs + MREGS_IMASK); in qe_init() 193 sbus_writeb(MREGS_BCONFIG_BSWAP | MREGS_BCONFIG_64TS, mregs + MREGS_BCONFIG); in qe_init() 194 sbus_writeb((MREGS_FCONFIG_TXF16 | MREGS_FCONFIG_RXF32 | in qe_init() 199 sbus_writeb(MREGS_PLSCONFIG_TP, mregs + MREGS_PLSCONFIG); in qe_init() 202 sbus_writeb(MREGS_IACONFIG_ACHNGE | MREGS_IACONFIG_PARESET, in qe_init() 206 sbus_writeb(e[0], mregs + MREGS_ETHADDR); in qe_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/amd/ |
H A D | sunlance.c | 388 sbus_writeb(dev->dev_addr[1], &ib->phys_addr[0]); in lance_init_ring_pio() 389 sbus_writeb(dev->dev_addr[0], &ib->phys_addr[1]); in lance_init_ring_pio() 390 sbus_writeb(dev->dev_addr[3], &ib->phys_addr[2]); in lance_init_ring_pio() 391 sbus_writeb(dev->dev_addr[2], &ib->phys_addr[3]); in lance_init_ring_pio() 392 sbus_writeb(dev->dev_addr[5], &ib->phys_addr[4]); in lance_init_ring_pio() 393 sbus_writeb(dev->dev_addr[4], &ib->phys_addr[5]); in lance_init_ring_pio() 399 sbus_writeb(leptr >> 16,&ib->btx_ring [i].tmd1_hadr); in lance_init_ring_pio() 400 sbus_writeb(0, &ib->btx_ring [i].tmd1_bits); in lance_init_ring_pio() 412 sbus_writeb(leptr >> 16,&ib->brx_ring [i].rmd1_hadr); in lance_init_ring_pio() 413 sbus_writeb(LE_R1_OWN, &ib->brx_ring [i].rmd1_bits); in lance_init_ring_pio() [all …]
|
/openbmc/linux/drivers/parport/ |
H A D | parport_sunbpp.c | 75 sbus_writeb(d, ®s->p_dr); in parport_sunbpp_write_data() 174 sbus_writeb(value_or, ®s->p_or); in parport_sunbpp_frob_control() 175 sbus_writeb(value_tcr, ®s->p_tcr); in parport_sunbpp_frob_control() 203 sbus_writeb(value_tcr, ®s->p_tcr); in parport_sunbpp_data_forward() 213 sbus_writeb(val, ®s->p_tcr); in parport_sunbpp_data_reverse() 315 sbus_writeb(value_tcr, ®s->p_tcr); in bpp_probe()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | io_32.h | 80 static inline void sbus_writeb(u8 b, volatile void __iomem *addr) in sbus_writeb() function 99 sbus_writeb(c, __dst); in sbus_memset_io() 126 sbus_writeb(tmp, d); in sbus_memcpy_toio()
|
H A D | floppy_64.h | 129 sbus_writeb(value, &sun_fdc->dor_82077); in sun_82077_fd_outb() 132 sbus_writeb(value, &sun_fdc->data_82077); in sun_82077_fd_outb() 135 sbus_writeb(value, &sun_fdc->dcr_82077); in sun_82077_fd_outb() 138 sbus_writeb(value, &sun_fdc->status_82077); in sun_82077_fd_outb()
|
H A D | io_64.h | 324 static inline void sbus_writeb(u8 b, volatile void __iomem *addr) in sbus_writeb() function 347 sbus_writeb(c, dst); in sbus_memset_io() 397 sbus_writeb(tmp, d); in sbus_memcpy_toio()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | cg3.c | 199 sbus_writeb(val, ®s->control); in cg3_blank() 209 sbus_writeb(val, ®s->control); in cg3_blank() 338 sbus_writeb(p[1], regp); in cg3_do_default_mode() 344 sbus_writeb(p[0], regp); in cg3_do_default_mode() 346 sbus_writeb(p[1], regp); in cg3_do_default_mode()
|
H A D | bw2.c | 137 sbus_writeb(val, ®s->control); in bw2_blank() 147 sbus_writeb(val, ®s->control); in bw2_blank() 272 sbus_writeb(p[1], regp); in bw2_do_default_mode()
|
H A D | cg14.c | 215 sbus_writeb(val, ®s->mcr); in __cg14_reset() 337 sbus_writeb(cur_mode, ®s->mcr); in cg14_ioctl()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sunzilog.h | 277 #define ZS_CLEARERR(channel) do { sbus_writeb(ERR_RES, &channel->control); \ 280 #define ZS_CLEARSTAT(channel) do { sbus_writeb(RES_EXT_INT, &channel->control); \
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | pmc.c | 38 #define pmc_writeb(val, offs) (sbus_writeb(val, regs+offs))
|
H A D | auxio_32.c | 95 sbus_writeb(((regval | bits_on) & ~bits_off) | AUXIO_ORMEIN4M, in set_auxio()
|
H A D | auxio_64.c | 50 sbus_writeb(newval, auxio_register); in __auxio_rmw()
|
H A D | apc.c | 39 #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs))
|
H A D | process_32.c | 110 sbus_writeb(power_register, auxio_power_register); in machine_power_off()
|
/openbmc/u-boot/include/linux/ |
H A D | fb.h | 534 #define fb_writeb sbus_writeb
|
/openbmc/linux/drivers/scsi/ |
H A D | sun_esp.c | 207 sbus_writeb(val, esp->regs + (reg * 4UL)); in sbus_esp_write8()
|