Home
last modified time | relevance | path

Searched refs:cdc_filter (Results 1 – 10 of 10) sorted by relevance

/drivers/usb/gadget/function/
Du_ether.c474 static inline int is_promisc(u16 cdc_filter) in is_promisc() argument
476 return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS; in is_promisc()
488 u16 cdc_filter; in eth_start_xmit() local
493 cdc_filter = dev->port_usb->cdc_filter; in eth_start_xmit()
496 cdc_filter = 0; in eth_start_xmit()
506 if (skb && !is_promisc(cdc_filter)) { in eth_start_xmit()
519 if (!(cdc_filter & type)) { in eth_start_xmit()
Du_ether.h69 u16 cdc_filter; member
Df_ecm.c495 ecm->port.cdc_filter = w_value; in ecm_setup()
587 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_set_alt()
939 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_alloc()
Drndis.h204 u16 *cdc_filter);
Df_rndis.c594 rndis->port.cdc_filter = 0; in rndis_set_alt()
602 &rndis->port.cdc_filter); in rndis_set_alt()
985 rndis->port.cdc_filter = 0; in rndis_alloc()
Df_eem.c217 eem->port.cdc_filter = DEFAULT_FILTER; in eem_set_alt()
634 eem->port.cdc_filter = DEFAULT_FILTER; in eem_alloc()
Drndis.c955 u16 *cdc_filter) in rndis_set_param_dev() argument
964 params->filter = cdc_filter; in rndis_set_param_dev()
Df_ncm.c534 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
714 ncm->port.cdc_filter = w_value; in ncm_setup()
929 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_set_alt()
Df_subset.c496 geth->port.cdc_filter = DEFAULT_FILTER; in geth_alloc()
/drivers/net/usb/
Dcdc_ether.c76 u16 cdc_filter = USB_CDC_PACKET_TYPE_DIRECTED in usbnet_cdc_update_filter() local
84 cdc_filter |= USB_CDC_PACKET_TYPE_PROMISCUOUS; in usbnet_cdc_update_filter()
86 cdc_filter |= USB_CDC_PACKET_TYPE_ALL_MULTICAST; in usbnet_cdc_update_filter()
92 cdc_filter, in usbnet_cdc_update_filter()