Lines Matching +full:i2c +full:- +full:hid
2 * HID over I2C ACPI Subclass
9 * "USB HID support for Linux":
12 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
13 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
14 * Copyright (c) 2007-2008 Oliver Neukum
15 * Copyright (c) 2006-2010 Jiri Kosina
24 #include <linux/i2c.h>
30 #include "i2c-hid.h"
40 * ICN8505 controller, has a _CID of PNP0C50 but is not HID compatible.
51 /* HID I²C Device: 3cdff6f7-4267-4555-ad05-b30a3d8938de */
58 struct acpi_device *adev = ihid_acpi->adev; in i2c_hid_acpi_get_descriptor()
64 return -ENODEV; in i2c_hid_acpi_get_descriptor()
69 acpi_handle_err(handle, "Error _DSM call to get HID descriptor address failed\n"); in i2c_hid_acpi_get_descriptor()
70 return -ENODEV; in i2c_hid_acpi_get_descriptor()
73 hid_descriptor_address = obj->integer.value; in i2c_hid_acpi_get_descriptor()
83 acpi_device_set_power(ihid_acpi->adev, ACPI_STATE_D3_COLD); in i2c_hid_acpi_shutdown_tail()
88 struct device *dev = &client->dev; in i2c_hid_acpi_probe()
93 ihid_acpi = devm_kzalloc(&client->dev, sizeof(*ihid_acpi), GFP_KERNEL); in i2c_hid_acpi_probe()
95 return -ENOMEM; in i2c_hid_acpi_probe()
97 ihid_acpi->adev = ACPI_COMPANION(dev); in i2c_hid_acpi_probe()
98 ihid_acpi->ops.shutdown_tail = i2c_hid_acpi_shutdown_tail; in i2c_hid_acpi_probe()
105 acpi_device_fix_up_power(ihid_acpi->adev); in i2c_hid_acpi_probe()
107 return i2c_hid_core_probe(client, &ihid_acpi->ops, in i2c_hid_acpi_probe()
133 MODULE_DESCRIPTION("HID over I2C ACPI driver");