Lines Matching full:const
28 const struct pinctrl_dev_config *pcfg;
44 static void usart_gd32_isr(const struct device *dev) in usart_gd32_isr()
46 struct gd32_usart_data *const data = dev->data; in usart_gd32_isr()
54 static int usart_gd32_init(const struct device *dev) in usart_gd32_init()
56 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_init()
57 struct gd32_usart_data *const data = dev->data; in usart_gd32_init()
109 static int usart_gd32_poll_in(const struct device *dev, unsigned char *c) in usart_gd32_poll_in()
111 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_poll_in()
125 static void usart_gd32_poll_out(const struct device *dev, unsigned char c) in usart_gd32_poll_out()
127 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_poll_out()
136 static int usart_gd32_err_check(const struct device *dev) in usart_gd32_err_check()
138 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_err_check()
166 int usart_gd32_fifo_fill(const struct device *dev, const uint8_t *tx_data, in usart_gd32_fifo_fill()
169 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_fifo_fill()
180 int usart_gd32_fifo_read(const struct device *dev, uint8_t *rx_data, in usart_gd32_fifo_read()
181 const int size) in usart_gd32_fifo_read()
183 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_fifo_read()
194 void usart_gd32_irq_tx_enable(const struct device *dev) in usart_gd32_irq_tx_enable()
196 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_tx_enable()
201 void usart_gd32_irq_tx_disable(const struct device *dev) in usart_gd32_irq_tx_disable()
203 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_tx_disable()
208 int usart_gd32_irq_tx_ready(const struct device *dev) in usart_gd32_irq_tx_ready()
210 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_tx_ready()
216 int usart_gd32_irq_tx_complete(const struct device *dev) in usart_gd32_irq_tx_complete()
218 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_tx_complete()
223 void usart_gd32_irq_rx_enable(const struct device *dev) in usart_gd32_irq_rx_enable()
225 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_rx_enable()
230 void usart_gd32_irq_rx_disable(const struct device *dev) in usart_gd32_irq_rx_disable()
232 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_rx_disable()
237 int usart_gd32_irq_rx_ready(const struct device *dev) in usart_gd32_irq_rx_ready()
239 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_rx_ready()
244 void usart_gd32_irq_err_enable(const struct device *dev) in usart_gd32_irq_err_enable()
246 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_err_enable()
252 void usart_gd32_irq_err_disable(const struct device *dev) in usart_gd32_irq_err_disable()
254 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_err_disable()
260 int usart_gd32_irq_is_pending(const struct device *dev) in usart_gd32_irq_is_pending()
262 const struct gd32_usart_config *const cfg = dev->config; in usart_gd32_irq_is_pending()
270 int usart_gd32_irq_update(const struct device *dev) in usart_gd32_irq_update()
276 void usart_gd32_irq_callback_set(const struct device *dev, in usart_gd32_irq_callback_set()
280 struct gd32_usart_data *const data = dev->data; in usart_gd32_irq_callback_set()
311 static void usart_gd32_config_func_##n(const struct device *dev) \
333 static const struct gd32_usart_config usart_gd32_config_##n = { \