Searched refs:osdrvCallbacks (Results 1 – 3 of 3) sorted by relevance
104 OSDRV_CALLBACKS osdrvCallbacks; variable134 osdrvCallbacks = *callbacks; in HIFInit()800 if ((osdrvCallbacks.deviceInsertedHandler(osdrvCallbacks.context,device)) != 0) { in startup_task()816 osdrvCallbacks.devicePowerChangeHandler && in enable_task()817 osdrvCallbacks.devicePowerChangeHandler(device->claimedContext, HIF_DEVICE_POWER_UP) != 0) in enable_task()1088 if (device && device->claimedContext && osdrvCallbacks.deviceSuspendHandler) { in hifDeviceSuspend()1090 status = osdrvCallbacks.deviceSuspendHandler(device->claimedContext); in hifDeviceSuspend()1116 if (device && device->claimedContext && osdrvCallbacks.deviceSuspendHandler) { in hifDeviceResume()1117 status = osdrvCallbacks.deviceResumeHandler(device->claimedContext); in hifDeviceResume()1137 status = osdrvCallbacks.deviceRemovedHandler(device->claimedContext, device); in hifDeviceRemoved()
310 void android_module_init(OSDRV_CALLBACKS *osdrvCallbacks) in android_module_init() argument322 ar6000_avail_ev_p = osdrvCallbacks->deviceInsertedHandler; in android_module_init()323 osdrvCallbacks->deviceInsertedHandler = ar6000_android_avail_ev; in android_module_init()
302 extern void android_module_init(OSDRV_CALLBACKS *osdrvCallbacks);635 OSDRV_CALLBACKS osdrvCallbacks; in ar6000_init_module() local658 A_MEMZERO(&osdrvCallbacks,sizeof(osdrvCallbacks)); in ar6000_init_module()659 osdrvCallbacks.deviceInsertedHandler = ar6000_avail_ev; in ar6000_init_module()660 osdrvCallbacks.deviceRemovedHandler = ar6000_unavail_ev; in ar6000_init_module()662 osdrvCallbacks.deviceSuspendHandler = ar6000_suspend_ev; in ar6000_init_module()663 osdrvCallbacks.deviceResumeHandler = ar6000_resume_ev; in ar6000_init_module()664 osdrvCallbacks.devicePowerChangeHandler = ar6000_power_change_ev; in ar6000_init_module()670 android_module_init(&osdrvCallbacks); in ar6000_init_module()694 status = HIFInit(&osdrvCallbacks); in ar6000_init_module()