|
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. | |
| static void | activate_isapnp_device (struct isapnp_device *isapnp) |
| Activate ISAPnP device. | |
| static void | deactivate_isapnp_device (struct isapnp_device *isapnp) |
| Deactivate ISAPnP device. | |
| static void | isapnp_set_drvdata (struct isapnp_device *isapnp, void *priv) |
| Set ISAPnP driver-private data. | |
| static void * | isapnp_get_drvdata (struct isapnp_device *isapnp) |
| Get ISAPnP driver-private data. | |
Variables | |
| uint16_t | isapnp_read_port |
| ISAPnP Read Port address. | |
| #define ISAPNP_ADDRESS 0x279 |
Definition at line 57 of file isapnp.h.
Referenced by isapnp_write_address().
| #define ISAPNP_WRITE_DATA 0xa79 |
Definition at line 58 of file isapnp.h.
Referenced by isapnp_write_data().
| #define ISAPNP_READ_PORT_MIN 0x203 |
Definition at line 59 of file isapnp.h.
Referenced by pxenv_start_undi().
| #define ISAPNP_READ_PORT_START |
Definition at line 60 of file isapnp.h.
Referenced by isapnp_isolate().
| #define ISAPNP_READ_PORT_MAX 0x3ff |
Definition at line 61 of file isapnp.h.
Referenced by isapnp_isolate(), and pxenv_start_undi().
| #define ISAPNP_READ_PORT_STEP |
Definition at line 62 of file isapnp.h.
Referenced by isapnp_isolate().
| #define ISAPNP_CSN_MIN 0x01 |
Definition at line 65 of file isapnp.h.
Referenced by pxenv_start_undi().
| #define ISAPNP_CSN_MAX 0x0f |
Definition at line 66 of file isapnp.h.
Referenced by pxenv_start_undi().
| #define ISAPNP_READPORT 0x00 |
Definition at line 69 of file isapnp.h.
Referenced by isapnp_set_read_port().
| #define ISAPNP_SERIALISOLATION 0x01 |
Definition at line 70 of file isapnp.h.
Referenced by isapnp_serialisolation().
| #define ISAPNP_CONFIGCONTROL 0x02 |
Definition at line 71 of file isapnp.h.
Referenced by isapnp_reset_csn(), and isapnp_wait_for_key().
| #define ISAPNP_WAKE 0x03 |
Definition at line 72 of file isapnp.h.
Referenced by isapnp_wake().
| #define ISAPNP_RESOURCEDATA 0x04 |
Definition at line 73 of file isapnp.h.
Referenced by isapnp_read_resourcedata().
| #define ISAPNP_STATUS 0x05 |
Definition at line 74 of file isapnp.h.
Referenced by isapnp_read_status().
| #define ISAPNP_CARDSELECTNUMBER 0x06 |
Definition at line 75 of file isapnp.h.
Referenced by isapnp_write_csn().
| #define ISAPNP_LOGICALDEVICENUMBER 0x07 |
Definition at line 76 of file isapnp.h.
Referenced by isapnp_logicaldevice().
| #define ISAPNP_ACTIVATE 0x30 |
Definition at line 77 of file isapnp.h.
Referenced by isapnp_activate(), and isapnp_deactivate().
| #define ISAPNP_IOBASE | ( | n | ) |
Definition at line 79 of file isapnp.h.
Referenced by isapnp_read_iobase().
| #define ISAPNP_IRQNO | ( | n | ) |
Definition at line 80 of file isapnp.h.
Referenced by isapnp_read_irqno().
| #define ISAPNP_CONFIG_WAIT_FOR_KEY ( 1 << 1 ) |
Definition at line 85 of file isapnp.h.
Referenced by isapnp_wait_for_key().
| #define ISAPNP_CONFIG_RESET_CSN ( 1 << 2 ) |
Definition at line 86 of file isapnp.h.
Referenced by isapnp_reset_csn().
| #define ISAPNP_CONFIG_RESET_DRV |
Definition at line 87 of file isapnp.h.
| #define ISAPNP_LFSR_SEED 0x6a |
Definition at line 92 of file isapnp.h.
Referenced by isapnp_checksum(), and isapnp_send_key().
| #define ISAPNP_IS_SMALL_TAG | ( | tag | ) |
| #define ISAPNP_SMALL_TAG_NAME | ( | tag | ) |
Definition at line 96 of file isapnp.h.
Referenced by isapnp_find_tag(), and pci_vpd_find_tag().
| #define ISAPNP_SMALL_TAG_LEN | ( | tag | ) |
Definition at line 97 of file isapnp.h.
Referenced by isapnp_find_tag(), and pci_vpd_find_tag().
| #define ISAPNP_TAG_LOGDEVID 0x02 |
Definition at line 99 of file isapnp.h.
Referenced by isapnp_find_logdevid().
| #define ISAPNP_TAG_END 0x0F |
Definition at line 112 of file isapnp.h.
Referenced by isapnp_find_tag(), and pci_vpd_find_tag().
| #define ISAPNP_IS_LARGE_TAG | ( | tag | ) |
Definition at line 114 of file isapnp.h.
Referenced by pci_vpd_find_tag().
| #define ISAPNP_LARGE_TAG_NAME | ( | tag | ) |
Definition at line 115 of file isapnp.h.
Referenced by isapnp_find_tag(), and pci_vpd_find_tag().
| #define ISAPNP_DRIVERS __table ( struct isapnp_driver, "isapnp_drivers" ) |
| #define __isapnp_driver __table_entry ( ISAPNP_DRIVERS, 01 ) |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
extern |
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 deactivate_isapnp_device(), and isapnp_set_drvdata().
|
inlinestatic |
Activate ISAPnP device.
| isapnp | ISAPnP device |
Definition at line 237 of file isapnp.h.
References isapnp_read_port.
Referenced by t515_probe().
|
inlinestatic |
Deactivate ISAPnP device.
| isapnp | ISAPnP device |
Definition at line 246 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 256 of file isapnp.h.
References isapnp_device_activation().
Referenced by legacy_isapnp_set_drvdata().
|
inlinestatic |
Get ISAPnP driver-private data.
| isapnp | ISAPnP device |
| priv | Private data |
Definition at line 267 of file isapnp.h.
References isapnp_device::priv, and priv.
Referenced by legacy_isapnp_get_drvdata().
|
extern |
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 activate_isapnp_device(), isapnp_isolate(), isapnp_read_data(), isapnp_set_read_port(), isapnp_try_isolate(), isapnpbus_probe(), and pxenv_start_undi().