mbgtools-lx  4.2.8
pci_lx.h File Reference
#include <pcidefs.h>
#include <mbg_lx.h>
#include <linux/pci.h>

Go to the source code of this file.

Macros

#define _ext   extern
 
#define _mbg_pci_find_bios(_p1, _p2, _p3)   ( pcibios_present() ? PCI_SUCCESS : PCI_NO_SUCCESS )
 
#define _mbg_pci_find_device(_did, _vid, _ix, _pbn, _pdfn)   pcibios_find_device( (_vid), (_did), (_ix), (_pbn), (_pdfn) )
 
#define _mbg_pci_read_cfg_byte   pcibios_read_config_byte
 
#define _mbg_pci_read_cfg_word   pcibios_read_config_word
 
#define _mbg_pci_read_cfg_dword   pcibios_read_config_dword
 
#define _mbg_pci_write_cfg_byte   pcibios_write_config_byte
 
#define _mbg_pci_write_cfg_word   pcibios_write_config_word
 
#define _mbg_pci_write_cfg_dword   pcibios_write_config_dword
 

Macro Definition Documentation

◆ _ext

#define _ext   extern

Definition at line 38 of file pci_lx.h.

◆ _mbg_pci_find_bios

#define _mbg_pci_find_bios (   _p1,
  _p2,
  _p3 
)    ( pcibios_present() ? PCI_SUCCESS : PCI_NO_SUCCESS )

Definition at line 49 of file pci_lx.h.

◆ _mbg_pci_find_device

#define _mbg_pci_find_device (   _did,
  _vid,
  _ix,
  _pbn,
  _pdfn 
)    pcibios_find_device( (_vid), (_did), (_ix), (_pbn), (_pdfn) )

Definition at line 52 of file pci_lx.h.

◆ _mbg_pci_read_cfg_byte

#define _mbg_pci_read_cfg_byte   pcibios_read_config_byte

Definition at line 55 of file pci_lx.h.

Referenced by pcps_cleanup_device().

◆ _mbg_pci_read_cfg_dword

#define _mbg_pci_read_cfg_dword   pcibios_read_config_dword

Definition at line 57 of file pci_lx.h.

Referenced by pcps_cleanup_device().

◆ _mbg_pci_read_cfg_word

#define _mbg_pci_read_cfg_word   pcibios_read_config_word

Definition at line 56 of file pci_lx.h.

Referenced by pcps_cleanup_device().

◆ _mbg_pci_write_cfg_byte

#define _mbg_pci_write_cfg_byte   pcibios_write_config_byte

Definition at line 59 of file pci_lx.h.

◆ _mbg_pci_write_cfg_dword

#define _mbg_pci_write_cfg_dword   pcibios_write_config_dword

Definition at line 61 of file pci_lx.h.

◆ _mbg_pci_write_cfg_word

#define _mbg_pci_write_cfg_word   pcibios_write_config_word

Definition at line 60 of file pci_lx.h.

Referenced by pcps_cleanup_device().