/Zephyr-Core-2.7.6/subsys/mgmt/osdp/src/ |
D | osdp_pd.c | 276 cmd->comset.baud_rate = buf[pos++]; in pd_decode_command() 277 cmd->comset.baud_rate |= buf[pos++] << 8; in pd_decode_command() 278 cmd->comset.baud_rate |= buf[pos++] << 16; in pd_decode_command() 279 cmd->comset.baud_rate |= buf[pos++] << 24; in pd_decode_command() 281 (cmd->comset.baud_rate != 9600 && in pd_decode_command() 282 cmd->comset.baud_rate != 38400 && in pd_decode_command() 283 cmd->comset.baud_rate != 115200)) { in pd_decode_command() 286 cmd->comset.baud_rate = pd->baud_rate; in pd_decode_command() 500 buf[len++] = BYTE_0(cmd->comset.baud_rate); in pd_build_reply() 501 buf[len++] = BYTE_1(cmd->comset.baud_rate); in pd_build_reply() [all …]
|
/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_cmsdk_apb.c | 65 uint32_t baud_rate; /* Baud rate */ member 110 if ((dev_data->baud_rate != 0U) && (dev_cfg->sys_clk_freq != 0U)) { in baudrate_set() 112 uart->bauddiv = (dev_cfg->sys_clk_freq / dev_data->baud_rate); in baudrate_set() 497 .baud_rate = DT_INST_PROP(0, current_speed), 562 .baud_rate = DT_INST_PROP(1, current_speed), 627 .baud_rate = DT_INST_PROP(2, current_speed), 692 .baud_rate = DT_INST_PROP(3, current_speed), 757 .baud_rate = DT_INST_PROP(4, current_speed),
|
D | uart_npcx.c | 37 uint32_t baud_rate; member 56 static int uart_set_npcx_baud_rate(struct uart_reg *const inst, int baud_rate, in uart_set_npcx_baud_rate() argument 60 if (baud_rate == 115200) { in uart_set_npcx_baud_rate() 381 ret = uart_set_npcx_baud_rate(inst, data->baud_rate, uart_rate); in uart_npcx_init() 384 data->baud_rate, uart_rate); in uart_npcx_init() 502 .baud_rate = DT_INST_PROP(inst, current_speed) \
|
D | uart_sifive.c | 52 uint32_t baud_rate; member 341 uart->div = cfg->sys_clk_freq / cfg->baud_rate - 1; in uart_sifive_init() 387 .baud_rate = DT_INST_PROP(0, current_speed), 426 .baud_rate = DT_INST_PROP(1, current_speed),
|
D | uart_stm32.c | 57 const uint32_t baud_rate) in lpuartdiv_calc() argument 63 lpuartdiv += baud_rate / 2; in lpuartdiv_calc() 64 lpuartdiv /= baud_rate; in lpuartdiv_calc() 69 uint32_t lpuartdiv_calc(const uint64_t clock_rate, const uint32_t baud_rate) in lpuartdiv_calc() argument 74 lpuartdiv += baud_rate / 2; in lpuartdiv_calc() 75 lpuartdiv /= baud_rate; in lpuartdiv_calc() 107 uint32_t baud_rate) in uart_stm32_set_baudrate() argument 131 lpuartdiv = lpuartdiv_calc(clock_rate, presc_idx, baud_rate); in uart_stm32_set_baudrate() 138 LOG_ERR("Unable to set %s to %d", dev->name, baud_rate); in uart_stm32_set_baudrate() 146 lpuartdiv = lpuartdiv_calc(clock_rate, baud_rate); in uart_stm32_set_baudrate() [all …]
|
D | uart_miv.c | 134 uint32_t baud_rate; member 322 uint32_t delay = 1000000 / cfg->baud_rate; in uart_miv_rx_thread() 352 uint16_t baud_value = (cfg->sys_clk_freq / (cfg->baud_rate * 16U)) - 1; in uart_miv_init() 404 .baud_rate = DT_INST_PROP(0, current_speed),
|
D | uart_xlnx_ps.c | 137 uint32_t baud_rate; member 225 static void set_baudrate(const struct device *dev, uint32_t baud_rate) in set_baudrate() argument 233 baud = dev_cfg->baud_rate; in set_baudrate() 313 set_baudrate(dev, dev_cfg->baud_rate); in uart_xlnx_ps_init() 632 dev_cfg->baud_rate = cfg->baudrate; in uart_xlnx_ps_configure() 822 cfg->baudrate = dev_cfg->baud_rate; in uart_xlnx_ps_config_get() 1208 .baud_rate = DT_INST_PROP(port, current_speed), \
|
D | uart_cc32xx.c | 22 uint32_t baud_rate; member 61 data->baud_rate, in uart_cc32xx_init() 328 .baud_rate = DT_INST_PROP(idx, current_speed), \
|
D | uart_imx.c | 31 uint32_t baud_rate; member 66 .baudRate = config->baud_rate, in uart_imx_init() 288 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | leuart_gecko.c | 31 uint32_t baud_rate; member 274 leuartInit.baudrate = config->baud_rate; in leuart_gecko_init() 334 .baud_rate = DT_INST_PROP(0, current_speed), 387 .baud_rate = DT_INST_PROP(1, current_speed),
|
D | uart_stellaris.c | 72 uint32_t baud_rate; /* Baud rate */ member 268 baudrate_set(dev, DEV_DATA(dev)->baud_rate, in uart_stellaris_init() 648 .baud_rate = DT_INST_PROP(0, current_speed), 687 .baud_rate = DT_INST_PROP(1, current_speed), 726 .baud_rate = DT_INST_PROP(2, current_speed),
|
D | uart_stm32.h | 58 uint32_t baud_rate; member
|
D | uart_sam.c | 38 uint32_t baud_rate; member 84 retval = baudrate_set(uart, dev_data->baud_rate, in uart_sam_init() 359 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | usart_sam.c | 38 uint32_t baud_rate; member 85 retval = baudrate_set(usart, dev_data->baud_rate, in usart_sam_init() 360 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_mcux_lpsci.c | 20 uint32_t baud_rate; member 249 uart_config.baudRate_Bps = config->baud_rate; in mcux_lpsci_init() 308 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_liteuart.c | 35 uint32_t baud_rate; member 317 .baud_rate = DT_INST_PROP(0, current_speed)
|
D | uart_rv32m1_lpuart.c | 23 uint32_t baud_rate; member 260 uart_config.baudRate_Bps = config->baud_rate; in rv32m1_lpuart_init() 301 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_mcux_flexcomm.c | 29 uint32_t baud_rate; member 272 usart_config.baudRate_Bps = config->baud_rate; in mcux_flexcomm_init() 334 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_mcux_iuart.c | 20 uint32_t baud_rate; member 238 uart_config.baudRate_Bps = config->baud_rate; in mcux_iuart_init() 304 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_pl011.c | 44 uint32_t baud_rate; /* Baud rate */ member 376 DEV_DATA(dev)->baud_rate); in pl011_init() 438 .baud_rate = DT_INST_PROP(0, current_speed), 501 .baud_rate = DT_INST_PROP(1, current_speed),
|
D | uart_mchp_xec.c | 203 static void set_baud_rate(const struct device *dev, uint32_t baud_rate) in set_baud_rate() argument 211 if ((baud_rate != 0U) && (dev_cfg->sys_clk_freq != 0U)) { in set_baud_rate() 216 divisor = ((dev_cfg->sys_clk_freq + (baud_rate << 3)) in set_baud_rate() 217 / baud_rate) >> 4; in set_baud_rate() 229 dev_data->uart_config.baudrate = baud_rate; in set_baud_rate()
|
D | uart_gecko.c | 65 uint32_t baud_rate; member 376 usartInit.baudrate = config->baud_rate; in uart_gecko_init() 538 .baud_rate = DT_INST_PROP(idx, current_speed), \ 596 .baud_rate = DT_INST_PROP(idx, current_speed), \
|
D | uart_mcux_lpuart.c | 21 uint32_t baud_rate; member 357 uart_api_config->baudrate = config->baud_rate; in mcux_lpuart_init() 433 .baud_rate = DT_INST_PROP(n, current_speed), \
|
D | uart_b91.c | 74 uint32_t baud_rate; member 320 uart_b91_cal_div_and_bwpc(cfg->baud_rate, sys_clk.pclk * 1000 * 1000, ÷r, &bwpc); in uart_b91_driver_init() 548 .baud_rate = DT_INST_PROP(n, current_speed), \
|
/Zephyr-Core-2.7.6/include/mgmt/ |
D | osdp.h | 159 uint32_t baud_rate; member
|