Home
last modified time | relevance | path

Searched refs:ltq_w32 (Results 1 – 17 of 17) sorted by relevance

/Linux-v4.19/arch/mips/lantiq/falcon/
Dreset.c42 ltq_w32(BOOT_PW1, (void *)BOOT_PW1_REG); /* 'LTQ\0' */ in machine_restart()
43 ltq_w32(BOOT_PW2, (void *)BOOT_PW2_REG); /* '\0QTL' */ in machine_restart()
44 ltq_w32(0, (void *)BOOT_REG_BASE); /* reset Bootreg RVEC */ in machine_restart()
47 ltq_w32(WDT_PW1, (void *)WDT_REG_BASE); in machine_restart()
48 ltq_w32(WDT_PW2 | in machine_restart()
Dprom.c45 ltq_w32((unsigned long)&nmi_handler, (void *)BOOT_NVEC); in ltq_soc_nmi_setup()
52 ltq_w32((unsigned long)&ejtag_debug_handler, (void *)BOOT_EVEC); in ltq_soc_ejtag_setup()
Dsysctrl.c66 #define sysctl_w32(m, x, y) ltq_w32((x), sysctl_membase[m] + (y))
71 #define status_w32(x, y) ltq_w32((x), status_membase + (y))
/Linux-v4.19/arch/mips/include/asm/mach-lantiq/
Dlantiq.h17 #define ltq_w32(val, reg) __raw_writel(val, reg) macro
19 ltq_w32((ltq_r32(reg) & ~(clear)) | (set), reg)
24 #define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y))
/Linux-v4.19/drivers/tty/serial/
Dlantiq.c141 ltq_w32(ASCWHBSTATE_CLRREN, port->membase + LTQ_ASC_WHBSTATE); in lqasc_stop_rx()
242 ltq_w32(ASC_IRNCR_TIR, port->membase + LTQ_ASC_IRNCR); in lqasc_tx_int()
267 ltq_w32(ASC_IRNCR_RIR, port->membase + LTQ_ASC_IRNCR); in lqasc_rx_int()
310 ltq_w32(0, port->membase + LTQ_ASC_PISEL); in lqasc_startup()
311 ltq_w32( in lqasc_startup()
315 ltq_w32( in lqasc_startup()
347 ltq_w32(ASC_IRNREN_RX | ASC_IRNREN_ERR | ASC_IRNREN_TX, in lqasc_startup()
366 ltq_w32(0, port->membase + LTQ_ASC_CON); in lqasc_shutdown()
458 ltq_w32(divisor, port->membase + LTQ_ASC_BG); in lqasc_set_termios()
464 ltq_w32(ASCWHBSTATE_SETREN, port->membase + LTQ_ASC_WHBSTATE); in lqasc_set_termios()
/Linux-v4.19/drivers/watchdog/
Dlantiq_wdt.c75 ltq_w32(LTQ_WDT_PW1, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_enable()
77 ltq_w32(LTQ_WDT_SR_EN | LTQ_WDT_SR_PWD | LTQ_WDT_SR_CLKDIV | in ltq_wdt_enable()
85 ltq_w32(LTQ_WDT_PW1, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_disable()
90 ltq_w32(LTQ_WDT_PW2, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_disable()
/Linux-v4.19/arch/mips/include/asm/mach-lantiq/falcon/
Dlantiq_soc.h52 #define ltq_ebu_w32(x, y) ltq_w32((x), ltq_ebu_membase + (y))
55 #define ltq_sys1_w32(x, y) ltq_w32((x), ltq_sys1_membase + (y))
/Linux-v4.19/arch/mips/pci/
Dops-lantiq.c49 ltq_w32(swab32(*data), ((u32 *)cfg_base)); in ltq_pci_config_access()
63 ltq_w32(temp, ((u32 *)cfg_base)); in ltq_pci_config_access()
Dpci-lantiq.c58 #define ltq_pci_w32(x, y) ltq_w32((x), ltq_pci_membase + (y))
61 #define ltq_pci_cfg_w32(x, y) ltq_w32((x), ltq_pci_mapped_cfg + (y))
/Linux-v4.19/arch/mips/include/asm/mach-lantiq/xway/
Dlantiq_soc.h72 #define ltq_cgu_w32(x, y) ltq_w32((x), ltq_cgu_membase + (y))
/Linux-v4.19/arch/mips/lantiq/
Dirq.c51 #define ltq_icu_w32(m, x, y) ltq_w32((x), ltq_icu_membase[m] + (y))
54 #define ltq_eiu_w32(x, y) ltq_w32((x), ltq_eiu_membase + (y))
/Linux-v4.19/arch/mips/lantiq/xway/
Dgptu.c60 #define gptu_w32(x, y) ltq_w32((x), gptu_membase + (y))
Ddma.c58 #define ltq_dma_w32(x, y) ltq_w32(x, ltq_dma_membase + (y))
Dsysctrl.c145 #define pmu_w32(x, y) ltq_w32((x), pmu_membase + (y))
/Linux-v4.19/drivers/gpio/
Dgpio-stp-xway.c77 ltq_w32((ltq_r32(m + reg) & ~(clear)) | (set), \
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-falcon.c43 #define pad_w32(p, val, reg) ltq_w32(val, p + reg)
/Linux-v4.19/drivers/net/ethernet/
Dlantiq_etop.c81 #define ltq_etop_w32(x, y) ltq_w32(x, ltq_etop_membase + (y))