Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
mod_devicetable.h File Reference

Go to the source code of this file.

Data Structures

struct  pci_device_id
 
struct  ieee1394_device_id
 
struct  usb_device_id
 
struct  hid_device_id
 
struct  ccw_device_id
 
struct  ap_device_id
 
struct  css_device_id
 
struct  acpi_device_id
 
struct  pnp_device_id
 
struct  pnp_card_device_id
 
struct  serio_device_id
 
struct  of_device_id
 
struct  vio_device_id
 
struct  pcmcia_device_id
 
struct  input_device_id
 
struct  eisa_device_id
 
struct  parisc_device_id
 
struct  sdio_device_id
 
struct  ssb_device_id
 
struct  bcma_device_id
 
struct  virtio_device_id
 
struct  hv_vmbus_device_id
 
struct  rpmsg_device_id
 
struct  i2c_device_id
 
struct  spi_device_id
 
struct  dmi_strmatch
 
struct  dmi_system_id
 
struct  platform_device_id
 
struct  mdio_device_id
 
struct  zorro_device_id
 
struct  isapnp_device_id
 
struct  amba_id
 
struct  x86_cpu_id
 
struct  ipack_device_id
 

Macros

#define PCI_ANY_ID   (~0)
 
#define IEEE1394_MATCH_VENDOR_ID   0x0001
 
#define IEEE1394_MATCH_MODEL_ID   0x0002
 
#define IEEE1394_MATCH_SPECIFIER_ID   0x0004
 
#define IEEE1394_MATCH_VERSION   0x0008
 
#define USB_DEVICE_ID_MATCH_VENDOR   0x0001
 
#define USB_DEVICE_ID_MATCH_PRODUCT   0x0002
 
#define USB_DEVICE_ID_MATCH_DEV_LO   0x0004
 
#define USB_DEVICE_ID_MATCH_DEV_HI   0x0008
 
#define USB_DEVICE_ID_MATCH_DEV_CLASS   0x0010
 
#define USB_DEVICE_ID_MATCH_DEV_SUBCLASS   0x0020
 
#define USB_DEVICE_ID_MATCH_DEV_PROTOCOL   0x0040
 
#define USB_DEVICE_ID_MATCH_INT_CLASS   0x0080
 
#define USB_DEVICE_ID_MATCH_INT_SUBCLASS   0x0100
 
#define USB_DEVICE_ID_MATCH_INT_PROTOCOL   0x0200
 
#define USB_DEVICE_ID_MATCH_INT_NUMBER   0x0400
 
#define HID_ANY_ID   (~0)
 
#define HID_BUS_ANY   0xffff
 
#define HID_GROUP_ANY   0x0000
 
#define CCW_DEVICE_ID_MATCH_CU_TYPE   0x01
 
#define CCW_DEVICE_ID_MATCH_CU_MODEL   0x02
 
#define CCW_DEVICE_ID_MATCH_DEVICE_TYPE   0x04
 
#define CCW_DEVICE_ID_MATCH_DEVICE_MODEL   0x08
 
#define AP_DEVICE_ID_MATCH_DEVICE_TYPE   0x01
 
#define ACPI_ID_LEN   16 /* only 9 bytes needed here, 16 bytes are used */
 
#define PNP_ID_LEN   8
 
#define PNP_MAX_DEVICES   8
 
#define SERIO_ANY   0xff
 
#define PCMCIA_DEV_ID_MATCH_MANF_ID   0x0001
 
#define PCMCIA_DEV_ID_MATCH_CARD_ID   0x0002
 
#define PCMCIA_DEV_ID_MATCH_FUNC_ID   0x0004
 
#define PCMCIA_DEV_ID_MATCH_FUNCTION   0x0008
 
#define PCMCIA_DEV_ID_MATCH_PROD_ID1   0x0010
 
#define PCMCIA_DEV_ID_MATCH_PROD_ID2   0x0020
 
#define PCMCIA_DEV_ID_MATCH_PROD_ID3   0x0040
 
#define PCMCIA_DEV_ID_MATCH_PROD_ID4   0x0080
 
#define PCMCIA_DEV_ID_MATCH_DEVICE_NO   0x0100
 
#define PCMCIA_DEV_ID_MATCH_FAKE_CIS   0x0200
 
#define PCMCIA_DEV_ID_MATCH_ANONYMOUS   0x0400
 
#define INPUT_DEVICE_ID_EV_MAX   0x1f
 
#define INPUT_DEVICE_ID_KEY_MIN_INTERESTING   0x71
 
#define INPUT_DEVICE_ID_KEY_MAX   0x2ff
 
#define INPUT_DEVICE_ID_REL_MAX   0x0f
 
#define INPUT_DEVICE_ID_ABS_MAX   0x3f
 
#define INPUT_DEVICE_ID_MSC_MAX   0x07
 
#define INPUT_DEVICE_ID_LED_MAX   0x0f
 
#define INPUT_DEVICE_ID_SND_MAX   0x07
 
#define INPUT_DEVICE_ID_FF_MAX   0x7f
 
#define INPUT_DEVICE_ID_SW_MAX   0x0f
 
#define INPUT_DEVICE_ID_MATCH_BUS   1
 
#define INPUT_DEVICE_ID_MATCH_VENDOR   2
 
#define INPUT_DEVICE_ID_MATCH_PRODUCT   4
 
#define INPUT_DEVICE_ID_MATCH_VERSION   8
 
#define INPUT_DEVICE_ID_MATCH_EVBIT   0x0010
 
#define INPUT_DEVICE_ID_MATCH_KEYBIT   0x0020
 
#define INPUT_DEVICE_ID_MATCH_RELBIT   0x0040
 
#define INPUT_DEVICE_ID_MATCH_ABSBIT   0x0080
 
#define INPUT_DEVICE_ID_MATCH_MSCIT   0x0100
 
#define INPUT_DEVICE_ID_MATCH_LEDBIT   0x0200
 
#define INPUT_DEVICE_ID_MATCH_SNDBIT   0x0400
 
#define INPUT_DEVICE_ID_MATCH_FFBIT   0x0800
 
#define INPUT_DEVICE_ID_MATCH_SWBIT   0x1000
 
#define EISA_SIG_LEN   8
 
#define EISA_DEVICE_MODALIAS_FMT   "eisa:s%s"
 
#define PA_HWTYPE_ANY_ID   0xff
 
#define PA_HVERSION_REV_ANY_ID   0xff
 
#define PA_HVERSION_ANY_ID   0xffff
 
#define PA_SVERSION_ANY_ID   0xffffffff
 
#define SDIO_ANY_ID   (~0)
 
#define SSB_DEVICE(_vendor, _coreid, _revision)   { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }
 
#define SSB_DEVTABLE_END   { 0, },
 
#define SSB_ANY_VENDOR   0xFFFF
 
#define SSB_ANY_ID   0xFFFF
 
#define SSB_ANY_REV   0xFF
 
#define BCMA_CORE(_manuf, _id, _rev, _class)   { .manuf = _manuf, .id = _id, .rev = _rev, .class = _class, }
 
#define BCMA_CORETABLE_END   { 0, },
 
#define BCMA_ANY_MANUF   0xFFFF
 
#define BCMA_ANY_ID   0xFFFF
 
#define BCMA_ANY_REV   0xFF
 
#define BCMA_ANY_CLASS   0xFF
 
#define VIRTIO_DEV_ANY_ID   0xffffffff
 
#define RPMSG_NAME_SIZE   32
 
#define RPMSG_DEVICE_MODALIAS_FMT   "rpmsg:%s"
 
#define I2C_NAME_SIZE   20
 
#define I2C_MODULE_PREFIX   "i2c:"
 
#define SPI_NAME_SIZE   32
 
#define SPI_MODULE_PREFIX   "spi:"
 
#define DMI_MATCH(a, b)   { a, b }
 
#define PLATFORM_NAME_SIZE   20
 
#define PLATFORM_MODULE_PREFIX   "platform:"
 
#define MDIO_MODULE_PREFIX   "mdio:"
 
#define MDIO_ID_FMT   "%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d"
 
#define MDIO_ID_ARGS(_id)
 
#define ZORRO_WILDCARD   (0xffffffff) /* not official */
 
#define ZORRO_DEVICE_MODALIAS_FMT   "zorro:i%08X"
 
#define ISAPNP_ANY_ID   0xffff
 
#define X86_FEATURE_MATCH(x)   { X86_VENDOR_ANY, X86_FAMILY_ANY, X86_MODEL_ANY, x }
 
#define X86_VENDOR_ANY   0xffff
 
#define X86_FAMILY_ANY   0
 
#define X86_MODEL_ANY   0
 
#define X86_FEATURE_ANY   0 /* Same as FPU, you can't test for that */
 
#define IPACK_ANY_FORMAT   0xff
 
#define IPACK_ANY_ID   (~0)
 

Enumerations

enum  dmi_field {
  DMI_NONE, DMI_BIOS_VENDOR, DMI_BIOS_VERSION, DMI_BIOS_DATE,
  DMI_SYS_VENDOR, DMI_PRODUCT_NAME, DMI_PRODUCT_VERSION, DMI_PRODUCT_SERIAL,
  DMI_PRODUCT_UUID, DMI_BOARD_VENDOR, DMI_BOARD_NAME, DMI_BOARD_VERSION,
  DMI_BOARD_SERIAL, DMI_BOARD_ASSET_TAG, DMI_CHASSIS_VENDOR, DMI_CHASSIS_TYPE,
  DMI_CHASSIS_VERSION, DMI_CHASSIS_SERIAL, DMI_CHASSIS_ASSET_TAG, DMI_STRING_MAX
}
 

Macro Definition Documentation

#define ACPI_ID_LEN   16 /* only 9 bytes needed here, 16 bytes are used */

Definition at line 192 of file mod_devicetable.h.

#define AP_DEVICE_ID_MATCH_DEVICE_TYPE   0x01

Definition at line 181 of file mod_devicetable.h.

#define BCMA_ANY_CLASS   0xFF

Definition at line 410 of file mod_devicetable.h.

#define BCMA_ANY_ID   0xFFFF

Definition at line 408 of file mod_devicetable.h.

#define BCMA_ANY_MANUF   0xFFFF

Definition at line 407 of file mod_devicetable.h.

#define BCMA_ANY_REV   0xFF

Definition at line 409 of file mod_devicetable.h.

#define BCMA_CORE (   _manuf,
  _id,
  _rev,
  _class 
)    { .manuf = _manuf, .id = _id, .rev = _rev, .class = _class, }

Definition at line 402 of file mod_devicetable.h.

#define BCMA_CORETABLE_END   { 0, },

Definition at line 404 of file mod_devicetable.h.

#define CCW_DEVICE_ID_MATCH_CU_MODEL   0x02

Definition at line 168 of file mod_devicetable.h.

#define CCW_DEVICE_ID_MATCH_CU_TYPE   0x01

Definition at line 167 of file mod_devicetable.h.

#define CCW_DEVICE_ID_MATCH_DEVICE_MODEL   0x08

Definition at line 170 of file mod_devicetable.h.

#define CCW_DEVICE_ID_MATCH_DEVICE_TYPE   0x04

Definition at line 169 of file mod_devicetable.h.

#define DMI_MATCH (   a,
  b 
)    { a, b }

Definition at line 511 of file mod_devicetable.h.

#define EISA_DEVICE_MODALIAS_FMT   "eisa:s%s"

Definition at line 354 of file mod_devicetable.h.

#define EISA_SIG_LEN   8

Definition at line 346 of file mod_devicetable.h.

#define HID_ANY_ID   (~0)

Definition at line 142 of file mod_devicetable.h.

#define HID_BUS_ANY   0xffff

Definition at line 143 of file mod_devicetable.h.

#define HID_GROUP_ANY   0x0000

Definition at line 144 of file mod_devicetable.h.

#define I2C_MODULE_PREFIX   "i2c:"

Definition at line 439 of file mod_devicetable.h.

#define I2C_NAME_SIZE   20

Definition at line 438 of file mod_devicetable.h.

#define IEEE1394_MATCH_MODEL_ID   0x0002

Definition at line 26 of file mod_devicetable.h.

#define IEEE1394_MATCH_SPECIFIER_ID   0x0004

Definition at line 27 of file mod_devicetable.h.

#define IEEE1394_MATCH_VENDOR_ID   0x0001

Definition at line 25 of file mod_devicetable.h.

#define IEEE1394_MATCH_VERSION   0x0008

Definition at line 28 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_ABS_MAX   0x3f

Definition at line 300 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_EV_MAX   0x1f

Definition at line 296 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_FF_MAX   0x7f

Definition at line 304 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_KEY_MAX   0x2ff

Definition at line 298 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_KEY_MIN_INTERESTING   0x71

Definition at line 297 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_LED_MAX   0x0f

Definition at line 302 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_ABSBIT   0x0080

Definition at line 315 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_BUS   1

Definition at line 307 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_EVBIT   0x0010

Definition at line 312 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_FFBIT   0x0800

Definition at line 319 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_KEYBIT   0x0020

Definition at line 313 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_LEDBIT   0x0200

Definition at line 317 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_MSCIT   0x0100

Definition at line 316 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_PRODUCT   4

Definition at line 309 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_RELBIT   0x0040

Definition at line 314 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_SNDBIT   0x0400

Definition at line 318 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_SWBIT   0x1000

Definition at line 320 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_VENDOR   2

Definition at line 308 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MATCH_VERSION   8

Definition at line 310 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_MSC_MAX   0x07

Definition at line 301 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_REL_MAX   0x0f

Definition at line 299 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_SND_MAX   0x07

Definition at line 303 of file mod_devicetable.h.

#define INPUT_DEVICE_ID_SW_MAX   0x0f

Definition at line 305 of file mod_devicetable.h.

#define IPACK_ANY_FORMAT   0xff

Definition at line 603 of file mod_devicetable.h.

#define IPACK_ANY_ID   (~0)

Definition at line 604 of file mod_devicetable.h.

#define ISAPNP_ANY_ID   0xffff

Definition at line 557 of file mod_devicetable.h.

#define MDIO_ID_ARGS (   _id)
Value:
(_id)>>31, ((_id)>>30) & 1, ((_id)>>29) & 1, ((_id)>>28) & 1, \
((_id)>>27) & 1, ((_id)>>26) & 1, ((_id)>>25) & 1, ((_id)>>24) & 1, \
((_id)>>23) & 1, ((_id)>>22) & 1, ((_id)>>21) & 1, ((_id)>>20) & 1, \
((_id)>>19) & 1, ((_id)>>18) & 1, ((_id)>>17) & 1, ((_id)>>16) & 1, \
((_id)>>15) & 1, ((_id)>>14) & 1, ((_id)>>13) & 1, ((_id)>>12) & 1, \
((_id)>>11) & 1, ((_id)>>10) & 1, ((_id)>>9) & 1, ((_id)>>8) & 1, \
((_id)>>7) & 1, ((_id)>>6) & 1, ((_id)>>5) & 1, ((_id)>>4) & 1, \
((_id)>>3) & 1, ((_id)>>2) & 1, ((_id)>>1) & 1, (_id) & 1

Definition at line 525 of file mod_devicetable.h.

#define MDIO_ID_FMT   "%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d"

Definition at line 524 of file mod_devicetable.h.

#define MDIO_MODULE_PREFIX   "mdio:"

Definition at line 522 of file mod_devicetable.h.

#define PA_HVERSION_ANY_ID   0xffff

Definition at line 365 of file mod_devicetable.h.

#define PA_HVERSION_REV_ANY_ID   0xff

Definition at line 364 of file mod_devicetable.h.

#define PA_HWTYPE_ANY_ID   0xff

Definition at line 363 of file mod_devicetable.h.

#define PA_SVERSION_ANY_ID   0xffffffff

Definition at line 366 of file mod_devicetable.h.

#define PCI_ANY_ID   (~0)

Definition at line 15 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_ANONYMOUS   0x0400

Definition at line 293 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_CARD_ID   0x0002

Definition at line 284 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_DEVICE_NO   0x0100

Definition at line 291 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_FAKE_CIS   0x0200

Definition at line 292 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_FUNC_ID   0x0004

Definition at line 285 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_FUNCTION   0x0008

Definition at line 286 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_MANF_ID   0x0001

Definition at line 283 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_PROD_ID1   0x0010

Definition at line 287 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_PROD_ID2   0x0020

Definition at line 288 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_PROD_ID3   0x0040

Definition at line 289 of file mod_devicetable.h.

#define PCMCIA_DEV_ID_MATCH_PROD_ID4   0x0080

Definition at line 290 of file mod_devicetable.h.

#define PLATFORM_MODULE_PREFIX   "platform:"

Definition at line 514 of file mod_devicetable.h.

#define PLATFORM_NAME_SIZE   20

Definition at line 513 of file mod_devicetable.h.

#define PNP_ID_LEN   8

Definition at line 200 of file mod_devicetable.h.

#define PNP_MAX_DEVICES   8

Definition at line 201 of file mod_devicetable.h.

#define RPMSG_DEVICE_MODALIAS_FMT   "rpmsg:%s"

Definition at line 430 of file mod_devicetable.h.

#define RPMSG_NAME_SIZE   32

Definition at line 429 of file mod_devicetable.h.

#define SDIO_ANY_ID   (~0)

Definition at line 370 of file mod_devicetable.h.

#define SERIO_ANY   0xff

Definition at line 217 of file mod_devicetable.h.

#define SPI_MODULE_PREFIX   "spi:"

Definition at line 450 of file mod_devicetable.h.

#define SPI_NAME_SIZE   32

Definition at line 449 of file mod_devicetable.h.

#define SSB_ANY_ID   0xFFFF

Definition at line 392 of file mod_devicetable.h.

#define SSB_ANY_REV   0xFF

Definition at line 393 of file mod_devicetable.h.

#define SSB_ANY_VENDOR   0xFFFF

Definition at line 391 of file mod_devicetable.h.

#define SSB_DEVICE (   _vendor,
  _coreid,
  _revision 
)    { .vendor = _vendor, .coreid = _coreid, .revision = _revision, }

Definition at line 386 of file mod_devicetable.h.

#define SSB_DEVTABLE_END   { 0, },

Definition at line 388 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_DEV_CLASS   0x0010

Definition at line 134 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_DEV_HI   0x0008

Definition at line 133 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_DEV_LO   0x0004

Definition at line 132 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_DEV_PROTOCOL   0x0040

Definition at line 136 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_DEV_SUBCLASS   0x0020

Definition at line 135 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_INT_CLASS   0x0080

Definition at line 137 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_INT_NUMBER   0x0400

Definition at line 140 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_INT_PROTOCOL   0x0200

Definition at line 139 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_INT_SUBCLASS   0x0100

Definition at line 138 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_PRODUCT   0x0002

Definition at line 131 of file mod_devicetable.h.

#define USB_DEVICE_ID_MATCH_VENDOR   0x0001

Definition at line 130 of file mod_devicetable.h.

#define VIRTIO_DEV_ANY_ID   0xffffffff

Definition at line 416 of file mod_devicetable.h.

#define X86_FAMILY_ANY   0

Definition at line 599 of file mod_devicetable.h.

#define X86_FEATURE_ANY   0 /* Same as FPU, you can't test for that */

Definition at line 601 of file mod_devicetable.h.

#define X86_FEATURE_MATCH (   x)    { X86_VENDOR_ANY, X86_FAMILY_ANY, X86_MODEL_ANY, x }

Definition at line 595 of file mod_devicetable.h.

#define X86_MODEL_ANY   0

Definition at line 600 of file mod_devicetable.h.

#define X86_VENDOR_ANY   0xffff

Definition at line 598 of file mod_devicetable.h.

#define ZORRO_DEVICE_MODALIAS_FMT   "zorro:i%08X"

Definition at line 555 of file mod_devicetable.h.

#define ZORRO_WILDCARD   (0xffffffff) /* not official */

Definition at line 553 of file mod_devicetable.h.

Enumeration Type Documentation

enum dmi_field
Enumerator:
DMI_NONE 
DMI_BIOS_VENDOR 
DMI_BIOS_VERSION 
DMI_BIOS_DATE 
DMI_SYS_VENDOR 
DMI_PRODUCT_NAME 
DMI_PRODUCT_VERSION 
DMI_PRODUCT_SERIAL 
DMI_PRODUCT_UUID 
DMI_BOARD_VENDOR 
DMI_BOARD_NAME 
DMI_BOARD_VERSION 
DMI_BOARD_SERIAL 
DMI_BOARD_ASSET_TAG 
DMI_CHASSIS_VENDOR 
DMI_CHASSIS_TYPE 
DMI_CHASSIS_VERSION 
DMI_CHASSIS_SERIAL 
DMI_CHASSIS_ASSET_TAG 
DMI_STRING_MAX 

Definition at line 459 of file mod_devicetable.h.