Lines Matching refs:tps80031
509 struct tps80031 { struct
550 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_write() local
552 return regmap_write(tps80031->regmap[sid], reg, val); in tps80031_write()
558 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_writes() local
560 return regmap_bulk_write(tps80031->regmap[sid], reg, val, len); in tps80031_writes()
566 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_read() local
570 ret = regmap_read(tps80031->regmap[sid], reg, &ival); in tps80031_read()
583 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_reads() local
585 return regmap_bulk_read(tps80031->regmap[sid], reg, val, len); in tps80031_reads()
591 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_set_bits() local
593 return regmap_update_bits(tps80031->regmap[sid], reg, in tps80031_set_bits()
600 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_clr_bits() local
602 return regmap_update_bits(tps80031->regmap[sid], reg, bit_mask, 0); in tps80031_clr_bits()
608 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_update() local
610 return regmap_update_bits(tps80031->regmap[sid], reg, mask, val); in tps80031_update()
615 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_get_chip_info() local
617 return tps80031->chip_info; in tps80031_get_chip_info()
622 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_get_pmu_version() local
624 return tps80031->es_version; in tps80031_get_pmu_version()
629 struct tps80031 *tps80031 = dev_get_drvdata(dev); in tps80031_irq_get_virq() local
631 return regmap_irq_get_virq(tps80031->irq_data, irq); in tps80031_irq_get_virq()