Lines Matching refs:device

47 static bool is_irq_rx_pending(const struct device *dev)  in is_irq_rx_pending()
54 static bool is_irq_tx_pending(const struct device *dev) in is_irq_tx_pending()
61 static void irq_process(const struct device *dev) in irq_process()
87 static void irq_rx_enable(const struct device *dev) in irq_rx_enable()
96 static void irq_rx_disable(const struct device *dev) in irq_rx_disable()
104 static int irq_rx_ready(const struct device *dev) in irq_rx_ready()
113 static void irq_tx_enable(const struct device *dev) in irq_tx_enable()
122 static void irq_tx_disable(const struct device *dev) in irq_tx_disable()
130 static int irq_tx_ready(const struct device *dev) in irq_tx_ready()
139 static void irq_callback_set(const struct device *dev, uart_irq_callback_user_data_t cb, in irq_callback_set()
161 static int fifo_fill(const struct device *dev, const uint8_t *tx_data, int size) in fifo_fill()
172 static int fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in fifo_read()
182 static int serial_vnd_poll_in(const struct device *dev, unsigned char *c) in serial_vnd_poll_in()
201 static void serial_vnd_poll_out(const struct device *dev, unsigned char c) in serial_vnd_poll_out()
217 static void async_rx_run(const struct device *dev);
221 int serial_vnd_queue_in_data(const struct device *dev, const unsigned char *c, uint32_t size) in serial_vnd_queue_in_data()
247 uint32_t serial_vnd_out_data_size_get(const struct device *dev) in serial_vnd_out_data_size_get()
257 uint32_t serial_vnd_read_out_data(const struct device *dev, unsigned char *out_data, uint32_t size) in serial_vnd_read_out_data()
267 uint32_t serial_vnd_peek_out_data(const struct device *dev, unsigned char *out_data, uint32_t size) in serial_vnd_peek_out_data()
278 void serial_vnd_set_callback(const struct device *dev, serial_vnd_write_cb_t callback, in serial_vnd_set_callback()
290 static int serial_vnd_err_check(const struct device *dev) in serial_vnd_err_check()
296 static int serial_vnd_configure(const struct device *dev, const struct uart_config *cfg) in serial_vnd_configure()
301 static int serial_vnd_config_get(const struct device *dev, struct uart_config *cfg) in serial_vnd_config_get()
308 static int serial_vnd_callback_set(const struct device *dev, uart_callback_t callback, in serial_vnd_callback_set()
331 static int serial_vnd_api_tx(const struct device *dev, const uint8_t *tx_data, size_t len, in serial_vnd_api_tx()
363 static void async_rx_run(const struct device *dev) in async_rx_run()
402 static int serial_vnd_rx_enable(const struct device *dev, uint8_t *read_buf, size_t read_size, in serial_vnd_rx_enable()