Home
last modified time | relevance | path

Searched refs:ElemValue (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cros_alsa/src/
Delem.rs25 use crate::control_primitive::{self, snd_strerror, Ctl, ElemId, ElemType, ElemValue};
75 let mut elem = ElemValue::new(id)?;
102 let mut elem = ElemValue::new(id)?;
151 unsafe fn elem_value_get(elem: &ElemValue, idx: usize) -> bool { in elem_value_get() argument
155 unsafe fn elem_value_set(elem: &mut ElemValue, idx: usize, val: bool) { in elem_value_set() argument
167 unsafe fn elem_value_get(elem: &ElemValue, idx: usize) -> i32 { in elem_value_get() argument
171 unsafe fn elem_value_set(elem: &mut ElemValue, idx: usize, val: i32) { in elem_value_set() argument
185 unsafe fn elem_value_get(value: &ElemValue, idx: usize) -> Self::T; in elem_value_get() argument
187 unsafe fn elem_value_set(value: &mut ElemValue, id: usize, val: Self::T); in elem_value_set() argument
Dcontrol_primitive.rs231 pub struct ElemValue( struct
236 impl Drop for ElemValue { implementation
243 impl ElemValue { impl
249 pub fn new(id: &ElemId) -> Result<ElemValue> { in new() argument
261 Ok(ElemValue(value, PhantomData)) in new()