Lines Matching refs:octep_mbox
43 struct octep_mbox { struct
50 static inline struct octep_mbox __iomem *octep_get_mbox(struct octep_hw *oct_hw) in octep_get_mbox() argument
52 return (struct octep_mbox __iomem *)(oct_hw->dev_cfg + MBOX_OFFSET); in octep_get_mbox()
55 static inline int octep_wait_for_mbox_avail(struct octep_mbox __iomem *mbox) in octep_wait_for_mbox_avail()
63 static inline int octep_wait_for_mbox_rsp(struct octep_mbox __iomem *mbox) in octep_wait_for_mbox_rsp()
71 static inline void octep_write_hdr(struct octep_mbox __iomem *mbox, u16 id, u16 sig) in octep_write_hdr()
77 static inline u32 octep_read_sig(struct octep_mbox __iomem *mbox) in octep_read_sig()
82 static inline void octep_write_sts(struct octep_mbox __iomem *mbox, u32 sts) in octep_write_sts()
87 static inline u32 octep_read_sts(struct octep_mbox __iomem *mbox) in octep_read_sts()
92 static inline u32 octep_read32_word(struct octep_mbox __iomem *mbox, u16 word_idx) in octep_read32_word()
97 static inline void octep_write32_word(struct octep_mbox __iomem *mbox, u16 word_idx, u32 word) in octep_write32_word()
105 struct octep_mbox __iomem *mbox = octep_get_mbox(oct_hw); in octep_process_mbox()
160 static void octep_mbox_init(struct octep_mbox __iomem *mbox) in octep_mbox_init()
421 struct octep_mbox __iomem *mbox; in octep_hw_caps_read()