Home
last modified time | relevance | path

Searched refs:PIC32_SET (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/tty/serial/
Dpic32_uart.c78 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_set_mctrl()
158 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_STA), in pic32_uart_start_tx()
184 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_STA), in pic32_uart_break_ctl()
368 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_STA), in pic32_uart_en_and_unmask()
370 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_en_and_unmask()
543 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_set_termios()
552 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_set_termios()
557 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_set_termios()
570 pic32_uart_writel(sport, PIC32_SET(PIC32_UART_MODE), in pic32_uart_set_termios()
/Linux-v4.19/drivers/rtc/
Drtc-pic32.c114 base + (enabled ? PIC32_SET(PIC32_RTCALRM) : in pic32_rtc_setaie()
132 writel(freq << 8, base + PIC32_SET(PIC32_RTCALRM)); in pic32_rtc_setfreq()
133 writel(PIC32_RTCALRM_CHIME, base + PIC32_SET(PIC32_RTCALRM)); in pic32_rtc_setfreq()
302 writel(PIC32_RTCCON_RTCWREN, base + PIC32_SET(PIC32_RTCCON)); in pic32_rtc_enable()
306 writel(PIC32_RTCCON_ON, base + PIC32_SET(PIC32_RTCCON)); in pic32_rtc_enable()
/Linux-v4.19/arch/mips/include/asm/mach-pic32/
Dpic32.h23 #define PIC32_SET(_reg) ((_reg) + 0x08) macro
/Linux-v4.19/drivers/irqchip/
Dirq-pic32-evic.c69 writel(BIT(bit), evic_base + PIC32_SET(REG_INTCON)); in pic32_set_ext_polarity()
120 evic_base + PIC32_SET(REG_IPC_OFFSET + reg * 0x10)); in pic32_set_irq_priority()
/Linux-v4.19/drivers/clk/microchip/
Dclk-core.c115 writel(PB_DIV_ENABLE, PIC32_SET(pb->ctrl_reg)); in pbclk_enable()
265 writel(REFO_ON | REFO_OE, PIC32_SET(refo->ctrl_reg)); in roclk_enable()
529 writel(REFO_ON | REFO_DIVSW_EN, PIC32_SET(refo->ctrl_reg)); in roclk_set_rate_and_parent()
862 writel(OSC_SWEN, PIC32_SET(sclk->mux_reg)); in sclk_set_parent()
973 writel(sosc->enable_mask, PIC32_SET(sosc->enable_reg)); in sosc_clk_enable()
/Linux-v4.19/arch/mips/pic32/pic32mzda/
Dearly_console.c68 uart_base + PIC32_SET(U_STA(port))); in configure_uart()
/Linux-v4.19/drivers/pinctrl/
Dpinctrl-pic32.c1827 writel(mask, bank->reg_base + PIC32_SET(TRIS_REG)); in pic32_gpio_direction_input()
1846 writel(mask, bank->reg_base + PIC32_SET(PORT_REG)); in pic32_gpio_set()
1948 writel(mask, bank->reg_base +PIC32_SET(CNPU_REG)); in pic32_pinconf_set()
1952 writel(mask, bank->reg_base + PIC32_SET(CNPD_REG)); in pic32_pinconf_set()
1960 writel(mask, bank->reg_base + PIC32_SET(ANSEL_REG)); in pic32_pinconf_set()
1964 writel(mask, bank->reg_base + PIC32_SET(ODCU_REG)); in pic32_pinconf_set()
2022 writel(BIT(PIC32_CNCON_ON), bank->reg_base + PIC32_SET(CNCON_REG)); in pic32_gpio_irq_unmask()
2043 writel(mask, bank->reg_base + PIC32_SET(CNEN_REG)); in pic32_gpio_irq_set_type()
2047 writel(BIT(PIC32_CNCON_EDGE), bank->reg_base + PIC32_SET(CNCON_REG)); in pic32_gpio_irq_set_type()
2053 writel(mask, bank->reg_base + PIC32_SET(CNNE_REG)); in pic32_gpio_irq_set_type()
[all …]
/Linux-v4.19/drivers/watchdog/
Dpic32-dmt.c54 writel(DMT_ON, PIC32_SET(dmt->regs + DMTCON_REG)); in dmt_enable()
Dpic32-wdt.c115 writel(WDTCON_ON, PIC32_SET(wdt->regs + WDTCON_REG)); in pic32_wdt_start()