Searched refs:ElemId (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cros_alsa/src/ |
D | control.rs | 66 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType}; 127 fn new(handle: &'a mut Ctl, id: ElemId) -> Self; in new() 129 fn from(handle: &'a mut Ctl, id: ElemId) -> Result<Self> { in from() 179 id: ElemId, 206 fn new(handle: &'a mut Ctl, id: ElemId) -> Self { in new() 218 id: ElemId, 245 fn new(handle: &'a mut Ctl, id: ElemId) -> Self { in new() 257 id: ElemId, 294 fn new(handle: &'a mut Ctl, id: ElemId) -> Self { in new()
|
D | control_primitive.rs | 166 pub struct ElemId( struct 171 impl Drop for ElemId { implementation 178 impl ElemId { implementation 185 pub fn new(iface: ElemIface, ctl_name: &str) -> Result<ElemId> { in new() argument 200 Ok(ElemId(id, PhantomData)) in new() 249 pub fn new(id: &ElemId) -> Result<ElemValue> { in new() 295 pub fn new(handle: &mut Ctl, id: &ElemId) -> Result<ElemInfo> { in new()
|
D | card.rs | 12 use crate::control_primitive::{Ctl, ElemId, ElemIface}; 103 let id = ElemId::new(ElemIface::Mixer, control_name)?; in control_by_name() 114 let id = ElemId::new(ElemIface::Mixer, control_name)?; in control_tlv_by_name()
|
D | elem.rs | 25 use crate::control_primitive::{self, snd_strerror, Ctl, ElemId, ElemType, ElemValue}; 73 fn load(handle: &mut Ctl, id: &ElemId) -> Result<Self::T> 101 fn save(handle: &mut Ctl, id: &ElemId, val: Self::T) -> Result<bool> { 197 fn load(handle: &mut Ctl, id: &ElemId) -> Result<Self::T>; in load() 199 fn save(handle: &mut Ctl, id: &ElemId, val: Self::T) -> Result<bool>; in save() argument
|
D | control_tlv.rs | 40 use crate::control_primitive::{self, Ctl, ElemId, ElemInfo, ElemType}; 198 id: ElemId, 203 pub fn new(handle: &'a mut Ctl, id: ElemId) -> Result<Self> { in new()
|
D | lib.rs | 52 pub use self::control_primitive::{Ctl, ElemId};
|