Lines Matching defs:octep_mbox
44 struct octep_mbox {
51 static inline struct octep_mbox __iomem *octep_get_mbox(struct octep_hw *oct_hw)
53 return (struct octep_mbox __iomem *)(oct_hw->dev_cfg + MBOX_OFFSET);
56 static inline int octep_wait_for_mbox_avail(struct octep_mbox __iomem *mbox)
64 static inline int octep_wait_for_mbox_rsp(struct octep_mbox __iomem *mbox)
72 static inline void octep_write_hdr(struct octep_mbox __iomem *mbox, u16 id, u16 sig)
78 static inline u32 octep_read_sig(struct octep_mbox __iomem *mbox)
83 static inline void octep_write_sts(struct octep_mbox __iomem *mbox, u32 sts)
88 static inline u32 octep_read_sts(struct octep_mbox __iomem *mbox)
93 static inline u32 octep_read32_word(struct octep_mbox __iomem *mbox, u16 word_idx)
98 static inline void octep_write32_word(struct octep_mbox __iomem *mbox, u16 word_idx, u32 word)
106 struct octep_mbox __iomem *mbox = octep_get_mbox(oct_hw);
161 static void octep_mbox_init(struct octep_mbox __iomem *mbox)
446 struct octep_mbox __iomem *mbox;