Lines Matching refs:mal_instance
36 int __devinit mal_register_commac(struct mal_instance *mal,
66 void mal_unregister_commac(struct mal_instance *mal,
85 int mal_set_rcbs(struct mal_instance *mal, int channel, unsigned long size)
103 int mal_tx_bd_offset(struct mal_instance *mal, int channel)
110 int mal_rx_bd_offset(struct mal_instance *mal, int channel)
116 void mal_enable_tx_channel(struct mal_instance *mal, int channel)
130 void mal_disable_tx_channel(struct mal_instance *mal, int channel)
137 void mal_enable_rx_channel(struct mal_instance *mal, int channel)
159 void mal_disable_rx_channel(struct mal_instance *mal, int channel)
174 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac)
190 void mal_poll_del(struct mal_instance *mal, struct mal_commac *commac)
204 static inline void mal_enable_eob_irq(struct mal_instance *mal)
212 static inline void mal_disable_eob_irq(struct mal_instance *mal)
221 struct mal_instance *mal = dev_instance;
261 static inline void mal_schedule_poll(struct mal_instance *mal)
273 struct mal_instance *mal = dev_instance;
293 struct mal_instance *mal = dev_instance;
313 struct mal_instance *mal = dev_instance;
330 struct mal_instance *mal = dev_instance;
353 struct mal_instance *mal = dev_instance;
370 void mal_poll_disable(struct mal_instance *mal, struct mal_commac *commac)
380 void mal_poll_enable(struct mal_instance *mal, struct mal_commac *commac)
395 struct mal_instance *mal = container_of(napi, struct mal_instance, napi);
462 static void mal_reset(struct mal_instance *mal)
478 int mal_get_regs_len(struct mal_instance *mal)
484 void *mal_dump_regs(struct mal_instance *mal, void *buf)
521 struct mal_instance *mal;
530 mal = kzalloc(sizeof(struct mal_instance), GFP_KERNEL);
733 struct mal_instance *mal = dev_get_drvdata(&ofdev->dev);