search for: device_acpi_handle

Displaying 2 results from an estimated 2 matches for "device_acpi_handle".

2009 Sep 20
1
[PATCH 1/2] drm/nouveau: unify logging format with DRM core
Change NV_PRINTK() to use DRM_NAME and DRIVER_NAME, making it essentially generic. Print DRM_NAME in brackets, just like core DRM logging macros do. Convert two printk()'s into NV_* logging macro calls. Signed-off-by: Pekka Paalanen <pq at iki.fi> --- drivers/gpu/drm/nouveau/nouveau_acpi.c | 2 +- drivers/gpu/drm/nouveau/nouveau_drv.h | 8 ++++++--
2008 Dec 25
0
[PATCH 1/4] dom0 linux: Expose HID, UID, SEG, BBN of PCI root bridge via sysfs.
...ect_store); diff -r 618fc299e2f1 -r 4769a6db78f5 include/acpi/acpi_bus.h --- a/include/acpi/acpi_bus.h Thu Dec 18 11:51:36 2008 +0000 +++ b/include/acpi/acpi_bus.h Thu Dec 25 10:37:52 2008 +0900 @@ -359,6 +359,16 @@ acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); #define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->firmware_data)) +#define ACPI_DEVICE_ATTR(_name,_mode,_show,_store) \ +static struct acpi_device_attribute acpi_device_attr_##_name = \ + __ATTR(_name, _mode, _show, _store) + +struct acpi_device_attribute { + struct attribute attr; + ssize_t(*show) (struct acpi_dev...