Lines Matching refs:volume
86 vol_rend.state.volume, vol_rend.state.mute, in read_vol_state()
197 if (vol_rend.state.volume > 0) { in write_vcs_control()
198 vol_rend.state.volume = VOLUME_DOWN(vol_rend.state.volume); in write_vcs_control()
205 if (vol_rend.state.volume != UINT8_MAX) { in write_vcs_control()
206 vol_rend.state.volume = VOLUME_UP(vol_rend.state.volume); in write_vcs_control()
213 if (vol_rend.state.volume > 0) { in write_vcs_control()
214 vol_rend.state.volume = VOLUME_DOWN(vol_rend.state.volume); in write_vcs_control()
225 if (vol_rend.state.volume != UINT8_MAX) { in write_vcs_control()
226 vol_rend.state.volume = VOLUME_UP(vol_rend.state.volume); in write_vcs_control()
237 opcode, vol_rend.state.volume); in write_vcs_control()
238 if (vol_rend.state.volume != cp_val->volume) { in write_vcs_control()
239 vol_rend.state.volume = cp_val->volume; in write_vcs_control()
266 vol_rend.state.volume, vol_rend.state.mute, in write_vcs_control()
272 vol_rend.cb->state(conn, 0, vol_rend.state.volume, vol_rend.state.mute); in write_vcs_control()
478 vol_rend.state.volume = param->volume; in bt_vcp_vol_rend_register()
526 vol_rend.cb->state(NULL, 0, vol_rend.state.volume, vol_rend.state.mute); in bt_vcp_vol_rend_get_state()
593 int bt_vcp_vol_rend_set_vol(uint8_t volume) in bt_vcp_vol_rend_set_vol() argument
600 .volume = volume in bt_vcp_vol_rend_set_vol()