iPXE
|
Go to the source code of this file.
Data Structures | |
struct | eisa_device_id |
An EISA device ID list entry. More... | |
struct | eisa_device |
An EISA device. More... | |
struct | eisa_driver |
An EISA driver. More... | |
Macros | |
#define | EISA_MIN_SLOT (0x1) |
#define | EISA_MAX_SLOT (0xf) /* Must be 2^n - 1 */ |
#define | EISA_SLOT_BASE(n) ( 0x1000 * (n) ) |
#define | EISA_VENDOR_ID ( 0xc80 ) |
#define | EISA_PROD_ID ( 0xc82 ) |
#define | EISA_GLOBAL_CONFIG ( 0xc84 ) |
#define | EISA_CMD_RESET ( 1 << 2 ) |
#define | EISA_CMD_ENABLE ( 1 << 0 ) |
#define | EISA_DRIVERS __table ( struct eisa_driver, "eisa_drivers" ) |
EISA driver table. More... | |
#define | __eisa_driver __table_entry ( EISA_DRIVERS, 01 ) |
Declare an EISA driver. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | eisa_device_enabled (struct eisa_device *eisa, int enabled) |
Reset and enable/disable an EISA device. More... | |
static void | enable_eisa_device (struct eisa_device *eisa) |
Enable EISA device. More... | |
static void | disable_eisa_device (struct eisa_device *eisa) |
Disable EISA device. More... | |
static void | eisa_set_drvdata (struct eisa_device *eisa, void *priv) |
Set EISA driver-private data. More... | |
static void * | eisa_get_drvdata (struct eisa_device *eisa) |
Get EISA driver-private data. More... | |
#define EISA_DRIVERS __table ( struct eisa_driver, "eisa_drivers" ) |
#define __eisa_driver __table_entry ( EISA_DRIVERS, 01 ) |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void eisa_device_enabled | ( | struct eisa_device * | eisa, |
int | enabled | ||
) |
Reset and enable/disable an EISA device.
eisa | EISA device |
enabled | 1=enable, 0=disable |
Definition at line 20 of file eisa.c.
References DBG, EISA_CMD_ENABLE, EISA_CMD_RESET, EISA_GLOBAL_CONFIG, enabled, eisa_device::ioaddr, outb, eisa_device::slot, and udelay().
Referenced by disable_eisa_device(), and enable_eisa_device().
|
inlinestatic |
Enable EISA device.
eisa | EISA device |
Definition at line 95 of file eisa.h.
References eisa_device_enabled().
Referenced by el3_eisa_probe().
|
inlinestatic |
Disable EISA device.
eisa | EISA device |
Definition at line 104 of file eisa.h.
References eisa_device_enabled().
Referenced by el3_eisa_disable().
|
inlinestatic |
Set EISA driver-private data.
eisa | EISA device |
priv | Private data |
Definition at line 114 of file eisa.h.
References eisa_device::priv, and priv.
Referenced by legacy_eisa_set_drvdata().
|
inlinestatic |
Get EISA driver-private data.
eisa | EISA device |
priv | Private data |
Definition at line 124 of file eisa.h.
References eisa_device::priv.
Referenced by legacy_eisa_get_drvdata().