Searched refs:uartHost (Results 1 – 5 of 5) sorted by relevance
48 struct UartHost *uartHost = (struct UartHost *)client->device->service; in SampleDispatch() local49 if (uartHost == NULL) { in SampleDispatch()53 struct UartDevice *uartDevice = (struct UartDevice *)uartHost->priv; in SampleDispatch()
285 struct UartHost *uartHost = NULL; in SampleUartDriverBind() local292 uartHost = UartHostCreate(device); in SampleUartDriverBind()293 if (uartHost == NULL) { in SampleUartDriverBind()297 uartHost->service.Dispatch = SampleDispatch; in SampleUartDriverBind()
301 static int32_t AttachUartDevice(struct UartHost *uartHost, const struct HdfDeviceObject *device) in AttachUartDevice() argument306 if (uartHost == NULL || device == NULL || device->property == NULL) { in AttachUartDevice()323 uartHost->priv = uartDevice; in AttachUartDevice()325 return InitUartDevice(uartHost); in AttachUartDevice()
566 static int32_t AttachUartDevice(struct UartHost *uartHost, struct HdfDeviceObject *device) argument571 if (device == NULL || uartHost == NULL) {573 if (uartHost == NULL || device == NULL || device->property == NULL) {594 uartHost->priv = uartDevice;596 return InitUartDevice(uartHost);
519 static int32_t AttachUartDevice(struct UartHost *uartHost, struct HdfDeviceObject *device) argument525 if (device == NULL || uartHost == NULL) {527 if (uartHost == NULL || device == NULL || device->property == NULL) {548 uartHost->priv = uartDevice;