Lines Matching refs:i
129 int i; in populate_entries() local
139 for (i = 0 ; i < n ; i++) { in populate_entries()
144 (struct pci_device_private *) &p->devices[i]; in populate_entries()
147 sscanf(devices[i]->d_name, "%04x:%02x:%02x.%1u", in populate_entries()
183 for (i = 0; i < n; i++) in populate_entries()
184 free(devices[i]); in populate_entries()
204 unsigned i; in pci_device_linux_sysfs_probe() local
251 for ( i = 0 ; i < 6 ; i++ ) { in pci_device_linux_sysfs_probe()
253 dev->regions[i].base_addr = strtoull( next, & next, 16 ); in pci_device_linux_sysfs_probe()
257 if ( dev->regions[i].base_addr != 0 ) { in pci_device_linux_sysfs_probe()
258 dev->regions[i].size = (high_addr in pci_device_linux_sysfs_probe()
259 - dev->regions[i].base_addr) + 1; in pci_device_linux_sysfs_probe()
261 dev->regions[i].is_IO = (flags & 0x01); in pci_device_linux_sysfs_probe()
262 dev->regions[i].is_64 = (flags & 0x04); in pci_device_linux_sysfs_probe()
263 dev->regions[i].is_prefetchable = (flags & 0x08); in pci_device_linux_sysfs_probe()