Lines Matching refs:bt_ag

75 static struct bt_hfp_ag_cb *bt_ag;  variable
145 if (bt_ag && bt_ag->disconnected) { in bt_hfp_ag_set_state()
146 bt_ag->disconnected(ag); in bt_hfp_ag_set_state()
154 if (bt_ag && bt_ag->connected) { in bt_hfp_ag_set_state()
155 bt_ag->connected(ag); in bt_hfp_ag_set_state()
497 if (bt_ag && bt_ag->codec) { in bt_hfp_ag_bac_handler()
498 bt_ag->codec(ag, ag->hf_codec_ids); in bt_hfp_ag_bac_handler()
810 if (bt_ag && bt_ag->reject) { in bt_hfp_ag_reject_cb()
811 bt_ag->reject(ag); in bt_hfp_ag_reject_cb()
829 if (bt_ag && bt_ag->terminate) { in bt_hfp_ag_terminate_cb()
830 bt_ag->terminate(ag); in bt_hfp_ag_terminate_cb()
991 if (bt_ag && bt_ag->accept) { in bt_hfp_ag_accept_cb()
992 bt_ag->accept(ag); in bt_hfp_ag_accept_cb()
998 if (bt_ag && bt_ag->ringing) { in bt_hfp_ag_call_ringing_cb()
999 bt_ag->ringing(ag, in_bond); in bt_hfp_ag_call_ringing_cb()
1016 if ((bt_ag) && bt_ag->sco_connected) { in hfp_ag_sco_connected()
1017 bt_ag->sco_connected(ag, chan->sco); in hfp_ag_sco_connected()
1026 if ((bt_ag) && bt_ag->sco_disconnected) { in hfp_ag_sco_disconnected()
1027 bt_ag->sco_disconnected(ag); in hfp_ag_sco_disconnected()
1358 if (bt_ag && bt_ag->memory_dial) { in bt_hfp_ag_atd_handler()
1359 err = bt_ag->memory_dial(ag, &buf->data[0], &number); in bt_hfp_ag_atd_handler()
1778 if (!(bt_ag && bt_ag->codec)) { in bt_hfp_ag_connect()
1877 if (bt_ag) { in bt_hfp_ag_register()
1881 bt_ag = cb; in bt_hfp_ag_register()
1890 if (bt_ag && bt_ag->incoming) { in bt_hfp_ag_incoming_cb()
1891 bt_ag->incoming(ag, ag->number); in bt_hfp_ag_incoming_cb()
2054 if (bt_ag && bt_ag->outgoing) { in bt_hfp_ag_outgoing_cb()
2055 bt_ag->outgoing(ag, ag->number); in bt_hfp_ag_outgoing_cb()