Lines Matching refs:ueth
1221 static int r8152_send_common(struct ueth_data *ueth, void *packet, int length) in r8152_send_common() argument
1223 struct usb_device *udev = ueth->pusb_dev; in r8152_send_common()
1240 err = usb_bulk_msg(udev, usb_sndbulkpipe(udev, ueth->ep_out), in r8152_send_common()
1501 return r8152_send_common(&tp->ueth, packet, length); in r8152_eth_send()
1507 struct ueth_data *ueth = &tp->ueth; in r8152_eth_recv() local
1513 len = usb_ether_get_rx_bytes(ueth, &ptr); in r8152_eth_recv()
1518 ret = usb_ether_receive(ueth, RTL8152_AGG_BUF_SZ); in r8152_eth_recv()
1522 len = usb_ether_get_rx_bytes(ueth, &ptr); in r8152_eth_recv()
1539 usb_ether_advance_rxbuf(ueth, -1); in r8152_eth_recv()
1549 usb_ether_advance_rxbuf(&tp->ueth, packet_len); in r8152_free_pkt()
1587 struct ueth_data *ueth = &tp->ueth; in r8152_eth_probe() local
1606 return usb_ether_register(dev, ueth, RTL8152_AGG_BUF_SZ); in r8152_eth_probe()