Home
last modified time | relevance | path

Searched refs:bar_response (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/pci/
Dpci_auto.c25 u32 bar_response; in dm_pciauto_setup_device() local
45 dm_pci_read_config32(dev, bar, &bar_response); in dm_pciauto_setup_device()
48 if (!bar_response) in dm_pciauto_setup_device()
54 if (bar_response & PCI_BASE_ADDRESS_SPACE) { in dm_pciauto_setup_device()
55 bar_size = ((~(bar_response & PCI_BASE_ADDRESS_IO_MASK)) in dm_pciauto_setup_device()
63 if ((bar_response & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == in dm_pciauto_setup_device()
76 bar_response; in dm_pciauto_setup_device()
83 bar_size = (u32)(~(bar_response & in dm_pciauto_setup_device()
87 if (prefetch && (bar_response & in dm_pciauto_setup_device()
122 cmdstat |= (bar_response & PCI_BASE_ADDRESS_SPACE) ? in dm_pciauto_setup_device()
[all …]
Dpci_auto_old.c34 u32 bar_response; in pciauto_setup_device() local
56 pci_hose_read_config_dword(hose, dev, bar, &bar_response); in pciauto_setup_device()
59 if (!bar_response) in pciauto_setup_device()
67 if (bar_response & PCI_BASE_ADDRESS_SPACE) { in pciauto_setup_device()
68 bar_size = ((~(bar_response & PCI_BASE_ADDRESS_IO_MASK)) in pciauto_setup_device()
77 if ((bar_response & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == in pciauto_setup_device()
89 bar64 = ((u64)bar_response_upper << 32) | bar_response; in pciauto_setup_device()
96 bar_size = (u32)(~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1); in pciauto_setup_device()
99 if (prefetch && (bar_response & PCI_BASE_ADDRESS_MEM_PREFETCH)) in pciauto_setup_device()
132 cmdstat |= (bar_response & PCI_BASE_ADDRESS_SPACE) ? in pciauto_setup_device()
[all …]
Dpci.c193 u32 bar_response; in pci_hose_config_device() local
207 pci_hose_read_config_dword(hose, dev, bar, &bar_response); in pci_hose_config_device()
209 if (!bar_response) in pci_hose_config_device()
215 if (bar_response & PCI_BASE_ADDRESS_SPACE) { in pci_hose_config_device()
216 bar_size = ~(bar_response & PCI_BASE_ADDRESS_IO_MASK) + 1; in pci_hose_config_device()
223 if ((bar_response & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == in pci_hose_config_device()
232 bar64 = ((u64)bar_response_upper << 32) | bar_response; in pci_hose_config_device()
237 bar_size = (u32)(~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1); in pci_hose_config_device()
Dpci_common.c106 u32 bar_response; in pci_map_bar() local
109 pci_read_config_dword(pdev, bar, &bar_response); in pci_map_bar()
110 pci_bus_addr = (pci_addr_t)(bar_response & ~0xf); in pci_map_bar()
Dpci-uclass.c1307 u32 bar_response; in dm_pci_map_bar() local
1310 dm_pci_read_config32(dev, bar, &bar_response); in dm_pci_map_bar()
1311 pci_bus_addr = (pci_addr_t)(bar_response & ~0xf); in dm_pci_map_bar()