Lines Matching defs:chip_data
216 struct htcpld_chip *chip_data = gpiochip_get_data(chip);
219 client = chip_data->client;
223 spin_lock_irqsave(&chip_data->lock, flags);
225 chip_data->cache_out |= (1 << offset);
227 chip_data->cache_out &= ~(1 << offset);
228 spin_unlock_irqrestore(&chip_data->lock, flags);
230 schedule_work(&(chip_data->set_val_work));
235 struct htcpld_chip *chip_data;
238 chip_data = container_of(work, struct htcpld_chip, set_val_work);
239 client = chip_data->client;
240 i2c_smbus_read_byte_data(client, chip_data->cache_out);
245 struct htcpld_chip *chip_data = gpiochip_get_data(chip);
249 cache = chip_data->cache_out;
251 cache = chip_data->cache_in;
277 struct htcpld_chip *chip_data = gpiochip_get_data(chip);
279 if (offset < chip_data->nirqs)
280 return chip_data->irq_start + offset;
287 struct htcpld_chip *chip_data = i2c_get_clientdata(client);
288 if (!chip_data)
292 client, (chip_data->cache_out = chip_data->reset));