Lines Matching refs:nvm_client
39 struct i2c_client *nvm_client; member
285 .addr = priv->nvm_client->addr, in isl12026_nvm_read()
290 .addr = priv->nvm_client->addr, in isl12026_nvm_read()
308 ret = i2c_transfer(priv->nvm_client->adapter, msgs, ARRAY_SIZE(msgs)); in isl12026_nvm_read()
313 dev_err(&priv->nvm_client->dev, in isl12026_nvm_read()
331 .addr = priv->nvm_client->addr, in isl12026_nvm_write()
358 ret = i2c_transfer(priv->nvm_client->adapter, in isl12026_nvm_write()
361 dev_err(&priv->nvm_client->dev, in isl12026_nvm_write()
456 priv->nvm_client = i2c_new_dummy_device(client->adapter, ISL12026_EEPROM_ADDR); in isl12026_probe()
457 if (IS_ERR(priv->nvm_client)) in isl12026_probe()
458 return PTR_ERR(priv->nvm_client); in isl12026_probe()
478 i2c_unregister_device(priv->nvm_client); in isl12026_remove()