Home
last modified time | relevance | path

Searched refs:ElemInfo (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cros_alsa/src/
Dcontrol_tlv.rs40 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType};
204 let info = ElemInfo::new(handle, &id)?; in new()
224 if !ElemInfo::new(self.handle, &self.id)?.tlv_readable() { in load()
228 let tlv_size = ElemInfo::new(self.handle, &self.id)?.count() + TLV::TLV_HEADER_SIZE_BYTES; in load()
258 if !ElemInfo::new(self.handle, &self.id)?.tlv_writable() { in save()
Dcontrol_primitive.rs276 pub struct ElemInfo( struct
281 impl Drop for ElemInfo { implementation
288 impl ElemInfo { implementation
295 pub fn new(handle: &mut Ctl, id: &ElemId) -> Result<ElemInfo> { in new() argument
316 Ok(ElemInfo(info, PhantomData)) in new()
Dcontrol.rs66 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType};
130 let info = ElemInfo::new(handle, &id)?; in from()