Home
last modified time | relevance | path

Searched refs:uart_base (Results 1 – 13 of 13) sorted by relevance

/rk3399_ARM-atf/plat/imx/imx8m/
H A Dimx8m_ccm.c16 unsigned int uart_base; member
20 .uart_base = IMX_UART1_BASE,
23 .uart_base = IMX_UART2_BASE,
26 .uart_base = IMX_UART3_BASE,
29 .uart_base = IMX_UART4_BASE,
46 val = mmio_read_32(imx8m_uart_info[i].uart_base + UCR1); in imx8m_uart_get_base()
48 return imx8m_uart_info[i].uart_base; in imx8m_uart_get_base()
H A Dimx_rdc.c15 unsigned int uart_base; member
21 .uart_base = IMX_UART1_BASE,
24 .uart_base = IMX_UART2_BASE,
27 .uart_base = IMX_UART3_BASE,
30 .uart_base = IMX_UART4_BASE,
34 static int imx_rdc_uart_get_pdap_index(unsigned int uart_base) in imx_rdc_uart_get_pdap_index() argument
39 if (imx8m_uart_info[i].uart_base == uart_base) { in imx_rdc_uart_get_pdap_index()
/rk3399_ARM-atf/plat/arm/board/fvp/
H A Dfvp_console.c22 uintptr_t uart_base; in arm_console_runtime_init() local
35 uart_base = PLAT_ARM_RUN_UART_BASE; in arm_console_runtime_init()
38 uart_base = FCONF_GET_PROPERTY(hw_config, uart_serial_config, in arm_console_runtime_init()
39 uart_base); in arm_console_runtime_init()
44 int rc = console_pl011_register(uart_base, uart_clk, in arm_console_runtime_init()
/rk3399_ARM-atf/plat/rockchip/common/
H A Dparams_setup.c59 uint32_t uart_base; in plat_rockchip_dt_process_fdt_uart() local
83 uart_base = UART0_BASE; in plat_rockchip_dt_process_fdt_uart()
86 uart_base = UART1_BASE; in plat_rockchip_dt_process_fdt_uart()
89 uart_base = UART2_BASE; in plat_rockchip_dt_process_fdt_uart()
93 uart_base = UART3_BASE; in plat_rockchip_dt_process_fdt_uart()
98 uart_base = UART4_BASE; in plat_rockchip_dt_process_fdt_uart()
103 uart_base = UART5_BASE; in plat_rockchip_dt_process_fdt_uart()
110 rk_uart_base = uart_base; in plat_rockchip_dt_process_fdt_uart()
/rk3399_ARM-atf/plat/hisilicon/hikey960/
H A Dhikey960_bl31_setup.c77 unsigned int id, uart_base; in bl31_early_platform_setup2() local
86 uart_base = PL011_UART5_BASE; in bl31_early_platform_setup2()
88 uart_base = PL011_UART6_BASE; in bl31_early_platform_setup2()
91 console_pl011_register(uart_base, PL011_UART_CLK_IN_HZ, in bl31_early_platform_setup2()
H A Dhikey960_pm.c36 static unsigned int uart_base; variable
282 console_pl011_register(uart_base, PL011_UART_CLK_IN_HZ, in hikey960_pwr_domain_suspend_finish()
320 uart_base = PL011_UART5_BASE; in plat_setup_psci_ops()
322 uart_base = PL011_UART6_BASE; in plat_setup_psci_ops()
324 uart_base = PL011_UART6_BASE; in plat_setup_psci_ops()
H A Dhikey960_bl1_setup.c74 unsigned int id, uart_base; in bl1_early_platform_setup() local
79 uart_base = PL011_UART5_BASE; in bl1_early_platform_setup()
81 uart_base = PL011_UART6_BASE; in bl1_early_platform_setup()
83 console_pl011_register(uart_base, PL011_UART_CLK_IN_HZ, in bl1_early_platform_setup()
H A Dhikey960_bl2_setup.c288 unsigned int id, uart_base; in bl2_el3_early_platform_setup() local
293 uart_base = PL011_UART5_BASE; in bl2_el3_early_platform_setup()
295 uart_base = PL011_UART6_BASE; in bl2_el3_early_platform_setup()
297 console_pl011_register(uart_base, PL011_UART_CLK_IN_HZ, in bl2_el3_early_platform_setup()
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/pmu/
H A Dpmu.c1147 uint32_t uart_base = rockchip_get_uart_base(); in suspend_uart() local
1149 if (uart_base == 0) in suspend_uart()
1152 uart_save.uart_lcr = mmio_read_32(uart_base + UART_LCR); in suspend_uart()
1153 uart_save.uart_ier = mmio_read_32(uart_base + UART_IER); in suspend_uart()
1154 uart_save.uart_mcr = mmio_read_32(uart_base + UART_MCR); in suspend_uart()
1155 mmio_write_32(uart_base + UART_LCR, in suspend_uart()
1157 uart_save.uart_dll = mmio_read_32(uart_base + UART_DLL); in suspend_uart()
1158 uart_save.uart_dlh = mmio_read_32(uart_base + UART_DLH); in suspend_uart()
1159 mmio_write_32(uart_base + UART_LCR, uart_save.uart_lcr); in suspend_uart()
1164 uint32_t uart_base = rockchip_get_uart_base(); in resume_uart() local
[all …]
/rk3399_ARM-atf/plat/nuvoton/npcm845x/
H A Dnpcm845x_serial_port.c65 uintptr_t uart_base = npcm845x_get_base_uart(devNum); in UART_Init() local
66 volatile struct npcmX50_uart *uart = (struct npcmX50_uart *)uart_base; in UART_Init()
/rk3399_ARM-atf/plat/arm/board/fvp/include/
H A Dfconf_hw_config_getter.h36 uint64_t uart_base; member
/rk3399_ARM-atf/plat/arm/board/fvp/fconf/
H A Dfconf_hw_config_getter.c208 uart_serial_config.uart_base = translated_addr; in fconf_populate_uart_config()
211 uart_serial_config.uart_base); in fconf_populate_uart_config()
/rk3399_ARM-atf/plat/st/common/
H A Dbl2_io_storage.c420 uintptr_t uart_base; in stm32cubeprogrammer_uart() local
422 uart_base = get_uart_address(boot_context->boot_interface_instance); in stm32cubeprogrammer_uart()
423 ret = stm32cubeprog_uart_load(uart_base, phase, base, len); in stm32cubeprogrammer_uart()