/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_numicro.c | 87 static inline uint32_t uart_numicro_convert_parity(enum uart_config_parity parity) in uart_numicro_convert_parity() argument 89 switch (parity) { in uart_numicro_convert_parity() 110 uint32_t parity; in uart_numicro_configure() local 130 parity = uart_numicro_convert_parity(cfg->parity); in uart_numicro_configure() 133 parity, stopbits); in uart_numicro_configure()
|
D | uart_b91.c | 202 uint8_t bwpc, uint8_t parity, uint8_t stop_bit) in uart_b91_init() argument 210 if (parity) { in uart_b91_init() 214 if (parity == UART_PARITY_EVEN) { in uart_b91_init() 217 } else if (parity == UART_PARITY_ODD) { in uart_b91_init() 250 uint8_t parity; in uart_b91_configure() local 256 if (cfg->parity == UART_CFG_PARITY_NONE) { in uart_b91_configure() 257 parity = UART_PARITY_NONE; in uart_b91_configure() 258 } else if (cfg->parity == UART_CFG_PARITY_ODD) { in uart_b91_configure() 259 parity = UART_PARITY_ODD; in uart_b91_configure() 260 } else if (cfg->parity == UART_CFG_PARITY_EVEN) { in uart_b91_configure() [all …]
|
D | uart_stm32.c | 180 uint32_t parity) in uart_stm32_set_parity() argument 184 LL_USART_SetParity(UartInstance, parity); in uart_stm32_set_parity() 239 static inline uint32_t uart_stm32_cfg2ll_parity(enum uart_config_parity parity) in uart_stm32_cfg2ll_parity() argument 241 switch (parity) { in uart_stm32_cfg2ll_parity() 252 static inline enum uart_config_parity uart_stm32_ll2cfg_parity(uint32_t parity) in uart_stm32_ll2cfg_parity() argument 254 switch (parity) { in uart_stm32_ll2cfg_parity() 406 const uint32_t parity = uart_stm32_cfg2ll_parity(cfg->parity); in uart_stm32_configure() local 409 cfg->parity); in uart_stm32_configure() 413 if ((cfg->parity == UART_CFG_PARITY_MARK) || in uart_stm32_configure() 414 (cfg->parity == UART_CFG_PARITY_SPACE)) { in uart_stm32_configure() [all …]
|
D | uart_mcux_flexcomm.c | 30 uint8_t parity; member 260 if (config->parity == UART_CFG_PARITY_ODD) { in mcux_flexcomm_init() 262 } else if (config->parity == UART_CFG_PARITY_EVEN) { in mcux_flexcomm_init() 335 .parity = DT_ENUM_IDX_OR(DT_DRV_INST(n), parity, UART_CFG_PARITY_NONE), \
|
D | uart_lpc11u6x.c | 117 switch (cfg->parity) { in lpc11u6x_uart0_configure() 185 data->parity = cfg->parity; in lpc11u6x_uart0_configure() 196 cfg->parity = data->parity; in lpc11u6x_uart0_config_get() 380 data->parity = UART_CFG_PARITY_NONE; in lpc11u6x_uart0_init() 539 switch (cfg->parity) { in lpc11u6x_uartx_configure() 609 data->parity = cfg->parity; in lpc11u6x_uartx_configure() 623 cfg->parity = data->parity; in lpc11u6x_uartx_config_get() 825 data->parity = UART_CFG_PARITY_NONE; in lpc11u6x_uartx_init()
|
D | uart_apbuart.c | 240 switch (cfg->parity) { in apbuart_configure() 285 cfg->parity = UART_CFG_PARITY_NONE; in apbuart_config_get() 288 cfg->parity = UART_CFG_PARITY_ODD; in apbuart_config_get() 290 cfg->parity = UART_CFG_PARITY_EVEN; in apbuart_config_get()
|
D | uart_mchp_xec.c | 298 switch (cfg->parity) { in uart_xec_configure() 300 uart_cfg.parity = LCR_PDIS; in uart_xec_configure() 303 uart_cfg.parity = LCR_EPS; in uart_xec_configure() 313 regs->LCR = uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity; in uart_xec_configure() 347 cfg->parity = data->uart_config.parity; in uart_xec_config_get() 888 .uart_config.parity = UART_CFG_PARITY_NONE, \
|
D | uart_lpc11u6x.h | 145 uint8_t parity; member 186 uint8_t parity; member
|
D | Kconfig.nrfx | 62 bool "Enable parity bit" 64 Enable parity bit. 141 bool "Enable parity bit" 143 Enable parity bit. 218 bool "Enable parity bit" 220 Enable parity bit. 294 bool "Enable parity bit" 296 Enable parity bit.
|
D | uart_stm32.h | 25 int parity; member
|
D | uart_ns16550.c | 428 switch (cfg->parity) { in uart_ns16550_configure() 430 uart_cfg.parity = LCR_PDIS; in uart_ns16550_configure() 433 uart_cfg.parity = LCR_EPS; in uart_ns16550_configure() 444 uart_cfg.data_bits | uart_cfg.stop_bits | uart_cfg.parity); in uart_ns16550_configure() 485 cfg->parity = data->uart_config.parity; in uart_ns16550_config_get() 1085 .uart_config.parity = UART_CFG_PARITY_NONE, \
|
D | uart_esp32.c | 177 cfg->parity = UART_GET_PARITY(DEV_BASE(dev)->conf0); in uart_esp32_config_get() 179 cfg->parity = UART_CFG_PARITY_NONE; in uart_esp32_config_get() 267 switch (cfg->parity) { in uart_esp32_configure() 507 .parity = UART_CFG_PARITY_NONE, \
|
D | uart_xlnx_ps.c | 142 uint32_t parity; member 409 enum uart_config_parity parity) in uart_xlnx_ps_cfg2ll_parity() argument 421 switch (parity) { in uart_xlnx_ps_cfg2ll_parity() 620 if ((!uart_xlnx_ps_cfg2ll_parity(&mode_reg, cfg->parity)) || in uart_xlnx_ps_configure() 823 cfg->parity = uart_xlnx_ps_ll2cfg_parity(mode_reg); in uart_xlnx_ps_config_get()
|
D | uart_nrfx_uart.c | 364 switch (cfg->parity) { in uart_nrfx_configure() 366 uart_cfg.parity = NRF_UART_PARITY_EXCLUDED; in uart_nrfx_configure() 369 uart_cfg.parity = NRF_UART_PARITY_INCLUDED; in uart_nrfx_configure() 373 uart_cfg.parity = NRF_UART_PARITY_INCLUDED; in uart_nrfx_configure() 1175 .parity = UART_CFG_PARITY_EVEN, 1177 .parity = UART_CFG_PARITY_NONE,
|
D | uart_mcux.c | 81 switch (cfg->parity) { in uart_mcux_configure() 403 .parity = UART_CFG_PARITY_NONE, \
|
/Zephyr-Core-2.7.6/tests/subsys/modbus/src/ |
D | test_modbus_server.c | 182 .parity = UART_CFG_PARITY_ODD, 195 server_param.serial.parity = UART_CFG_PARITY_ODD; in test_server_setup_low_odd() 214 server_param.serial.parity = UART_CFG_PARITY_NONE; in test_server_setup_low_none() 233 server_param.serial.parity = UART_CFG_PARITY_EVEN; in test_server_setup_high_even() 252 server_param.serial.parity = UART_CFG_PARITY_EVEN; in test_server_setup_ascii()
|
D | test_modbus_client.c | 210 .parity = UART_CFG_PARITY_ODD, 223 client_param.serial.parity = UART_CFG_PARITY_NONE; in test_client_setup_low_none() 238 client_param.serial.parity = UART_CFG_PARITY_ODD; in test_client_setup_low_odd() 253 client_param.serial.parity = UART_CFG_PARITY_EVEN; in test_client_setup_high_even() 268 client_param.serial.parity = UART_CFG_PARITY_EVEN; in test_client_setup_ascii()
|
/Zephyr-Core-2.7.6/subsys/debug/gdbstub/ |
D | gdbstub_backend_serial.c | 18 .parity = UART_CFG_PARITY_NONE, in z_gdb_backend_init()
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | rfcomm_internal.h | 116 #define BT_RFCOMM_SET_LINE_SETTINGS(data, stop, parity) ((data & 0x3) | \ argument 118 ((parity & 0x7) << 3))
|
/Zephyr-Core-2.7.6/subsys/modbus/ |
D | modbus_serial.c | 566 switch (param.serial.parity) { in modbus_serial_init() 569 uart_cfg.parity = param.serial.parity; in modbus_serial_init() 574 uart_cfg.parity = param.serial.parity; in modbus_serial_init()
|
/Zephyr-Core-2.7.6/tests/drivers/uart/uart_basic_api/src/ |
D | test_uart_config.c | 31 .parity = UART_CFG_PARITY_NONE,
|
/Zephyr-Core-2.7.6/samples/subsys/modbus/rtu_client/src/ |
D | main.c | 22 .parity = UART_CFG_PARITY_NONE,
|
/Zephyr-Core-2.7.6/samples/subsys/modbus/rtu_server/src/ |
D | main.c | 106 .parity = UART_CFG_PARITY_NONE,
|
/Zephyr-Core-2.7.6/samples/subsys/modbus/tcp_gateway/src/ |
D | main.c | 26 .parity = UART_CFG_PARITY_NONE,
|
/Zephyr-Core-2.7.6/include/modbus/ |
D | modbus.h | 408 enum uart_config_parity parity; member
|