Displaying 7 results from an estimated 7 matches for "acpi_devic".
Did you mean:
acpi_device
2008 Dec 25
0
[PATCH 1/4] dom0 linux: Expose HID, UID, SEG, BBN of PCI root bridge via sysfs.
...Signed-off-by: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
diff -r 618fc299e2f1 -r 4769a6db78f5 drivers/acpi/pci_root.c
--- a/drivers/acpi/pci_root.c Thu Dec 18 11:51:36 2008 +0000
+++ b/drivers/acpi/pci_root.c Thu Dec 25 10:37:52 2008 +0900
@@ -151,6 +151,36 @@
return AE_OK;
}
+ssize_t
+acpi_device_seg_show(struct acpi_device *acpi_dev, char *buf)
+{
+ struct list_head *entry;
+
+ list_for_each(entry, &acpi_pci_roots) {
+ struct acpi_pci_root *root;
+ root = list_entry(entry, struct acpi_pci_root, node);
+ if (root->device == acpi_dev)
+ return sprintf(buf, "%04x\n", r...
2012 Nov 19
0
[PATCH 222/493] char: remove use of __devinit
...c(void)
{
acpi_status status;
struct SPMITable *spmi;
@@ -2128,7 +2128,7 @@ static void __devinit spmi_find_bmc(void)
}
}
-static int __devinit ipmi_pnp_probe(struct pnp_dev *dev,
+static int ipmi_pnp_probe(struct pnp_dev *dev,
const struct pnp_device_id *dev_id)
{
struct acpi_device *acpi_dev;
@@ -2258,7 +2258,7 @@ struct dmi_ipmi_data {
u8 slave_addr;
};
-static int __devinit decode_dmi(const struct dmi_header *dm,
+static int decode_dmi(const struct dmi_header *dm,
struct dmi_ipmi_data *dmi)
{
const u8 *data = (const u8 *)dm;
@@ -2320,7 +2320,7 @@...
2012 Nov 19
0
[PATCH 222/493] char: remove use of __devinit
...c(void)
{
acpi_status status;
struct SPMITable *spmi;
@@ -2128,7 +2128,7 @@ static void __devinit spmi_find_bmc(void)
}
}
-static int __devinit ipmi_pnp_probe(struct pnp_dev *dev,
+static int ipmi_pnp_probe(struct pnp_dev *dev,
const struct pnp_device_id *dev_id)
{
struct acpi_device *acpi_dev;
@@ -2258,7 +2258,7 @@ struct dmi_ipmi_data {
u8 slave_addr;
};
-static int __devinit decode_dmi(const struct dmi_header *dm,
+static int decode_dmi(const struct dmi_header *dm,
struct dmi_ipmi_data *dmi)
{
const u8 *data = (const u8 *)dm;
@@ -2320,7 +2320,7 @@...
2016 Aug 04
2
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...ivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
>> index 55cf10bc7817..60cf7a0c7170 100644
>> --- a/drivers/platform/x86/classmate-laptop.c
>> +++ b/drivers/platform/x86/classmate-laptop.c
>> @@ -970,7 +970,8 @@ static int cmpc_ipml_add(struct acpi_device *acpi)
>> props.max_brightness = 7;
>> ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev,
>> acpi->handle, &cmpc_bl_ops,
>> - &props);
>> + &props,
>> + BACKLIGHT_REGISTER_FB_C...
2016 Jul 12
0
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
> index 55cf10bc7817..60cf7a0c7170 100644
> --- a/drivers/platform/x86/classmate-laptop.c
> +++ b/drivers/platform/x86/classmate-laptop.c
> @@ -970,7 +970,8 @@ static int cmpc_ipml_add(struct acpi_device *acpi)
> props.max_brightness = 7;
> ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev,
> acpi->handle, &cmpc_bl_ops,
> - &props);
> + &props,
> + BACKLIGHT_REGISTER_FB_CLIENT);
> if (IS_ER...
2016 Jun 30
6
[PATCH] backlight: Avoid double fbcon backlight handling
...return PTR_ERR(bd);
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
index 55cf10bc7817..60cf7a0c7170 100644
--- a/drivers/platform/x86/classmate-laptop.c
+++ b/drivers/platform/x86/classmate-laptop.c
@@ -970,7 +970,8 @@ static int cmpc_ipml_add(struct acpi_device *acpi)
props.max_brightness = 7;
ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev,
acpi->handle, &cmpc_bl_ops,
- &props);
+ &props,
+ BACKLIGHT_REGISTER_FB_CLIENT);
if (IS_ERR(ipml->bd)) {
retval = PTR_E...
2016 Aug 04
1
[Intel-gfx] [PATCH] backlight: Avoid double fbcon backlight handling
...lassmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
> >> index 55cf10bc7817..60cf7a0c7170 100644
> >> --- a/drivers/platform/x86/classmate-laptop.c
> >> +++ b/drivers/platform/x86/classmate-laptop.c
> >> @@ -970,7 +970,8 @@ static int cmpc_ipml_add(struct acpi_device *acpi)
> >> props.max_brightness = 7;
> >> ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev,
> >> acpi->handle, &cmpc_bl_ops,
> >> - &props);
> >> + &props,
> >> +...