Lines Matching refs:raw
19 use optee_teec_sys as raw;
45 raw: raw::TEEC_Session, field
56 let mut raw_session = raw::TEEC_Session { in new()
63 None => ptr::null_mut() as *mut raw::TEEC_Operation, in new()
66 match raw::TEEC_OpenSession( in new()
75 raw::TEEC_SUCCESS => Ok(Self { raw: raw_session, _marker: marker::PhantomData }), in new()
82 pub fn as_mut_raw_ptr(&mut self) -> *mut raw::TEEC_Session { in as_mut_raw_ptr()
83 &mut self.raw in as_mut_raw_ptr()
94 match raw::TEEC_InvokeCommand( in invoke_command()
95 &mut self.raw, in invoke_command()
100 raw::TEEC_SUCCESS => Ok(()), in invoke_command()
110 raw::TEEC_CloseSession(&mut self.raw); in drop()