Lines Matching refs:device
48 /* device id */
121 struct device *dev;
135 static inline struct tps6586x *dev_to_tps6586x(struct device *dev)
140 int tps6586x_write(struct device *dev, int reg, uint8_t val)
148 int tps6586x_writes(struct device *dev, int reg, int len, uint8_t *val)
156 int tps6586x_read(struct device *dev, int reg, uint8_t *val)
169 int tps6586x_reads(struct device *dev, int reg, int len, uint8_t *val)
177 int tps6586x_set_bits(struct device *dev, int reg, uint8_t bit_mask)
185 int tps6586x_clr_bits(struct device *dev, int reg, uint8_t bit_mask)
193 int tps6586x_update(struct device *dev, int reg, uint8_t val, uint8_t mask)
201 int tps6586x_irq_get_virq(struct device *dev, int irq)
209 int tps6586x_get_version(struct device *dev)
217 static int __remove_subdev(struct device *dev, void *unused)
447 static bool is_volatile_reg(struct device *dev, unsigned int reg)
464 static struct device *tps6586x_dev;
593 static int __maybe_unused tps6586x_i2c_suspend(struct device *dev)
603 static int __maybe_unused tps6586x_i2c_resume(struct device *dev)