Home
last modified time | relevance | path

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

/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c83 return sbus_readb(&regs->p_dr); in parport_sunbpp_read_data()
90 unsigned char value_tcr = sbus_readb(&regs->p_tcr); in status_sunbpp_to_pc()
91 unsigned char value_ir = sbus_readb(&regs->p_ir); in status_sunbpp_to_pc()
113 unsigned char value_tcr = sbus_readb(&regs->p_tcr); in control_sunbpp_to_pc()
114 unsigned char value_or = sbus_readb(&regs->p_or); in control_sunbpp_to_pc()
140 unsigned char value_tcr = sbus_readb(&regs->p_tcr); in parport_sunbpp_frob_control()
141 unsigned char value_or = sbus_readb(&regs->p_or); in parport_sunbpp_frob_control()
199 unsigned char value_tcr = sbus_readb(&regs->p_tcr); in parport_sunbpp_data_forward()
209 u8 val = sbus_readb(&regs->p_tcr); in parport_sunbpp_data_reverse()
313 value_tcr = sbus_readb(&regs->p_tcr); in bpp_probe()
/openbmc/linux/drivers/tty/serial/
H A Dsunzilog.h283 #define ZS_CLEARFIFO(channel) do { sbus_readb(&channel->data); \
285 sbus_readb(&channel->data); \
287 sbus_readb(&channel->data); \
/openbmc/linux/arch/sparc/kernel/
H A Dauxio_32.c80 return sbus_readb(auxio_register); in get_auxio()
94 regval = sbus_readb(auxio_register); in set_auxio()
H A Dpmc.c37 #define pmc_readb(offs) (sbus_readb(regs+offs))
H A Dauxio_64.c42 sbus_readb(auxio_register)); in __auxio_rmw()
H A Dapc.c38 #define apc_readb(offs) (sbus_readb(regs+offs))
H A Dprocess_32.c108 u8 power_register = sbus_readb(auxio_power_register); in machine_power_off()
/openbmc/linux/arch/sparc/include/asm/
H A Dio_32.h65 static inline u8 sbus_readb(const volatile void __iomem *addr) in sbus_readb() function
111 char tmp = sbus_readb(src); in sbus_memcpy_fromio()
H A Dfloppy_64.h109 return sbus_readb(&sun_fdc->status_82077) & ~STATUS_DMA; in sun_82077_fd_inb()
111 return sbus_readb(&sun_fdc->data_82077); in sun_82077_fd_inb()
114 return sbus_readb(&sun_fdc->dir_82077); in sun_82077_fd_inb()
735 if (sbus_readb(&sun_fdc->status1_82077) == 0xff) { in sun_floppy_init()
H A Dio_64.h304 static inline u8 sbus_readb(const volatile void __iomem *addr) in sbus_readb() function
369 char tmp = sbus_readb(src); in sbus_memcpy_fromio()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunqe.c95 u8 tmp = sbus_readb(mregs + MREGS_BCONFIG); in qe_stop()
204 while ((sbus_readb(mregs + MREGS_IACONFIG) & MREGS_IACONFIG_ACHNGE) != 0) in qe_init()
216 while ((sbus_readb(mregs + MREGS_IACONFIG) & MREGS_IACONFIG_ACHNGE) != 0) in qe_init()
228 if (!(sbus_readb(mregs + MREGS_PHYCONFIG) & MREGS_PHYCONFIG_LTESTDIS)) { in qe_init()
236 tmp = sbus_readb(mregs + MREGS_PHYCONFIG); in qe_init()
245 sbus_readb(mregs + MREGS_MPCNT); in qe_init()
638 while ((sbus_readb(qep->mregs + MREGS_IACONFIG) & MREGS_IACONFIG_ACHNGE) != 0) in qe_set_multicast()
658 while ((sbus_readb(qep->mregs + MREGS_IACONFIG) & MREGS_IACONFIG_ACHNGE) != 0) in qe_set_multicast()
705 phyconfig = sbus_readb(mregs + MREGS_PHYCONFIG); in qe_get_link()
/openbmc/linux/drivers/video/fbdev/
H A Dbw2.c135 val = sbus_readb(&regs->control); in bw2_blank()
145 val = sbus_readb(&regs->control); in bw2_blank()
237 status = sbus_readb(&par->regs->status); in bw2_do_default_mode()
H A Dcg3.c197 val = sbus_readb(&regs->control); in cg3_blank()
207 val = sbus_readb(&regs->control); in cg3_blank()
321 u8 status = sbus_readb(&par->regs->status), mon; in cg3_do_default_mode()
H A Dcg14.c213 val = sbus_readb(&regs->mcr); in __cg14_reset()
316 cur_mode = sbus_readb(&regs->mcr); in cg14_ioctl()
/openbmc/linux/drivers/input/misc/
H A Dsparcspkr.c128 sbus_writeb(sbus_readb(info->enable_reg) | 3, info->enable_reg); in grover_spkr_event()
136 sbus_writeb(sbus_readb(info->enable_reg) & 0xFC, info->enable_reg); in grover_spkr_event()
/openbmc/linux/sound/sparc/
H A Damd7930.c503 ir = sbus_readb(amd->regs + AMD7930_IR); in snd_amd7930_interrupt()
517 byte = sbus_readb(amd->regs + AMD7930_BBRB); in snd_amd7930_interrupt()
H A Dcs4231.c261 return sbus_readb(reg_addr); in __cs4231_readb()
/openbmc/linux/drivers/net/ethernet/amd/
H A Dsunlance.c669 *p8 = sbus_readb(pbuf); in lance_piocopy_to_skb()
683 !((bits = sbus_readb(&rd->rmd1_bits)) & LE_R1_OWN); in lance_rx_pio()
741 u8 bits = sbus_readb(&td->tmd1_bits); in lance_tx_pio()
/openbmc/u-boot/include/linux/
H A Dfb.h530 #define fb_readb sbus_readb
/openbmc/linux/drivers/scsi/
H A Dsun_esp.c212 return sbus_readb(esp->regs + (reg * 4UL)); in sbus_esp_read8()
H A Dqlogicpti.c653 int curstat = sbus_readb(qpti->sreg); in qlogicpti_verify_tmon()