Home
last modified time | relevance | path

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

1234

/arch/sh/boards/mach-sh03/
Drtc.c49 sec = (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10; in sh03_rtc_gettimeofday()
50 min = (__raw_readb(RTC_MIN1) & 0xf) + (__raw_readb(RTC_MIN10) & 0xf) * 10; in sh03_rtc_gettimeofday()
51 hour = (__raw_readb(RTC_HOU1) & 0xf) + (__raw_readb(RTC_HOU10) & 0xf) * 10; in sh03_rtc_gettimeofday()
52 day = (__raw_readb(RTC_DAY1) & 0xf) + (__raw_readb(RTC_DAY10) & 0xf) * 10; in sh03_rtc_gettimeofday()
53 mon = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10; in sh03_rtc_gettimeofday()
54 year = (__raw_readb(RTC_YEA1) & 0xf) + (__raw_readb(RTC_YEA10) & 0xf) * 10 in sh03_rtc_gettimeofday()
55 + (__raw_readb(RTC_YEA100 ) & 0xf) * 100 in sh03_rtc_gettimeofday()
56 + (__raw_readb(RTC_YEA1000) & 0xf) * 1000; in sh03_rtc_gettimeofday()
57 } while (sec != (__raw_readb(RTC_SEC1) & 0xf) + (__raw_readb(RTC_SEC10) & 0x7) * 10); in sh03_rtc_gettimeofday()
99 if (!(__raw_readb(RTC_CTL) & RTC_BUSY)) in set_rtc_mmss()
[all …]
/arch/arm/mach-omap1/
Dfpga.c38 __raw_writeb((__raw_readb(OMAP1510_FPGA_IMR_LO) in fpga_mask_irq()
41 __raw_writeb((__raw_readb(OMAP1510_FPGA_IMR_HI) in fpga_mask_irq()
44 __raw_writeb((__raw_readb(INNOVATOR_FPGA_IMR2) in fpga_mask_irq()
52 ((__raw_readb(OMAP1510_FPGA_ISR_LO) & in get_fpga_unmasked_irqs()
53 __raw_readb(OMAP1510_FPGA_IMR_LO))) | in get_fpga_unmasked_irqs()
54 ((__raw_readb(OMAP1510_FPGA_ISR_HI) & in get_fpga_unmasked_irqs()
55 __raw_readb(OMAP1510_FPGA_IMR_HI)) << 8) | in get_fpga_unmasked_irqs()
56 ((__raw_readb(INNOVATOR_FPGA_ISR2) & in get_fpga_unmasked_irqs()
57 __raw_readb(INNOVATOR_FPGA_IMR2)) << 16); in get_fpga_unmasked_irqs()
71 __raw_writeb((__raw_readb(OMAP1510_FPGA_IMR_LO) | (1 << irq)), in fpga_unmask_irq()
[all …]
Dboard-innovator.c214 return !(__raw_readb(OMAP1510_FPGA_TOUCHSCREEN) & (1 << 5)); in innovator_get_pendown_state()
278 __raw_writeb(__raw_readb(OMAP1510_FPGA_RST) & ~1, in innovator_init_smc91x()
334 __raw_writeb(__raw_readb(OMAP1510_FPGA_POWER) | (1 << 3), in mmc_set_power()
337 __raw_writeb(__raw_readb(OMAP1510_FPGA_POWER) & ~(1 << 3), in mmc_set_power()
389 reg = __raw_readb(OMAP1510_FPGA_POWER); in innovator_init()
394 reg = __raw_readb(OMAP1510_FPGA_POWER); in innovator_init()
444 __raw_readb(OMAP1510_FPGA_REV_HIGH), in innovator_map_io()
445 __raw_readb(OMAP1510_FPGA_REV_LOW), in innovator_map_io()
446 __raw_readb(OMAP1510_FPGA_BOARD_REV)); in innovator_map_io()
/arch/sh/kernel/cpu/
Dadc.c22 csr = __raw_readb(ADCSR); in adc_single()
27 csr = __raw_readb(ADCSR); in adc_single()
33 return (((__raw_readb(ADDRAH + off) << 8) | in adc_single()
34 __raw_readb(ADDRAL + off)) >> 6); in adc_single()
/arch/arm/mach-ep93xx/
Dts72xx.h54 return __raw_readb(TS72XX_MODEL_VIRT_BASE) & TS72XX_MODEL_MASK; in ts72xx_model()
84 return !!(__raw_readb(TS72XX_OPTIONS_VIRT_BASE) & in is_max197_installed()
90 return !!(__raw_readb(TS72XX_OPTIONS2_VIRT_BASE) & in is_ts9420_installed()
/arch/nds32/include/asm/
Dio.h27 #define __raw_readb __raw_readb macro
28 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() function
63 #define readb_relaxed(c) ({ u8 __v = __raw_readb(c); __v; })
/arch/h8300/include/asm/
Dio.h11 #define __raw_readb __raw_readb macro
12 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() function
/arch/sparc/lib/
DPeeCeeI.c97 *pb++ = __raw_readb(addr); in insb()
102 w = (__raw_readb(addr) << 24); in insb()
103 w |= (__raw_readb(addr) << 16); in insb()
104 w |= (__raw_readb(addr) << 8); in insb()
105 w |= (__raw_readb(addr) << 0); in insb()
111 *pb++ = __raw_readb(addr); in insb()
/arch/arm/mach-s3c/
Dbast-irq.c57 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_mask()
76 temp = __raw_readb(BAST_VA_PC104_IRQMASK); in bast_pc104_unmask()
93 stat = __raw_readb(BAST_VA_PC104_IRQREQ) & 0xf; in bast_irq_pc104_demux()
Dmach-osiris.c218 tmp = __raw_readb(OSIRIS_VA_CTRL0); in osiris_nand_select()
260 pm_osiris_ctrl0 = __raw_readb(OSIRIS_VA_CTRL0); in osiris_pm_suspend()
363 if ((__raw_readb(OSIRIS_VA_IDREG) & OSIRIS_ID_REVMASK) >= 4) { in osiris_map_io()
365 __raw_readb(OSIRIS_VA_IDREG) & OSIRIS_ID_REVMASK); in osiris_map_io()
/arch/arm/mach-ebsa110/
Dcore.c56 if (__raw_readb(IRQ_MASK) != 0x55) in ebsa110_init_irq()
162 count = __raw_readb(PIT_T1); in ebsa110_gettimeoffset()
163 count |= __raw_readb(PIT_T1) << 8; in ebsa110_gettimeoffset()
190 count = __raw_readb(PIT_T1); in ebsa110_timer_interrupt()
191 count |= __raw_readb(PIT_T1) << 8; in ebsa110_timer_interrupt()
Dleds.c22 u8 reg = __raw_readb(SOFT_BASE); in ebsa110_led_set()
34 u8 reg = __raw_readb(SOFT_BASE); in ebsa110_led_get()
Dio.c75 ret = __raw_readb(a); in __readb()
218 ret = __raw_readb((void __iomem *)ISAIO_BASE + (port << 2)); in __inb8()
228 ret = __raw_readb(a); in __inb8()
249 return __raw_readb((void __iomem *)ISAIO_BASE + offset); in __inb16()
/arch/sh/include/cpu-sh3/cpu/
Ddac.h21 v = __raw_readb(DACR); in sh_dac_enable()
30 v = __raw_readb(DACR); in sh_dac_disable()
/arch/arm/mach-ep93xx/include/mach/
Duncompress.h11 static unsigned char __raw_readb(unsigned int ptr) in __raw_readb() function
41 if (!(__raw_readb(PHYS_UART_FLAG) & UART_FLAG_TXFF)) in putc()
/arch/sh/boards/mach-hp6xx/
Dpm.c60 stbcr = __raw_readb(STBCR); in pm_enter()
119 stbcr = __raw_readb(STBCR); in hp6x0_pm_enter()
122 stbcr2 = __raw_readb(STBCR2); in hp6x0_pm_enter()
/arch/sh/include/mach-common/mach/
Dmagicpanelr2.h19 #define SETBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) | mask, reg)
22 #define CLRBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) & ~mask, reg)
/arch/sh/include/asm/
Dwatchdog.h122 return __raw_readb(WTCNT_R); in sh_wdt_read_cnt()
144 return __raw_readb(WTCSR_R); in sh_wdt_read_csr()
/arch/riscv/include/asm/
Dmmio.h44 #define __raw_readb __raw_readb macro
45 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() function
87 #define readb_cpu(c) ({ u8 __r = __raw_readb(c); __r; })
/arch/m68k/coldfire/
Dintc-2.c123 if (__raw_readb(icraddr) == 0) in intc_irq_startup()
133 v = __raw_readb(MCFEPORT_EPDDR); in intc_irq_startup()
137 v = __raw_readb(MCFEPORT_EPIER); in intc_irq_startup()
/arch/arm64/kernel/
Dio.c18 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
32 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7724.c1182 sh7724_rstandby_state.imr0 = __raw_readb(0xa4080080); /* IMR0 */ in sh7724_pre_sleep_notifier_call()
1183 sh7724_rstandby_state.imr1 = __raw_readb(0xa4080084); /* IMR1 */ in sh7724_pre_sleep_notifier_call()
1184 sh7724_rstandby_state.imr2 = __raw_readb(0xa4080088); /* IMR2 */ in sh7724_pre_sleep_notifier_call()
1185 sh7724_rstandby_state.imr3 = __raw_readb(0xa408008c); /* IMR3 */ in sh7724_pre_sleep_notifier_call()
1186 sh7724_rstandby_state.imr4 = __raw_readb(0xa4080090); /* IMR4 */ in sh7724_pre_sleep_notifier_call()
1187 sh7724_rstandby_state.imr5 = __raw_readb(0xa4080094); /* IMR5 */ in sh7724_pre_sleep_notifier_call()
1188 sh7724_rstandby_state.imr6 = __raw_readb(0xa4080098); /* IMR6 */ in sh7724_pre_sleep_notifier_call()
1189 sh7724_rstandby_state.imr7 = __raw_readb(0xa408009c); /* IMR7 */ in sh7724_pre_sleep_notifier_call()
1190 sh7724_rstandby_state.imr8 = __raw_readb(0xa40800a0); /* IMR8 */ in sh7724_pre_sleep_notifier_call()
1191 sh7724_rstandby_state.imr9 = __raw_readb(0xa40800a4); /* IMR9 */ in sh7724_pre_sleep_notifier_call()
[all …]
/arch/arc/include/asm/
Dio.h49 #define __raw_readb __raw_readb macro
50 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() function
223 #define readb_relaxed(c) __raw_readb(c)
/arch/arm64/include/asm/
Dio.h53 #define __raw_readb __raw_readb macro
54 static inline u8 __raw_readb(const volatile void __iomem *addr) in __raw_readb() function
136 #define readb_relaxed(c) ({ u8 __r = __raw_readb(c); __r; })
/arch/m68k/include/asm/
Dio_no.h16 #define __raw_readb(addr) \ macro
101 #define readb __raw_readb

1234