• Home
  • Raw
  • Download

Lines Matching refs:cras_client

159 	struct cras_client *client;
219 struct cras_client { struct
237 void (*debug_info_callback)(struct cras_client *); argument
254 struct cras_client client; argument
279 static int client_thread_rm_stream(struct cras_client *client,
281 static int handle_message_from_server(struct cras_client *client);
282 static int reregister_notifications(struct cras_client *client);
292 static void server_state_unlock(const struct cras_client *client, in server_state_unlock()
315 static int server_state_rdlock(const struct cras_client *client) in server_state_rdlock()
341 static int server_state_wrlock(const struct cras_client *client) in server_state_wrlock()
352 static struct client_stream *stream_from_id(const struct cras_client *client, in stream_from_id()
364 void server_fill_pollfd(const struct cras_client *client, in server_fill_pollfd()
390 static void server_fd_move_to_state(struct cras_client *client, in server_fd_move_to_state()
410 static int error_delay_next_action(struct cras_client *client, in error_delay_next_action()
461 static void wait_for_socket_next_action(struct cras_client *client) in wait_for_socket_next_action()
479 static int wait_for_writable_next_action(struct cras_client *client, in wait_for_writable_next_action()
537 static int connect_transition_action(struct cras_client *client) in connect_transition_action()
564 static int first_message_next_action(struct cras_client *client, in first_message_next_action()
618 static void disconnect_transition_action(struct cras_client *client, bool force) in disconnect_transition_action()
699 static int server_fd_dispatch(struct cras_client *client, int poll_revents) in server_fd_dispatch()
745 static int server_connect(struct cras_client *client) in server_connect()
757 static void server_disconnect(struct cras_client *client) in server_disconnect()
773 struct cras_client *client = (struct cras_client *)context; in sock_file_wait_callback()
818 static int sock_file_wait_dispatch(struct cras_client *client, in sock_file_wait_dispatch()
842 static int check_server_connected_wait(struct cras_client *client, in check_server_connected_wait()
877 static int connect_to_server(struct cras_client *client, in connect_to_server()
936 static int connect_to_server_wait_retry(struct cras_client *client, in connect_to_server_wait_retry()
960 static int connect_to_server_wait(struct cras_client *client, in connect_to_server_wait()
1493 static int send_connect_message(struct cras_client *client, in send_connect_message()
1543 static int client_thread_add_stream(struct cras_client *client, in client_thread_add_stream()
1598 static int client_thread_rm_stream(struct cras_client *client, in client_thread_rm_stream()
1634 static int client_thread_set_stream_volume(struct cras_client *client, in client_thread_set_stream_volume()
1652 static int client_attach_shm(struct cras_client *client, int shm_fd) in client_attach_shm()
1691 struct cras_client *client, in cras_client_get_hotword_models_ready()
1701 static int handle_message_from_server(struct cras_client *client) in handle_message_from_server()
1876 static int handle_stream_message(struct cras_client *client, in handle_stream_message()
1896 static int handle_command_message(struct cras_client *client, in handle_command_message()
1975 struct cras_client *client = (struct cras_client *)arg; in client_thread()
1977 int (*cbs[4])(struct cras_client *client, int poll_revents); in client_thread()
2040 static int send_command_message(struct cras_client *client, in send_command_message()
2059 static int send_simple_cmd_msg(struct cras_client *client, in send_simple_cmd_msg()
2073 static int send_stream_volume_command_msg(struct cras_client *client, in send_stream_volume_command_msg()
2088 static int write_message_to_server(struct cras_client *client, in write_message_to_server()
2116 int cras_client_create(struct cras_client **client) in cras_client_create()
2223 void cras_client_destroy(struct cras_client *client) in cras_client_destroy()
2244 int cras_client_connect(struct cras_client *client) in cras_client_connect()
2249 int cras_client_connect_timeout(struct cras_client *client, in cras_client_connect_timeout()
2255 int cras_client_connected_wait(struct cras_client *client) in cras_client_connected_wait()
2260 int cras_client_connect_async(struct cras_client *client) in cras_client_connect_async()
2374 struct cras_client *client, in cras_client_send_add_stream_command_message()
2435 int cras_client_add_stream(struct cras_client *client, in cras_client_add_stream()
2446 int cras_client_add_pinned_stream(struct cras_client *client, in cras_client_add_pinned_stream()
2458 int cras_client_rm_stream(struct cras_client *client, in cras_client_rm_stream()
2467 int cras_client_set_stream_volume(struct cras_client *client, in cras_client_set_stream_volume()
2477 int cras_client_set_system_volume(struct cras_client *client, size_t volume) in cras_client_set_system_volume()
2488 int cras_client_set_system_capture_gain(struct cras_client *client, long gain) in cras_client_set_system_capture_gain()
2499 int cras_client_set_system_mute(struct cras_client *client, int mute) in cras_client_set_system_mute()
2510 int cras_client_set_user_mute(struct cras_client *client, int mute) in cras_client_set_user_mute()
2521 int cras_client_set_system_mute_locked(struct cras_client *client, int locked) in cras_client_set_system_mute_locked()
2532 int cras_client_set_system_capture_mute(struct cras_client *client, int mute) in cras_client_set_system_capture_mute()
2543 int cras_client_set_system_capture_mute_locked(struct cras_client *client, in cras_client_set_system_capture_mute_locked()
2555 size_t cras_client_get_system_volume(const struct cras_client *client) in cras_client_get_system_volume()
2569 long cras_client_get_system_capture_gain(const struct cras_client *client) in cras_client_get_system_capture_gain()
2583 int cras_client_get_system_muted(const struct cras_client *client) in cras_client_get_system_muted()
2597 int cras_client_get_user_muted(const struct cras_client *client) in cras_client_get_user_muted()
2611 int cras_client_get_system_capture_muted(const struct cras_client *client) in cras_client_get_system_capture_muted()
2625 long cras_client_get_system_min_volume(const struct cras_client *client) in cras_client_get_system_min_volume()
2639 long cras_client_get_system_max_volume(const struct cras_client *client) in cras_client_get_system_max_volume()
2653 long cras_client_get_system_min_capture_gain(const struct cras_client *client) in cras_client_get_system_min_capture_gain()
2667 long cras_client_get_system_max_capture_gain(const struct cras_client *client) in cras_client_get_system_max_capture_gain()
2682 const struct cras_client *client) in cras_client_get_audio_debug_info()
2698 const struct cras_client *client) in cras_client_get_audio_thread_snapshot_buffer()
2712 unsigned cras_client_get_num_active_streams(const struct cras_client *client, in cras_client_get_num_active_streams()
2741 int cras_client_run_thread(struct cras_client *client) in cras_client_run_thread()
2765 int cras_client_stop(struct cras_client *client) in cras_client_stop()
2783 void cras_client_set_server_error_cb(struct cras_client *client, in cras_client_set_server_error_cb()
2792 struct cras_client *client, in cras_client_set_connection_status_cb()
2800 void cras_client_set_thread_priority_cb(struct cras_client *client, in cras_client_set_thread_priority_cb()
2806 int cras_client_get_output_devices(const struct cras_client *client, in cras_client_get_output_devices()
2836 int cras_client_get_input_devices(const struct cras_client *client, in cras_client_get_input_devices()
2866 int cras_client_get_attached_clients(const struct cras_client *client, in cras_client_get_attached_clients()
2900 static int cras_client_find_output_node(const struct cras_client *client, in cras_client_find_output_node()
2957 int cras_client_get_node_by_id(const struct cras_client *client, in cras_client_get_node_by_id()
3014 int cras_client_output_dev_plugged(const struct cras_client *client, in cras_client_output_dev_plugged()
3027 int cras_client_set_node_attr(struct cras_client *client, in cras_client_set_node_attr()
3040 int cras_client_select_node(struct cras_client *client, in cras_client_select_node()
3053 int cras_client_add_active_node(struct cras_client *client, in cras_client_add_active_node()
3066 int cras_client_rm_active_node(struct cras_client *client, in cras_client_rm_active_node()
3117 int cras_client_reload_dsp(struct cras_client *client) in cras_client_reload_dsp()
3128 int cras_client_dump_dsp_info(struct cras_client *client) in cras_client_dump_dsp_info()
3140 struct cras_client *client, in cras_client_update_audio_debug_info()
3141 void (*debug_info_cb)(struct cras_client *)) in cras_client_update_audio_debug_info() argument
3157 struct cras_client *client, in cras_client_update_audio_thread_snapshots()
3158 void (*debug_info_cb)(struct cras_client *)) in cras_client_update_audio_thread_snapshots() argument
3173 int cras_client_set_node_volume(struct cras_client *client, in cras_client_set_node_volume()
3186 int cras_client_swap_node_left_right(struct cras_client *client, in cras_client_swap_node_left_right()
3199 int cras_client_set_node_capture_gain(struct cras_client *client, in cras_client_set_node_capture_gain()
3214 int cras_client_add_test_iodev(struct cras_client *client, in cras_client_add_test_iodev()
3223 int cras_client_test_iodev_command(struct cras_client *client, in cras_client_test_iodev_command()
3239 int cras_client_config_global_remix(struct cras_client *client, in cras_client_config_global_remix()
3256 int cras_client_get_first_node_type_idx(const struct cras_client *client, in cras_client_get_first_node_type_idx()
3297 int cras_client_get_first_dev_type_idx(const struct cras_client *client, in cras_client_get_first_dev_type_idx()
3312 int cras_client_set_suspend(struct cras_client *client, int suspend) in cras_client_set_suspend()
3320 int cras_client_get_hotword_models(struct cras_client *client, in cras_client_get_hotword_models()
3334 int cras_client_set_hotword_model(struct cras_client *client, in cras_client_set_hotword_model()
3344 int cras_client_set_aec_dump(struct cras_client *client, in cras_client_set_aec_dump()
3360 int cras_client_reload_aec_config(struct cras_client *client) in cras_client_reload_aec_config()
3368 int cras_client_get_aec_supported(struct cras_client *client) in cras_client_get_aec_supported()
3383 struct cras_client *client, void *context) in cras_client_set_state_change_callback_context()
3390 static int cras_send_register_notification(struct cras_client *client, in cras_send_register_notification()
3408 struct cras_client *client, in cras_client_set_output_volume_changed_callback()
3419 struct cras_client *client, in cras_client_set_output_mute_changed_callback()
3430 struct cras_client *client, in cras_client_set_capture_gain_changed_callback()
3441 struct cras_client *client, in cras_client_set_capture_mute_changed_callback()
3452 struct cras_client *client, in cras_client_set_nodes_changed_callback()
3463 struct cras_client *client, in cras_client_set_active_node_changed_callback()
3474 struct cras_client *client, in cras_client_set_output_node_volume_changed_callback()
3485 struct cras_client *client, in cras_client_set_node_left_right_swapped_changed_callback()
3496 struct cras_client *client, in cras_client_set_input_node_gain_changed_callback()
3507 struct cras_client *client, in cras_client_set_num_active_streams_changed_callback()
3517 static int reregister_notifications(struct cras_client *client) in reregister_notifications()
3593 static int hotword_read_cb(struct cras_client *client, in hotword_read_cb()
3611 static int hotword_err_cb(struct cras_client *client, in hotword_err_cb()
3625 int cras_client_enable_hotword_callback(struct cras_client *client, in cras_client_enable_hotword_callback()
3683 int cras_client_disable_hotword_callback(struct cras_client *client, in cras_client_disable_hotword_callback()