Home
last modified time | relevance | path

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

/drivers/usb/gadget/function/
Du_ether.c578 static inline int is_promisc(u16 cdc_filter) in is_promisc() argument
580 return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS; in is_promisc()
612 u16 cdc_filter; in eth_start_xmit() local
617 cdc_filter = dev->port_usb->cdc_filter; in eth_start_xmit()
620 cdc_filter = 0; in eth_start_xmit()
635 if (skb && !is_promisc(cdc_filter)) { in eth_start_xmit()
648 if (!(cdc_filter & type)) { in eth_start_xmit()
Du_ether.h68 u16 cdc_filter; member
Df_ecm.c498 ecm->port.cdc_filter = w_value; in ecm_setup()
590 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_set_alt()
951 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_alloc()
Df_rndis.c620 rndis->port.cdc_filter = 0; in rndis_set_alt()
628 &rndis->port.cdc_filter); in rndis_set_alt()
1006 rndis->port.cdc_filter = 0; in rndis_alloc()
Drndis.h205 u16 *cdc_filter);
Df_eem.c222 eem->port.cdc_filter = DEFAULT_FILTER; in eem_set_alt()
665 eem->port.cdc_filter = DEFAULT_FILTER; in eem_alloc()
Df_ncm.c463 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
646 ncm->port.cdc_filter = w_value; in ncm_setup()
859 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_set_alt()
Df_subset.c496 geth->port.cdc_filter = DEFAULT_FILTER; in geth_alloc()
Drndis.c965 u16 *cdc_filter) in rndis_set_param_dev() argument
974 params->filter = cdc_filter; in rndis_set_param_dev()
/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()