iPXE
|
Go to the source code of this file.
Data Structures | |
struct | isapnp_identifier |
An ISAPnP serial identifier. More... | |
struct | isapnp_logdevid |
An ISAPnP logical device ID structure. More... | |
struct | isapnp_device_id |
An ISAPnP device ID list entry. More... | |
struct | isapnp_device |
An ISAPnP device. More... | |
struct | isapnp_driver |
An ISAPnP driver. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
void | isapnp_device_activation (struct isapnp_device *isapnp, int activation) |
Activate or deactivate an ISAPnP device. More... | |
static void | activate_isapnp_device (struct isapnp_device *isapnp) |
Activate ISAPnP device. More... | |
static void | deactivate_isapnp_device (struct isapnp_device *isapnp) |
Deactivate ISAPnP device. More... | |
static void | isapnp_set_drvdata (struct isapnp_device *isapnp, void *priv) |
Set ISAPnP driver-private data. More... | |
static void * | isapnp_get_drvdata (struct isapnp_device *isapnp) |
Get ISAPnP driver-private data. More... | |
Variables | |
uint16_t | isapnp_read_port |
ISAPnP Read Port address. More... | |
#define ISAPNP_READ_PORT_START |
#define ISAPNP_READ_PORT_STEP |
#define ISAPNP_CONFIG_RESET_DRV |
#define ISAPNP_DRIVERS __table ( struct isapnp_driver, "isapnp_drivers" ) |
#define __isapnp_driver __table_entry ( ISAPNP_DRIVERS, 01 ) |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
void isapnp_device_activation | ( | struct isapnp_device * | isapnp, |
int | activation | ||
) |
Activate or deactivate an ISAPnP device.
isapnp | ISAPnP device |
activation | True to enable, False to disable the device |
None | - |
None | - |
This routine simply activates the device in its current configuration, or deactivates the device. It does not attempt any kind of resource arbitration.
Definition at line 554 of file isapnp.c.
References isapnp_device::csn, DBG, isapnp_activate(), isapnp_delay(), isapnp_logicaldevice(), isapnp_send_key(), isapnp_wait_for_key(), isapnp_wake(), and isapnp_device::logdev.
Referenced by activate_isapnp_device(), and deactivate_isapnp_device().
|
inlinestatic |
Activate ISAPnP device.
isapnp | ISAPnP device |
Definition at line 247 of file isapnp.h.
References isapnp_device_activation().
Referenced by t515_probe().
|
inlinestatic |
Deactivate ISAPnP device.
isapnp | ISAPnP device |
Definition at line 256 of file isapnp.h.
References isapnp_device_activation().
Referenced by t515_disable().
|
inlinestatic |
Set ISAPnP driver-private data.
isapnp | ISAPnP device |
priv | Private data |
Definition at line 266 of file isapnp.h.
References isapnp_device::priv, and priv.
Referenced by legacy_isapnp_set_drvdata().
|
inlinestatic |
Get ISAPnP driver-private data.
isapnp | ISAPnP device |
priv | Private data |
Definition at line 277 of file isapnp.h.
References isapnp_device::priv.
Referenced by legacy_isapnp_get_drvdata().
uint16_t isapnp_read_port |
ISAPnP Read Port address.
ROM prefix may be able to set this address, which is why this is non-static.
Definition at line 76 of file isapnp.c.
Referenced by isapnp_isolate(), isapnp_read_data(), isapnp_set_read_port(), isapnp_try_isolate(), isapnpbus_probe(), and pxenv_start_undi().