Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/
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))
Dad525x_dpot.c131 if (!(reg & (DPOT_ADDR_EEPROM | DPOT_ADDR_CMD))) { in dpot_read_spi()
240 if (!(reg & (DPOT_ADDR_EEPROM | DPOT_ADDR_CMD | DPOT_ADDR_OTP))) { in dpot_write_spi()
289 } else if (reg & DPOT_ADDR_CMD) { in dpot_write_spi()
388 if (reg & DPOT_ADDR_CMD) in dpot_write_i2c()