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()
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()
187 case DPOT_UID(AD5241_ID): in dpot_read_i2c()
188 case DPOT_UID(AD5242_ID): in dpot_read_i2c()
189 case DPOT_UID(AD5243_ID): in dpot_read_i2c()
190 case DPOT_UID(AD5248_ID): in dpot_read_i2c()
191 case DPOT_UID(AD5280_ID): in dpot_read_i2c()
192 case DPOT_UID(AD5282_ID): in dpot_read_i2c()
196 case DPOT_UID(AD5170_ID): in dpot_read_i2c()
197 case DPOT_UID(AD5171_ID): in dpot_read_i2c()
198 case DPOT_UID(AD5273_ID): in dpot_read_i2c()
200 case DPOT_UID(AD5172_ID): in dpot_read_i2c()
201 case DPOT_UID(AD5173_ID): in dpot_read_i2c()
205 case DPOT_UID(AD5272_ID): in dpot_read_i2c()
206 case DPOT_UID(AD5274_ID): in dpot_read_i2c()
219 if (dpot->uid == DPOT_UID(AD5274_ID)) in dpot_read_i2c()
262 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_write_spi()
263 dpot->uid == DPOT_UID(AD5292_ID) || in dpot_write_spi()
264 dpot->uid == DPOT_UID(AD5293_ID)) { in dpot_write_spi()
269 if (dpot->uid == DPOT_UID(AD5291_ID)) in dpot_write_spi()
275 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_write_spi()
276 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_write_spi()
281 if (dpot->uid == DPOT_UID(AD5271_ID)) in dpot_write_spi()
308 if (dpot->uid == DPOT_UID(AD5291_ID) || in dpot_write_spi()
309 dpot->uid == DPOT_UID(AD5292_ID)) { in dpot_write_spi()
312 } else if (dpot->uid == DPOT_UID(AD5270_ID) || in dpot_write_spi()
313 dpot->uid == DPOT_UID(AD5271_ID)) { in dpot_write_spi()
334 case DPOT_UID(AD5246_ID): in dpot_write_i2c()
335 case DPOT_UID(AD5247_ID): in dpot_write_i2c()
338 case DPOT_UID(AD5245_ID): in dpot_write_i2c()
339 case DPOT_UID(AD5241_ID): in dpot_write_i2c()
340 case DPOT_UID(AD5242_ID): in dpot_write_i2c()
341 case DPOT_UID(AD5243_ID): in dpot_write_i2c()
342 case DPOT_UID(AD5248_ID): in dpot_write_i2c()
343 case DPOT_UID(AD5280_ID): in dpot_write_i2c()
344 case DPOT_UID(AD5282_ID): in dpot_write_i2c()
348 case DPOT_UID(AD5171_ID): in dpot_write_i2c()
349 case DPOT_UID(AD5273_ID): in dpot_write_i2c()
357 case DPOT_UID(AD5172_ID): in dpot_write_i2c()
358 case DPOT_UID(AD5173_ID): in dpot_write_i2c()
368 case DPOT_UID(AD5170_ID): in dpot_write_i2c()
376 case DPOT_UID(AD5272_ID): in dpot_write_i2c()
377 case DPOT_UID(AD5274_ID): in dpot_write_i2c()
385 if (dpot->uid == DPOT_UID(AD5274_ID)) in dpot_write_i2c()
705 data->uid = DPOT_UID(devid); in ad_dpot_probe()