Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/
Dad525x_dpot.h156 #define DPOT_ADDR_CMD (0x1 << 7) macro
159 #define DPOT_DEC_ALL_6DB (DPOT_ADDR_CMD | (0x4 << 3))
160 #define DPOT_INC_ALL_6DB (DPOT_ADDR_CMD | (0x9 << 3))
161 #define DPOT_DEC_ALL (DPOT_ADDR_CMD | (0x6 << 3))
162 #define DPOT_INC_ALL (DPOT_ADDR_CMD | (0xB << 3))
Dad525x_dpot.c132 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()