Home
last modified time | relevance | path

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

12345

/linux-4.19.296/drivers/base/regmap/
Dregmap-i2c.c23 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_read()
42 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_write()
59 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_read()
78 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_write()
95 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_read_swapped()
114 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_write_swapped()
130 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_write()
147 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_gather_write()
181 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_read()
216 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_smbus_i2c_write()
[all …]
Dregmap-sccb.c43 struct i2c_client *i2c = to_i2c_client(dev); in regmap_sccb_read()
78 struct i2c_client *i2c = to_i2c_client(dev); in regmap_sccb_write()
/linux-4.19.296/drivers/misc/
Disl29003.c200 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_range()
209 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_range()
236 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_resolution()
245 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_resolution()
270 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_mode()
278 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_mode()
305 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_power_state()
314 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_power_state()
337 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_lux()
437 struct i2c_client *client = to_i2c_client(dev); in isl29003_suspend()
[all …]
Disl29020.c38 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
52 struct i2c_client *client = to_i2c_client(dev); in als_lux_input_data_show()
88 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
202 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_suspend()
209 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_resume()
Dapds9802als.c47 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
61 struct i2c_client *client = to_i2c_client(dev); in als_wait_for_data_ready()
81 struct i2c_client *client = to_i2c_client(dev); in als_lux0_input_data_show()
123 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
278 struct i2c_client *client = to_i2c_client(dev); in apds9802als_suspend()
286 struct i2c_client *client = to_i2c_client(dev); in apds9802als_resume()
Dtsl2550.c193 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_power_state()
201 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_power_state()
225 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_operating_mode()
233 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_operating_mode()
286 struct i2c_client *client = to_i2c_client(dev); in tsl2550_show_lux1_input()
423 return tsl2550_set_power_state(to_i2c_client(dev), 0); in tsl2550_suspend()
428 return tsl2550_set_power_state(to_i2c_client(dev), 1); in tsl2550_resume()
Dhmc6352.c45 struct i2c_client *c = to_i2c_client(dev); in compass_store()
78 struct i2c_client *client = to_i2c_client(dev); in compass_heading_data_show()
/linux-4.19.296/drivers/iio/dac/
Dad5593r.c47 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_write_dac()
55 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_read_adc()
68 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_write()
76 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_read()
83 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_gpio_read()
Dad5696-i2c.c17 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5686_i2c_read()
48 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5686_i2c_write()
/linux-4.19.296/drivers/iio/common/st_sensors/
Dst_sensors_i2c.c27 return to_i2c_client(sdata->dev)->irq; in st_sensors_i2c_get_irq()
35 err = i2c_smbus_read_byte_data(to_i2c_client(dev), reg_addr); in st_sensors_i2c_read_byte()
52 return i2c_smbus_read_i2c_block_data_or_emulated(to_i2c_client(dev), in st_sensors_i2c_read_multiple_byte()
59 return i2c_smbus_write_byte_data(to_i2c_client(dev), reg_addr, data); in st_sensors_i2c_write_byte()
/linux-4.19.296/drivers/iio/pressure/
Dmpl115_i2c.c27 return i2c_smbus_read_word_swapped(to_i2c_client(dev), address); in mpl115_i2c_read()
32 return i2c_smbus_write_byte_data(to_i2c_client(dev), address, value); in mpl115_i2c_write()
/linux-4.19.296/drivers/rtc/
Drtc-isl1208.c260 struct i2c_client *const client = to_i2c_client(dev); in isl1208_rtc_proc()
434 return isl1208_i2c_read_time(to_i2c_client(dev), tm); in isl1208_rtc_read_time()
502 return isl1208_i2c_set_time(to_i2c_client(dev), tm); in isl1208_rtc_set_time()
508 return isl1208_i2c_read_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_read_alarm()
514 return isl1208_i2c_set_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_set_alarm()
521 struct i2c_client *client = to_i2c_client(dev->parent); in timestamp0_store()
543 struct i2c_client *client = to_i2c_client(dev->parent); in timestamp0_show()
653 int atr = isl1208_i2c_get_atr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_atrim()
666 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_dtrim()
679 int usr = isl1208_i2c_get_usr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_usr()
[all …]
Drtc-abx80x.c140 struct i2c_client *client = to_i2c_client(dev); in abx80x_rtc_read_time()
180 struct i2c_client *client = to_i2c_client(dev); in abx80x_rtc_set_time()
238 struct i2c_client *client = to_i2c_client(dev); in abx80x_read_alarm()
270 struct i2c_client *client = to_i2c_client(dev); in abx80x_set_alarm()
305 struct i2c_client *client = to_i2c_client(dev); in abx80x_rtc_set_autocalibration()
344 struct i2c_client *client = to_i2c_client(dev); in abx80x_rtc_get_autocalibration()
400 struct i2c_client *client = to_i2c_client(dev); in oscillator_store()
442 struct i2c_client *client = to_i2c_client(dev); in oscillator_show()
472 struct i2c_client *client = to_i2c_client(dev); in abx80x_alarm_irq_enable()
Drtc-x1205.c501 struct i2c_client *client = to_i2c_client(dev); in x1205_rtc_read_alarm()
533 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_alarm()
539 return x1205_get_datetime(to_i2c_client(dev), in x1205_rtc_read_time()
545 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_time()
553 err = x1205_get_dtrim(to_i2c_client(dev), &dtrim); in x1205_rtc_proc()
557 err = x1205_get_atrim(to_i2c_client(dev), &atrim); in x1205_rtc_proc()
577 err = x1205_get_atrim(to_i2c_client(dev), &atrim); in x1205_sysfs_show_atrim()
590 err = x1205_get_dtrim(to_i2c_client(dev), &dtrim); in x1205_sysfs_show_dtrim()
Drtc-pcf8563.c285 struct pcf8563 *pcf8563 = i2c_get_clientdata(to_i2c_client(dev)); in pcf8563_rtc_ioctl()
305 if (pcf8563_get_datetime(to_i2c_client(dev), &tm)) in pcf8563_rtc_ioctl()
306 pcf8563_set_datetime(to_i2c_client(dev), &tm); in pcf8563_rtc_ioctl()
322 return pcf8563_get_datetime(to_i2c_client(dev), tm); in pcf8563_rtc_read_time()
327 return pcf8563_set_datetime(to_i2c_client(dev), tm); in pcf8563_rtc_set_time()
332 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_read_alarm()
364 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_set_alarm()
396 return pcf8563_set_alarm_mode(to_i2c_client(dev), !!enabled); in pcf8563_irq_enable()
Drtc-rs5c372.c212 struct i2c_client *client = to_i2c_client(dev); in rs5c372_rtc_read_time()
243 struct i2c_client *client = to_i2c_client(dev); in rs5c372_rtc_set_time()
311 struct i2c_client *client = to_i2c_client(dev); in rs5c_rtc_alarm_irq_enable()
352 struct i2c_client *client = to_i2c_client(dev); in rs5c_read_alarm()
374 struct i2c_client *client = to_i2c_client(dev); in rs5c_set_alarm()
432 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
462 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
475 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc()
Drtc-hym8563.c101 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_time()
126 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_time()
174 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_alarm_irq_enable()
191 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_alarm()
228 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_alarm()
500 struct i2c_client *client = to_i2c_client(dev); in hym8563_suspend()
516 struct i2c_client *client = to_i2c_client(dev); in hym8563_resume()
Drtc-pcf8523.c188 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_read_time()
231 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_set_time()
284 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_ioctl()
307 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_read_offset()
325 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_set_offset()
Drtc-ds1672.c97 return ds1672_get_datetime(to_i2c_client(dev), tm); in ds1672_rtc_read_time()
102 return ds1672_set_mmss(to_i2c_client(dev), secs); in ds1672_rtc_set_mmss()
136 struct i2c_client *client = to_i2c_client(dev); in show_control()
Drtc-ds1374.c161 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_time()
174 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_time()
188 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm()
226 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm()
331 struct i2c_client *client = to_i2c_client(dev); in ds1374_alarm_irq_enable()
694 struct i2c_client *client = to_i2c_client(dev); in ds1374_suspend()
703 struct i2c_client *client = to_i2c_client(dev); in ds1374_resume()
Drtc-m41t80.c203 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_read_time()
237 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_set_time()
288 struct i2c_client *client = to_i2c_client(dev); in m41t80_rtc_proc()
302 struct i2c_client *client = to_i2c_client(dev); in m41t80_alarm_irq_enable()
324 struct i2c_client *client = to_i2c_client(dev); in m41t80_set_alarm()
379 struct i2c_client *client = to_i2c_client(dev); in m41t80_read_alarm()
413 struct i2c_client *client = to_i2c_client(dev); in m41t80_suspend()
423 struct i2c_client *client = to_i2c_client(dev); in m41t80_resume()
Drtc-em3027.c47 struct i2c_client *client = to_i2c_client(dev); in em3027_get_time()
85 struct i2c_client *client = to_i2c_client(dev); in em3027_set_time()
/linux-4.19.296/drivers/gpio/
Dgpio-max7300.c22 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_write()
29 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_read()
/linux-4.19.296/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c212 struct i2c_client *client = to_i2c_client(dev); in lis3lv02d_i2c_suspend()
222 struct i2c_client *client = to_i2c_client(dev); in lis3lv02d_i2c_resume()
241 struct i2c_client *client = to_i2c_client(dev); in lis3_i2c_runtime_suspend()
250 struct i2c_client *client = to_i2c_client(dev); in lis3_i2c_runtime_resume()
/linux-4.19.296/drivers/char/tpm/
Dtpm_i2c_atmel.c55 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_atmel_send()
82 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_atmel_recv()
123 struct i2c_client *client = to_i2c_client(chip->dev.parent); in i2c_atmel_read_status()

12345