Lines Matching refs:usbnet
108 struct usbnet *dev = netdev_priv(netdev); in cdc_ncm_get_ethtool_stats()
133 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx);
149 static u32 cdc_ncm_check_rx_max(struct usbnet *dev, u32 new_rx) in cdc_ncm_check_rx_max()
172 static u32 cdc_ncm_check_tx_max(struct usbnet *dev, u32 new_tx) in cdc_ncm_check_tx_max()
200 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_show()
209 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_show()
218 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_show()
227 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_show()
237 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_store()
253 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_store()
268 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_store()
283 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_store()
309 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show()
317 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store()
359 struct usbnet *dev = netdev_priv(to_net_dev(d)); \
401 static void cdc_ncm_update_rxtx_max(struct usbnet *dev, u32 new_rx, u32 new_tx) in cdc_ncm_update_rxtx_max()
473 static u8 cdc_ncm_flags(struct usbnet *dev) in cdc_ncm_flags()
484 static int cdc_ncm_eth_hlen(struct usbnet *dev) in cdc_ncm_eth_hlen()
491 static u32 cdc_ncm_min_dgram_size(struct usbnet *dev) in cdc_ncm_min_dgram_size()
498 static u32 cdc_ncm_max_dgram_size(struct usbnet *dev) in cdc_ncm_max_dgram_size()
512 static int cdc_ncm_init(struct usbnet *dev) in cdc_ncm_init()
605 static void cdc_ncm_set_dgram_size(struct usbnet *dev, int new_size) in cdc_ncm_set_dgram_size()
653 static void cdc_ncm_fix_modulus(struct usbnet *dev) in cdc_ncm_fix_modulus()
697 static int cdc_ncm_setup(struct usbnet *dev) in cdc_ncm_setup()
722 cdc_ncm_find_endpoints(struct usbnet *dev, struct usb_interface *intf) in cdc_ncm_find_endpoints()
795 struct usbnet *dev = netdev_priv(net); in cdc_ncm_change_mtu()
816 int cdc_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drv… in cdc_ncm_bind_common()
990 void cdc_ncm_unbind(struct usbnet *dev, struct usb_interface *intf) in cdc_ncm_unbind()
1059 static int cdc_ncm_bind(struct usbnet *dev, struct usb_interface *intf) in cdc_ncm_bind()
1196 cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign) in cdc_ncm_fill_tx_frame()
1493 struct usbnet *dev = ctx->dev; in cdc_ncm_txpath_bh()
1512 cdc_ncm_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags) in cdc_ncm_tx_fixup()
1548 struct usbnet *dev = netdev_priv(skb_in->dev); in cdc_ncm_rx_verify_nth16()
1596 struct usbnet *dev = netdev_priv(skb_in->dev); in cdc_ncm_rx_verify_nth32()
1645 struct usbnet *dev = netdev_priv(skb_in->dev); in cdc_ncm_rx_verify_ndp16()
1681 struct usbnet *dev = netdev_priv(skb_in->dev); in cdc_ncm_rx_verify_ndp32()
1714 int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in) in cdc_ncm_rx_fixup()
1839 cdc_ncm_speed_change(struct usbnet *dev, in cdc_ncm_speed_change()
1847 static void cdc_ncm_status(struct usbnet *dev, struct urb *urb) in cdc_ncm_status()