Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/
Dad525x_dpot.c135 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_read_spi()
136 dpot->uid == DPOT_UID(AD5292_ID) || in dpot_read_spi()
137 dpot->uid == DPOT_UID(AD5293_ID)) { in dpot_read_spi()
145 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_read_spi()
149 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_read_spi()
150 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_read_spi()
158 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_read_spi()
183 case DPOT_UID(AD5246_ID): in dpot_read_i2c()
184 case DPOT_UID(AD5247_ID): in dpot_read_i2c()
186 case DPOT_UID(AD5245_ID): in dpot_read_i2c()
[all …]
Dad525x_dpot.h17 #define DPOT_UID(conf) (conf & 0x3F) macro