There are eight 32-bit registers in a P-PCI-LV interface.
Table shows those registers.
Those registers can be accessed via PCI I/O address space.
Linux supports functions called inl and outl
for accessing PCI I/O address space in 32-bit unit.
The access methods are as follows;
extern inline unsigned int inl (unsigned short port) { unsigned int _v; __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (port)); return _v; } extern inline void outl (unsigned int value, unsigned short port) { __asm__ __volatile__ ("outl %0,%w1": :"a" (value), "Nd" (port)); }