Searched refs:hdr_type (Results 1 – 3 of 3) sorted by relevance
419 uint8_t hdr_type, dev, func, func_max; in scan_pci_hierarchy() local447 hdr_type = (uint8_t)pci_pdev_read_cfg(pbdf, PCIR_HDRTYPE, 1U); in scan_pci_hierarchy()452 func_max = is_pci_cfg_multifunction(hdr_type) ? PCI_FUNCMAX : 0U; in scan_pci_hierarchy()645 static inline uint32_t pci_pdev_get_nr_bars(uint8_t hdr_type) in pci_pdev_get_nr_bars() argument649 switch (hdr_type & PCIM_HDRTYPE) { in pci_pdev_get_nr_bars()846 uint8_t hdr_type, hdr_layout; in pci_init_pdev() local851 hdr_type = (uint8_t)pci_pdev_read_cfg(bdf, PCIR_HDRTYPE, 1U); in pci_init_pdev()852 hdr_layout = (hdr_type & PCIM_HDRTYPE); in pci_init_pdev()857 pdev->hdr_type = hdr_type; in pci_init_pdev()860 pdev->nr_bars = pci_pdev_get_nr_bars(hdr_type); in pci_init_pdev()[all …]
81 && is_pci_cfg_multifunction(pdev->hdr_type) in init_one_dev_config()
283 uint8_t hdr_type; member324 return ((pdev->hdr_type & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE); in is_bridge()
Completed in 34 milliseconds