Lines Matching refs:ss
634 struct ueth_data *ss) in ax88179_eth_probe() argument
656 memset(ss, 0, sizeof(struct ueth_data)); in ax88179_eth_probe()
663 ss->ifnum = ifnum; in ax88179_eth_probe()
664 ss->pusb_dev = dev; in ax88179_eth_probe()
665 ss->subclass = iface_desc->bInterfaceSubClass; in ax88179_eth_probe()
666 ss->protocol = iface_desc->bInterfaceProtocol; in ax88179_eth_probe()
669 ss->dev_priv = calloc(1, sizeof(struct asix_private)); in ax88179_eth_probe()
670 if (!ss->dev_priv) in ax88179_eth_probe()
672 dev_priv = ss->dev_priv; in ax88179_eth_probe()
683 ss->ep_int = iface->ep_desc[i].bEndpointAddress & in ax88179_eth_probe()
685 ss->irqinterval = iface->ep_desc[i].bInterval; in ax88179_eth_probe()
696 ss->ep_in = ep_addr & in ax88179_eth_probe()
701 ss->ep_out = ep_addr & in ax88179_eth_probe()
709 ss->ep_in, ss->ep_out, ss->ep_int); in ax88179_eth_probe()
713 !ss->ep_in || !ss->ep_out || !ss->ep_int) { in ax88179_eth_probe()
717 dev->privptr = (void *)ss; in ax88179_eth_probe()
721 int ax88179_eth_get_info(struct usb_device *dev, struct ueth_data *ss, in ax88179_eth_get_info() argument
724 struct asix_private *dev_priv = (struct asix_private *)ss->dev_priv; in ax88179_eth_get_info()
736 eth->priv = ss; in ax88179_eth_get_info()
738 if (asix_basic_reset(ss, dev_priv)) in ax88179_eth_get_info()
742 if (asix_read_mac(ss, eth->enetaddr)) in ax88179_eth_get_info()