Home
last modified time | relevance | path

Searched refs:msg_hdr (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/misc/sgi-xp/
Dxpc_uv.c424 struct xpc_activate_mq_msghdr_uv *msg_hdr, in xpc_handle_activate_mq_msg_uv() argument
432 part_uv->remote_act_state = msg_hdr->act_state; in xpc_handle_activate_mq_msg_uv()
434 switch (msg_hdr->type) { in xpc_handle_activate_mq_msg_uv()
447 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
455 part->remote_rp_ts_jiffies = msg_hdr->rp_ts_jiffies; in xpc_handle_activate_mq_msg_uv()
474 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
493 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
512 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
529 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
549 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
[all …]
/linux-6.6.21/drivers/firmware/arm_scmi/
Dcommon.h117 static inline void unpack_scmi_header(u32 msg_hdr, struct scmi_msg_hdr *hdr) in unpack_scmi_header() argument
119 hdr->id = MSG_XTRACT_ID(msg_hdr); in unpack_scmi_header()
120 hdr->protocol_id = MSG_XTRACT_PROT_ID(msg_hdr); in unpack_scmi_header()
121 hdr->type = MSG_XTRACT_TYPE(msg_hdr); in unpack_scmi_header()
302 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr, void *priv);
Draw_mode.c530 u32 msg_hdr; in scmi_xfer_raw_get_init() local
551 msg_hdr = le32_to_cpu(*((__le32 *)buf)); in scmi_xfer_raw_get_init()
552 unpack_scmi_header(msg_hdr, &xfer->hdr); in scmi_xfer_raw_get_init()
553 xfer->hdr.seq = (u16)MSG_XTRACT_TOKEN(msg_hdr); in scmi_xfer_raw_get_init()
562 memcpy(xfer->tx.buf, (u8 *)buf + sizeof(msg_hdr), xfer->tx.len); in scmi_xfer_raw_get_init()
585 xfer->hdr.seq, msg_hdr); in scmi_xfer_raw_get_init()
1394 struct scmi_xfer *xfer, u32 msg_hdr) in scmi_xfer_raw_fill() argument
1397 unpack_scmi_header(msg_hdr, &xfer->hdr); in scmi_xfer_raw_fill()
1398 xfer->hdr.seq = MSG_XTRACT_TOKEN(msg_hdr); in scmi_xfer_raw_fill()
1424 u32 msg_hdr, void *priv) in scmi_raw_error_report() argument
[all …]
Draw_mode.h29 u32 msg_hdr, void *priv);
Ddriver.c798 scmi_xfer_command_acquire(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_xfer_command_acquire() argument
805 u8 msg_type = MSG_XTRACT_TYPE(msg_hdr); in scmi_xfer_command_acquire()
806 u16 xfer_id = MSG_XTRACT_TOKEN(msg_hdr); in scmi_xfer_command_acquire()
839 msg_type, xfer_id, msg_hdr, xfer->state); in scmi_xfer_command_acquire()
863 u32 msg_hdr, void *priv) in scmi_handle_notification() argument
880 unpack_scmi_header(msg_hdr, &xfer->hdr); in scmi_handle_notification()
899 xfer->hdr.seq = MSG_XTRACT_TOKEN(msg_hdr); in scmi_handle_notification()
910 u32 msg_hdr, void *priv) in scmi_handle_response() argument
915 xfer = scmi_xfer_command_acquire(cinfo, msg_hdr); in scmi_handle_response()
918 scmi_raw_error_report(info->raw, cinfo, msg_hdr, priv); in scmi_handle_response()
[all …]
/linux-6.6.21/arch/um/drivers/
Dvector_kern.c356 mmsg_vector->msg_hdr.msg_iov in vector_enqueue()
360 mmsg_vector->msg_hdr.msg_iovlen = iov_count; in vector_enqueue()
361 mmsg_vector->msg_hdr.msg_name = vp->fds->remote_addr; in vector_enqueue()
362 mmsg_vector->msg_hdr.msg_namelen = vp->fds->remote_addr_size; in vector_enqueue()
503 iov = mmsg_vector->msg_hdr.msg_iov; in destroy_queue()
553 mmsg_vector->msg_hdr.msg_iov = NULL; in create_queue()
571 mmsg_vector->msg_hdr.msg_iov = iov; in create_queue()
572 mmsg_vector->msg_hdr.msg_iovlen = 1; in create_queue()
573 mmsg_vector->msg_hdr.msg_control = NULL; in create_queue()
574 mmsg_vector->msg_hdr.msg_controllen = 0; in create_queue()
[all …]
/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
Dbus.c38 uint32_t msg_hdr; in ishtp_recv() local
42 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv()
43 if (!msg_hdr) in ishtp_recv()
48 ishtp_hdr = (struct ishtp_msg_hdr *)&msg_hdr; in ishtp_recv()
49 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv()
55 (unsigned int)ishtp_hdr->length, msg_hdr); in ishtp_recv()
Dhbm.c885 struct ish_system_states_header *msg_hdr = in recv_fixed_cl_msg() local
887 if (msg_hdr->cmd == SYSTEM_STATE_SUBSCRIBE) in recv_fixed_cl_msg()
892 msg_hdr->cmd); in recv_fixed_cl_msg()
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h39 (_cmd)->msg_hdr = (_msg_hdr); \
51 struct bfi_msgq_mhdr *msg_hdr; member
Dbfa_msgq.c208 src = (u8 *)cmd->msg_hdr; in __cmd_copy()
238 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update()
624 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/linux-6.6.21/tools/testing/selftests/net/
Dudpgso_bench_tx.c356 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
357 mmsgs[i].msg_hdr.msg_iovlen = 1; in send_udp_sendmmsg()
359 mmsgs[i].msg_hdr.msg_name = (void *)&cfg_dst_addr; in send_udp_sendmmsg()
360 mmsgs[i].msg_hdr.msg_namelen = cfg_alen; in send_udp_sendmmsg()
362 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg()
363 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg()
/linux-6.6.21/samples/mei/
Dmei-amt-version.c385 struct amt_host_if_resp_header *msg_hdr; in amt_host_if_call() local
392 msg_hdr = (struct amt_host_if_resp_header *)*read_buf; in amt_host_if_call()
403 status = msg_hdr->status; in amt_host_if_call()
408 &msg_hdr->header, out_buf_sz); in amt_host_if_call()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h1106 #define netxen_get_nic_msgtype(msg_hdr) \ argument
1107 ((msg_hdr >> 58) & 0x3F)
1108 #define netxen_get_nic_msg_compid(msg_hdr) \ argument
1109 ((msg_hdr >> 40) & 0xFF)
1110 #define netxen_get_nic_msg_opcode(msg_hdr) \ argument
1111 ((msg_hdr >> 32) & 0xFF)
1112 #define netxen_get_nic_msg_errcode(msg_hdr) \ argument
1113 ((msg_hdr >> 16) & 0xFFFF)
/linux-6.6.21/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_tx.h37 __le32 msg_hdr; member
Dt7xx_hif_dpmaif_tx.c203 drb->msg.msg_hdr = cpu_to_le32(FIELD_PREP(DRB_MSG_COUNT_L, count_l) | in t7xx_setup_msg_drb()
/linux-6.6.21/include/net/
Dcompat.h21 struct compat_msghdr msg_hdr; member
/linux-6.6.21/drivers/misc/mei/
Dinterrupt.c331 static inline int hdr_is_valid(u32 msg_hdr) in hdr_is_valid() argument
336 mei_hdr = (struct mei_msg_hdr *)&msg_hdr; in hdr_is_valid()
337 if (!msg_hdr || mei_hdr->reserved) in hdr_is_valid()
/linux-6.6.21/include/linux/
Dsocket.h94 struct user_msghdr msg_hdr; member
/linux-6.6.21/tools/perf/trace/beauty/include/linux/
Dsocket.h94 struct user_msghdr msg_hdr; member
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h970 #define qlcnic_get_nic_msg_opcode(msg_hdr) \ argument
971 ((msg_hdr >> 32) & 0xFF)