Lines Matching refs:rfcomm_dlc
204 int err = bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_set_call_state()
207 LOG_ERR("Fail to disconnect DLC %p", &ag->rfcomm_dlc); in bt_hfp_ag_set_call_state()
271 int err = bt_rfcomm_dlc_send(&ag->rfcomm_dlc, tx->buf); in hfp_ag_send()
1456 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_connected()
1465 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_disconnected()
1503 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_recv()
1568 bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_thread()
1580 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_sent()
1761 if (_ag->rfcomm_dlc.session) { in bt_hfp_ag_connect()
1771 _ag->rfcomm_dlc.ops = &ops; in bt_hfp_ag_connect()
1772 _ag->rfcomm_dlc.mtu = BT_HFP_MAX_MTU; in bt_hfp_ag_connect()
1824 err = bt_rfcomm_dlc_connect(conn, &(*ag)->rfcomm_dlc, channel); in bt_hfp_ag_connect()
1868 return bt_rfcomm_dlc_disconnect(&ag->rfcomm_dlc); in bt_hfp_ag_disconnect()