Records

Functions

  • uint32_t PciBdfRawAddr (uint8_t bus, uint8_t dev, uint8_t func, uint8_t off)

    Returns the BDF address without the bottom two bits masked off.

    Defined at line 15 of file ../../zircon/kernel/lib/kpci/include/lib/pci/pio.h

  • uint32_t PciBdfAddr (uint8_t bus, uint8_t dev, uint8_t func, uint8_t off)

    Return BDF address with bottom two bits masked off.

    Defined at line 23 of file ../../zircon/kernel/lib/kpci/include/lib/pci/pio.h

  • zx_status_t PioCfgRead (uint32_t addr, uint32_t * val, size_t width)

    |addr| is expected to NOT have the bottom to bits masked off

    Defined at line 34 of file ../../zircon/kernel/lib/kpci/pio.cc

  • zx_status_t PioCfgRead (uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset, uint32_t * val, size_t width)

    Defined at line 51 of file ../../zircon/kernel/lib/kpci/pio.cc

  • zx_status_t PioCfgWrite (uint32_t addr, uint32_t val, size_t width)

    |addr| is expected to NOT have the bottom to bits masked off

    Defined at line 56 of file ../../zircon/kernel/lib/kpci/pio.cc

  • zx_status_t PioCfgWrite (uint8_t busuint8_t devuint8_t funcuint8_t offsetuint32_t valsize_t width)

    Defined at line 77 of file ../../zircon/kernel/lib/kpci/pio.cc