Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/lantiq/falcon/
Dreset.c55 ltq_w32(BOOT_PW1, (void *)BOOT_PW1_REG); /* 'LTQ\0' */ in machine_restart()
56 ltq_w32(BOOT_PW2, (void *)BOOT_PW2_REG); /* '\0QTL' */ in machine_restart()
57 ltq_w32(0, (void *)BOOT_REG_BASE); /* reset Bootreg RVEC */ in machine_restart()
60 ltq_w32(WDT_PW1, (void *)WDT_REG_BASE); in machine_restart()
61 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-4.1.27/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-4.1.27/drivers/watchdog/
Dlantiq_wdt.c63 ltq_w32(LTQ_WDT_PW1, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_enable()
65 ltq_w32(LTQ_WDT_SR_EN | LTQ_WDT_SR_PWD | LTQ_WDT_SR_CLKDIV | in ltq_wdt_enable()
73 ltq_w32(LTQ_WDT_PW1, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_disable()
78 ltq_w32(LTQ_WDT_PW2, ltq_wdt_membase + LTQ_WDT_CR); in ltq_wdt_disable()
/linux-4.1.27/drivers/tty/serial/
Dlantiq.c154 ltq_w32(ASCWHBSTATE_CLRREN, port->membase + LTQ_ASC_WHBSTATE); in lqasc_stop_rx()
255 ltq_w32(ASC_IRNCR_TIR, port->membase + LTQ_ASC_IRNCR); in lqasc_tx_int()
280 ltq_w32(ASC_IRNCR_RIR, port->membase + LTQ_ASC_IRNCR); in lqasc_rx_int()
323 ltq_w32(0, port->membase + LTQ_ASC_PISEL); in lqasc_startup()
324 ltq_w32( in lqasc_startup()
328 ltq_w32( in lqasc_startup()
360 ltq_w32(ASC_IRNREN_RX | ASC_IRNREN_ERR | ASC_IRNREN_TX, in lqasc_startup()
379 ltq_w32(0, port->membase + LTQ_ASC_CON); in lqasc_shutdown()
471 ltq_w32(divisor, port->membase + LTQ_ASC_BG); in lqasc_set_termios()
477 ltq_w32(ASCWHBSTATE_SETREN, port->membase + LTQ_ASC_WHBSTATE); in lqasc_set_termios()
/linux-4.1.27/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-4.1.27/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.c61 #define ltq_pci_w32(x, y) ltq_w32((x), ltq_pci_membase + (y))
64 #define ltq_pci_cfg_w32(x, y) ltq_w32((x), ltq_pci_mapped_cfg + (y))
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/xway/
Dlantiq_soc.h58 #define ltq_cgu_w32(x, y) ltq_w32((x), ltq_cgu_membase + (y))
/linux-4.1.27/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-4.1.27/arch/mips/lantiq/xway/
Dreset.c25 #define ltq_rcu_w32(x, y) ltq_w32((x), ltq_rcu_membase + (y))
Dgptu.c60 #define gptu_w32(x, y) ltq_w32((x), gptu_membase + (y))
Ddma.c57 #define ltq_dma_w32(x, y) ltq_w32(x, ltq_dma_membase + (y))
Dsysctrl.c78 #define pmu_w32(x, y) ltq_w32((x), pmu_membase + (y))
/linux-4.1.27/drivers/gpio/
Dgpio-stp-xway.c78 ltq_w32((ltq_r32(m + reg) & ~(clear)) | (set), \
/linux-4.1.27/drivers/pinctrl/
Dpinctrl-falcon.c43 #define pad_w32(p, val, reg) ltq_w32(val, p + reg)
/linux-4.1.27/drivers/net/ethernet/
Dlantiq_etop.c81 #define ltq_etop_w32(x, y) ltq_w32(x, ltq_etop_membase + (y))