/linux-6.6.21/arch/sh/boards/mach-sh03/ |
D | rtc.c | 64 __raw_writeb(0, RTC_SEC1); __raw_writeb(0, RTC_SEC10); in sh03_rtc_gettimeofday() 65 __raw_writeb(0, RTC_MIN1); __raw_writeb(0, RTC_MIN10); in sh03_rtc_gettimeofday() 66 __raw_writeb(0, RTC_HOU1); __raw_writeb(0, RTC_HOU10); in sh03_rtc_gettimeofday() 67 __raw_writeb(6, RTC_WEE1); in sh03_rtc_gettimeofday() 68 __raw_writeb(1, RTC_DAY1); __raw_writeb(0, RTC_DAY10); in sh03_rtc_gettimeofday() 69 __raw_writeb(1, RTC_MON1); __raw_writeb(0, RTC_MON10); in sh03_rtc_gettimeofday() 70 __raw_writeb(0, RTC_YEA1); __raw_writeb(0, RTC_YEA10); in sh03_rtc_gettimeofday() 71 __raw_writeb(0, RTC_YEA100); in sh03_rtc_gettimeofday() 72 __raw_writeb(2, RTC_YEA1000); in sh03_rtc_gettimeofday() 73 __raw_writeb(0, RTC_CTL); in sh03_rtc_gettimeofday() [all …]
|
/linux-6.6.21/arch/m68k/coldfire/ |
D | intc-simr.c | 72 __raw_writeb(irq - 128, MCFINTC2_SIMR); in intc_irq_mask() 74 __raw_writeb(irq - 64, MCFINTC1_SIMR); in intc_irq_mask() 76 __raw_writeb(irq, MCFINTC0_SIMR); in intc_irq_mask() 84 __raw_writeb(irq - 128, MCFINTC2_CIMR); in intc_irq_unmask() 86 __raw_writeb(irq - 64, MCFINTC1_CIMR); in intc_irq_unmask() 88 __raw_writeb(irq, MCFINTC0_CIMR); in intc_irq_unmask() 95 __raw_writeb(0x1 << ebit, MCFEPORT_EPFR); in intc_irq_ack() 109 __raw_writeb(v & ~(0x1 << ebit), MCFEPORT_EPDDR); in intc_irq_startup() 114 __raw_writeb(v | (0x1 << ebit), MCFEPORT_EPIER); in intc_irq_startup() 119 __raw_writeb(5, MCFINTC2_ICR0 + irq - 128); in intc_irq_startup() [all …]
|
D | stmark2.c | 107 __raw_writeb(0x80, MCFGPIO_PAR_DSPIOWL); in init_stmark2() 108 __raw_writeb(0xfc, MCFGPIO_PAR_DSPIOWH); in init_stmark2() 111 __raw_writeb(0x00, MCFGPIO_PAR_BE); in init_stmark2() 112 __raw_writeb(0x00, MCFGPIO_PAR_FBCTL); in init_stmark2() 113 __raw_writeb(0x00, MCFGPIO_PAR_CS); in init_stmark2() 116 __raw_writeb(0x50, MCFGPIO_PAR_CANI2C); in init_stmark2()
|
D | m54xx.c | 54 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD, MCFGPIO_PAR_PSC0); in m54xx_uarts_init() 55 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD | MCF_PAR_PSC_RTS_RTS, in m54xx_uarts_init() 57 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD | MCF_PAR_PSC_RTS_RTS | in m54xx_uarts_init() 59 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD, MCFGPIO_PAR_PSC3); in m54xx_uarts_init()
|
D | clk.c | 45 __raw_writeb(clk->slot, MCFPM_PPMCR0); in __clk_enable0() 50 __raw_writeb(clk->slot, MCFPM_PPMSR0); in __clk_disable0() 61 __raw_writeb(clk->slot, MCFPM_PPMCR1); in __clk_enable1() 66 __raw_writeb(clk->slot, MCFPM_PPMSR1); in __clk_disable1()
|
D | intc-2.c | 100 __raw_writeb(0x1 << (irq - EINT0), MCFEPORT_EPFR); in intc_irq_ack() 124 __raw_writeb(intc_intpri--, icraddr); in intc_irq_startup() 134 __raw_writeb(v & ~(0x1 << irq), MCFEPORT_EPDDR); in intc_irq_startup() 138 __raw_writeb(v | (0x1 << irq), MCFEPORT_EPIER); in intc_irq_startup()
|
D | reset.c | 30 __raw_writeb(0xc0, MCFSIM_SYPCR); in mcf_cpu_reset() 40 __raw_writeb(MCF_RCR_SWRESET, MCF_RCR); in mcf_cpu_reset()
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-rs5c313.c | 84 #define RS5C313_CEENABLE __raw_writeb(RS5C313_CE_RTCCE, RS5C313_CE); 85 #define RS5C313_CEDISABLE __raw_writeb(0x00, RS5C313_CE) 86 #define RS5C313_MISCOP __raw_writeb(0x02, 0xB0000008) 91 __raw_writeb(__raw_readb(SCSMR1) & ~SCSMR1_CA, SCSMR1); in rs5c313_init_port() 92 __raw_writeb(__raw_readb(SCSCR1) & ~SCSCR1_CKE, SCSCR1); in rs5c313_init_port() 96 __raw_writeb(scsptr1_data, SCSPTR1); in rs5c313_init_port() 98 __raw_writeb(scsptr1_data, SCSPTR1); in rs5c313_init_port() 110 __raw_writeb(scsptr1_data, SCSPTR1); in rs5c313_write_data() 113 __raw_writeb(scsptr1_data, SCSPTR1); in rs5c313_write_data() 117 __raw_writeb(scsptr1_data, SCSPTR1); in rs5c313_write_data() [all …]
|
/linux-6.6.21/arch/sh/boards/mach-hp6xx/ |
D | pm.c | 61 __raw_writeb(stbcr | STBCR_STBY | STBCR_MSTP2, STBCR); in pm_enter() 92 __raw_writeb(stbcr, STBCR); in pm_enter() 117 __raw_writeb(0x1f, DACR); in hp6x0_pm_enter() 120 __raw_writeb(0x01, STBCR); in hp6x0_pm_enter() 123 __raw_writeb(0x7f , STBCR2); in hp6x0_pm_enter() 130 __raw_writeb(stbcr, STBCR); in hp6x0_pm_enter() 131 __raw_writeb(stbcr2, STBCR2); in hp6x0_pm_enter()
|
/linux-6.6.21/drivers/cdrom/ |
D | gdrom.c | 164 __raw_writeb(GDROM_COM_IDDEV, GDROM_STATUSCOMMAND_REG); in gdrom_identifydevice() 180 __raw_writeb(0x08, GDROM_ALTSTATUS_REG); in gdrom_spicommand() 182 __raw_writeb(buflen & 0xFF, GDROM_BCL_REG); in gdrom_spicommand() 183 __raw_writeb((buflen >> 8) & 0xFF, GDROM_BCH_REG); in gdrom_spicommand() 185 __raw_writeb(0, GDROM_INTSEC_REG); in gdrom_spicommand() 186 __raw_writeb(0, GDROM_SECNUM_REG); in gdrom_spicommand() 187 __raw_writeb(0, GDROM_ERROR_REG); in gdrom_spicommand() 194 __raw_writeb(GDROM_COM_PACKET, GDROM_STATUSCOMMAND_REG); in gdrom_spicommand() 216 __raw_writeb(GDROM_COM_EXECDIAG, GDROM_STATUSCOMMAND_REG); in gdrom_execute_diagnostic() 597 __raw_writeb(1, GDROM_ERROR_REG); in gdrom_readdisk_dma() [all …]
|
/linux-6.6.21/arch/sh/include/cpu-sh3/cpu/ |
D | dac.h | 24 __raw_writeb(v,DACR); in sh_dac_enable() 33 __raw_writeb(v,DACR); in sh_dac_disable() 38 if(channel) __raw_writeb(value,DADR1); in sh_dac_output() 39 else __raw_writeb(value,DADR0); in sh_dac_output()
|
/linux-6.6.21/drivers/watchdog/ |
D | sb_wdog.c | 73 __raw_writeb(0, wdog); in sbwdog_set() 87 __raw_writeb(__raw_readb(wdog) | 1, wdog); in sbwdog_pet() 117 __raw_writeb(1, user_dog); in sbwdog_open() 128 __raw_writeb(0, user_dog); in sbwdog_release() 228 __raw_writeb(0, user_dog); in sbwdog_notify_sys() 229 __raw_writeb(0, kern_dog); in sbwdog_notify_sys() 283 __raw_writeb(cfg, wd_cfg_reg); in sbwdog_interrupt()
|
/linux-6.6.21/arch/csky/kernel/ |
D | io.c | 41 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 55 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 74 __raw_writeb(c, dst); in __memset_io() 86 __raw_writeb(c, dst); in __memset_io()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | io.c | 46 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 60 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 80 __raw_writeb(c, dst); in __memset_io() 92 __raw_writeb(c, dst); in __memset_io()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | io.c | 43 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 57 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() 77 __raw_writeb(c, dst); in __memset_io() 89 __raw_writeb(c, dst); in __memset_io()
|
/linux-6.6.21/arch/arm/boot/compressed/ |
D | misc-ep93xx.h | 13 static inline void __raw_writeb(unsigned char value, unsigned int ptr) in __raw_writeb() function 51 __raw_writeb(TS72XX_WDT_FEED_VAL, TS72XX_WDT_FEED_PHYS_BASE); in ts72xx_watchdog_disable() 52 __raw_writeb(0, TS72XX_WDT_CONTROL_PHYS_BASE); in ts72xx_watchdog_disable()
|
/linux-6.6.21/include/asm-generic/ |
D | logic_io.h | 53 #define __raw_writeb __raw_writeb macro 54 void __raw_writeb(u8 value, volatile void __iomem *addr);
|
/linux-6.6.21/arch/sh/cchips/hd6446x/ |
D | hd64461.c | 49 __raw_writeb(0x00, HD64461_PCC1CSCR); in hd64461_mask_and_ack_irq() 105 __raw_writeb(0x4c, HD64461_PCC1CSCIER); in setup_hd64461() 106 __raw_writeb(0x00, HD64461_PCC1CSCR); in setup_hd64461()
|
/linux-6.6.21/arch/sh/kernel/cpu/ |
D | adc.c | 24 __raw_writeb(csr, ADCSR); in adc_single() 31 __raw_writeb(csr, ADCSR); in adc_single()
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | hp680_ts_input.c | 36 __raw_writeb(scpdr, SCPDR); in do_softint() 44 __raw_writeb(scpdr, SCPDR); in do_softint() 52 __raw_writeb(scpdr, SCPDR); in do_softint()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | mmio.h | 18 #define __raw_writeb __raw_writeb macro 19 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() function 91 #define writeb_cpu(v, c) ((void)__raw_writeb((v), (c)))
|
/linux-6.6.21/arch/sh/include/mach-se/mach/ |
D | mrshpc.h | 49 __raw_writeb(0x00, PA_MRSHPC_MW2 + 0x206); in mrshpc_setup_windows() 50 __raw_writeb(0x42, PA_MRSHPC_MW2 + 0x200); in mrshpc_setup_windows()
|
/linux-6.6.21/drivers/input/keyboard/ |
D | jornada680_kbd.c | 148 __raw_writeb(*t++, PDDR); in jornada_scan_keyb() 149 __raw_writeb(*t++, PEDR); in jornada_scan_keyb() 157 __raw_writeb(0xff, PDDR); in jornada_scan_keyb() 158 __raw_writeb(0xff, PEDR); in jornada_scan_keyb()
|
/linux-6.6.21/arch/sh/kernel/cpu/sh4a/ |
D | setup-sh7724.c | 1243 __raw_writeb(sh7724_rstandby_state.imr0, 0xa4080080); /* IMR0 */ in sh7724_post_sleep_notifier_call() 1244 __raw_writeb(sh7724_rstandby_state.imr1, 0xa4080084); /* IMR1 */ in sh7724_post_sleep_notifier_call() 1245 __raw_writeb(sh7724_rstandby_state.imr2, 0xa4080088); /* IMR2 */ in sh7724_post_sleep_notifier_call() 1246 __raw_writeb(sh7724_rstandby_state.imr3, 0xa408008c); /* IMR3 */ in sh7724_post_sleep_notifier_call() 1247 __raw_writeb(sh7724_rstandby_state.imr4, 0xa4080090); /* IMR4 */ in sh7724_post_sleep_notifier_call() 1248 __raw_writeb(sh7724_rstandby_state.imr5, 0xa4080094); /* IMR5 */ in sh7724_post_sleep_notifier_call() 1249 __raw_writeb(sh7724_rstandby_state.imr6, 0xa4080098); /* IMR6 */ in sh7724_post_sleep_notifier_call() 1250 __raw_writeb(sh7724_rstandby_state.imr7, 0xa408009c); /* IMR7 */ in sh7724_post_sleep_notifier_call() 1251 __raw_writeb(sh7724_rstandby_state.imr8, 0xa40800a0); /* IMR8 */ in sh7724_post_sleep_notifier_call() 1252 __raw_writeb(sh7724_rstandby_state.imr9, 0xa40800a4); /* IMR9 */ in sh7724_post_sleep_notifier_call() [all …]
|
/linux-6.6.21/arch/arc/include/asm/ |
D | io.h | 126 #define __raw_writeb __raw_writeb macro 127 static inline void __raw_writeb(u8 b, volatile void __iomem *addr) in __raw_writeb() function 228 #define writeb_relaxed(v,c) __raw_writeb(v,c)
|