/drivers/i2c/ |
D | i2c-atr.c | 50 struct i2c_atr *atr; member 137 struct i2c_atr *atr = chan->atr; in i2c_atr_map_msgs() local 161 dev_err(atr->dev, "client 0x%02x not mapped!\n", in i2c_atr_map_msgs() 196 struct i2c_atr *atr = chan->atr; in i2c_atr_master_xfer() local 197 struct i2c_adapter *parent = atr->parent; in i2c_atr_master_xfer() 224 struct i2c_atr *atr = chan->atr; in i2c_atr_smbus_xfer() local 225 struct i2c_adapter *parent = atr->parent; in i2c_atr_smbus_xfer() 230 dev_err(atr->dev, "client 0x%02x not mapped!\n", addr); in i2c_atr_smbus_xfer() 241 struct i2c_adapter *parent = chan->atr->parent; in i2c_atr_functionality() 249 struct i2c_atr *atr = chan->atr; in i2c_atr_lock_bus() local [all …]
|
D | Makefile | 16 obj-$(CONFIG_I2C_ATR) += i2c-atr.o
|
/drivers/rtc/ |
D | rtc-isl1208.c | 211 int atr = i2c_smbus_read_byte_data(client, ISL1208_REG_ATR); in isl1208_i2c_get_atr() local 212 if (atr < 0) in isl1208_i2c_get_atr() 213 return atr; in isl1208_i2c_get_atr() 226 atr &= 0x3f; /* mask out lsb */ in isl1208_i2c_get_atr() 227 atr ^= 1 << 5; /* invert 6th bit */ in isl1208_i2c_get_atr() 228 atr += 2 * 9; /* add offset of 4.5pF; unit[atr] = 0.25pF */ in isl1208_i2c_get_atr() 230 return atr; in isl1208_i2c_get_atr() 301 int sr, dtr, atr, usr; in isl1208_rtc_proc() local 324 atr = isl1208_i2c_get_atr(client); in isl1208_rtc_proc() 325 if (atr >= 0) in isl1208_rtc_proc() [all …]
|
D | rtc-x1205.c | 336 s8 atr; in x1205_get_atrim() local 349 .buf = &atr in x1205_get_atrim() 359 dev_dbg(&client->dev, "%s: raw atr=%x\n", __func__, atr); in x1205_get_atrim() 365 atr = sign_extend32(atr, 5); in x1205_get_atrim() 367 dev_dbg(&client->dev, "%s: raw atr=%x (%d)\n", __func__, atr, atr); in x1205_get_atrim() 369 *trim = (atr * 250) + 11000; in x1205_get_atrim()
|
/drivers/nfc/st21nfca/ |
D | se.c | 56 td = ST21NFCA_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st21nfca_se_get_bwi() 61 return info->se_info.atr[i] >> 4; in st21nfca_se_get_bwi() 79 memcpy(info->se_info.atr, skb->data, skb->len); in st21nfca_se_get_atr()
|
D | st21nfca.h | 128 u8 atr[ST21NFCA_ESE_MAX_LENGTH]; member
|
/drivers/scsi/qla2xxx/ |
D | qla_tmpl.c | 367 struct atio *atr = ha->tgt.atio_ring; in qla27xx_fwdt_entry_t263() local 369 if (atr || !buf) { in qla27xx_fwdt_entry_t263() 373 qla27xx_insertbuf(atr, length * sizeof(*atr), buf, len); in qla27xx_fwdt_entry_t263() 666 struct atio *atr = ha->tgt.atio_ring_ptr; in qla27xx_fwdt_entry_t274() local 668 if (atr || !buf) { in qla27xx_fwdt_entry_t274()
|
/drivers/nfc/st-nci/ |
D | st-nci.h | 46 u8 atr[ST_NCI_ESE_MAX_LENGTH]; member
|
D | se.c | 121 td = ST_NCI_ATR_GET_Y_FROM_TD(info->se_info.atr[i]); in st_nci_se_get_bwi() 126 return info->se_info.atr[i] >> 4; in st_nci_se_get_bwi() 144 memcpy(info->se_info.atr, skb->data, skb->len); in st_nci_se_get_atr()
|
/drivers/media/i2c/ |
D | ds90ub960.c | 518 struct i2c_atr *atr; member 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() [all …]
|
D | ds90ub913.c | 666 ret = i2c_atr_add_adapter(priv->plat_data->atr, priv->plat_data->port, in ub913_add_i2c_adapter() 872 i2c_atr_del_adapter(priv->plat_data->atr, priv->plat_data->port); in ub913_remove()
|
D | ds90ub953.c | 1113 ret = i2c_atr_add_adapter(priv->plat_data->atr, priv->plat_data->port, in ub953_add_i2c_adapter() 1384 i2c_atr_del_adapter(priv->plat_data->atr, priv->plat_data->port); in ub953_remove()
|