Home
last modified time | relevance | path

Searched refs:rndis (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/usb/gadget/function/
Df_rndis.c385 struct f_rndis *rndis = _rndis; in rndis_response_available() local
386 struct usb_request *req = rndis->notify_req; in rndis_response_available()
387 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available()
391 if (atomic_inc_return(&rndis->notify_count) != 1) in rndis_response_available()
402 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available()
404 atomic_dec(&rndis->notify_count); in rndis_response_available()
411 struct f_rndis *rndis = req->context; in rndis_response_complete() local
412 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete()
423 atomic_set(&rndis->notify_count, 0); in rndis_response_complete()
431 if (ep != rndis->notify) in rndis_response_complete()
[all …]
DMakefile30 usb_f_rndis-y := f_rndis.o rndis.o
/Linux-v5.10/drivers/net/usb/
Dcdc_ether.c107 int rndis; in usbnet_generic_cdc_bind() local
146 rndis = (is_rndis(&intf->cur_altsetting->desc) || in usbnet_generic_cdc_bind()
160 if (rndis) in usbnet_generic_cdc_bind()
179 if (rndis) { in usbnet_generic_cdc_bind()
215 if (rndis && is_rndis(&intf->cur_altsetting->desc) && in usbnet_generic_cdc_bind()
254 if (rndis && (!info->u || android_rndis_quirk)) { in usbnet_generic_cdc_bind()
265 } else if (!info->header || (!rndis && !info->ether)) { in usbnet_generic_cdc_bind()
306 if (rndis && !dev->status) { in usbnet_generic_cdc_bind()
/Linux-v5.10/Documentation/ABI/testing/
Dconfigfs-usb-gadget-rndis1 What: /config/usb-gadget/gadget/functions/rndis.name
/Linux-v5.10/drivers/usb/musb/
Dcppi_dma.c570 int rndis; in cppi_next_tx_segment() local
577 rndis = (maxpacket & 0x3f) == 0 in cppi_next_tx_segment()
582 if (rndis) { in cppi_next_tx_segment()
597 rndis ? "rndis" : "transparent", in cppi_next_tx_segment()
601 cppi_rndis_update(tx, 0, musb->ctrl_base, rndis); in cppi_next_tx_segment()
/Linux-v5.10/Documentation/usb/
Dgadget-testing.rst579 The function name to use when creating the function directory is "rndis".
592 and after creating the functions/rndis.<instance name> they contain default