Lines Matching refs:completion
165 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_phy_control()
169 pm8001_ha->phy[phy_id].enable_completion = &completion; in pm8001_phy_control()
194 wait_for_completion(&completion); in pm8001_phy_control()
202 wait_for_completion(&completion); in pm8001_phy_control()
210 wait_for_completion(&completion); in pm8001_phy_control()
280 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_scan_start()
286 pm8001_ha->phy[i].enable_completion = &completion; in pm8001_scan_start()
288 wait_for_completion(&completion); in pm8001_scan_start()
641 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_dev_found_notify()
654 pm8001_device->dcompletion = &completion; in pm8001_dev_found_notify()
678 wait_for_completion(&completion); in pm8001_dev_found_notify()
1030 init_completion(&slow_task.completion); in pm8001_abort_task()
1041 DECLARE_COMPLETION_ONSTACK(completion); in pm8001_abort_task()
1046 pm8001_dev->setds_completion = &completion; in pm8001_abort_task()
1049 wait_for_completion(&completion); in pm8001_abort_task()
1052 reinit_completion(&completion); in pm8001_abort_task()
1055 phy->enable_completion = &completion; in pm8001_abort_task()
1075 ret = wait_for_completion_timeout(&completion, in pm8001_abort_task()
1113 &task->slow_task->completion, in pm8001_abort_task()
1119 reinit_completion(&completion); in pm8001_abort_task()
1120 pm8001_dev->setds_completion = &completion; in pm8001_abort_task()
1123 wait_for_completion(&completion); in pm8001_abort_task()