Home | History | Annotate | Download | only in health

Lines Matching refs:mdl

108 	mcap_mdl_unref(chan->mdl);
254 static gint cmp_chan_mdl(gconstpointer a, gconstpointer mdl)
258 if (chan->mdl == mdl)
486 static void hdp_mdl_reconn_cb(struct mcap_mdl *mdl, GError *err, gpointer data)
504 if (!mcap_mdl_abort(chan->mdl, abort_mdl_cb, NULL, NULL,
512 fd = mcap_mdl_get_fd(dc_data->hdp_chann->mdl);
540 hdp_conn->cb(hdp_chann->mdl, err, hdp_conn);
549 if (mcap_connect_mdl(hdp_chann->mdl, mode, dcpsm, hdp_conn->cb,
555 hdp_conn->cb(hdp_chann->mdl, err, hdp_conn);
560 static void device_reconnect_mdl_cb(struct mcap_mdl *mdl, GError *err,
592 if (!mcap_mdl_abort(mdl, abort_mdl_cb, NULL, NULL, &gerr)) {
611 fd = mcap_mdl_get_fd(data->hdp_chann->mdl);
617 if (mcap_reconnect_mdl(data->hdp_chann->mdl, device_reconnect_mdl_cb,
677 fd = mcap_mdl_get_fd(hdp_chann->mdl);
751 struct mcap_mdl *mdl,
766 if (mdl)
767 hdp_chann->mdl = mcap_mdl_ref(mdl);
888 fd = mcap_mdl_get_fd(chan->mdl);
920 DBG("MDL imtu %d omtu %d Channel imtu %d omtu %d", imtu, omtu,
934 static void hdp_mcap_mdl_connected_cb(struct mcap_mdl *mdl, void *data)
944 if (!chan->mdl)
945 chan->mdl = mcap_mdl_ref(mdl);
960 fd = mcap_mdl_get_fd(chan->mdl);
991 static void hdp_mcap_mdl_closed_cb(struct mcap_mdl *mdl, void *data)
1000 static void hdp_mcap_mdl_deleted_cb(struct mcap_mdl *mdl, void *data)
1008 l = g_slist_find_custom(dev->channels, mdl, cmp_chan_mdl);
1020 static void hdp_mcap_mdl_aborted_cb(struct mcap_mdl *mdl, void *data)
1028 dev->ndc->mdl = mcap_mdl_ref(mdl);
1146 static uint8_t hdp_mcap_mdl_reconn_req_cb(struct mcap_mdl *mdl, void *data)
1153 l = g_slist_find_custom(dev->channels, mdl, cmp_chan_mdl);
1435 if (mcap_delete_mdl(chan->mdl, delete_echo_channel_cb,
1454 /* MDL is removed from MCAP so we can */
1540 fd = mcap_mdl_get_fd(chan->mdl);
1550 static void hdp_echo_connect_cb(struct mcap_mdl *mdl, GError *err,
1568 if (!mcap_mdl_abort(hdp_conn->hdp_chann->mdl,
1580 fd = mcap_mdl_get_fd(hdp_conn->hdp_chann->mdl);
1614 struct mcap_mdl *mdl = data;
1620 /* MDL is removed from MCAP so we don't */
1626 if (!mcap_delete_mdl(mdl, delete_mdl_cb, NULL, NULL, &gerr)) {
1632 static void hdp_mdl_conn_cb(struct mcap_mdl *mdl, GError *err, gpointer data)
1649 if (!mcap_mdl_abort(hdp_chann->mdl, abort_mdl_cb, NULL,
1677 static void device_create_mdl_cb(struct mcap_mdl *mdl, uint8_t conf,
1710 hdp_chan = create_channel(user_data->dev, conf, mdl,
1711 mcap_mdl_get_mdlid(mdl),
1746 if (!mcap_mdl_abort(mdl, abort_mdl_cb, NULL, NULL, &gerr)) {
1763 if (!mcap_mdl_abort(mdl, abort_and_del_mdl_cb, mcap_mdl_ref(mdl), NULL,
1767 mcap_mdl_unref(mdl);
1975 if (mcap_delete_mdl(del_data->hdp_chann->mdl, hdp_mdl_delete_cb,
2015 if (mcap_delete_mdl(hdp_chan->mdl, hdp_mdl_delete_cb,