Home
last modified time | relevance | path

Searched refs:i2c_client (Results 1 – 25 of 1374) sorted by relevance

12345678910>>...55

/linux/drivers/input/mouse/
A Delan_i2c.h64 struct i2c_client;
73 int (*initialize)(struct i2c_client *client);
74 int (*sleep_control)(struct i2c_client *, bool sleep);
76 int (*set_mode)(struct i2c_client *client, u8 mode);
78 int (*calibrate)(struct i2c_client *client);
81 int (*get_baseline_data)(struct i2c_client *client,
91 int (*get_max)(struct i2c_client *client,
93 int (*get_resolution)(struct i2c_client *client,
95 int (*get_num_traces)(struct i2c_client *client,
100 int (*iap_reset)(struct i2c_client *client);
[all …]
A Delan_i2c_smbus.c54 static int elan_smbus_initialize(struct i2c_client *client) in elan_smbus_initialize()
107 static int elan_smbus_calibrate(struct i2c_client *client) in elan_smbus_calibrate()
150 static int elan_smbus_get_version(struct i2c_client *client, in elan_smbus_get_version()
205 static int elan_smbus_get_checksum(struct i2c_client *client, in elan_smbus_get_checksum()
225 static int elan_smbus_get_max(struct i2c_client *client, in elan_smbus_get_max()
245 static int elan_smbus_get_resolution(struct i2c_client *client, in elan_smbus_get_resolution()
265 static int elan_smbus_get_num_traces(struct i2c_client *client, in elan_smbus_get_num_traces()
293 static int elan_smbus_iap_get_mode(struct i2c_client *client, in elan_smbus_iap_get_mode()
315 static int elan_smbus_iap_reset(struct i2c_client *client) in elan_smbus_iap_reset()
328 static int elan_smbus_set_flash_key(struct i2c_client *client) in elan_smbus_set_flash_key()
[all …]
A Delan_i2c_i2c.c74 static int elan_i2c_read_block(struct i2c_client *client, in elan_i2c_read_block()
139 static int elan_i2c_initialize(struct i2c_client *client) in elan_i2c_initialize()
221 static int elan_i2c_calibrate(struct i2c_client *client) in elan_i2c_calibrate()
270 static int elan_i2c_get_version(struct i2c_client *client, in elan_i2c_get_version()
367 static int elan_i2c_get_checksum(struct i2c_client *client, in elan_i2c_get_checksum()
387 static int elan_i2c_get_max(struct i2c_client *client, in elan_i2c_get_max()
412 static int elan_i2c_get_resolution(struct i2c_client *client, in elan_i2c_get_resolution()
430 static int elan_i2c_get_num_traces(struct i2c_client *client, in elan_i2c_get_num_traces()
492 static int elan_i2c_iap_reset(struct i2c_client *client) in elan_i2c_iap_reset()
506 static int elan_i2c_set_flash_key(struct i2c_client *client) in elan_i2c_set_flash_key()
[all …]
/linux/include/linux/
A Di2c.h35 struct i2c_client;
276 int (*remove)(struct i2c_client *client);
334 struct i2c_client { struct
363 const struct i2c_client *client);
464 struct i2c_client *
473 struct i2c_client *
482 struct i2c_client *
485 struct i2c_client *
488 struct i2c_client *
982 struct i2c_client *client);
[all …]
A Di2c-smbus.h29 struct i2c_client *i2c_new_smbus_alert_device(struct i2c_adapter *adapter,
31 int i2c_handle_smbus_alert(struct i2c_client *ara);
42 struct i2c_client *i2c_new_slave_host_notify_device(struct i2c_adapter *adapter);
43 void i2c_free_slave_host_notify_device(struct i2c_client *client);
45 static inline struct i2c_client *i2c_new_slave_host_notify_device(struct i2c_adapter *adapter) in i2c_new_slave_host_notify_device()
49 static inline void i2c_free_slave_host_notify_device(struct i2c_client *client) in i2c_free_slave_host_notify_device()
/linux/drivers/iio/accel/
A Dmma9551_core.h41 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id,
43 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id,
45 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id,
47 int mma9551_read_config_word(struct i2c_client *client, u8 app_id,
49 int mma9551_write_config_word(struct i2c_client *client, u8 app_id,
51 int mma9551_read_status_word(struct i2c_client *client, u8 app_id,
53 int mma9551_read_config_words(struct i2c_client *client, u8 app_id,
63 int mma9551_read_version(struct i2c_client *client);
65 int mma9551_set_power_state(struct i2c_client *client, bool on);
67 int mma9551_read_accel_chan(struct i2c_client *client,
[all …]
A Dmma9551_core.c108 static int mma9551_transfer(struct i2c_client *client, in mma9551_transfer()
216 int mma9551_read_config_byte(struct i2c_client *client, u8 app_id, in mma9551_read_config_byte()
241 int mma9551_write_config_byte(struct i2c_client *client, u8 app_id, in mma9551_write_config_byte()
266 int mma9551_read_status_byte(struct i2c_client *client, u8 app_id, in mma9551_read_status_byte()
291 int mma9551_read_config_word(struct i2c_client *client, u8 app_id, in mma9551_read_config_word()
322 int mma9551_write_config_word(struct i2c_client *client, u8 app_id, in mma9551_write_config_word()
349 int mma9551_read_status_word(struct i2c_client *client, u8 app_id, in mma9551_read_status_word()
603 int mma9551_read_version(struct i2c_client *client) in mma9551_read_version()
661 int mma9551_set_power_state(struct i2c_client *client, bool on) in mma9551_set_power_state()
719 int mma9551_read_accel_chan(struct i2c_client *client, in mma9551_read_accel_chan()
[all …]
/linux/sound/soc/codecs/
A Dcs35l32.c270 static int cs35l32_handle_of_data(struct i2c_client *i2c_client, in cs35l32_handle_of_data() argument
291 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
307 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
323 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
341 dev_err(&i2c_client->dev, in cs35l32_handle_of_data()
349 static int cs35l32_i2c_probe(struct i2c_client *i2c_client, in cs35l32_i2c_probe() argument
394 dev_err(&i2c_client->dev, in cs35l32_i2c_probe()
402 dev_err(&i2c_client->dev, in cs35l32_i2c_probe()
427 dev_err(&i2c_client->dev, in cs35l32_i2c_probe()
446 dev_info(&i2c_client->dev, in cs35l32_i2c_probe()
[all …]
A Dcs4270.c663 static int cs4270_i2c_remove(struct i2c_client *i2c_client) in cs4270_i2c_remove() argument
680 static int cs4270_i2c_probe(struct i2c_client *i2c_client, in cs4270_i2c_probe() argument
696 ret = devm_regulator_bulk_get(&i2c_client->dev, in cs4270_i2c_probe()
711 dev_dbg(&i2c_client->dev, "Found reset GPIO\n"); in cs4270_i2c_probe()
725 dev_err(&i2c_client->dev, "failed to read i2c at addr %X\n", in cs4270_i2c_probe()
726 i2c_client->addr); in cs4270_i2c_probe()
732 i2c_client->addr); in cs4270_i2c_probe()
736 dev_info(&i2c_client->dev, "found device at i2c address %X\n", in cs4270_i2c_probe()
737 i2c_client->addr); in cs4270_i2c_probe()
740 i2c_set_clientdata(i2c_client, cs4270); in cs4270_i2c_probe()
[all …]
A Dcs35l34.c809 static int cs35l34_handle_of_data(struct i2c_client *i2c_client, in cs35l34_handle_of_data() argument
819 dev_err(&i2c_client->dev, in cs35l34_handle_of_data()
828 dev_warn(&i2c_client->dev, in cs35l34_handle_of_data()
841 dev_err(&i2c_client->dev, in cs35l34_handle_of_data()
997 static int cs35l34_i2c_probe(struct i2c_client *i2c_client, in cs35l34_i2c_probe() argument
1027 dev_err(&i2c_client->dev, in cs35l34_i2c_probe()
1035 dev_err(&i2c_client->dev, in cs35l34_i2c_probe()
1059 ret = devm_request_threaded_irq(&i2c_client->dev, i2c_client->irq, NULL, in cs35l34_i2c_probe()
1084 dev_err(&i2c_client->dev, in cs35l34_i2c_probe()
1097 dev_info(&i2c_client->dev, in cs35l34_i2c_probe()
[all …]
/linux/drivers/misc/
A Disl29003.c50 struct i2c_client *client;
187 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_range()
196 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_range()
223 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_resolution()
232 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_resolution()
257 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_mode()
265 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_mode()
292 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_power_state()
301 struct i2c_client *client = to_i2c_client(dev); in isl29003_store_power_state()
324 struct i2c_client *client = to_i2c_client(dev); in isl29003_show_lux()
[all …]
/linux/drivers/hwmon/pmbus/
A Dpmbus.h437 int (*read_byte_data)(struct i2c_client *client, int page, int reg);
438 int (*read_word_data)(struct i2c_client *client, int page, int phase,
440 int (*write_word_data)(struct i2c_client *client, int page, int reg,
442 int (*write_byte)(struct i2c_client *client, int page, u8 value);
448 int (*identify)(struct i2c_client *client,
477 void pmbus_clear_cache(struct i2c_client *client);
479 int pmbus_set_page(struct i2c_client *client, int page, int phase);
485 int pmbus_write_byte(struct i2c_client *client, int page, u8 value);
490 void pmbus_clear_faults(struct i2c_client *client);
500 int pmbus_update_fan(struct i2c_client *client, int page, int id,
[all …]
/linux/drivers/watchdog/
A Dmenf21bmc_wdt.c35 struct i2c_client *i2c_client; member
42 rst_rsn = i2c_smbus_read_byte_data(data->i2c_client, BMC_CMD_RST_RSN); in menf21bmc_wdt_set_bootstatus()
62 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_ON); in menf21bmc_wdt_start()
69 return i2c_smbus_write_byte_data(drv_data->i2c_client, in menf21bmc_wdt_stop()
84 ret = i2c_smbus_write_word_data(drv_data->i2c_client, in menf21bmc_wdt_settimeout()
98 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_TRIG); in menf21bmc_wdt_ping()
119 struct i2c_client *i2c_client = to_i2c_client(dev->parent); in menf21bmc_wdt_probe() local
130 drv_data->i2c_client = i2c_client; in menf21bmc_wdt_probe()
136 bmc_timeout = i2c_smbus_read_word_data(drv_data->i2c_client, in menf21bmc_wdt_probe()
167 i2c_smbus_write_word_data(drv_data->i2c_client, in menf21bmc_wdt_shutdown()
/linux/drivers/media/dvb-frontends/
A Dmxl692.c24 struct i2c_client *i2c_client; member
38 .addr = dev->i2c_client->addr, in mxl692_i2c_write()
55 .addr = dev->i2c_client->addr, in mxl692_i2c_read()
526 dev_dbg(&dev->i2c_client->dev, in mxl692_i2c_writeread()
580 dev_dbg(&dev->i2c_client->dev, "\n"); in mxl692_fwdownload()
639 dev_info(&dev->i2c_client->dev, in mxl692_get_versions()
655 dev_dbg(&dev->i2c_client->dev, "\n"); in mxl692_reset()
682 dev_dbg(&dev->i2c_client->dev, "\n"); in mxl692_config_regulators()
856 struct i2c_client *client = dev->i2c_client; in mxl692_init()
990 dev_dbg(&dev->i2c_client->dev, in mxl692_set_frontend()
[all …]
/linux/drivers/media/i2c/
A Dmsp3400-driver.h130 int msp_write_dem(struct i2c_client *client, int addr, int val);
131 int msp_write_dsp(struct i2c_client *client, int addr, int val);
132 int msp_read_dem(struct i2c_client *client, int addr);
133 int msp_read_dsp(struct i2c_client *client, int addr);
134 int msp_reset(struct i2c_client *client);
135 void msp_set_scart(struct i2c_client *client, int in, int out);
141 void msp_set_audmode(struct i2c_client *client);
142 int msp_detect_stereo(struct i2c_client *client);
146 void msp3400c_set_mode(struct i2c_client *client, int mode);
147 void msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2);
A Dst-mipid02.c84 struct i2c_client *i2c_client; member
219 struct i2c_client *client = bridge->i2c_client; in mipid02_read_reg()
249 struct i2c_client *client = bridge->i2c_client; in mipid02_write_reg()
297 struct i2c_client *client = bridge->i2c_client; in mipid02_set_power_on()
388 struct i2c_client *client = bridge->i2c_client; in mipid02_configure_from_rx_speed()
410 struct i2c_client *client = bridge->i2c_client; in mipid02_configure_clk_lane()
521 struct i2c_client *client = bridge->i2c_client; in mipid02_stream_disable()
543 struct i2c_client *client = bridge->i2c_client; in mipid02_stream_enable()
622 struct i2c_client *client = bridge->i2c_client; in mipid02_s_stream()
678 struct i2c_client *client = bridge->i2c_client; in mipid02_get_fmt()
[all …]
A Dak881x.c35 static int reg_read(struct i2c_client *client, const u8 reg) in reg_read()
40 static int reg_write(struct i2c_client *client, const u8 reg, in reg_write()
46 static int reg_set(struct i2c_client *client, const u8 reg, in reg_set()
64 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_g_register()
81 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_register()
98 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_fill_fmt()
128 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_get_selection()
148 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_std_output()
179 struct i2c_client *client = v4l2_get_subdevdata(sd); in ak881x_s_stream()
229 static int ak881x_probe(struct i2c_client *client, in ak881x_probe()
[all …]
/linux/drivers/media/i2c/cx25840/
A Dcx25840-core.h72 struct i2c_client *c;
155 int cx25840_write(struct i2c_client *client, u16 addr, u8 value);
156 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value);
157 u8 cx25840_read(struct i2c_client *client, u16 addr);
158 u32 cx25840_read4(struct i2c_client *client, u16 addr);
159 int cx25840_and_or(struct i2c_client *client, u16 addr, unsigned int mask,
161 int cx25840_and_or4(struct i2c_client *client, u16 addr, u32 and_mask,
163 void cx25840_std_setup(struct i2c_client *client);
167 int cx25840_loadfw(struct i2c_client *client);
171 void cx25840_audio_set_path(struct i2c_client *client);
/linux/drivers/leds/
A Dleds-menf21bmc.c28 struct i2c_client *i2c_client; member
60 led_val = i2c_smbus_read_byte_data(led->i2c_client, in menf21bmc_led_set()
70 i2c_smbus_write_byte_data(led->i2c_client, in menf21bmc_led_set()
80 struct i2c_client *i2c_client = to_i2c_client(pdev->dev.parent); in menf21bmc_led_probe() local
85 leds[i].i2c_client = i2c_client; in menf21bmc_led_probe()
A Dleds-blinkm.c23 static int blinkm_test_run(struct i2c_client *client);
26 struct i2c_client *i2c_client; member
34 struct i2c_client *i2c_client; member
130 struct i2c_client *client; in show_color_common()
155 struct i2c_client *client; in store_color_common()
264 struct i2c_client *client; in test_store()
454 blinkm_transfer_hw(led->i2c_client, BLM_GO_RGB); in blinkm_led_common_set()
455 dev_dbg(&led->i2c_client->dev, in blinkm_led_common_set()
568 static int blinkm_probe(struct i2c_client *client, in blinkm_probe()
589 data->i2c_client = client; in blinkm_probe()
[all …]
/linux/drivers/base/regmap/
A Dregmap-i2c.c19 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_read()
38 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_byte_reg_write()
55 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_read()
74 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_reg_write()
91 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_read_swapped()
110 struct i2c_client *i2c = to_i2c_client(dev); in regmap_smbus_word_write_swapped()
126 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_write()
143 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_gather_write()
177 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_read()
212 struct i2c_client *i2c = to_i2c_client(dev); in regmap_i2c_smbus_i2c_write()
[all …]
/linux/include/linux/mfd/
A D88pm860x.h380 struct i2c_client *client;
381 struct i2c_client *companion; /* companion chip client */
469 extern int pm860x_reg_read(struct i2c_client *, int);
470 extern int pm860x_reg_write(struct i2c_client *, int, unsigned char);
471 extern int pm860x_bulk_read(struct i2c_client *, int, int, unsigned char *);
473 extern int pm860x_set_bits(struct i2c_client *, int, unsigned char,
475 extern int pm860x_page_reg_read(struct i2c_client *, int);
476 extern int pm860x_page_reg_write(struct i2c_client *, int, unsigned char);
477 extern int pm860x_page_bulk_read(struct i2c_client *, int, int,
479 extern int pm860x_page_bulk_write(struct i2c_client *, int, int,
[all …]
/linux/drivers/gpu/drm/i2c/
A Dsil164_drv.c37 struct i2c_client *duallink_slave;
118 sil164_read(struct i2c_client *client, uint8_t addr) in sil164_read()
140 sil164_save_state(struct i2c_client *client, uint8_t *state) in sil164_save_state()
149 sil164_restore_state(struct i2c_client *client, uint8_t *state) in sil164_restore_state()
158 sil164_set_power_state(struct i2c_client *client, bool on) in sil164_set_power_state()
171 sil164_init_state(struct i2c_client *client, in sil164_init_state()
374 sil164_remove(struct i2c_client *client) in sil164_remove()
379 static struct i2c_client *
380 sil164_detect_slave(struct i2c_client *client) in sil164_detect_slave()
400 sil164_encoder_init(struct i2c_client *client, in sil164_encoder_init()
[all …]
/linux/drivers/input/misc/
A Dadxl34x-i2c.c20 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read()
28 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_write()
37 struct i2c_client *client = to_i2c_client(dev); in adxl34x_smbus_read_block()
46 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_read_block()
77 static int adxl34x_i2c_probe(struct i2c_client *client, in adxl34x_i2c_probe()
102 static int adxl34x_i2c_remove(struct i2c_client *client) in adxl34x_i2c_remove()
113 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_suspend()
123 struct i2c_client *client = to_i2c_client(dev); in adxl34x_i2c_resume()
/linux/drivers/mfd/
A Dmax8925-i2c.c18 static inline int max8925_read_device(struct i2c_client *i2c, in max8925_read_device()
34 static inline int max8925_write_device(struct i2c_client *i2c, in max8925_write_device()
49 int max8925_reg_read(struct i2c_client *i2c, int reg) in max8925_reg_read()
66 int max8925_reg_write(struct i2c_client *i2c, int reg, in max8925_reg_write()
80 int max8925_bulk_read(struct i2c_client *i2c, int reg, in max8925_bulk_read()
94 int max8925_bulk_write(struct i2c_client *i2c, int reg, in max8925_bulk_write()
108 int max8925_set_bits(struct i2c_client *i2c, int reg, in max8925_set_bits()
147 static int max8925_probe(struct i2c_client *client, in max8925_probe()
201 static int max8925_remove(struct i2c_client *client) in max8925_remove()
214 struct i2c_client *client = to_i2c_client(dev); in max8925_suspend()
[all …]

Completed in 86 milliseconds

12345678910>>...55