Lines Matching defs:device
285 static int32_t Hi35xxPinCntlrInit(struct HdfDeviceObject *device, struct Hi35xxPinCntlr *hi35xx)
295 ret = drsOps->GetUint16(device->property, "number", &hi35xx->number, 0);
300 ret = drsOps->GetUint32(device->property, "regStartBasePhy", &hi35xx->regStartBasePhy, 0);
305 ret = drsOps->GetUint32(device->property, "regSize", &hi35xx->regSize, 0);
310 ret = drsOps->GetUint32(device->property, "pinCount", &hi35xx->pinCount, 0);
340 static int32_t Hi35xxPinBind(struct HdfDeviceObject *device)
342 (void)device;
346 static int32_t Hi35xxPinInit(struct HdfDeviceObject *device)
359 ret = Hi35xxPinCntlrInit(device, hi35xx);
366 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) {
386 static void Hi35xxPinRelease(struct HdfDeviceObject *device)
395 if (device == NULL || device->property == NULL) {
396 HDF_LOGE("%s: device or property is null", __func__);
405 ret = drsOps->GetUint16(device->property, "number", &number, 0);