1 /* SPDX-License-Identifier: GPL-2.0+ */
9 struct i2c_hid_desc *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name);
10 char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
13 static inline struct i2c_hid_desc
14 *i2c_hid_get_dmi_i2c_hid_desc_override(uint8_t *i2c_name)
16 static inline char *i2c_hid_get_dmi_hid_report_desc_override(uint8_t *i2c_name,
22 * struct i2chid_ops - Ops provided to the core.
24 * @power_up: do sequencing to power up the device.
25 * @power_down: do sequencing to power down the device.
26 * @shutdown_tail: called at the end of shutdown.
29 int (*power_up)(struct i2chid_ops *ops);
30 void (*power_down)(struct i2chid_ops *ops);
31 void (*shutdown_tail)(struct i2chid_ops *ops);
34 int i2c_hid_core_probe(struct i2c_client *client, struct i2chid_ops *ops,
35 u16 hid_descriptor_address, u32 quirks);
36 int i2c_hid_core_remove(struct i2c_client *client);
38 void i2c_hid_core_shutdown(struct i2c_client *client);
40 extern const struct dev_pm_ops i2c_hid_core_pm;