Lines Matching defs:mal_instance
191 struct mal_instance {
222 static inline u32 get_mal_dcrn(struct mal_instance *mal, int reg)
227 static inline void set_mal_dcrn(struct mal_instance *mal, int reg, u32 val)
257 static inline int mal_has_feature(struct mal_instance *dev,
268 int mal_register_commac(struct mal_instance *mal,
270 void mal_unregister_commac(struct mal_instance *mal,
272 int mal_set_rcbs(struct mal_instance *mal, int channel, unsigned long size);
277 int mal_tx_bd_offset(struct mal_instance *mal, int channel);
278 int mal_rx_bd_offset(struct mal_instance *mal, int channel);
280 void mal_enable_tx_channel(struct mal_instance *mal, int channel);
281 void mal_disable_tx_channel(struct mal_instance *mal, int channel);
282 void mal_enable_rx_channel(struct mal_instance *mal, int channel);
283 void mal_disable_rx_channel(struct mal_instance *mal, int channel);
285 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac);
286 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac);
289 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac);
290 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac);
313 int mal_get_regs_len(struct mal_instance *mal);
314 void *mal_dump_regs(struct mal_instance *mal, void *buf);