Home
last modified time | relevance | path

Searched refs:data_bits (Results 1 – 24 of 24) sorted by relevance

/Zephyr-Core-2.7.6/drivers/serial/
Duart_mchp_xec.c268 switch (cfg->data_bits) { in uart_xec_configure()
270 uart_cfg.data_bits = LCR_CS5; in uart_xec_configure()
273 uart_cfg.data_bits = LCR_CS6; in uart_xec_configure()
276 uart_cfg.data_bits = LCR_CS7; in uart_xec_configure()
279 uart_cfg.data_bits = LCR_CS8; in uart_xec_configure()
313 regs->LCR = uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity; in uart_xec_configure()
349 cfg->data_bits = data->uart_config.data_bits; in uart_xec_config_get()
890 .uart_config.data_bits = UART_CFG_DATA_BITS_8, \
Duart_lpc11u6x.c151 switch (cfg->data_bits) { in lpc11u6x_uart0_configure()
183 data->data_bits = cfg->data_bits; in lpc11u6x_uart0_configure()
198 cfg->data_bits = data->data_bits; in lpc11u6x_uart0_config_get()
382 data->data_bits = UART_CFG_DATA_BITS_8; in lpc11u6x_uart0_init()
572 switch (cfg->data_bits) { in lpc11u6x_uartx_configure()
611 data->data_bits = cfg->data_bits; in lpc11u6x_uartx_configure()
625 cfg->data_bits = data->data_bits; in lpc11u6x_uartx_config_get()
827 data->data_bits = UART_CFG_DATA_BITS_8; in lpc11u6x_uartx_init()
Duart_ns16550.c398 switch (cfg->data_bits) { in uart_ns16550_configure()
400 uart_cfg.data_bits = LCR_CS5; in uart_ns16550_configure()
403 uart_cfg.data_bits = LCR_CS6; in uart_ns16550_configure()
406 uart_cfg.data_bits = LCR_CS7; in uart_ns16550_configure()
409 uart_cfg.data_bits = LCR_CS8; in uart_ns16550_configure()
444 uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity); in uart_ns16550_configure()
487 cfg->data_bits = data->uart_config.data_bits; in uart_ns16550_config_get()
1087 .uart_config.data_bits = UART_CFG_DATA_BITS_8, \
Duart_lpc11u6x.h147 uint8_t data_bits; member
188 uint8_t data_bits; member
Duart_esp32.c183 cfg->data_bits = UART_GET_DATA_BITS(DEV_BASE(dev)->conf0); in uart_esp32_config_get()
292 if (cfg->data_bits <= UART_CFG_DATA_BITS_8) { in uart_esp32_configure()
293 conf0 |= cfg->data_bits << UART_BIT_NUM_S; in uart_esp32_configure()
509 .data_bits = UART_CFG_DATA_BITS_8, \
Duart_xmc4xxx.c46 data->config.data_bits = 8U; in uart_xmc4xxx_init()
Duart_apbuart.c257 if (cfg->data_bits != UART_CFG_DATA_BITS_8) { in apbuart_configure()
301 cfg->data_bits = UART_CFG_DATA_BITS_8; in apbuart_config_get()
Duart_stm32.c408 const uint32_t databits = uart_stm32_cfg2ll_databits(cfg->data_bits, in uart_stm32_configure()
420 (cfg->data_bits == UART_CFG_DATA_BITS_9)) { in uart_stm32_configure()
447 if ((cfg->data_bits == UART_CFG_DATA_BITS_5) || in uart_stm32_configure()
448 (cfg->data_bits == UART_CFG_DATA_BITS_6) in uart_stm32_configure()
450 || (cfg->data_bits == UART_CFG_DATA_BITS_7) in uart_stm32_configure()
452 || (cfg->data_bits == UART_CFG_DATA_BITS_9)) { in uart_stm32_configure()
500 cfg->data_bits = uart_stm32_ll2cfg_databits( in uart_stm32_config_get()
Duart_numicro.c112 databits = uart_numicro_convert_datalen(cfg->data_bits); in uart_numicro_configure()
Duart_cc13xx_cc26xx.c129 switch (cfg->data_bits) { in uart_cc13xx_cc26xx_configure()
590 .data_bits = UART_CFG_DATA_BITS_8, \
Duart_mcux_lpuart.c268 switch (cfg->data_bits) { in mcux_lpuart_configure_init()
360 uart_api_config->data_bits = UART_CFG_DATA_BITS_8; in mcux_lpuart_init()
Duart_sam0.c448 switch (new_cfg->data_bits) { in uart_sam0_configure()
468 dev_data->config_cache.data_bits = new_cfg->data_bits; in uart_sam0_configure()
552 dev_data->config_cache.data_bits = UART_CFG_DATA_BITS_8; in uart_sam0_init()
564 dev_data->config_cache.data_bits = cfg->baudrate; in uart_sam0_init()
Duart_rcar.c196 cfg->data_bits != UART_CFG_DATA_BITS_8 || in uart_rcar_configure()
574 .data_bits = UART_CFG_DATA_BITS_8, \
Duart_xlnx_ps.c622 (!uart_xlnx_ps_cfg2ll_databits(&mode_reg, cfg->data_bits)) || in uart_xlnx_ps_configure()
825 cfg->data_bits = uart_xlnx_ps_ll2cfg_databits(mode_reg); in uart_xlnx_ps_config_get()
Duart_nrfx_uart.c342 if (cfg->data_bits != UART_CFG_DATA_BITS_8) { in uart_nrfx_configure()
1172 .data_bits = UART_CFG_DATA_BITS_8,
Duart_mcux.c401 .data_bits = UART_CFG_DATA_BITS_8, \
Duart_nrfx_uarte.c389 if (cfg->data_bits != UART_CFG_DATA_BITS_8) { in uarte_nrfx_configure()
2006 .data_bits = UART_CFG_DATA_BITS_8, \
/Zephyr-Core-2.7.6/subsys/debug/gdbstub/
Dgdbstub_backend_serial.c20 .data_bits = UART_CFG_DATA_BITS_8, in z_gdb_backend_init()
/Zephyr-Core-2.7.6/tests/drivers/uart/uart_basic_api/src/
Dtest_uart_config.c33 .data_bits = UART_CFG_DATA_BITS_8,
/Zephyr-Core-2.7.6/subsys/modbus/
Dmodbus_serial.c561 uart_cfg.data_bits = UART_CFG_DATA_BITS_7; in modbus_serial_init()
563 uart_cfg.data_bits = UART_CFG_DATA_BITS_8; in modbus_serial_init()
/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/
Dosdp.c211 p->dev_config.data_bits = UART_CFG_DATA_BITS_8; in osdp_init()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Drfcomm.c1121 uint8_t data_bits, stop_bits, parity_bits; in rfcomm_handle_rpn() local
1151 data_bits = BT_RFCOMM_RPN_DATA_BITS_8; in rfcomm_handle_rpn()
1154 default_rpn.line_settings = BT_RFCOMM_SET_LINE_SETTINGS(data_bits, in rfcomm_handle_rpn()
/Zephyr-Core-2.7.6/include/drivers/
Duart.h265 uint8_t data_bits; member
/Zephyr-Core-2.7.6/drivers/wifi/esp_at/
Desp.c960 .data_bits = UART_CFG_DATA_BITS_8, in esp_init_work()