Searched refs:bar_size (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/pci/ |
D | pci_auto.c | 26 pci_size_t bar_size; in dm_pciauto_setup_device() local 57 bar_size = ((~(bar_response & PCI_BASE_ADDRESS_IO_MASK)) in dm_pciauto_setup_device() 63 bar_nr, (unsigned long long)bar_size); in dm_pciauto_setup_device() 80 bar_size = ~(bar64 & PCI_BASE_ADDRESS_MEM_MASK) in dm_pciauto_setup_device() 85 bar_size = (u32)(~(bar_response & in dm_pciauto_setup_device() 99 (unsigned long long)bar_size); in dm_pciauto_setup_device() 103 ret = pciauto_region_allocate(bar_res, bar_size, in dm_pciauto_setup_device() 146 bar_size = -(bar_response & ~1); in dm_pciauto_setup_device() 148 (unsigned int)bar_size); in dm_pciauto_setup_device() 149 if (pciauto_region_allocate(mem, bar_size, in dm_pciauto_setup_device()
|
D | pci_auto_old.c | 35 pci_size_t bar_size; in pciauto_setup_device() local 68 bar_size = ((~(bar_response & PCI_BASE_ADDRESS_IO_MASK)) in pciauto_setup_device() 75 bar_nr, (unsigned long long)bar_size); in pciauto_setup_device() 91 bar_size = ~(bar64 & PCI_BASE_ADDRESS_MEM_MASK) + 1; in pciauto_setup_device() 96 bar_size = (u32)(~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1); in pciauto_setup_device() 106 (unsigned long long)bar_size); in pciauto_setup_device() 111 if (pciauto_region_allocate(bar_res, bar_size, in pciauto_setup_device() 150 bar_size = -(bar_response & ~1); in pciauto_setup_device() 152 (unsigned int)bar_size); in pciauto_setup_device() 153 if (pciauto_region_allocate(mem, bar_size, in pciauto_setup_device()
|
D | pci.c | 195 pci_size_t bar_size; in pci_hose_config_device() local 215 bar_size = ~(bar_response & PCI_BASE_ADDRESS_IO_MASK) + 1; in pci_hose_config_device() 217 io = ((io - 1) | (bar_size - 1)) + 1; in pci_hose_config_device() 220 io = io + bar_size; in pci_hose_config_device() 233 bar_size = ~(bar64 & PCI_BASE_ADDRESS_MEM_MASK) + 1; in pci_hose_config_device() 236 bar_size = (u32)(~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1); in pci_hose_config_device() 240 mem = ((mem - 1) | (bar_size - 1)) + 1; in pci_hose_config_device() 243 mem = mem + bar_size; in pci_hose_config_device()
|
D | pcie_layerscape_gen4.c | 24 static u64 bar_size[4] = { variable 395 ls_pcie_g4_ep_setup_bar(pcie, pf, bar, false, bar_size[bar]); in ls_pcie_g4_ep_setup_bars() 402 ls_pcie_g4_ep_setup_bar(pcie, pf, bar, true, bar_size[bar]); in ls_pcie_g4_ep_setup_bars()
|
/external/libkmsxx/py/tests/ |
D | big_fb.py | 111 self.bar_size = 45 141 elif self.pos_y > (self.fbY - self.bar_size): 142 self.pos_y = self.fbY - self.bar_size 152 pykms.draw_rect(fb, 0, old_box_y, self.fbX, self.bar_size, black)
|