| /kernel/linux/linux-4.19/drivers/media/i2c/cx25840/ |
| D | cx25840-core.c | 82 static void cx23888_std_setup(struct i2c_client *client); 84 int cx25840_write(struct i2c_client *client, u16 addr, u8 value) in cx25840_write() argument 90 return i2c_master_send(client, buffer, 3); in cx25840_write() 93 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value) in cx25840_write4() argument 102 return i2c_master_send(client, buffer, 6); in cx25840_write4() 105 u8 cx25840_read(struct i2c_client * client, u16 addr) in cx25840_read() argument 113 msgs[0].addr = client->addr; in cx25840_read() 119 msgs[1].addr = client->addr; in cx25840_read() 124 if (i2c_transfer(client->adapter, msgs, 2) < 2) in cx25840_read() 130 u32 cx25840_read4(struct i2c_client * client, u16 addr) in cx25840_read4() argument [all …]
|
| D | cx25840-audio.c | 40 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() argument 42 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq() 51 cx25840_write4(client, 0x108, 0x1006040f); in cx25840_set_audclk_freq() 66 cx25840_write4(client, 0x110, 0x01bb39ee); in cx25840_set_audclk_freq() 72 cx25840_write(client, 0x127, 0x50); in cx25840_set_audclk_freq() 79 cx25840_write4(client, 0x900, 0x0801f77f); in cx25840_set_audclk_freq() 80 cx25840_write4(client, 0x904, 0x0801f77f); in cx25840_set_audclk_freq() 81 cx25840_write4(client, 0x90c, 0x0801f77f); in cx25840_set_audclk_freq() 89 cx25840_write4(client, 0x108, 0x1009040f); in cx25840_set_audclk_freq() 103 cx25840_write4(client, 0x110, 0x00ec6bd6); in cx25840_set_audclk_freq() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
| D | cx25840-core.c | 74 static void cx23888_std_setup(struct i2c_client *client); 76 int cx25840_write(struct i2c_client *client, u16 addr, u8 value) in cx25840_write() argument 83 return i2c_master_send(client, buffer, 3); in cx25840_write() 86 int cx25840_write4(struct i2c_client *client, u16 addr, u32 value) in cx25840_write4() argument 96 return i2c_master_send(client, buffer, 6); in cx25840_write4() 99 u8 cx25840_read(struct i2c_client *client, u16 addr) in cx25840_read() argument 107 msgs[0].addr = client->addr; in cx25840_read() 113 msgs[1].addr = client->addr; in cx25840_read() 118 if (i2c_transfer(client->adapter, msgs, 2) < 2) in cx25840_read() 124 u32 cx25840_read4(struct i2c_client *client, u16 addr) in cx25840_read4() argument [all …]
|
| D | cx25840-audio.c | 31 static int cx25840_set_audclk_freq(struct i2c_client *client, u32 freq) in cx25840_set_audclk_freq() argument 33 struct cx25840_state *state = to_state(i2c_get_clientdata(client)); in cx25840_set_audclk_freq() 42 cx25840_write4(client, 0x108, 0x1006040f); in cx25840_set_audclk_freq() 57 cx25840_write4(client, 0x110, 0x01bb39ee); in cx25840_set_audclk_freq() 63 cx25840_write(client, 0x127, 0x50); in cx25840_set_audclk_freq() 70 cx25840_write4(client, 0x900, 0x0801f77f); in cx25840_set_audclk_freq() 71 cx25840_write4(client, 0x904, 0x0801f77f); in cx25840_set_audclk_freq() 72 cx25840_write4(client, 0x90c, 0x0801f77f); in cx25840_set_audclk_freq() 80 cx25840_write4(client, 0x108, 0x1009040f); in cx25840_set_audclk_freq() 94 cx25840_write4(client, 0x110, 0x00ec6bd6); in cx25840_set_audclk_freq() [all …]
|
| /kernel/linux/linux-5.10/drivers/firewire/ |
| D | core-cdev.c | 46 struct client { struct 71 static inline void client_get(struct client *client) in client_get() argument 73 kref_get(&client->kref); in client_get() 78 struct client *client = container_of(kref, struct client, kref); in client_release() local 80 fw_device_put(client->device); in client_release() 81 kfree(client); in client_release() 84 static void client_put(struct client *client) in client_put() argument 86 kref_put(&client->kref, client_release); in client_put() 90 typedef void (*client_resource_release_fn_t)(struct client *, 101 struct client *client; member [all …]
|
| /kernel/linux/linux-4.19/drivers/firewire/ |
| D | core-cdev.c | 59 struct client { struct 84 static inline void client_get(struct client *client) in client_get() argument 86 kref_get(&client->kref); in client_get() 91 struct client *client = container_of(kref, struct client, kref); in client_release() local 93 fw_device_put(client->device); in client_release() 94 kfree(client); in client_release() 97 static void client_put(struct client *client) in client_put() argument 99 kref_put(&client->kref, client_release); in client_put() 103 typedef void (*client_resource_release_fn_t)(struct client *, 114 struct client *client; member [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_client.c | 34 static int drm_client_open(struct drm_client_dev *client) in drm_client_open() argument 36 struct drm_device *dev = client->dev; in drm_client_open() 47 client->file = file; in drm_client_open() 52 static void drm_client_close(struct drm_client_dev *client) in drm_client_close() argument 54 struct drm_device *dev = client->dev; in drm_client_close() 57 list_del(&client->file->lhead); in drm_client_close() 60 drm_file_free(client->file); in drm_client_close() 64 * drm_client_init - Initialise a DRM client 66 * @client: DRM client 67 * @name: Client name [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/ |
| D | drm_client.c | 35 static int drm_client_open(struct drm_client_dev *client) in drm_client_open() argument 37 struct drm_device *dev = client->dev; in drm_client_open() 48 client->file = file; in drm_client_open() 53 static void drm_client_close(struct drm_client_dev *client) in drm_client_close() argument 55 struct drm_device *dev = client->dev; in drm_client_close() 58 list_del(&client->file->lhead); in drm_client_close() 61 drm_file_free(client->file); in drm_client_close() 66 * drm_client_init - Initialise a DRM client 68 * @client: DRM client 69 * @name: Client name [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40evf/ |
| D | i40evf_client.c | 18 struct i40e_client *client, 22 struct i40e_client *client, 31 * i40evf_client_get_params - retrieve relevant client parameters 33 * @params: client param struct 51 * i40evf_notify_client_message - call the client message receive callback 52 * @vsi: the VSI associated with this client 56 * If there is a client to this VSI, call the client 66 if (!cinst || !cinst->client || !cinst->client->ops || in i40evf_notify_client_message() 67 !cinst->client->ops->virtchnl_receive) { in i40evf_notify_client_message() 69 "Cannot locate client instance virtchnl_receive function\n"); in i40evf_notify_client_message() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
| D | iavf_client.c | 18 struct iavf_client *client, 22 struct iavf_client *client, 31 * iavf_client_get_params - retrieve relevant client parameters 33 * @params: client param struct 51 * iavf_notify_client_message - call the client message receive callback 52 * @vsi: the VSI associated with this client 56 * If there is a client to this VSI, call the client 66 if (!cinst || !cinst->client || !cinst->client->ops || in iavf_notify_client_message() 67 !cinst->client->ops->virtchnl_receive) { in iavf_notify_client_message() 69 "Cannot locate client instance virtchnl_receive function\n"); in iavf_notify_client_message() [all …]
|
| /kernel/linux/linux-5.10/sound/core/seq/ |
| D | seq_clientmgr.c | 3 * ALSA sequencer Client Manager 28 /* Client Manager 35 * There are four ranges of client numbers (last two shared): 37 * 16..127: statically allocated client numbers for cards 0..27 38 * 128..191: dynamically allocated client numbers for cards 28..31 39 * 128..191: dynamically allocated client numbers for applications 46 /* dynamically allocated client numbers (both kernel drivers and user space) */ 57 * client table 66 static int bounce_error_event(struct snd_seq_client *client, 69 static int snd_seq_deliver_single_event(struct snd_seq_client *client, [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/media/imx074/ |
| D | imx074.c | 88 static struct imx074 *to_imx074(const struct i2c_client *client) in to_imx074() argument 90 return container_of(i2c_get_clientdata(client), struct imx074, subdev); in to_imx074() 105 static int reg_write(struct i2c_client *client, const u16 addr, const u8 data) in reg_write() argument 107 struct i2c_adapter *adap = client->adapter; in reg_write() 112 msg.addr = client->addr; in reg_write() 128 static int reg_read(struct i2c_client *client, const u16 addr) in reg_read() argument 134 .addr = client->addr, in reg_read() 139 .addr = client->addr, in reg_read() 146 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in reg_read() 148 dev_warn(&client->dev, "Reading register %x from %x failed\n", in reg_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
| D | client.c | 24 #include <core/client.h> 41 struct nvkm_client *client; in nvkm_uclient_new() local 47 NULL, oclass->client->ntfy, &client); in nvkm_uclient_new() 53 client->object.client = oclass->client; in nvkm_uclient_new() 54 client->object.handle = oclass->handle; in nvkm_uclient_new() 55 client->object.route = oclass->route; in nvkm_uclient_new() 56 client->object.token = oclass->token; in nvkm_uclient_new() 57 client->object.object = oclass->object; in nvkm_uclient_new() 58 client->debug = oclass->client->debug; in nvkm_uclient_new() 59 *pobject = &client->object; in nvkm_uclient_new() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/core/ |
| D | client.c | 24 #include <core/client.h> 41 struct nvkm_client *client; in nvkm_uclient_new() local 47 NULL, oclass->client->ntfy, &client); in nvkm_uclient_new() 53 client->object.client = oclass->client; in nvkm_uclient_new() 54 client->object.handle = oclass->handle; in nvkm_uclient_new() 55 client->object.route = oclass->route; in nvkm_uclient_new() 56 client->object.token = oclass->token; in nvkm_uclient_new() 57 client->object.object = oclass->object; in nvkm_uclient_new() 58 client->debug = oclass->client->debug; in nvkm_uclient_new() 59 *pobject = &client->object; in nvkm_uclient_new() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| D | isl29003.c | 50 struct i2c_client *client; member 64 static int __isl29003_read_reg(struct i2c_client *client, in __isl29003_read_reg() argument 67 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_read_reg() 72 static int __isl29003_write_reg(struct i2c_client *client, in __isl29003_write_reg() argument 75 struct isl29003_data *data = i2c_get_clientdata(client); in __isl29003_write_reg() 88 ret = i2c_smbus_write_byte_data(client, reg, tmp); in __isl29003_write_reg() 101 static int isl29003_get_range(struct i2c_client *client) in isl29003_get_range() argument 103 return __isl29003_read_reg(client, ISL29003_REG_CONTROL, in isl29003_get_range() 107 static int isl29003_set_range(struct i2c_client *client, int range) in isl29003_set_range() argument 109 return __isl29003_write_reg(client, ISL29003_REG_CONTROL, in isl29003_set_range() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tpm2/ |
| D | tpm2_tests.py | 15 self.client = tpm2.Client() 16 self.root_key = self.client.create_root_key() 19 self.client.flush_context(self.root_key) 20 self.client.close() 26 blob = self.client.seal(self.root_key, data, auth, None) 27 result = self.client.unseal(self.root_key, blob, auth, None) 31 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL) 38 self.client.policy_pcr(handle, pcrs) 39 self.client.policy_password(handle) 41 policy_dig = self.client.get_policy_digest(handle) [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/intel/i40e/ |
| D | i40e_client.c | 17 struct i40e_client *client, 21 struct i40e_client *client, 25 struct i40e_client *client, 29 struct i40e_client *client, 43 * @params: client param struct 75 * i40e_notify_client_of_vf_msg - call the client vf message callback 81 * If there is a client to this VSI, call the client 89 if (!cdev || !cdev->client) in i40e_notify_client_of_vf_msg() 91 if (!cdev->client->ops || !cdev->client->ops->virtchnl_receive) { in i40e_notify_client_of_vf_msg() 93 "Cannot locate client instance virtual channel receive routine\n"); in i40e_notify_client_of_vf_msg() [all …]
|
| /kernel/linux/linux-4.19/sound/core/seq/ |
| D | seq_clientmgr.c | 2 * ALSA sequencer Client Manager 43 /* Client Manager 50 * There are four ranges of client numbers (last two shared): 52 * 16..127: statically allocated client numbers for cards 0..27 53 * 128..191: dynamically allocated client numbers for cards 28..31 54 * 128..191: dynamically allocated client numbers for applications 61 /* dynamically allocated client numbers (both kernel drivers and user space) */ 72 * client table 81 static int bounce_error_event(struct snd_seq_client *client, 84 static int snd_seq_deliver_single_event(struct snd_seq_client *client, [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/soc_camera/ |
| D | mt9t112.c | 56 #define mt9t112_reg_write(ret, client, a, b) \ argument 57 ECHECKER(ret, __mt9t112_reg_write(client, a, b)) 58 #define mt9t112_mcu_write(ret, client, a, b) \ argument 59 ECHECKER(ret, __mt9t112_mcu_write(client, a, b)) 61 #define mt9t112_reg_mask_set(ret, client, a, b, c) \ argument 62 ECHECKER(ret, __mt9t112_reg_mask_set(client, a, b, c)) 63 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \ argument 64 ECHECKER(ret, __mt9t112_mcu_mask_set(client, a, b, c)) 66 #define mt9t112_reg_read(ret, client, a) \ argument 67 ECHECKER(ret, __mt9t112_reg_read(client, a)) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_client.c | 17 struct i40e_client *client, 21 struct i40e_client *client, 25 struct i40e_client *client, 29 struct i40e_client *client, 43 * @params: client param struct 75 * i40e_notify_client_of_vf_msg - call the client vf message callback 81 * If there is a client to this VSI, call the client 89 if (!cdev || !cdev->client) in i40e_notify_client_of_vf_msg() 91 if (!cdev->client->ops || !cdev->client->ops->virtchnl_receive) { in i40e_notify_client_of_vf_msg() 93 "Cannot locate client instance virtual channel receive routine\n"); in i40e_notify_client_of_vf_msg() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | elan_i2c_i2c.c | 74 static int elan_i2c_read_block(struct i2c_client *client, in elan_i2c_read_block() argument 82 .addr = client->addr, in elan_i2c_read_block() 83 .flags = client->flags & I2C_M_TEN, in elan_i2c_read_block() 88 .addr = client->addr, in elan_i2c_read_block() 89 .flags = (client->flags & I2C_M_TEN) | I2C_M_RD, in elan_i2c_read_block() 96 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in elan_i2c_read_block() 100 static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val) in elan_i2c_read_cmd() argument 104 retval = elan_i2c_read_block(client, reg, val, ETP_I2C_INF_LENGTH); in elan_i2c_read_cmd() 106 dev_err(&client->dev, "reading cmd (0x%04x) fail.\n", reg); in elan_i2c_read_cmd() 113 static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd) in elan_i2c_write_cmd() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | mt9t112.c | 60 #define mt9t112_reg_write(ret, client, a, b) \ argument 61 ECHECKER(ret, __mt9t112_reg_write(client, a, b)) 62 #define mt9t112_mcu_write(ret, client, a, b) \ argument 63 ECHECKER(ret, __mt9t112_mcu_write(client, a, b)) 65 #define mt9t112_reg_mask_set(ret, client, a, b, c) \ argument 66 ECHECKER(ret, __mt9t112_reg_mask_set(client, a, b, c)) 67 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \ argument 68 ECHECKER(ret, __mt9t112_mcu_mask_set(client, a, b, c)) 70 #define mt9t112_reg_read(ret, client, a) \ argument 71 ECHECKER(ret, __mt9t112_reg_read(client, a)) [all …]
|
| /kernel/linux/linux-4.19/drivers/media/i2c/ |
| D | mt9t112.c | 60 #define mt9t112_reg_write(ret, client, a, b) \ argument 61 ECHECKER(ret, __mt9t112_reg_write(client, a, b)) 62 #define mt9t112_mcu_write(ret, client, a, b) \ argument 63 ECHECKER(ret, __mt9t112_mcu_write(client, a, b)) 65 #define mt9t112_reg_mask_set(ret, client, a, b, c) \ argument 66 ECHECKER(ret, __mt9t112_reg_mask_set(client, a, b, c)) 67 #define mt9t112_mcu_mask_set(ret, client, a, b, c) \ argument 68 ECHECKER(ret, __mt9t112_mcu_mask_set(client, a, b, c)) 70 #define mt9t112_reg_read(ret, client, a) \ argument 71 ECHECKER(ret, __mt9t112_reg_read(client, a)) [all …]
|
| /kernel/linux/linux-4.19/drivers/input/mouse/ |
| D | elan_i2c_i2c.c | 70 static int elan_i2c_read_block(struct i2c_client *client, in elan_i2c_read_block() argument 78 .addr = client->addr, in elan_i2c_read_block() 79 .flags = client->flags & I2C_M_TEN, in elan_i2c_read_block() 84 .addr = client->addr, in elan_i2c_read_block() 85 .flags = (client->flags & I2C_M_TEN) | I2C_M_RD, in elan_i2c_read_block() 92 ret = i2c_transfer(client->adapter, msgs, ARRAY_SIZE(msgs)); in elan_i2c_read_block() 96 static int elan_i2c_read_cmd(struct i2c_client *client, u16 reg, u8 *val) in elan_i2c_read_cmd() argument 100 retval = elan_i2c_read_block(client, reg, val, ETP_I2C_INF_LENGTH); in elan_i2c_read_cmd() 102 dev_err(&client->dev, "reading cmd (0x%04x) fail.\n", reg); in elan_i2c_read_cmd() 109 static int elan_i2c_write_cmd(struct i2c_client *client, u16 reg, u16 cmd) in elan_i2c_write_cmd() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/common/siano/ |
| D | smsdvb-main.c | 64 static void sms_board_dvb3_event(struct smsdvb_client_t *client, in sms_board_dvb3_event() argument 67 struct smscore_device_t *coredev = client->coredev; in sms_board_dvb3_event() 82 if (client->event_fe_state != DVB3_EVENT_FE_LOCK) { in sms_board_dvb3_event() 83 client->event_fe_state = DVB3_EVENT_FE_LOCK; in sms_board_dvb3_event() 89 if (client->event_fe_state != DVB3_EVENT_FE_UNLOCK) { in sms_board_dvb3_event() 90 client->event_fe_state = DVB3_EVENT_FE_UNLOCK; in sms_board_dvb3_event() 96 if (client->event_unc_state != DVB3_EVENT_UNC_OK) { in sms_board_dvb3_event() 97 client->event_unc_state = DVB3_EVENT_UNC_OK; in sms_board_dvb3_event() 103 if (client->event_unc_state != DVB3_EVENT_UNC_ERR) { in sms_board_dvb3_event() 104 client->event_unc_state = DVB3_EVENT_UNC_ERR; in sms_board_dvb3_event() [all …]
|