Home
last modified time | relevance | path

Searched refs:uartHost (Results 1 – 5 of 5) sorted by relevance

/drivers/hdf_core/framework/sample/platform/uart/src/
Duart_dispatch_sample.c48 struct UartHost *uartHost = (struct UartHost *)client->device->service; in SampleDispatch() local
49 if (uartHost == NULL) { in SampleDispatch()
53 struct UartDevice *uartDevice = (struct UartDevice *)uartHost->priv; in SampleDispatch()
Duart_sample.c285 struct UartHost *uartHost = NULL; in SampleUartDriverBind() local
292 uartHost = UartHostCreate(device); in SampleUartDriverBind()
293 if (uartHost == NULL) { in SampleUartDriverBind()
297 uartHost->service.Dispatch = SampleDispatch; in SampleUartDriverBind()
/drivers/hdf_core/adapter/platform/uart/
Duart_wm.c301 static int32_t AttachUartDevice(struct UartHost *uartHost, const struct HdfDeviceObject *device) in AttachUartDevice() argument
306 if (uartHost == NULL || device == NULL || device->property == NULL) { in AttachUartDevice()
323 uartHost->priv = uartDevice; in AttachUartDevice()
325 return InitUartDevice(uartHost); in AttachUartDevice()
Duart_bes.c566 static int32_t AttachUartDevice(struct UartHost *uartHost, struct HdfDeviceObject *device) argument
571 if (device == NULL || uartHost == NULL) {
573 if (uartHost == NULL || device == NULL || device->property == NULL) {
594 uartHost->priv = uartDevice;
596 return InitUartDevice(uartHost);
Duart_stm32f4xx.c519 static int32_t AttachUartDevice(struct UartHost *uartHost, struct HdfDeviceObject *device) argument
525 if (device == NULL || uartHost == NULL) {
527 if (uartHost == NULL || device == NULL || device->property == NULL) {
548 uartHost->priv = uartDevice;