Home
last modified time | relevance | path

Searched refs:fPci (Results 1 – 8 of 8) sorted by relevance

/haiku/src/add-ons/kernel/busses/usb/
H A Duhci.cpp507 fPci(pci), in UHCI()
549 fRegisterBase = fPci->read_pci_config(fDevice, PCI_memory_base, 4); in UHCI()
560 command |= fPci->read_pci_config(fDevice, PCI_command, 2); in UHCI()
562 fPci->write_pci_config(fDevice, PCI_command, 2, command); in UHCI()
568 fPci->write_pci_config(fDevice, PCI_LEGSUP, 2, PCI_LEGSUP_USBPIRQDEN in UHCI()
690 if (fPci->get_msi_count(fDevice) >= 1) { in UHCI()
692 if (fPci->configure_msi(fDevice, 1, &msiVector) == B_OK in UHCI()
693 && fPci->enable_msi(fDevice) == B_OK) { in UHCI()
765 fPci->disable_msi(fDevice); in ~UHCI()
766 fPci->unconfigure_msi(fDevice); in ~UHCI()
[all …]
H A Dehci.cpp324 fPci(pci), in EHCI()
412 uint32 workaround = fPci->read_pci_config(fDevice, in EHCI()
415 fPci->write_pci_config(fDevice, AMD_SBX00_EHCI_MISC_REGISTER, 4, in EHCI()
421 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); in EHCI()
425 fPci->write_pci_config(fDevice, PCI_command, 2, command); in EHCI()
471 uint32 legacySupport = fPci->read_pci_config(fDevice, extendedCapPointer, 4); in EHCI()
477 fPci->write_pci_config(fDevice, extendedCapPointer + 3, 1, 1); in EHCI()
480 legacySupport = fPci->read_pci_config(fDevice, in EHCI()
502 fPci->write_pci_config(fDevice, extendedCapPointer + 2, 1, 0); in EHCI()
503 fPci->write_pci_config(fDevice, extendedCapPointer + 4, 4, 0); in EHCI()
[all …]
H A Dxhci.cpp346 fPci(pci), in XHCI()
383 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); in XHCI()
387 fPci->write_pci_config(fDevice, PCI_command, 2, command); in XHCI()
535 if (fPci->get_msix_count(fDevice) >= 1) { in XHCI()
537 if (fPci->configure_msix(fDevice, 1, &msiVector) == B_OK in XHCI()
538 && fPci->enable_msix(fDevice) == B_OK) { in XHCI()
545 if (fPci->get_msi_count(fDevice) >= 1) { in XHCI()
547 if (fPci->configure_msi(fDevice, 1, &msiVector) == B_OK in XHCI()
548 && fPci->enable_msi(fDevice) == B_OK) { in XHCI()
599 fPci->disable_msi(fDevice); in ~XHCI()
[all …]
H A Dohci.cpp273 fPci(pci), in OHCI()
308 uint16 command = fPci->read_pci_config(fDevice, PCI_command, 2); in OHCI()
312 fPci->write_pci_config(fDevice, PCI_command, 2, command); in OHCI()
315 uint32 offset = fPci->read_pci_config(fDevice, PCI_base_registers, 4); in OHCI()
550 if (fPci->get_msi_count(fDevice) >= 1) { in OHCI()
552 if (fPci->configure_msi(fDevice, 1, &msiVector) == B_OK in OHCI()
553 && fPci->enable_msi(fDevice) == B_OK) { in OHCI()
610 fPci->disable_msi(fDevice); in ~OHCI()
611 fPci->unconfigure_msi(fDevice); in ~OHCI()
H A Dohci.h188 pci_device_module_info* fPci; variable
H A Duhci.h211 pci_device_module_info* fPci; variable
H A Dehci.h206 pci_device_module_info* fPci; variable
H A Dxhci.h235 pci_device_module_info* fPci; variable