acpi_bus.h (493837009665a5ea1d91ed5fe4bab0ed546cae86) | acpi_bus.h (46ec8598fde74ba59703575c22a6fb0b6b151bb6) |
---|---|
1/* 2 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 81 unchanged lines hidden (view full) --- 90typedef int (*acpi_op_remove) (struct acpi_device * device, int type); 91typedef int (*acpi_op_start) (struct acpi_device * device); 92typedef int (*acpi_op_stop) (struct acpi_device * device, int type); 93typedef int (*acpi_op_suspend) (struct acpi_device * device, 94 pm_message_t state); 95typedef int (*acpi_op_resume) (struct acpi_device * device); 96typedef int (*acpi_op_bind) (struct acpi_device * device); 97typedef int (*acpi_op_unbind) (struct acpi_device * device); | 1/* 2 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 81 unchanged lines hidden (view full) --- 90typedef int (*acpi_op_remove) (struct acpi_device * device, int type); 91typedef int (*acpi_op_start) (struct acpi_device * device); 92typedef int (*acpi_op_stop) (struct acpi_device * device, int type); 93typedef int (*acpi_op_suspend) (struct acpi_device * device, 94 pm_message_t state); 95typedef int (*acpi_op_resume) (struct acpi_device * device); 96typedef int (*acpi_op_bind) (struct acpi_device * device); 97typedef int (*acpi_op_unbind) (struct acpi_device * device); |
98typedef void (*acpi_op_notify) (struct acpi_device * device, u32 event); |
|
98 99struct acpi_bus_ops { 100 u32 acpi_op_add:1; 101 u32 acpi_op_start:1; 102}; 103 104struct acpi_device_ops { 105 acpi_op_add add; 106 acpi_op_remove remove; 107 acpi_op_start start; 108 acpi_op_stop stop; 109 acpi_op_suspend suspend; 110 acpi_op_resume resume; 111 acpi_op_bind bind; 112 acpi_op_unbind unbind; | 99 100struct acpi_bus_ops { 101 u32 acpi_op_add:1; 102 u32 acpi_op_start:1; 103}; 104 105struct acpi_device_ops { 106 acpi_op_add add; 107 acpi_op_remove remove; 108 acpi_op_start start; 109 acpi_op_stop stop; 110 acpi_op_suspend suspend; 111 acpi_op_resume resume; 112 acpi_op_bind bind; 113 acpi_op_unbind unbind; |
114 acpi_op_notify notify; |
|
113}; 114 115struct acpi_driver { 116 char name[80]; 117 char class[80]; 118 const struct acpi_device_id *ids; /* Supported Hardware IDs */ 119 struct acpi_device_ops ops; 120 struct device_driver drv; --- 272 unchanged lines hidden --- | 115}; 116 117struct acpi_driver { 118 char name[80]; 119 char class[80]; 120 const struct acpi_device_id *ids; /* Supported Hardware IDs */ 121 struct acpi_device_ops ops; 122 struct device_driver drv; --- 272 unchanged lines hidden --- |