Lines Matching refs:device
785 static int32_t HiRtcBind(struct HdfDeviceObject *device)
789 host = RtcHostCreate(device);
795 host->device = device;
796 device->service = &host->service;
801 static int32_t HiRtcInit(struct HdfDeviceObject *device)
806 if (device == NULL || device->property == NULL) {
809 host = RtcHostFromDevice(device);
816 if (HiRtcConfigData(rtcInfo, device->property) != 0) {
837 HDF_LOGI("Hdf dev service:%s init success!", HdfDeviceGetServiceName(device));
841 static void HiRtcRelease(struct HdfDeviceObject *device)
847 if (device == NULL) {
851 host = RtcHostFromDevice(device);