Lines Matching refs:ibm_ocp_mal
193 struct ibm_ocp_mal {
210 static inline u32 get_mal_dcrn(struct ibm_ocp_mal *mal, int reg)
215 static inline void set_mal_dcrn(struct ibm_ocp_mal *mal, int reg, u32 val)
224 int mal_register_commac(struct ibm_ocp_mal *mal,
226 void mal_unregister_commac(struct ibm_ocp_mal *mal, struct mal_commac *commac);
227 int mal_set_rcbs(struct ibm_ocp_mal *mal, int channel, unsigned long size);
232 int mal_tx_bd_offset(struct ibm_ocp_mal *mal, int channel);
233 int mal_rx_bd_offset(struct ibm_ocp_mal *mal, int channel);
235 void mal_enable_tx_channel(struct ibm_ocp_mal *mal, int channel);
236 void mal_disable_tx_channel(struct ibm_ocp_mal *mal, int channel);
237 void mal_enable_rx_channel(struct ibm_ocp_mal *mal, int channel);
238 void mal_disable_rx_channel(struct ibm_ocp_mal *mal, int channel);
241 void mal_poll_add(struct ibm_ocp_mal *mal, struct mal_commac *commac);
242 void mal_poll_del(struct ibm_ocp_mal *mal, struct mal_commac *commac);
265 int mal_get_regs_len(struct ibm_ocp_mal *mal);
266 void *mal_dump_regs(struct ibm_ocp_mal *mal, void *buf);