Home
last modified time | relevance | path

Searched refs:i2c_client (Results 1 – 200 of 926) sorted by relevance

12345

/linux-4.1.27/drivers/input/mouse/
Delan_i2c.h40 struct i2c_client;
49 int (*initialize)(struct i2c_client *client);
50 int (*sleep_control)(struct i2c_client *, bool sleep);
51 int (*power_control)(struct i2c_client *, bool enable);
52 int (*set_mode)(struct i2c_client *client, u8 mode);
54 int (*calibrate)(struct i2c_client *client);
55 int (*calibrate_result)(struct i2c_client *client, u8 *val);
57 int (*get_baseline_data)(struct i2c_client *client,
60 int (*get_version)(struct i2c_client *client, bool iap, u8 *version);
61 int (*get_sm_version)(struct i2c_client *client, u8 *version);
[all …]
Delan_i2c_smbus.c56 static int elan_smbus_initialize(struct i2c_client *client) in elan_smbus_initialize()
88 static int elan_smbus_set_mode(struct i2c_client *client, u8 mode) in elan_smbus_set_mode()
96 static int elan_smbus_sleep_control(struct i2c_client *client, bool sleep) in elan_smbus_sleep_control()
104 static int elan_smbus_power_control(struct i2c_client *client, bool enable) in elan_smbus_power_control()
109 static int elan_smbus_calibrate(struct i2c_client *client) in elan_smbus_calibrate()
117 static int elan_smbus_calibrate_result(struct i2c_client *client, u8 *val) in elan_smbus_calibrate_result()
129 static int elan_smbus_get_baseline_data(struct i2c_client *client, in elan_smbus_get_baseline_data()
148 static int elan_smbus_get_version(struct i2c_client *client, in elan_smbus_get_version()
168 static int elan_smbus_get_sm_version(struct i2c_client *client, u8 *version) in elan_smbus_get_sm_version()
184 static int elan_smbus_get_product_id(struct i2c_client *client, u8 *id) in elan_smbus_get_product_id()
[all …]
Delan_i2c_i2c.c67 static int elan_i2c_read_block(struct i2c_client *client, in elan_i2c_read_block()
93 static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val) in elan_i2c_read_cmd()
106 static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd) in elan_i2c_write_cmd()
132 static int elan_i2c_initialize(struct i2c_client *client) in elan_i2c_initialize()
171 static int elan_i2c_sleep_control(struct i2c_client *client, bool sleep) in elan_i2c_sleep_control()
177 static int elan_i2c_power_control(struct i2c_client *client, bool enable) in elan_i2c_power_control()
208 static int elan_i2c_set_mode(struct i2c_client *client, u8 mode) in elan_i2c_set_mode()
214 static int elan_i2c_calibrate(struct i2c_client *client) in elan_i2c_calibrate()
219 static int elan_i2c_calibrate_result(struct i2c_client *client, u8 *val) in elan_i2c_calibrate_result()
224 static int elan_i2c_get_baseline_data(struct i2c_client *client, in elan_i2c_get_baseline_data()
[all …]
Dsynaptics_i2c.c219 struct i2c_client *client;
242 static s32 synaptics_i2c_reg_get(struct i2c_client *client, u16 reg) in synaptics_i2c_reg_get()
253 static s32 synaptics_i2c_reg_set(struct i2c_client *client, u16 reg, u8 val) in synaptics_i2c_reg_set()
264 static s32 synaptics_i2c_word_get(struct i2c_client *client, u16 reg) in synaptics_i2c_word_get()
275 static int synaptics_i2c_config(struct i2c_client *client) in synaptics_i2c_config()
305 static int synaptics_i2c_reset_config(struct i2c_client *client) in synaptics_i2c_reset_config()
323 static int synaptics_i2c_check_error(struct i2c_client *client) in synaptics_i2c_check_error()
520 static struct synaptics_i2c *synaptics_i2c_touch_create(struct i2c_client *client) in synaptics_i2c_touch_create()
538 static int synaptics_i2c_probe(struct i2c_client *client, in synaptics_i2c_probe()
604 static int synaptics_i2c_remove(struct i2c_client *client) in synaptics_i2c_remove()
[all …]
/linux-4.1.27/include/linux/
Di2c.h45 struct i2c_client;
50 typedef int (*i2c_slave_cb_t)(struct i2c_client *, enum i2c_slave_event, u8 *);
62 extern int i2c_master_send(const struct i2c_client *client, const char *buf,
64 extern int i2c_master_recv(const struct i2c_client *client, char *buf,
87 extern s32 i2c_smbus_read_byte(const struct i2c_client *client);
88 extern s32 i2c_smbus_write_byte(const struct i2c_client *client, u8 value);
89 extern s32 i2c_smbus_read_byte_data(const struct i2c_client *client,
91 extern s32 i2c_smbus_write_byte_data(const struct i2c_client *client,
93 extern s32 i2c_smbus_read_word_data(const struct i2c_client *client,
95 extern s32 i2c_smbus_write_word_data(const struct i2c_client *client,
[all …]
Di2c-smbus.h47 struct i2c_client *i2c_setup_smbus_alert(struct i2c_adapter *adapter,
49 int i2c_handle_smbus_alert(struct i2c_client *ara);
/linux-4.1.27/drivers/iio/accel/
Dmma9551_core.h49 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
51 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
53 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
55 int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
57 int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
59 int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
61 int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
63 int mma9551_read_status_words(struct i2c_client *client, u8 app_id,
65 int mma9551_write_config_words(struct i2c_client *client, u8 app_id,
67 int mma9551_update_config_bits(struct i2c_client *client, u8 app_id,
[all …]
Dmma9551_core.c116 static int mma9551_transfer(struct i2c_client *client, in mma9551_transfer()
224 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte()
249 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte()
274 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id, in mma9551_read_status_byte()
299 int mma9551_read_config_word(struct i2c_client *client, u8 app_id, in mma9551_read_config_word()
330 int mma9551_write_config_word(struct i2c_client *client, u8 app_id, in mma9551_write_config_word()
357 int mma9551_read_status_word(struct i2c_client *client, u8 app_id, in mma9551_read_status_word()
387 int mma9551_read_config_words(struct i2c_client *client, u8 app_id, in mma9551_read_config_words()
427 int mma9551_read_status_words(struct i2c_client *client, u8 app_id, in mma9551_read_status_words()
467 int mma9551_write_config_words(struct i2c_client *client, u8 app_id, in mma9551_write_config_words()
[all …]
/linux-4.1.27/sound/soc/codecs/
Dcs35l32.c304 static int cs35l32_handle_of_data(struct i2c_client *i2c_client, in cs35l32_handle_of_data() argument
307 struct device_node *np = i2c_client->dev.of_node; in cs35l32_handle_of_data()
322 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
336 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
350 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
366 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
374 static int cs35l32_i2c_probe(struct i2c_client *i2c_client, in cs35l32_i2c_probe() argument
379 dev_get_platdata(&i2c_client->dev); in cs35l32_i2c_probe()
385 cs35l32 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs35l32_private), in cs35l32_i2c_probe()
388 dev_err(&i2c_client->dev, "could not allocate codec\n"); in cs35l32_i2c_probe()
[all …]
Dcs4270.c657 static int cs4270_i2c_probe(struct i2c_client *i2c_client, in cs4270_i2c_probe() argument
660 struct device_node *np = i2c_client->dev.of_node; in cs4270_i2c_probe()
665 cs4270 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4270_private), in cs4270_i2c_probe()
674 ret = devm_regulator_bulk_get(&i2c_client->dev, in cs4270_i2c_probe()
686 ret = devm_gpio_request_one(&i2c_client->dev, gpio, in cs4270_i2c_probe()
695 cs4270->regmap = devm_regmap_init_i2c(i2c_client, &cs4270_regmap); in cs4270_i2c_probe()
702 dev_err(&i2c_client->dev, "failed to read i2c at addr %X\n", in cs4270_i2c_probe()
703 i2c_client->addr); in cs4270_i2c_probe()
708 dev_err(&i2c_client->dev, "device at addr %X is not a CS4270\n", in cs4270_i2c_probe()
709 i2c_client->addr); in cs4270_i2c_probe()
[all …]
Dcs4265.c588 static int cs4265_i2c_probe(struct i2c_client *i2c_client, in cs4265_i2c_probe() argument
596 cs4265 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4265_private), in cs4265_i2c_probe()
601 cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap); in cs4265_i2c_probe()
604 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs4265_i2c_probe()
608 cs4265->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs4265_i2c_probe()
618 i2c_set_clientdata(i2c_client, cs4265); in cs4265_i2c_probe()
624 dev_err(&i2c_client->dev, in cs4265_i2c_probe()
629 dev_info(&i2c_client->dev, in cs4265_i2c_probe()
635 ret = snd_soc_register_codec(&i2c_client->dev, in cs4265_i2c_probe()
641 static int cs4265_i2c_remove(struct i2c_client *client) in cs4265_i2c_remove()
Dcs42l56.c1194 static int cs42l56_handle_of_data(struct i2c_client *i2c_client, in cs42l56_handle_of_data() argument
1197 struct device_node *np = i2c_client->dev.of_node; in cs42l56_handle_of_data()
1232 static int cs42l56_i2c_probe(struct i2c_client *i2c_client, in cs42l56_i2c_probe() argument
1237 dev_get_platdata(&i2c_client->dev); in cs42l56_i2c_probe()
1243 cs42l56 = devm_kzalloc(&i2c_client->dev, in cs42l56_i2c_probe()
1248 cs42l56->dev = &i2c_client->dev; in cs42l56_i2c_probe()
1250 cs42l56->regmap = devm_regmap_init_i2c(i2c_client, &cs42l56_regmap); in cs42l56_i2c_probe()
1253 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l56_i2c_probe()
1260 pdata = devm_kzalloc(&i2c_client->dev, in cs42l56_i2c_probe()
1264 dev_err(&i2c_client->dev, in cs42l56_i2c_probe()
[all …]
Dcs42l52.c1145 static int cs42l52_i2c_probe(struct i2c_client *i2c_client, in cs42l52_i2c_probe() argument
1149 struct cs42l52_platform_data *pdata = dev_get_platdata(&i2c_client->dev); in cs42l52_i2c_probe()
1155 cs42l52 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs42l52_private), in cs42l52_i2c_probe()
1159 cs42l52->dev = &i2c_client->dev; in cs42l52_i2c_probe()
1161 cs42l52->regmap = devm_regmap_init_i2c(i2c_client, &cs42l52_regmap); in cs42l52_i2c_probe()
1164 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l52_i2c_probe()
1170 pdata = devm_kzalloc(&i2c_client->dev, in cs42l52_i2c_probe()
1174 dev_err(&i2c_client->dev, "could not allocate pdata\n"); in cs42l52_i2c_probe()
1177 if (i2c_client->dev.of_node) { in cs42l52_i2c_probe()
1178 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe()
[all …]
Dwm2000.c64 struct i2c_client *i2c;
84 static int wm2000_write(struct i2c_client *i2c, unsigned int reg, in wm2000_write()
91 static unsigned int wm2000_read(struct i2c_client *i2c, unsigned int r) in wm2000_read()
106 struct i2c_client *i2c = wm2000->i2c; in wm2000_reset()
115 static int wm2000_poll_bit(struct i2c_client *i2c, in wm2000_poll_bit()
134 static int wm2000_power_up(struct i2c_client *i2c, int analogue) in wm2000_power_up()
243 static int wm2000_power_down(struct i2c_client *i2c, int analogue) in wm2000_power_down()
277 static int wm2000_enter_bypass(struct i2c_client *i2c, int analogue) in wm2000_enter_bypass()
316 static int wm2000_exit_bypass(struct i2c_client *i2c, int analogue) in wm2000_exit_bypass()
351 static int wm2000_enter_standby(struct i2c_client *i2c, int analogue) in wm2000_enter_standby()
[all …]
Dcs42l73.c1376 static int cs42l73_i2c_probe(struct i2c_client *i2c_client, in cs42l73_i2c_probe() argument
1380 struct cs42l73_platform_data *pdata = dev_get_platdata(&i2c_client->dev); in cs42l73_i2c_probe()
1386 cs42l73 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs42l73_private), in cs42l73_i2c_probe()
1391 cs42l73->regmap = devm_regmap_init_i2c(i2c_client, &cs42l73_regmap); in cs42l73_i2c_probe()
1394 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l73_i2c_probe()
1401 pdata = devm_kzalloc(&i2c_client->dev, in cs42l73_i2c_probe()
1405 dev_err(&i2c_client->dev, "could not allocate pdata\n"); in cs42l73_i2c_probe()
1408 if (i2c_client->dev.of_node) { in cs42l73_i2c_probe()
1409 if (of_property_read_u32(i2c_client->dev.of_node, in cs42l73_i2c_probe()
1413 pdata->reset_gpio = of_get_named_gpio(i2c_client->dev.of_node, in cs42l73_i2c_probe()
[all …]
/linux-4.1.27/drivers/misc/
Disl29003.c63 struct i2c_client *client;
77 static int __isl29003_read_reg(struct i2c_client *client, in __isl29003_read_reg()
84 static int __isl29003_write_reg(struct i2c_client *client, in __isl29003_write_reg()
113 static int isl29003_get_range(struct i2c_client *client) in isl29003_get_range()
119 static int isl29003_set_range(struct i2c_client *client, int range) in isl29003_set_range()
126 static int isl29003_get_resolution(struct i2c_client *client) in isl29003_get_resolution()
132 static int isl29003_set_resolution(struct i2c_client *client, int res) in isl29003_set_resolution()
139 static int isl29003_get_mode(struct i2c_client *client) in isl29003_get_mode()
145 static int isl29003_set_mode(struct i2c_client *client, int mode) in isl29003_set_mode()
152 static int isl29003_set_power_state(struct i2c_client *client, int state) in isl29003_set_power_state()
[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()
122 static void als_set_power_state(struct i2c_client *client, int enable) in als_set_power_state()
153 static int als_set_default_config(struct i2c_client *client) in als_set_default_config()
165 static int isl29020_probe(struct i2c_client *client, in isl29020_probe()
185 static int isl29020_remove(struct i2c_client *client) in isl29020_remove()
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()
171 static int als_set_power_state(struct i2c_client *client, bool on_off) in als_set_power_state()
205 static int als_set_default_config(struct i2c_client *client) in als_set_default_config()
227 static int apds9802als_probe(struct i2c_client *client, in apds9802als_probe()
257 static int apds9802als_remove(struct i2c_client *client) in apds9802als_remove()
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.c46 struct i2c_client *client;
65 static int tsl2550_set_operating_mode(struct i2c_client *client, int mode) in tsl2550_set_operating_mode()
76 static int tsl2550_set_power_state(struct i2c_client *client, int state) in tsl2550_set_power_state()
95 static int tsl2550_get_adc_value(struct i2c_client *client, u8 cmd) in tsl2550_get_adc_value()
201 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_power_state()
233 struct i2c_client *client = to_i2c_client(dev); in tsl2550_store_operating_mode()
257 static ssize_t __tsl2550_show_lux(struct i2c_client *client, char *buf) in __tsl2550_show_lux()
286 struct i2c_client *client = to_i2c_client(dev); in tsl2550_show_lux1_input()
319 static int tsl2550_init_client(struct i2c_client *client) in tsl2550_init_client()
349 static int tsl2550_probe(struct i2c_client *client, in tsl2550_probe()
[all …]
Dfsa9480.c100 struct i2c_client *client;
109 static int fsa9480_write_reg(struct i2c_client *client, in fsa9480_write_reg()
122 static int fsa9480_read_reg(struct i2c_client *client, int reg) in fsa9480_read_reg()
134 static int fsa9480_read_irq(struct i2c_client *client, int *value) in fsa9480_read_irq()
151 struct i2c_client *client = usbsw->client; in fsa9480_set_switch()
185 struct i2c_client *client = usbsw->client; in fsa9480_get_switch()
209 struct i2c_client *client = usbsw->client; in fsa9480_show_device()
271 struct i2c_client *client = usbsw->client; in fsa9480_detect_dev()
356 struct i2c_client *client = usbsw->client; in fsa9480_irq_handler()
371 struct i2c_client *client = usbsw->client; in fsa9480_irq_init()
[all …]
Dhmc6352.c33 static int compass_command(struct i2c_client *c, u8 cmd) in compass_command()
44 struct i2c_client *c = to_i2c_client(dev); in compass_store()
76 struct i2c_client *client = to_i2c_client(dev); in compass_heading_data_show()
114 static int hmc6352_probe(struct i2c_client *client, in hmc6352_probe()
129 static int hmc6352_remove(struct i2c_client *client) in hmc6352_remove()
Dds1682.c61 struct i2c_client *client = to_i2c_client(dev); in ds1682_show()
87 struct i2c_client *client = to_i2c_client(dev); in ds1682_store()
145 struct i2c_client *client = kobj_to_i2c_client(kobj); in ds1682_eeprom_read()
169 struct i2c_client *client = kobj_to_i2c_client(kobj); in ds1682_eeprom_write()
201 static int ds1682_probe(struct i2c_client *client, in ds1682_probe()
229 static int ds1682_remove(struct i2c_client *client) in ds1682_remove()
Dbmp085-i2c.c30 static int bmp085_i2c_detect(struct i2c_client *client, in bmp085_i2c_detect()
39 static int bmp085_i2c_probe(struct i2c_client *client, in bmp085_i2c_probe()
55 static int bmp085_i2c_remove(struct i2c_client *client) in bmp085_i2c_remove()
Dbh1780gli.c43 struct i2c_client *client;
148 static int bh1780_probe(struct i2c_client *client, in bh1780_probe()
178 static int bh1780_remove(struct i2c_client *client) in bh1780_remove()
190 struct i2c_client *client = to_i2c_client(dev); in bh1780_suspend()
212 struct i2c_client *client = to_i2c_client(dev); in bh1780_resume()
/linux-4.1.27/drivers/hwmon/pmbus/
Dpmbus.h363 int (*read_byte_data)(struct i2c_client *client, int page, int reg);
364 int (*read_word_data)(struct i2c_client *client, int page, int reg);
365 int (*write_word_data)(struct i2c_client *client, int page, int reg,
367 int (*write_byte)(struct i2c_client *client, int page, u8 value);
373 int (*identify)(struct i2c_client *client,
398 void pmbus_clear_cache(struct i2c_client *client);
399 int pmbus_set_page(struct i2c_client *client, u8 page);
400 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg);
401 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, u16 word);
402 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg);
[all …]
Dpmbus_core.c121 void pmbus_clear_cache(struct i2c_client *client) in pmbus_clear_cache()
129 int pmbus_set_page(struct i2c_client *client, u8 page) in pmbus_set_page()
147 int pmbus_write_byte(struct i2c_client *client, int page, u8 value) in pmbus_write_byte()
165 static int _pmbus_write_byte(struct i2c_client *client, int page, u8 value) in _pmbus_write_byte()
179 int pmbus_write_word_data(struct i2c_client *client, u8 page, u8 reg, u16 word) in pmbus_write_word_data()
195 static int _pmbus_write_word_data(struct i2c_client *client, int page, int reg, in _pmbus_write_word_data()
212 int pmbus_read_word_data(struct i2c_client *client, u8 page, u8 reg) in pmbus_read_word_data()
228 static int _pmbus_read_word_data(struct i2c_client *client, int page, int reg) in _pmbus_read_word_data()
244 int pmbus_read_byte_data(struct i2c_client *client, int page, u8 reg) in pmbus_read_byte_data()
258 int pmbus_write_byte_data(struct i2c_client *client, int page, u8 reg, u8 value) in pmbus_write_byte_data()
[all …]
Dmax8688.c43 static int max8688_read_word_data(struct i2c_client *client, int page, int reg) in max8688_read_word_data()
73 static int max8688_write_word_data(struct i2c_client *client, int page, int reg, in max8688_write_word_data()
99 static int max8688_read_byte_data(struct i2c_client *client, int page, int reg) in max8688_read_byte_data()
177 static int max8688_probe(struct i2c_client *client, in max8688_probe()
/linux-4.1.27/drivers/watchdog/
Dmenf21bmc_wdt.c39 struct i2c_client *i2c_client; member
46 rst_rsn = i2c_smbus_read_byte_data(data->i2c_client, BMC_CMD_RST_RSN); in menf21bmc_wdt_set_bootstatus()
66 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_ON); in menf21bmc_wdt_start()
73 return i2c_smbus_write_byte_data(drv_data->i2c_client, in menf21bmc_wdt_stop()
88 ret = i2c_smbus_write_word_data(drv_data->i2c_client, in menf21bmc_wdt_settimeout()
102 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_TRIG); in menf21bmc_wdt_ping()
122 struct i2c_client *i2c_client = to_i2c_client(pdev->dev.parent); in menf21bmc_wdt_probe() local
133 drv_data->i2c_client = i2c_client; in menf21bmc_wdt_probe()
139 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_wdt_probe()
184 i2c_smbus_write_word_data(drv_data->i2c_client, in menf21bmc_wdt_shutdown()
/linux-4.1.27/drivers/media/i2c/
Dmsp3400-driver.h118 int msp_write_dem(struct i2c_client *client, int addr, int val);
119 int msp_write_dsp(struct i2c_client *client, int addr, int val);
120 int msp_read_dem(struct i2c_client *client, int addr);
121 int msp_read_dsp(struct i2c_client *client, int addr);
122 int msp_reset(struct i2c_client *client);
123 void msp_set_scart(struct i2c_client *client, int in, int out);
129 void msp_set_audmode(struct i2c_client *client);
130 int msp_detect_stereo(struct i2c_client *client);
134 void msp3400c_set_mode(struct i2c_client *client, int mode);
135 void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2);
Dak881x.c38 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
43 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
49 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
58 static struct ak881x *to_ak881x(const struct i2c_client *client) in to_ak881x()
67 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register()
84 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_register()
99 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_try_g_mbus_fmt()
133 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_cropcap()
150 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_std_output()
181 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_stream()
[all …]
Dmsp3400-driver.c114 int msp_reset(struct i2c_client *client) in msp_reset()
159 static int msp_read(struct i2c_client *client, int dev, int addr) in msp_read()
200 int msp_read_dem(struct i2c_client *client, int addr) in msp_read_dem()
205 int msp_read_dsp(struct i2c_client *client, int addr) in msp_read_dsp()
210 static int msp_write(struct i2c_client *client, int dev, int addr, int val) in msp_write()
238 int msp_write_dem(struct i2c_client *client, int addr, int val) in msp_write_dem()
243 int msp_write_dsp(struct i2c_client *client, int addr, int val) in msp_write_dsp()
289 void msp_set_scart(struct i2c_client *client, int in, int out) in msp_set_scart()
315 static void msp_wake_thread(struct i2c_client *client) in msp_wake_thread()
351 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in msp_s_ctrl()
[all …]
Duda1342.c26 static int write_reg(struct i2c_client *client, int reg, int value) in write_reg()
36 struct i2c_client *client = v4l2_get_subdevdata(sd); in uda1342_s_routing()
60 static int uda1342_probe(struct i2c_client *client, in uda1342_probe()
87 static int uda1342_remove(struct i2c_client *client) in uda1342_remove()
Dml86v7667.c105 static int ml86v7667_mask_set(struct i2c_client *client, const u8 reg, in ml86v7667_mask_set()
119 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_s_ctrl()
165 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_querystd()
182 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_g_input_status()
233 struct i2c_client *client = v4l2_get_subdevdata(&priv->sd); in ml86v7667_s_std()
252 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_g_register()
268 struct i2c_client *client = v4l2_get_subdevdata(sd); in ml86v7667_s_register()
303 struct i2c_client *client = v4l2_get_subdevdata(&priv->sd); in ml86v7667_init()
345 static int ml86v7667_probe(struct i2c_client *client, in ml86v7667_probe()
401 static int ml86v7667_remove(struct i2c_client *client) in ml86v7667_remove()
Dtw2804.c118 static int write_reg(struct i2c_client *client, u8 reg, u8 value, u8 channel) in write_reg()
123 static int write_regs(struct i2c_client *client, const u8 *regs, u8 channel) in write_regs()
137 static int read_reg(struct i2c_client *client, u8 reg, u8 channel) in read_reg()
179 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_g_volatile_ctrl()
204 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in tw2804_s_ctrl()
265 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw2804_s_std()
290 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw2804_s_video_routing()
358 static int tw2804_probe(struct i2c_client *client, in tw2804_probe()
420 static int tw2804_remove(struct i2c_client *client) in tw2804_remove()
Dov2659.c228 struct i2c_client *client;
838 static int ov2659_write(struct i2c_client *client, u16 reg, u8 val) in ov2659_write()
864 static int ov2659_read(struct i2c_client *client, u16 reg, u8 *val) in ov2659_read()
895 static int ov2659_write_array(struct i2c_client *client, in ov2659_write_array()
910 struct i2c_client *client = ov2659->client; in ov2659_pll_calc_params()
954 struct i2c_client *client = ov2659->client; in ov2659_set_pixel_clock()
978 struct i2c_client *client = ov2659->client; in ov2659_set_streaming()
992 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_init()
1005 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_enum_mbus_code()
1021 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2659_enum_frame_sizes()
[all …]
Dmsp3400-kthreads.c189 static void msp_set_source(struct i2c_client *client, u16 src) in msp_set_source()
207 void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2) in msp3400c_set_carrier()
216 void msp3400c_set_mode(struct i2c_client *client, int mode) in msp3400c_set_mode()
254 static void msp3400c_set_audmode(struct i2c_client *client) in msp3400c_set_audmode()
386 static void msp3400c_print_mode(struct i2c_client *client) in msp3400c_print_mode()
415 static int msp3400c_detect_stereo(struct i2c_client *client) in msp3400c_detect_stereo()
493 static void watch_stereo(struct i2c_client *client) in watch_stereo()
506 struct i2c_client *client = data; in msp3400c_thread()
697 struct i2c_client *client = data; in msp3410d_thread()
865 static int msp34xxg_modus(struct i2c_client *client) in msp34xxg_modus()
[all …]
Dov7640.c38 static int write_regs(struct i2c_client *client, const u8 *regs) in write_regs()
52 static int ov7640_probe(struct i2c_client *client, in ov7640_probe()
80 static int ov7640_remove(struct i2c_client *client) in ov7640_remove()
Dupd64083.c77 struct i2c_client *client = v4l2_get_subdevdata(sd); in upd64083_write()
92 struct i2c_client *client = v4l2_get_subdevdata(sd); in upd64083_read()
138 struct i2c_client *client = v4l2_get_subdevdata(sd); in upd64083_log_status()
171 static int upd64083_probe(struct i2c_client *client, in upd64083_probe()
198 static int upd64083_remove(struct i2c_client *client) in upd64083_remove()
Dmt9m032.c169 (&((struct i2c_client *)v4l2_get_subdevdata(&(sensor)->subdev))->dev)
171 static int mt9m032_read(struct i2c_client *client, u8 reg) in mt9m032_read()
176 static int mt9m032_write(struct i2c_client *client, u8 reg, const u16 data) in mt9m032_write()
195 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_update_timing()
230 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_update_geom_timing()
251 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in update_formatter2()
280 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_setup_pll()
562 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_g_register()
582 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in mt9m032_s_register()
597 struct i2c_client *client = v4l2_get_subdevdata(&sensor->subdev); in update_read_mode2()
[all …]
Dsaa7185.c63 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_read()
70 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_write()
81 struct i2c_client *client = v4l2_get_subdevdata(sd); in saa7185_write_block()
306 static int saa7185_probe(struct i2c_client *client, in saa7185_probe()
338 static int saa7185_remove(struct i2c_client *client) in saa7185_remove()
Ds5k6aa.c333 static int s5k6aa_i2c_read(struct i2c_client *client, u16 addr, u16 *val) in s5k6aa_i2c_read()
358 static int s5k6aa_i2c_write(struct i2c_client *client, u16 addr, u16 val) in s5k6aa_i2c_write()
369 static int s5k6aa_write(struct i2c_client *c, u16 addr, u16 val) in s5k6aa_write()
378 static int s5k6aa_read(struct i2c_client *client, u16 addr, u16 *val) in s5k6aa_read()
389 struct i2c_client *client = v4l2_get_subdevdata(sd); in s5k6aa_write_array()
411 static int s5k6aa_set_ahb_address(struct i2c_client *client) in s5k6aa_set_ahb_address()
430 struct i2c_client *c = v4l2_get_subdevdata(&s5k6aa->sd); in s5k6aa_configure_pixel_clocks()
469 struct i2c_client *client = v4l2_get_subdevdata(&s5k6aa->sd); in s5k6aa_set_mirror()
481 struct i2c_client *c = v4l2_get_subdevdata(&s5k6aa->sd); in s5k6aa_set_awb()
513 static int s5k6aa_set_user_exposure(struct i2c_client *client, int exposure) in s5k6aa_set_user_exposure()
[all …]
Dtda9840.c61 struct i2c_client *client = v4l2_get_subdevdata(sd); in tda9840_write()
70 struct i2c_client *client = v4l2_get_subdevdata(sd); in tda9840_status()
160 static int tda9840_probe(struct i2c_client *client, in tda9840_probe()
186 static int tda9840_remove(struct i2c_client *client) in tda9840_remove()
Dadp1653.c51 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_update_hw()
90 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_get_fault()
119 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_strobe()
274 struct i2c_client *client = v4l2_get_subdevdata(&flash->subdev); in adp1653_init_device()
381 struct i2c_client *client = to_i2c_client(dev); in adp1653_suspend()
393 struct i2c_client *client = to_i2c_client(dev); in adp1653_resume()
410 static int adp1653_probe(struct i2c_client *client, in adp1653_probe()
449 static int adp1653_remove(struct i2c_client *client) in adp1653_remove()
/linux-4.1.27/Documentation/i2c/
Dupgrading-clients18 struct i2c_client client;
45 i2c_set_clientdata(&state->i2c_client, state);
46 strlcpy(client->i2c_client.name, "example", I2C_NAME_SIZE);
48 ret = i2c_attach_client(&state->i2c_client);
55 dev = &state->i2c_client.dev;
64 static int example_detach(struct i2c_client *client)
123 which include the i2c_client that it will be working with:
126 + static int example_probe(struct i2c_client *client,
131 changed as the i2c_client has already been setup for use.
141 - strlcpy(client->i2c_client.name, "example", I2C_NAME_SIZE);
[all …]
Dwriting-clients71 void i2c_set_clientdata(struct i2c_client *client, void *data);
74 void *i2c_get_clientdata(const struct i2c_client *client);
97 int foo_read_value(struct i2c_client *client, u8 reg)
105 int foo_write_value(struct i2c_client *client, u8 reg, u16 value)
142 create i2c_client objects for each I2C device.
148 static int foo_probe(struct i2c_client *client,
150 static int foo_remove(struct i2c_client *client);
186 in the I2C bus driver. You may want to save the returned i2c_client
326 int i2c_master_send(struct i2c_client *client, const char *buf,
328 int i2c_master_recv(struct i2c_client *client, char *buf, int count);
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Drtl2832.h52 struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
53 struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *);
54 int (*enable_slave_ts)(struct i2c_client *);
58 int (*bulk_read)(struct i2c_client *, unsigned int, void *, size_t);
59 int (*bulk_write)(struct i2c_client *, unsigned int, const void *, size_t);
60 int (*update_bits)(struct i2c_client *, unsigned int, unsigned int, unsigned int);
Drtl2832_sdr.h58 struct i2c_client *i2c_client; member
59 int (*bulk_read)(struct i2c_client *, unsigned int, void *, size_t);
60 int (*bulk_write)(struct i2c_client *, unsigned int, const void *, size_t);
61 int (*update_bits)(struct i2c_client *, unsigned int, unsigned int, unsigned int);
Drtl2832.c157 static int rtl2832_bulk_write(struct i2c_client *client, unsigned int reg, in rtl2832_bulk_write()
169 static int rtl2832_update_bits(struct i2c_client *client, unsigned int reg, in rtl2832_update_bits()
181 static int rtl2832_bulk_read(struct i2c_client *client, unsigned int reg, in rtl2832_bulk_read()
195 struct i2c_client *client = dev->client; in rtl2832_rd_demod_reg()
225 struct i2c_client *client = dev->client; in rtl2832_wr_demod_reg()
264 struct i2c_client *client = dev->client; in rtl2832_set_if()
298 struct i2c_client *client = dev->client; in rtl2832_init()
412 struct i2c_client *client = dev->client; in rtl2832_sleep()
436 struct i2c_client *client = dev->client; in rtl2832_get_tune_settings()
448 struct i2c_client *client = dev->client; in rtl2832_set_frontend()
[all …]
Drtl2830.c21 static int rtl2830_bulk_write(struct i2c_client *client, unsigned int reg, in rtl2830_bulk_write()
33 static int rtl2830_update_bits(struct i2c_client *client, unsigned int reg, in rtl2830_update_bits()
45 static int rtl2830_bulk_read(struct i2c_client *client, unsigned int reg, in rtl2830_bulk_read()
59 struct i2c_client *client = fe->demodulator_priv; in rtl2830_init()
151 struct i2c_client *client = fe->demodulator_priv; in rtl2830_sleep()
174 struct i2c_client *client = fe->demodulator_priv; in rtl2830_set_frontend()
284 struct i2c_client *client = fe->demodulator_priv; in rtl2830_get_frontend()
397 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_status()
442 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_ber()
509 struct i2c_client *client = dev->client; in rtl2830_stat_work()
[all …]
/linux-4.1.27/drivers/input/misc/
Dgp2ap002a00f.c25 struct i2c_client *i2c_client; member
63 return i2c_smbus_write_byte_data(dt->i2c_client, GP2A_ADDR_OPMOD, in gp2a_enable()
69 return i2c_smbus_write_byte_data(dt->i2c_client, GP2A_ADDR_OPMOD, in gp2a_disable()
80 dev_err(&dt->i2c_client->dev, in gp2a_device_open()
97 dev_err(&dt->i2c_client->dev, in gp2a_device_close()
105 error = i2c_smbus_write_byte_data(dt->i2c_client, GP2A_ADDR_GAIN, in gp2a_initialize()
110 error = i2c_smbus_write_byte_data(dt->i2c_client, GP2A_ADDR_HYS, in gp2a_initialize()
115 error = i2c_smbus_write_byte_data(dt->i2c_client, GP2A_ADDR_CYCLE, in gp2a_initialize()
125 static int gp2a_probe(struct i2c_client *client, in gp2a_probe()
152 dt->i2c_client = client; in gp2a_probe()
[all …]
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()
76 static int adxl34x_i2c_probe(struct i2c_client *client, in adxl34x_i2c_probe()
101 static int adxl34x_i2c_remove(struct i2c_client *client) in adxl34x_i2c_remove()
110 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_suspend()
120 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()
58 static int cma3000_i2c_probe(struct i2c_client *client, in cma3000_i2c_probe()
72 static int cma3000_i2c_remove(struct i2c_client *client) in cma3000_i2c_remove()
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()
Dmpu3050.c111 struct i2c_client *client;
124 static int mpu3050_xyz_read_reg(struct i2c_client *client, in mpu3050_xyz_read_reg()
157 static void mpu3050_read_xyz(struct i2c_client *client, in mpu3050_read_xyz()
177 static void mpu3050_set_power_mode(struct i2c_client *client, u8 val) in mpu3050_set_power_mode()
261 struct i2c_client *client = sensor->client; in mpu3050_hw_init()
308 static int mpu3050_probe(struct i2c_client *client, in mpu3050_probe()
405 static int mpu3050_remove(struct i2c_client *client) in mpu3050_remove()
428 struct i2c_client *client = to_i2c_client(dev); in mpu3050_suspend()
443 struct i2c_client *client = to_i2c_client(dev); in mpu3050_resume()
Dad714x-i2c.c31 struct i2c_client *client = to_i2c_client(chip->dev); in ad714x_i2c_write()
50 struct i2c_client *client = to_i2c_client(chip->dev); in ad714x_i2c_read()
73 static int ad714x_i2c_probe(struct i2c_client *client, in ad714x_i2c_probe()
88 static int ad714x_i2c_remove(struct i2c_client *client) in ad714x_i2c_remove()
Dmma8450.c57 struct i2c_client *client;
63 struct i2c_client *c = m->client; in mma8450_read()
77 struct i2c_client *c = m->client; in mma8450_write()
94 struct i2c_client *c = m->client; in mma8450_read_block()
170 static int mma8450_probe(struct i2c_client *c, in mma8450_probe()
Dpcf8574_keypad.c41 struct i2c_client *client;
84 static int pcf8574_kp_probe(struct i2c_client *client, const struct i2c_device_id *id) in pcf8574_kp_probe()
161 static int pcf8574_kp_remove(struct i2c_client *client) in pcf8574_kp_remove()
176 struct i2c_client *client = to_i2c_client(dev); in pcf8574_kp_resume()
185 struct i2c_client *client = to_i2c_client(dev); in pcf8574_kp_suspend()
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-core.h53 struct i2c_client *c;
125 int cx25840_write(struct i2c_client *client, u16 addr, u8 value);
126 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value);
127 u8 cx25840_read(struct i2c_client *client, u16 addr);
128 u32 cx25840_read4(struct i2c_client *client, u16 addr);
129 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned mask, u8 value);
130 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
132 void cx25840_std_setup(struct i2c_client *client);
136 int cx25840_loadfw(struct i2c_client *client);
140 void cx25840_audio_set_path(struct i2c_client *client);
Dcx25840-audio.c44 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq()
294 static inline int cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25836_set_audclk_freq()
299 static int cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) in cx23885_set_audclk_freq()
341 static int cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) in cx231xx_set_audclk_freq()
417 static int set_audclk_freq(struct i2c_client *client, u32 freq) in set_audclk_freq()
436 void cx25840_audio_set_path(struct i2c_client *client) in cx25840_audio_set_path()
481 static void set_volume(struct i2c_client *client, int volume) in set_volume()
501 static void set_balance(struct i2c_client *client, int balance) in set_balance()
519 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_s_clock_freq()
541 struct i2c_client *client = v4l2_get_subdevdata(sd); in cx25840_audio_s_ctrl()
Dcx25840-firmware.c45 static void start_fw_load(struct i2c_client *client) in start_fw_load()
56 static void end_fw_load(struct i2c_client *client) in end_fw_load()
68 static const char *get_fw_name(struct i2c_client *client) in get_fw_name()
81 static int check_fw_load(struct i2c_client *client, int size) in check_fw_load()
98 static int fw_write(struct i2c_client *client, const u8 *data, int size) in fw_write()
108 int cx25840_loadfw(struct i2c_client *client) in cx25840_loadfw()
Dcx25840-ir.c113 struct i2c_client *c;
344 static inline void control_tx_irq_watermark(struct i2c_client *c, in control_tx_irq_watermark()
350 static inline void control_rx_irq_watermark(struct i2c_client *c, in control_rx_irq_watermark()
356 static inline void control_tx_enable(struct i2c_client *c, bool enable) in control_tx_enable()
362 static inline void control_rx_enable(struct i2c_client *c, bool enable) in control_rx_enable()
368 static inline void control_tx_modulation_enable(struct i2c_client *c, in control_tx_modulation_enable()
375 static inline void control_rx_demodulation_enable(struct i2c_client *c, in control_rx_demodulation_enable()
382 static inline void control_rx_s_edge_detection(struct i2c_client *c, in control_rx_s_edge_detection()
389 static void control_rx_s_carrier_window(struct i2c_client *c, in control_rx_s_carrier_window()
415 static inline void control_tx_polarity_invert(struct i2c_client *c, in control_tx_polarity_invert()
[all …]
/linux-4.1.27/drivers/leds/
Dleds-menf21bmc.c32 struct i2c_client *i2c_client; member
64 led_val = i2c_smbus_read_byte_data(led->i2c_client, in menf21bmc_led_set()
74 i2c_smbus_write_byte_data(led->i2c_client, in menf21bmc_led_set()
84 struct i2c_client *i2c_client = to_i2c_client(pdev->dev.parent); in menf21bmc_led_probe() local
89 leds[i].i2c_client = i2c_client; in menf21bmc_led_probe()
Dleds-blinkm.c35 static int blinkm_transfer_hw(struct i2c_client *client, int cmd);
36 static int blinkm_test_run(struct i2c_client *client);
39 struct i2c_client *i2c_client; member
54 struct i2c_client *i2c_client; member
150 struct i2c_client *client; in show_color_common()
175 struct i2c_client *client; in store_color_common()
284 struct i2c_client *client; in store_test()
313 static int blinkm_write(struct i2c_client *client, int cmd, u8 *arg) in blinkm_write()
335 static int blinkm_read(struct i2c_client *client, int cmd, u8 *arg) in blinkm_read()
351 static int blinkm_transfer_hw(struct i2c_client *client, int cmd) in blinkm_transfer_hw()
[all …]
Dleds-lp3944.c73 struct i2c_client *client;
79 struct i2c_client *client;
83 static int lp3944_reg_read(struct i2c_client *client, u8 reg, u8 *value) in lp3944_reg_read()
96 static int lp3944_reg_write(struct i2c_client *client, u8 reg, u8 value) in lp3944_reg_write()
108 static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) in lp3944_dim_set_period()
139 static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, in lp3944_dim_set_dutycycle()
304 static int lp3944_configure(struct i2c_client *client, in lp3944_configure()
378 static int lp3944_probe(struct i2c_client *client, in lp3944_probe()
416 static int lp3944_remove(struct i2c_client *client) in lp3944_remove()
Dleds-pca955x.c108 struct i2c_client *client;
146 static void pca955x_write_psc(struct i2c_client *client, int n, u8 val) in pca955x_write_psc()
162 static void pca955x_write_pwm(struct i2c_client *client, int n, u8 val) in pca955x_write_pwm()
175 static void pca955x_write_ls(struct i2c_client *client, int n, u8 val) in pca955x_write_ls()
188 static u8 pca955x_read_ls(struct i2c_client *client, int n) in pca955x_read_ls()
258 static int pca955x_probe(struct i2c_client *client, in pca955x_probe()
366 static int pca955x_remove(struct i2c_client *client) in pca955x_remove()
Dleds-pca9532.c40 struct i2c_client *client;
53 static int pca9532_probe(struct i2c_client *client,
55 static int pca9532_remove(struct i2c_client *client);
103 static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink, in pca9532_calcpwm()
129 static int pca9532_setpwm(struct i2c_client *client, int pwm) in pca9532_setpwm()
146 struct i2c_client *client = led->client; in pca9532_setled()
184 struct i2c_client *client = led->client; in pca9532_set_blink()
329 static int pca9532_configure(struct i2c_client *client, in pca9532_configure()
439 static int pca9532_probe(struct i2c_client *client, in pca9532_probe()
467 static int pca9532_remove(struct i2c_client *client) in pca9532_remove()
/linux-4.1.27/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()
212 static const struct regmap_bus *regmap_get_i2c_bus(struct i2c_client *i2c, in regmap_get_i2c_bus()
[all …]
/linux-4.1.27/drivers/mfd/
Dmax8998.c58 int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8998_read_reg()
75 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read()
90 int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8998_write_reg()
102 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write()
117 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg()
172 static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c, in max8998_i2c_get_driver_data()
184 static int max8998_i2c_probe(struct i2c_client *i2c, in max8998_i2c_probe()
257 static int max8998_i2c_remove(struct i2c_client *i2c) in max8998_i2c_remove()
277 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8998_suspend()
287 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8998_resume()
[all …]
Dmax8925-i2c.c21 static inline int max8925_read_device(struct i2c_client *i2c, in max8925_read_device()
37 static inline int max8925_write_device(struct i2c_client *i2c, in max8925_write_device()
52 int max8925_reg_read(struct i2c_client *i2c, int reg) in max8925_reg_read()
69 int max8925_reg_write(struct i2c_client *i2c, int reg, in max8925_reg_write()
83 int max8925_bulk_read(struct i2c_client *i2c, int reg, in max8925_bulk_read()
97 int max8925_bulk_write(struct i2c_client *i2c, int reg, in max8925_bulk_write()
111 int max8925_set_bits(struct i2c_client *i2c, int reg, in max8925_set_bits()
151 static int max8925_probe(struct i2c_client *client, in max8925_probe()
205 static int max8925_remove(struct i2c_client *client) in max8925_remove()
218 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in max8925_suspend()
[all …]
Dtps6507x.c40 struct i2c_client *i2c = tps6507x->i2c_client; in tps6507x_i2c_read_device()
68 struct i2c_client *i2c = tps6507x->i2c_client; in tps6507x_i2c_write_device()
87 static int tps6507x_i2c_probe(struct i2c_client *i2c, in tps6507x_i2c_probe()
99 tps6507x->i2c_client = i2c; in tps6507x_i2c_probe()
107 static int tps6507x_i2c_remove(struct i2c_client *i2c) in tps6507x_i2c_remove()
D88pm860x-i2c.c18 int pm860x_reg_read(struct i2c_client *i2c, int reg) in pm860x_reg_read()
34 int pm860x_reg_write(struct i2c_client *i2c, int reg, in pm860x_reg_write()
47 int pm860x_bulk_read(struct i2c_client *i2c, int reg, in pm860x_bulk_read()
60 int pm860x_bulk_write(struct i2c_client *i2c, int reg, in pm860x_bulk_write()
73 int pm860x_set_bits(struct i2c_client *i2c, int reg, in pm860x_set_bits()
86 static int read_device(struct i2c_client *i2c, int reg, in read_device()
122 static int write_device(struct i2c_client *i2c, int reg, in write_device()
143 int pm860x_page_reg_write(struct i2c_client *i2c, int reg, in pm860x_page_reg_write()
161 int pm860x_page_bulk_read(struct i2c_client *i2c, int reg, in pm860x_page_bulk_read()
Dmax8997.c60 int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) in max8997_read_reg()
77 int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_read()
92 int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value) in max8997_write_reg()
104 int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8997_bulk_write()
119 int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8997_update_reg()
167 static inline unsigned long max8997_i2c_get_driver_data(struct i2c_client *i2c, in max8997_i2c_get_driver_data()
178 static int max8997_i2c_probe(struct i2c_client *i2c, in max8997_i2c_probe()
265 static int max8997_i2c_remove(struct i2c_client *i2c) in max8997_i2c_remove()
439 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8997_freeze()
461 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max8997_restore()
[all …]
Dstmpe-i2c.c22 struct i2c_client *i2c = stmpe->client; in i2c_reg_read()
29 struct i2c_client *i2c = stmpe->client; in i2c_reg_write()
36 struct i2c_client *i2c = stmpe->client; in i2c_block_read()
44 struct i2c_client *i2c = stmpe->client; in i2c_block_write()
69 stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) in stmpe_i2c_probe()
93 static int stmpe_i2c_remove(struct i2c_client *i2c) in stmpe_i2c_remove()
D88pm80x.c52 int pm80x_init(struct i2c_client *client) in pm80x_init()
136 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in pm80x_suspend()
148 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in pm80x_resume()
Dmax77843.c101 static int max77843_probe(struct i2c_client *i2c, in max77843_probe()
172 static int max77843_remove(struct i2c_client *i2c) in max77843_remove()
198 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77843_suspend()
210 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in max77843_resume()
Dtps65912-i2c.c28 struct i2c_client *i2c = tps65912->control_data; in tps65912_i2c_read()
55 struct i2c_client *i2c = tps65912->control_data; in tps65912_i2c_write()
75 static int tps65912_i2c_probe(struct i2c_client *i2c, in tps65912_i2c_probe()
94 static int tps65912_i2c_remove(struct i2c_client *i2c) in tps65912_i2c_remove()
Dadp5520.c32 struct i2c_client *client;
41 static int __adp5520_read(struct i2c_client *client, in __adp5520_read()
56 static int __adp5520_write(struct i2c_client *client, in __adp5520_write()
70 static int __adp5520_ack_bits(struct i2c_client *client, int reg, in __adp5520_ack_bits()
206 static int adp5520_probe(struct i2c_client *client, in adp5520_probe()
307 static int adp5520_remove(struct i2c_client *client) in adp5520_remove()
322 struct i2c_client *client = to_i2c_client(dev); in adp5520_suspend()
334 struct i2c_client *client = to_i2c_client(dev); in adp5520_resume()
Dsec-core.c291 static inline unsigned long sec_i2c_get_driver_data(struct i2c_client *i2c, in sec_i2c_get_driver_data()
305 static int sec_pmic_probe(struct i2c_client *i2c, in sec_pmic_probe()
434 static int sec_pmic_remove(struct i2c_client *i2c) in sec_pmic_remove()
446 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sec_pmic_suspend()
467 struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); in sec_pmic_resume()
Dab3100-core.c87 err = i2c_master_send(ab3100->i2c_client, regandval, 2); in ab3100_set_register_interruptible()
166 err = i2c_master_send(ab3100->i2c_client, &reg, 1); in ab3100_get_register_interruptible()
184 err = i2c_master_recv(ab3100->i2c_client, regval, 1); in ab3100_get_register_interruptible()
232 err = i2c_master_send(ab3100->i2c_client, &first_reg, 1); in ab3100_get_register_page_interruptible()
247 err = i2c_master_recv(ab3100->i2c_client, regvals, numregs); in ab3100_get_register_page_interruptible()
290 err = i2c_master_send(ab3100->i2c_client, &reg, 1); in ab3100_mask_and_set_register_interruptible()
305 err = i2c_master_recv(ab3100->i2c_client, &regandval[1], 1); in ab3100_mask_and_set_register_interruptible()
325 err = i2c_master_send(ab3100->i2c_client, regandval, 2); in ab3100_mask_and_set_register_interruptible()
851 static int ab3100_probe(struct i2c_client *client, in ab3100_probe()
870 ab3100->i2c_client = client; in ab3100_probe()
[all …]
/linux-4.1.27/drivers/misc/lis3lv02d/
Dlis3lv02d_i2c.c61 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_write()
67 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_read()
75 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_blockread()
116 static int lis3lv02d_i2c_probe(struct i2c_client *client, in lis3lv02d_i2c_probe()
193 static int lis3lv02d_i2c_remove(struct i2c_client *client) in lis3lv02d_i2c_remove()
212 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3lv02d_i2c_suspend()
222 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3lv02d_i2c_resume()
241 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3_i2c_runtime_suspend()
250 struct i2c_client *client = container_of(dev, struct i2c_client, dev); in lis3_i2c_runtime_resume()
/linux-4.1.27/drivers/power/
Dmax17040_battery.c41 struct i2c_client *client;
81 static int max17040_write_reg(struct i2c_client *client, int reg, u8 value) in max17040_write_reg()
93 static int max17040_read_reg(struct i2c_client *client, int reg) in max17040_read_reg()
105 static void max17040_reset(struct i2c_client *client) in max17040_reset()
111 static void max17040_get_vcell(struct i2c_client *client) in max17040_get_vcell()
123 static void max17040_get_soc(struct i2c_client *client) in max17040_get_soc()
135 static void max17040_get_version(struct i2c_client *client) in max17040_get_version()
146 static void max17040_get_online(struct i2c_client *client) in max17040_get_online()
156 static void max17040_get_status(struct i2c_client *client) in max17040_get_status()
209 static int max17040_probe(struct i2c_client *client, in max17040_probe()
[all …]
Dsbs-battery.c158 struct i2c_client *client;
174 static int sbs_read_word_data(struct i2c_client *client, u8 address) in sbs_read_word_data()
200 static int sbs_read_string_data(struct i2c_client *client, u8 address, in sbs_read_string_data()
268 static int sbs_write_word_data(struct i2c_client *client, u8 address, in sbs_write_word_data()
297 struct i2c_client *client, enum power_supply_property psp, in sbs_get_battery_presence_and_health()
360 static int sbs_get_battery_property(struct i2c_client *client, in sbs_get_battery_property()
407 static int sbs_get_battery_string_property(struct i2c_client *client, in sbs_get_battery_string_property()
420 static void sbs_unit_adjustment(struct i2c_client *client, in sbs_unit_adjustment()
468 static enum sbs_battery_mode sbs_set_battery_mode(struct i2c_client *client, in sbs_set_battery_mode()
492 static int sbs_get_battery_capacity(struct i2c_client *client, in sbs_get_battery_capacity()
[all …]
Drt5033_battery.c18 static int rt5033_battery_get_capacity(struct i2c_client *client) in rt5033_battery_get_capacity()
28 static int rt5033_battery_get_present(struct i2c_client *client) in rt5033_battery_get_present()
38 static int rt5033_battery_get_watt_prop(struct i2c_client *client, in rt5033_battery_get_watt_prop()
118 static int rt5033_battery_probe(struct i2c_client *client, in rt5033_battery_probe()
155 static int rt5033_battery_remove(struct i2c_client *client) in rt5033_battery_remove()
Dpm2301_charger.c920 struct i2c_client *i2c_client = to_i2c_client(dev); in pm2xxx_wall_charger_resume() local
923 pm2 = (struct pm2xxx_charger *)i2c_get_clientdata(i2c_client); in pm2xxx_wall_charger_resume()
936 struct i2c_client *i2c_client = to_i2c_client(dev); in pm2xxx_wall_charger_suspend() local
939 pm2 = (struct pm2xxx_charger *)i2c_get_clientdata(i2c_client); in pm2xxx_wall_charger_suspend()
956 struct i2c_client *pm2xxx_i2c_client = to_i2c_client(dev); in pm2xxx_runtime_suspend()
967 struct i2c_client *pm2xxx_i2c_client = to_i2c_client(dev); in pm2xxx_runtime_resume()
988 static int pm2xxx_wall_charger_probe(struct i2c_client *i2c_client, in pm2xxx_wall_charger_probe() argument
991 struct pm2xxx_platform_data *pl_data = i2c_client->dev.platform_data; in pm2xxx_wall_charger_probe()
999 dev_err(&i2c_client->dev, "No platform data supplied\n"); in pm2xxx_wall_charger_probe()
1005 dev_err(&i2c_client->dev, "pm2xxx_charger allocation failed\n"); in pm2xxx_wall_charger_probe()
[all …]
Dbq24735-charger.c49 struct i2c_client *client;
62 static inline int bq24735_write_word(struct i2c_client *client, u8 reg, in bq24735_write_word()
68 static inline int bq24735_read_word(struct i2c_client *client, u8 reg) in bq24735_read_word()
75 static int bq24735_update_word(struct i2c_client *client, u8 reg, in bq24735_update_word()
209 static struct bq24735_platform *bq24735_parse_dt_data(struct i2c_client *client) in bq24735_parse_dt_data()
245 static int bq24735_charger_probe(struct i2c_client *client, in bq24735_charger_probe()
381 static int bq24735_charger_remove(struct i2c_client *client) in bq24735_charger_remove()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dsii9234_drv.c34 struct i2c_client *client;
45 static inline int sii9234_readb(struct i2c_client *client, int addr) in sii9234_readb()
50 static inline int sii9234_writeb(struct i2c_client *client, int addr, int value) in sii9234_writeb()
55 static inline int sii9234_writeb_mask(struct i2c_client *client, int addr, in sii9234_writeb_mask()
67 static inline int sii9234_readb_idx(struct i2c_client *client, int addr) in sii9234_readb_idx()
79 static inline int sii9234_writeb_idx(struct i2c_client *client, int addr, in sii9234_writeb_idx()
93 static inline int sii9234_writeb_idx_mask(struct i2c_client *client, int addr, in sii9234_writeb_idx_mask()
107 struct i2c_client *client = ctx->client; in sii9234_reset()
142 static int sii9234_verify_version(struct i2c_client *client) in sii9234_verify_version()
218 struct i2c_client *client = ctx->client; in sii9234_set_internal()
[all …]
/linux-4.1.27/include/linux/mfd/
Dmax8998-private.h155 struct i2c_client *i2c;
156 struct i2c_client *rtc;
174 extern int max8998_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest);
175 extern int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count,
177 extern int max8998_write_reg(struct i2c_client *i2c, u8 reg, u8 value);
178 extern int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count,
180 extern int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
D88pm860x.h383 struct i2c_client *client;
384 struct i2c_client *companion; /* companion chip client */
472 extern int pm860x_reg_read(struct i2c_client *, int);
473 extern int pm860x_reg_write(struct i2c_client *, int, unsigned char);
474 extern int pm860x_bulk_read(struct i2c_client *, int, int, unsigned char *);
475 extern int pm860x_bulk_write(struct i2c_client *, int, int, unsigned char *);
476 extern int pm860x_set_bits(struct i2c_client *, int, unsigned char,
478 extern int pm860x_page_reg_read(struct i2c_client *, int);
479 extern int pm860x_page_reg_write(struct i2c_client *, int, unsigned char);
480 extern int pm860x_page_bulk_read(struct i2c_client *, int, int,
[all …]
Dmax8925.h197 struct i2c_client *i2c;
198 struct i2c_client *adc;
199 struct i2c_client *rtc;
266 extern int max8925_reg_read(struct i2c_client *, int);
267 extern int max8925_reg_write(struct i2c_client *, int, unsigned char);
268 extern int max8925_bulk_read(struct i2c_client *, int, int, unsigned char *);
269 extern int max8925_bulk_write(struct i2c_client *, int, int, unsigned char *);
270 extern int max8925_set_bits(struct i2c_client *, int, unsigned char,
Dmax8997-private.h384 struct i2c_client *i2c; /* 0xcc / PMIC, Battery Control, and FLASH */
385 struct i2c_client *rtc; /* slave addr 0x0c */
386 struct i2c_client *haptic; /* slave addr 0x90 */
387 struct i2c_client *muic; /* slave addr 0x4a */
416 extern int max8997_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest);
417 extern int max8997_bulk_read(struct i2c_client *i2c, u8 reg, int count,
419 extern int max8997_write_reg(struct i2c_client *i2c, u8 reg, u8 value);
420 extern int max8997_bulk_write(struct i2c_client *i2c, u8 reg, int count,
422 extern int max8997_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask);
Dab3100.h96 struct i2c_client *i2c_client; member
97 struct i2c_client *testreg_client;
Dbcm590xx.h27 struct i2c_client *i2c_pri;
28 struct i2c_client *i2c_sec;
/linux-4.1.27/drivers/staging/ste_rmi4/
Dsynaptics_i2c_rmi4.c174 struct i2c_client *i2c_client; member
204 struct i2c_client *i2c = pdata->i2c_client; in synaptics_rmi4_set_page()
235 struct i2c_client *i2c = pdata->i2c_client; in synaptics_rmi4_i2c_block_read()
273 struct i2c_client *i2c = pdata->i2c_client; in synaptics_rmi4_i2c_byte_write()
283 retval = i2c_master_send(pdata->i2c_client, txbuf, 2); in synaptics_rmi4_i2c_byte_write()
321 struct i2c_client *client = pdata->i2c_client; in synpatics_rmi4_touchpad_report()
416 struct i2c_client *client = pdata->i2c_client; in synaptics_rmi4_report_device()
443 struct i2c_client *client = pdata->i2c_client; in synaptics_rmi4_sensor_report()
528 struct i2c_client *client = pdata->i2c_client; in synpatics_rmi4_touchpad_detect()
663 struct i2c_client *client = pdata->i2c_client; in synaptics_rmi4_touchpad_config()
[all …]
/linux-4.1.27/drivers/media/i2c/soc_camera/
Dmt9m001.c105 static struct mt9m001 *to_mt9m001(const struct i2c_client *client) in to_mt9m001()
110 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
115 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
121 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
132 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
143 static int mt9m001_init(struct i2c_client *client) in mt9m001_init()
166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_stream()
176 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_s_crop()
230 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_g_crop()
256 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9m001_g_fmt()
[all …]
Dmt9t031.c86 static struct mt9t031 *to_mt9t031(const struct i2c_client *client) in to_mt9t031()
91 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
96 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
102 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
113 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
124 static int set_shutter(struct i2c_client *client, const u32 data) in set_shutter()
136 static int get_shutter(struct i2c_client *client, u32 *data) in get_shutter()
150 static int mt9t031_idle(struct i2c_client *client) in mt9t031_idle()
166 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9t031_s_stream()
201 static int mt9t031_set_params(struct i2c_client *client, in mt9t031_set_params()
[all …]
Dov5642.c624 static struct ov5642 *to_ov5642(const struct i2c_client *client) in to_ov5642()
642 static int reg_read(struct i2c_client *client, u16 reg, u8 *val) in reg_read()
664 static int reg_write(struct i2c_client *client, u16 reg, u8 val) in reg_write()
683 static int reg_write16(struct i2c_client *client, u16 reg, u16 val16) in reg_write16()
696 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_get_register()
714 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_register()
723 static int ov5642_write_array(struct i2c_client *client, in ov5642_write_array()
738 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_set_resolution()
792 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_try_fmt()
812 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov5642_s_fmt()
[all …]
Dmt9t112.c89 struct i2c_client *client;
141 static struct mt9t112_priv *to_mt9t112(const struct i2c_client *client) in to_mt9t112()
148 static int __mt9t112_reg_read(const struct i2c_client *client, u16 command) in __mt9t112_reg_read()
179 static int __mt9t112_reg_write(const struct i2c_client *client, in __mt9t112_reg_write()
208 static int __mt9t112_reg_mask_set(const struct i2c_client *client, in __mt9t112_reg_mask_set()
224 static int __mt9t112_mcu_read(const struct i2c_client *client, u16 command) in __mt9t112_mcu_read()
235 static int __mt9t112_mcu_write(const struct i2c_client *client, in __mt9t112_mcu_write()
247 static int __mt9t112_mcu_mask_set(const struct i2c_client *client, in __mt9t112_mcu_mask_set()
262 static int mt9t112_reset(const struct i2c_client *client) in mt9t112_reset()
277 static int mt9t112_clock_info(const struct i2c_client *client, u32 ext) in mt9t112_clock_info()
[all …]
Dtw9910.c331 static struct tw9910_priv *to_tw9910(const struct i2c_client *client) in to_tw9910()
337 static int tw9910_mask_set(struct i2c_client *client, u8 command, in tw9910_mask_set()
350 static int tw9910_set_scale(struct i2c_client *client, in tw9910_set_scale()
372 static int tw9910_set_hsync(struct i2c_client *client) in tw9910_set_hsync()
399 static void tw9910_reset(struct i2c_client *client) in tw9910_reset()
405 static int tw9910_power(struct i2c_client *client, int enable) in tw9910_power()
461 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_s_stream()
501 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_g_std()
511 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_s_std()
526 struct i2c_client *client = v4l2_get_subdevdata(sd); in tw9910_g_register()
[all …]
Dmt9m111.c231 static struct mt9m111 *to_mt9m111(const struct i2c_client *client) in to_mt9m111()
236 static int reg_page_map_set(struct i2c_client *client, const u16 reg) in reg_page_map_set()
254 static int mt9m111_reg_read(struct i2c_client *client, const u16 reg) in mt9m111_reg_read()
266 static int mt9m111_reg_write(struct i2c_client *client, const u16 reg, in mt9m111_reg_write()
278 static int mt9m111_reg_set(struct i2c_client *client, const u16 reg, in mt9m111_reg_set()
289 static int mt9m111_reg_clear(struct i2c_client *client, const u16 reg, in mt9m111_reg_clear()
300 static int mt9m111_reg_mask(struct i2c_client *client, const u16 reg, in mt9m111_reg_mask()
314 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_set_context()
322 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_setup_rect_ctx()
336 struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); in mt9m111_setup_geometry()
[all …]
Dmt9v022.c168 static struct mt9v022 *to_mt9v022(const struct i2c_client *client) in to_mt9v022()
173 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
178 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
184 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
195 static int reg_clear(struct i2c_client *client, const u8 reg, in reg_clear()
206 static int mt9v022_init(struct i2c_client *client) in mt9v022_init()
244 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_stream()
281 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_s_crop()
355 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_g_crop()
381 struct i2c_client *client = v4l2_get_subdevdata(sd); in mt9v022_g_fmt()
[all …]
Drj54n1cb0c.c423 static struct rj54n1 *to_rj54n1(const struct i2c_client *client) in to_rj54n1()
428 static int reg_read(struct i2c_client *client, const u16 reg) in reg_read()
444 static int reg_write(struct i2c_client *client, const u16 reg, in reg_write()
462 static int reg_set(struct i2c_client *client, const u16 reg, in reg_set()
473 static int reg_write_multiple(struct i2c_client *client, in reg_write_multiple()
500 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_s_stream()
506 static int rj54n1_set_rect(struct i2c_client *client, in rj54n1_set_rect()
528 static int rj54n1_commit(struct i2c_client *client) in rj54n1_commit()
542 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_s_crop()
577 struct i2c_client *client = v4l2_get_subdevdata(sd); in rj54n1_g_crop()
[all …]
Dov9640.c169 static int ov9640_reg_read(struct i2c_client *client, u8 reg, u8 *val) in ov9640_reg_read()
198 static int ov9640_reg_write(struct i2c_client *client, u8 reg, u8 val) in ov9640_reg_write()
227 static int ov9640_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 unset) in ov9640_reg_rmw()
251 static int ov9640_reset(struct i2c_client *client) in ov9640_reset()
273 struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev); in ov9640_s_ctrl()
294 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_get_register()
315 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_set_register()
326 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9640_s_power()
378 static int ov9640_write_regs(struct i2c_client *client, u32 width, in ov9640_write_regs()
466 static int ov9640_prog_dflt(struct i2c_client *client) in ov9640_prog_dflt()
[all …]
Dimx074.c88 static struct imx074 *to_imx074(const struct i2c_client *client) in to_imx074()
105 static int reg_write(struct i2c_client *client, const u16 addr, const u8 data) in reg_write()
128 static int reg_read(struct i2c_client *client, const u16 addr) in reg_read()
178 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_s_fmt()
197 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_g_fmt()
250 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_s_stream()
258 struct i2c_client *client = v4l2_get_subdevdata(sd); in imx074_s_power()
296 static int imx074_video_probe(struct i2c_client *client) in imx074_video_probe()
413 static int imx074_probe(struct i2c_client *client, in imx074_probe()
464 static int imx074_remove(struct i2c_client *client) in imx074_remove()
Dov6650.c220 static int ov6650_reg_read(struct i2c_client *client, u8 reg, u8 *val) in ov6650_reg_read()
249 static int ov6650_reg_write(struct i2c_client *client, u8 reg, u8 val) in ov6650_reg_write()
272 static int ov6650_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 mask) in ov6650_reg_rmw()
297 static struct ov6650 *to_ov6650(const struct i2c_client *client) in to_ov6650()
313 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6550_g_volatile_ctrl()
346 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6550_s_ctrl()
398 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_get_register()
417 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_set_register()
428 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_s_power()
437 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov6650_g_crop()
[all …]
Dov2640.c621 static struct ov2640_priv *to_ov2640(const struct i2c_client *client) in to_ov2640()
627 static int ov2640_write_array(struct i2c_client *client, in ov2640_write_array()
645 static int ov2640_mask_set(struct i2c_client *client, in ov2640_mask_set()
660 static int ov2640_reset(struct i2c_client *client) in ov2640_reset()
691 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2640_s_ctrl()
715 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2640_g_register()
734 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2640_s_register()
746 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2640_s_power()
772 static int ov2640_set_params(struct i2c_client *client, u32 *width, u32 *height, in ov2640_set_params()
851 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov2640_g_fmt()
[all …]
Dov9740.c400 static int ov9740_reg_read(struct i2c_client *client, u16 reg, u8 *val) in ov9740_reg_read()
430 static int ov9740_reg_write(struct i2c_client *client, u16 reg, u8 val) in ov9740_reg_write()
460 static int ov9740_reg_rmw(struct i2c_client *client, u16 reg, u8 set, u8 unset) in ov9740_reg_rmw()
487 static int ov9740_reg_write_array(struct i2c_client *client, in ov9740_reg_write_array()
507 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9740_s_stream()
561 static int ov9740_set_res(struct i2c_client *client, u32 width, u32 height) in ov9740_set_res()
674 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9740_s_fmt()
777 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9740_s_power()
807 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9740_get_register()
828 struct i2c_client *client = v4l2_get_subdevdata(sd); in ov9740_set_register()
[all …]
/linux-4.1.27/drivers/gpu/drm/i2c/
Dsil164_drv.c36 struct i2c_client *duallink_slave;
105 sil164_write(struct i2c_client *client, uint8_t addr, uint8_t val) in sil164_write()
117 sil164_read(struct i2c_client *client, uint8_t addr) in sil164_read()
139 sil164_save_state(struct i2c_client *client, uint8_t *state) in sil164_save_state()
148 sil164_restore_state(struct i2c_client *client, uint8_t *state) in sil164_restore_state()
157 sil164_set_power_state(struct i2c_client *client, bool on) in sil164_set_power_state()
170 sil164_init_state(struct i2c_client *client, in sil164_init_state()
301 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in sil164_encoder_detect()
362 sil164_probe(struct i2c_client *client, const struct i2c_device_id *id) in sil164_probe()
383 sil164_remove(struct i2c_client *client) in sil164_remove()
[all …]
Dch7006_drv.c55 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_dpms()
72 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_save()
82 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_restore()
117 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_mode_set()
180 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_detect()
284 struct i2c_client *client = drm_i2c_encoder_get_client(encoder); in ch7006_encoder_set_property()
392 static int ch7006_probe(struct i2c_client *client, const struct i2c_device_id *id) in ch7006_probe()
423 static int ch7006_remove(struct i2c_client *client) in ch7006_remove()
432 struct i2c_client *client = to_i2c_client(dev); in ch7006_resume()
441 static int ch7006_encoder_init(struct i2c_client *client, in ch7006_encoder_init()
/linux-4.1.27/drivers/hwmon/
Dw83l785ts.c78 static int w83l785ts_probe(struct i2c_client *client,
80 static int w83l785ts_detect(struct i2c_client *client,
82 static int w83l785ts_remove(struct i2c_client *client);
83 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval);
142 static int w83l785ts_detect(struct i2c_client *client, in w83l785ts_detect()
179 static int w83l785ts_probe(struct i2c_client *client, in w83l785ts_probe()
221 static int w83l785ts_remove(struct i2c_client *client) in w83l785ts_remove()
234 static u8 w83l785ts_read_value(struct i2c_client *client, u8 reg, u8 defval) in w83l785ts_read_value()
275 struct i2c_client *client = to_i2c_client(dev); in w83l785ts_update_device()
Dmenf21bmc_hwmon.c41 struct i2c_client *i2c_client; member
66 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_update()
86 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
93 val = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_hwmon_get_volt_limits()
191 struct i2c_client *i2c_client = to_i2c_client(pdev->dev.parent); in menf21bmc_hwmon_probe() local
199 drv_data->i2c_client = i2c_client; in menf21bmc_hwmon_probe()
Dadt7411.c54 struct i2c_client *client;
63 static int adt7411_read_10_bit(struct i2c_client *client, u8 lsb_reg, in adt7411_read_10_bit()
87 static int adt7411_modify_bit(struct i2c_client *client, u8 reg, u8 bit, in adt7411_modify_bit()
115 struct i2c_client *client = data->client; in adt7411_show_vdd()
126 struct i2c_client *client = data->client; in adt7411_show_temp()
143 struct i2c_client *client = data->client; in adt7411_show_input()
186 struct i2c_client *client = data->client; in adt7411_show_bit()
198 struct i2c_client *client = data->client; in adt7411_set_bit()
253 static int adt7411_detect(struct i2c_client *client, in adt7411_detect()
282 static int adt7411_probe(struct i2c_client *client, in adt7411_probe()
Dlm75.c77 struct i2c_client *client;
93 static int lm75_read_value(struct i2c_client *client, u8 reg);
94 static int lm75_write_value(struct i2c_client *client, u8 reg, u16 value);
137 struct i2c_client *client = data->client; in set_temp()
189 lm75_probe(struct i2c_client *client, const struct i2c_device_id *id) in lm75_probe()
315 static int lm75_remove(struct i2c_client *client) in lm75_remove()
353 static int lm75_detect(struct i2c_client *new_client, in lm75_detect()
448 struct i2c_client *client = to_i2c_client(dev); in lm75_suspend()
462 struct i2c_client *client = to_i2c_client(dev); in lm75_resume()
504 static int lm75_read_value(struct i2c_client *client, u8 reg) in lm75_read_value()
[all …]
Dg760a.c40 struct i2c_client *client;
71 static int g760a_read_value(struct i2c_client *client, enum g760a_regs reg) in g760a_read_value()
76 static int g760a_write_value(struct i2c_client *client, enum g760a_regs reg, in g760a_write_value()
89 struct i2c_client *client = data->client; in g760a_update_client()
146 struct i2c_client *client = data->client; in set_pwm()
177 static int g760a_probe(struct i2c_client *client, in g760a_probe()
Dlm77.c65 struct i2c_client *client;
95 static u16 lm77_read_value(struct i2c_client *client, u8 reg) in lm77_read_value()
103 static int lm77_write_value(struct i2c_client *client, u8 reg, u16 value) in lm77_write_value()
114 struct i2c_client *client = data->client; in lm77_update_device()
168 struct i2c_client *client = data->client; in set_temp()
194 struct i2c_client *client = data->client; in set_temp_hyst()
252 static int lm77_detect(struct i2c_client *client, struct i2c_board_info *info) in lm77_detect()
322 static void lm77_init_client(struct i2c_client *client) in lm77_init_client()
330 static int lm77_probe(struct i2c_client *client, const struct i2c_device_id *id) in lm77_probe()
Dasb100.c200 struct i2c_client *lm75[2];
218 static int asb100_read_value(struct i2c_client *client, u16 reg);
219 static void asb100_write_value(struct i2c_client *client, u16 reg, u16 val);
221 static int asb100_probe(struct i2c_client *client,
223 static int asb100_detect(struct i2c_client *client,
225 static int asb100_remove(struct i2c_client *client);
227 static void asb100_init_client(struct i2c_client *client);
266 struct i2c_client *client = to_i2c_client(dev); \
330 struct i2c_client *client = to_i2c_client(dev); in set_fan_min()
356 struct i2c_client *client = to_i2c_client(dev); in set_fan_div()
[all …]
Df75375s.c128 static int f75375_detect(struct i2c_client *client,
130 static int f75375_probe(struct i2c_client *client,
132 static int f75375_remove(struct i2c_client *client);
154 static inline int f75375_read8(struct i2c_client *client, u8 reg) in f75375_read8()
160 static inline u16 f75375_read16(struct i2c_client *client, u8 reg) in f75375_read16()
166 static inline void f75375_write8(struct i2c_client *client, u8 reg, in f75375_write8()
172 static inline void f75375_write16(struct i2c_client *client, u8 reg, in f75375_write16()
181 static void f75375_write_pwm(struct i2c_client *client, int nr) in f75375_write_pwm()
193 struct i2c_client *client = to_i2c_client(dev); in f75375_update_device()
303 struct i2c_client *client = to_i2c_client(dev); in set_fan_min()
[all …]
Dlm95245.c115 struct i2c_client *client;
141 struct i2c_client *client = data->client; in lm95245_update_device()
162 static unsigned long lm95245_read_conversion_rate(struct i2c_client *client) in lm95245_read_conversion_rate()
188 static unsigned long lm95245_set_conversion_rate(struct i2c_client *client, in lm95245_set_conversion_rate()
250 struct i2c_client *client = data->client; in set_limit()
286 struct i2c_client *client = data->client; in set_crit_hyst()
322 struct i2c_client *client = data->client; in set_type()
369 struct i2c_client *client = data->client; in set_interval()
423 static int lm95245_detect(struct i2c_client *new_client, in lm95245_detect()
456 static void lm95245_init_client(struct i2c_client *client, in lm95245_init_client()
[all …]
Dtmp102.c54 struct i2c_client *client;
84 struct i2c_client *client = tmp102->client; in tmp102_update_device()
126 struct i2c_client *client = tmp102->client; in tmp102_set_temp()
165 static int tmp102_probe(struct i2c_client *client, in tmp102_probe()
236 static int tmp102_remove(struct i2c_client *client) in tmp102_remove()
259 struct i2c_client *client = to_i2c_client(dev); in tmp102_suspend()
272 struct i2c_client *client = to_i2c_client(dev); in tmp102_resume()
Dpcf8591.c87 static void pcf8591_init_client(struct i2c_client *client);
118 struct i2c_client *client = to_i2c_client(dev); in set_out0_output()
149 struct i2c_client *client = to_i2c_client(dev); in set_out0_enable()
197 static int pcf8591_probe(struct i2c_client *client, in pcf8591_probe()
247 static int pcf8591_remove(struct i2c_client *client) in pcf8591_remove()
258 static void pcf8591_init_client(struct i2c_client *client) in pcf8591_init_client()
276 struct i2c_client *client = to_i2c_client(dev); in pcf8591_read_channel()
Dds620.c70 struct i2c_client *client;
78 static void ds620_init_client(struct i2c_client *client) in ds620_init_client()
110 struct i2c_client *client = data->client; in ds620_update_client()
162 struct i2c_client *client = data->client; in set_temp()
184 struct i2c_client *client; in show_alarm()
229 static int ds620_probe(struct i2c_client *client, in ds620_probe()
Dad7414.c42 struct i2c_client *client;
60 static inline int ad7414_read(struct i2c_client *client, u8 reg) in ad7414_read()
68 static inline int ad7414_write(struct i2c_client *client, u8 reg, u8 value) in ad7414_write()
76 struct i2c_client *client = data->client; in ad7414_update_device()
131 struct i2c_client *client = data->client; in set_max_min()
178 static int ad7414_probe(struct i2c_client *client, in ad7414_probe()
Datxp1.c49 struct i2c_client *client;
65 struct i2c_client *client = data->client; in atxp1_update_device()
106 struct i2c_client *client = data->client; in atxp1_storevcore()
182 struct i2c_client *client = data->client; in atxp1_storegpio1()
228 struct i2c_client *client = data->client; in atxp1_storegpio2()
263 static int atxp1_detect(struct i2c_client *new_client, in atxp1_detect()
304 static int atxp1_probe(struct i2c_client *client, in atxp1_probe()
Dads1015.c73 static int ads1015_read_adc(struct i2c_client *client, unsigned int channel) in ads1015_read_adc()
123 static int ads1015_reg_to_mv(struct i2c_client *client, unsigned int channel, in ads1015_reg_to_mv()
139 struct i2c_client *client = to_i2c_client(dev); in show_in()
165 static int ads1015_remove(struct i2c_client *client) in ads1015_remove()
177 static int ads1015_get_channels_config_of(struct i2c_client *client) in ads1015_get_channels_config_of()
234 static void ads1015_get_channels_config(struct i2c_client *client) in ads1015_get_channels_config()
260 static int ads1015_probe(struct i2c_client *client, in ads1015_probe()
Dlm92.c108 struct i2c_client *client;
124 struct i2c_client *client = data->client; in lm92_update_device()
159 struct i2c_client *client = data->client; in set_temp()
198 struct i2c_client *client = data->client; in set_temp_hyst()
251 static void lm92_init_client(struct i2c_client *client) in lm92_init_client()
269 static int max6635_check(struct i2c_client *client) in max6635_check()
335 static int lm92_detect(struct i2c_client *new_client, in lm92_detect()
361 static int lm92_probe(struct i2c_client *new_client, in lm92_probe()
Demc2103.c69 struct i2c_client *client;
86 static int read_u8_from_i2c(struct i2c_client *client, u8 i2c_reg, u8 *output) in read_u8_from_i2c()
98 static void read_temp_from_i2c(struct i2c_client *client, u8 i2c_reg, in read_temp_from_i2c()
113 static void read_fan_from_i2c(struct i2c_client *client, u16 *output, in read_fan_from_i2c()
127 static void write_fan_target_to_i2c(struct i2c_client *client, u16 new_target) in write_fan_target_to_i2c()
135 static void read_fan_config_from_i2c(struct i2c_client *client) in read_fan_config_from_i2c()
151 struct i2c_client *client = data->client; in emc2103_update_device()
247 struct i2c_client *client = data->client; in set_temp_min()
269 struct i2c_client *client = data->client; in set_temp_max()
314 struct i2c_client *client = data->client; in set_fan_div()
[all …]
Dmax6650.c113 struct i2c_client *client;
139 struct i2c_client *client = data->client; in max6650_update_device()
259 struct i2c_client *client = data->client; in set_target()
328 struct i2c_client *client = data->client; in set_pwm()
374 struct i2c_client *client = data->client; in set_enable()
424 struct i2c_client *client = data->client; in set_div()
469 struct i2c_client *client = data->client; in get_alarm()
508 struct i2c_client *client = data->client; in max6650_attrs_visible()
564 struct i2c_client *client) in max6650_init_client()
650 static int max6650_probe(struct i2c_client *client, in max6650_probe()
Dw83l786ng.c127 struct i2c_client *client;
152 w83l786ng_read_value(struct i2c_client *client, u8 reg) in w83l786ng_read_value()
158 w83l786ng_write_value(struct i2c_client *client, u8 reg, u8 value) in w83l786ng_write_value()
166 struct i2c_client *client = data->client; in w83l786ng_update_device()
256 struct i2c_client *client = data->client; \
309 struct i2c_client *client = data->client; in store_fan_min()
347 struct i2c_client *client = data->client; in store_fan_div()
438 struct i2c_client *client = data->client; in store_temp()
493 struct i2c_client *client = data->client; in show_pwm_reg()
521 struct i2c_client *client = data->client; in store_pwm()
[all …]
Dmcp3021.c56 static int mcp3021_read16(struct i2c_client *client) in mcp3021_read16()
89 struct i2c_client *client = to_i2c_client(dev); in show_in_input()
104 static int mcp3021_probe(struct i2c_client *client, in mcp3021_probe()
159 static int mcp3021_remove(struct i2c_client *client) in mcp3021_remove()
/linux-4.1.27/drivers/input/keyboard/
Dqt1070.c62 struct i2c_client *client;
69 static int qt1070_read(struct i2c_client *client, u8 reg) in qt1070_read()
81 static int qt1070_write(struct i2c_client *client, u8 reg, u8 data) in qt1070_write()
93 static bool qt1070_identify(struct i2c_client *client) in qt1070_identify()
119 struct i2c_client *client = data->client; in qt1070_interrupt()
142 static int qt1070_probe(struct i2c_client *client, in qt1070_probe()
232 static int qt1070_remove(struct i2c_client *client) in qt1070_remove()
248 struct i2c_client *client = to_i2c_client(dev); in qt1070_suspend()
259 struct i2c_client *client = to_i2c_client(dev); in qt1070_resume()
Dmax7359_keypad.c64 struct i2c_client *client;
67 static int max7359_write_reg(struct i2c_client *client, u8 reg, u8 val) in max7359_write_reg()
77 static int max7359_read_reg(struct i2c_client *client, int reg) in max7359_read_reg()
136 static inline void max7359_fall_deepsleep(struct i2c_client *client) in max7359_fall_deepsleep()
145 static inline void max7359_take_catnap(struct i2c_client *client) in max7359_take_catnap()
166 static void max7359_initialize(struct i2c_client *client) in max7359_initialize()
182 static int max7359_probe(struct i2c_client *client, in max7359_probe()
266 struct i2c_client *client = to_i2c_client(dev); in max7359_suspend()
278 struct i2c_client *client = to_i2c_client(dev); in max7359_resume()
Dqt2160.c69 struct i2c_client *client;
81 static int qt2160_read(struct i2c_client *client, u8 reg);
82 static int qt2160_write(struct i2c_client *client, u8 reg, u8 data);
90 struct i2c_client *client = qt2160->client; in qt2160_led_work()
130 static int qt2160_read_block(struct i2c_client *client, in qt2160_read_block()
183 struct i2c_client *client = qt2160->client; in qt2160_get_key_matrix()
255 static int qt2160_read(struct i2c_client *client, u8 reg) in qt2160_read()
276 static int qt2160_write(struct i2c_client *client, u8 reg, u8 data) in qt2160_write()
292 struct i2c_client *client = qt2160->client; in qt2160_register_leds()
346 static bool qt2160_identify(struct i2c_client *client) in qt2160_identify()
[all …]
Dmcs_touchkey.c50 struct i2c_client *client;
62 struct i2c_client *client = data->client; in mcs_touchkey_interrupt()
99 static int mcs_touchkey_probe(struct i2c_client *client, in mcs_touchkey_probe()
202 static int mcs_touchkey_remove(struct i2c_client *client) in mcs_touchkey_remove()
215 static void mcs_touchkey_shutdown(struct i2c_client *client) in mcs_touchkey_shutdown()
227 struct i2c_client *client = data->client; in mcs_touchkey_suspend()
242 struct i2c_client *client = data->client; in mcs_touchkey_resume()
Dmpr121_touchkey.c60 struct i2c_client *client;
88 struct i2c_client *client = mpr121->client; in mpr_touchkey_interrupt()
127 struct i2c_client *client) in mpr121_phys_init()
187 static int mpr_touchkey_probe(struct i2c_client *client, in mpr_touchkey_probe()
272 struct i2c_client *client = to_i2c_client(dev); in mpr_suspend()
284 struct i2c_client *client = to_i2c_client(dev); in mpr_resume()
/linux-4.1.27/drivers/rtc/
Drtc-hym8563.c87 struct i2c_client *client;
101 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()
231 struct i2c_client *client = to_i2c_client(dev); in hym8563_rtc_set_alarm()
309 struct i2c_client *client = hym8563->client; in hym8563_clkout_recalc_rate()
335 struct i2c_client *client = hym8563->client; in hym8563_clkout_set_rate()
356 struct i2c_client *client = hym8563->client; in hym8563_clkout_control()
383 struct i2c_client *client = hym8563->client; in hym8563_clkout_is_prepared()
[all …]
Drtc-ds1374.c71 struct i2c_client *client;
85 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, in ds1374_read_rtc()
110 static int ds1374_write_rtc(struct i2c_client *client, u32 time, in ds1374_write_rtc()
129 static int ds1374_check_rtc_status(struct i2c_client *client) in ds1374_check_rtc_status()
163 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_time()
176 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_time()
190 struct i2c_client *client = to_i2c_client(dev); in ds1374_read_alarm()
228 struct i2c_client *client = to_i2c_client(dev); in ds1374_set_alarm()
289 struct i2c_client *client = dev_id; in ds1374_irq()
300 struct i2c_client *client = ds1374->client; in ds1374_work()
[all …]
Drtc-ds3232.c53 struct i2c_client *client;
68 static int ds3232_check_rtc_status(struct i2c_client *client) in ds3232_check_rtc_status()
105 struct i2c_client *client = to_i2c_client(dev); in ds3232_read_time()
162 struct i2c_client *client = to_i2c_client(dev); in ds3232_set_time()
193 struct i2c_client *client = to_i2c_client(dev); in ds3232_read_alarm()
239 struct i2c_client *client = to_i2c_client(dev); in ds3232_set_alarm()
286 static void ds3232_update_alarm(struct i2c_client *client) in ds3232_update_alarm()
330 struct i2c_client *client = to_i2c_client(dev); in ds3232_alarm_irq_enable()
347 struct i2c_client *client = dev_id; in ds3232_irq()
366 struct i2c_client *client = ds3232->client; in ds3232_work()
[all …]
Drtc-pcf8523.c42 static int pcf8523_read(struct i2c_client *client, u8 reg, u8 *valuep) in pcf8523_read()
67 static int pcf8523_write(struct i2c_client *client, u8 reg, u8 value) in pcf8523_write()
85 static int pcf8523_select_capacitance(struct i2c_client *client, bool high) in pcf8523_select_capacitance()
106 static int pcf8523_set_pm(struct i2c_client *client, u8 pm) in pcf8523_set_pm()
124 static int pcf8523_stop_rtc(struct i2c_client *client) in pcf8523_stop_rtc()
142 static int pcf8523_start_rtc(struct i2c_client *client) in pcf8523_start_rtc()
162 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_read_time()
217 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_set_time()
258 struct i2c_client *client = to_i2c_client(dev); in pcf8523_rtc_ioctl()
289 static int pcf8523_probe(struct i2c_client *client, in pcf8523_probe()
Drtc-pcf8583.c52 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) in pcf8583_get_datetime()
90 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) in pcf8583_set_datetime()
118 static int pcf8583_get_ctrl(struct i2c_client *client, unsigned char *ctrl) in pcf8583_get_ctrl()
124 static int pcf8583_set_ctrl(struct i2c_client *client, unsigned char *ctrl) in pcf8583_set_ctrl()
135 static int pcf8583_read_mem(struct i2c_client *client, struct rtc_mem *mem) in pcf8583_read_mem()
160 static int pcf8583_write_mem(struct i2c_client *client, struct rtc_mem *mem) in pcf8583_write_mem()
177 struct i2c_client *client = to_i2c_client(dev); in pcf8583_rtc_read_time()
227 struct i2c_client *client = to_i2c_client(dev); in pcf8583_rtc_set_time()
281 static int pcf8583_probe(struct i2c_client *client, in pcf8583_probe()
Drtc-isl1208.c66 isl1208_i2c_read_regs(struct i2c_client *client, u8 reg, u8 buf[], in isl1208_i2c_read_regs()
96 isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[], in isl1208_i2c_set_regs()
123 isl1208_i2c_validate_client(struct i2c_client *client) in isl1208_i2c_validate_client()
145 isl1208_i2c_get_sr(struct i2c_client *client) in isl1208_i2c_get_sr()
151 isl1208_i2c_get_atr(struct i2c_client *client) in isl1208_i2c_get_atr()
176 isl1208_i2c_get_dtr(struct i2c_client *client) in isl1208_i2c_get_dtr()
189 isl1208_i2c_get_usr(struct i2c_client *client) in isl1208_i2c_get_usr()
203 isl1208_i2c_set_usr(struct i2c_client *client, u16 usr) in isl1208_i2c_set_usr()
215 isl1208_rtc_toggle_alarm(struct i2c_client *client, int enable) in isl1208_rtc_toggle_alarm()
241 struct i2c_client *const client = to_i2c_client(dev); in isl1208_rtc_proc()
[all …]
Drtc-rv3029c2.c88 rv3029c2_i2c_read_regs(struct i2c_client *client, u8 reg, u8 *buf, in rv3029c2_i2c_read_regs()
106 rv3029c2_i2c_write_regs(struct i2c_client *client, u8 reg, u8 const buf[], in rv3029c2_i2c_write_regs()
117 rv3029c2_i2c_get_sr(struct i2c_client *client, u8 *buf) in rv3029c2_i2c_get_sr()
128 rv3029c2_i2c_set_sr(struct i2c_client *client, u8 val) in rv3029c2_i2c_set_sr()
142 rv3029c2_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) in rv3029c2_i2c_read_time()
191 rv3029c2_i2c_read_alarm(struct i2c_client *client, struct rtc_wkalrm *alarm) in rv3029c2_i2c_read_alarm()
229 static int rv3029c2_rtc_i2c_alarm_set_irq(struct i2c_client *client, in rv3029c2_rtc_i2c_alarm_set_irq()
255 static int rv3029c2_rtc_i2c_set_alarm(struct i2c_client *client, in rv3029c2_rtc_i2c_set_alarm()
329 rv3029c2_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) in rv3029c2_i2c_set_time()
388 static int rv3029c2_probe(struct i2c_client *client, in rv3029c2_probe()
Drtc-rx8025.c75 struct i2c_client *client;
82 static int rx8025_read_reg(struct i2c_client *client, int number, u8 *value) in rx8025_read_reg()
95 static int rx8025_read_regs(struct i2c_client *client, in rx8025_read_regs()
110 static int rx8025_write_reg(struct i2c_client *client, int number, u8 value) in rx8025_write_reg()
121 static int rx8025_write_regs(struct i2c_client *client, in rx8025_write_regs()
136 struct i2c_client *client = dev_id; in rx8025_irq()
148 struct i2c_client *client = rx8025->client; in rx8025_work()
264 static int rx8025_init_client(struct i2c_client *client, int *need_reset) in rx8025_init_client()
321 struct i2c_client *client = rx8025->client; in rx8025_read_alarm()
365 struct i2c_client *client = to_i2c_client(dev); in rx8025_set_alarm()
[all …]
Drtc-rx8581.c56 struct i2c_client *client;
58 s32 (*read_block_data)(const struct i2c_client *client, u8 command,
60 s32 (*write_block_data)(const struct i2c_client *client, u8 command,
66 static int rx8581_read_block_data(const struct i2c_client *client, u8 command, in rx8581_read_block_data()
80 static int rx8581_write_block_data(const struct i2c_client *client, u8 command, in rx8581_write_block_data()
98 static int rx8581_get_datetime(struct i2c_client *client, struct rtc_time *tm) in rx8581_get_datetime()
176 static int rx8581_set_datetime(struct i2c_client *client, struct rtc_time *tm) in rx8581_set_datetime()
269 static int rx8581_probe(struct i2c_client *client, in rx8581_probe()
Drtc-ds1307.c115 struct i2c_client *client;
118 s32 (*read_block_data)(const struct i2c_client *client, u8 command,
120 s32 (*write_block_data)(const struct i2c_client *client, u8 command,
130 u8 (*do_trickle_setup)(struct i2c_client *, uint32_t, bool);
133 static u8 do_trickle_setup_ds1339(struct i2c_client *,
191 static s32 ds1307_read_block_data_once(const struct i2c_client *client, in ds1307_read_block_data_once()
205 static s32 ds1307_read_block_data(const struct i2c_client *client, u8 command, in ds1307_read_block_data()
231 static s32 ds1307_write_block_data(const struct i2c_client *client, u8 command, in ds1307_write_block_data()
267 static s32 ds1307_native_smbus_write_block_data(const struct i2c_client *client, in ds1307_native_smbus_write_block_data()
289 static s32 ds1307_native_smbus_read_block_data(const struct i2c_client *client, in ds1307_native_smbus_read_block_data()
[all …]
Drtc-max6900.c55 static int max6900_i2c_read_regs(struct i2c_client *client, u8 *buf) in max6900_i2c_read_regs()
95 static int max6900_i2c_write_regs(struct i2c_client *client, u8 const *buf) in max6900_i2c_write_regs()
144 static int max6900_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) in max6900_i2c_read_time()
165 static int max6900_i2c_clear_write_protect(struct i2c_client *client) in max6900_i2c_clear_write_protect()
171 max6900_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) in max6900_i2c_set_time()
214 max6900_probe(struct i2c_client *client, const struct i2c_device_id *id) in max6900_probe()
Drtc-ds1672.c33 static int ds1672_get_datetime(struct i2c_client *client, struct rtc_time *tm) in ds1672_get_datetime()
75 static int ds1672_set_mmss(struct i2c_client *client, unsigned long secs) in ds1672_set_mmss()
106 static int ds1672_get_control(struct i2c_client *client, u8 *status) in ds1672_get_control()
137 struct i2c_client *client = to_i2c_client(dev); in show_control()
156 static int ds1672_probe(struct i2c_client *client, in ds1672_probe()
Drtc-pcf8563.c78 struct i2c_client *client;
81 static int pcf8563_read_block_data(struct i2c_client *client, unsigned char reg, in pcf8563_read_block_data()
106 static int pcf8563_write_block_data(struct i2c_client *client, in pcf8563_write_block_data()
127 static int pcf8563_set_alarm_mode(struct i2c_client *client, bool on) in pcf8563_set_alarm_mode()
152 static int pcf8563_get_alarm_mode(struct i2c_client *client, unsigned char *en, in pcf8563_get_alarm_mode()
193 static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) in pcf8563_get_datetime()
246 static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) in pcf8563_set_datetime()
328 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_read_alarm()
363 struct i2c_client *client = to_i2c_client(dev); in pcf8563_rtc_set_alarm()
407 static int pcf8563_probe(struct i2c_client *client, in pcf8563_probe()
Drtc-s35390a.c57 struct i2c_client *client[8];
64 struct i2c_client *client = s35390a->client[reg]; in s35390a_set_reg()
81 struct i2c_client *client = s35390a->client[reg]; in s35390a_get_reg()
151 static int s35390a_set_datetime(struct i2c_client *client, struct rtc_time *tm) in s35390a_set_datetime()
179 static int s35390a_get_datetime(struct i2c_client *client, struct rtc_time *tm) in s35390a_get_datetime()
209 static int s35390a_set_alarm(struct i2c_client *client, struct rtc_wkalrm *alm) in s35390a_set_alarm()
262 static int s35390a_read_alarm(struct i2c_client *client, struct rtc_wkalrm *alm) in s35390a_read_alarm()
327 static int s35390a_probe(struct i2c_client *client, in s35390a_probe()
409 static int s35390a_remove(struct i2c_client *client) in s35390a_remove()
/linux-4.1.27/drivers/i2c/
Di2c-smbus.c31 struct i2c_client *ara; /* Alert response address */
42 struct i2c_client *client = i2c_verify_client(dev); in smbus_do_alert()
77 struct i2c_client *ara; in smbus_alert()
134 static int smbalert_probe(struct i2c_client *ara, in smbalert_probe()
167 static int smbalert_remove(struct i2c_client *ara) in smbalert_remove()
210 struct i2c_client *i2c_setup_smbus_alert(struct i2c_adapter *adapter, in i2c_setup_smbus_alert()
234 int i2c_handle_smbus_alert(struct i2c_client *ara) in i2c_handle_smbus_alert()
Di2c-core.c191 static int acpi_gsb_i2c_read_bytes(struct i2c_client *client, in acpi_gsb_i2c_read_bytes()
223 static int acpi_gsb_i2c_write_bytes(struct i2c_client *client, in acpi_gsb_i2c_write_bytes()
261 struct i2c_client client; in acpi_i2c_space_handler()
447 const struct i2c_client *client) in i2c_match_id()
459 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_match()
485 struct i2c_client *client = to_i2c_client(dev); in i2c_device_uevent()
628 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_probe()
672 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_remove()
691 struct i2c_client *client = i2c_verify_client(dev); in i2c_device_shutdown()
717 struct i2c_client *client = to_i2c_client(dev); in show_modalias()
[all …]
/linux-4.1.27/drivers/regulator/
Dad5398.c22 struct i2c_client *client;
39 static int ad5398_read_reg(struct i2c_client *client, unsigned short *data) in ad5398_read_reg()
54 static int ad5398_write_reg(struct i2c_client *client, const unsigned short data) in ad5398_write_reg()
70 struct i2c_client *client = chip->client; in ad5398_get_current_limit()
86 struct i2c_client *client = chip->client; in ad5398_set_current_limit()
126 struct i2c_client *client = chip->client; in ad5398_is_enabled()
143 struct i2c_client *client = chip->client; in ad5398_enable()
164 struct i2c_client *client = chip->client; in ad5398_disable()
214 static int ad5398_probe(struct i2c_client *client, in ad5398_probe()
/linux-4.1.27/drivers/input/joystick/
Das5011.c76 struct i2c_client *i2c_client; member
82 static int as5011_i2c_write(struct i2c_client *client, in as5011_i2c_write()
99 static int as5011_i2c_read(struct i2c_client *client, in as5011_i2c_read()
144 error = as5011_i2c_read(as5011->i2c_client, AS5011_X_RES_INT, &x); in as5011_axis_interrupt()
148 error = as5011_i2c_read(as5011->i2c_client, AS5011_Y_RES_INT, &y); in as5011_axis_interrupt()
163 struct i2c_client *client = as5011->i2c_client; in as5011_configure_chip()
228 static int as5011_probe(struct i2c_client *client, in as5011_probe()
263 as5011->i2c_client = client; in as5011_probe()
345 static int as5011_remove(struct i2c_client *client) in as5011_remove()
/linux-4.1.27/drivers/input/touchscreen/
Dad7879-i2c.c24 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_read()
32 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_multi_read()
45 struct i2c_client *client = to_i2c_client(dev); in ad7879_i2c_write()
57 static int ad7879_i2c_probe(struct i2c_client *client, in ad7879_i2c_probe()
78 static int ad7879_i2c_remove(struct i2c_client *client) in ad7879_i2c_remove()
Dmigor_ts.c37 struct i2c_client *client;
105 struct i2c_client *client = priv->client; in migor_ts_open()
122 struct i2c_client *client = priv->client; in migor_ts_close()
132 static int migor_ts_probe(struct i2c_client *client, in migor_ts_probe()
192 static int migor_ts_remove(struct i2c_client *client) in migor_ts_remove()
207 struct i2c_client *client = to_i2c_client(dev); in migor_ts_suspend()
218 struct i2c_client *client = to_i2c_client(dev); in migor_ts_resume()
Dar1021_i2c.c22 struct i2c_client *client;
60 struct i2c_client *client = ar1021->client; in ar1021_i2c_open()
70 struct i2c_client *client = ar1021->client; in ar1021_i2c_close()
75 static int ar1021_i2c_probe(struct i2c_client *client, in ar1021_i2c_probe()
136 struct i2c_client *client = to_i2c_client(dev); in ar1021_i2c_suspend()
145 struct i2c_client *client = to_i2c_client(dev); in ar1021_i2c_resume()
Degalax_ts.c63 struct i2c_client *client;
71 struct i2c_client *client = ts->client; in egalax_ts_interrupt()
123 static int egalax_wake_up_device(struct i2c_client *client) in egalax_wake_up_device()
155 static int egalax_firmware_version(struct i2c_client *client) in egalax_firmware_version()
167 static int egalax_ts_probe(struct i2c_client *client, in egalax_ts_probe()
247 struct i2c_client *client = to_i2c_client(dev); in egalax_ts_suspend()
256 struct i2c_client *client = to_i2c_client(dev); in egalax_ts_resume()
Dmax11801_ts.c83 struct i2c_client *client;
87 static u8 read_register(struct i2c_client *client, int addr) in read_register()
93 static int max11801_write_reg(struct i2c_client *client, int addr, int data) in max11801_write_reg()
102 struct i2c_client *client = data->client; in max11801_ts_interrupt()
160 struct i2c_client *client = data->client; in max11801_ts_phy_init()
176 static int max11801_ts_probe(struct i2c_client *client, in max11801_ts_probe()
Dwacom_i2c.c39 struct i2c_client *client;
46 static int wacom_query_device(struct i2c_client *client, in wacom_query_device()
138 struct i2c_client *client = wac_i2c->client; in wacom_i2c_open()
148 struct i2c_client *client = wac_i2c->client; in wacom_i2c_close()
153 static int wacom_i2c_probe(struct i2c_client *client, in wacom_i2c_probe()
234 static int wacom_i2c_remove(struct i2c_client *client) in wacom_i2c_remove()
247 struct i2c_client *client = to_i2c_client(dev); in wacom_i2c_suspend()
256 struct i2c_client *client = to_i2c_client(dev); in wacom_i2c_resume()
Dzforce_ts.c117 struct i2c_client *client;
144 struct i2c_client *client = ts->client; in zforce_command()
167 struct i2c_client *client = ts->client; in zforce_send_wait()
205 struct i2c_client *client = ts->client; in zforce_command_wait()
226 struct i2c_client *client = ts->client; in zforce_resolution()
239 struct i2c_client *client = ts->client; in zforce_scan_frequency()
254 struct i2c_client *client = ts->client; in zforce_setconfig()
265 struct i2c_client *client = ts->client; in zforce_start()
318 struct i2c_client *client = ts->client; in zforce_stop()
336 struct i2c_client *client = ts->client; in zforce_touch_event()
[all …]
Delants_i2c.c118 struct i2c_client *client;
146 static int elants_i2c_send(struct i2c_client *client, in elants_i2c_send()
164 static int elants_i2c_read(struct i2c_client *client, void *data, size_t size) in elants_i2c_read()
180 static int elants_i2c_execute_command(struct i2c_client *client, in elants_i2c_execute_command()
226 struct i2c_client *client = ts->client; in elants_i2c_calibrate()
265 static int elants_i2c_sw_reset(struct i2c_client *client) in elants_i2c_sw_reset()
293 struct i2c_client *client = ts->client; in elants_i2c_query_fw_id()
319 struct i2c_client *client = ts->client; in elants_i2c_query_fw_version()
346 struct i2c_client *client = ts->client; in elants_i2c_query_test_version()
375 struct i2c_client *client = ts->client; in elants_i2c_query_bc_version()
[all …]
Dili210x.c45 struct i2c_client *client;
52 static int ili210x_read_reg(struct i2c_client *client, u8 reg, void *buf, in ili210x_read_reg()
120 struct i2c_client *client = priv->client; in ili210x_work()
152 struct i2c_client *client = to_i2c_client(dev); in ili210x_calibrate()
183 static int ili210x_i2c_probe(struct i2c_client *client, in ili210x_i2c_probe()
301 static int ili210x_i2c_remove(struct i2c_client *client) in ili210x_i2c_remove()
316 struct i2c_client *client = to_i2c_client(dev); in ili210x_i2c_suspend()
326 struct i2c_client *client = to_i2c_client(dev); in ili210x_i2c_resume()
Dmcs5000_ts.c105 struct i2c_client *client;
113 struct i2c_client *client = data->client; in mcs5000_ts_interrupt()
167 struct i2c_client *client = data->client; in mcs5000_ts_phys_init()
188 static int mcs5000_ts_probe(struct i2c_client *client, in mcs5000_ts_probe()
253 struct i2c_client *client = to_i2c_client(dev); in mcs5000_ts_suspend()
263 struct i2c_client *client = to_i2c_client(dev); in mcs5000_ts_resume()
Dcy8ctmg110_ts.c59 struct i2c_client *client;
77 struct i2c_client *client = tsc->client; in cy8ctmg110_write_regs()
98 struct i2c_client *client = tsc->client; in cy8ctmg110_read_regs()
178 static int cy8ctmg110_probe(struct i2c_client *client, in cy8ctmg110_probe()
296 struct i2c_client *client = to_i2c_client(dev); in cy8ctmg110_suspend()
310 struct i2c_client *client = to_i2c_client(dev); in cy8ctmg110_resume()
324 static int cy8ctmg110_remove(struct i2c_client *client) in cy8ctmg110_remove()
Dst1232.c51 struct i2c_client *client;
61 struct i2c_client *client = ts->client; in st1232_ts_read_data()
154 static int st1232_ts_probe(struct i2c_client *client, in st1232_ts_probe()
236 static int st1232_ts_remove(struct i2c_client *client) in st1232_ts_remove()
248 struct i2c_client *client = to_i2c_client(dev); in st1232_ts_suspend()
263 struct i2c_client *client = to_i2c_client(dev); in st1232_ts_resume()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-camera.c64 i2c_master_send(&dev->i2c_client[dev->def_i2c_bus], in em28xx_initialize_mt9m111()
91 i2c_master_send(&dev->i2c_client[dev->def_i2c_bus], in em28xx_initialize_mt9m001()
108 struct i2c_client client = dev->i2c_client[dev->def_i2c_bus]; in em28xx_probe_sensor_micron()
189 dev->i2c_client[dev->def_i2c_bus].addr = client.addr; in em28xx_probe_sensor_micron()
205 struct i2c_client client = dev->i2c_client[dev->def_i2c_bus]; in em28xx_probe_sensor_omnivision()
294 dev->i2c_client[dev->def_i2c_bus].addr = client.addr; in em28xx_probe_sensor_omnivision()
326 struct i2c_client *client = &dev->i2c_client[dev->def_i2c_bus]; in em28xx_init_camera()
Dem28xx-input.c74 struct i2c_client *i2c_client; member
76 int (*get_key_i2c)(struct i2c_client *ir, enum rc_type *protocol, u32 *scancode);
84 static int em28xx_get_key_terratec(struct i2c_client *i2c_dev, in em28xx_get_key_terratec()
108 static int em28xx_get_key_em_haup(struct i2c_client *i2c_dev, in em28xx_get_key_em_haup()
138 static int em28xx_get_key_pinnacle_usb_grey(struct i2c_client *i2c_dev, in em28xx_get_key_pinnacle_usb_grey()
156 static int em28xx_get_key_winfast_usbii_deluxe(struct i2c_client *i2c_dev, in em28xx_get_key_winfast_usbii_deluxe()
300 rc = ir->get_key_i2c(ir->i2c_client, &protocol, &scancode); in em28xx_i2c_ir_handle_key()
358 if (ir->i2c_client) /* external i2c device */ in em28xx_ir_work()
754 ir->i2c_client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL); in em28xx_ir_init()
755 if (!ir->i2c_client) in em28xx_ir_init()
[all …]
/linux-4.1.27/drivers/hid/i2c-hid/
Di2c-hid.c130 struct i2c_client *client; /* i2c client */
154 static int __i2c_hid_command(struct i2c_client *client, in __i2c_hid_command()
226 static int i2c_hid_command(struct i2c_client *client, in i2c_hid_command()
234 static int i2c_hid_get_report(struct i2c_client *client, u8 reportType, in i2c_hid_get_report()
273 static int i2c_hid_set_or_send_report(struct i2c_client *client, u8 reportType, in i2c_hid_set_or_send_report()
339 static int i2c_hid_set_power(struct i2c_client *client, int power_state) in i2c_hid_set_power()
354 static int i2c_hid_hwreset(struct i2c_client *client) in i2c_hid_hwreset()
441 struct i2c_client *client = hid->driver_data; in i2c_hid_init_report()
473 struct i2c_client *client = hid->driver_data; in i2c_hid_init_reports()
556 struct i2c_client *client = hid->driver_data; in i2c_hid_get_raw_report()
[all …]
/linux-4.1.27/drivers/macintosh/ams/
Dams-i2c.c63 static int ams_i2c_probe(struct i2c_client *client,
65 static int ams_i2c_remove(struct i2c_client *client);
85 return i2c_smbus_read_byte_data(ams_info.i2c_client, reg); in ams_i2c_read()
90 return i2c_smbus_write_byte_data(ams_info.i2c_client, reg, value); in ams_i2c_write()
163 static int ams_i2c_probe(struct i2c_client *client, in ams_i2c_probe()
173 ams_info.i2c_client = client; in ams_i2c_probe()
238 static int ams_i2c_remove(struct i2c_client *client) in ams_i2c_remove()
/linux-4.1.27/drivers/staging/iio/addac/
Dadt7316-i2c.c23 struct i2c_client *cl = client; in adt7316_i2c_read()
43 struct i2c_client *cl = client; in adt7316_i2c_write()
55 struct i2c_client *cl = client; in adt7316_i2c_multi_read()
74 struct i2c_client *cl = client; in adt7316_i2c_multi_write()
95 static int adt7316_i2c_probe(struct i2c_client *client, in adt7316_i2c_probe()
/linux-4.1.27/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()
34 static int max7300_probe(struct i2c_client *client, in max7300_probe()
54 static int max7300_remove(struct i2c_client *client) in max7300_remove()
Dgpio-pcf857x.c89 struct i2c_client *client;
95 int (*write)(struct i2c_client *client, unsigned data);
96 int (*read)(struct i2c_client *client);
103 static int i2c_write_le8(struct i2c_client *client, unsigned data) in i2c_write_le8()
108 static int i2c_read_le8(struct i2c_client *client) in i2c_read_le8()
115 static int i2c_write_le16(struct i2c_client *client, unsigned word) in i2c_write_le16()
124 static int i2c_read_le16(struct i2c_client *client) in i2c_read_le16()
239 static int pcf857x_probe(struct i2c_client *client, in pcf857x_probe()
394 static int pcf857x_remove(struct i2c_client *client) in pcf857x_remove()
/linux-4.1.27/include/linux/iio/common/
Dst_sensors_i2c.h19 struct i2c_client *client, struct st_sensor_data *sdata);
22 void st_sensors_of_i2c_probe(struct i2c_client *client,
25 static inline void st_sensors_of_i2c_probe(struct i2c_client *client, in st_sensors_of_i2c_probe()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbttv-i2c.c282 btv->i2c_client.addr = addr >> 1; in bttv_I2CRead()
283 if (1 != i2c_master_recv(&btv->i2c_client, &buffer, 1)) { in bttv_I2CRead()
306 btv->i2c_client.addr = addr >> 1; in bttv_I2CWrite()
309 if (bytes != i2c_master_send(&btv->i2c_client, buffer, bytes)) in bttv_I2CWrite()
320 btv->i2c_client.addr = addr >> 1; in bttv_readee()
321 tveeprom_read(&btv->i2c_client, eedata, 256); in bttv_readee()
334 static void do_i2c_scan(char *name, struct i2c_client *c) in do_i2c_scan()
352 strlcpy(btv->i2c_client.name, "bttv internal", I2C_NAME_SIZE); in init_bttv_i2c()
382 btv->i2c_client.adapter = &btv->c.i2c_adap; in init_bttv_i2c()
393 do_i2c_scan(btv->c.v4l2_dev.name, &btv->i2c_client); in init_bttv_i2c()
/linux-4.1.27/drivers/iio/light/
Dcm36651.c133 struct i2c_client *client;
134 struct i2c_client *ps_client;
135 struct i2c_client *ara_client;
148 struct i2c_client *client = cm36651->client; in cm36651_setup_reg()
149 struct i2c_client *ps_client = cm36651->ps_client; in cm36651_setup_reg()
196 struct i2c_client *client = cm36651->client; in cm36651_read_output()
237 struct i2c_client *client = cm36651->client; in cm36651_irq_handler()
278 struct i2c_client *client = cm36651->client; in cm36651_set_operation_mode()
279 struct i2c_client *ps_client = cm36651->ps_client; in cm36651_set_operation_mode()
332 struct i2c_client *client = cm36651->client; in cm36651_read_channel()
[all …]
Dcm3232.c73 struct i2c_client *client;
89 struct i2c_client *client = chip->client; in cm3232_reg_init()
166 struct i2c_client *client = chip->client; in cm3232_write_als_it()
203 struct i2c_client *client = chip->client; in cm3232_get_lux()
331 static int cm3232_probe(struct i2c_client *client, in cm3232_probe()
364 static int cm3232_remove(struct i2c_client *client) in cm3232_remove()
386 struct i2c_client *client = chip->client; in cm3232_suspend()
400 struct i2c_client *client = chip->client; in cm3232_resume()
Dtsl4531.c52 struct i2c_client *client;
150 static int tsl4531_check_id(struct i2c_client *client) in tsl4531_check_id()
167 static int tsl4531_probe(struct i2c_client *client, in tsl4531_probe()
208 static int tsl4531_powerdown(struct i2c_client *client) in tsl4531_powerdown()
214 static int tsl4531_remove(struct i2c_client *client) in tsl4531_remove()
/linux-4.1.27/drivers/nfc/st21nfcb/
Di2c.c50 struct i2c_client *i2c_dev;
99 struct i2c_client *client = phy->i2c_dev; in st21nfcb_nci_i2c_write()
141 struct i2c_client *client = phy->i2c_dev; in st21nfcb_nci_i2c_read()
191 struct i2c_client *client; in st21nfcb_nci_irq_thread_fn()
227 static int st21nfcb_nci_i2c_of_request_resources(struct i2c_client *client) in st21nfcb_nci_i2c_of_request_resources()
260 static int st21nfcb_nci_i2c_of_request_resources(struct i2c_client *client) in st21nfcb_nci_i2c_of_request_resources()
266 static int st21nfcb_nci_i2c_request_resources(struct i2c_client *client) in st21nfcb_nci_i2c_request_resources()
292 static int st21nfcb_nci_i2c_probe(struct i2c_client *client, in st21nfcb_nci_i2c_probe()
354 static int st21nfcb_nci_i2c_remove(struct i2c_client *client) in st21nfcb_nci_i2c_remove()
/linux-4.1.27/drivers/media/usb/go7007/
Ds2250-board.c130 struct i2c_client *audio;
159 static int write_reg(struct i2c_client *client, u8 reg, u8 value) in write_reg()
193 static int write_reg_fp(struct i2c_client *client, u16 addr, u16 val) in write_reg_fp()
257 static int read_reg_fp(struct i2c_client *client, u16 addr, u16 *val) in read_reg_fp()
298 static int write_regs(struct i2c_client *client, u8 *regs) in write_regs()
311 static int write_regs_fp(struct i2c_client *client, u16 *regs) in write_regs_fp()
331 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_s_video_routing()
355 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_s_std()
374 struct i2c_client *client = v4l2_get_subdevdata(&state->sd); in s2250_s_ctrl()
412 struct i2c_client *client = v4l2_get_subdevdata(sd); in s2250_s_mbus_fmt()
[all …]
/linux-4.1.27/include/drm/bridge/
Dptn3460.h20 struct i2c_client;
26 struct i2c_client *client, struct device_node *node);
33 struct drm_encoder *encoder, struct i2c_client *client, in ptn3460_init()
/linux-4.1.27/drivers/nfc/nxp-nci/
Di2c.c46 struct i2c_client *i2c_dev;
77 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_write()
112 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_fw_read()
158 struct i2c_client *client = phy->i2c_dev; in nxp_nci_i2c_nci_read()
199 struct i2c_client *client; in nxp_nci_i2c_irq_thread_fn()
264 static int nxp_nci_i2c_parse_devtree(struct i2c_client *client) in nxp_nci_i2c_parse_devtree()
304 static int nxp_nci_i2c_parse_devtree(struct i2c_client *client) in nxp_nci_i2c_parse_devtree()
311 static int nxp_nci_i2c_probe(struct i2c_client *client, in nxp_nci_i2c_probe()
378 static int nxp_nci_i2c_remove(struct i2c_client *client) in nxp_nci_i2c_remove()
/linux-4.1.27/drivers/media/pci/cx88/
Dcx88-i2c.c120 static void do_i2c_scan(const char *name, struct i2c_client *c) in do_i2c_scan()
152 core->i2c_client.adapter = &core->i2c_adap; in cx88_i2c_init()
153 strlcpy(core->i2c_client.name, "cx88xx internal", I2C_NAME_SIZE); in cx88_i2c_init()
172 i2c_transfer(core->i2c_client.adapter, &tuner_msg, 1); in cx88_i2c_init()
178 do_i2c_scan(core->name,&core->i2c_client); in cx88_i2c_init()
/linux-4.1.27/drivers/usb/phy/
Dphy-isp1301.c25 struct i2c_client *client;
35 static struct i2c_client *isp1301_i2c_client;
91 static int isp1301_probe(struct i2c_client *client, in isp1301_probe()
119 static int isp1301_remove(struct i2c_client *client) in isp1301_remove()
147 struct i2c_client *isp1301_get_client(struct device_node *node) in isp1301_get_client()
/linux-4.1.27/drivers/video/backlight/
Dadp8860_bl.c100 struct i2c_client *client;
107 struct i2c_client *client;
120 static int adp8860_read(struct i2c_client *client, int reg, uint8_t *val) in adp8860_read()
134 static int adp8860_write(struct i2c_client *client, u8 reg, u8 val) in adp8860_write()
139 static int adp8860_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8860_set_bits()
158 static int adp8860_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8860_clr_bits()
201 struct i2c_client *client = led->client; in adp8860_led_setup()
217 static int adp8860_led_probe(struct i2c_client *client) in adp8860_led_probe()
299 static int adp8860_led_remove(struct i2c_client *client) in adp8860_led_remove()
314 static int adp8860_led_probe(struct i2c_client *client) in adp8860_led_probe()
[all …]
Dadp8870_bl.c109 struct i2c_client *client;
123 struct i2c_client *client;
129 static int adp8870_read(struct i2c_client *client, int reg, uint8_t *val) in adp8870_read()
144 static int adp8870_write(struct i2c_client *client, u8 reg, u8 val) in adp8870_write()
154 static int adp8870_set_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8870_set_bits()
173 static int adp8870_clr_bits(struct i2c_client *client, int reg, uint8_t bit_mask) in adp8870_clr_bits()
219 struct i2c_client *client = led->client; in adp8870_led_setup()
240 static int adp8870_led_probe(struct i2c_client *client) in adp8870_led_probe()
325 static int adp8870_led_remove(struct i2c_client *client) in adp8870_led_remove()
340 static int adp8870_led_probe(struct i2c_client *client) in adp8870_led_probe()
[all …]
/linux-4.1.27/drivers/misc/eeprom/
Dmax6875.c49 struct i2c_client *fake_client;
57 static void max6875_update_slice(struct i2c_client *client, int slice) in max6875_update_slice()
113 struct i2c_client *client = kobj_to_i2c_client(kobj); in max6875_read()
142 static int max6875_probe(struct i2c_client *client, in max6875_probe()
184 static int max6875_remove(struct i2c_client *client) in max6875_remove()
Deeprom.c50 static void eeprom_update_client(struct i2c_client *client, u8 slice) in eeprom_update_client()
87 struct i2c_client *client = to_i2c_client(container_of(kobj, struct device, kobj)); in eeprom_read()
131 static int eeprom_detect(struct i2c_client *client, struct i2c_board_info *info) in eeprom_detect()
157 static int eeprom_probe(struct i2c_client *client, in eeprom_probe()
195 static int eeprom_remove(struct i2c_client *client) in eeprom_remove()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-i2c.c347 static struct i2c_client saa7134_client_template = {
359 dev->i2c_client.addr = 0xa0 >> 1; in saa7134_i2c_eeprom()
361 if (1 != (err = i2c_master_send(&dev->i2c_client,&buf,1))) { in saa7134_i2c_eeprom()
366 if (len != (err = i2c_master_recv(&dev->i2c_client,eedata,len))) { in saa7134_i2c_eeprom()
389 static void do_i2c_scan(char *name, struct i2c_client *c) in do_i2c_scan()
413 dev->i2c_client = saa7134_client_template; in saa7134_i2c_register()
414 dev->i2c_client.adapter = &dev->i2c_adap; in saa7134_i2c_register()
418 do_i2c_scan(dev->name,&dev->i2c_client); in saa7134_i2c_register()
/linux-4.1.27/drivers/char/tpm/
Dtpm_i2c_nuvoton.c61 static s32 i2c_nuvoton_read_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_read_buf()
73 static s32 i2c_nuvoton_write_buf(struct i2c_client *client, u8 offset, u8 size, in i2c_nuvoton_write_buf()
99 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_nuvoton_read_status()
114 static s32 i2c_nuvoton_write_status(struct i2c_client *client, u8 data) in i2c_nuvoton_write_status()
130 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_nuvoton_ready()
142 static int i2c_nuvoton_get_burstcount(struct i2c_client *client, in i2c_nuvoton_get_burstcount()
231 static int i2c_nuvoton_recv_data(struct i2c_client *client, in i2c_nuvoton_recv_data()
268 struct i2c_client *client = to_i2c_client(dev); in i2c_nuvoton_recv()
351 struct i2c_client *client = to_i2c_client(dev); in i2c_nuvoton_send()
484 static int get_vid(struct i2c_client *client, u32 *res) in get_vid()
[all …]
Dtpm_i2c_atmel.c55 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_send()
74 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_recv()
115 struct i2c_client *client = to_i2c_client(chip->pdev); in i2c_atmel_read_status()
153 static int i2c_atmel_probe(struct i2c_client *client, in i2c_atmel_probe()
190 static int i2c_atmel_remove(struct i2c_client *client) in i2c_atmel_remove()
/linux-4.1.27/drivers/char/tpm/st33zp24/
Di2c.c32 struct i2c_client *client;
115 struct i2c_client *client = phy->client; in st33zp24_i2c_of_request_resources()
156 static int st33zp24_i2c_request_resources(struct i2c_client *client, in st33zp24_i2c_request_resources()
191 static int st33zp24_i2c_probe(struct i2c_client *client, in st33zp24_i2c_probe()
235 static int st33zp24_i2c_remove(struct i2c_client *client) in st33zp24_i2c_remove()
/linux-4.1.27/drivers/nfc/microread/
Di2c.c50 struct i2c_client *i2c_dev;
120 struct i2c_client *client = phy->i2c_dev; in microread_i2c_write()
157 struct i2c_client *client = phy->i2c_dev; in microread_i2c_read()
214 struct i2c_client *client; in microread_i2c_irq_thread_fn()
250 static int microread_i2c_probe(struct i2c_client *client, in microread_i2c_probe()
299 static int microread_i2c_remove(struct i2c_client *client) in microread_i2c_remove()
/linux-4.1.27/drivers/i2c/muxes/
Di2c-mux-pca9541.c92 static int pca9541_reg_write(struct i2c_client *client, u8 command, u8 val) in pca9541_reg_write()
126 static int pca9541_reg_read(struct i2c_client *client, u8 command) in pca9541_reg_read()
171 static void pca9541_release_bus(struct i2c_client *client) in pca9541_release_bus()
218 static int pca9541_arbitrate(struct i2c_client *client) in pca9541_arbitrate()
322 static int pca9541_probe(struct i2c_client *client, in pca9541_probe()
376 static int pca9541_remove(struct i2c_client *client) in pca9541_remove()
/linux-4.1.27/drivers/clk/
Dclk-si570.c83 struct i2c_client *i2c_client; member
238 dev_err(&data->i2c_client->dev, "unable to recalc rate\n"); in si570_recalc_rate()
269 dev_err(&data->i2c_client->dev, in si570_round_rate()
345 struct i2c_client *client = data->i2c_client; in si570_set_rate()
405 static int si570_probe(struct i2c_client *client, in si570_probe()
423 data->i2c_client = client; in si570_probe()
493 static int si570_remove(struct i2c_client *client) in si570_remove()
/linux-4.1.27/drivers/platform/chrome/
Dchromeos_laptop.c42 static struct i2c_client *als;
43 static struct i2c_client *tp;
44 static struct i2c_client *ts;
132 static struct i2c_client *__add_probed_i2c_device( in __add_probed_i2c_device()
141 struct i2c_client *client = NULL; in __add_probed_i2c_device()
183 struct i2c_client *dummy; in __add_probed_i2c_device()
257 static struct i2c_client *add_probed_i2c_device( in add_probed_i2c_device()
274 static struct i2c_client *add_i2c_device(const char *name, in add_i2c_device()
/linux-4.1.27/drivers/media/pci/cx25821/
Dcx25821-i2c.c298 static struct i2c_client cx25821_i2c_client_template = {
310 bus->i2c_client = cx25821_i2c_client_template; in cx25821_i2c_register()
319 bus->i2c_client.adapter = &bus->i2c_adap; in cx25821_i2c_register()
322 bus->i2c_client.addr = (0x88 >> 1); in cx25821_i2c_register()
360 struct i2c_client *client = &bus->i2c_client; in cx25821_i2c_read()
394 struct i2c_client *client = &bus->i2c_client; in cx25821_i2c_write()
/linux-4.1.27/include/linux/i2c/
Dtps65010.h175 struct i2c_client;
199 int (*setup)(struct i2c_client *client, void *context);
200 int (*teardown)(struct i2c_client *client, void *context);
Dpcf857x.h35 int (*setup)(struct i2c_client *client,
38 int (*teardown)(struct i2c_client *client,
/linux-4.1.27/drivers/macintosh/
Dwindfarm_lm87_sensor.c37 struct i2c_client *i2c;
43 static int wf_lm87_read_reg(struct i2c_client *chip, int reg) in wf_lm87_read_reg()
100 static int wf_lm87_probe(struct i2c_client *client, in wf_lm87_probe()
150 static int wf_lm87_remove(struct i2c_client *client) in wf_lm87_remove()
Dtherm_windtunnel.c56 struct i2c_client *thermostat;
57 struct i2c_client *fan;
120 write_reg( struct i2c_client *cl, int reg, int data, int len ) in write_reg()
138 read_reg( struct i2c_client *cl, int reg, int len ) in read_reg()
338 do_remove(struct i2c_client *client) in do_remove()
356 attach_fan( struct i2c_client *cl ) in attach_fan()
372 attach_thermostat( struct i2c_client *cl ) in attach_thermostat()
413 do_probe(struct i2c_client *cl, const struct i2c_device_id *id) in do_probe()
/linux-4.1.27/include/linux/input/
Dgp2ap002a00f.h18 int (*hw_setup)(struct i2c_client *client);
19 int (*hw_shutdown)(struct i2c_client *client);
/linux-4.1.27/arch/arm/mach-davinci/
Dboard-dm646x-evm.c129 static int cpld_reg0_probe(struct i2c_client *client, in cpld_reg0_probe()
185 static int evm_led_setup(struct i2c_client *client, int gpio, in evm_led_setup()
209 static int evm_led_teardown(struct i2c_client *client, int gpio, in evm_led_teardown()
221 static int evm_sw_setup(struct i2c_client *client, int gpio, in evm_sw_setup()
260 static int evm_sw_teardown(struct i2c_client *client, int gpio, in evm_sw_teardown()
275 static int evm_pcf_setup(struct i2c_client *client, int gpio, in evm_pcf_setup()
290 static int evm_pcf_teardown(struct i2c_client *client, int gpio, in evm_pcf_teardown()
349 static struct i2c_client *cpld_client;
351 static int cpld_video_probe(struct i2c_client *client, in cpld_video_probe()
358 static int cpld_video_remove(struct i2c_client *client) in cpld_video_remove()
/linux-4.1.27/drivers/iio/temperature/
Dmlx90614.c55 struct i2c_client *client;
140 static int mlx90614_probe_num_ir_sensors(struct i2c_client *client) in mlx90614_probe_num_ir_sensors()
152 static int mlx90614_probe(struct i2c_client *client, in mlx90614_probe()
194 static int mlx90614_remove(struct i2c_client *client) in mlx90614_remove()

12345