Searched refs:client (Results 351 - 375 of 1866) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/leds/
H A Dleds-pca963x.c113 struct i2c_client *client; member in struct:pca963x
121 struct i2c_client *client = led->chip->client; local
130 ledout = i2c_smbus_read_byte_data(client, ledout_addr);
136 ret = i2c_smbus_write_byte_data(client,
143 ret = i2c_smbus_write_byte_data(client, ledout_addr, val);
147 ret = i2c_smbus_write_byte_data(client, ledout_addr, val);
151 ret = i2c_smbus_write_byte_data(client,
163 ret = i2c_smbus_write_byte_data(client, ledout_addr, val);
172 struct i2c_client *client local
204 struct i2c_client *client = led->chip->client; local
303 pca963x_register_leds(struct i2c_client *client, struct pca963x *chip) argument
419 pca963x_probe(struct i2c_client *client) argument
[all...]
H A Dleds-pca9532.c39 struct i2c_client *client; member in struct:pca9532_data
52 static int pca9532_probe(struct i2c_client *client);
53 static void pca9532_remove(struct i2c_client *client);
114 static int pca9532_calcpwm(struct i2c_client *client, int pwm, int blink, argument
118 struct pca9532_data *data = i2c_get_clientdata(client);
127 dev_err(&client->dev,
140 static int pca9532_setpwm(struct i2c_client *client, int pwm) argument
142 struct pca9532_data *data = i2c_get_clientdata(client);
146 i2c_smbus_write_byte_data(client, PCA9532_REG_PWM(maxleds, pwm),
148 i2c_smbus_write_byte_data(client, PCA9532_REG_PS
157 struct i2c_client *client = led->client; local
198 struct i2c_client *client = led->client; local
255 struct i2c_client *client = led->client; local
346 pca9532_configure(struct i2c_client *client, struct pca9532_data *data, struct pca9532_platform_data *pdata) argument
505 pca9532_probe(struct i2c_client *client) argument
547 pca9532_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dbpa-rs600.c17 static int bpa_rs600_read_byte_data(struct i2c_client *client, int page, int reg) argument
30 ret = pmbus_read_byte_data(client, 0, PMBUS_FAN_CONFIG_12);
47 static int bpa_rs600_read_vin(struct i2c_client *client) argument
51 ret = pmbus_read_word_data(client, 0, 0xff, PMBUS_READ_VIN);
72 static int bpa_rs600_read_pin_max(struct i2c_client *client) argument
76 ret = pmbus_read_word_data(client, 0, 0xff, PMBUS_MFR_PIN_MAX);
88 static int bpa_rs600_read_word_data(struct i2c_client *client, int page, int phase, int reg) argument
112 ret = bpa_rs600_read_vin(client);
115 ret = bpa_rs600_read_pin_max(client);
156 static int bpa_rs600_probe(struct i2c_client *client) argument
[all...]
H A Dmax8688.c31 static int max8688_read_word_data(struct i2c_client *client, int page, argument
41 ret = pmbus_read_word_data(client, 0, 0xff,
45 ret = pmbus_read_word_data(client, 0, 0xff,
49 ret = pmbus_read_word_data(client, 0, 0xff,
64 static int max8688_write_word_data(struct i2c_client *client, int page, int reg, argument
71 ret = pmbus_write_word_data(client, 0, MAX8688_MFR_VOUT_PEAK,
75 ret = pmbus_write_word_data(client, 0, MAX8688_MFR_IOUT_PEAK,
79 ret = pmbus_write_word_data(client, 0,
90 static int max8688_read_byte_data(struct i2c_client *client, int page, int reg) argument
100 mfg_status = pmbus_read_word_data(client,
168 max8688_probe(struct i2c_client *client) argument
[all...]
H A Dmax16601.c10 * instantiates a dummy I2C client at the second I2C address to report
58 static int max16601_read_byte(struct i2c_client *client, int page, int reg) argument
60 const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
71 static int max16601_read_word(struct i2c_client *client, int page, int phase, argument
74 const struct pmbus_driver_info *info = pmbus_get_driver_info(client);
87 ret = i2c_smbus_write_byte_data(client, REG_PHASE_ID,
91 ret = i2c_smbus_read_block_data(client,
113 return i2c_smbus_read_word_data(client, REG_IIN_SENSOR);
115 return i2c_smbus_read_word_data(client,
151 static int max16601_write_byte(struct i2c_client *client, in argument
164 max16601_write_word(struct i2c_client *client, int page, int reg, u16 value) argument
192 max16601_identify(struct i2c_client *client, struct pmbus_driver_info *info) argument
274 max16601_get_id(struct i2c_client *client) argument
305 max16601_probe(struct i2c_client *client) argument
[all...]
/linux-master/drivers/rtc/
H A Drtc-rx8025.c87 static s32 rx8025_read_reg(const struct i2c_client *client, u8 number) argument
89 return i2c_smbus_read_byte_data(client, number << 4);
92 static int rx8025_read_regs(const struct i2c_client *client, argument
95 int ret = i2c_smbus_read_i2c_block_data(client, number << 4, length,
103 static s32 rx8025_write_reg(const struct i2c_client *client, u8 number, argument
106 return i2c_smbus_write_byte_data(client, number << 4, value);
109 static s32 rx8025_write_regs(const struct i2c_client *client, argument
112 return i2c_smbus_write_i2c_block_data(client, number << 4,
132 struct i2c_client *client = to_i2c_client(dev); local
137 ctrl2 = rx8025_read_reg(client, RX8025_REG_CTRL
158 rx8025_reset_validity(struct i2c_client *client) argument
179 struct i2c_client *client = dev_id; local
216 struct i2c_client *client = to_i2c_client(dev); local
250 struct i2c_client *client = to_i2c_client(dev); local
281 rx8025_init_client(struct i2c_client *client) argument
328 struct i2c_client *client = to_i2c_client(dev); local
362 struct i2c_client *client = to_i2c_client(dev); local
400 struct i2c_client *client = to_i2c_client(dev); local
435 struct i2c_client *client = to_i2c_client(dev); local
452 struct i2c_client *client = to_i2c_client(dev); local
523 rx8025_probe(struct i2c_client *client) argument
[all...]
/linux-master/drivers/iio/light/
H A Dcm36651.c130 struct i2c_client *client; member in struct:cm36651_data
145 struct i2c_client *client = cm36651->client; local
155 ret = i2c_smbus_write_byte_data(client, cm36651_cs_reg[i],
177 ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF1,
193 struct i2c_client *client = cm36651->client; local
198 *val = i2c_smbus_read_word_data(client, chan->address);
202 ret = i2c_smbus_write_byte_data(client, CM36651_CS_CONF1,
234 struct i2c_client *client local
275 struct i2c_client *client = cm36651->client; local
329 struct i2c_client *client = cm36651->client; local
393 struct i2c_client *client = cm36651->client; local
476 struct i2c_client *client = cm36651->client; local
510 struct i2c_client *client = cm36651->client; local
621 cm36651_probe(struct i2c_client *client) argument
703 cm36651_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/iio/humidity/
H A Dsi7005.c34 struct i2c_client *client; member in struct:si7005_data
46 ret = i2c_smbus_write_byte_data(data->client, SI7005_CONFIG,
54 ret = i2c_smbus_read_byte_data(data->client, SI7005_STATUS);
65 ret = i2c_smbus_read_word_swapped(data->client, SI7005_DATA);
126 static int si7005_probe(struct i2c_client *client) argument
132 if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_WORD_DATA))
135 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
140 i2c_set_clientdata(client, indio_dev);
141 data->client = client;
[all...]
/linux-master/drivers/media/i2c/
H A Dov9640.c171 static int ov9640_reg_read(struct i2c_client *client, u8 reg, u8 *val) argument
176 .addr = client->addr,
182 ret = i2c_transfer(client->adapter, &msg, 1);
187 ret = i2c_transfer(client->adapter, &msg, 1);
195 dev_err(&client->dev, "Failed reading register 0x%02x!\n", reg);
200 static int ov9640_reg_write(struct i2c_client *client, u8 reg, u8 val) argument
206 .addr = client->addr,
212 ret = i2c_transfer(client->adapter, &msg, 1);
214 dev_err(&client->dev, "Failed writing register 0x%02x!\n", reg);
219 ret = ov9640_reg_read(client, re
229 ov9640_reg_rmw(struct i2c_client *client, u8 reg, u8 set, u8 unset) argument
253 ov9640_reset(struct i2c_client *client) argument
276 struct i2c_client *client = v4l2_get_subdevdata(&priv->subdev); local
298 struct i2c_client *client = v4l2_get_subdevdata(sd); local
319 struct i2c_client *client = v4l2_get_subdevdata(sd); local
395 ov9640_write_regs(struct i2c_client *client, u32 width, u32 code, struct ov9640_reg_alt *alts) argument
484 ov9640_prog_dflt(struct i2c_client *client) argument
506 struct i2c_client *client = v4l2_get_subdevdata(sd); local
585 ov9640_video_probe(struct i2c_client *client) argument
683 ov9640_probe(struct i2c_client *client) argument
744 ov9640_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/mfd/
H A Das3711.c119 static int as3711_i2c_probe(struct i2c_client *client) argument
126 if (!client->dev.of_node) {
127 pdata = dev_get_platdata(&client->dev);
129 dev_dbg(&client->dev, "Platform data not found\n");
131 pdata = devm_kzalloc(&client->dev,
137 as3711 = devm_kzalloc(&client->dev, sizeof(struct as3711), GFP_KERNEL);
141 as3711->dev = &client->dev;
142 i2c_set_clientdata(client, as3711);
144 if (client->irq)
145 dev_notice(&client
[all...]
H A Dda903x.c58 struct i2c_client *client; member in struct:da903x_chip
71 static inline int __da903x_read(struct i2c_client *client, argument
76 ret = i2c_smbus_read_byte_data(client, reg);
78 dev_err(&client->dev, "failed reading at 0x%02x\n", reg);
86 static inline int __da903x_reads(struct i2c_client *client, int reg, argument
91 ret = i2c_smbus_read_i2c_block_data(client, reg, len, val);
93 dev_err(&client->dev, "failed reading from 0x%02x\n", reg);
99 static inline int __da903x_write(struct i2c_client *client, argument
104 ret = i2c_smbus_write_byte_data(client, reg, val);
106 dev_err(&client
113 __da903x_writes(struct i2c_client *client, int reg, int len, uint8_t *val) argument
491 da903x_probe(struct i2c_client *client) argument
535 da903x_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/iio/accel/
H A Dmxc6255.c45 struct i2c_client *client; member in struct:mxc6255_data
61 dev_err(&data->client->dev,
116 static int mxc6255_probe(struct i2c_client *client) argument
124 indio_dev = devm_iio_device_alloc(&client->dev, sizeof(*data));
128 regmap = devm_regmap_init_i2c(client, &mxc6255_regmap_config);
130 dev_err(&client->dev, "Error initializing regmap\n");
135 i2c_set_clientdata(client, indio_dev);
136 data->client = client;
147 dev_err(&client
[all...]
/linux-master/drivers/staging/media/atomisp/i2c/
H A Datomisp-ov2722.c39 static int ov2722_read_reg(struct i2c_client *client, argument
46 if (!client->adapter) {
47 dev_err(&client->dev, "%s error, no client->adapter\n",
54 dev_err(&client->dev, "%s error, invalid data length\n",
61 msg[0].addr = client->addr;
70 msg[1].addr = client->addr;
75 err = i2c_transfer(client->adapter, msg, 2);
79 dev_err(&client->dev,
96 static int ov2722_i2c_write(struct i2c_client *client, u1 argument
111 ov2722_write_reg(struct i2c_client *client, u16 data_length, u16 reg, u16 val) argument
161 __ov2722_flush_reg_array(struct i2c_client *client, struct ov2722_write_ctrl *ctrl) argument
177 __ov2722_buf_reg_array(struct i2c_client *client, struct ov2722_write_ctrl *ctrl, const struct ov2722_reg *next) argument
214 __ov2722_write_reg_is_consecutive(struct i2c_client *client, struct ov2722_write_ctrl *ctrl, const struct ov2722_reg *next) argument
224 ov2722_write_reg_array(struct i2c_client *client, const struct ov2722_reg *reglist) argument
268 struct i2c_client *client = v4l2_get_subdevdata(sd); local
357 struct i2c_client *client = v4l2_get_subdevdata(sd); local
382 struct i2c_client *client = v4l2_get_subdevdata(sd); local
522 struct i2c_client *client = v4l2_get_subdevdata(sd); local
569 struct i2c_client *client = v4l2_get_subdevdata(sd); local
616 struct i2c_client *client = v4l2_get_subdevdata(sd); local
641 struct i2c_client *client = v4l2_get_subdevdata(sd); local
728 ov2722_detect(struct i2c_client *client) argument
762 struct i2c_client *client = v4l2_get_subdevdata(sd); local
779 struct i2c_client *client = v4l2_get_subdevdata(sd); local
923 ov2722_remove(struct i2c_client *client) argument
959 ov2722_probe(struct i2c_client *client) argument
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c15 struct i40e_client *client,
19 struct i40e_client *client,
23 struct i40e_client *client,
27 struct i40e_client *client,
41 * @params: client param struct
73 * i40e_notify_client_of_vf_msg - call the client vf message callback
79 * If there is a client to this VSI, call the client
87 if (!cdev || !cdev->client)
89 if (!cdev->client
404 struct i40e_client *client; local
535 i40e_client_virtchnl_send(struct i40e_info *ldev, struct i40e_client *client, u32 vf_id, u8 *msg, u16 len) argument
560 i40e_client_setup_qvlist(struct i40e_info *ldev, struct i40e_client *client, struct i40e_qvlist_info *qvlist_info) argument
629 i40e_client_request_reset(struct i40e_info *ldev, struct i40e_client *client, u32 reset_level) argument
663 i40e_client_update_vsi_ctxt(struct i40e_info *ldev, struct i40e_client *client, bool is_vf, u32 vf_id, u32 flag, u32 valid_flag) argument
721 i40e_client_device_register(struct i40e_info *ldev, struct i40e_client *client) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dsigmadsp-i2c.c42 struct i2c_client *client = control_data; local
49 msgs[0].addr = client->addr;
54 msgs[1].addr = client->addr;
59 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
69 * @client: The parent I2C device
77 struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client, argument
82 sigmadsp = devm_sigmadsp_init(&client->dev, ops, firmware_name);
86 sigmadsp->control_data = client;
H A Dcs35l41-i2c.c32 static int cs35l41_i2c_probe(struct i2c_client *client) argument
35 struct device *dev = &client->dev;
45 cs35l41->irq = client->irq;
47 i2c_set_clientdata(client, cs35l41);
48 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config);
56 static void cs35l41_i2c_remove(struct i2c_client *client) argument
58 struct cs35l41_private *cs35l41 = i2c_get_clientdata(client);
H A Dcs35l56-i2c.c18 static int cs35l56_i2c_probe(struct i2c_client *client) argument
21 struct device *dev = &client->dev;
32 i2c_set_clientdata(client, cs35l56);
33 cs35l56->base.regmap = devm_regmap_init_i2c(client, regmap_config);
45 ret = cs35l56_irq_request(&cs35l56->base, client->irq);
52 static void cs35l56_i2c_remove(struct i2c_client *client) argument
54 struct cs35l56_private *cs35l56 = i2c_get_clientdata(client);
/linux-master/include/sound/
H A Dseq_kernel.h30 /* max number of events in memory pool for one client (outqueue) */
33 /* default number of events in memory pool for one client (outqueue) */
56 /* interface for kernel client */
60 int snd_seq_delete_kernel_client(int client);
61 int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev,
63 int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop);
64 int snd_seq_kernel_client_ctl(int client, unsigned int cmd, void *arg);
87 int snd_seq_set_queue_tempo(int client, struct snd_seq_queue_tempo *tempo);
94 int snd_seq_event_port_attach(int client, struct snd_seq_port_callback *pcbp,
96 int snd_seq_event_port_detach(int client, in
[all...]
/linux-master/drivers/pinctrl/
H A Dpinctrl-mcp23s08_i2c.c11 static int mcp230xx_probe(struct i2c_client *client) argument
14 struct device *dev = &client->dev;
22 info = i2c_get_match_data(client);
29 mcp->regmap = devm_regmap_init_i2c(client, info->regmap);
33 mcp->irq = client->irq;
36 ret = mcp23s08_probe_one(mcp, dev, client->addr, info->type, -1);
40 i2c_set_clientdata(client, mcp);
/linux-master/include/linux/
H A Dism.h72 int ism_register_client(struct ism_client *client);
73 int ism_unregister_client(struct ism_client *client);
75 struct ism_client *client) {
76 return dev->priv[client->id];
79 static inline void ism_set_priv(struct ism_dev *dev, struct ism_client *client, argument
81 dev->priv[client->id] = priv;
85 struct ism_client *client);
74 ism_get_priv(struct ism_dev *dev, struct ism_client *client) argument
/linux-master/drivers/soc/qcom/
H A Dpmic_glink.c60 struct pmic_glink_client *client = (struct pmic_glink_client *)res; local
61 struct pmic_glink *pg = client->pg;
65 list_del(&client->node);
75 struct pmic_glink_client *client; local
79 client = devres_alloc(_devm_pmic_glink_release_client, sizeof(*client), GFP_KERNEL);
80 if (!client)
83 client->pg = pg;
84 client->id = id;
85 client
104 pmic_glink_send(struct pmic_glink_client *client, void *data, size_t len) argument
115 struct pmic_glink_client *client; local
170 struct pmic_glink_client *client; local
[all...]
/linux-master/drivers/input/mouse/
H A Delan_i2c_core.c55 struct i2c_client *client; member in struct:elan_tp_data
194 error = data->ops->power_control(data->client, on);
201 dev_err(&data->client->dev, "failed to set power %s: %d\n",
212 error = data->ops->sleep_control(data->client, true);
226 error = data->ops->get_product_id(data->client, &data->product_id);
230 error = data->ops->get_pattern(data->client, &data->pattern);
234 error = data->ops->get_sm_version(data->client, data->pattern,
262 struct i2c_client *client = data->client; local
267 error = data->ops->initialize(client);
395 struct i2c_client *client = data->client; local
482 struct i2c_client *client = data->client; local
539 struct i2c_client *client = data->client; local
572 struct i2c_client *client = to_i2c_client(dev); local
582 struct i2c_client *client = to_i2c_client(dev); local
593 struct i2c_client *client = to_i2c_client(dev); local
603 struct i2c_client *client = to_i2c_client(dev); local
613 struct i2c_client *client = to_i2c_client(dev); local
675 struct i2c_client *client = to_i2c_client(dev); local
741 struct i2c_client *client = to_i2c_client(dev); local
789 struct i2c_client *client = to_i2c_client(dev); local
848 struct i2c_client *client = to_i2c_client(dev); local
871 struct i2c_client *client = to_i2c_client(dev); local
1190 elan_probe(struct i2c_client *client) argument
1328 struct i2c_client *client = to_i2c_client(dev); local
1365 struct i2c_client *client = to_i2c_client(dev); local
[all...]
/linux-master/drivers/hwmon/
H A Damc6821.c138 * Client data (each client gets its own)
142 struct i2c_client *client; member in struct:amc6821_data
167 struct i2c_client *client = data->client; local
179 client, temp_reg[i]);
181 data->stat1 = i2c_smbus_read_byte_data(client,
183 data->stat2 = i2c_smbus_read_byte_data(client,
186 data->pwm1 = i2c_smbus_read_byte_data(client,
190 client,
193 client,
280 struct i2c_client *client = data->client; local
357 struct i2c_client *client = data->client; local
382 struct i2c_client *client = data->client; local
461 set_slope_register(struct i2c_client *client, u8 reg, u8 dpwm, u8 *ptemp) argument
488 struct i2c_client *client = data->client; local
559 struct i2c_client *client = data->client; local
616 struct i2c_client *client = data->client; local
654 struct i2c_client *client = data->client; local
772 amc6821_detect( struct i2c_client *client, struct i2c_board_info *info) argument
817 amc6821_init_client(struct i2c_client *client) argument
903 amc6821_probe(struct i2c_client *client) argument
[all...]
/linux-master/drivers/input/touchscreen/
H A Dstmfts.c78 struct i2c_client *client; member in struct:stmfts_data
122 dev_warn(&sdata->client->dev,
151 .addr = sdata->client->addr,
156 .addr = sdata->client->addr,
164 ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs));
237 dev_warn(&sdata->client->dev,
287 dev_warn(&sdata->client->dev,
294 dev_err(&sdata->client->dev,
309 dev_err(&sdata->client->dev,
324 err = i2c_smbus_write_byte(sdata->client, cm
624 stmfts_probe(struct i2c_client *client) argument
733 stmfts_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dfirewall.c10 struct tegra_drm_client *client; member in struct:tegra_drm_firewall
51 if (!fw->client->ops->is_addr_reg)
54 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class,
100 if (!fw->client->ops->is_addr_reg)
103 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class,
113 if (!fw->client->ops->is_valid_class) {
114 if (class == fw->client->base.class)
120 if (!fw->client
144 tegra_drm_fw_validate(struct tegra_drm_client *client, u32 *data, u32 start, u32 words, struct tegra_drm_submit_data *submit, u32 *job_class) argument
[all...]

Completed in 251 milliseconds

<<11121314151617181920>>