Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Df_rndis.c398 struct f_rndis *rndis = _rndis; in rndis_response_available() local
399 struct usb_request *req = rndis->notify_req; in rndis_response_available()
400 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_available()
404 if (atomic_inc_return(&rndis->notify_count) != 1) in rndis_response_available()
415 status = usb_ep_queue(rndis->notify, req, GFP_ATOMIC); in rndis_response_available()
417 atomic_dec(&rndis->notify_count); in rndis_response_available()
424 struct f_rndis *rndis = req->context; in rndis_response_complete() local
425 struct usb_composite_dev *cdev = rndis->port.func.config->cdev; in rndis_response_complete()
436 atomic_set(&rndis->notify_count, 0); in rndis_response_complete()
444 if (ep != rndis->notify) in rndis_response_complete()
[all …]
DMakefile29 usb_f_rndis-y := f_rndis.o rndis.o
/drivers/net/usb/
Dcdc_ether.c112 int rndis; in usbnet_generic_cdc_bind() local
151 rndis = (is_rndis(&intf->cur_altsetting->desc) || in usbnet_generic_cdc_bind()
164 if (rndis) in usbnet_generic_cdc_bind()
185 if (rndis) { in usbnet_generic_cdc_bind()
222 if (rndis && is_rndis(&intf->cur_altsetting->desc) && in usbnet_generic_cdc_bind()
261 if (rndis && (!info->u || android_rndis_quirk)) { in usbnet_generic_cdc_bind()
272 } else if (!info->header || (!rndis && !info->ether)) { in usbnet_generic_cdc_bind()
313 if (rndis && !dev->status) { in usbnet_generic_cdc_bind()
/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()
596 rndis ? "rndis" : "transparent", in cppi_next_tx_segment()
600 cppi_rndis_update(tx, 0, musb->ctrl_base, rndis); in cppi_next_tx_segment()