Home
last modified time | relevance | path

Searched refs:header_type (Results 1 – 9 of 9) sorted by relevance

/libpciaccess/src/
H A Dcommon_bridge.c72 switch ( priv->header_type & 0x7f ) { in read_bridge_info()
219 return (priv->header_type == 1) ? priv->bridge.pci : NULL; in pci_device_get_bridge_info()
239 return (priv->header_type == 2) ? priv->bridge.pcmcia : NULL; in pci_device_get_pcmcia_bridge_info()
296 if ((priv->header_type & 0x7f) == 0x01) { in pci_device_get_bridge_buses()
310 if ((priv->header_type & 0x7f) == 0x02) { in pci_device_get_bridge_buses()
H A Dx86_pci.c353 pci_device_x86_get_num_regions(uint8_t header_type) in pci_device_x86_get_num_regions() argument
355 switch (header_type & 0x7f) { in pci_device_x86_get_num_regions()
363 fprintf(stderr,"unknown header type %02x\n", header_type); in pci_device_x86_get_num_regions()
H A Dfreebsd_pci.c329 switch (priv->header_type) { in pci_device_freebsd_get_num_regions()
337 printf("unknown header type %02x\n", priv->header_type); in pci_device_freebsd_get_num_regions()
645 pci_sys->devices[ i ].header_type = p->pc_hdr & 0x7f; in pci_system_freebsd_create()
H A Dpciaccess_private.h104 uint8_t header_type; member
H A Dnetbsd_pci.c250 priv->header_type = PCI_HDRTYPE_TYPE(reg); in pci_device_netbsd_probe()
251 if (priv->header_type != 0) in pci_device_netbsd_probe()
H A Dopenbsd_pci.c319 priv->header_type = PCI_HDRTYPE_TYPE(reg); in pci_device_openbsd_probe()
320 if (priv->header_type != 0) in pci_device_openbsd_probe()
H A Dlinux_sysfs.c213 priv->header_type = config[14]; in pci_device_linux_sysfs_probe()
H A Dsolx_devfs.c501 pinfo->devices[pinfo->num_devices].header_type in probe_dev()
/libpciaccess/scanpci/
H A Dscanpci.c105 uint8_t header_type; in print_pci_device() local
142 pci_device_cfg_read_u8( dev, & header_type, 14 ); in print_pci_device()
147 header_type, in print_pci_device()