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

/linux-4.1.27/drivers/misc/
H A Dad525x_dpot.c136 if (dpot->uid == DPOT_UID(AD5291_ID) || dpot_read_spi()
137 dpot->uid == DPOT_UID(AD5292_ID) || dpot_read_spi()
138 dpot->uid == DPOT_UID(AD5293_ID)) { dpot_read_spi()
143 if (dpot->uid == DPOT_UID(AD5291_ID)) dpot_read_spi()
147 } else if (dpot->uid == DPOT_UID(AD5270_ID) || dpot_read_spi()
148 dpot->uid == DPOT_UID(AD5271_ID)) { dpot_read_spi()
156 if (dpot->uid == DPOT_UID(AD5271_ID)) dpot_read_spi()
181 case DPOT_UID(AD5246_ID): dpot_read_i2c()
182 case DPOT_UID(AD5247_ID): dpot_read_i2c()
184 case DPOT_UID(AD5245_ID): dpot_read_i2c()
185 case DPOT_UID(AD5241_ID): dpot_read_i2c()
186 case DPOT_UID(AD5242_ID): dpot_read_i2c()
187 case DPOT_UID(AD5243_ID): dpot_read_i2c()
188 case DPOT_UID(AD5248_ID): dpot_read_i2c()
189 case DPOT_UID(AD5280_ID): dpot_read_i2c()
190 case DPOT_UID(AD5282_ID): dpot_read_i2c()
194 case DPOT_UID(AD5170_ID): dpot_read_i2c()
195 case DPOT_UID(AD5171_ID): dpot_read_i2c()
196 case DPOT_UID(AD5273_ID): dpot_read_i2c()
198 case DPOT_UID(AD5172_ID): dpot_read_i2c()
199 case DPOT_UID(AD5173_ID): dpot_read_i2c()
203 case DPOT_UID(AD5272_ID): dpot_read_i2c()
204 case DPOT_UID(AD5274_ID): dpot_read_i2c()
219 if (dpot->uid == DPOT_UID(AD5271_ID)) dpot_read_i2c()
262 if (dpot->uid == DPOT_UID(AD5291_ID) || dpot_write_spi()
263 dpot->uid == DPOT_UID(AD5292_ID) || dpot_write_spi()
264 dpot->uid == DPOT_UID(AD5293_ID)) { dpot_write_spi()
269 if (dpot->uid == DPOT_UID(AD5291_ID)) dpot_write_spi()
275 } else if (dpot->uid == DPOT_UID(AD5270_ID) || dpot_write_spi()
276 dpot->uid == DPOT_UID(AD5271_ID)) { dpot_write_spi()
281 if (dpot->uid == DPOT_UID(AD5271_ID)) dpot_write_spi()
308 if (dpot->uid == DPOT_UID(AD5291_ID) || dpot_write_spi()
309 dpot->uid == DPOT_UID(AD5292_ID)) { dpot_write_spi()
312 } else if (dpot->uid == DPOT_UID(AD5270_ID) || dpot_write_spi()
313 dpot->uid == DPOT_UID(AD5271_ID)) { dpot_write_spi()
334 case DPOT_UID(AD5246_ID): dpot_write_i2c()
335 case DPOT_UID(AD5247_ID): dpot_write_i2c()
338 case DPOT_UID(AD5245_ID): dpot_write_i2c()
339 case DPOT_UID(AD5241_ID): dpot_write_i2c()
340 case DPOT_UID(AD5242_ID): dpot_write_i2c()
341 case DPOT_UID(AD5243_ID): dpot_write_i2c()
342 case DPOT_UID(AD5248_ID): dpot_write_i2c()
343 case DPOT_UID(AD5280_ID): dpot_write_i2c()
344 case DPOT_UID(AD5282_ID): dpot_write_i2c()
348 case DPOT_UID(AD5171_ID): DPOT_UID() function
349 case DPOT_UID(AD5273_ID): DPOT_UID()
357 case DPOT_UID(AD5172_ID):
358 case DPOT_UID(AD5173_ID):
368 case DPOT_UID(AD5170_ID): DPOT_UID() function
376 case DPOT_UID(AD5272_ID):
377 case DPOT_UID(AD5274_ID):
385 if (dpot->uid == DPOT_UID(AD5274_ID))
705 data->uid = DPOT_UID(devid); ad_dpot_probe()
H A Dad525x_dpot.h18 #define DPOT_UID(conf) (conf & 0x3F) macro

Completed in 82 milliseconds