Searched refs:baudrate (Results 1 – 6 of 6) sorted by relevance
/drivers/hdf_core/framework/sample/platform/uart/src/ |
D | uart_pl011_sample.c | 34 UartPl011Error UartPl011SetBaudrate(struct UartRegisterMap *regMap, uint32_t clk, uint32_t baudrate) in UartPl011SetBaudrate() argument 36 if (baudrate == 0) { in UartPl011SetBaudrate() 40 uint32_t value = SAMPLING_FACTOR * baudrate; in UartPl011SetBaudrate() 44 value = (SAMPLING_FACTOR * remainder) / baudrate; in UartPl011SetBaudrate()
|
D | uart_sample.c | 132 device->baudrate = baudRate; in SampleUartHostSetBaud() 151 *baudRate = device->baudrate; in SampleUartHostGetBaud() 160 if ((resource->uartClk == 0) || (resource->baudrate == 0)) { in InitUartDevice() 169 err = UartPl011SetBaudrate(regMap, resource->uartClk, resource->baudrate); in InitUartDevice() 210 if (dri->GetUint32(resourceNode, "baudrate", &resource->baudrate, 0) != HDF_SUCCESS) { in GetUartDeviceResource()
|
/drivers/hdf_core/framework/sample/platform/uart/include/ |
D | uart_pl011_sample.h | 47 uint32_t baudrate; /* Default baudrate */ member 65 uint32_t baudrate; /* Baudrate */ member 216 UartPl011Error UartPl011SetBaudrate(struct UartRegisterMap *regMap, uint32_t clk, uint32_t baudrate…
|
/drivers/hdf_core/framework/sample/config/uart/ |
D | uart_config.hcs | 7 baudrate = 115200;
|
/drivers/hdf_core/adapter/platform/uart/ |
D | uart_gr5xx.c | 38 uint32_t baudrate; member 160 params->init.baud_rate = udd->baudrate; in Gr5xxUartConfig() 255 *baudRate = udd->baudrate; in UartHostDevGetBaud() 275 udd->baudrate = baudRate; in UartHostDevSetBaud() 588 udd->baudrate = resourceData; in UartGetDefaultConfigFromHcs() 650 udd->params.init.baud_rate = udd->baudrate; in UartDevAttach()
|
D | uart_wm.c | 293 device->config.baudrate = resource->baudRate; in GetUartDeviceResource() 505 uartCfg->baudrate = baudRate; in UartHostDevSetBaud() 507 tls_uart_set_baud_rate(uartId, uartCfg->baudrate); in UartHostDevSetBaud() 530 *baudRate = uartCfg->baudrate; in UartHostDevGetBaud()
|