Lines Matching refs:DPOT_UID
135 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()
184 case DPOT_UID(AD5241_ID): in dpot_read_i2c()
185 case DPOT_UID(AD5242_ID): in dpot_read_i2c()
186 case DPOT_UID(AD5243_ID): in dpot_read_i2c()
187 case DPOT_UID(AD5248_ID): in dpot_read_i2c()
188 case DPOT_UID(AD5280_ID): in dpot_read_i2c()
189 case DPOT_UID(AD5282_ID): in dpot_read_i2c()
193 case DPOT_UID(AD5170_ID): in dpot_read_i2c()
194 case DPOT_UID(AD5171_ID): in dpot_read_i2c()
195 case DPOT_UID(AD5273_ID): in dpot_read_i2c()
197 case DPOT_UID(AD5172_ID): in dpot_read_i2c()
198 case DPOT_UID(AD5173_ID): in dpot_read_i2c()
202 case DPOT_UID(AD5272_ID): in dpot_read_i2c()
203 case DPOT_UID(AD5274_ID): in dpot_read_i2c()
216 if (dpot->uid == DPOT_UID(AD5274_ID)) in dpot_read_i2c()
259 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_write_spi()
260 dpot->uid == DPOT_UID(AD5292_ID) || in dpot_write_spi()
261 dpot->uid == DPOT_UID(AD5293_ID)) { in dpot_write_spi()
266 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_write_spi()
272 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_write_spi()
273 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_write_spi()
278 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_write_spi()
305 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_write_spi()
306 dpot->uid == DPOT_UID(AD5292_ID)) { in dpot_write_spi()
309 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_write_spi()
310 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_write_spi()
331 case DPOT_UID(AD5246_ID): in dpot_write_i2c()
332 case DPOT_UID(AD5247_ID): in dpot_write_i2c()
335 case DPOT_UID(AD5245_ID): in dpot_write_i2c()
336 case DPOT_UID(AD5241_ID): in dpot_write_i2c()
337 case DPOT_UID(AD5242_ID): in dpot_write_i2c()
338 case DPOT_UID(AD5243_ID): in dpot_write_i2c()
339 case DPOT_UID(AD5248_ID): in dpot_write_i2c()
340 case DPOT_UID(AD5280_ID): in dpot_write_i2c()
341 case DPOT_UID(AD5282_ID): in dpot_write_i2c()
345 case DPOT_UID(AD5171_ID): in dpot_write_i2c()
346 case DPOT_UID(AD5273_ID): in dpot_write_i2c()
354 case DPOT_UID(AD5172_ID): in dpot_write_i2c()
355 case DPOT_UID(AD5173_ID): in dpot_write_i2c()
365 case DPOT_UID(AD5170_ID): in dpot_write_i2c()
373 case DPOT_UID(AD5272_ID): in dpot_write_i2c()
374 case DPOT_UID(AD5274_ID): in dpot_write_i2c()
382 if (dpot->uid == DPOT_UID(AD5274_ID)) in dpot_write_i2c()
702 data->uid = DPOT_UID(devid); in ad_dpot_probe()