| /libpciaccess/src/ |
| H A D | openbsd_pci.c | 55 io.pi_sel.pc_func = func; in pci_read() 76 io.pi_sel.pc_func = func; in pci_write() 104 func = device->func; in pci_device_openbsd_read_rom() 234 io.pi_sel.pc_func = dev->func; in pci_device_openbsd_read() 271 io.pi_sel.pc_func = dev->func; in pci_device_openbsd_write() 313 func = device->func; in pci_device_openbsd_probe() 446 for (func = 0; func < nfuncs; func++) { in pci_system_openbsd_create() 476 for (func = 0; func < nfuncs; func++) { in pci_system_openbsd_create() 487 device->base.func = func; in pci_system_openbsd_create() 578 pv.pv_sel.pc_func = dev->func; in pci_device_vgaarb_fini() [all …]
|
| H A D | netbsd_pci.c | 52 io.function = func; in pci_read() 72 io.function = func; in pci_write() 170 io.function = dev->func; in pci_device_netbsd_read() 206 io.function = dev->func; in pci_device_netbsd_write() 240 int bus, dev, func, err; in pci_device_netbsd_probe() local 244 func = device->func; in pci_device_netbsd_probe() 266 pci_write(bus, dev, func, bar, reg); in pci_device_netbsd_probe() 328 int bus, dev, func, ndevs, nfuncs; in pci_system_netbsd_create() local 347 for (func = 0; func < nfuncs; func++) { in pci_system_netbsd_create() 372 for (func = 0; func < nfuncs; func++) { in pci_system_netbsd_create() [all …]
|
| H A D | x86_pci.c | 213 if (bus >= 0x100 || dev >= 16 || func >= 8 || reg >= 0x100) in pci_system_x86_conf2_read() 216 outb((func << 1) | 0xF0, 0xCF8); in pci_system_x86_conf2_read() 250 if (bus >= 0x100 || dev >= 16 || func >= 8 || reg >= 0x100) in pci_system_x86_conf2_write() 253 outb((func << 1) | 0xF0, 0xCF8); in pci_system_x86_conf2_write() 508 err = pci_sys_x86->read(dev->bus, dev->dev, dev->func, offset, data, toread); in pci_device_x86_read() 587 int ret, bus, dev, ndevs, func, nfuncs; in pci_system_x86_create() local 616 for (func = 0; func < nfuncs; func++) { in pci_system_x86_create() 617 if (pci_sys_x86->read(bus, dev, func, PCI_VENDOR_ID, ®, sizeof(reg)) != 0) in pci_system_x86_create() 640 for (func = 0; func < nfuncs; func++) { in pci_system_x86_create() 649 device->base.func = func; in pci_system_x86_create() [all …]
|
| H A D | common_iterator.c | 182 && PCI_ID_COMPARE( iter->match.slot.func, temp->base.func ) ) { in pci_device_next() 218 uint32_t func ) in pci_device_find_by_slot() argument 228 iter.match.slot.func = func; in pci_device_find_by_slot()
|
| H A D | linux_sysfs.c | 142 unsigned dom, bus, dev, func; in populate_entries() local 153 device->base.func = func; in populate_entries() 236 dev->func ); in pci_device_linux_sysfs_probe() 297 dev->func ); in pci_device_linux_sysfs_read_rom() 378 dev->func ); in pci_device_linux_sysfs_read() 438 dev->func ); in pci_device_linux_sysfs_write() 489 dev->func, in pci_device_linux_sysfs_map_range_wc() 553 dev->func, in pci_device_linux_sysfs_map_range() 677 dev->func ); in pci_device_linux_sysfs_enable() 699 dev->func ); in pci_device_linux_sysfs_boot_vga() [all …]
|
| H A D | solx_devfs.c | 57 uint8_t func; member 355 int8_t func; in probe_dev() local 372 ((func <= last_func) && in probe_dev() 373 ((func == first_func) || (multi_function_device))); in probe_dev() 374 func++) { in probe_dev() 375 prg_p->func_no = func; in probe_dev() 483 pci_base->func = func; in probe_dev() 840 (funcno == devnode->func)) { in find_target_node() 882 args.func = dev->func; in pci_device_solx_devfs_probe() 1058 cfg_prg.func_no = dev->func; in pci_device_solx_devfs_read() [all …]
|
| H A D | common_vgaarb.c | 102 match->func = strtoul(tok, NULL, 16); in parse_string_to_decodes_rsrc() 149 …pci_sys->vga_default_dev = pci_device_find_by_slot(match.domain, match.bus, match.dev, match.func); in pci_device_vgaarb_init() 240 dev->domain, dev->bus, dev->dev, dev->func); in pci_device_vgaarb_set_target()
|
| H A D | freebsd_pci.c | 193 io.pi_sel.pc_func = dev->func; in pci_device_freebsd_read() 233 io.pi_sel.pc_func = dev->func; in pci_device_freebsd_write() 357 bar.pbi_sel.pc_func = dev->func; in pci_device_freebsd_probe() 637 pci_sys->devices[ i ].base.func = p->pc_sel.pc_func; in pci_system_freebsd_create()
|
| /libpciaccess/include/ |
| H A D | pciaccess.h | 133 uint32_t dev, uint32_t func); 236 uint32_t func; member 327 uint8_t func; member
|
| /libpciaccess/scanpci/ |
| H A D | scanpci.c | 91 dev->func, in print_pci_device()
|