Home
last modified time | relevance | path

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

123

/arch/m68k/coldfire/
Dm528x.c80 port = readb(MCFGPIO_PUAPAR); in m528x_uarts_init()
116 writeb(readb(MCFGPIO_PDDR_E) | (1 << 5), MCFGPIO_PDDR_E); in wildfiremod_halt()
119 writeb(readb(MCFGPIO_PODR_E) & ~(1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt()
120 writeb(readb(MCFGPIO_PODR_E) | (1 << 5), MCFGPIO_PODR_E); in wildfiremod_halt()
Dm527x.c79 par = readb(MCFGPIO_PAR_FECI2C); in m527x_i2c_init()
116 v = readb(MCFGPIO_PAR_FECI2C); in m527x_fec_init()
123 v = readb(MCFGPIO_PAR_FEC0HL); in m527x_fec_init()
129 v = readb(MCFGPIO_PAR_FEC1HL); in m527x_fec_init()
Dm520x.c145 par = readb(MCF_GPIO_PAR_FECI2C); in m520x_i2c_init()
165 par2 = readb(MCF_GPIO_PAR_FECI2C); in m520x_uarts_init()
179 v = readb(MCF_GPIO_PAR_FEC); in m520x_fec_init()
182 v = readb(MCF_GPIO_PAR_FECI2C); in m520x_fec_init()
Dm523x.c71 par = readb(MCFGPIO_PAR_FECI2C); in m523x_i2c_init()
82 writeb(readb(MCFGPIO_PAR_FECI2C) | 0xf0, MCFGPIO_PAR_FECI2C); in m523x_fec_init()
Dm53xx.c180 u8 r = readb(MCFGPIO_PAR_FECI2C); in m53xx_i2c_init()
201 v = readb(MCFGPIO_PAR_FECI2C); in m53xx_fec_init()
206 v = readb(MCFGPIO_PAR_FEC); in m53xx_fec_init()
479 mfd = readb(MCF_PLL_PFDR); in clock_pll()
593 return (FREF * readb(MCF_PLL_PFDR)) / (BUSDIV * 4); in get_sys_clock()
/arch/mips/txx9/rbtx4938/
Dsetup.c202 writeb((readb(rbtx4938_piosel_addr) & 0x03) | 0x04, in rbtx4938_mem_setup()
206 writeb((readb(rbtx4938_piosel_addr) & 0x03) | 0x08, in rbtx4938_mem_setup()
209 writeb(readb(rbtx4938_piosel_addr) & ~(0x08 | 0x04), in rbtx4938_mem_setup()
223 readb(rbtx4938_fpga_rev_addr), in rbtx4938_mem_setup()
224 readb(rbtx4938_dipsw_addr), readb(rbtx4938_bdipsw_addr)); in rbtx4938_mem_setup()
250 val = readb(rbtx4938_spics_addr); in rbtx4938_spi_gpio_set()
307 switch (readb(rbtx4938_bdipsw_addr) & 7) { in rbtx4938_mtd_init()
Dirq.c76 level3 = readb(rbtx4938_imstat_addr); in toshiba_rbtx4938_irq_nested()
87 v = readb(rbtx4938_imask_addr); in toshiba_rbtx4938_irq_ioc_enable()
97 v = readb(rbtx4938_imask_addr); in toshiba_rbtx4938_irq_ioc_disable()
/arch/mips/txx9/rbtx4939/
Dirq.c26 writeb(readb(rbtx4939_ien_addr) | (1 << ioc_nr), rbtx4939_ien_addr); in rbtx4939_ioc_irq_unmask()
33 writeb(readb(rbtx4939_ien_addr) & ~(1 << ioc_nr), rbtx4939_ien_addr); in rbtx4939_ioc_irq_mask()
46 unsigned char istat = readb(rbtx4939_ifac2_addr); in rbtx4939_ioc_irqroute()
Dsetup.c115 __u8 pe1 = readb(rbtx4939_pe1_addr); in rbtx4939_update_ioc_pen()
116 __u8 pe2 = readb(rbtx4939_pe2_addr); in rbtx4939_update_ioc_pen()
117 __u8 pe3 = readb(rbtx4939_pe3_addr); in rbtx4939_update_ioc_pen()
292 u8 bdipsw = readb(rbtx4939_bdipsw_addr) & 0x0f; in rbtx4939_flash_fixup_ofs()
329 u8 bdipsw = readb(rbtx4939_bdipsw_addr) & 0x0f; in rbtx4939_flash_copy_from()
385 u8 bdipsw = readb(rbtx4939_bdipsw_addr) & 0x0f; in rbtx4939_mtd_init()
467 u8 bdipsw = readb(rbtx4939_bdipsw_addr) & 0x0f; in rbtx4939_device_init()
530 readb(rbtx4939_board_rev_addr), readb(rbtx4939_ioc_rev_addr), in rbtx4939_setup()
531 readb(rbtx4939_udipsw_addr), readb(rbtx4939_bdipsw_addr)); in rbtx4939_setup()
/arch/mips/txx9/rbtx4927/
Dirq.c124 level3 = readb(rbtx4927_imstat_addr) & 0x1f; in toshiba_rbtx4927_irq_nested()
134 v = readb(rbtx4927_imask_addr); in toshiba_rbtx4927_irq_ioc_enable()
143 v = readb(rbtx4927_imask_addr); in toshiba_rbtx4927_irq_ioc_disable()
/arch/m68k/include/asm/
Dvga.h25 #undef readb
32 #define readb raw_inb macro
Dide.h43 #undef readb
48 #define readb in_8 macro
/arch/mips/sni/
Drm200.c195 value = readb(rm200_pic_master + PIC_CMD) & irqmask; in sni_rm200_i8259A_irq_real()
200 value = readb(rm200_pic_slave + PIC_CMD) & (irqmask >> 8); in sni_rm200_i8259A_irq_real()
239 readb(rm200_pic_slave + PIC_IMR); in sni_rm200_mask_and_ack_8259A()
244 readb(rm200_pic_master + PIC_IMR); in sni_rm200_mask_and_ack_8259A()
303 irq = readb(rm200_pic_master + PIC_CMD) & 7; in sni_rm200_i8259_irq()
310 irq = (readb(rm200_pic_slave + PIC_CMD) & 7) + 8; in sni_rm200_i8259_irq()
322 if (~readb(rm200_pic_master + PIC_ISR) & 0x80) in sni_rm200_i8259_irq()
/arch/sparc/include/asm/
Dio_64.h104 #define readb readb macro
105 #define readb_relaxed readb
106 static inline u8 readb(const volatile void __iomem *addr) in readb() function
198 return readb((volatile void __iomem *)addr); in inb()
367 char tmp = readb(src); in memcpy_fromio()
421 #define ioread8 readb
/arch/arm/mach-rpc/
Dirq.c37 val = readb(base + MASK); in iomd_irq_mask_ack()
47 val = readb(base + MASK); in iomd_irq_mask()
56 val = readb(base + MASK); in iomd_irq_unmask()
/arch/mips/sgi-ip22/
Dip22-time.c49 (void) readb(&sgint->tcnt2); in dosample()
50 msb = readb(&sgint->tcnt2); in dosample()
/arch/parisc/include/asm/
Dio.h170 static inline unsigned char readb(const volatile void __iomem *addr) in readb() function
204 #define readb readb macro
213 #define readb_relaxed(addr) readb(addr)
/arch/hexagon/include/asm/
Dio.h83 static inline u8 readb(const volatile void __iomem *addr) in readb() function
157 #define __raw_readb readb
207 return readb(_IO_BASE + (port & IO_SPACE_LIMIT)); in inb()
/arch/mips/sgi-ip30/
Dip30-console.c19 while ((readb(&uart->iu_lsr) & 0x20) == 0) in prom_putchar()
/arch/mips/sgi-ip27/
Dip27-console.c39 while ((readb(&uart->iu_lsr) & 0x20) == 0) in prom_putchar()
/arch/h8300/kernel/
Dsetup.c187 w = (readb(base + 0) & bit)?2:1; in access_timing()
188 if (readb(base + 1) & bit) in access_timing()
/arch/ia64/lib/
Dio.c17 *dst++ = readb(from++); in memcpy_fromio()
/arch/powerpc/platforms/cell/
Dspider-pci.c50 SPIDER_PCI_MMIO_READ(readb, u8) in SPIDER_PCI_MMIO_READ() argument
158 .readb = spiderpci_readb,
/arch/mips/kernel/
Dearly_printk_8250.c26 return readb(serial8250_base + (offset << serial8250_reg_shift)); in serial_in()
/arch/nios2/include/asm/
Dio.h20 #define readb_relaxed(addr) readb(addr)

123