• Home
  • Raw
  • Download

Lines Matching refs:headset

150 struct headset {  struct
298 static int headset_send_valist(struct headset *hs, char *format, va_list ap) in headset_send_valist()
331 static int headset_send(struct headset *hs, char *format, ...) in headset_send()
345 struct headset *hs = device->headset; in supported_features()
407 struct headset *hs = device->headset; in report_indicators()
436 struct headset *hs = dev->headset; in pending_connect_complete()
446 struct headset *hs = dev->headset; in pending_connect_finalize()
478 static void pending_connect_init(struct headset *hs, headset_state_t target_state) in pending_connect_init()
490 static unsigned int connect_cb_new(struct headset *hs, in connect_cb_new()
516 int (*cmp) (struct headset *hs), in send_foreach_headset()
524 struct headset *hs = device->headset; in send_foreach_headset()
541 static int cli_cmp(struct headset *hs) in cli_cmp()
570 struct headset *hs = dev->headset; in sco_connect_cb()
627 struct headset *hs = dev->headset; in sco_connect()
660 static int hfp_cmp(struct headset *hs) in hfp_cmp()
670 struct headset *hs = dev->headset; in hfp_slc_complete()
699 struct headset *hs = device->headset; in telephony_generic_rsp()
715 struct headset *hs = device->headset; in telephony_event_reporting_rsp()
774 struct headset *hs = dev->headset; in call_hold()
851 struct headset *hs = device->headset; in telephony_terminate_call_rsp()
882 struct headset *hs = device->headset; in cli_notification()
900 struct headset *hs = device->headset; in response_and_hold()
955 struct headset *hs = device->headset; in headset_set_gain()
1002 struct headset *hs = device->headset; in signal_gain_setting()
1063 struct headset *hs = device->headset; in extended_errors()
1082 struct headset *hs = device->headset; in call_waiting_notify()
1112 struct headset *hs = device->headset; in telephony_nr_and_ec_rsp()
1139 struct headset *hs = device->headset; in operator_selection()
1159 struct headset *hs = device->headset; in nr_and_ec()
1232 struct headset *hs = device->headset; in close_sco()
1251 struct headset *hs; in rfcomm_io_cb()
1260 hs = device->headset; in rfcomm_io_cb()
1347 struct headset *hs = dev->headset; in headset_connect_cb()
1413 static int headset_set_channel(struct headset *headset, in headset_set_channel() argument
1434 headset->rfcomm_ch = ch; in headset_set_channel()
1437 headset->hfp_handle = record->handle; in headset_set_channel()
1440 headset->hsp_handle = record->handle; in headset_set_channel()
1450 struct headset *hs = dev->headset; in get_record_cb()
1532 struct headset *hs = device->headset; in get_records()
1575 struct headset *hs = dev->headset; in rfcomm_connect()
1625 struct headset *hs = device->headset; in hs_stop()
1646 struct headset *hs = device->headset; in hs_is_playing()
1666 struct headset *hs = device->headset; in hs_disconnect()
1694 connected = (device->headset->state >= HEADSET_STATE_CONNECTED); in hs_is_connected()
1706 struct headset *hs = device->headset; in hs_connect()
1743 struct headset *hs = device->headset; in hs_ring()
1781 struct headset *hs = device->headset; in hs_cancel_call()
1806 struct headset *hs = device->headset; in hs_play()
1854 struct headset *hs = device->headset; in hs_get_speaker_gain()
1880 struct headset *hs = device->headset; in hs_get_mic_gain()
1907 struct headset *hs = device->headset; in hs_set_gain()
1987 value = (device->headset->state == HEADSET_STATE_PLAYING); in hs_get_properties()
1991 state = state2str(device->headset->state); in hs_get_properties()
1996 value = (device->headset->state >= HEADSET_STATE_CONNECTED); in hs_get_properties()
2005 &device->headset->slc->sp_gain); in hs_get_properties()
2010 &device->headset->slc->mic_gain); in hs_get_properties()
2098 struct headset *headset = dev->headset; in headset_update() local
2107 if (headset->hfp_handle && in headset_update()
2108 (headset->hfp_handle != record->handle)) { in headset_update()
2113 headset->hfp_handle = record->handle; in headset_update()
2117 if (headset->hsp_handle && in headset_update()
2118 (headset->hsp_handle != record->handle)) { in headset_update()
2123 headset->hsp_handle = record->handle; in headset_update()
2126 if (headset->hfp_handle) in headset_update()
2139 struct headset *hs = dev->headset; in headset_close_rfcomm()
2157 struct headset *hs = dev->headset; in headset_free()
2172 dev->headset = NULL; in headset_free()
2178 struct headset *hs = dev->headset; in path_unregister()
2197 struct headset *headset_init(struct audio_device *dev, uint16_t svc, in headset_init()
2200 struct headset *hs; in headset_init()
2203 hs = g_new0(struct headset, 1); in headset_init()
2276 struct headset *hs = dev->headset; in headset_cancel_stream()
2324 struct headset *hs = dev->headset; in headset_request_stream()
2359 struct headset *hs = dev->headset; in headset_config_stream()
2392 struct headset *hs = dev->headset; in headset_suspend_stream()
2414 struct headset *hs = dev->headset; in get_hfp_active()
2421 struct headset *hs = dev->headset; in set_hfp_active()
2428 struct headset *hs = dev->headset; in headset_get_rfcomm()
2435 struct headset *hs = dev->headset; in headset_connect_rfcomm()
2447 struct headset *hs = dev->headset; in headset_connect_sco()
2478 struct headset *hs = dev->headset; in headset_set_state()
2592 struct headset *hs = dev->headset; in headset_get_state()
2599 struct headset *hs = dev->headset; in headset_get_channel()
2606 struct headset *hs = dev->headset; in headset_is_active()
2616 struct headset *hs = dev->headset; in headset_get_lock()
2623 struct headset *hs = dev->headset; in headset_lock()
2635 struct headset *hs = dev->headset; in headset_unlock()
2672 struct headset *hs = dev->headset; in headset_get_sco_fd()
2682 struct headset *hs = dev->headset; in headset_get_nrec()
2697 struct pending_connect *p = dev->headset->pending; in headset_shutdown()
2743 struct headset *hs; in telephony_incoming_call_ind()
2751 hs = dev->headset; in telephony_incoming_call_ind()
2796 if (!dev->headset->slc->pending_ring && !ag.ring_timer) in telephony_calling_stopped_ind()
2799 dev->headset->slc->pending_ring = FALSE; in telephony_calling_stopped_ind()
2852 static int cwa_cmp(struct headset *hs) in cwa_cmp()