devLib2
2.12
|
#include <stddef.h>
#include <dbDefs.h>
#include <ellLib.h>
#include <shareLib.h>
#include <epicsTypes.h>
#include "devLibPCI.h"
Go to the source code of this file.
Data Structures | |
struct | devLibPCI |
Macros | |
#define | CFG_ACC_WIDTH(mode) ((mode) & 0x0f) |
#define | CFG_ACC_WRITE(mode) ((mode) & 0x10) |
#define | devLibPCIRegisterDriver(TPTR) devLibPCIRegisterDriver2(TPTR, sizeof(*(TPTR))) |
Enumerations | |
enum | devPCIAccessMode { RD_08 = 0x01, RD_16 = 0x02, RD_32 = 0x04, WR_08 = 0x11, WR_16 = 0x12, WR_32 = 0x14 } |
Functions | |
epicsShareFunc int | devLibPCIRegisterDriver2 (devLibPCI *, size_t) |
epicsShareFunc void | devLibPCIRegisterBaseDefault (void) |
epicsShareFunc int | devLibPCIMatch (const epicsPCIID *match, const epicsPCIID *dev) |
#define CFG_ACC_WIDTH | ( | mode | ) | ((mode) & 0x0f) |
Definition at line 36 of file devLibPCIImpl.h.
#define CFG_ACC_WRITE | ( | mode | ) | ((mode) & 0x10) |
Definition at line 37 of file devLibPCIImpl.h.
#define devLibPCIRegisterDriver | ( | TPTR | ) | devLibPCIRegisterDriver2(TPTR, sizeof(*(TPTR))) |
Definition at line 72 of file devLibPCIImpl.h.
enum devPCIAccessMode |
Enumerator | |
---|---|
RD_08 | |
RD_16 | |
RD_32 | |
WR_08 | |
WR_16 | |
WR_32 |
Definition at line 27 of file devLibPCIImpl.h.
epicsShareFunc int devLibPCIMatch | ( | const epicsPCIID * | match, |
const epicsPCIID * | dev | ||
) |
Helper for implementing devLibPCI::pDevPCIFind()
Returns true if the given match (which may include DEVPCI_ANY_* wildcards) matches the given device (which may not).
Definition at line 153 of file devLibPCI.c.
epicsShareFunc void devLibPCIRegisterBaseDefault | ( | void | ) |
Register default implementation
Not needed by IOCs
epicsShareFunc int devLibPCIRegisterDriver2 | ( | devLibPCI * | , |
size_t | |||
) |
Definition at line 70 of file devLibPCI.c.