Searched refs:GspMsgElement (Results 1 – 2 of 2) sorted by relevance
43 GspMsgElement,367 if size_of::<GspMsgElement>() + size > GSP_MSG_QUEUE_ELEMENT_SIZE_MAX { in allocate_command()372 |available_bytes| *available_bytes >= size_of::<GspMsgElement>() + size, in allocate_command()385 let (header, slice_1) = GspMsgElement::from_bytes_mut_prefix(slice_1).ok_or(EIO)?; in allocate_command()455 header: &'a mut GspMsgElement,466 header: &'a GspMsgElement,644 let msg_element = GspMsgElement::init(self.seq, size_in_bytes, M::FUNCTION); in send_single_command()746 let (header, slice_1) = GspMsgElement::from_bytes_prefix(slice_1).ok_or(EIO)?; in wait_for_msg()
770 pub(crate) struct GspMsgElement { struct774 impl GspMsgElement { argument802 try_init!(GspMsgElement { in init()849 unsafe impl AsBytes for GspMsgElement {} implementation853 unsafe impl FromBytes for GspMsgElement {} implementation