• Home
  • Raw
  • Download

Lines Matching refs:server_state

236 	const struct cras_server_state *server_state;  member
326 if (!client->server_state) { in server_state_rdlock()
635 if (client->server_state) { in disconnect_transition_action()
636 munmap((void *)client->server_state, in disconnect_transition_action()
637 sizeof(*client->server_state)); in disconnect_transition_action()
638 client->server_state = NULL; in disconnect_transition_action()
1658 if (client->server_state) { in client_attach_shm()
1663 client->server_state = (struct cras_server_state *)mmap( in client_attach_shm()
1664 NULL, sizeof(*client->server_state), in client_attach_shm()
1668 if (client->server_state == (struct cras_server_state *)-1) { in client_attach_shm()
1675 if (client->server_state->state_version != CRAS_SERVER_STATE_VERSION) { in client_attach_shm()
1676 munmap((void *)client->server_state, in client_attach_shm()
1677 sizeof(*client->server_state)); in client_attach_shm()
1678 client->server_state = NULL; in client_attach_shm()
2564 volume = client->server_state->volume; in cras_client_get_system_volume()
2578 gain = client->server_state->capture_gain; in cras_client_get_system_capture_gain()
2592 muted = client->server_state->mute; in cras_client_get_system_muted()
2606 muted = client->server_state->user_mute; in cras_client_get_user_muted()
2620 muted = client->server_state->capture_mute; in cras_client_get_system_capture_muted()
2634 min_volume = client->server_state->min_volume_dBFS; in cras_client_get_system_min_volume()
2648 max_volume = client->server_state->max_volume_dBFS; in cras_client_get_system_max_volume()
2662 min_gain = client->server_state->min_capture_gain; in cras_client_get_system_min_capture_gain()
2676 max_gain = client->server_state->max_capture_gain; in cras_client_get_system_max_capture_gain()
2691 debug_info = &client->server_state->audio_debug_info; in cras_client_get_audio_debug_info()
2707 snapshot_buffer = &client->server_state->snapshot_buffer; in cras_client_get_audio_thread_snapshot_buffer()
2723 version = begin_server_state_read(client->server_state); in cras_client_get_num_active_streams()
2726 num_streams += client->server_state->num_active_streams[i]; in cras_client_get_num_active_streams()
2732 &client->server_state->last_active_stream_time); in cras_client_get_num_active_streams()
2734 if (end_server_state_read(client->server_state, version)) in cras_client_get_num_active_streams()
2818 state = client->server_state; in cras_client_get_output_devices()
2848 state = client->server_state; in cras_client_get_input_devices()
2877 state = client->server_state; in cras_client_get_attached_clients()
3271 state = client->server_state; in cras_client_get_first_node_type_idx()
3377 aec_supported = client->server_state->aec_supported; in cras_client_get_aec_supported()