11 #ifndef DEVLIBPCIIMPL_H_INC 12 #define DEVLIBPCIIMPL_H_INC 19 #include <epicsTypes.h> 36 #define CFG_ACC_WIDTH(mode) ((mode) & 0x0f) 37 #define CFG_ACC_WRITE(mode) ((mode) & 0x10) 42 int (*pDevInit)(void);
44 int (*pDevFinal)(void);
48 int (*pDevPCIToLocalAddr)(
const epicsPCIDevice* dev,
unsigned int bar,
volatile void **a,
unsigned int o);
50 int (*pDevPCIBarLen)(
const epicsPCIDevice* dev,
unsigned int bar,epicsUInt32 *len);
53 void (*pFunction)(
void *),
58 void (*pFunction)(
void *),
72 #define devLibPCIRegisterDriver(TPTR) devLibPCIRegisterDriver2(TPTR, sizeof(*(TPTR))) int(* devPCISearchFn)(void *ptr, const epicsPCIDevice *dev)
PCI search callback prototype.
epicsShareFunc int devLibPCIRegisterDriver2(devLibPCI *, size_t)
epicsShareFunc void devLibPCIRegisterBaseDefault(void)
epicsShareFunc int devLibPCIMatch(const epicsPCIID *match, const epicsPCIID *dev)