Home
last modified time | relevance | path

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

/Linux-v5.4/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()
142 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_read_spi()
146 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_read_spi()
147 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_read_spi()
155 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_read_spi()
180 case DPOT_UID(AD5246_ID): in dpot_read_i2c()
181 case DPOT_UID(AD5247_ID): in dpot_read_i2c()
183 case DPOT_UID(AD5245_ID): in dpot_read_i2c()
[all …]
Dad525x_dpot.h17 #define DPOT_UID(conf) (conf & 0x3F) macro