Home
last modified time | relevance | path

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

12345678910>>...13

/linux-6.6.21/drivers/base/regmap/
Dregmap-i2c.c19 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_read()
38 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_write()
55 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_read()
74 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_write()
91 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_read_swapped()
110 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_write_swapped()
126 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_write()
143 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_gather_write()
177 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_read()
212 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_smbus_i2c_write()
[all …]
/linux-6.6.21/drivers/misc/
Disl29003.c187 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_range()
196 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_range()
223 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_resolution()
232 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_resolution()
257 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_mode()
265 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_mode()
292 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_power_state()
301 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_power_state()
324 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_lux()
422 struct i2c_client *client = to_i2c_client(dev); in isl29003_suspend()
[all …]
Disl29020.c27 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
41 struct i2c_client *client = to_i2c_client(dev); in als_lux_input_data_show()
77 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
190 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_suspend()
197 struct i2c_client *client = to_i2c_client(dev); in isl29020_runtime_resume()
Dtsl2550.c178 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_power_state()
186 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_power_state()
210 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_operating_mode()
218 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_operating_mode()
271 struct i2c_client *client = to_i2c_client(dev); in tsl2550_show_lux1_input()
405 return tsl2550_set_power_state(to_i2c_client(dev), 0); in tsl2550_suspend()
410 return tsl2550_set_power_state(to_i2c_client(dev), 1); in tsl2550_resume()
Dapds9802als.c35 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_show()
49 struct i2c_client *client = to_i2c_client(dev); in als_wait_for_data_ready()
69 struct i2c_client *client = to_i2c_client(dev); in als_lux0_input_data_show()
111 struct i2c_client *client = to_i2c_client(dev); in als_sensing_range_store()
264 struct i2c_client *client = to_i2c_client(dev); in apds9802als_suspend()
272 struct i2c_client *client = to_i2c_client(dev); in apds9802als_resume()
/linux-6.6.21/drivers/iio/dac/
Dad5593r.c45 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_write_dac()
53 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_read_adc()
66 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_write()
74 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_reg_read()
81 struct i2c_client *i2c = to_i2c_client(st->dev); in ad5593r_gpio_read()
/linux-6.6.21/drivers/input/misc/
Dcma3000_d0x_i2c.c17 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_set()
29 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_read()
69 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_suspend()
79 struct i2c_client *client = to_i2c_client(dev); in cma3000_i2c_resume()
Dadxl34x-i2c.c20 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read()
28 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_write()
37 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read_block()
46 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_read_block()
/linux-6.6.21/drivers/watchdog/
Dziirave_wdt.c121 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_state()
138 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_ping()
147 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_set_timeout()
159 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_wdt_get_timeleft()
171 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_firm_read_ack()
185 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_firm_set_read_addr()
218 struct i2c_client *client = to_i2c_client(wdd->parent); in __ziirave_firm_write_pkt()
296 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_firm_verify()
340 struct i2c_client *client = to_i2c_client(wdd->parent); in ziirave_firm_upload()
437 struct i2c_client *client = to_i2c_client(dev->parent); in ziirave_wdt_sysfs_show_firm()
[all …]
/linux-6.6.21/drivers/hwmon/
Dpcf8591.c97 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in out0_output_show()
106 struct i2c_client *client = to_i2c_client(dev); in out0_output_store()
128 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in out0_enable_show()
136 struct i2c_client *client = to_i2c_client(dev); in out0_enable_store()
260 struct i2c_client *client = to_i2c_client(dev); in pcf8591_read_channel()
/linux-6.6.21/drivers/rtc/
Drtc-rs5c372.c213 struct i2c_client *client = to_i2c_client(dev); in rs5c372_rtc_read_time()
261 struct i2c_client *client = to_i2c_client(dev); in rs5c372_rtc_set_time()
359 struct i2c_client *client = to_i2c_client(dev); in rs5c_rtc_alarm_irq_enable()
400 struct i2c_client *client = to_i2c_client(dev); in rs5c_read_alarm()
422 struct i2c_client *client = to_i2c_client(dev); in rs5c_set_alarm()
480 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
497 struct rs5c372 *rs5c = i2c_get_clientdata(to_i2c_client(dev)); in rs5c372_ioctl()
550 struct rs5c372 *rs5c = i2c_get_clientdata(to_i2c_client(dev)); in rs5c372_read_offset()
586 struct rs5c372 *rs5c = i2c_get_clientdata(to_i2c_client(dev)); in rs5c372_set_offset()
683 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
[all …]
Drtc-isl1208.c300 struct i2c_client *const client = to_i2c_client(dev); in isl1208_rtc_proc()
474 return isl1208_i2c_read_time(to_i2c_client(dev), tm); in isl1208_rtc_read_time()
541 return isl1208_i2c_set_time(to_i2c_client(dev), tm); in isl1208_rtc_set_time()
547 return isl1208_i2c_read_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_read_alarm()
553 return isl1208_i2c_set_alarm(to_i2c_client(dev), alarm); in isl1208_rtc_set_alarm()
560 struct i2c_client *client = to_i2c_client(dev->parent); in timestamp0_store()
582 struct i2c_client *client = to_i2c_client(dev->parent); in timestamp0_show()
693 int atr = isl1208_i2c_get_atr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_atrim()
706 int dtr = isl1208_i2c_get_dtr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_dtrim()
719 int usr = isl1208_i2c_get_usr(to_i2c_client(dev->parent)); in isl1208_sysfs_show_usr()
[all …]
Drtc-rx8025.c132 struct i2c_client *client = to_i2c_client(dev); in rx8025_check_validity()
216 struct i2c_client *client = to_i2c_client(dev); in rx8025_get_time()
250 struct i2c_client *client = to_i2c_client(dev); in rx8025_set_time()
328 struct i2c_client *client = to_i2c_client(dev); in rx8025_read_alarm()
362 struct i2c_client *client = to_i2c_client(dev); in rx8025_set_alarm()
400 struct i2c_client *client = to_i2c_client(dev); in rx8025_alarm_irq_enable()
435 struct i2c_client *client = to_i2c_client(dev); in rx8025_read_offset()
452 struct i2c_client *client = to_i2c_client(dev); in rx8025_set_offset()
Drtc-x1205.c498 struct i2c_client *client = to_i2c_client(dev); in x1205_rtc_read_alarm()
530 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_alarm()
536 return x1205_get_datetime(to_i2c_client(dev), in x1205_rtc_read_time()
542 return x1205_set_datetime(to_i2c_client(dev), in x1205_rtc_set_time()
550 err = x1205_get_dtrim(to_i2c_client(dev), &dtrim); in x1205_rtc_proc()
554 err = x1205_get_atrim(to_i2c_client(dev), &atrim); in x1205_rtc_proc()
574 err = x1205_get_atrim(to_i2c_client(dev), &atrim); in x1205_sysfs_show_atrim()
587 err = x1205_get_dtrim(to_i2c_client(dev), &dtrim); in x1205_sysfs_show_dtrim()
Drtc-hym8563.c92 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_time()
119 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_time()
164 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_alarm_irq_enable()
181 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_read_alarm()
218 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_alarm()
471 struct i2c_client *client = to_i2c_client(dev); in hym8563_suspend()
487 struct i2c_client *client = to_i2c_client(dev); in hym8563_resume()
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()
187 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm()
225 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm()
330 struct i2c_client *client = to_i2c_client(dev); in ds1374_alarm_irq_enable()
550 struct i2c_client *client = to_i2c_client(dev); in ds1374_suspend()
559 struct i2c_client *client = to_i2c_client(dev); in ds1374_resume()
/linux-6.6.21/drivers/input/touchscreen/
Dili210x.c365 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_resolution()
404 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_firmware_version()
420 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_kernel_version()
436 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_protocol_version()
452 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_ic_mode()
467 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_update_cached_state()
505 struct i2c_client *client = to_i2c_client(dev); in ili251x_firmware_version_show()
519 struct i2c_client *client = to_i2c_client(dev); in ili251x_kernel_version_show()
532 struct i2c_client *client = to_i2c_client(dev); in ili251x_protocol_version_show()
543 struct i2c_client *client = to_i2c_client(dev); in ili251x_mode_show()
[all …]
Dcyttsp_i2c_common.c29 struct i2c_client *client = to_i2c_client(dev); in cyttsp_i2c_read_block_data()
59 struct i2c_client *client = to_i2c_client(dev); in cyttsp_i2c_write_block_data()
/linux-6.6.21/drivers/hwmon/pmbus/
Dinspur-ipsps.c61 struct i2c_client *client = to_i2c_client(dev->parent); in ipsps_string_show()
83 struct i2c_client *client = to_i2c_client(dev->parent); in ipsps_fw_version_show()
104 struct i2c_client *client = to_i2c_client(dev->parent); in ipsps_mode_show()
136 struct i2c_client *client = to_i2c_client(dev->parent); in ipsps_mode_store()
/linux-6.6.21/drivers/usb/misc/
Dusb4604.c40 struct i2c_client *client = to_i2c_client(dev); in usb4604_connect()
116 struct i2c_client *client = to_i2c_client(dev); in usb4604_i2c_suspend()
126 struct i2c_client *client = to_i2c_client(dev); in usb4604_i2c_resume()
/linux-6.6.21/drivers/iio/pressure/
Dmpl115_i2c.c24 return i2c_smbus_read_word_swapped(to_i2c_client(dev), address); in mpl115_i2c_read()
29 return i2c_smbus_write_byte_data(to_i2c_client(dev), address, value); in mpl115_i2c_write()
/linux-6.6.21/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c198 struct i2c_client *client = to_i2c_client(dev); in lis3lv02d_i2c_suspend()
208 struct i2c_client *client = to_i2c_client(dev); in lis3lv02d_i2c_resume()
227 struct i2c_client *client = to_i2c_client(dev); in lis3_i2c_runtime_suspend()
236 struct i2c_client *client = to_i2c_client(dev); in lis3_i2c_runtime_resume()
/linux-6.6.21/drivers/gpio/
Dgpio-max7300.c19 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_write()
26 struct i2c_client *client = to_i2c_client(dev); in max7300_i2c_read()
/linux-6.6.21/drivers/power/supply/
Dbq27xxx_battery_i2c.c31 struct i2c_client *client = to_i2c_client(di->dev); in bq27xxx_battery_i2c_read()
66 struct i2c_client *client = to_i2c_client(di->dev); in bq27xxx_battery_i2c_write()
98 struct i2c_client *client = to_i2c_client(di->dev); in bq27xxx_battery_i2c_bulk_read()
115 struct i2c_client *client = to_i2c_client(di->dev); in bq27xxx_battery_i2c_bulk_write()
/linux-6.6.21/drivers/leds/
Dleds-lp5523.c396 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_mode()
418 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_mode()
486 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_engine_leds()
530 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_leds()
563 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_engine_load()
585 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in lp5523_selftest()
691 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_master_fader()
713 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_master_fader()
742 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in show_master_fader_leds()
773 struct lp55xx_led *led = i2c_get_clientdata(to_i2c_client(dev)); in store_master_fader_leds()

12345678910>>...13