Lines Matching defs:device
425 static int32_t HiDmacBind(struct HdfDeviceObject *device)
429 cntlr = DmaCntlrCreate(device);
443 device->service = &cntlr->service;
447 static int32_t HiDmacInit(struct HdfDeviceObject *device)
452 if (device == NULL || device->property == NULL) {
453 HDF_LOGE("%s: device or property null", __func__);
457 cntlr = CONTAINER_OF(device->service, struct DmaCntlr, service);
458 ret = HiDmacParseHcs(cntlr, device->property);
469 static void HiDmacRelease(struct HdfDeviceObject *device)
473 if (device == NULL) {
476 cntlr = CONTAINER_OF(device->service, struct DmaCntlr, service);