Lines Matching refs:eth_device
145 static void smc_phy_configure(struct eth_device *dev);
169 static inline word SMC_inw(struct eth_device *dev, dword offset) in SMC_inw()
177 static inline void SMC_outw(struct eth_device *dev, word value, dword offset) in SMC_outw()
183 static inline byte SMC_inb(struct eth_device *dev, dword offset) in SMC_inb()
191 static inline void SMC_outb(struct eth_device *dev, byte value, dword offset) in SMC_outb()
204 static inline void SMC_insw(struct eth_device *dev, dword offset, in SMC_insw()
216 static inline void SMC_outsw(struct eth_device *dev, dword offset, in SMC_outsw()
238 static int poll4int (struct eth_device *dev, byte mask, int timeout) in poll4int()
263 static inline void smc_wait_mmu_release_complete (struct eth_device *dev) in smc_wait_mmu_release_complete()
292 static void smc_reset (struct eth_device *dev) in smc_reset()
354 static void smc_enable(struct eth_device *dev) in smc_enable()
380 static void smc_halt(struct eth_device *dev) in smc_halt()
415 static int smc_send(struct eth_device *dev, void *packet, int packet_length) in smc_send()
601 static int smc_write_hwaddr(struct eth_device *dev) in smc_write_hwaddr()
629 static int smc_init(struct eth_device *dev, bd_t *bd) in smc_init()
665 static int smc_rcv(struct eth_device *dev) in smc_rcv()
782 static word smc_modify_regbit(struct eth_device *dev, int bank, int ioaddr, int reg,
803 static int smc_get_regbit(struct eth_device *dev, int bank, int ioaddr, int reg, unsigned int bit)
816 static void smc_modify_reg(struct eth_device *dev, int bank, int ioaddr, int reg, word val)
826 static int smc_get_reg(struct eth_device *dev, int bank, int ioaddr, int reg)
882 static word smc_read_phy_register (struct eth_device *dev, byte phyreg) in smc_read_phy_register()
999 static void smc_write_phy_register (struct eth_device *dev, byte phyreg, in smc_write_phy_register()
1112 static void smc_phy_configure (struct eth_device *dev) in smc_phy_configure()
1274 struct eth_device *dev; in smc91111_initialize()