/kernel/linux/linux-5.10/drivers/platform/chrome/ |
H A D | cros_ec_ishtp.c | 157 * @in_msg: Message buffer where the incoming data is copied. This buffer 161 * Return: Number of bytes copied in the in_msg on success, negative 166 u8 *in_msg, size_t in_size) in ish_send() 178 client_data->response.data = in_msg; in ish_send() 225 struct cros_ish_in_msg *in_msg = in process_recv() local 255 in_msg->hdr.channel, in_msg->hdr.status); in process_recv() 257 switch (in_msg->hdr.channel) { in process_recv() 265 if (client_data->response.token != in_msg->hdr.token) { in process_recv() 268 in_msg in process_recv() 164 ish_send(struct ishtp_cl_data *client_data, u8 *out_msg, size_t out_size, u8 *in_msg, size_t in_size) ish_send() argument 450 prepare_cros_ec_rx(struct cros_ec_device *ec_dev, const struct cros_ish_in_msg *in_msg, struct cros_ec_command *msg) prepare_cros_ec_rx() argument 492 struct cros_ish_in_msg *in_msg = (struct cros_ish_in_msg *)ec_dev->din; cros_ec_pkt_xfer_ish() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_ishtp.c | 156 * @in_msg: Message buffer where the incoming data is copied. This buffer 160 * Return: Number of bytes copied in the in_msg on success, negative 165 u8 *in_msg, size_t in_size) in ish_send() 177 client_data->response.data = in_msg; in ish_send() 224 struct cros_ish_in_msg *in_msg = in process_recv() local 254 in_msg->hdr.channel, in_msg->hdr.status); in process_recv() 256 switch (in_msg->hdr.channel) { in process_recv() 264 if (client_data->response.token != in_msg->hdr.token) { in process_recv() 267 in_msg in process_recv() 163 ish_send(struct ishtp_cl_data *client_data, u8 *out_msg, size_t out_size, u8 *in_msg, size_t in_size) ish_send() argument 449 prepare_cros_ec_rx(struct cros_ec_device *ec_dev, const struct cros_ish_in_msg *in_msg, struct cros_ec_command *msg) prepare_cros_ec_rx() argument 491 struct cros_ish_in_msg *in_msg = (struct cros_ish_in_msg *)ec_dev->din; cros_ec_pkt_xfer_ish() local [all...] |
/kernel/linux/linux-5.10/drivers/hv/ |
H A D | hv_kvp.c | 261 static int process_ob_ipinfo(void *in_msg, void *out_msg, int op) in process_ob_ipinfo() argument 263 struct hv_kvp_msg *in = in_msg; in process_ob_ipinfo() 321 static void process_ib_ipinfo(void *in_msg, void *out_msg, int op) in process_ib_ipinfo() argument 323 struct hv_kvp_ip_msg *in = in_msg; in process_ib_ipinfo() 377 struct hv_kvp_msg *in_msg; in kvp_send_key() local 394 in_msg = kvp_transaction.kvp_msg; in kvp_send_key() 409 process_ib_ipinfo(in_msg, message, KVP_OP_SET_IP_INFO); in kvp_send_key() 416 process_ib_ipinfo(in_msg, message, KVP_OP_GET_IP_INFO); in kvp_send_key() 419 switch (in_msg->body.kvp_set.data.value_type) { in kvp_send_key() 426 (wchar_t *)in_msg in kvp_send_key() [all...] |
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | hv_kvp.c | 261 static int process_ob_ipinfo(void *in_msg, void *out_msg, int op) in process_ob_ipinfo() argument 263 struct hv_kvp_msg *in = in_msg; in process_ob_ipinfo() 321 static void process_ib_ipinfo(void *in_msg, void *out_msg, int op) in process_ib_ipinfo() argument 323 struct hv_kvp_ip_msg *in = in_msg; in process_ib_ipinfo() 377 struct hv_kvp_msg *in_msg; in kvp_send_key() local 394 in_msg = kvp_transaction.kvp_msg; in kvp_send_key() 409 process_ib_ipinfo(in_msg, message, KVP_OP_SET_IP_INFO); in kvp_send_key() 416 process_ib_ipinfo(in_msg, message, KVP_OP_GET_IP_INFO); in kvp_send_key() 419 switch (in_msg->body.kvp_set.data.value_type) { in kvp_send_key() 426 (wchar_t *)in_msg in kvp_send_key() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 147 hdcp_cmd->in_msg.hdcp1_create_session.display_handle = display->index; in mod_hdcp_hdcp1_create_session() 180 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session() 212 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx() 214 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx() 217 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; in mod_hdcp_hdcp1_validate_rx() 218 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; in mod_hdcp_hdcp1_validate_rx() 254 hdcp_cmd->in_msg.hdcp1_enable_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_enable_encryption() 280 hdcp_cmd->in_msg.hdcp1_second_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_ksvlist_vp() 282 hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_size; in mod_hdcp_hdcp1_validate_ksvlist_vp() 283 memcpy(hdcp_cmd->in_msg in mod_hdcp_hdcp1_validate_ksvlist_vp() [all...] |
H A D | hdcp_psp.h | 480 union ta_hdcp_cmd_input in_msg; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_psp.c | 268 hdcp_cmd->in_msg.hdcp1_create_session.display_handle = display->index; in mod_hdcp_hdcp1_create_session() 301 hdcp_cmd->in_msg.hdcp1_destroy_session.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_destroy_session() 333 hdcp_cmd->in_msg.hdcp1_first_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_rx() 335 memcpy(hdcp_cmd->in_msg.hdcp1_first_part_authentication.bksv_primary, hdcp->auth.msg.hdcp1.bksv, in mod_hdcp_hdcp1_validate_rx() 338 hdcp_cmd->in_msg.hdcp1_first_part_authentication.r0_prime_primary = hdcp->auth.msg.hdcp1.r0p; in mod_hdcp_hdcp1_validate_rx() 339 hdcp_cmd->in_msg.hdcp1_first_part_authentication.bcaps = hdcp->auth.msg.hdcp1.bcaps; in mod_hdcp_hdcp1_validate_rx() 375 hdcp_cmd->in_msg.hdcp1_enable_encryption.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_enable_encryption() 401 hdcp_cmd->in_msg.hdcp1_second_part_authentication.session_handle = hdcp->auth.id; in mod_hdcp_hdcp1_validate_ksvlist_vp() 403 hdcp_cmd->in_msg.hdcp1_second_part_authentication.ksv_list_size = hdcp->auth.msg.hdcp1.ksvlist_size; in mod_hdcp_hdcp1_validate_ksvlist_vp() 404 memcpy(hdcp_cmd->in_msg in mod_hdcp_hdcp1_validate_ksvlist_vp() [all...] |
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 214 bool in_msg; in process_msg() member 222 if (!state.in_msg) { in process_msg() 223 state.in_msg = true; in process_msg() 232 * message. state.in_msg will be true as long as we are holding in process_msg() 240 state.in_msg = false; in process_msg() 318 state.in_msg = false; in process_msg() 324 state.in_msg = false; in process_msg()
|
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_comms.c | 214 bool in_msg; in process_msg() member 222 if (!state.in_msg) { in process_msg() 223 state.in_msg = true; in process_msg() 232 * message. state.in_msg will be true as long as we are holding in process_msg() 240 state.in_msg = false; in process_msg() 318 state.in_msg = false; in process_msg() 324 state.in_msg = false; in process_msg()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 384 u32 in_msg = 0; in e1000_check_for_link_vf() local 405 if (mbx->ops.read(hw, &in_msg, 1)) in e1000_check_for_link_vf() 409 if (!(in_msg & E1000_VT_MSGTYPE_CTS)) { in e1000_check_for_link_vf() 411 if (in_msg & E1000_VT_MSGTYPE_NACK) in e1000_check_for_link_vf()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igbvf/ |
H A D | vf.c | 384 u32 in_msg = 0; in e1000_check_for_link_vf() local 405 if (mbx->ops.read(hw, &in_msg, 1)) in e1000_check_for_link_vf() 409 if (!(in_msg & E1000_VT_MSGTYPE_CTS)) { in e1000_check_for_link_vf() 411 if (in_msg & E1000_VT_MSGTYPE_NACK) in e1000_check_for_link_vf()
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger.c | 513 if (con->in_msg) { in ceph_con_reset_protocol() 514 WARN_ON(con->in_msg->con != con); in ceph_con_reset_protocol() 515 ceph_msg_put(con->in_msg); in ceph_con_reset_protocol() 516 con->in_msg = NULL; in ceph_con_reset_protocol() 558 WARN_ON(con->in_msg); in ceph_con_reset_session() 1403 struct ceph_msg *msg = con->in_msg; in ceph_con_process_message() 1405 BUG_ON(con->in_msg->con != con); in ceph_con_process_message() 1406 con->in_msg = NULL; in ceph_con_process_message() 1820 if (con->in_msg == msg) { in ceph_msg_revoke_incoming() 1827 ceph_msg_put(con->in_msg); in ceph_msg_revoke_incoming() [all...] |
H A D | messenger_v1.c | 593 BUG_ON(con->in_msg != NULL); in prepare_read_message() 997 struct ceph_msg_data_cursor *cursor = &con->in_msg->cursor; in read_partial_sparse_msg_extent() 1032 struct ceph_msg_data_cursor *cursor = &con->in_msg->cursor; in read_partial_sparse_msg_data() 1069 struct ceph_msg_data_cursor *cursor = &con->in_msg->cursor; in read_partial_msg_data() 1106 struct ceph_msg_data_cursor *cursor = &con->in_msg->cursor; in read_partial_msg_data_bounce() 1149 struct ceph_msg *m = con->in_msg; in read_partial_message() 1204 if (!con->in_msg) { in read_partial_message() 1213 BUG_ON((!con->in_msg) ^ skip); in read_partial_message() 1224 BUG_ON(!con->in_msg); in read_partial_message() 1225 BUG_ON(con->in_msg in read_partial_message() [all...] |
H A D | messenger_v2.c | 661 if (front_len(con->in_msg)) { in verify_epilogue_crcs() 662 con->in_front_crc = crc32c(-1, con->in_msg->front.iov_base, in verify_epilogue_crcs() 663 front_len(con->in_msg)); in verify_epilogue_crcs() 665 WARN_ON(!middle_len(con->in_msg) && !data_len(con->in_msg)); in verify_epilogue_crcs() 669 if (middle_len(con->in_msg)) in verify_epilogue_crcs() 671 con->in_msg->middle->vec.iov_base, in verify_epilogue_crcs() 672 middle_len(con->in_msg)); in verify_epilogue_crcs() 673 else if (data_len(con->in_msg)) in verify_epilogue_crcs() 678 if (!data_len(con->in_msg)) in verify_epilogue_crcs() [all...] |
/kernel/linux/linux-5.10/net/ceph/ |
H A D | messenger.c | 643 if (con->in_msg) { in reset_connection() 644 BUG_ON(con->in_msg->con != con); in reset_connection() 645 ceph_msg_put(con->in_msg); in reset_connection() 646 con->in_msg = NULL; in reset_connection() 1685 BUG_ON(con->in_msg != NULL); in prepare_read_message() 2312 struct ceph_msg *msg = con->in_msg; in read_partial_msg_data() 2358 struct ceph_msg *m = con->in_msg; in read_partial_message() 2413 if (!con->in_msg) { in read_partial_message() 2422 BUG_ON(!con->in_msg ^ skip); in read_partial_message() 2433 BUG_ON(!con->in_msg); in read_partial_message() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 698 u32 in_msg = 0; in ixgbevf_check_mac_link_vf() local 742 if (mbx->ops.read(hw, &in_msg, 1)) in ixgbevf_check_mac_link_vf() 745 if (!(in_msg & IXGBE_VT_MSGTYPE_CTS)) { in ixgbevf_check_mac_link_vf() 747 if (in_msg & IXGBE_VT_MSGTYPE_NACK) in ixgbevf_check_mac_link_vf()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | vf.c | 709 u32 in_msg = 0; in ixgbevf_check_mac_link_vf() local 753 if (mbx->ops.read(hw, &in_msg, 1)) { in ixgbevf_check_mac_link_vf() 759 if (!(in_msg & IXGBE_VT_MSGTYPE_CTS)) { in ixgbevf_check_mac_link_vf() 761 if (in_msg & IXGBE_VT_MSGTYPE_FAILURE) in ixgbevf_check_mac_link_vf()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_pci.c | 304 void *in_msg, size_t in_size, in prestera_fw_cmd_send() 325 memcpy_toio(fw->cmd_mbox, in_msg, in_size); in prestera_fw_cmd_send() 353 void *in_msg, size_t in_size, void *out_msg, in prestera_fw_send_req() 362 ret = prestera_fw_cmd_send(fw, in_msg, in_size, out_msg, out_size, waitms); in prestera_fw_send_req() 303 prestera_fw_cmd_send(struct prestera_fw *fw, void *in_msg, size_t in_size, void *out_msg, size_t out_size, unsigned int waitms) prestera_fw_cmd_send() argument 352 prestera_fw_send_req(struct prestera_device *dev, void *in_msg, size_t in_size, void *out_msg, size_t out_size, unsigned int waitms) prestera_fw_send_req() argument
|
H A D | prestera.h | 98 int (*send_req)(struct prestera_device *dev, void *in_msg,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_pci.c | 382 void *in_msg, size_t in_size, in prestera_fw_cmd_send() 404 memcpy_toio(prestera_fw_cmdq_buf(fw, qid), in_msg, in_size); in prestera_fw_cmd_send() local 435 void *in_msg, size_t in_size, void *out_msg, in prestera_fw_send_req() 444 ret = prestera_fw_cmd_send(fw, qid, in_msg, in_size, out_msg, out_size, in prestera_fw_send_req() 381 prestera_fw_cmd_send(struct prestera_fw *fw, int qid, void *in_msg, size_t in_size, void *out_msg, size_t out_size, unsigned int waitms) prestera_fw_cmd_send() argument 434 prestera_fw_send_req(struct prestera_device *dev, int qid, void *in_msg, size_t in_size, void *out_msg, size_t out_size, unsigned int waitms) prestera_fw_send_req() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_hdcp.c | 116 memcpy(hdcp_cmd->in_msg.hdcp_set_srm.srm_buf, srm, srm_size); in psp_set_srm() 117 hdcp_cmd->in_msg.hdcp_set_srm.srm_buf_size = srm_size; in psp_set_srm()
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ |
H A D | ishtp-fw-loader.c | 271 * @in_msg Message buffer where the incoming data copied. 275 * Return: Number of bytes copied in the in_msg on success, negative 280 u8 *in_msg, size_t in_size) in loader_cl_send() 294 client_data->response.data = in_msg; in loader_cl_send() 278 loader_cl_send(struct ishtp_cl_data *client_data, u8 *out_msg, size_t out_size, u8 *in_msg, size_t in_size) loader_cl_send() argument
|
/kernel/linux/linux-6.6/drivers/hid/intel-ish-hid/ |
H A D | ishtp-fw-loader.c | 276 * @in_msg: Message buffer where the incoming data copied. 280 * Return: Number of bytes copied in the in_msg on success, negative 285 u8 *in_msg, size_t in_size) in loader_cl_send() 299 client_data->response.data = in_msg; in loader_cl_send() 283 loader_cl_send(struct ishtp_cl_data *client_data, u8 *out_msg, size_t out_size, u8 *in_msg, size_t in_size) loader_cl_send() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 1164 if (!dbg->in_msg || !dbg->out_msg) in dbg_write() 1178 err = mlx5_cmd_exec(dev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); in dbg_write() 1355 kfree(dbg->in_msg); in data_write() 1356 dbg->in_msg = NULL; in data_write() 1361 dbg->in_msg = ptr; in data_write()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 1255 if (!dbg->in_msg || !dbg->out_msg) in dbg_write() 1269 err = mlx5_cmd_exec(dev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); in dbg_write() 1446 kfree(dbg->in_msg); in data_write() 1447 dbg->in_msg = NULL; in data_write() 1452 dbg->in_msg = ptr; in data_write()
|