Lines Matching full:atr
22 * struct i2c_atr_ops - Callbacks from ATR to the device driver.
33 int (*attach_client)(struct i2c_atr *atr, u32 chan_id,
35 void (*detach_client)(struct i2c_atr *atr, u32 chan_id,
40 * i2c_atr_new() - Allocate and initialize an I2C ATR helper.
42 * @dev: The device acting as an ATR
46 * The new ATR helper is connected to the parent adapter but has no child
51 * Return: pointer to the new ATR helper object, or ERR_PTR
57 * i2c_atr_delete - Delete an I2C ATR helper.
58 * @atr: I2C ATR helper to be deleted.
63 void i2c_atr_delete(struct i2c_atr *atr);
67 * @atr: The I2C ATR
71 * to use the i2c-atr device as the parent.
82 * under the i2c-atr device's 'i2c-atr' node.
88 int i2c_atr_add_adapter(struct i2c_atr *atr, u32 chan_id,
96 * @atr: The I2C ATR
99 void i2c_atr_del_adapter(struct i2c_atr *atr, u32 chan_id);
102 * i2c_atr_set_driver_data - Set private driver data to the i2c-atr instance.
103 * @atr: The I2C ATR
106 void i2c_atr_set_driver_data(struct i2c_atr *atr, void *data);
110 * @atr: The I2C ATR
114 void *i2c_atr_get_driver_data(struct i2c_atr *atr);