• Home
  • Raw
  • Download

Lines Matching refs:timeout

128 				  const void *param, u8 event, u32 timeout)  in __hci_cmd_sync_ev()  argument
147 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_cmd_sync_ev()
185 const void *param, u32 timeout) in __hci_cmd_sync() argument
187 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync()
194 unsigned long opt, u32 timeout, u8 *hci_status) in __hci_req_sync() argument
234 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_req_sync()
270 unsigned long opt, u32 timeout, u8 *hci_status) in hci_req_sync() argument
281 ret = __hci_req_sync(hdev, req, opt, timeout, hci_status); in hci_req_sync()
1742 u16 timeout; in __hci_req_schedule_adv_instance() local
1763 if (adv_instance->timeout == 0 || in __hci_req_schedule_adv_instance()
1765 timeout = adv_instance->duration; in __hci_req_schedule_adv_instance()
1767 timeout = adv_instance->remaining_time; in __hci_req_schedule_adv_instance()
1772 if (adv_instance->timeout) in __hci_req_schedule_adv_instance()
1774 adv_instance->remaining_time - timeout; in __hci_req_schedule_adv_instance()
1778 hdev->adv_instance_timeout = timeout; in __hci_req_schedule_adv_instance()
1781 msecs_to_jiffies(timeout * 1000)); in __hci_req_schedule_adv_instance()
1845 if (!(force || adv_instance->timeout)) in hci_req_clear_adv_instance()
1856 if (force || (adv_instance && adv_instance->timeout && in hci_req_clear_adv_instance()
2456 unsigned long timeout, duration, scan_start, now; in le_scan_restart_work() local
2490 timeout = duration - elapsed; in le_scan_restart_work()
2492 timeout = 0; in le_scan_restart_work()
2496 &hdev->le_scan_disable, timeout); in le_scan_restart_work()
2564 unsigned long timeout; in start_discovery() local
2586 timeout = msecs_to_jiffies(DISCOV_LE_TIMEOUT); in start_discovery()
2597 timeout = msecs_to_jiffies(hdev->discov_interleaved_timeout); in start_discovery()
2602 timeout = msecs_to_jiffies(DISCOV_LE_TIMEOUT); in start_discovery()
2614 BT_DBG("%s timeout %u ms", hdev->name, jiffies_to_msecs(timeout)); in start_discovery()
2624 hdev->discovery.scan_duration = timeout; in start_discovery()
2628 timeout); in start_discovery()