Lines Matching defs:info
101 * @info: Pointer to the UART information structure.
107 static uint32_t fdt_add_uart_info(dt_uart_info_t *info, int node, void *dtb)
115 strlcpy(info->compatible, com, sizeof(info->compatible));
124 info->base = base_addr;
131 info->status = get_node_status(dtb, node);
132 info->baud_rate = get_baudrate(dtb);
140 * @info: Pointer to the UART information structure.
144 static int fdt_get_uart_info(dt_uart_info_t *info)
169 ret = fdt_add_uart_info(info, node, dtb);
171 ERROR("Failed to add DT UART info: %d\n", ret);
181 * check_fdt_uart_info() - Check early uart info with DTB uart info.
182 * @info: Pointer to the UART information structure.
186 static int check_fdt_uart_info(dt_uart_info_t *info)
190 if (info->status == 0) {
195 if ((info->base == console.base) &&
196 (info->baud_rate == UART_BAUDRATE) && !CONSOLE_IS(dcc)) {
222 * @info: Pointer to the UART information structure.
224 static void setup_runtime_console(uint32_t clock, dt_uart_info_t *info)
230 rc = console_cdns_register(info->base,
232 info->baud_rate,
235 rc = console_pl011_register(info->base,
237 info->baud_rate,