Home
last modified time | relevance | path

Searched refs:osdrvCallbacks (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/staging/ath6kl/hif/sdio/linux_sdio/src/
Dhif.c104 OSDRV_CALLBACKS osdrvCallbacks; variable
134 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()
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dar6000_android.c310 void android_module_init(OSDRV_CALLBACKS *osdrvCallbacks) in android_module_init() argument
322 ar6000_avail_ev_p = osdrvCallbacks->deviceInsertedHandler; in android_module_init()
323 osdrvCallbacks->deviceInsertedHandler = ar6000_android_avail_ev; in android_module_init()
Dar6000_drv.c302 extern void android_module_init(OSDRV_CALLBACKS *osdrvCallbacks);
635 OSDRV_CALLBACKS osdrvCallbacks; in ar6000_init_module() local
658 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()