Home
last modified time | relevance | path

Searched refs:baudrate (Results 1 – 6 of 6) sorted by relevance

/drivers/hdf_core/framework/sample/platform/uart/src/
Duart_pl011_sample.c34 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()
Duart_sample.c132 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/
Duart_pl011_sample.h47 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/
Duart_config.hcs7 baudrate = 115200;
/drivers/hdf_core/adapter/platform/uart/
Duart_gr5xx.c38 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()
Duart_wm.c293 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()