Searched refs:mal_instance (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/ibm/emac/ |
D | mal.h | 191 struct mal_instance { struct 222 static inline u32 get_mal_dcrn(struct mal_instance *mal, int reg) in get_mal_dcrn() argument 227 static inline void set_mal_dcrn(struct mal_instance *mal, int reg, u32 val) in set_mal_dcrn() 257 static inline int mal_has_feature(struct mal_instance *dev, in mal_has_feature() 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); [all …]
|
D | mal.c | 36 int __devinit mal_register_commac(struct mal_instance *mal, in mal_register_commac() 66 void mal_unregister_commac(struct mal_instance *mal, in mal_unregister_commac() 85 int mal_set_rcbs(struct mal_instance *mal, int channel, unsigned long size) in mal_set_rcbs() 103 int mal_tx_bd_offset(struct mal_instance *mal, int channel) in mal_tx_bd_offset() 110 int mal_rx_bd_offset(struct mal_instance *mal, int channel) in mal_rx_bd_offset() 116 void mal_enable_tx_channel(struct mal_instance *mal, int channel) in mal_enable_tx_channel() 130 void mal_disable_tx_channel(struct mal_instance *mal, int channel) in mal_disable_tx_channel() 137 void mal_enable_rx_channel(struct mal_instance *mal, int channel) in mal_enable_rx_channel() 159 void mal_disable_rx_channel(struct mal_instance *mal, int channel) in mal_disable_rx_channel() 174 void mal_poll_add(struct mal_instance *mal, struct mal_commac *commac) in mal_poll_add() [all …]
|
D | debug.h | 30 struct mal_instance; 34 extern void mal_dbg_register(struct mal_instance *mal); 35 extern void mal_dbg_unregister(struct mal_instance *mal);
|
D | debug.c | 124 static void emac_mal_dump(struct mal_instance *mal) in emac_mal_dump() 164 static struct mal_instance *__mals[1]; 194 void mal_dbg_register(struct mal_instance *mal) in mal_dbg_register() 208 void mal_dbg_unregister(struct mal_instance *mal) in mal_dbg_unregister()
|
D | core.h | 181 struct mal_instance *mal;
|