Lines Matching refs:mal_instance
182 struct mal_instance { struct
213 static inline u32 get_mal_dcrn(struct mal_instance *mal, int reg) in get_mal_dcrn() argument
218 static inline void set_mal_dcrn(struct mal_instance *mal, int reg, u32 val) in set_mal_dcrn()
248 static inline int mal_has_feature(struct mal_instance *dev, in mal_has_feature()
259 int mal_register_commac(struct mal_instance *mal,
261 void mal_unregister_commac(struct mal_instance *mal,
263 int mal_set_rcbs(struct mal_instance *mal, int channel, unsigned long size);
268 int mal_tx_bd_offset(struct mal_instance *mal, int channel);
269 int mal_rx_bd_offset(struct mal_instance *mal, int channel);
271 void mal_enable_tx_channel(struct mal_instance *mal, int channel);
272 void mal_disable_tx_channel(struct mal_instance *mal, int channel);
273 void mal_enable_rx_channel(struct mal_instance *mal, int channel);
274 void mal_disable_rx_channel(struct mal_instance *mal, int channel);
276 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac);
277 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac);
280 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac);
281 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac);
304 int mal_get_regs_len(struct mal_instance *mal);
305 void *mal_dump_regs(struct mal_instance *mal, void *buf);