#include <linux/device.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/mod_devicetable.h>
Go to the source code of this file.
|
#define | PNP_NAME_LEN 50 |
|
#define | global_to_pnp_card(n) list_entry(n, struct pnp_card, global_list) |
|
#define | protocol_to_pnp_card(n) list_entry(n, struct pnp_card, protocol_list) |
|
#define | to_pnp_card(n) container_of(n, struct pnp_card, dev) |
|
#define | pnp_for_each_card(card) |
|
#define | global_to_pnp_dev(n) list_entry(n, struct pnp_dev, global_list) |
|
#define | card_to_pnp_dev(n) list_entry(n, struct pnp_dev, card_list) |
|
#define | protocol_to_pnp_dev(n) list_entry(n, struct pnp_dev, protocol_list) |
|
#define | to_pnp_dev(n) container_of(n, struct pnp_dev, dev) |
|
#define | pnp_for_each_dev(dev) |
|
#define | card_for_each_dev(card, dev) |
|
#define | pnp_dev_name(dev) (dev)->name |
|
#define | PNP_CONFIG_NORMAL 0x0001 |
|
#define | PNP_CONFIG_FORCE 0x0002 /* disables validity checking */ |
|
#define | PNP_READ 0x0001 |
|
#define | PNP_WRITE 0x0002 |
|
#define | PNP_DISABLE 0x0004 |
|
#define | PNP_CONFIGURABLE 0x0008 |
|
#define | PNP_REMOVABLE 0x0010 |
|
#define | pnp_can_read(dev) |
|
#define | pnp_can_write(dev) |
|
#define | pnp_can_disable(dev) |
|
#define | pnp_can_configure(dev) |
|
#define | pnp_device_is_isapnp(dev) 0 |
|
#define | pnp_device_is_pnpbios(dev) 0 |
|
#define | pnp_acpi_device(dev) 0 |
|
#define | PNP_READY 0x0000 |
|
#define | PNP_ATTACHED 0x0001 |
|
#define | PNP_BUSY 0x0002 |
|
#define | PNP_FAULTY 0x0004 |
|
#define | isapnp_card_number(dev) ((dev)->card ? (dev)->card->number : -1) |
|
#define | isapnp_csn_number(dev) ((dev)->number) |
|
#define | to_pnp_driver(drv) container_of(drv, struct pnp_driver, driver) |
|
#define | to_pnp_card_driver(drv) container_of(drv, struct pnp_card_driver, link) |
|
#define | PNP_DRIVER_RES_DO_NOT_CHANGE 0x0001 /* do not change the state of the device */ |
|
#define | PNP_DRIVER_RES_DISABLE 0x0003 /* ensure the device is disabled */ |
|
#define | to_pnp_protocol(n) list_entry(n, struct pnp_protocol, protocol_list) |
|
#define | protocol_for_each_card(protocol, card) |
|
#define | protocol_for_each_dev(protocol, dev) |
|
#define | pnp_platform_devices 0 |
|
#define card_for_each_dev |
( |
|
card, |
|
|
|
dev |
|
) |
| |
Value:
Definition at line 281 of file pnp.h.
#define pnp_acpi_device |
( |
|
dev | ) |
0 |
#define PNP_ATTACHED 0x0001 |
#define pnp_can_configure |
( |
|
dev | ) |
|
Value:
Definition at line 319 of file pnp.h.
#define pnp_can_disable |
( |
|
dev | ) |
|
Value:
Definition at line 317 of file pnp.h.
#define pnp_can_read |
( |
|
dev | ) |
|
Value:
Definition at line 313 of file pnp.h.
#define pnp_can_write |
( |
|
dev | ) |
|
Value:
Definition at line 315 of file pnp.h.
#define PNP_CONFIG_FORCE 0x0002 /* disables validity checking */ |
#define PNP_CONFIG_NORMAL 0x0001 |
#define PNP_CONFIGURABLE 0x0008 |
#define pnp_device_is_isapnp |
( |
|
dev | ) |
0 |
#define pnp_device_is_pnpbios |
( |
|
dev | ) |
0 |
#define PNP_DISABLE 0x0004 |
#define PNP_DRIVER_RES_DISABLE 0x0003 /* ensure the device is disabled */ |
#define PNP_DRIVER_RES_DO_NOT_CHANGE 0x0001 /* do not change the state of the device */ |
#define PNP_FAULTY 0x0004 |
#define pnp_for_each_card |
( |
|
card | ) |
|
Value:
Definition at line 221 of file pnp.h.
#define pnp_for_each_dev |
( |
|
dev | ) |
|
Value:
Definition at line 277 of file pnp.h.
Definition at line 16 of file pnp.h.
#define pnp_platform_devices 0 |
#define PNP_REMOVABLE 0x0010 |
Value:
Definition at line 429 of file pnp.h.
Value:
Definition at line 433 of file pnp.h.