Lines Matching refs:mdl_idx
70 extern BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx);
71 extern void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx);
352 BTIF_TRACE_DEBUG("%s found=%d mdl_id=%d mdl_idx=%d ",
570 UINT8 mdl_idx;
609 !btif_hl_find_mdl_idx(app_idx, mcl_idx,p_mdl->base.mdl_id, &mdl_idx))
985 BTIF_TRACE_DEBUG("%s found=%d app_idx=%d mcl_idx=%d mdl_idx=%d ",
1070 BTIF_TRACE_EVENT("%s found=%d app_idx=%d mcl_idx=%d mdl_idx=%d ",
1844 BTIF_TRACE_DEBUG("remote DCH close success mdl_idx=%d", x);
2125 void btif_hl_send_disconnecting_cb(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){
2126 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR( app_idx, mcl_idx, mdl_idx);
2658 UINT8 orig_app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2668 if (btif_hl_find_avail_mdl_idx(orig_app_idx, mcl_idx, &mdl_idx))
2670 p_dcb = BTIF_HL_GET_MDL_CB_PTR(orig_app_idx, mcl_idx, mdl_idx);
2686 BTIF_TRACE_DEBUG(" app_idx=%d mcl_idx=%d mdl_idx=%d channel_id=%d",
2687 orig_app_idx, mcl_idx, mdl_idx, p_dcb->channel_id );
2688 if (!btif_hl_create_socket(orig_app_idx, mcl_idx, mdl_idx))
2733 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2746 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx))
2748 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
2762 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx );
2764 if (btif_hl_create_socket(app_idx, mcl_idx, mdl_idx))
2767 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d p_dcb->channel_id=0x%08x",
2768 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id);
2806 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2818 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx))
2820 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
2834 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx );
2836 if (btif_hl_create_socket(app_idx, mcl_idx, mdl_idx))
2839 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d p_dcb->channel_id=0x%08x",
2840 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id);
2880 UINT8 app_idx, mcl_idx, mdl_idx, mdep_cfg_idx;
2894 if (btif_hl_find_avail_mdl_idx(app_idx, mcl_idx, &mdl_idx))
2896 p_dcb =BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
2911 BTIF_TRACE_DEBUG(" app_idx=%d mcl_idx=%d mdl_idx=%d channel_id=%d",
2912 app_idx, mcl_idx, mdl_idx, p_dcb->channel_id );
2913 if (!btif_hl_create_socket(app_idx, mcl_idx, mdl_idx))
2953 UINT8 app_idx, mcl_idx, mdl_idx;
2957 &app_idx, &mcl_idx, &mdl_idx ))
2959 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
2960 btif_hl_release_socket(app_idx,mcl_idx, mdl_idx);
2966 BTIF_TRACE_DEBUG("remote DCH close success mdl_idx=%d", mdl_idx);
2984 UINT8 app_idx, mcl_idx, mdl_idx;
2988 &app_idx, &mcl_idx, &mdl_idx ))
2990 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
2991 btif_hl_release_socket(app_idx,mcl_idx,mdl_idx);
2996 BTIF_TRACE_DEBUG(" local DCH close success mdl_idx=%d", mdl_idx);
3077 UINT8 app_idx,mcl_idx, mdl_idx;
3083 &app_idx, &mcl_idx, &mdl_idx ))
3085 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
3106 UINT8 app_idx, mcl_idx, mdl_idx;
3110 if (btif_hl_find_mdl_idx_using_handle(p_data->dch_cong_ind.mdl_handle, &app_idx, &mcl_idx, &mdl_idx))
3112 p_dcb =BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
3953 // if(btif_hl_find_mdl_idx_using_channel_id(channel_id, &app_idx,&mcl_idx, &mdl_idx))
4422 BTIF_TRACE_DEBUG("found socket for app_idx=%d mcl_id=%d, mdl_idx=%d", app_idx, mcl_idx, i);
4440 void btif_hl_release_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){
4442 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
4445 BTIF_TRACE_DEBUG("app_idx=%d mcl_idx=%d mdl_idx=%d", app_idx, mcl_idx, mdl_idx );
4464 BOOLEAN btif_hl_create_socket(UINT8 app_idx, UINT8 mcl_idx, UINT8 mdl_idx){
4466 btif_hl_mdl_cb_t *p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx);
4479 p_scb->mdl_idx = mdl_idx;
4526 p_dcb = BTIF_HL_GET_MDL_CB_PTR(p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx);
4561 BTIF_TRACE_DEBUG("app_idx=%d mcl_id=%d, mdl_idx=%d",
4562 p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx);
4594 p_scb->mcl_idx, p_scb->mdl_idx);
4595 BTIF_TRACE_DEBUG("idle socket app_idx=%d mcl_id=%d, mdl_idx=%d p_dcb->in_use=%d",
4596 p_scb->app_idx, p_scb->mcl_idx, p_scb->mdl_idx, p_dcb->in_use);
4650 p_scb->mcl_idx, p_scb->mdl_idx);