Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/include/linux/usb/
Dcdc_ncm.h106 const struct usb_cdc_ether_desc *ether_desc; member
/linux-6.12.1/drivers/net/usb/
Dcdc_ncm.c508 if (ctx->ether_desc) in cdc_ncm_max_dgram_size()
509 return le16_to_cpu(ctx->ether_desc->wMaxSegmentSize); in cdc_ncm_max_dgram_size()
859 ctx->ether_desc = hdr.usb_cdc_ether_desc; in cdc_ncm_bind_common()
881 if (!ctx->ether_desc || !ctx->func_desc) { in cdc_ncm_bind_common()
944 if (ctx->ether_desc) { in cdc_ncm_bind_common()
945 temp = usbnet_get_ethernet_addr(dev, ctx->ether_desc->iMACAddress); in cdc_ncm_bind_common()