Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/
Dad525x_dpot.c136 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_read_spi()
137 dpot->uid == DPOT_UID(AD5292_ID) || in dpot_read_spi()
138 dpot->uid == DPOT_UID(AD5293_ID)) { in dpot_read_spi()
143 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_read_spi()
147 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_read_spi()
148 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_read_spi()
156 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_read_spi()
181 case DPOT_UID(AD5246_ID): in dpot_read_i2c()
182 case DPOT_UID(AD5247_ID): in dpot_read_i2c()
184 case DPOT_UID(AD5245_ID): in dpot_read_i2c()
[all …]
Dad525x_dpot.h18 #define DPOT_UID(conf) (conf & 0x3F) macro