Lines Matching full:pub

3 pub(crate) mod commands;
44 pub(super) mod gsp_mem {
61 pub(in crate::gsp) fn gsp_write_ptr(qs: &Coherent<GspMem>) -> u32 { in gsp_write_ptr()
65 pub(in crate::gsp) fn gsp_read_ptr(qs: &Coherent<GspMem>) -> u32 { in gsp_read_ptr()
69 pub(in crate::gsp) fn cpu_read_ptr(qs: &Coherent<GspMem>) -> u32 { in cpu_read_ptr()
73 pub(in crate::gsp) fn advance_cpu_read_ptr(qs: &Coherent<GspMem>, count: u32) { in advance_cpu_read_ptr()
82 pub(in crate::gsp) fn cpu_write_ptr(qs: &Coherent<GspMem>) -> u32 { in cpu_write_ptr()
86 pub(in crate::gsp) fn advance_cpu_write_ptr(qs: &Coherent<GspMem>, count: u32) { in advance_cpu_write_ptr()
97 pub(crate) const GSP_MSG_QUEUE_ELEMENT_SIZE_MAX: usize =
136 pub(crate) struct LibosParams {
164 pub(crate) fn from_chipset(chipset: Chipset) -> &'static LibosParams { in from_chipset()
174 pub(crate) fn wpr_heap_size(&self, chipset: Chipset, fb_size: u64) -> u64 { in wpr_heap_size()
192 pub(crate) struct GspFwWprMeta {
209 pub(crate) fn new<'a>( in new()
260 pub(crate) enum MsgFunction {
353 pub(crate) enum SeqBufOpcode {
409 pub(crate) struct RegWritePayload(bindings::GSP_SEQ_BUF_PAYLOAD_REG_WRITE);
413 pub(crate) fn addr(&self) -> u32 { in addr()
418 pub(crate) fn val(&self) -> u32 { in val()
432 pub(crate) struct RegModifyPayload(bindings::GSP_SEQ_BUF_PAYLOAD_REG_MODIFY);
436 pub(crate) fn addr(&self) -> u32 { in addr()
441 pub(crate) fn mask(&self) -> u32 { in mask()
446 pub(crate) fn val(&self) -> u32 { in val()
460 pub(crate) struct RegPollPayload(bindings::GSP_SEQ_BUF_PAYLOAD_REG_POLL);
464 pub(crate) fn addr(&self) -> u32 { in addr()
469 pub(crate) fn mask(&self) -> u32 { in mask()
474 pub(crate) fn val(&self) -> u32 { in val()
479 pub(crate) fn timeout(&self) -> u32 { in timeout()
493 pub(crate) struct DelayUsPayload(bindings::GSP_SEQ_BUF_PAYLOAD_DELAY_US);
497 pub(crate) fn val(&self) -> u32 { in val()
511 pub(crate) struct RegStorePayload(bindings::GSP_SEQ_BUF_PAYLOAD_REG_STORE);
515 pub(crate) fn addr(&self) -> u32 { in addr()
521 pub(crate) fn index(&self) -> u32 { in index()
534 pub(crate) struct SequencerBufferCmd(bindings::GSP_SEQUENCER_BUFFER_CMD);
538 pub(crate) fn opcode(&self) -> Result<SeqBufOpcode> { in opcode()
545 pub(crate) fn reg_write_payload(&self) -> Result<RegWritePayload> { in reg_write_payload()
556 pub(crate) fn reg_modify_payload(&self) -> Result<RegModifyPayload> { in reg_modify_payload()
567 pub(crate) fn reg_poll_payload(&self) -> Result<RegPollPayload> { in reg_poll_payload()
578 pub(crate) fn delay_us_payload(&self) -> Result<DelayUsPayload> { in delay_us_payload()
589 pub(crate) fn reg_store_payload(&self) -> Result<RegStorePayload> { in reg_store_payload()
606 pub(crate) struct RunCpuSequencer(bindings::rpc_run_cpu_sequencer_v17_00);
610 pub(crate) fn cmd_index(&self) -> u32 { in cmd_index()
636 pub(crate) struct LibosMemoryRegionInitArgument {
648 pub(crate) fn new<'a, A: AsBytes + FromBytes + KnownSize + ?Sized>( in new()
685 pub(crate) struct MsgqTxHeader(bindings::msgqTxHeader);
697 pub(crate) fn new(msgq_size: u32, rx_hdr_offset: u32, msg_count: u32) -> Self { in new()
716 pub(crate) struct MsgqRxHeader(bindings::msgqRxHeader);
721 pub(crate) fn new() -> Self { in new()
770 pub(crate) struct GspMsgElement {
783 pub(crate) fn init( in init()
811 pub(crate) fn set_checksum(&mut self, checksum: u32) { in set_checksum()
816 pub(crate) fn payload_length(&self) -> usize { in payload_length()
823 pub(crate) fn length(&self) -> usize { in length()
828 pub(crate) fn sequence(&self) -> u32 { in sequence()
834 pub(crate) fn function(&self) -> Result<MsgFunction, u32> { in function()
843 pub(crate) fn element_count(&self) -> u32 { in element_count()
858 pub(crate) struct GspArgumentsCached {
864 pub(crate) fn new(cmdq: &Cmdq) -> impl Init<Self> + '_ { in new()
886 pub(crate) struct GspArgumentsPadded {
887 pub(crate) inner: GspArgumentsCached,
892 pub(crate) fn new(cmdq: &Cmdq) -> impl Init<Self> + '_ { in new()