Lines Matching refs:ADD

85 #define ADD(str, sep, cond, field)                              \  macro
187 ADD(alias, "v", match_flags&USB_DEVICE_ID_MATCH_VENDOR, in do_usb_entry()
189 ADD(alias, "p", match_flags&USB_DEVICE_ID_MATCH_PRODUCT, in do_usb_entry()
216 ADD(alias, "dc", match_flags&USB_DEVICE_ID_MATCH_DEV_CLASS, in do_usb_entry()
218 ADD(alias, "dsc", match_flags&USB_DEVICE_ID_MATCH_DEV_SUBCLASS, in do_usb_entry()
220 ADD(alias, "dp", match_flags&USB_DEVICE_ID_MATCH_DEV_PROTOCOL, in do_usb_entry()
222 ADD(alias, "ic", match_flags&USB_DEVICE_ID_MATCH_INT_CLASS, in do_usb_entry()
224 ADD(alias, "isc", match_flags&USB_DEVICE_ID_MATCH_INT_SUBCLASS, in do_usb_entry()
226 ADD(alias, "ip", match_flags&USB_DEVICE_ID_MATCH_INT_PROTOCOL, in do_usb_entry()
228 ADD(alias, "in", match_flags&USB_DEVICE_ID_MATCH_INT_NUMBER, in do_usb_entry()
408 ADD(alias, "b", bus != HID_BUS_ANY, bus); in do_hid_entry()
409 ADD(alias, "g", group != HID_GROUP_ANY, group); in do_hid_entry()
410 ADD(alias, "v", vendor != HID_ANY_ID, vendor); in do_hid_entry()
411 ADD(alias, "p", product != HID_ANY_ID, product); in do_hid_entry()
427 ADD(alias, "ven", match_flags & IEEE1394_MATCH_VENDOR_ID, in do_ieee1394_entry()
429 ADD(alias, "mo", match_flags & IEEE1394_MATCH_MODEL_ID, in do_ieee1394_entry()
431 ADD(alias, "sp", match_flags & IEEE1394_MATCH_SPECIFIER_ID, in do_ieee1394_entry()
433 ADD(alias, "ver", match_flags & IEEE1394_MATCH_VERSION, in do_ieee1394_entry()
469 ADD(alias, "v", vendor != PCI_ANY_ID, vendor); in do_pci_entry()
470 ADD(alias, "d", device != PCI_ANY_ID, device); in do_pci_entry()
471 ADD(alias, "sv", subvendor != PCI_ANY_ID, subvendor); in do_pci_entry()
472 ADD(alias, "sd", subdevice != PCI_ANY_ID, subdevice); in do_pci_entry()
489 ADD(alias, "bc", baseclass_mask == 0xFF, baseclass); in do_pci_entry()
490 ADD(alias, "sc", subclass_mask == 0xFF, subclass); in do_pci_entry()
491 ADD(alias, "i", interface_mask == 0xFF, interface); in do_pci_entry()
507 ADD(alias, "t", match_flags&CCW_DEVICE_ID_MATCH_CU_TYPE, in do_ccw_entry()
509 ADD(alias, "m", match_flags&CCW_DEVICE_ID_MATCH_CU_MODEL, in do_ccw_entry()
511 ADD(alias, "dt", match_flags&CCW_DEVICE_ID_MATCH_DEVICE_TYPE, in do_ccw_entry()
513 ADD(alias, "dm", match_flags&CCW_DEVICE_ID_MATCH_DEVICE_MODEL, in do_ccw_entry()
549 ADD(alias, "ty", type != SERIO_ANY, type); in do_serio_entry()
550 ADD(alias, "pr", proto != SERIO_ANY, proto); in do_serio_entry()
551 ADD(alias, "id", id != SERIO_ANY, id); in do_serio_entry()
552 ADD(alias, "ex", extra != SERIO_ANY, extra); in do_serio_entry()
699 ADD(alias, "m", match_flags & PCMCIA_DEV_ID_MATCH_MANF_ID, in do_pcmcia_entry()
701 ADD(alias, "c", match_flags & PCMCIA_DEV_ID_MATCH_CARD_ID, in do_pcmcia_entry()
703 ADD(alias, "f", match_flags & PCMCIA_DEV_ID_MATCH_FUNC_ID, in do_pcmcia_entry()
705 ADD(alias, "fn", match_flags & PCMCIA_DEV_ID_MATCH_FUNCTION, in do_pcmcia_entry()
707 ADD(alias, "pfn", match_flags & PCMCIA_DEV_ID_MATCH_DEVICE_NO, in do_pcmcia_entry()
709 ADD(alias, "pa", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID1, (*prod_id_hash)[0]); in do_pcmcia_entry()
710 ADD(alias, "pb", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID2, (*prod_id_hash)[1]); in do_pcmcia_entry()
711 ADD(alias, "pc", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID3, (*prod_id_hash)[2]); in do_pcmcia_entry()
712 ADD(alias, "pd", match_flags & PCMCIA_DEV_ID_MATCH_PROD_ID4, (*prod_id_hash)[3]); in do_pcmcia_entry()
770 ADD(alias, "b", flags & INPUT_DEVICE_ID_MATCH_BUS, bustype); in do_input_entry()
771 ADD(alias, "v", flags & INPUT_DEVICE_ID_MATCH_VENDOR, vendor); in do_input_entry()
772 ADD(alias, "p", flags & INPUT_DEVICE_ID_MATCH_PRODUCT, product); in do_input_entry()
773 ADD(alias, "e", flags & INPUT_DEVICE_ID_MATCH_VERSION, version); in do_input_entry()
828 ADD(alias, "t", hw_type != PA_HWTYPE_ANY_ID, hw_type); in do_parisc_entry()
829 ADD(alias, "hv", hversion != PA_HVERSION_ANY_ID, hversion); in do_parisc_entry()
830 ADD(alias, "rev", hversion_rev != PA_HVERSION_REV_ANY_ID, hversion_rev); in do_parisc_entry()
831 ADD(alias, "sv", sversion != PA_SVERSION_ANY_ID, sversion); in do_parisc_entry()
846 ADD(alias, "c", class != (__u8)SDIO_ANY_ID, class); in do_sdio_entry()
847 ADD(alias, "v", vendor != (__u16)SDIO_ANY_ID, vendor); in do_sdio_entry()
848 ADD(alias, "d", device != (__u16)SDIO_ANY_ID, device); in do_sdio_entry()
862 ADD(alias, "v", vendor != SSB_ANY_VENDOR, vendor); in do_ssb_entry()
863 ADD(alias, "id", coreid != SSB_ANY_ID, coreid); in do_ssb_entry()
864 ADD(alias, "rev", revision != SSB_ANY_REV, revision); in do_ssb_entry()
879 ADD(alias, "m", manuf != BCMA_ANY_MANUF, manuf); in do_bcma_entry()
880 ADD(alias, "id", id != BCMA_ANY_ID, id); in do_bcma_entry()
881 ADD(alias, "rev", rev != BCMA_ANY_REV, rev); in do_bcma_entry()
882 ADD(alias, "cl", class != BCMA_ANY_CLASS, class); in do_bcma_entry()
895 ADD(alias, "d", device != VIRTIO_DEV_ANY_ID, device); in do_virtio_entry()
896 ADD(alias, "v", vendor != VIRTIO_DEV_ANY_ID, vendor); in do_virtio_entry()
954 ADD(alias, "dcr", match_flags & I3C_MATCH_DCR, dcr); in do_i3c_entry()
955 ADD(alias, "manuf", match_flags & I3C_MATCH_MANUF, manuf_id); in do_i3c_entry()
956 ADD(alias, "part", match_flags & I3C_MATCH_PART, part_id); in do_i3c_entry()
957 ADD(alias, "ext", match_flags & I3C_MATCH_EXTRA_INFO, extra_info); in do_i3c_entry()
1066 ADD(alias, "i", id != ZORRO_WILDCARD, id); in do_zorro_entry()
1093 ADD(alias, "f", format != IPACK_ANY_FORMAT, format); in do_ipack_entry()
1094 ADD(alias, "v", vendor != IPACK_ANY_ID, vendor); in do_ipack_entry()
1095 ADD(alias, "d", device != IPACK_ANY_ID, device); in do_ipack_entry()
1200 ADD(alias, "ven", vendor != X86_VENDOR_ANY, vendor); in do_x86cpu_entry()
1201 ADD(alias, "fam", family != X86_FAMILY_ANY, family); in do_x86cpu_entry()
1202 ADD(alias, "mod", model != X86_MODEL_ANY, model); in do_x86cpu_entry()
1229 ADD(alias, ":", version != MEI_CL_VERSION_ANY, version); in do_mei_entry()
1246 ADD(alias, "v", vid != RIO_ANY_ID, vid); in do_rio_entry()
1247 ADD(alias, "d", did != RIO_ANY_ID, did); in do_rio_entry()
1248 ADD(alias, "av", asm_vid != RIO_ANY_ID, asm_vid); in do_rio_entry()
1249 ADD(alias, "ad", asm_did != RIO_ANY_ID, asm_did); in do_rio_entry()
1275 ADD(alias, "v", vendor_id != 0, vendor_id); in do_hda_entry()
1276 ADD(alias, "r", rev_id != 0, rev_id); in do_hda_entry()
1277 ADD(alias, "a", api_version != 0, api_version); in do_hda_entry()
1292 ADD(alias, "m", mfg_id != 0, mfg_id); in do_sdw_entry()
1293 ADD(alias, "p", part_id != 0, part_id); in do_sdw_entry()
1294 ADD(alias, "v", sdw_version != 0, sdw_version); in do_sdw_entry()
1295 ADD(alias, "c", class_id != 0, class_id); in do_sdw_entry()
1326 ADD(alias, "p", match_flags & TBSVC_MATCH_PROTOCOL_ID, protocol_id); in do_tbsvc_entry()
1327 ADD(alias, "v", match_flags & TBSVC_MATCH_PROTOCOL_VERSION, in do_tbsvc_entry()
1329 ADD(alias, "r", match_flags & TBSVC_MATCH_PROTOCOL_REVISION, in do_tbsvc_entry()
1343 ADD(alias, "m", mode != TYPEC_ANY_MODE, mode); in do_typec_entry()
1436 ADD(alias, "t", match_flags & SSAM_MATCH_TARGET, target); in do_ssam_entry()
1437 ADD(alias, "i", match_flags & SSAM_MATCH_INSTANCE, instance); in do_ssam_entry()
1438 ADD(alias, "f", match_flags & SSAM_MATCH_FUNCTION, function); in do_ssam_entry()