Home | History | Annotate | Download | only in health

Lines Matching defs:mdl

108 	mcap_mdl_unref(chan->mdl);
254 static gint cmp_chan_mdl(gconstpointer a, gconstpointer mdl)
258 if (chan->mdl == mdl)
500 static void hdp_mdl_reconn_cb(struct mcap_mdl *mdl, GError *err, gpointer data)
518 if (!mcap_mdl_abort(chan->mdl, abort_mdl_cb, NULL, NULL,
526 fd = mcap_mdl_get_fd(dc_data->hdp_chann->mdl);
554 hdp_conn->cb(hdp_chann->mdl, err, hdp_conn);
563 if (mcap_connect_mdl(hdp_chann->mdl, mode, dcpsm, hdp_conn->cb,
569 hdp_conn->cb(hdp_chann->mdl, err, hdp_conn);
574 static void device_reconnect_mdl_cb(struct mcap_mdl *mdl, GError *err,
606 if (!mcap_mdl_abort(mdl, abort_mdl_cb, NULL, NULL, &gerr)) {
625 fd = mcap_mdl_get_fd(data->hdp_chann->mdl);
631 if (mcap_reconnect_mdl(data->hdp_chann->mdl, device_reconnect_mdl_cb,
691 fd = mcap_mdl_get_fd(hdp_chann->mdl);
765 struct mcap_mdl *mdl,
780 if (mdl)
781 hdp_chann->mdl = mcap_mdl_ref(mdl);
902 fd = mcap_mdl_get_fd(chan->mdl);
934 DBG("MDL imtu %d omtu %d Channel imtu %d omtu %d", imtu, omtu,
948 static void hdp_mcap_mdl_connected_cb(struct mcap_mdl *mdl, void *data)
958 if (!chan->mdl)
959 chan->mdl = mcap_mdl_ref(mdl);
974 fd = mcap_mdl_get_fd(chan->mdl);
1005 static void hdp_mcap_mdl_closed_cb(struct mcap_mdl *mdl, void *data)
1014 static void hdp_mcap_mdl_deleted_cb(struct mcap_mdl *mdl, void *data)
1022 l = g_slist_find_custom(dev->channels, mdl, cmp_chan_mdl);
1034 static void hdp_mcap_mdl_aborted_cb(struct mcap_mdl *mdl, void *data)
1042 dev->ndc->mdl = mcap_mdl_ref(mdl);
1160 static uint8_t hdp_mcap_mdl_reconn_req_cb(struct mcap_mdl *mdl, void *data)
1167 l = g_slist_find_custom(dev->channels, mdl, cmp_chan_mdl);
1449 if (mcap_delete_mdl(chan->mdl, delete_echo_channel_cb,
1468 /* MDL is removed from MCAP so we can */
1554 fd = mcap_mdl_get_fd(chan->mdl);
1564 static void hdp_echo_connect_cb(struct mcap_mdl *mdl, GError *err,
1582 if (!mcap_mdl_abort(hdp_conn->hdp_chann->mdl,
1594 fd = mcap_mdl_get_fd(hdp_conn->hdp_chann->mdl);
1628 struct mcap_mdl *mdl = data;
1634 /* MDL is removed from MCAP so we don't */
1640 if (!mcap_delete_mdl(mdl, delete_mdl_cb, NULL, NULL, &gerr)) {
1646 static void hdp_mdl_conn_cb(struct mcap_mdl *mdl, GError *err, gpointer data)
1663 if (!mcap_mdl_abort(hdp_chann->mdl, abort_mdl_cb, hdp_chann,
1700 static void device_create_mdl_cb(struct mcap_mdl *mdl, uint8_t conf,
1733 hdp_chan = create_channel(user_data->dev, conf, mdl,
1734 mcap_mdl_get_mdlid(mdl),
1761 if (!mcap_mdl_abort(mdl, abort_mdl_cb, hdp_chan, NULL, &gerr)) {
1778 if (!mcap_mdl_abort(mdl, abort_and_del_mdl_cb, mcap_mdl_ref(mdl), NULL,
1782 mcap_mdl_unref(mdl);
1990 if (mcap_delete_mdl(del_data->hdp_chann->mdl, hdp_mdl_delete_cb,
2030 if (mcap_delete_mdl(hdp_chan->mdl, hdp_mdl_delete_cb,