Home
last modified time | relevance | path

Searched refs:ether_desc (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/usb/gadget/function/
Df_subset.c122 static struct usb_cdc_ether_desc ether_desc = { variable
123 .bLength = sizeof ether_desc,
158 (struct usb_descriptor_header *) &ether_desc,
187 (struct usb_descriptor_header *) &ether_desc,
225 (struct usb_descriptor_header *) &ether_desc,
327 ether_desc.iMACAddress = us[1].id; in geth_bind()
/Linux-v5.10/include/linux/usb/
Dcdc_ncm.h104 const struct usb_cdc_ether_desc *ether_desc; member
/Linux-v5.10/drivers/net/usb/
Dcdc_ncm.c490 if (ctx->ether_desc) in cdc_ncm_max_dgram_size()
491 return le16_to_cpu(ctx->ether_desc->wMaxSegmentSize); in cdc_ncm_max_dgram_size()
839 ctx->ether_desc = hdr.usb_cdc_ether_desc; in cdc_ncm_bind_common()
861 if (!ctx->ether_desc || !ctx->func_desc) { in cdc_ncm_bind_common()
924 if (ctx->ether_desc) { in cdc_ncm_bind_common()
925 temp = usbnet_get_ethernet_addr(dev, ctx->ether_desc->iMACAddress); in cdc_ncm_bind_common()