Lines Matching defs:ag
62 struct bt_hfp_ag *ag; member
125 static void hfp_ag_lock(struct bt_hfp_ag *ag) in hfp_ag_lock()
130 static void hfp_ag_unlock(struct bt_hfp_ag *ag) in hfp_ag_unlock()
135 static void bt_hfp_ag_set_state(struct bt_hfp_ag *ag, bt_hfp_state_t state) in bt_hfp_ag_set_state()
166 static void bt_hfp_ag_set_call_state(struct bt_hfp_ag *ag, bt_hfp_call_state_t call_state) in bt_hfp_ag_set_call_state()
244 static int hfp_ag_next_step(struct bt_hfp_ag *ag, bt_hfp_ag_tx_cb_t cb, void *user_data) in hfp_ag_next_step()
269 static int hfp_ag_send(struct bt_hfp_ag *ag, struct bt_ag_tx *tx) in hfp_ag_send()
283 struct bt_hfp_ag *ag = CONTAINER_OF(dwork, struct bt_hfp_ag, tx_work); in bt_ag_tx_work() local
325 static int hfp_ag_send_data(struct bt_hfp_ag *ag, bt_hfp_ag_tx_cb_t cb, void *user_data, in hfp_ag_send_data()
433 static int bt_hfp_ag_brsf_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_brsf_handler()
458 static int bt_hfp_ag_bac_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bac_handler()
504 static int bt_hfp_ag_cind_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_cind_handler()
556 static void bt_hfp_ag_set_in_band_ring(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_set_in_band_ring()
571 static int bt_hfp_ag_cmer_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_cmer_handler()
619 static int bt_hfp_ag_chld_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_chld_handler()
624 static int bt_hfp_ag_bind_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bind_handler()
731 static int bt_hfp_ag_cmee_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_cmee_handler()
758 static int hfp_ag_update_indicator(struct bt_hfp_ag *ag, enum bt_hfp_ag_indicator index, in hfp_ag_update_indicator()
789 static void hfp_ag_close_sco(struct bt_hfp_ag *ag) in hfp_ag_close_sco()
805 static void bt_hfp_ag_reject_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_reject_cb()
815 static void bt_hfp_ag_call_reject(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_call_reject()
824 static void bt_hfp_ag_terminate_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_terminate_cb()
834 static void bt_hfp_ag_unit_call_terminate(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_unit_call_terminate()
843 static int bt_hfp_ag_chup_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_chup_handler()
869 static uint8_t bt_hfp_get_call_state(struct bt_hfp_ag *ag) in bt_hfp_get_call_state()
904 static int bt_hfp_ag_clcc_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_clcc_handler()
938 static int bt_hfp_ag_bia_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bia_handler()
987 static void bt_hfp_ag_accept_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_accept_cb()
996 static void bt_hfp_ag_call_ringing_cb(struct bt_hfp_ag *ag, bool in_bond) in bt_hfp_ag_call_ringing_cb()
1005 struct bt_hfp_ag *ag = CONTAINER_OF(chan, struct bt_hfp_ag, sco_chan); in hfp_ag_sco_connected() local
1023 struct bt_hfp_ag *ag = CONTAINER_OF(chan, struct bt_hfp_ag, sco_chan); in hfp_ag_sco_disconnected() local
1038 static struct bt_conn *bt_hfp_ag_create_sco(struct bt_hfp_ag *ag) in bt_hfp_ag_create_sco()
1065 static int hfp_ag_open_sco(struct bt_hfp_ag *ag) in hfp_ag_open_sco()
1097 static int bt_hfp_ag_codec_select(struct bt_hfp_ag *ag) in bt_hfp_ag_codec_select()
1124 static int bt_hfp_ag_create_audio_connection(struct bt_hfp_ag *ag) in bt_hfp_ag_create_audio_connection()
1143 static void bt_hfp_ag_audio_connection(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_audio_connection()
1153 static void bt_hfp_ag_unit_call_accept(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_unit_call_accept()
1169 static int bt_hfp_ag_ata_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_ata_handler()
1193 static int bt_hfp_ag_cops_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_cops_handler()
1242 static int bt_hfp_ag_bcc_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bcc_handler()
1265 static void bt_hfp_ag_unit_codec_conn_setup(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_unit_codec_conn_setup()
1274 static int bt_hfp_ag_bcs_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bcs_handler()
1327 static void bt_hfp_ag_unit_call_outgoing(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_unit_call_outgoing()
1336 static int bt_hfp_ag_atd_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_atd_handler()
1394 static int bt_hfp_ag_bldn_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_bldn_handler()
1419 static int bt_hfp_ag_clip_handler(struct bt_hfp_ag *ag, struct net_buf *buf) in bt_hfp_ag_clip_handler()
1456 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_connected() local
1465 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_disconnected() local
1503 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_recv() local
1543 struct bt_hfp_ag *ag; in bt_hfp_ag_thread() local
1580 struct bt_hfp_ag *ag = CONTAINER_OF(dlc, struct bt_hfp_ag, rfcomm_dlc); in hfp_ag_sent() local
1609 static void bt_ag_deferred_work_cb(struct bt_hfp_ag *ag, void *user_data) in bt_ag_deferred_work_cb()
1672 struct bt_hfp_ag *ag = CONTAINER_OF(dwork, struct bt_hfp_ag, deferred_work); in bt_ag_deferred_work() local
1677 static void bt_ag_ringing_work_cb(struct bt_hfp_ag *ag, void *user_data) in bt_ag_ringing_work_cb()
1714 struct bt_hfp_ag *ag = CONTAINER_OF(dwork, struct bt_hfp_ag, ringing_work); in bt_ag_ringing_work() local
1719 int bt_hfp_ag_connect(struct bt_conn *conn, struct bt_hfp_ag **ag, uint8_t channel) in bt_hfp_ag_connect()
1835 int bt_hfp_ag_disconnect(struct bt_hfp_ag *ag) in bt_hfp_ag_disconnect()
1886 static void bt_hfp_ag_incoming_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_incoming_cb()
1907 int bt_hfp_ag_remote_incoming(struct bt_hfp_ag *ag, const char *number) in bt_hfp_ag_remote_incoming()
1951 int bt_hfp_ag_reject(struct bt_hfp_ag *ag) in bt_hfp_ag_reject()
1983 int bt_hfp_ag_accept(struct bt_hfp_ag *ag) in bt_hfp_ag_accept()
2023 int bt_hfp_ag_terminate(struct bt_hfp_ag *ag) in bt_hfp_ag_terminate()
2050 static void bt_hfp_ag_outgoing_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_outgoing_cb()
2068 int bt_hfp_ag_outgoing(struct bt_hfp_ag *ag, const char *number) in bt_hfp_ag_outgoing()
2109 static void bt_hfp_ag_ringing_cb(struct bt_hfp_ag *ag, void *user_data) in bt_hfp_ag_ringing_cb()
2120 int bt_hfp_ag_remote_ringing(struct bt_hfp_ag *ag) in bt_hfp_ag_remote_ringing()
2156 int bt_hfp_ag_remote_reject(struct bt_hfp_ag *ag) in bt_hfp_ag_remote_reject()
2188 int bt_hfp_ag_remote_accept(struct bt_hfp_ag *ag) in bt_hfp_ag_remote_accept()
2228 int bt_hfp_ag_remote_terminate(struct bt_hfp_ag *ag) in bt_hfp_ag_remote_terminate()
2255 int bt_hfp_ag_set_indicator(struct bt_hfp_ag *ag, enum bt_hfp_ag_indicator index, uint8_t value) in bt_hfp_ag_set_indicator()
2299 int bt_hfp_ag_set_operator(struct bt_hfp_ag *ag, char *name) in bt_hfp_ag_set_operator()
2324 int bt_hfp_ag_select_codec(struct bt_hfp_ag *ag, uint8_t id) in bt_hfp_ag_select_codec()