Home
last modified time | relevance | path

Searched refs:console_dev (Results 1 – 2 of 2) sorted by relevance

/bsp/raspberry-pi/raspi4-32/driver/lcd/
A Dlcd_console.c28 static rt_device_t console_dev = RT_NULL; variable
169 if(console_dev != RT_NULL) in fb_print()
171 rt_device_control(console_dev,RTGRAPHIC_CTRL_RECT_UPDATE, RT_NULL); in fb_print()
183 if(console_dev != RT_NULL) in lcd_console_task_entry()
185 rt_device_control(console_dev,RTGRAPHIC_CTRL_RECT_UPDATE, RT_NULL); in lcd_console_task_entry()
196 console_dev = rt_device_find(CONSOLE_NAME); in lcd_console_init()
197 if(console_dev == RT_NULL) in lcd_console_init()
203 if(console_dev->ref_count >= 1) in lcd_console_init()
209 rt_device_open(console_dev,RT_DEVICE_OFLAG_RDWR); in lcd_console_init()
211 rt_device_control(console_dev, RTGRAPHIC_CTRL_GET_INFO, &info); in lcd_console_init()
/bsp/gd32/arm/gd32e230-lckfb/applications/
A Dmain.c39 rt_device_t console_dev; in uart_send_thread_entry() local
42 console_dev = rt_console_get_device(); in uart_send_thread_entry()
44 if (!console_dev) in uart_send_thread_entry()
54 rt_device_write(console_dev, 0, msg, (sizeof(msg) - 1)); in uart_send_thread_entry()

Completed in 7 milliseconds