Lines Matching refs:mdl_id

601 …     bta_hl_find_mdl_idx( app_idx,  mcl_idx,  p_msg->mca_evt.mca_data.create_cfm.mdl_id, &mdl_idx))  in bta_hl_find_dch_cb_indexes()
618 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
626 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.open_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
685 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.reconnect_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
694 bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->api_dch_create_rsp.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
701 … bta_hl_find_mdl_idx( app_idx, mcl_idx,p_msg->mca_evt.mca_data.abort_ind.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
708 … bta_hl_find_mdl_idx( app_idx, mcl_idx, p_msg->mca_evt.mca_data.abort_cfm.mdl_id, &mdl_idx)) in bta_hl_find_dch_cb_indexes()
763 UINT16 mdl_id=0; in bta_hl_allocate_mdl_id() local
771 mdl_id = ((mdl_id+1) & 0xFEFF); in bta_hl_allocate_mdl_id()
777 (p_mcb->mdl[i].mdl_id == mdl_id) ) in bta_hl_allocate_mdl_id()
792 if (bta_hl_find_mdl_cfg_idx(app_idx,mcl_idx, mdl_id, &mdl_cfg_idx)) in bta_hl_allocate_mdl_id()
806 APPL_TRACE_DEBUG("bta_hl_allocate_mdl OK mdl_id=%d", mdl_id); in bta_hl_allocate_mdl_id()
808 return mdl_id; in bta_hl_allocate_mdl_id()
819 BOOLEAN bta_hl_find_mdl_idx(UINT8 app_idx, UINT8 mcl_idx, UINT16 mdl_id, in bta_hl_find_mdl_idx() argument
829 (mdl_id !=0) && in bta_hl_find_mdl_idx()
830 (p_mcb->mdl[i].mdl_id== mdl_id)) in bta_hl_find_mdl_idx()
842 found, mdl_id, i); in bta_hl_find_mdl_idx()
1287 if (p_dcb->in_use && p_mdl->mdl_id == p_dcb->mdl_id) in bta_hl_find_non_active_mdl_cfg()
1418 tBTA_HL_MDL_ID mdl_id, UINT8 *p_mdl_cfg_idx) in bta_hl_find_mdl_cfg_idx() argument
1430 APPL_TRACE_DEBUG("bta_hl_find_mdl_cfg_idx: mdl_id =%d, p_mdl->mdl_id=%d",mdl_id, in bta_hl_find_mdl_cfg_idx()
1431 p_mdl->mdl_id); in bta_hl_find_mdl_cfg_idx()
1434 (p_mdl->mdl_id == mdl_id)) in bta_hl_find_mdl_cfg_idx()
1617 tBTA_HL_MDL_ID mdl_id) in bta_hl_is_mdl_exsit_in_mcl() argument
1629 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_is_mdl_exsit_in_mcl()
1631 if (p_mdl->mdl_id == mdl_id) in bta_hl_is_mdl_exsit_in_mcl()
1659 tBTA_HL_MDL_ID mdl_id) in bta_hl_delete_mdl_cfg() argument
1671 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_delete_mdl_cfg()
1673 if (p_mdl->mdl_id == mdl_id) in bta_hl_delete_mdl_cfg()
1710 BOOLEAN bta_hl_is_mdl_value_valid(tBTA_HL_MDL_ID mdl_id) in bta_hl_is_mdl_value_valid() argument
1714 if (mdl_id != BTA_HL_DELETE_ALL_MDL_IDS) in bta_hl_is_mdl_value_valid()
1716 if (mdl_id != 0) in bta_hl_is_mdl_value_valid()
1718 if (mdl_id > BTA_HL_MAX_MDL_VAL ) in bta_hl_is_mdl_value_valid()
1928 …APPL_TRACE_DEBUG("bta_hl_validate_reconnect_params mdl_id=%d app_idx=%d", p_reconnect->mdl_id, ap… in bta_hl_validate_reconnect_params()
1930 if (bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_reconnect->mdl_id, &mdl_cfg_idx)) in bta_hl_validate_reconnect_params()
1968 if (!bta_hl_find_mdl_idx(app_idx,mcl_idx, p_reconnect->mdl_id, &in_use_mdl_idx)) in bta_hl_validate_reconnect_params()
1974 APPL_TRACE_ERROR("mdl_id=%d is curreltly in use",p_reconnect->mdl_id); in bta_hl_validate_reconnect_params()
2483 tBTA_HL_MDL_ID mdl_id; in bta_hl_save_mdl_cfg() local
2489 mdl_id = p_dcb->mdl_id; in bta_hl_save_mdl_cfg()
2490 if (!bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, mdl_id, &mdl_cfg_idx)) in bta_hl_save_mdl_cfg()
2509 mdl_cfg.mdl_id = p_dcb->mdl_id; in bta_hl_save_mdl_cfg()
2532 mdl_cfg.mdl_id, mdl_cfg.mtu, mdl_cfg.fcs, mdl_cfg.dch_mode); in bta_hl_save_mdl_cfg()
2721 get_mdl_result = bta_hl_find_mdl_cfg_idx(app_idx, mcl_idx, p_dcb->mdl_id, &mdl_cfg_idx); in bta_hl_validate_chan_cfg()
2765 BOOLEAN bta_hl_is_cong_on(UINT8 app_id, BD_ADDR bd_addr, tBTA_HL_MDL_ID mdl_id) in bta_hl_is_cong_on() argument
2776 if (bta_hl_find_mdl_idx(app_idx, mcl_idx, mdl_id, &mdl_idx )) in bta_hl_is_cong_on()
3182 tBTA_HL_MDL_ID mdl_id, in bta_hl_build_dch_open_cfm() argument
3193 p_evt_data->dch_open_cfm.mdl_id = mdl_id; in bta_hl_build_dch_open_cfm()
3240 tBTA_HL_MDL_ID mdl_id, in bta_hl_build_delete_mdl_cfm() argument
3246 p_evt_data->delete_mdl_cfm.mdl_id = mdl_id; in bta_hl_build_delete_mdl_cfm()