Lines Matching full:atr
26 * - i2c-atr could be made embeddable instead of allocatable.
34 #include <linux/i2c-atr.h>
518 struct i2c_atr *atr; member
1024 * I2C-ATR (address translator)
1027 static int ub960_atr_attach_client(struct i2c_atr *atr, u32 chan_id, in ub960_atr_attach_client() argument
1030 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_attach_client()
1058 static void ub960_atr_detach_client(struct i2c_atr *atr, u32 chan_id, in ub960_atr_detach_client() argument
1061 struct ub960_data *priv = i2c_atr_get_driver_data(atr); in ub960_atr_detach_client()
1095 priv->atr = i2c_atr_new(parent_adap, dev, &ub960_atr_ops, in ub960_init_atr()
1097 if (IS_ERR(priv->atr)) in ub960_init_atr()
1098 return PTR_ERR(priv->atr); in ub960_init_atr()
1100 i2c_atr_set_driver_data(priv->atr, priv); in ub960_init_atr()
1107 i2c_atr_delete(priv->atr); in ub960_uninit_atr()
1108 priv->atr = NULL; in ub960_uninit_atr()
1656 ser_pdata->atr = priv->atr; in ub960_rxport_add_serializer()