Searched refs:client (Results 26 - 50 of 1853) sorted by relevance

1234567891011>>

/linux-master/drivers/hwmon/
H A Dadt7410.c29 struct i2c_client *client = context; local
37 regval = i2c_smbus_read_word_swapped(client, reg);
40 regval = i2c_smbus_read_byte_data(client, reg);
51 struct i2c_client *client = context; local
59 ret = i2c_smbus_write_word_swapped(client, reg, val);
62 ret = i2c_smbus_write_byte_data(client, reg, val);
78 static int adt7410_i2c_probe(struct i2c_client *client) argument
82 regmap = devm_regmap_init(&client->dev, NULL, client,
87 return adt7x10_probe(&client
[all...]
/linux-master/drivers/input/mouse/
H A Delan_i2c.h73 int (*initialize)(struct i2c_client *client);
76 int (*set_mode)(struct i2c_client *client, u8 mode);
78 int (*calibrate)(struct i2c_client *client);
79 int (*calibrate_result)(struct i2c_client *client, u8 *val);
81 int (*get_baseline_data)(struct i2c_client *client,
84 int (*get_version)(struct i2c_client *client, u8 pattern, bool iap,
86 int (*get_sm_version)(struct i2c_client *client, u8 pattern,
88 int (*get_checksum)(struct i2c_client *client, bool iap, u16 *csum);
89 int (*get_product_id)(struct i2c_client *client, u16 *id);
91 int (*get_max)(struct i2c_client *client,
[all...]
H A Delan_i2c_i2c.c74 static int elan_i2c_read_block(struct i2c_client *client, argument
82 .addr = client->addr,
83 .flags = client->flags & I2C_M_TEN,
88 .addr = client->addr,
89 .flags = (client->flags & I2C_M_TEN) | I2C_M_RD,
96 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs));
100 static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val) argument
104 retval = elan_i2c_read_block(client, reg, val, ETP_I2C_INF_LENGTH);
106 dev_err(&client->dev, "reading cmd (0x%04x) fail.\n", reg);
113 static int elan_i2c_write_cmd(struct i2c_client *client, u1 argument
139 elan_i2c_initialize(struct i2c_client *client) argument
178 elan_i2c_sleep_control(struct i2c_client *client, bool sleep) argument
184 elan_i2c_power_control(struct i2c_client *client, bool enable) argument
215 elan_i2c_set_mode(struct i2c_client *client, u8 mode) argument
221 elan_i2c_calibrate(struct i2c_client *client) argument
226 elan_i2c_calibrate_result(struct i2c_client *client, u8 *val) argument
231 elan_i2c_get_baseline_data(struct i2c_client *client, bool max_baseline, u8 *value) argument
249 elan_i2c_get_pattern(struct i2c_client *client, u8 *pattern) argument
270 elan_i2c_get_version(struct i2c_client *client, u8 pattern, bool iap, u8 *version) argument
298 elan_i2c_get_sm_version(struct i2c_client *client, u8 pattern, u16 *ic_type, u8 *version, u8 *clickpad) argument
352 elan_i2c_get_product_id(struct i2c_client *client, u16 *id) argument
367 elan_i2c_get_checksum(struct i2c_client *client, bool iap, u16 *csum) argument
387 elan_i2c_get_max(struct i2c_client *client, unsigned int *max_x, unsigned int *max_y) argument
412 elan_i2c_get_resolution(struct i2c_client *client, u8 *hw_res_x, u8 *hw_res_y) argument
430 elan_i2c_get_num_traces(struct i2c_client *client, unsigned int *x_traces, unsigned int *y_traces) argument
449 elan_i2c_get_pressure_adjustment(struct i2c_client *client, int *adjustment) argument
470 elan_i2c_iap_get_mode(struct i2c_client *client, enum tp_mode *mode) argument
492 elan_i2c_iap_reset(struct i2c_client *client) argument
506 elan_i2c_set_flash_key(struct i2c_client *client) argument
520 elan_read_write_iap_type(struct i2c_client *client, u16 fw_page_size) argument
555 elan_i2c_prepare_fw_update(struct i2c_client *client, u16 ic_type, u8 iap_version, u16 fw_page_size) argument
627 elan_i2c_write_fw_block(struct i2c_client *client, u16 fw_page_size, const u8 *page, u16 checksum, int idx) argument
675 elan_i2c_finish_fw_update(struct i2c_client *client, struct completion *completion) argument
718 elan_i2c_get_report_features(struct i2c_client *client, u8 pattern, unsigned int *features, unsigned int *report_len) argument
728 elan_i2c_get_report(struct i2c_client *client, u8 *report, unsigned int report_len) argument
[all...]
/linux-master/sound/ppc/
H A Dkeywest.c19 static int keywest_probe(struct i2c_client *client) argument
22 /* If instantiated via i2c-powermac, we still need to set the client */
23 if (!keywest_ctx->client)
24 keywest_ctx->client = client;
25 i2c_set_clientdata(client, keywest_ctx);
37 struct i2c_client *client; local
48 client = i2c_new_client_device(adapter, &info);
49 if (IS_ERR(client))
50 return PTR_ERR(client);
73 keywest_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/misc/
H A Disl29020.c27 struct i2c_client *client = to_i2c_client(dev); local
30 val = i2c_smbus_read_byte_data(client, 0x00);
41 struct i2c_client *client = to_i2c_client(dev); local
50 temp = i2c_smbus_read_byte_data(client, 0x02); /* MSB data */
57 ret_val = i2c_smbus_read_byte_data(client, 0x01); /* LSB data */
66 val = i2c_smbus_read_byte_data(client, 0x00);
77 struct i2c_client *client = to_i2c_client(dev); local
98 ret_val = i2c_smbus_read_byte_data(client, 0x00);
104 ret_val = i2c_smbus_write_byte_data(client, 0x00, ret_val);
111 static void als_set_power_state(struct i2c_client *client, in argument
142 als_set_default_config(struct i2c_client *client) argument
154 isl29020_probe(struct i2c_client *client) argument
173 isl29020_remove(struct i2c_client *client) argument
190 struct i2c_client *client = to_i2c_client(dev); local
197 struct i2c_client *client = to_i2c_client(dev); local
[all...]
H A Dapds9802als.c35 struct i2c_client *client = to_i2c_client(dev); local
38 val = i2c_smbus_read_byte_data(client, 0x81);
49 struct i2c_client *client = to_i2c_client(dev); local
55 ret = i2c_smbus_read_byte_data(client, 0x86);
69 struct i2c_client *client = to_i2c_client(dev); local
70 struct als_data *data = i2c_get_clientdata(client);
79 i2c_smbus_write_byte(client, 0x40);
81 temp = i2c_smbus_read_byte_data(client, 0x81);
82 i2c_smbus_write_byte_data(client, 0x81, temp | 0x08);
88 temp = i2c_smbus_read_byte_data(client,
111 struct i2c_client *client = to_i2c_client(dev); local
159 als_set_power_state(struct i2c_client *client, bool on_off) argument
193 als_set_default_config(struct i2c_client *client) argument
215 apds9802als_probe(struct i2c_client *client) argument
244 apds9802als_remove(struct i2c_client *client) argument
264 struct i2c_client *client = to_i2c_client(dev); local
272 struct i2c_client *client = to_i2c_client(dev); local
[all...]
H A Disl29003.c50 struct i2c_client *client; member in struct:isl29003_data
64 static int __isl29003_read_reg(struct i2c_client *client, argument
67 struct isl29003_data *data = i2c_get_clientdata(client);
72 static int __isl29003_write_reg(struct i2c_client *client, argument
75 struct isl29003_data *data = i2c_get_clientdata(client);
88 ret = i2c_smbus_write_byte_data(client, reg, tmp);
101 static int isl29003_get_range(struct i2c_client *client) argument
103 return __isl29003_read_reg(client, ISL29003_REG_CONTROL,
107 static int isl29003_set_range(struct i2c_client *client, int range) argument
109 return __isl29003_write_reg(client, ISL29003_REG_CONTRO
114 isl29003_get_resolution(struct i2c_client *client) argument
120 isl29003_set_resolution(struct i2c_client *client, int res) argument
127 isl29003_get_mode(struct i2c_client *client) argument
133 isl29003_set_mode(struct i2c_client *client, int mode) argument
140 isl29003_set_power_state(struct i2c_client *client, int state) argument
147 isl29003_get_power_state(struct i2c_client *client) argument
155 isl29003_get_adc_value(struct i2c_client *client) argument
187 struct i2c_client *client = to_i2c_client(dev); local
196 struct i2c_client *client = to_i2c_client(dev); local
223 struct i2c_client *client = to_i2c_client(dev); local
232 struct i2c_client *client = to_i2c_client(dev); local
257 struct i2c_client *client = to_i2c_client(dev); local
265 struct i2c_client *client = to_i2c_client(dev); local
292 struct i2c_client *client = to_i2c_client(dev); local
301 struct i2c_client *client = to_i2c_client(dev); local
324 struct i2c_client *client = to_i2c_client(dev); local
348 isl29003_init_client(struct i2c_client *client) argument
377 isl29003_probe(struct i2c_client *client) argument
412 isl29003_remove(struct i2c_client *client) argument
422 struct i2c_client *client = to_i2c_client(dev); local
432 struct i2c_client *client = to_i2c_client(dev); local
[all...]
/linux-master/drivers/platform/surface/
H A Dsurface_aggregator_cdev.c45 struct rw_semaphore client_lock; /* Guards client list. */
52 struct ssam_cdev_client *client; member in struct:ssam_cdev_notifier
96 struct ssam_cdev_client *client = cdev_nf->client; local
107 mutex_lock(&client->write_lock);
110 if (kfifo_avail(&client->buffer) < n) {
111 dev_warn(client->cdev->dev,
114 mutex_unlock(&client->write_lock);
119 kfifo_in(&client->buffer, (const u8 *)&event, struct_size(&event, data, 0));
120 kfifo_in(&client
135 ssam_cdev_notifier_register(struct ssam_cdev_client *client, u8 tc, int priority) argument
187 ssam_cdev_notifier_unregister(struct ssam_cdev_client *client, u8 tc) argument
216 ssam_cdev_notifier_unregister_all(struct ssam_cdev_client *client) argument
255 ssam_cdev_request(struct ssam_cdev_client *client, struct ssam_cdev_request __user *r) argument
370 ssam_cdev_notif_register(struct ssam_cdev_client *client, const struct ssam_cdev_notifier_desc __user *d) argument
385 ssam_cdev_notif_unregister(struct ssam_cdev_client *client, const struct ssam_cdev_notifier_desc __user *d) argument
400 ssam_cdev_event_enable(struct ssam_cdev_client *client, const struct ssam_cdev_event_desc __user *d) argument
428 ssam_cdev_event_disable(struct ssam_cdev_client *client, const struct ssam_cdev_event_desc __user *d) argument
462 struct ssam_cdev_client *client; local
505 struct ssam_cdev_client *client = filp->private_data; local
527 __ssam_cdev_device_ioctl(struct ssam_cdev_client *client, unsigned int cmd, unsigned long arg) argument
557 struct ssam_cdev_client *client = file->private_data; local
577 struct ssam_cdev_client *client = file->private_data; local
643 struct ssam_cdev_client *client = file->private_data; local
659 struct ssam_cdev_client *client = file->private_data; local
720 struct ssam_cdev_client *client; local
[all...]
/linux-master/drivers/media/i2c/
H A Dmsp3400-kthreads.c175 static void msp_set_source(struct i2c_client *client, u16 src) argument
177 struct msp_state *state = to_state(i2c_get_clientdata(client));
180 msp_write_dsp(client, 0x0008, 0x0520); /* I2S1 */
181 msp_write_dsp(client, 0x0009, 0x0620); /* I2S2 */
183 msp_write_dsp(client, 0x0008, src);
184 msp_write_dsp(client, 0x0009, src);
186 msp_write_dsp(client, 0x000a, src);
187 msp_write_dsp(client, 0x000b, src);
188 msp_write_dsp(client, 0x000c, src);
190 msp_write_dsp(client,
193 msp3400c_set_carrier(struct i2c_client *client, int cdo1, int cdo2) argument
202 msp3400c_set_mode(struct i2c_client *client, int mode) argument
240 msp3400c_set_audmode(struct i2c_client *client) argument
372 msp3400c_print_mode(struct i2c_client *client) argument
401 msp3400c_detect_stereo(struct i2c_client *client) argument
479 watch_stereo(struct i2c_client *client) argument
492 struct i2c_client *client = data; local
688 struct i2c_client *client = data; local
855 msp34xxg_modus(struct i2c_client *client) argument
882 msp34xxg_set_source(struct i2c_client *client, u16 reg, int in) argument
925 msp34xxg_set_sources(struct i2c_client *client) argument
941 msp34xxg_reset(struct i2c_client *client) argument
985 struct i2c_client *client = data; local
1081 msp34xxg_detect_stereo(struct i2c_client *client) argument
1110 msp34xxg_set_audmode(struct i2c_client *client) argument
1127 msp_set_audmode(struct i2c_client *client) argument
1142 msp_detect_stereo(struct i2c_client *client) argument
[all...]
H A Dak881x.c35 static int reg_read(struct i2c_client *client, const u8 reg) argument
37 return i2c_smbus_read_byte_data(client, reg);
40 static int reg_write(struct i2c_client *client, const u8 reg, argument
43 return i2c_smbus_write_byte_data(client, reg, data);
46 static int reg_set(struct i2c_client *client, const u8 reg, argument
49 int ret = reg_read(client, reg);
52 return reg_write(client, reg, (ret & ~mask) | (data & mask));
55 static struct ak881x *to_ak881x(const struct i2c_client *client) argument
57 return container_of(i2c_get_clientdata(client), struct ak881x, subdev);
64 struct i2c_client *client local
81 struct i2c_client *client = v4l2_get_subdevdata(sd); local
98 struct i2c_client *client = v4l2_get_subdevdata(sd); local
128 struct i2c_client *client = v4l2_get_subdevdata(sd); local
148 struct i2c_client *client = v4l2_get_subdevdata(sd); local
179 struct i2c_client *client = v4l2_get_subdevdata(sd); local
229 ak881x_probe(struct i2c_client *client) argument
299 ak881x_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/gpu/vga/
H A Dvga_switcheroo.c74 * register as a client so that vga_switcheroo can take care of the correct
77 * client (on the discrete GPU). The code is mostly prepared to support
81 * active client in vga_switcheroo parlance. The GPU not in use is the
82 * inactive client. When the inactive client's DRM driver is loaded,
86 * a client may alternatively request that the DDC lines are temporarily
93 * struct vga_switcheroo_client - registered client
94 * @pdev: client pci device
98 * @ops: client callbacks
99 * @id: client identifie
189 struct vga_switcheroo_client *client; local
298 struct vga_switcheroo_client *client; local
396 struct vga_switcheroo_client *client; local
408 struct vga_switcheroo_client *client; local
419 struct vga_switcheroo_client *client; local
455 vga_switcheroo_pwr_state(struct vga_switcheroo_client *client) argument
478 struct vga_switcheroo_client *client; local
500 struct vga_switcheroo_client *client; local
530 struct vga_switcheroo_client *client; local
648 struct vga_switcheroo_client *client; local
672 vga_switchon(struct vga_switcheroo_client *client) argument
684 vga_switchoff(struct vga_switcheroo_client *client) argument
699 struct vga_switcheroo_client *client; local
763 struct vga_switcheroo_client *client; local
783 struct vga_switcheroo_client *client = NULL; local
938 struct vga_switcheroo_client *client; local
998 struct vga_switcheroo_client *client; local
[all...]
/linux-master/drivers/rtc/
H A Drtc-ds1374.c3 * RTC client/driver for the Maxim/Dallas DS1374 Real-Time Clock over I2C
69 struct i2c_client *client; member in struct:ds1374
85 static int ds1374_read_rtc(struct i2c_client *client, u32 *time, argument
95 ret = i2c_smbus_read_i2c_block_data(client, reg, nbytes, buf);
108 static int ds1374_write_rtc(struct i2c_client *client, u32 time, argument
124 return i2c_smbus_write_i2c_block_data(client, reg, nbytes, buf);
127 static int ds1374_check_rtc_status(struct i2c_client *client) argument
132 stat = i2c_smbus_read_byte_data(client, DS1374_REG_SR);
137 dev_warn(&client->dev,
142 ret = i2c_smbus_write_byte_data(client, DS1374_REG_S
161 struct i2c_client *client = to_i2c_client(dev); local
174 struct i2c_client *client = to_i2c_client(dev); local
187 struct i2c_client *client = to_i2c_client(dev); local
225 struct i2c_client *client = to_i2c_client(dev); local
286 struct i2c_client *client = dev_id; local
297 struct i2c_client *client = ds1374->client; local
330 struct i2c_client *client = to_i2c_client(dev); local
395 struct i2c_client *client = ds1374->client; local
443 struct i2c_client *client = ds1374->client; local
470 ds1374_probe(struct i2c_client *client) argument
533 ds1374_remove(struct i2c_client *client) argument
550 struct i2c_client *client = to_i2c_client(dev); local
559 struct i2c_client *client = to_i2c_client(dev); local
[all...]
/linux-master/drivers/staging/fieldbus/anybuss/
H A Danybuss-client.h3 * Anybus-S client adapter definitions
25 * these can be optionally set by the client to receive event
28 void (*on_area_updated)(struct anybuss_client *client);
29 void (*on_online_changed)(struct anybuss_client *client, bool online);
54 anybuss_get_drvdata(const struct anybuss_client *client) argument
56 return dev_get_drvdata(&client->dev);
60 anybuss_set_drvdata(struct anybuss_client *client, void *data) argument
62 dev_set_drvdata(&client->dev, data);
65 int anybuss_set_power(struct anybuss_client *client, bool power_on);
79 int anybuss_start_init(struct anybuss_client *client,
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_drm_client.c19 * xe_drm_client_alloc() - Allocate drm client
22 * Allocate drm client struct to track client memory against
23 * same till client life. Call this API whenever new client
26 * Return: pointer to client struct or NULL if can't allocate
30 struct xe_drm_client *client; local
32 client = kzalloc(sizeof(*client), GFP_KERNEL);
33 if (!client)
56 struct xe_drm_client *client = local
73 xe_drm_client_add_bo(struct xe_drm_client *client, struct xe_bo *bo) argument
96 struct xe_drm_client *client = bo->client; local
138 struct xe_drm_client *client; local
[all...]
/linux-master/drivers/staging/iio/addac/
H A Dadt7316.h17 void *client; member in struct:adt7316_bus
19 int (*read)(void *client, u8 reg, u8 *data);
20 int (*write)(void *client, u8 reg, u8 val);
21 int (*multi_read)(void *client, u8 first_reg, u8 count, u8 *data);
22 int (*multi_write)(void *client, u8 first_reg, u8 count, u8 *data);
/linux-master/sound/core/seq/
H A Dseq_queue.h28 int owner; /* client that 'owns' the timer */
57 struct snd_seq_queue *snd_seq_queue_alloc(int client, int locked, unsigned int flags);
60 int snd_seq_queue_delete(int client, int queueid);
63 void snd_seq_queue_client_leave(int client);
69 void snd_seq_queue_client_leave_cells(int client);
70 void snd_seq_queue_remove_cells(int client, struct snd_seq_remove_events *info);
84 int snd_seq_queue_check_access(int queueid, int client);
85 int snd_seq_queue_timer_set_tempo(int queueid, int client, struct snd_seq_queue_tempo *info);
86 int snd_seq_queue_set_owner(int queueid, int client, int locked);
87 int snd_seq_queue_set_locked(int queueid, int client, in
[all...]
/linux-master/drivers/iio/pressure/
H A Dzpa2326_i2c.c31 static unsigned int zpa2326_i2c_hwid(const struct i2c_client *client) argument
38 (ZPA2326_SA0(client->addr) << ZPA2326_DEVICE_ID_SA0_SHIFT));
41 static int zpa2326_probe_i2c(struct i2c_client *client) argument
43 const struct i2c_device_id *i2c_id = i2c_client_get_device_id(client);
46 regmap = devm_regmap_init_i2c(client, &zpa2326_regmap_i2c_config);
48 dev_err(&client->dev, "failed to init registers map");
52 return zpa2326_probe(&client->dev, i2c_id->name, client->irq,
53 zpa2326_i2c_hwid(client), regmap);
56 static void zpa2326_remove_i2c(struct i2c_client *client) argument
[all...]
/linux-master/include/net/9p/
H A Dtransport.h35 * transport module with the 9P core network module and used by the client
48 int (*create)(struct p9_client *client,
50 void (*close)(struct p9_client *client);
51 int (*request)(struct p9_client *client, struct p9_req_t *req);
52 int (*cancel)(struct p9_client *client, struct p9_req_t *req);
53 int (*cancelled)(struct p9_client *client, struct p9_req_t *req);
54 int (*zc_request)(struct p9_client *client, struct p9_req_t *req,
57 int (*show_options)(struct seq_file *m, struct p9_client *client);
/linux-master/drivers/input/touchscreen/
H A Dcyttsp4_i2c.c30 static int cyttsp4_i2c_probe(struct i2c_client *client) argument
34 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
35 dev_err(&client->dev, "I2C functionality not Supported\n");
39 ts = cyttsp4_probe(&cyttsp4_i2c_bus_ops, &client->dev, client->irq,
45 static void cyttsp4_i2c_remove(struct i2c_client *client) argument
47 struct cyttsp4 *ts = i2c_get_clientdata(client);
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_i2c.h13 struct i2c_client *client; member in struct:mgb4_i2c_client
23 int mgb4_i2c_init(struct mgb4_i2c_client *client, struct i2c_adapter *adap,
25 void mgb4_i2c_free(struct mgb4_i2c_client *client);
27 s32 mgb4_i2c_read_byte(struct mgb4_i2c_client *client, u16 reg);
28 s32 mgb4_i2c_write_byte(struct mgb4_i2c_client *client, u16 reg, u8 val);
29 s32 mgb4_i2c_mask_byte(struct mgb4_i2c_client *client, u16 reg, u8 mask,
32 int mgb4_i2c_configure(struct mgb4_i2c_client *client,
/linux-master/drivers/iio/accel/
H A Dbmc150-accel-i2c.c51 static bool bmc150_acpi_set_angle_dsm(struct i2c_client *client, u32 aux0, u32 ang0) argument
53 struct acpi_device *adev = ACPI_COMPANION(&client->dev);
82 dev_err(&client->dev, "Failed to call DSM to enable keyboard and touchpad\n");
90 static bool bmc150_acpi_enable_keyboard(struct i2c_client *client) argument
97 if (!bmc150_acpi_set_angle_dsm(client, 0, 270))
103 return bmc150_acpi_set_angle_dsm(client, 0, 90);
130 static void bmc150_acpi_dual_accel_probe(struct i2c_client *client) argument
132 struct bmc150_accel_data *data = iio_priv(i2c_get_clientdata(client));
133 struct acpi_device *adev = ACPI_COMPANION(&client->dev);
138 .fwnode = client
160 bmc150_acpi_dual_accel_remove(struct i2c_client *client) argument
170 bmc150_acpi_dual_accel_probe(struct i2c_client *client) argument
171 bmc150_acpi_dual_accel_remove(struct i2c_client *client) argument
174 bmc150_accel_probe(struct i2c_client *client) argument
212 bmc150_accel_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/net/dsa/
H A Dlan9303_i2c.c32 static int lan9303_i2c_probe(struct i2c_client *client) argument
37 sw_dev = devm_kzalloc(&client->dev, sizeof(struct lan9303_i2c),
42 sw_dev->chip.regmap = devm_regmap_init_i2c(client,
46 dev_err(&client->dev, "Failed to allocate register map: %d\n",
52 sw_dev->device = client;
53 i2c_set_clientdata(client, sw_dev);
54 sw_dev->chip.dev = &client->dev;
58 ret = lan9303_probe(&sw_dev->chip, client->dev.of_node);
62 dev_info(&client->dev, "LAN9303 I2C driver loaded successfully\n");
67 static void lan9303_i2c_remove(struct i2c_client *client) argument
77 lan9303_i2c_shutdown(struct i2c_client *client) argument
[all...]
/linux-master/drivers/gpu/drm/
H A Ddrm_client.c34 static int drm_client_open(struct drm_client_dev *client) argument
36 struct drm_device *dev = client->dev;
47 client->file = file;
52 static void drm_client_close(struct drm_client_dev *client) argument
54 struct drm_device *dev = client->dev;
57 list_del(&client->file->lhead);
60 drm_file_free(client->file);
64 * drm_client_init - Initialise a DRM client
66 * @client: DRM client
78 drm_client_init(struct drm_device *dev, struct drm_client_dev *client, const char *name, const struct drm_client_funcs *funcs) argument
122 drm_client_register(struct drm_client_dev *client) argument
163 drm_client_release(struct drm_client_dev *client) argument
177 struct drm_client_dev *client, *tmp; local
206 struct drm_client_dev *client; local
236 struct drm_client_dev *client; local
266 drm_client_buffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format, u32 *handle) argument
387 struct drm_client_dev *client = buffer->client; local
428 drm_client_framebuffer_create(struct drm_client_dev *client, u32 width, u32 height, u32 format) argument
511 struct drm_client_dev *client; local
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-i2c.c13 struct i2c_client *client = v4l2_get_subdevdata(sd); local
16 * We need to unregister the i2c client
27 if (client && !client->dev.of_node && !client->dev.fwnode)
28 i2c_unregister_device(client);
32 struct i2c_client *client,
36 devname = client->dev.driver->name;
41 i2c_adapter_id(client->adapter), client
31 v4l2_i2c_subdev_set_name(struct v4l2_subdev *sd, struct i2c_client *client, const char *devname, const char *postfix) argument
45 v4l2_i2c_subdev_init(struct v4l2_subdev *sd, struct i2c_client *client, const struct v4l2_subdev_ops *ops) argument
68 struct i2c_client *client; local
143 struct i2c_client *client = v4l2_get_subdevdata(sd); local
[all...]
/linux-master/drivers/input/keyboard/
H A Dqt1070.c49 struct i2c_client *client; member in struct:qt1070_data
56 static int qt1070_read(struct i2c_client *client, u8 reg) argument
60 ret = i2c_smbus_read_byte_data(client, reg);
62 dev_err(&client->dev,
68 static int qt1070_write(struct i2c_client *client, u8 reg, u8 data) argument
72 ret = i2c_smbus_write_byte_data(client, reg, data);
74 dev_err(&client->dev,
80 static bool qt1070_identify(struct i2c_client *client) argument
85 id = qt1070_read(client, CHIP_ID);
87 dev_err(&client
106 struct i2c_client *client = data->client; local
129 qt1070_probe(struct i2c_client *client) argument
214 struct i2c_client *client = to_i2c_client(dev); local
225 struct i2c_client *client = to_i2c_client(dev); local
[all...]

Completed in 248 milliseconds

1234567891011>>