Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/cmd/
H A Dpci.c64 u8 header_type; in pci_bar_show() local
73 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in pci_bar_show()
74 header_type &= 0x7f; in pci_bar_show()
76 if (header_type == PCI_HEADER_TYPE_CARDBUS) { in pci_bar_show()
79 } else if (header_type != PCI_HEADER_TYPE_NORMAL && in pci_bar_show()
80 header_type != PCI_HEADER_TYPE_BRIDGE) { in pci_bar_show()
85 bar_cnt = (header_type == PCI_HEADER_TYPE_NORMAL) ? 6 : 2; in pci_bar_show()
233 unsigned long class, header_type; in pci_header_show() local
236 dm_pci_read_config(dev, PCI_HEADER_TYPE, &header_type, PCI_SIZE_8); in pci_header_show()
242 switch (header_type & 0x7f) { in pci_header_show()
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_auto.c30 u8 header_type; in dm_pciauto_setup_device() local
132 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pciauto_setup_device()
133 header_type &= 0x7f; in dm_pciauto_setup_device()
134 if (header_type != PCI_HEADER_TYPE_CARDBUS) { in dm_pciauto_setup_device()
135 rom_addr = (header_type == PCI_HEADER_TYPE_NORMAL) ? in dm_pciauto_setup_device()
H A Dpci_auto_old.c40 u8 header_type; in pciauto_setup_device() local
142 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pciauto_setup_device()
143 header_type &= 0x7f; in pciauto_setup_device()
144 if (header_type != PCI_HEADER_TYPE_CARDBUS) { in pciauto_setup_device()
145 rom_addr = (header_type == PCI_HEADER_TYPE_NORMAL) ? in pciauto_setup_device()
H A Dpci_common.c287 u8 header_type; in pci_hose_find_devices() local
299 &header_type); in pci_hose_find_devices()
300 found_multi = header_type & 0x80; in pci_hose_find_devices()
H A Dpci-uclass.c301 u8 header_type; in pci_is_bridge() local
303 pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in pci_is_bridge()
304 header_type = header_type & 0x7f; in pci_is_bridge()
306 return (header_type == PCI_HEADER_TYPE_BRIDGE); in pci_is_bridge()
834 ulong header_type; in pci_bind_bus_devices() local
852 &header_type, PCI_SIZE_8); in pci_bind_bus_devices()
861 found_multi = header_type & 0x80; in pci_bind_bus_devices()
883 if ((header_type & 0x7f) == PCI_HEADER_TYPE_NORMAL) { in pci_bind_bus_devices()
1433 u8 header_type; in dm_pci_find_capability() local
1440 dm_pci_read_config8(dev, PCI_HEADER_TYPE, &header_type); in dm_pci_find_capability()
[all …]
H A Dpci.c343 unsigned char header_type; in pci_hose_scan_bus() local
365 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); in pci_hose_scan_bus()
373 found_multi = header_type & 0x80; in pci_hose_scan_bus()
H A Dpcie_layerscape.c476 u8 header_type; in ls_pcie_probe() local
562 header_type = readb(pcie->dbi + PCI_HEADER_TYPE); in ls_pcie_probe()
563 ep_mode = (header_type & 0x7f) == PCI_HEADER_TYPE_NORMAL; in ls_pcie_probe()
H A Dfsl_pci_init.c612 u8 header_type; in fsl_is_pci_agent() local
615 &header_type); in fsl_is_pci_agent()
616 return (header_type & 0x7f) == PCI_HEADER_TYPE_NORMAL; in fsl_is_pci_agent()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/
H A Dpci.c137 u8 header_type; in pci_mpc85xx_init() local
142 &header_type); in pci_mpc85xx_init()