Home
last modified time | relevance | path

Searched refs:device_class (Results 1 – 11 of 11) sorted by relevance

/pciutils/lib/
H A Dfilter.c27 f->device_class = -1; in pci_filter_init_v38()
188 if (!parse_hex_field(fields[2], &f->device_class, &f->device_class_mask, 0xffff)) in pci_filter_parse_id_v38()
212 if (f->device_class >= 0) in pci_filter_match_v38()
215 if ((f->device_class ^ d->device_class) & f->device_class_mask) in pci_filter_match_v38()
251 new->device_class = -1; in pci_filter_import_v30()
295 if (new.device_class >= 0 || new.prog_if >= 0) in pci_filter_parse_id_v30()
H A Demulated.c87 if (d->device_class == PCI_CLASS_BRIDGE_PCI) in pci_emulated_read()
89 else if (d->device_class == PCI_CLASS_BRIDGE_CARDBUS) in pci_emulated_read()
109 val = (d->device_class << 16) | (d->prog_if << 8) | d->rev_id; in pci_emulated_read()
H A Dpci.h146 u16 device_class; /* PCI device class */ member
271 int device_class; member
H A Dwin32-cfgmgr32.c984 …if (has_child || d->device_class == PCI_CLASS_BRIDGE_PCI || d->device_class == PCI_CLASS_BRIDGE_CA… in fill_resources()
1380 d->device_class = hex; in fill_data_from_string()
H A Dgeneric.c108 d->device_class = pci_read_word(d, PCI_CLASS_DEVICE); in pci_generic_fill_info()
H A Dfbsd-device.c211 d->device_class = (match.pc_class << 8) | match.pc_subclass; in fbsd_fill_info()
H A Dsysfs.c359 d->device_class = value >> 8; in sysfs_fill_info()
/pciutils/
H A Dlspci.c302 p->device_class), in show_terse()
314 p->device_class, c); in show_terse()
798 word class = p->device_class; in show_verbose()
1025 pci_lookup_name(pacc, classbuf, sizeof(classbuf), PCI_LOOKUP_CLASS, p->device_class)); in show_machine()
1056 …hell_escaped(pci_lookup_name(pacc, classbuf, sizeof(classbuf), PCI_LOOKUP_CLASS, p->device_class)); in show_machine()
H A Dexample.c29 dev->device_class, dev->irq, c, (long) dev->base_addr[0]); in main()
H A Dls-kernel.c178 unsigned int class = (((unsigned int)dev->device_class << 8) | dev->prog_if); in match_pcimap()
H A Dls-tree.c145 word class = dd->device_class; in grow_tree()