Lines Matching refs:desc
2175 tp->intr_interval = (int)ep_intr->desc.bInterval; in alloc_all_mem()
2249 static inline void rtl_tx_vlan_tag(struct tx_desc *desc, struct sk_buff *skb) in rtl_tx_vlan_tag() argument
2255 desc->opts2 |= cpu_to_le32(opts2); in rtl_tx_vlan_tag()
2259 static inline void rtl_rx_vlan_tag(struct rx_desc *desc, struct sk_buff *skb) in rtl_rx_vlan_tag() argument
2261 u32 opts2 = le32_to_cpu(desc->opts2); in rtl_rx_vlan_tag()
2268 static int r8152_tx_csum(struct r8152 *tp, struct tx_desc *desc, in r8152_tx_csum() argument
2349 desc->opts2 = cpu_to_le32(opts2); in r8152_tx_csum()
2350 desc->opts1 = cpu_to_le32(opts1); in r8152_tx_csum()
3937 return (udev->actconfig->desc.bmAttributes & USB_CONFIG_ATT_WAKEUP); in rtl_can_wakeup()
9956 if (intf->cur_altsetting->desc.bInterfaceClass != USB_CLASS_VENDOR_SPEC) in rtl8152_probe()
10064 struct usb_interface_descriptor *desc = NULL; in rtl8152_cfgselector_probe() local
10066 if (!c->desc.bNumInterfaces) in rtl8152_cfgselector_probe()
10068 desc = &c->intf_cache[0]->altsetting->desc; in rtl8152_cfgselector_probe()
10069 if (desc->bInterfaceClass == USB_CLASS_VENDOR_SPEC) in rtl8152_cfgselector_probe()
10076 if (usb_set_configuration(udev, c->desc.bConfigurationValue)) { in rtl8152_cfgselector_probe()
10078 c->desc.bConfigurationValue); in rtl8152_cfgselector_probe()