Lines Matching refs:ueth
88 struct ueth_data ueth; member
508 static int mcs7830_send_common(struct ueth_data *ueth, void *packet, in mcs7830_send_common() argument
511 struct usb_device *udev = ueth->pusb_dev; in mcs7830_send_common()
519 usb_sndbulkpipe(udev, ueth->ep_out), in mcs7830_send_common()
527 static int mcs7830_recv_common(struct ueth_data *ueth, uint8_t *buf) in mcs7830_recv_common() argument
536 rc = usb_bulk_msg(ueth->pusb_dev, in mcs7830_recv_common()
537 usb_rcvbulkpipe(ueth->pusb_dev, ueth->ep_in), in mcs7830_recv_common()
620 struct ueth_data *ueth = eth->priv; in mcs7830_recv() local
623 len = mcs7830_recv_common(ueth, buf); in mcs7830_recv()
656 struct ueth_data *ueth = eth->priv; in mcs7830_write_mac() local
658 return mcs7830_write_mac_common(ueth->pusb_dev, eth->enetaddr); in mcs7830_write_mac()
863 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_send() local
865 return mcs7830_send_common(ueth, packet, length); in mcs7830_eth_send()
871 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_recv() local
874 len = mcs7830_recv_common(ueth, priv->rx_buf); in mcs7830_eth_recv()
885 usb_ether_advance_rxbuf(&priv->ueth, sizeof(u32) + packet_len); in mcs7830_free_pkt()
903 struct ueth_data *ueth = &priv->ueth; in mcs7830_eth_probe() local
911 return usb_ether_register(dev, ueth, MCS7830_RX_URB_SIZE); in mcs7830_eth_probe()