Lines Matching refs:ueth
89 struct ueth_data ueth; member
509 static int mcs7830_send_common(struct ueth_data *ueth, void *packet, in mcs7830_send_common() argument
512 struct usb_device *udev = ueth->pusb_dev; in mcs7830_send_common()
520 usb_sndbulkpipe(udev, ueth->ep_out), in mcs7830_send_common()
528 static int mcs7830_recv_common(struct ueth_data *ueth, uint8_t *buf) in mcs7830_recv_common() argument
537 rc = usb_bulk_msg(ueth->pusb_dev, in mcs7830_recv_common()
538 usb_rcvbulkpipe(ueth->pusb_dev, ueth->ep_in), in mcs7830_recv_common()
621 struct ueth_data *ueth = eth->priv; in mcs7830_recv() local
624 len = mcs7830_recv_common(ueth, buf); in mcs7830_recv()
657 struct ueth_data *ueth = eth->priv; in mcs7830_write_mac() local
659 return mcs7830_write_mac_common(ueth->pusb_dev, eth->enetaddr); in mcs7830_write_mac()
864 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_send() local
866 return mcs7830_send_common(ueth, packet, length); in mcs7830_eth_send()
872 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_recv() local
875 len = mcs7830_recv_common(ueth, priv->rx_buf); in mcs7830_eth_recv()
886 usb_ether_advance_rxbuf(&priv->ueth, sizeof(u32) + packet_len); in mcs7830_free_pkt()
904 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_probe() local
912 return usb_ether_register(dev, ueth, MCS7830_RX_URB_SIZE); in mcs7830_eth_probe()