Home
last modified time | relevance | path

Searched refs:match_flags (Results 1 – 25 of 87) sorted by relevance

1234

/drivers/net/ethernet/sfc/falcon/
Dethtool.c812 if ((spec.match_flags & EF4_FILTER_MATCH_ETHER_TYPE) && in ef4_ethtool_get_class_rule()
814 (spec.match_flags & EF4_FILTER_MATCH_IP_PROTO) && in ef4_ethtool_get_class_rule()
816 !(spec.match_flags & in ef4_ethtool_get_class_rule()
823 if (spec.match_flags & EF4_FILTER_MATCH_LOC_HOST) { in ef4_ethtool_get_class_rule()
827 if (spec.match_flags & EF4_FILTER_MATCH_REM_HOST) { in ef4_ethtool_get_class_rule()
831 if (spec.match_flags & EF4_FILTER_MATCH_LOC_PORT) { in ef4_ethtool_get_class_rule()
835 if (spec.match_flags & EF4_FILTER_MATCH_REM_PORT) { in ef4_ethtool_get_class_rule()
839 } else if ((spec.match_flags & EF4_FILTER_MATCH_ETHER_TYPE) && in ef4_ethtool_get_class_rule()
841 (spec.match_flags & EF4_FILTER_MATCH_IP_PROTO) && in ef4_ethtool_get_class_rule()
843 !(spec.match_flags & in ef4_ethtool_get_class_rule()
[all …]
Dfilter.h129 u32 match_flags:12; member
184 spec->match_flags |= in ef4_filter_set_ipv4_local()
208 spec->match_flags |= in ef4_filter_set_ipv4_full()
238 spec->match_flags |= EF4_FILTER_MATCH_OUTER_VID; in ef4_filter_set_eth_local()
242 spec->match_flags |= EF4_FILTER_MATCH_LOC_MAC; in ef4_filter_set_eth_local()
254 spec->match_flags |= EF4_FILTER_MATCH_LOC_MAC_IG; in ef4_filter_set_uc_def()
264 spec->match_flags |= EF4_FILTER_MATCH_LOC_MAC_IG; in ef4_filter_set_mc_def()
/drivers/net/ethernet/sfc/
Dethtool_common.c670 if ((spec.match_flags & EFX_FILTER_MATCH_ETHER_TYPE) && in efx_ethtool_get_class_rule()
672 (spec.match_flags & EFX_FILTER_MATCH_IP_PROTO) && in efx_ethtool_get_class_rule()
674 !(spec.match_flags & in efx_ethtool_get_class_rule()
681 if (spec.match_flags & EFX_FILTER_MATCH_LOC_HOST) { in efx_ethtool_get_class_rule()
685 if (spec.match_flags & EFX_FILTER_MATCH_REM_HOST) { in efx_ethtool_get_class_rule()
689 if (spec.match_flags & EFX_FILTER_MATCH_LOC_PORT) { in efx_ethtool_get_class_rule()
693 if (spec.match_flags & EFX_FILTER_MATCH_REM_PORT) { in efx_ethtool_get_class_rule()
697 } else if ((spec.match_flags & EFX_FILTER_MATCH_ETHER_TYPE) && in efx_ethtool_get_class_rule()
699 (spec.match_flags & EFX_FILTER_MATCH_IP_PROTO) && in efx_ethtool_get_class_rule()
701 !(spec.match_flags & in efx_ethtool_get_class_rule()
[all …]
Dfilter.h155 u32 match_flags:12; member
211 spec->match_flags |= in efx_filter_set_ipv4_local()
235 spec->match_flags |= in efx_filter_set_ipv4_full()
265 spec->match_flags |= EFX_FILTER_MATCH_OUTER_VID; in efx_filter_set_eth_local()
269 spec->match_flags |= EFX_FILTER_MATCH_LOC_MAC; in efx_filter_set_eth_local()
281 spec->match_flags |= EFX_FILTER_MATCH_LOC_MAC_IG; in efx_filter_set_uc_def()
291 spec->match_flags |= EFX_FILTER_MATCH_LOC_MAC_IG; in efx_filter_set_mc_def()
299 spec->match_flags |= EFX_FILTER_MATCH_ENCAP_TYPE; in efx_filter_set_encap_type()
306 if (spec->match_flags & EFX_FILTER_MATCH_ENCAP_TYPE) in efx_filter_get_encap_type()
Dmcdi_filters.c65 if (spec->match_flags & EFX_FILTER_MATCH_LOC_MAC && in efx_mcdi_filter_is_exclusive()
69 if ((spec->match_flags & in efx_mcdi_filter_is_exclusive()
122 if (spec->match_flags & EFX_FILTER_MATCH_ ## gen_flag) { \ in efx_mcdi_filter_push_prep_set_match_fields()
173 if (spec->match_flags & EFX_FILTER_MATCH_LOC_MAC_IG) in efx_mcdi_filter_push_prep_set_match_fields()
268 unsigned int match_flags = spec->match_flags; in efx_mcdi_filter_mcdi_flags_from_spec() local
273 unsigned int old_match_flags = match_flags; \ in efx_mcdi_filter_mcdi_flags_from_spec()
274 match_flags &= ~EFX_FILTER_MATCH_ ## gen_flag; \ in efx_mcdi_filter_mcdi_flags_from_spec()
275 if (match_flags != old_match_flags) \ in efx_mcdi_filter_mcdi_flags_from_spec()
299 match_flags &= ~EFX_FILTER_MATCH_ENCAP_TYPE; in efx_mcdi_filter_mcdi_flags_from_spec()
311 if (match_flags & EFX_FILTER_MATCH_LOC_MAC_IG) { in efx_mcdi_filter_mcdi_flags_from_spec()
[all …]
/drivers/usb/core/
Dotg_productlist.h58 for (id = productlist_table; id->match_flags; id++) { in is_targeted()
59 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in is_targeted()
63 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in is_targeted()
69 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_LO) && in is_targeted()
73 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_HI) && in is_targeted()
77 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_CLASS) && in is_targeted()
81 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_SUBCLASS) && in is_targeted()
85 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_PROTOCOL) && in is_targeted()
Ddriver.c68 dynid->id.match_flags = USB_DEVICE_ID_MATCH_DEVICE; in usb_store_new_id()
76 dynid->id.match_flags |= USB_DEVICE_ID_MATCH_INT_CLASS; in usb_store_new_id()
87 for (; id->match_flags; id++) in usb_store_new_id()
91 if (id->match_flags) { in usb_store_new_id()
641 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in usb_match_device()
645 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in usb_match_device()
651 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_LO) && in usb_match_device()
655 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_HI) && in usb_match_device()
659 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_CLASS) && in usb_match_device()
663 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_SUBCLASS) && in usb_match_device()
[all …]
/drivers/net/usb/
Dzaurus.c266 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
282 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
289 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
296 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
303 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
310 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
317 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
324 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
336 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
343 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
[all …]
Dcdc_ether.c596 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
610 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
617 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
624 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
631 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
638 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
645 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
652 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
659 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
666 .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
[all …]
/drivers/media/usb/uvc/
Duvc_driver.c2370 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2379 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2388 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2397 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2406 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2415 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2424 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2433 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2441 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
2449 { .match_flags = USB_DEVICE_ID_MATCH_DEVICE
[all …]
/drivers/hwtracing/coresight/
Dcoresight-syscfg.c215 if (csdev_item->match_flags & feat_desc->match_flags) { in cscfg_add_feat_to_csdevs()
429 u32 match_flags, in cscfg_add_feats_csdev() argument
439 if (feat_desc->match_flags & match_flags) { in cscfg_add_feats_csdev()
450 u32 match_flags, in cscfg_list_add_csdev() argument
461 csdev_item->match_flags = match_flags; in cscfg_list_add_csdev()
498 u32 match_flags, in cscfg_register_csdev() argument
506 ret = cscfg_list_add_csdev(csdev, match_flags, ops); in cscfg_register_csdev()
511 ret = cscfg_add_feats_csdev(csdev, match_flags, ops); in cscfg_register_csdev()
Dcoresight-syscfg.h54 u32 match_flags; member
71 int cscfg_register_csdev(struct coresight_device *csdev, u32 match_flags,
Dcoresight-syscfg-configfs.c177 u32 match_flags = fs_feat->feat_desc->match_flags; in cscfg_feat_matches_show() local
180 if (match_flags & CS_CFG_MATCH_CLASS_SRC_ALL) in cscfg_feat_matches_show()
183 if (match_flags & CS_CFG_MATCH_CLASS_SRC_ETM4) in cscfg_feat_matches_show()
/drivers/i3c/
Ddevice.c226 for (id = id_table; id->match_flags != 0; id++) { in i3c_device_match_id()
227 if ((id->match_flags & I3C_MATCH_DCR) && in i3c_device_match_id()
231 if ((id->match_flags & I3C_MATCH_MANUF) && in i3c_device_match_id()
235 if ((id->match_flags & I3C_MATCH_PART) && in i3c_device_match_id()
239 if ((id->match_flags & I3C_MATCH_EXTRA_INFO) && in i3c_device_match_id()
/drivers/s390/crypto/
Dvfio_ap_drv.c32 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
34 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
36 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
38 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
Dzcrypt_cex2a.c50 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
52 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
60 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
62 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
Dzcrypt_cex4.c45 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
47 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
49 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
51 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
59 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
61 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
63 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
65 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
Dzcrypt_cex2c.c44 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
46 .match_flags = AP_DEVICE_ID_MATCH_CARD_TYPE },
54 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
56 .match_flags = AP_DEVICE_ID_MATCH_QUEUE_TYPE },
/drivers/pcmcia/
Dds.c53 while (did && did->match_flags) { in pcmcia_check_driver()
99 __u16 match_flags, manf_id, card_id; in new_id_store() local
106 &match_flags, &manf_id, &card_id, &func_id, &function, &device_no, in new_id_store()
115 dynid->id.match_flags = match_flags; in new_id_store()
803 if (did->match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID) { in pcmcia_devmatch()
808 if (did->match_flags & PCMCIA_DEV_ID_MATCH_CARD_ID) { in pcmcia_devmatch()
813 if (did->match_flags & PCMCIA_DEV_ID_MATCH_FUNCTION) { in pcmcia_devmatch()
818 if (did->match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID1) { in pcmcia_devmatch()
825 if (did->match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID2) { in pcmcia_devmatch()
832 if (did->match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID3) { in pcmcia_devmatch()
[all …]
/drivers/media/firewire/
Dfiredtv-fw.c349 .match_flags = MATCH_FLAGS,
356 .match_flags = MATCH_FLAGS,
363 .match_flags = MATCH_FLAGS,
370 .match_flags = MATCH_FLAGS,
377 .match_flags = MATCH_FLAGS,
384 .match_flags = MATCH_FLAGS,
/drivers/platform/surface/aggregator/
Dbus.c187 if ((id->match_flags & SSAM_MATCH_TARGET) && id->target != uid.target) in ssam_device_id_compatible()
190 if ((id->match_flags & SSAM_MATCH_INSTANCE) && id->instance != uid.instance) in ssam_device_id_compatible()
193 if ((id->match_flags & SSAM_MATCH_FUNCTION) && id->function != uid.function) in ssam_device_id_compatible()
211 return id->match_flags == 0 && in ssam_device_id_is_null()
/drivers/media/usb/go7007/
Dgo7007-usb.c508 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION |
520 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
528 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
536 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION |
548 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
556 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION |
568 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
576 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
584 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
592 .match_flags = USB_DEVICE_ID_MATCH_DEVICE_AND_VERSION,
[all …]
/drivers/net/ethernet/intel/igc/
Digc_ethtool.c971 if (rule->filter.match_flags & IGC_FILTER_FLAG_ETHER_TYPE) { in igc_ethtool_get_nfc_rule()
976 if (rule->filter.match_flags & IGC_FILTER_FLAG_VLAN_ETYPE) { in igc_ethtool_get_nfc_rule()
982 if (rule->filter.match_flags & IGC_FILTER_FLAG_VLAN_TCI) { in igc_ethtool_get_nfc_rule()
988 if (rule->filter.match_flags & IGC_FILTER_FLAG_DST_MAC_ADDR) { in igc_ethtool_get_nfc_rule()
994 if (rule->filter.match_flags & IGC_FILTER_FLAG_SRC_MAC_ADDR) { in igc_ethtool_get_nfc_rule()
1000 if (rule->filter.match_flags & IGC_FILTER_FLAG_USER_DATA) { in igc_ethtool_get_nfc_rule()
1221 rule->filter.match_flags |= IGC_FILTER_FLAG_VLAN_TCI; in igc_ethtool_init_nfc_rule()
1226 rule->filter.match_flags = IGC_FILTER_FLAG_ETHER_TYPE; in igc_ethtool_init_nfc_rule()
1233 rule->filter.match_flags |= IGC_FILTER_FLAG_SRC_MAC_ADDR; in igc_ethtool_init_nfc_rule()
1239 rule->filter.match_flags |= IGC_FILTER_FLAG_DST_MAC_ADDR; in igc_ethtool_init_nfc_rule()
[all …]
/drivers/bluetooth/
Dbtrtl.c34 .match_flags = IC_MATCH_FL_LMPSUBV | IC_MATCH_FL_HCIREV | \
55 __u16 match_flags; member
183 if ((ic_id_table[i].match_flags & IC_MATCH_FL_LMPSUBV) && in btrtl_match_ic()
186 if ((ic_id_table[i].match_flags & IC_MATCH_FL_HCIREV) && in btrtl_match_ic()
189 if ((ic_id_table[i].match_flags & IC_MATCH_FL_HCIVER) && in btrtl_match_ic()
192 if ((ic_id_table[i].match_flags & IC_MATCH_FL_HCIBUS) && in btrtl_match_ic()
/drivers/greybus/
Dcore.c33 if ((id->match_flags & GREYBUS_ID_MATCH_VENDOR) && in greybus_match_one_id()
37 if ((id->match_flags & GREYBUS_ID_MATCH_PRODUCT) && in greybus_match_one_id()
41 if ((id->match_flags & GREYBUS_ID_MATCH_CLASS) && in greybus_match_one_id()

1234