Home
last modified time | relevance | path

Searched refs:to_i2c_client (Results 1 – 25 of 129) sorted by relevance

123456

/linux-2.6.39/drivers/input/misc/
Dadxl34x-i2c.c19 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read()
27 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_write()
36 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read_block()
45 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_read_block()
111 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_suspend()
121 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_resume()
Dcma3000_d0x_i2c.c28 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_set()
40 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_read()
84 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_suspend()
94 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_resume()
Dad714x-i2c.c19 return ad714x_disable(i2c_get_clientdata(to_i2c_client(dev))); in ad714x_i2c_suspend()
24 return ad714x_enable(i2c_get_clientdata(to_i2c_client(dev))); in ad714x_i2c_resume()
33 struct i2c_client *client = to_i2c_client(dev); in ad714x_i2c_write()
55 struct i2c_client *client = to_i2c_client(dev); in ad714x_i2c_read()
/linux-2.6.39/drivers/input/touchscreen/
Dad7879-i2c.c22 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_suspend()
32 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_resume()
48 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_read()
56 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_multi_read()
69 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_write()
/linux-2.6.39/drivers/misc/
Disl29003.c199 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_range()
207 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_range()
230 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_resolution()
238 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_resolution()
259 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_mode()
266 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_mode()
289 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_power_state()
297 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_power_state()
316 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_lux()
Disl29020.c39 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
53 struct i2c_client *client = to_i2c_client(dev); in als_lux_input_data_show()
89 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
201 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_suspend()
208 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_resume()
Dapds9802als.c48 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
62 struct i2c_client *client = to_i2c_client(dev); in als_wait_for_data_ready()
82 struct i2c_client *client = to_i2c_client(dev); in als_lux0_input_data_show()
124 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
289 struct i2c_client *client = to_i2c_client(dev); in apds9802als_runtime_suspend()
297 struct i2c_client *client = to_i2c_client(dev); in apds9802als_runtime_resume()
Dtsl2550.c194 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_power_state()
202 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_power_state()
226 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_operating_mode()
234 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_operating_mode()
287 struct i2c_client *client = to_i2c_client(dev); in tsl2550_show_lux1_input()
/linux-2.6.39/drivers/hwmon/
Dlm95241.c110 struct i2c_client *client = to_i2c_client(dev); in lm95241_update_device()
147 struct i2c_client *client = to_i2c_client(dev); in show_type()
157 struct i2c_client *client = to_i2c_client(dev); in set_type()
195 struct i2c_client *client = to_i2c_client(dev); in show_min()
206 struct i2c_client *client = to_i2c_client(dev); in set_min()
233 struct i2c_client *client = to_i2c_client(dev); in show_max()
244 struct i2c_client *client = to_i2c_client(dev); in set_max()
280 struct i2c_client *client = to_i2c_client(dev); in set_interval()
Dpcf8591.c100 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in show_out0_ouput()
107 struct i2c_client *client = to_i2c_client(dev); in set_out0_output()
122 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in show_out0_enable()
128 struct i2c_client *client = to_i2c_client(dev); in set_out0_enable()
252 struct i2c_client *client = to_i2c_client(dev); in pcf8591_read_channel()
Demc1403.c53 struct i2c_client *client = to_i2c_client(dev); in show_temp()
65 struct i2c_client *client = to_i2c_client(dev); in show_bit()
79 struct i2c_client *client = to_i2c_client(dev); in store_temp()
95 struct i2c_client *client = to_i2c_client(dev); in store_bit()
124 struct i2c_client *client = to_i2c_client(dev); in show_hyst()
147 struct i2c_client *client = to_i2c_client(dev); in store_hyst()
Dmax6639.c107 struct i2c_client *client = to_i2c_client(dev); in max6639_update_device()
194 struct i2c_client *client = to_i2c_client(dev); in show_temp_max()
205 struct i2c_client *client = to_i2c_client(dev); in set_temp_max()
227 struct i2c_client *client = to_i2c_client(dev); in show_temp_crit()
238 struct i2c_client *client = to_i2c_client(dev); in set_temp_crit()
261 struct i2c_client *client = to_i2c_client(dev); in show_temp_emergency()
272 struct i2c_client *client = to_i2c_client(dev); in set_temp_emergency()
294 struct i2c_client *client = to_i2c_client(dev); in show_pwm()
305 struct i2c_client *client = to_i2c_client(dev); in set_pwm()
Dadt7411.c115 struct i2c_client *client = to_i2c_client(dev); in adt7411_show_vdd()
125 struct i2c_client *client = to_i2c_client(dev); in adt7411_show_temp()
141 struct i2c_client *client = to_i2c_client(dev); in adt7411_show_input()
184 struct i2c_client *client = to_i2c_client(dev); in adt7411_show_bit()
195 struct i2c_client *client = to_i2c_client(dev); in adt7411_set_bit()
Dtmp401.c216 struct i2c_client *client = to_i2c_client(dev); in tmp401_update_device()
344 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_min()
346 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_min()
371 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_max()
373 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_max()
398 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_crit()
430 i2c_smbus_write_byte_data(to_i2c_client(dev), in store_temp_crit_hyst()
458 i2c_smbus_write_byte_data(to_i2c_client(dev), in reset_temp_history()
Dtmp102.c112 struct tmp102 *tmp102 = tmp102_update_device(to_i2c_client(dev)); in tmp102_show_temp()
122 struct i2c_client *client = to_i2c_client(dev); in tmp102_set_temp()
257 struct i2c_client *client = to_i2c_client(dev); in tmp102_suspend()
270 struct i2c_client *client = to_i2c_client(dev); in tmp102_resume()
Dmax6650.c249 struct i2c_client *client = to_i2c_client(dev); in set_target()
311 struct i2c_client *client = to_i2c_client(dev); in set_pwm()
352 struct i2c_client *client = to_i2c_client(dev); in set_enable()
400 struct i2c_client *client = to_i2c_client(dev); in set_div()
443 struct i2c_client *client = to_i2c_client(dev); in get_alarm()
481 struct i2c_client *client = to_i2c_client(dev); in max6650_attrs_visible()
705 struct i2c_client *client = to_i2c_client(dev); in max6650_update_device()
Df75375s.c170 struct i2c_client *client = to_i2c_client(dev); in f75375_update_device()
243 struct i2c_client *client = to_i2c_client(dev); in set_fan_min()
258 struct i2c_client *client = to_i2c_client(dev); in set_fan_exp()
273 struct i2c_client *client = to_i2c_client(dev); in set_pwm()
328 struct i2c_client *client = to_i2c_client(dev); in set_pwm_enable()
343 struct i2c_client *client = to_i2c_client(dev); in set_pwm_mode()
411 struct i2c_client *client = to_i2c_client(dev); in set_in_max()
426 struct i2c_client *client = to_i2c_client(dev); in set_in_min()
467 struct i2c_client *client = to_i2c_client(dev); in set_temp_max()
482 struct i2c_client *client = to_i2c_client(dev); in set_temp_max_hyst()
/linux-2.6.39/drivers/rtc/
Drtc-ds1374.c146 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_time()
159 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_time()
172 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm()
210 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm()
313 struct i2c_client *client = to_i2c_client(dev); in ds1374_alarm_irq_enable()
415 struct i2c_client *client = to_i2c_client(dev); in ds1374_suspend()
424 struct i2c_client *client = to_i2c_client(dev); in ds1374_resume()
Drtc-isl1208.c233 struct i2c_client *const client = to_i2c_client(dev); in isl1208_rtc_proc()
414 return isl1208_i2c_read_time(to_i2c_client(dev), tm); in isl1208_rtc_read_time()
477 return isl1208_i2c_set_time(to_i2c_client(dev), tm); in isl1208_rtc_set_time()
483 return isl1208_i2c_read_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_read_alarm()
489 return isl1208_i2c_set_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_set_alarm()
551 int atr = isl1208_i2c_get_atr(to_i2c_client(dev)); in isl1208_sysfs_show_atrim()
564 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev)); in isl1208_sysfs_show_dtrim()
577 int usr = isl1208_i2c_get_usr(to_i2c_client(dev)); in isl1208_sysfs_show_usr()
602 return isl1208_i2c_set_usr(to_i2c_client(dev), usr) ? -EIO : count; in isl1208_sysfs_store_usr()
Drtc-x1205.c444 struct i2c_client *client = to_i2c_client(dev); in x1205_rtc_read_alarm()
466 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_alarm()
472 return x1205_get_datetime(to_i2c_client(dev), in x1205_rtc_read_time()
478 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_time()
486 if ((err = x1205_get_dtrim(to_i2c_client(dev), &dtrim)) == 0) in x1205_rtc_proc()
489 if ((err = x1205_get_atrim(to_i2c_client(dev), &atrim)) == 0) in x1205_rtc_proc()
508 err = x1205_get_atrim(to_i2c_client(dev), &atrim); in x1205_sysfs_show_atrim()
521 err = x1205_get_dtrim(to_i2c_client(dev), &dtrim); in x1205_sysfs_show_dtrim()
Drtc-rs5c372.c276 return rs5c372_get_datetime(to_i2c_client(dev), tm); in rs5c372_rtc_read_time()
281 return rs5c372_set_datetime(to_i2c_client(dev), tm); in rs5c372_rtc_set_time()
287 struct i2c_client *client = to_i2c_client(dev); in rs5c_rtc_alarm_irq_enable()
329 struct i2c_client *client = to_i2c_client(dev); in rs5c_read_alarm()
357 struct i2c_client *client = to_i2c_client(dev); in rs5c_set_alarm()
416 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
446 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
459 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc()
Drtc-m41t80.c191 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_proc()
208 return m41t80_get_datetime(to_i2c_client(dev), tm); in m41t80_rtc_read_time()
213 return m41t80_set_datetime(to_i2c_client(dev), tm); in m41t80_rtc_set_time()
218 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_alarm_irq_enable()
240 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_set_alarm()
310 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_read_alarm()
370 struct i2c_client *client = to_i2c_client(dev); in m41t80_sysfs_show_flags()
383 struct i2c_client *client = to_i2c_client(dev); in m41t80_sysfs_show_sqwfreq()
412 struct i2c_client *client = to_i2c_client(dev); in m41t80_sysfs_set_sqwfreq()
Drtc-ds1672.c88 return ds1672_get_datetime(to_i2c_client(dev), tm); in ds1672_rtc_read_time()
93 return ds1672_set_mmss(to_i2c_client(dev), secs); in ds1672_rtc_set_mmss()
118 struct i2c_client *client = to_i2c_client(dev); in show_control()
/linux-2.6.39/drivers/gpio/
Dmax7300.c24 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_write()
31 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_read()
/linux-2.6.39/drivers/mfd/
Dtps6586x.c166 return __tps6586x_write(to_i2c_client(dev), reg, val); in tps6586x_write()
172 return __tps6586x_writes(to_i2c_client(dev), reg, len, val); in tps6586x_writes()
178 return __tps6586x_read(to_i2c_client(dev), reg, val); in tps6586x_read()
184 return __tps6586x_reads(to_i2c_client(dev), reg, len, val); in tps6586x_reads()
196 ret = __tps6586x_read(to_i2c_client(dev), reg, &reg_val); in tps6586x_set_bits()
202 ret = __tps6586x_write(to_i2c_client(dev), reg, reg_val); in tps6586x_set_bits()
218 ret = __tps6586x_read(to_i2c_client(dev), reg, &reg_val); in tps6586x_clr_bits()
224 ret = __tps6586x_write(to_i2c_client(dev), reg, reg_val); in tps6586x_clr_bits()

123456