Lines Matching refs:devcb

320   if (btm_cb.devcb.p_switch_role_cb &&  in btm_acl_report_role_change()
321 (bda && btm_cb.devcb.switch_role_ref_data.remote_bd_addr == *bda)) { in btm_acl_report_role_change()
322 memcpy(&ref_data, &btm_cb.devcb.switch_role_ref_data, in btm_acl_report_role_change()
325 (*btm_cb.devcb.p_switch_role_cb)(&ref_data); in btm_acl_report_role_change()
326 memset(&btm_cb.devcb.switch_role_ref_data, 0, in btm_acl_report_role_change()
328 btm_cb.devcb.p_switch_role_cb = NULL; in btm_acl_report_role_change()
550 btm_cb.devcb.p_switch_role_cb); in BTM_SwitchRole()
556 if (btm_cb.devcb.p_switch_role_cb && p_cb) { in BTM_SwitchRole()
558 << btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
625 btm_cb.devcb.switch_role_ref_data.remote_bd_addr = remote_bd_addr; in BTM_SwitchRole()
626 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole()
628 btm_cb.devcb.switch_role_ref_data.hci_status = HCI_ERR_UNSUPPORTED_VALUE; in BTM_SwitchRole()
629 btm_cb.devcb.p_switch_role_cb = p_cb; in BTM_SwitchRole()
683 btm_acl_report_role_change(btm_cb.devcb.switch_role_ref_data.hci_status, in btm_acl_encrypt_change()
690 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change()
691 evt.p_bda = &btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change()
692 evt.hci_status = btm_cb.devcb.switch_role_ref_data.hci_status; in btm_acl_encrypt_change()
1457 (bd_addr) ? bd_addr : &btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_role_changed()
1459 tBTM_ROLE_SWITCH_CMPL* p_data = &btm_cb.devcb.switch_role_ref_data; in btm_acl_role_changed()
1784 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_qos_setup_cmpl_cb; in btm_qos_setup_timeout()
1785 btm_cb.devcb.p_qos_setup_cmpl_cb = NULL; in btm_qos_setup_timeout()
1801 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_qos_setup_cmpl_cb; in btm_qos_setup_complete()
1805 alarm_cancel(btm_cb.devcb.qos_setup_timer); in btm_qos_setup_complete()
1806 btm_cb.devcb.p_qos_setup_cmpl_cb = NULL; in btm_qos_setup_complete()
1845 if (btm_cb.devcb.p_rssi_cmpl_cb) return (BTM_BUSY); in BTM_ReadRSSI()
1858 btm_cb.devcb.p_rssi_cmpl_cb = p_cb; in BTM_ReadRSSI()
1859 alarm_set_on_mloop(btm_cb.devcb.read_rssi_timer, BTM_DEV_REPLY_TIMEOUT_MS, in BTM_ReadRSSI()
1889 if (btm_cb.devcb.p_failed_contact_counter_cmpl_cb) return (BTM_BUSY); in BTM_ReadFailedContactCounter()
1896 btm_cb.devcb.p_failed_contact_counter_cmpl_cb = p_cb; in BTM_ReadFailedContactCounter()
1897 alarm_set_on_mloop(btm_cb.devcb.read_failed_contact_counter_timer, in BTM_ReadFailedContactCounter()
1928 if (btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb) return (BTM_BUSY); in BTM_ReadAutomaticFlushTimeout()
1936 btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb = p_cb; in BTM_ReadAutomaticFlushTimeout()
1937 alarm_set_on_mloop(btm_cb.devcb.read_automatic_flush_timeout_timer, in BTM_ReadAutomaticFlushTimeout()
1966 if (btm_cb.devcb.p_tx_power_cmpl_cb) return (BTM_BUSY); in BTM_ReadTxPower()
1970 btm_cb.devcb.p_tx_power_cmpl_cb = p_cb; in BTM_ReadTxPower()
1971 alarm_set_on_mloop(btm_cb.devcb.read_tx_power_timer, in BTM_ReadTxPower()
1976 btm_cb.devcb.read_tx_pwr_addr = remote_bda; in BTM_ReadTxPower()
1999 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_timeout()
2000 btm_cb.devcb.p_tx_power_cmpl_cb = NULL; in btm_read_tx_power_timeout()
2015 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_complete()
2020 alarm_cancel(btm_cb.devcb.read_tx_power_timer); in btm_read_tx_power_complete()
2021 btm_cb.devcb.p_tx_power_cmpl_cb = NULL; in btm_read_tx_power_complete()
2044 result.rem_bda = btm_cb.devcb.read_tx_pwr_addr; in btm_read_tx_power_complete()
2067 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_timeout()
2068 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in btm_read_rssi_timeout()
2084 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_complete()
2089 alarm_cancel(btm_cb.devcb.read_rssi_timer); in btm_read_rssi_complete()
2090 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in btm_read_rssi_complete()
2132 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_failed_contact_counter_cmpl_cb; in btm_read_failed_contact_counter_timeout()
2133 btm_cb.devcb.p_failed_contact_counter_cmpl_cb = NULL; in btm_read_failed_contact_counter_timeout()
2150 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_failed_contact_counter_cmpl_cb; in btm_read_failed_contact_counter_complete()
2155 alarm_cancel(btm_cb.devcb.read_failed_contact_counter_timer); in btm_read_failed_contact_counter_complete()
2156 btm_cb.devcb.p_failed_contact_counter_cmpl_cb = NULL; in btm_read_failed_contact_counter_complete()
2199 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb; in btm_read_automatic_flush_timeout_timeout()
2200 btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb = nullptr; in btm_read_automatic_flush_timeout_timeout()
2217 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb; in btm_read_automatic_flush_timeout_complete()
2222 alarm_cancel(btm_cb.devcb.read_automatic_flush_timeout_timer); in btm_read_automatic_flush_timeout_complete()
2223 btm_cb.devcb.p_automatic_flush_timeout_cmpl_cb = nullptr; in btm_read_automatic_flush_timeout_complete()
2265 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_link_qual_cmpl_cb; in btm_read_link_quality_timeout()
2266 btm_cb.devcb.p_link_qual_cmpl_cb = NULL; in btm_read_link_quality_timeout()
2281 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_link_qual_cmpl_cb; in btm_read_link_quality_complete()
2286 alarm_cancel(btm_cb.devcb.read_link_quality_timer); in btm_read_link_quality_complete()
2287 btm_cb.devcb.p_link_qual_cmpl_cb = NULL; in btm_read_link_quality_complete()