Lines Matching refs:config_info
24 const struct ipm_console_receiver_config_info *config_info; in ipm_console_thread() local
29 config_info = (const struct ipm_console_receiver_config_info *)arg2; in ipm_console_thread()
38 (uint8_t *)&config_info->line_buf[pos], in ipm_console_thread()
47 if (config_info->line_buf[pos] == '\n' || in ipm_console_thread()
48 pos == config_info->lb_size - 2) { in ipm_console_thread()
49 if (pos != config_info->lb_size - 2) { in ipm_console_thread()
50 config_info->line_buf[pos] = '\0'; in ipm_console_thread()
52 config_info->line_buf[pos + 1] = '\0'; in ipm_console_thread()
54 if (config_info->flags & IPM_CONSOLE_PRINTK) { in ipm_console_thread()
56 config_info->line_buf); in ipm_console_thread()
58 if (config_info->flags & IPM_CONSOLE_STDOUT) { in ipm_console_thread()
60 config_info->line_buf); in ipm_console_thread()
116 const struct ipm_console_receiver_config_info *config_info = in ipm_console_receiver_init() local
121 ipm = device_get_binding(config_info->bind_to); in ipm_console_receiver_init()
125 config_info->bind_to); in ipm_console_receiver_init()
131 config_info->bind_to); in ipm_console_receiver_init()
138 ring_buf_item_init(&driver_data->rb, config_info->rb_size32, in ipm_console_receiver_init()
139 config_info->ring_buf_data); in ipm_console_receiver_init()
143 k_thread_create(&driver_data->rx_thread, config_info->thread_stack, in ipm_console_receiver_init()
145 driver_data, (void *)config_info, NULL, in ipm_console_receiver_init()