Lines Matching refs:audio_device
173 int (*callback) (struct audio_device *device, const char *buf);
199 static int rfcomm_connect(struct audio_device *device, headset_stream_cb_t cb,
201 static int get_records(struct audio_device *device, headset_stream_cb_t cb,
338 static int supported_features(struct audio_device *device, const char *buf) in supported_features()
399 static int report_indicators(struct audio_device *device, const char *buf) in report_indicators()
428 static void pending_connect_complete(struct connect_cb *cb, struct audio_device *dev) in pending_connect_complete()
438 static void pending_connect_finalize(struct audio_device *dev) in pending_connect_finalize()
517 struct audio_device *device = l->data; in send_foreach_headset()
561 struct audio_device *dev = user_data; in sco_connect_cb()
611 static int sco_connect(struct audio_device *dev, headset_stream_cb_t cb, in sco_connect()
655 static void hfp_slc_complete(struct audio_device *dev) in hfp_slc_complete()
684 static int telephony_generic_rsp(struct audio_device *device, cme_error_t err) in telephony_generic_rsp()
700 struct audio_device *device = telephony_device; in telephony_event_reporting_rsp()
723 static int event_reporting(struct audio_device *dev, const char *buf) in event_reporting()
757 static int call_hold(struct audio_device *dev, const char *buf) in call_hold()
791 static int key_press(struct audio_device *device, const char *buf) in key_press()
815 static int answer_call(struct audio_device *device, const char *buf) in answer_call()
835 struct audio_device *device = telephony_device; in telephony_terminate_call_rsp()
848 static int terminate_call(struct audio_device *device, const char *buf) in terminate_call()
865 static int cli_notification(struct audio_device *device, const char *buf) in cli_notification()
882 static int response_and_hold(struct audio_device *device, const char *buf) in response_and_hold()
905 static int last_dialed_number(struct audio_device *device, const char *buf) in last_dialed_number()
917 static int dial_number(struct audio_device *device, const char *buf) in dial_number()
937 static int signal_gain_setting(struct audio_device *device, const char *buf) in signal_gain_setting()
994 static int dtmf_tone(struct audio_device *device, const char *buf) in dtmf_tone()
1011 static int subscriber_number(struct audio_device *device, const char *buf) in subscriber_number()
1023 static int list_current_calls(struct audio_device *device, const char *buf) in list_current_calls()
1030 static int extended_errors(struct audio_device *device, const char *buf) in extended_errors()
1048 static int call_waiting_notify(struct audio_device *device, const char *buf) in call_waiting_notify()
1078 struct audio_device *device = telephony_device; in telephony_nr_and_ec_rsp()
1098 static int operator_selection(struct audio_device *device, const char *buf) in operator_selection()
1118 static int nr_and_ec(struct audio_device *device, const char *buf) in nr_and_ec()
1158 static int handle_event(struct audio_device *device, const char *buf) in handle_event()
1172 static void close_sco(struct audio_device *device) in close_sco()
1191 struct audio_device *device) in rfcomm_io_cb()
1271 struct audio_device *device) in sco_cb()
1285 struct audio_device *dev = user_data; in headset_connect_cb()
1385 struct audio_device *dev = user_data; in get_record_cb()
1466 static int get_records(struct audio_device *device, headset_stream_cb_t cb, in get_records()
1509 static int rfcomm_connect(struct audio_device *dev, headset_stream_cb_t cb, in rfcomm_connect()
1561 struct audio_device *device = data; in hs_stop()
1582 struct audio_device *device = data; in hs_is_playing()
1602 struct audio_device *device = data; in hs_disconnect()
1623 struct audio_device *device = data; in hs_is_connected()
1642 struct audio_device *device = data; in hs_connect()
1679 struct audio_device *device = data; in hs_ring()
1717 struct audio_device *device = data; in hs_cancel_call()
1742 struct audio_device *device = data; in hs_play()
1790 struct audio_device *device = data; in hs_get_speaker_gain()
1815 struct audio_device *device = data; in hs_get_mic_gain()
1841 struct audio_device *device = data; in hs_set_gain()
1919 struct audio_device *device = data; in hs_get_properties()
2045 void headset_update(struct audio_device *dev, uint16_t svc, in headset_update()
2087 static int headset_close_rfcomm(struct audio_device *dev) in headset_close_rfcomm()
2107 static void headset_free(struct audio_device *dev) in headset_free()
2129 struct audio_device *dev = data; in path_unregister()
2143 void headset_unregister(struct audio_device *dev) in headset_unregister()
2149 struct headset *headset_init(struct audio_device *dev, uint16_t svc, in headset_init()
2225 static gboolean hs_dc_timeout(struct audio_device *dev) in hs_dc_timeout()
2231 gboolean headset_cancel_stream(struct audio_device *dev, unsigned int id) in headset_cancel_stream()
2271 static gboolean dummy_connect_complete(struct audio_device *dev) in dummy_connect_complete()
2277 unsigned int headset_request_stream(struct audio_device *dev, in headset_request_stream()
2311 unsigned int headset_config_stream(struct audio_device *dev, in headset_config_stream()
2345 unsigned int headset_suspend_stream(struct audio_device *dev, in headset_suspend_stream()
2365 gboolean get_hfp_active(struct audio_device *dev) in get_hfp_active()
2372 void set_hfp_active(struct audio_device *dev, gboolean active) in set_hfp_active()
2379 GIOChannel *headset_get_rfcomm(struct audio_device *dev) in headset_get_rfcomm()
2386 int headset_connect_rfcomm(struct audio_device *dev, GIOChannel *io) in headset_connect_rfcomm()
2398 int headset_connect_sco(struct audio_device *dev, GIOChannel *io) in headset_connect_sco()
2421 struct audio_device *device = user_data; in disconnect_cb()
2428 void headset_set_state(struct audio_device *dev, headset_state_t state) in headset_set_state()
2541 headset_state_t headset_get_state(struct audio_device *dev) in headset_get_state()
2548 int headset_get_channel(struct audio_device *dev) in headset_get_channel()
2555 gboolean headset_is_active(struct audio_device *dev) in headset_is_active()
2565 headset_lock_t headset_get_lock(struct audio_device *dev) in headset_get_lock()
2572 gboolean headset_lock(struct audio_device *dev, headset_lock_t lock) in headset_lock()
2584 gboolean headset_unlock(struct audio_device *dev, headset_lock_t lock) in headset_unlock()
2611 gboolean headset_suspend(struct audio_device *dev, void *data) in headset_suspend()
2616 gboolean headset_play(struct audio_device *dev, void *data) in headset_play()
2621 int headset_get_sco_fd(struct audio_device *dev) in headset_get_sco_fd()
2631 gboolean headset_get_nrec(struct audio_device *dev) in headset_get_nrec()
2638 gboolean headset_get_sco_hci(struct audio_device *dev) in headset_get_sco_hci()
2643 void headset_shutdown(struct audio_device *dev) in headset_shutdown()
2690 struct audio_device *dev; in telephony_incoming_call_ind()
2729 struct audio_device *dev; in telephony_calling_stopped_ind()