Lines Matching full:eth
397 * @eth: network device to act upon
587 static int mcs7830_init(struct eth_device *eth, bd_t *bd) in mcs7830_init() argument
589 struct ueth_data *dev = eth->priv; in mcs7830_init()
596 * @eth: network device to send the frame from
603 static int mcs7830_send(struct eth_device *eth, void *packet, int length) in mcs7830_send() argument
605 struct ueth_data *dev = eth->priv; in mcs7830_send()
612 * @eth: network device to receive frames from
618 static int mcs7830_recv(struct eth_device *eth) in mcs7830_recv() argument
621 struct ueth_data *ueth = eth->priv; in mcs7830_recv()
635 * @eth: network device to cease operation of
641 static void mcs7830_halt(struct eth_device *eth) in mcs7830_halt() argument
648 * @eth: network device to write to
655 static int mcs7830_write_mac(struct eth_device *eth) in mcs7830_write_mac() argument
657 struct ueth_data *ueth = eth->priv; in mcs7830_write_mac()
659 return mcs7830_write_mac_common(ueth->pusb_dev, eth->enetaddr); in mcs7830_write_mac()
809 * @eth: ethernet interface data structure to fill in
819 struct eth_device *eth) in mcs7830_eth_get_info() argument
822 if (!eth) { in mcs7830_eth_get_info()
827 snprintf(eth->name, sizeof(eth->name), "%s%d", in mcs7830_eth_get_info()
829 eth->init = mcs7830_init; in mcs7830_eth_get_info()
830 eth->send = mcs7830_send; in mcs7830_eth_get_info()
831 eth->recv = mcs7830_recv; in mcs7830_eth_get_info()
832 eth->halt = mcs7830_halt; in mcs7830_eth_get_info()
833 eth->write_hwaddr = mcs7830_write_mac; in mcs7830_eth_get_info()
834 eth->priv = ss; in mcs7830_eth_get_info()
839 if (mcs7830_read_mac(ss->pusb_dev, eth->enetaddr)) in mcs7830_eth_get_info()
841 debug("MAC %pM\n", eth->enetaddr); in mcs7830_eth_get_info()