Home
last modified time | relevance | path

Searched refs:__raw_writeb (Results 1 – 25 of 121) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/sh/boards/mach-sh03/
Drtc.c65 __raw_writeb(0, RTC_SEC1); __raw_writeb(0, RTC_SEC10); in sh03_rtc_gettimeofday()
66 __raw_writeb(0, RTC_MIN1); __raw_writeb(0, RTC_MIN10); in sh03_rtc_gettimeofday()
67 __raw_writeb(0, RTC_HOU1); __raw_writeb(0, RTC_HOU10); in sh03_rtc_gettimeofday()
68 __raw_writeb(6, RTC_WEE1); in sh03_rtc_gettimeofday()
69 __raw_writeb(1, RTC_DAY1); __raw_writeb(0, RTC_DAY10); in sh03_rtc_gettimeofday()
70 __raw_writeb(1, RTC_MON1); __raw_writeb(0, RTC_MON10); in sh03_rtc_gettimeofday()
71 __raw_writeb(0, RTC_YEA1); __raw_writeb(0, RTC_YEA10); in sh03_rtc_gettimeofday()
72 __raw_writeb(0, RTC_YEA100); in sh03_rtc_gettimeofday()
73 __raw_writeb(2, RTC_YEA1000); in sh03_rtc_gettimeofday()
74 __raw_writeb(0, RTC_CTL); in sh03_rtc_gettimeofday()
[all …]
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dintc-simr.c72 __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 …]
Dstmark2.c107 __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()
114 __raw_writeb(0x00, MCFGPIO_PAR_CANI2C); in init_stmark2()
Dm54xx.c61 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD, MCFGPIO_PAR_PSC0); in m54xx_uarts_init()
62 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD | MCF_PAR_PSC_RTS_RTS, in m54xx_uarts_init()
64 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD | MCF_PAR_PSC_RTS_RTS | in m54xx_uarts_init()
66 __raw_writeb(MCF_PAR_PSC_TXD | MCF_PAR_PSC_RXD, MCFGPIO_PAR_PSC3); in m54xx_uarts_init()
Dclk.c45 __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()
Dintc-2.c100 __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()
Dreset.c30 __raw_writeb(0xc0, MCFSIM_SYPCR); in mcf_cpu_reset()
40 __raw_writeb(MCF_RCR_SWRESET, MCF_RCR); in mcf_cpu_reset()
Dm5441x.c235 __raw_writeb(0x0f, MCFGPIO_PAR_UART0); in m5441x_uarts_init()
236 __raw_writeb(0x00, MCFGPIO_PAR_UART1); in m5441x_uarts_init()
237 __raw_writeb(0x00, MCFGPIO_PAR_UART2); in m5441x_uarts_init()
242 __raw_writeb(0x03, MCFGPIO_PAR_FEC); in m5441x_fec_init()
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/
Dcore.c33 __raw_writeb(1 << d->irq, IRQ_MCLR); in ebsa110_mask_irq()
38 __raw_writeb(1 << d->irq, IRQ_MSET); in ebsa110_unmask_irq()
53 __raw_writeb(0xff, IRQ_MCLR); in ebsa110_init_irq()
54 __raw_writeb(0x55, IRQ_MSET); in ebsa110_init_irq()
55 __raw_writeb(0x00, IRQ_MSET); in ebsa110_init_irq()
58 __raw_writeb(0xff, IRQ_MCLR); /* clear all interrupt enables */ in ebsa110_init_irq()
161 __raw_writeb(0x40, PIT_CTRL); in ebsa110_gettimeoffset()
189 __raw_writeb(0x40, PIT_CTRL); in ebsa110_timer_interrupt()
195 __raw_writeb(count & 0xff, PIT_T1); in ebsa110_timer_interrupt()
196 __raw_writeb(count >> 8, PIT_T1); in ebsa110_timer_interrupt()
[all …]
/kernel/linux/linux-5.10/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()
71 __raw_writeb((__raw_readb(OMAP1510_FPGA_IMR_LO) | (1 << irq)), in fpga_unmask_irq()
74 __raw_writeb((__raw_readb(OMAP1510_FPGA_IMR_HI) in fpga_unmask_irq()
77 __raw_writeb((__raw_readb(INNOVATOR_FPGA_IMR2) in fpga_unmask_irq()
147 __raw_writeb(0, OMAP1510_FPGA_IMR_LO); in omap1510_fpga_init_irq()
148 __raw_writeb(0, OMAP1510_FPGA_IMR_HI); in omap1510_fpga_init_irq()
149 __raw_writeb(0, INNOVATOR_FPGA_IMR2); in omap1510_fpga_init_irq()
Dboard-innovator.c278 __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()
391 __raw_writeb(reg, OMAP1510_FPGA_POWER); in innovator_init()
396 __raw_writeb(reg, OMAP1510_FPGA_POWER); in innovator_init()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-rs5c313.c84 #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 …]
/kernel/linux/linux-5.10/arch/sh/boards/mach-hp6xx/
Dpm.c61 __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()
/kernel/linux/linux-5.10/drivers/cdrom/
Dgdrom.c165 __raw_writeb(GDROM_COM_IDDEV, GDROM_STATUSCOMMAND_REG); in gdrom_identifydevice()
181 __raw_writeb(0x08, GDROM_ALTSTATUS_REG); in gdrom_spicommand()
183 __raw_writeb(buflen & 0xFF, GDROM_BCL_REG); in gdrom_spicommand()
184 __raw_writeb((buflen >> 8) & 0xFF, GDROM_BCH_REG); in gdrom_spicommand()
186 __raw_writeb(0, GDROM_INTSEC_REG); in gdrom_spicommand()
187 __raw_writeb(0, GDROM_SECNUM_REG); in gdrom_spicommand()
188 __raw_writeb(0, GDROM_ERROR_REG); in gdrom_spicommand()
195 __raw_writeb(GDROM_COM_PACKET, GDROM_STATUSCOMMAND_REG); in gdrom_spicommand()
217 __raw_writeb(GDROM_COM_EXECDIAG, GDROM_STATUSCOMMAND_REG); in gdrom_execute_diagnostic()
597 __raw_writeb(1, GDROM_ERROR_REG); in gdrom_readdisk_dma()
[all …]
/kernel/linux/linux-5.10/arch/sh/include/cpu-sh3/cpu/
Ddac.h24 __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()
/kernel/linux/linux-5.10/arch/arm/mach-ep93xx/include/mach/
Duncompress.h21 static void __raw_writeb(unsigned char value, unsigned int ptr) in __raw_writeb() function
45 __raw_writeb(c, PHYS_UART_DATA); in putc()
81 __raw_writeb(TS72XX_WDT_FEED_VAL, TS72XX_WDT_FEED_PHYS_BASE); in ts72xx_watchdog_disable()
82 __raw_writeb(0, TS72XX_WDT_CONTROL_PHYS_BASE); in ts72xx_watchdog_disable()
/kernel/linux/linux-5.10/drivers/watchdog/
Dsb_wdog.c73 __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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dio.c46 __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()
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dio.h9 #define __raw_writeb __raw_writeb macro
10 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() function
66 #define writeb_relaxed(v,c) ((void)__raw_writeb((v),(c)))
/kernel/linux/linux-5.10/arch/h8300/include/asm/
Dio.h29 #define __raw_writeb __raw_writeb macro
30 static inline void __raw_writeb(u8 b, const volatile void __iomem *addr) in __raw_writeb() function
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dbast-irq.c59 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_mask()
78 __raw_writeb(temp, BAST_VA_PC104_IRQMASK); in bast_pc104_unmask()
119 __raw_writeb(0x0, BAST_VA_PC104_IRQMASK); in bast_irq_init()
/kernel/linux/linux-5.10/arch/sh/cchips/hd6446x/
Dhd64461.c49 __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()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/
Dadc.c24 __raw_writeb(csr, ADCSR); in adc_single()
31 __raw_writeb(csr, ADCSR); in adc_single()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dhp680_ts_input.c36 __raw_writeb(scpdr, SCPDR); in do_softint()
44 __raw_writeb(scpdr, SCPDR); in do_softint()
52 __raw_writeb(scpdr, SCPDR); in do_softint()
/kernel/linux/linux-5.10/arch/sh/include/mach-se/mach/
Dmrshpc.h49 __raw_writeb(0x00, PA_MRSHPC_MW2 + 0x206); in mrshpc_setup_windows()
50 __raw_writeb(0x42, PA_MRSHPC_MW2 + 0x200); in mrshpc_setup_windows()

12345