Lines Matching refs:devcb
358 if (btm_cb.devcb.p_switch_role_cb in btm_acl_report_role_change()
359 … && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN)))) in btm_acl_report_role_change()
361 memcpy (&ref_data, &btm_cb.devcb.switch_role_ref_data, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change()
363 (*btm_cb.devcb.p_switch_role_cb)(&ref_data); in btm_acl_report_role_change()
364 memset (&btm_cb.devcb.switch_role_ref_data, 0, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change()
365 btm_cb.devcb.p_switch_role_cb = NULL; in btm_acl_report_role_change()
621 if (btm_cb.devcb.p_switch_role_cb && p_cb) in BTM_SwitchRole()
624 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole()
705 memcpy (btm_cb.devcb.switch_role_ref_data.remote_bd_addr, remote_bd_addr, in BTM_SwitchRole()
707 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole()
709 btm_cb.devcb.switch_role_ref_data.hci_status = HCI_ERR_UNSUPPORTED_VALUE; in BTM_SwitchRole()
710 btm_cb.devcb.p_switch_role_cb = p_cb; in BTM_SwitchRole()
762 … btm_acl_report_role_change(btm_cb.devcb.switch_role_ref_data.hci_status, p->remote_addr); in btm_acl_encrypt_change()
778 btm_acl_report_role_change(btm_cb.devcb.switch_role_ref_data.hci_status, p->remote_addr); in btm_acl_encrypt_change()
784 evt.new_role = btm_cb.devcb.switch_role_ref_data.role; in btm_acl_encrypt_change()
785 evt.p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_encrypt_change()
786 evt.hci_status = btm_cb.devcb.switch_role_ref_data.hci_status; in btm_acl_encrypt_change()
1455 btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in btm_acl_role_changed()
1457 tBTM_ROLE_SWITCH_CMPL *p_data = &btm_cb.devcb.switch_role_ref_data; in btm_acl_role_changed()
1880 if (btm_cb.devcb.p_qos_setup_cmpl_cb) in BTM_SetQoS()
1885 btm_cb.devcb.p_qos_setup_cmpl_cb = p_cb; in BTM_SetQoS()
1886 alarm_set_on_queue(btm_cb.devcb.qos_setup_timer, in BTM_SetQoS()
1895 btm_cb.devcb.p_qos_setup_cmpl_cb = NULL; in BTM_SetQoS()
1896 alarm_cancel(btm_cb.devcb.qos_setup_timer); in BTM_SetQoS()
1918 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_qos_setup_cmpl_cb; in btm_qos_setup_timeout()
1919 btm_cb.devcb.p_qos_setup_cmpl_cb = NULL; in btm_qos_setup_timeout()
1936 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_qos_setup_cmpl_cb; in btm_qos_setup_complete()
1940 alarm_cancel(btm_cb.devcb.qos_setup_timer); in btm_qos_setup_complete()
1941 btm_cb.devcb.p_qos_setup_cmpl_cb = NULL; in btm_qos_setup_complete()
1988 if (btm_cb.devcb.p_rssi_cmpl_cb) in BTM_ReadRSSI()
2000 btm_cb.devcb.p_rssi_cmpl_cb = p_cb; in BTM_ReadRSSI()
2001 alarm_set_on_queue(btm_cb.devcb.read_rssi_timer, in BTM_ReadRSSI()
2007 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in BTM_ReadRSSI()
2008 alarm_cancel(btm_cb.devcb.read_rssi_timer); in BTM_ReadRSSI()
2039 if (btm_cb.devcb.p_link_qual_cmpl_cb) in BTM_ReadLinkQuality()
2045 btm_cb.devcb.p_link_qual_cmpl_cb = p_cb; in BTM_ReadLinkQuality()
2046 alarm_set_on_queue(btm_cb.devcb.read_link_quality_timer, in BTM_ReadLinkQuality()
2053 btm_cb.devcb.p_link_qual_cmpl_cb = NULL; in BTM_ReadLinkQuality()
2054 alarm_cancel(btm_cb.devcb.read_link_quality_timer); in BTM_ReadLinkQuality()
2089 if (btm_cb.devcb.p_tx_power_cmpl_cb) in BTM_ReadTxPower()
2095 btm_cb.devcb.p_tx_power_cmpl_cb = p_cb; in BTM_ReadTxPower()
2096 alarm_set_on_queue(btm_cb.devcb.read_tx_power_timer, in BTM_ReadTxPower()
2104 memcpy(btm_cb.devcb.read_tx_pwr_addr, remote_bda, BD_ADDR_LEN); in BTM_ReadTxPower()
2114 btm_cb.devcb.p_tx_power_cmpl_cb = NULL; in BTM_ReadTxPower()
2115 alarm_cancel(btm_cb.devcb.read_tx_power_timer); in BTM_ReadTxPower()
2137 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_timeout()
2138 btm_cb.devcb.p_tx_power_cmpl_cb = NULL; in btm_read_tx_power_timeout()
2155 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_tx_power_cmpl_cb; in btm_read_tx_power_complete()
2162 alarm_cancel(btm_cb.devcb.read_tx_power_timer); in btm_read_tx_power_complete()
2163 btm_cb.devcb.p_tx_power_cmpl_cb = NULL; in btm_read_tx_power_complete()
2193 memcpy(results.rem_bda, btm_cb.devcb.read_tx_pwr_addr, BD_ADDR_LEN); in btm_read_tx_power_complete()
2217 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_timeout()
2218 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in btm_read_rssi_timeout()
2235 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_read_rssi_complete()
2242 alarm_cancel(btm_cb.devcb.read_rssi_timer); in btm_read_rssi_complete()
2243 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in btm_read_rssi_complete()
2288 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_link_qual_cmpl_cb; in btm_read_link_quality_timeout()
2289 btm_cb.devcb.p_link_qual_cmpl_cb = NULL; in btm_read_link_quality_timeout()
2306 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_link_qual_cmpl_cb; in btm_read_link_quality_complete()
2313 alarm_cancel(btm_cb.devcb.read_link_quality_timer); in btm_read_link_quality_complete()
2314 btm_cb.devcb.p_link_qual_cmpl_cb = NULL; in btm_read_link_quality_complete()