Lines Matching refs:eeprom_data
29 struct eeprom_data { struct
48 struct eeprom_data *eeprom = i2c_get_clientdata(client); in i2c_slave_eeprom_slave_cb() argument
96 struct eeprom_data *eeprom; in i2c_slave_eeprom_bin_read()
111 struct eeprom_data *eeprom; in i2c_slave_eeprom_bin_write()
123 static int i2c_slave_init_eeprom_data(struct eeprom_data *eeprom, struct i2c_client *client, in i2c_slave_init_eeprom_data()
127 const char *eeprom_data; in i2c_slave_init_eeprom_data() local
128 int ret = device_property_read_string(&client->dev, "firmware-name", &eeprom_data); in i2c_slave_init_eeprom_data()
131 ret = request_firmware_into_buf(&fw, eeprom_data, &client->dev, in i2c_slave_init_eeprom_data()
145 struct eeprom_data *eeprom; in i2c_slave_eeprom_probe()
150 eeprom = devm_kzalloc(&client->dev, sizeof(struct eeprom_data) + size, GFP_KERNEL); in i2c_slave_eeprom_probe()
186 struct eeprom_data *eeprom = i2c_get_clientdata(client); in i2c_slave_eeprom_remove()