Home
last modified time | relevance | path

Searched refs:pfsm (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/misc/
H A Dtps6594-pfsm.c59 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_read() local
73 ret = regmap_read(pfsm->regmap, pos + i, &val); in tps6594_pfsm_read()
89 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_write() local
106 ret = regmap_write(pfsm->regmap, pos + i, val); in tps6594_pfsm_write()
141 struct tps6594_pfsm *pfsm = TPS6594_FILE_TO_PFSM(f); in tps6594_pfsm_ioctl() local
150 if (pfsm->chip_id != TPS65224 && pfsm->chip_id != TPS652G1) { in tps6594_pfsm_ioctl()
151 ret = regmap_clear_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()
159 ret = regmap_write_bits(pfsm->regmap, TPS6594_REG_FSM_I2C_TRIGGERS, in tps6594_pfsm_ioctl()
164 if (pfsm->chip_id == TPS65224 || pfsm->chip_id == TPS652G1) in tps6594_pfsm_ioctl()
168 ret = regmap_set_bits(pfsm->regmap, TPS6594_REG_RTC_CTRL_2, in tps6594_pfsm_ioctl()
[all …]
H A DKconfig594 will be called tps6594-pfsm.
/linux/Documentation/misc-devices/
H A Dtps6594-pfsm.rst32 drivers/misc/tps6594-pfsm.c
74 # ls /dev/pfsm*
78 # hexdump -C /dev/pfsm-0-0x48
87 samples/pfsm/pfsm-wakeup.c
H A Dindex.rst29 tps6594-pfsm
/linux/samples/pfsm/
H A D.gitignore2 /pfsm-wakeup
H A DMakefile2 userprogs-always-y += pfsm-wakeup
/linux/samples/
H A DMakefile36 obj-$(CONFIG_SAMPLE_TPS6594_PFSM) += pfsm/