Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/gadget/function/
Du_ether.c470 static inline int is_promisc(u16 cdc_filter) in is_promisc() argument
472 return cdc_filter & USB_CDC_PACKET_TYPE_PROMISCUOUS; in is_promisc()
484 u16 cdc_filter; in eth_start_xmit() local
489 cdc_filter = dev->port_usb->cdc_filter; in eth_start_xmit()
492 cdc_filter = 0; in eth_start_xmit()
503 if (skb && !is_promisc(cdc_filter)) { in eth_start_xmit()
516 if (!(cdc_filter & type)) { in eth_start_xmit()
Du_ether.h64 u16 cdc_filter; member
Drndis.h185 u16 *cdc_filter);
Df_ecm.c494 ecm->port.cdc_filter = w_value; in ecm_setup()
586 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_set_alt()
948 ecm->port.cdc_filter = DEFAULT_FILTER; in ecm_alloc()
Df_rndis.c592 rndis->port.cdc_filter = 0; in rndis_set_alt()
600 &rndis->port.cdc_filter); in rndis_set_alt()
1004 rndis->port.cdc_filter = 0; in rndis_alloc()
Df_eem.c217 eem->port.cdc_filter = DEFAULT_FILTER; in eem_set_alt()
661 eem->port.cdc_filter = DEFAULT_FILTER; in eem_alloc()
Df_subset.c492 geth->port.cdc_filter = DEFAULT_FILTER; in geth_alloc()
Drndis.c958 u16 *cdc_filter) in rndis_set_param_dev() argument
967 params->filter = cdc_filter; in rndis_set_param_dev()
Df_ncm.c530 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_reset_values()
713 ncm->port.cdc_filter = w_value; in ncm_setup()
922 ncm->port.cdc_filter = DEFAULT_FILTER; in ncm_set_alt()
/linux-5.19.10/drivers/net/usb/
Dcdc_ether.c70 u16 cdc_filter = USB_CDC_PACKET_TYPE_DIRECTED in usbnet_cdc_update_filter() local
78 cdc_filter |= USB_CDC_PACKET_TYPE_PROMISCUOUS; in usbnet_cdc_update_filter()
80 cdc_filter |= USB_CDC_PACKET_TYPE_ALL_MULTICAST; in usbnet_cdc_update_filter()
86 cdc_filter, in usbnet_cdc_update_filter()