Searched refs:client (Results 1 - 25 of 1853) sorted by relevance

1234567891011>>

/linux-master/sound/core/seq/
H A Dseq_system.h13 void snd_seq_system_broadcast(int client, int port, int type);
15 #define snd_seq_system_client_ev_client_start(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_START)
16 #define snd_seq_system_client_ev_client_exit(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_EXIT)
17 #define snd_seq_system_client_ev_client_change(client) snd_seq_system_broadcast(client, 0, SNDRV_SEQ_EVENT_CLIENT_CHANGE)
18 #define snd_seq_system_client_ev_port_start(client, port) snd_seq_system_broadcast(client, port, SNDRV_SEQ_EVENT_PORT_START)
19 #define snd_seq_system_client_ev_port_exit(client, por
[all...]
/linux-master/include/linux/ceph/
H A Dceph_debug.h22 # define doutc(client, fmt, ...) \
26 &client->fsid, client->monc.auth->global_id, \
34 # define doutc(client, fmt, ...) do { \
37 &client->fsid, \
38 client->monc.auth->global_id, \
49 # define doutc(client, fmt, ...) \
50 pr_debug(" [%pU %llu] %s: " fmt, &client->fsid, \
51 client->monc.auth->global_id, __func__, ##__VA_ARGS__)
55 #define pr_notice_client(client, fm
[all...]
H A Ddebugfs.h10 extern void ceph_debugfs_client_init(struct ceph_client *client);
11 extern void ceph_debugfs_client_cleanup(struct ceph_client *client);
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dclient.c25 #include <nvif/client.h>
33 nvif_client_ioctl(struct nvif_client *client, void *data, u32 size) argument
35 return client->driver->ioctl(client->object.priv, data, size, NULL);
39 nvif_client_suspend(struct nvif_client *client) argument
41 return client->driver->suspend(client->object.priv);
45 nvif_client_resume(struct nvif_client *client) argument
47 return client->driver->resume(client
51 nvif_client_dtor(struct nvif_client *client) argument
62 nvif_client_ctor(struct nvif_client *parent, const char *name, u64 device, struct nvif_client *client) argument
[all...]
H A Ddriver.c25 #include <nvif/client.h>
41 const char *name, u64 device, struct nvif_client *client)
45 for (i = 0; (client->driver = nvif_driver[i]); i++) {
46 if (!drv || !strcmp(client->driver->name, drv)) {
47 ret = client->driver->init(name, device, cfg, dbg,
48 &client->object.priv);
51 client->driver->fini(client->object.priv);
56 ret = nvif_client_ctor(client, name, device, client);
40 nvif_driver_init(const char *drv, const char *cfg, const char *dbg, const char *name, u64 device, struct nvif_client *client) argument
[all...]
/linux-master/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c31 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) argument
33 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
42 cx25840_write4(client, 0x108, 0x1006040f);
57 cx25840_write4(client, 0x110, 0x01bb39ee);
63 cx25840_write(client, 0x127, 0x50);
70 cx25840_write4(client, 0x900, 0x0801f77f);
71 cx25840_write4(client, 0x904, 0x0801f77f);
72 cx25840_write4(client, 0x90c, 0x0801f77f);
80 cx25840_write4(client, 0x108, 0x1009040f);
94 cx25840_write4(client,
281 cx25836_set_audclk_freq(struct i2c_client *client, u32 freq) argument
286 cx23885_set_audclk_freq(struct i2c_client *client, u32 freq) argument
328 cx231xx_set_audclk_freq(struct i2c_client *client, u32 freq) argument
404 set_audclk_freq(struct i2c_client *client, u32 freq) argument
423 cx25840_audio_set_path(struct i2c_client *client) argument
468 set_volume(struct i2c_client *client, int volume) argument
488 set_balance(struct i2c_client *client, int balance) argument
506 struct i2c_client *client = v4l2_get_subdevdata(sd); local
528 struct i2c_client *client = v4l2_get_subdevdata(sd); local
[all...]
H A Dcx25840-firmware.c32 static void start_fw_load(struct i2c_client *client) argument
35 cx25840_write(client, 0x800, 0x00);
36 cx25840_write(client, 0x801, 0x00);
38 cx25840_write(client, 0x803, 0x0b);
40 cx25840_write(client, 0x000, 0x20);
43 static void end_fw_load(struct i2c_client *client) argument
46 cx25840_write(client, 0x000, 0x00);
48 cx25840_write(client, 0x803, 0x03);
55 static const char *get_fw_name(struct i2c_client *client) argument
57 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
68 check_fw_load(struct i2c_client *client, int size) argument
85 fw_write(struct i2c_client *client, const u8 *data, int size) argument
95 cx25840_loadfw(struct i2c_client *client) argument
[all...]
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_i2c.c13 static int read_r16(struct i2c_client *client, u16 reg, u8 *val, int len) argument
19 .addr = client->addr,
24 .addr = client->addr,
34 ret = i2c_transfer(client->adapter, msg, 2);
43 static int write_r16(struct i2c_client *client, u16 reg, const u8 *val, int len) argument
49 .addr = client->addr,
63 ret = i2c_transfer(client->adapter, msg, 1);
72 int mgb4_i2c_init(struct mgb4_i2c_client *client, struct i2c_adapter *adap, argument
75 client->client
84 mgb4_i2c_free(struct mgb4_i2c_client *client) argument
89 mgb4_i2c_read_byte(struct mgb4_i2c_client *client, u16 reg) argument
104 mgb4_i2c_write_byte(struct mgb4_i2c_client *client, u16 reg, u8 val) argument
112 mgb4_i2c_mask_byte(struct mgb4_i2c_client *client, u16 reg, u8 mask, u8 val) argument
126 mgb4_i2c_configure(struct mgb4_i2c_client *client, const struct mgb4_i2c_kv *values, size_t count) argument
[all...]
/linux-master/drivers/staging/media/atomisp/include/linux/
H A Dlibmsrlisthelper.h22 int load_msr_list(struct i2c_client *client, char *path,
24 int apply_msr_data(struct i2c_client *client, const struct firmware *fw);
25 void release_msr_list(struct i2c_client *client,
/linux-master/drivers/i2c/
H A Di2c-core-slave.c20 int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb) argument
24 if (WARN(IS_ERR_OR_NULL(client) || !slave_cb, "insufficient data\n"))
27 if (!(client->flags & I2C_CLIENT_SLAVE))
28 dev_warn(&client->dev, "%s: client slave flag not set. You might see address collisions\n",
31 if (!(client->flags & I2C_CLIENT_TEN)) {
33 ret = i2c_check_7bit_addr_validity_strict(client->addr);
35 dev_err(&client->dev, "%s: invalid address\n", __func__);
40 if (!client->adapter->algo->reg_slave) {
41 dev_err(&client
60 i2c_slave_unregister(struct i2c_client *client) argument
85 i2c_slave_event(struct i2c_client *client, enum i2c_slave_event event, u8 *val) argument
[all...]
/linux-master/drivers/misc/
H A Dad525x_dpot-i2c.c14 static int write_d8(void *client, u8 val) argument
16 return i2c_smbus_write_byte(client, val);
19 static int write_r8d8(void *client, u8 reg, u8 val) argument
21 return i2c_smbus_write_byte_data(client, reg, val);
24 static int write_r8d16(void *client, u8 reg, u16 val) argument
26 return i2c_smbus_write_word_data(client, reg, val);
29 static int read_d8(void *client) argument
31 return i2c_smbus_read_byte(client);
34 static int read_r8d8(void *client, u8 reg) argument
36 return i2c_smbus_read_byte_data(client, re
39 read_r8d16(void *client, u8 reg) argument
53 ad_dpot_i2c_probe(struct i2c_client *client) argument
70 ad_dpot_i2c_remove(struct i2c_client *client) argument
[all...]
/linux-master/drivers/firmware/qcom/
H A Dqcom_qseecom.c4 * Responsible for setting up and managing QSEECOM client devices.
24 struct qseecom_client *client; local
26 client = container_of(dev, struct qseecom_client, aux_dev.dev);
27 kfree(client);
32 struct qseecom_client *client = data; local
34 auxiliary_device_delete(&client->aux_dev);
35 auxiliary_device_uninit(&client->aux_dev);
41 struct qseecom_client *client; local
50 dev_info(&qseecom_dev->dev, "setting up client for %s\n", desc->app_name);
52 /* Allocate and set-up the client devic
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_drm_client.h29 * @bos_list: list of bos created by this client
38 xe_drm_client_get(struct xe_drm_client *client) argument
40 kref_get(&client->kref);
41 return client;
46 static inline void xe_drm_client_put(struct xe_drm_client *client) argument
48 kref_put(&client->kref, __xe_drm_client_free);
53 xe_drm_client_get(struct xe_drm_client *client);
54 static inline void xe_drm_client_put(struct xe_drm_client *client);
57 void xe_drm_client_add_bo(struct xe_drm_client *client,
61 static inline void xe_drm_client_add_bo(struct xe_drm_client *client, argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dclient.c24 #include <core/client.h>
40 struct nvkm_client *client; local
46 NULL, oclass->client->event, &client);
52 client->object.client = oclass->client;
53 client->object.handle = oclass->handle;
54 client->object.route = oclass->route;
55 client
72 nvkm_client_search(struct nvkm_client *client, u64 handle) argument
84 nvkm_client_mthd_devlist(struct nvkm_client *client, void *data, u32 size) argument
112 struct nvkm_client *client = nvkm_client(object); local
172 struct nvkm_client *client; local
[all...]
/linux-master/drivers/media/i2c/
H A Dov7640.c30 static int write_regs(struct i2c_client *client, argument
34 if (i2c_smbus_write_byte_data(client, rv->reg, rv->val) < 0)
45 static int ov7640_probe(struct i2c_client *client) argument
47 struct i2c_adapter *adapter = client->adapter;
53 sd = devm_kzalloc(&client->dev, sizeof(*sd), GFP_KERNEL);
56 v4l2_i2c_subdev_init(sd, client, &ov7640_ops);
58 client->flags = I2C_CLIENT_SCCB;
60 v4l_info(client, "chip found @ 0x%02x (%s)\n",
61 client->addr << 1, client
72 ov7640_remove(struct i2c_client *client) argument
[all...]
H A Duda1342.c14 static int write_reg(struct i2c_client *client, int reg, int value) argument
17 i2c_smbus_write_word_data(client, reg, swab16(value));
24 struct i2c_client *client = v4l2_get_subdevdata(sd); local
28 write_reg(client, 0x00, 0x1241); /* select input 1 */
31 write_reg(client, 0x00, 0x1441); /* select input 2 */
48 static int uda1342_probe(struct i2c_client *client) argument
50 struct i2c_adapter *adapter = client->adapter;
56 dev_dbg(&client->dev, "initializing UDA1342 at address %d on %s\n",
57 client->addr, adapter->name);
59 sd = devm_kzalloc(&client
74 uda1342_remove(struct i2c_client *client) argument
[all...]
H A Dmt9t112.c60 #define mt9t112_reg_write(ret, client, a, b) \
61 ECHECKER(ret, __mt9t112_reg_write(client, a, b))
62 #define mt9t112_mcu_write(ret, client, a, b) \
63 ECHECKER(ret, __mt9t112_mcu_write(client, a, b))
65 #define mt9t112_reg_mask_set(ret, client, a, b, c) \
66 ECHECKER(ret, __mt9t112_reg_mask_set(client, a, b, c))
67 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \
68 ECHECKER(ret, __mt9t112_mcu_mask_set(client, a, b, c))
70 #define mt9t112_reg_read(ret, client, a) \
71 ECHECKER(ret, __mt9t112_reg_read(client,
93 struct i2c_client *client; member in struct:mt9t112_priv
143 to_mt9t112(const struct i2c_client *client) argument
150 __mt9t112_reg_read(const struct i2c_client *client, u16 command) argument
181 __mt9t112_reg_write(const struct i2c_client *client, u16 command, u16 data) argument
208 __mt9t112_reg_mask_set(const struct i2c_client *client, u16 command, u16 mask, u16 set) argument
223 __mt9t112_mcu_read(const struct i2c_client *client, u16 command) argument
234 __mt9t112_mcu_write(const struct i2c_client *client, u16 command, u16 data) argument
246 __mt9t112_mcu_mask_set(const struct i2c_client *client, u16 command, u16 mask, u16 set) argument
260 mt9t112_reset(const struct i2c_client *client) argument
275 mt9t112_clock_info(const struct i2c_client *client, u32 ext) argument
342 mt9t112_set_a_frame_size(const struct i2c_client *client, u16 width, u16 height) argument
370 mt9t112_set_pll_dividers(const struct i2c_client *client, u8 m, u8 n, u8 p1, u8 p2, u8 p3, u8 p4, u8 p5, u8 p6, u8 p7) argument
397 mt9t112_init_pll(const struct i2c_client *client) argument
482 mt9t112_init_setting(const struct i2c_client *client) argument
639 mt9t112_auto_focus_setting(const struct i2c_client *client) argument
661 mt9t112_auto_focus_trigger(const struct i2c_client *client) argument
670 mt9t112_init_camera(const struct i2c_client *client) argument
724 struct i2c_client *client = v4l2_get_subdevdata(sd); local
738 struct i2c_client *client = v4l2_get_subdevdata(sd); local
776 struct i2c_client *client = v4l2_get_subdevdata(sd); local
796 struct i2c_client *client = v4l2_get_subdevdata(sd); local
878 struct i2c_client *client = v4l2_get_subdevdata(sd); local
903 struct i2c_client *client = v4l2_get_subdevdata(sd); local
919 struct i2c_client *client = v4l2_get_subdevdata(sd); local
937 struct i2c_client *client = v4l2_get_subdevdata(sd); local
959 struct i2c_client *client = v4l2_get_subdevdata(sd); local
993 struct i2c_client *client = v4l2_get_subdevdata(sd); local
1025 mt9t112_camera_probe(struct i2c_client *client) argument
1062 mt9t112_probe(struct i2c_client *client) argument
1103 mt9t112_remove(struct i2c_client *client) argument
[all...]
/linux-master/include/drm/
H A Ddrm_client.h23 * struct drm_client_funcs - DRM client callbacks
34 * Called when &drm_device is unregistered. The client should respond by
39 void (*unregister)(struct drm_client_dev *client);
44 * Called on drm_lastclose(). The first client instance in the list that
55 int (*restore)(struct drm_client_dev *client);
65 int (*hotplug)(struct drm_client_dev *client);
69 * struct drm_client_dev - DRM client instance
78 * @name: Name of the client.
91 * @funcs: DRM client functions (optional)
113 * Set by client hotplu
135 struct drm_client_dev *client; member in struct:drm_client_buffer
[all...]
/linux-master/drivers/infiniband/core/
H A Dsa.h40 static inline void ib_sa_client_get(struct ib_sa_client *client) argument
42 atomic_inc(&client->users);
45 static inline void ib_sa_client_put(struct ib_sa_client *client) argument
47 if (atomic_dec_and_test(&client->users))
48 complete(&client->comp);
51 int ib_sa_mcmember_rec_query(struct ib_sa_client *client,
/linux-master/drivers/mfd/
H A Dmenf21bmc.c26 static int menf21bmc_wdt_exit_prod_mode(struct i2c_client *client) argument
30 val = i2c_smbus_read_byte_data(client, BMC_CMD_WDT_PROD_STAT);
40 dev_info(&client->dev,
43 ret = i2c_smbus_write_byte(client, BMC_CMD_WDT_EXIT_PROD);
52 menf21bmc_probe(struct i2c_client *client) argument
57 ret = i2c_check_functionality(client->adapter,
64 rev_major = i2c_smbus_read_word_data(client, BMC_CMD_REV_MAJOR);
66 dev_err(&client->dev, "failed to get BMC major revision\n");
70 rev_minor = i2c_smbus_read_word_data(client, BMC_CMD_REV_MINOR);
72 dev_err(&client
[all...]
/linux-master/drivers/input/keyboard/
H A Dqt2160.c55 struct i2c_client *client; member in struct:qt2160_data
64 static int qt2160_read(struct i2c_client *client, u8 reg);
65 static int qt2160_write(struct i2c_client *client, u8 reg, u8 data);
74 struct i2c_client *client = qt2160->client; local
78 drive = qt2160_read(client, QT2160_CMD_DRIVE_X);
79 pwmen = qt2160_read(client, QT2160_CMD_PWMEN_X);
88 qt2160_write(client, QT2160_CMD_DRIVE_X, drive);
89 qt2160_write(client, QT2160_CMD_PWMEN_X, pwmen);
96 qt2160_write(client, QT2160_CMD_PWM_DUT
106 qt2160_read_block(struct i2c_client *client, u8 inireg, u8 *buffer, unsigned int count) argument
160 struct i2c_client *client = qt2160->client; local
204 qt2160_read(struct i2c_client *client, u8 reg) argument
225 qt2160_write(struct i2c_client *client, u8 reg, u8 data) argument
241 struct i2c_client *client = qt2160->client; local
277 qt2160_identify(struct i2c_client *client) argument
308 qt2160_probe(struct i2c_client *client) argument
[all...]
H A Dmax7359_keypad.c61 struct i2c_client *client; member in struct:max7359_keypad
64 static int max7359_write_reg(struct i2c_client *client, u8 reg, u8 val) argument
66 int ret = i2c_smbus_write_byte_data(client, reg, val);
69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n",
74 static int max7359_read_reg(struct i2c_client *client, int reg) argument
76 int ret = i2c_smbus_read_byte_data(client, reg);
79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n",
91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO);
98 dev_dbg(&keypad->client->dev,
113 static inline void max7359_fall_deepsleep(struct i2c_client *client) argument
122 max7359_take_catnap(struct i2c_client *client) argument
143 max7359_initialize(struct i2c_client *client) argument
158 max7359_probe(struct i2c_client *client) argument
247 struct i2c_client *client = to_i2c_client(dev); local
259 struct i2c_client *client = to_i2c_client(dev); local
[all...]
/linux-master/fs/smb/
H A DMakefile4 obj-$(CONFIG_CIFS) += client/
/linux-master/drivers/input/misc/
H A Dcma3000_d0x_i2c.c17 struct i2c_client *client = to_i2c_client(dev); local
20 ret = i2c_smbus_write_byte_data(client, reg, val);
22 dev_err(&client->dev,
29 struct i2c_client *client = to_i2c_client(dev); local
32 ret = i2c_smbus_read_byte_data(client, reg);
34 dev_err(&client->dev,
47 static int cma3000_i2c_probe(struct i2c_client *client) argument
51 data = cma3000_init(&client->dev, client->irq, &cma3000_i2c_bops);
55 i2c_set_clientdata(client, dat
60 cma3000_i2c_remove(struct i2c_client *client) argument
69 struct i2c_client *client = to_i2c_client(dev); local
79 struct i2c_client *client = to_i2c_client(dev); local
[all...]
/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...]

Completed in 316 milliseconds

1234567891011>>