每个uart 设备打开后,会有状态信息与之绑定,在设备打开的阶段一直有效,通过 uart_state 描述。 struct uart_state { struct tty_port port; enum uart_pm_state pm_state; // uart 设备的发送缓冲区 struct circ_buf xmit; atomic_t refcount; wait_queue_head_t remove_wait; struct uart_port *uart_port...
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/mi...