Home
last modified time | relevance | path

Searched refs:i2c_get_clientdata (Results 1 – 25 of 666) sorted by relevance

12345678910>>...27

/openbmc/linux/drivers/misc/
H A Dtsl2550.c54 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_set_operating_mode()
65 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_set_power_state()
178 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_power_state()
187 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_store_power_state()
210 struct tsl2550_data *data = i2c_get_clientdata(to_i2c_client(dev)); in tsl2550_show_operating_mode()
219 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_store_operating_mode()
244 struct tsl2550_data *data = i2c_get_clientdata(client); in __tsl2550_show_lux()
272 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_show_lux1_input()
306 struct tsl2550_data *data = i2c_get_clientdata(client); in tsl2550_init_client()
398 kfree(i2c_get_clientdata(client)); in tsl2550_remove()
H A Disl29003.c67 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_read_reg()
75 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_write_reg()
149 struct isl29003_data *data = i2c_get_clientdata(client); in isl29003_get_power_state()
157 struct isl29003_data *data = i2c_get_clientdata(client); in isl29003_get_adc_value()
350 struct isl29003_data *data = i2c_get_clientdata(client); in isl29003_init_client()
416 kfree(i2c_get_clientdata(client)); in isl29003_remove()
423 struct isl29003_data *data = i2c_get_clientdata(client); in isl29003_suspend()
433 struct isl29003_data *data = i2c_get_clientdata(client); in isl29003_resume()
H A Dapds9802als.c70 struct als_data *data = i2c_get_clientdata(client); in als_lux0_input_data_show()
112 struct als_data *data = i2c_get_clientdata(client); in als_sensing_range_store()
162 struct als_data *data = i2c_get_clientdata(client); in als_set_power_state()
246 struct als_data *data = i2c_get_clientdata(client); in apds9802als_remove()
/openbmc/linux/drivers/mfd/
H A Dmax8925-i2c.c51 struct max8925_chip *chip = i2c_get_clientdata(i2c); in max8925_reg_read()
69 struct max8925_chip *chip = i2c_get_clientdata(i2c); in max8925_reg_write()
83 struct max8925_chip *chip = i2c_get_clientdata(i2c); in max8925_bulk_read()
97 struct max8925_chip *chip = i2c_get_clientdata(i2c); in max8925_bulk_write()
111 struct max8925_chip *chip = i2c_get_clientdata(i2c); in max8925_set_bits()
201 struct max8925_chip *chip = i2c_get_clientdata(client); in max8925_remove()
211 struct max8925_chip *chip = i2c_get_clientdata(client); in max8925_suspend()
221 struct max8925_chip *chip = i2c_get_clientdata(client); in max8925_resume()
H A Dmax8998.c44 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_read_reg()
61 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_bulk_read()
76 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_write_reg()
88 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_bulk_write()
103 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_update_reg()
244 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_suspend()
254 struct max8998_dev *max8998 = i2c_get_clientdata(i2c); in max8998_resume()
263 return max8998_irq_resume(i2c_get_clientdata(i2c)); in max8998_resume()
H A Dmax8997.c48 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_read_reg()
65 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_bulk_read()
80 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_write_reg()
92 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_bulk_write()
107 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_update_reg()
403 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_freeze()
425 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_restore()
447 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_suspend()
458 struct max8997_dev *max8997 = i2c_get_clientdata(i2c); in max8997_resume()
H A D88pm860x-i2c.c17 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in pm860x_reg_read()
34 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in pm860x_reg_write()
47 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in pm860x_bulk_read()
60 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in pm860x_bulk_write()
73 struct pm860x_chip *chip = i2c_get_clientdata(i2c); in pm860x_set_bits()
/openbmc/linux/drivers/hwmon/
H A Dpcf8591.c97 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in out0_output_show()
107 struct pcf8591_data *data = i2c_get_clientdata(client); in out0_output_store()
128 struct pcf8591_data *data = i2c_get_clientdata(to_i2c_client(dev)); in out0_enable_show()
137 struct pcf8591_data *data = i2c_get_clientdata(client); in out0_enable_store()
234 struct pcf8591_data *data = i2c_get_clientdata(client); in pcf8591_remove()
244 struct pcf8591_data *data = i2c_get_clientdata(client); in pcf8591_init_client()
261 struct pcf8591_data *data = i2c_get_clientdata(client); in pcf8591_read_channel()
H A Df75375s.c168 struct f75375_data *data = i2c_get_clientdata(client); in f75375_write_pwm()
179 struct f75375_data *data = i2c_get_clientdata(client); in f75375_update_device()
289 struct f75375_data *data = i2c_get_clientdata(client); in set_fan_min()
309 struct f75375_data *data = i2c_get_clientdata(client); in set_fan_target()
334 struct f75375_data *data = i2c_get_clientdata(client); in set_pwm()
363 struct f75375_data *data = i2c_get_clientdata(client); in set_pwm_enable_direct()
430 struct f75375_data *data = i2c_get_clientdata(client); in set_pwm_enable()
449 struct f75375_data *data = i2c_get_clientdata(client); in set_pwm_mode()
536 struct f75375_data *data = i2c_get_clientdata(client); in set_in_max()
557 struct f75375_data *data = i2c_get_clientdata(client); in set_in_min()
[all …]
H A Dasb100.c253 struct asb100_data *data = i2c_get_clientdata(client); \
317 struct asb100_data *data = i2c_get_clientdata(client); in set_fan_min()
343 struct asb100_data *data = i2c_get_clientdata(client); in set_fan_div()
435 struct asb100_data *data = i2c_get_clientdata(client); \
550 struct asb100_data *data = i2c_get_clientdata(client); in pwm1_store()
578 struct asb100_data *data = i2c_get_clientdata(client); in pwm1_enable_store()
673 struct asb100_data *data = i2c_get_clientdata(client); in asb100_detect_subclients()
827 struct asb100_data *data = i2c_get_clientdata(client); in asb100_remove()
842 struct asb100_data *data = i2c_get_clientdata(client); in asb100_read_value()
887 struct asb100_data *data = i2c_get_clientdata(client); in asb100_write_value()
[all …]
/openbmc/linux/drivers/power/supply/
H A Drt5033_battery.c24 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_status()
39 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_capacity()
49 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_present()
60 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_get_watt_prop()
177 struct rt5033_battery *battery = i2c_get_clientdata(client); in rt5033_battery_remove()
/openbmc/linux/drivers/media/dvb-frontends/
H A Drtl2830.c14 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_bulk_write()
26 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_update_bits()
38 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_bulk_read()
50 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_init()
140 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_sleep()
161 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_set_frontend()
272 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_get_frontend()
384 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_read_status()
514 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_read_ber()
604 struct rtl2830_dev *dev = i2c_get_clientdata(client); in rtl2830_pid_filter()
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dmsp3400-kthreads.c177 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp_set_source()
204 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_set_mode()
245 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_set_audmode()
374 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_print_mode()
403 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_detect_stereo()
481 struct msp_state *state = to_state(i2c_get_clientdata(client)); in watch_stereo()
493 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3400c_thread()
689 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp3410d_thread()
857 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp34xxg_modus()
884 struct msp_state *state = to_state(i2c_get_clientdata(client)); in msp34xxg_set_source()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dili210x.c366 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_resolution()
405 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_firmware_version()
421 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_kernel_version()
437 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_protocol_version()
453 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_ic_mode()
468 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_update_cached_state()
506 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_firmware_version_show()
520 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_kernel_version_show()
533 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_protocol_version_show()
544 struct ili210x *priv = i2c_get_clientdata(client); in ili251x_mode_show()
[all …]
/openbmc/linux/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c33 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq()
288 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx23885_set_audclk_freq()
330 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx231xx_set_audclk_freq()
406 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in set_audclk_freq()
425 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_audio_set_path()
/openbmc/linux/drivers/input/misc/
H A Dcma3000_d0x_i2c.c62 struct cma3000_accl_data *data = i2c_get_clientdata(client); in cma3000_i2c_remove()
70 struct cma3000_accl_data *data = i2c_get_clientdata(client); in cma3000_i2c_suspend()
80 struct cma3000_accl_data *data = i2c_get_clientdata(client); in cma3000_i2c_resume()
/openbmc/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d_i2c.c182 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_remove()
199 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_suspend()
215 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3lv02d_i2c_resume()
233 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_suspend()
242 struct lis3lv02d *lis3 = i2c_get_clientdata(client); in lis3_i2c_runtime_resume()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_hps_i2c.c100 struct hps_drvdata *hps = i2c_get_clientdata(client); in hps_i2c_remove()
115 struct hps_drvdata *hps = i2c_get_clientdata(client); in hps_suspend()
124 struct hps_drvdata *hps = i2c_get_clientdata(client); in hps_resume()
/openbmc/linux/drivers/leds/
H A 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()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-rs5c372.c214 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_read_time()
262 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c372_rtc_set_time()
326 struct rs5c372 *rs5c372 = i2c_get_clientdata(client); in rs5c372_get_trim()
360 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c_rtc_alarm_irq_enable()
401 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c_read_alarm()
423 struct rs5c372 *rs5c = i2c_get_clientdata(client); in rs5c_set_alarm()
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()
/openbmc/linux/drivers/media/tuners/
H A Dtda18250.c17 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_power_control()
87 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_wait_for_irq()
123 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_init()
252 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_set_agc()
432 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_pll_calc()
496 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_set_params()
705 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_get_if_frequency()
714 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_sleep()
860 struct tda18250_dev *dev = i2c_get_clientdata(client); in tda18250_remove()
H A Dsi2157.c19 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_cmd_execute()
143 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_find_and_load_firmware()
220 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_init()
330 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_sleep()
360 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_tune_wait()
445 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_set_params()
573 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_set_analog_params()
769 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_get_frequency()
779 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_get_bandwidth()
789 struct si2157_dev *dev = i2c_get_clientdata(client); in si2157_get_if_frequency()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dmc3230.c155 struct iio_dev *indio_dev = i2c_get_clientdata(client); in mc3230_remove()
166 data = iio_priv(i2c_get_clientdata(to_i2c_client(dev))); in mc3230_suspend()
175 data = iio_priv(i2c_get_clientdata(to_i2c_client(dev))); in mc3230_resume()
/openbmc/linux/drivers/misc/eeprom/
H A Dmax6875.c56 struct max6875_data *data = i2c_get_clientdata(client); in max6875_update_slice()
111 struct max6875_data *data = i2c_get_clientdata(client); in max6875_read()
177 struct max6875_data *data = i2c_get_clientdata(client); in max6875_remove()
/openbmc/linux/drivers/input/rmi4/
H A Drmi_smbus.c348 struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client); in rmi_smb_remove()
356 struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client); in rmi_smb_suspend()
369 struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client); in rmi_smb_runtime_suspend()
382 struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client); in rmi_smb_resume()
400 struct rmi_smb_xport *rmi_smb = i2c_get_clientdata(client); in rmi_smb_runtime_resume()

12345678910>>...27