Home
last modified time | relevance | path

Searched refs:DPOT_ADDR_CMD (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dad525x_dpot.h155 #define DPOT_ADDR_CMD (0x1 << 7) macro
158 #define DPOT_DEC_ALL_6DB (DPOT_ADDR_CMD | (0x4 << 3))
159 #define DPOT_INC_ALL_6DB (DPOT_ADDR_CMD | (0x9 << 3))
160 #define DPOT_DEC_ALL (DPOT_ADDR_CMD | (0x6 << 3))
161 #define DPOT_INC_ALL (DPOT_ADDR_CMD | (0xB << 3))
H A Dad525x_dpot.c131 if (!(reg & (DPOT_ADDR_EEPROM | DPOT_ADDR_CMD))) { in dpot_read_spi()
243 if (!(reg & (DPOT_ADDR_EEPROM | DPOT_ADDR_CMD | DPOT_ADDR_OTP))) { in dpot_write_spi()
292 } else if (reg & DPOT_ADDR_CMD) { in dpot_write_spi()
391 if (reg & DPOT_ADDR_CMD) in dpot_write_i2c()