Lines Matching defs:elan_transport_ops
72 struct elan_transport_ops { struct
73 int (*initialize)(struct i2c_client *client);
74 int (*sleep_control)(struct i2c_client *, bool sleep);
75 int (*power_control)(struct i2c_client *, bool enable);
76 int (*set_mode)(struct i2c_client *client, u8 mode);
78 int (*calibrate)(struct i2c_client *client);
79 int (*calibrate_result)(struct i2c_client *client, u8 *val);
81 int (*get_baseline_data)(struct i2c_client *client,
84 int (*get_version)(struct i2c_client *client, u8 pattern, bool iap,
86 int (*get_sm_version)(struct i2c_client *client, u8 pattern,
88 int (*get_checksum)(struct i2c_client *client, bool iap, u16 *csum);
89 int (*get_product_id)(struct i2c_client *client, u16 *id);
91 int (*get_max)(struct i2c_client *client,
93 int (*get_resolution)(struct i2c_client *client,
95 int (*get_num_traces)(struct i2c_client *client,
119 extern const struct elan_transport_ops elan_smbus_ops, elan_i2c_ops; argument