Home
last modified time | relevance | path

Searched refs:bar_size (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/pci/
Dpci_auto.c26 pci_size_t bar_size; in dm_pciauto_setup_device() local
55 bar_size = ((~(bar_response & PCI_BASE_ADDRESS_IO_MASK)) in dm_pciauto_setup_device()
61 bar_nr, (unsigned long long)bar_size); in dm_pciauto_setup_device()
78 bar_size = ~(bar64 & PCI_BASE_ADDRESS_MEM_MASK) in dm_pciauto_setup_device()
83 bar_size = (u32)(~(bar_response & in dm_pciauto_setup_device()
97 (unsigned long long)bar_size); in dm_pciauto_setup_device()
100 if (!enum_only && pciauto_region_allocate(bar_res, bar_size, in dm_pciauto_setup_device()
140 bar_size = -(bar_response & ~1); in dm_pciauto_setup_device()
142 (unsigned int)bar_size); in dm_pciauto_setup_device()
143 if (pciauto_region_allocate(mem, bar_size, in dm_pciauto_setup_device()
Dpci_auto_old.c35 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()
Dpci.c196 pci_size_t bar_size; in pci_hose_config_device() local
216 bar_size = ~(bar_response & PCI_BASE_ADDRESS_IO_MASK) + 1; in pci_hose_config_device()
218 io = ((io - 1) | (bar_size - 1)) + 1; in pci_hose_config_device()
221 io = io + bar_size; in pci_hose_config_device()
234 bar_size = ~(bar64 & PCI_BASE_ADDRESS_MEM_MASK) + 1; in pci_hose_config_device()
237 bar_size = (u32)(~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1); in pci_hose_config_device()
241 mem = ((mem - 1) | (bar_size - 1)) + 1; in pci_hose_config_device()
244 mem = mem + bar_size; in pci_hose_config_device()
/external/libkmsxx/py/tests/
Dbig_fb.py111 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)