Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Drx.c1144 const struct i2400m_msg_hdr *msg_hdr, in i2400m_rx_msg_hdr_check() argument
1149 if (buf_size < sizeof(*msg_hdr)) { in i2400m_rx_msg_hdr_check()
1151 "vs %zu bytes expected)\n", buf_size, sizeof(*msg_hdr)); in i2400m_rx_msg_hdr_check()
1154 if (msg_hdr->barker != cpu_to_le32(I2400M_D2H_MSG_BARKER)) { in i2400m_rx_msg_hdr_check()
1157 le32_to_cpu(msg_hdr->barker), buf_size); in i2400m_rx_msg_hdr_check()
1160 if (msg_hdr->num_pls == 0) { in i2400m_rx_msg_hdr_check()
1164 if (le16_to_cpu(msg_hdr->num_pls) > I2400M_MAX_PLS_IN_MSG) { in i2400m_rx_msg_hdr_check()
1248 const struct i2400m_msg_hdr *msg_hdr; in i2400m_rx() local
1256 msg_hdr = (void *) skb->data; in i2400m_rx()
1257 result = i2400m_rx_msg_hdr_check(i2400m, msg_hdr, skb_len); in i2400m_rx()
[all …]
Dtx.c537 struct i2400m_msg_hdr *msg_hdr = i2400m->tx_msg; in i2400m_tx_fits() local
538 return le16_to_cpu(msg_hdr->num_pls) < I2400M_TX_PLD_MAX; in i2400m_tx_fits()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
Dcommon.h106 static inline void unpack_scmi_header(u32 msg_hdr, struct scmi_msg_hdr *hdr) in unpack_scmi_header() argument
108 hdr->id = MSG_XTRACT_ID(msg_hdr); in unpack_scmi_header()
109 hdr->protocol_id = MSG_XTRACT_PROT_ID(msg_hdr); in unpack_scmi_header()
250 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr);
Ddriver.c207 static void scmi_handle_notification(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_handle_notification() argument
224 unpack_scmi_header(msg_hdr, &xfer->hdr); in scmi_handle_notification()
304 void scmi_rx_callback(struct scmi_chan_info *cinfo, u32 msg_hdr) in scmi_rx_callback() argument
306 u16 xfer_id = MSG_XTRACT_TOKEN(msg_hdr); in scmi_rx_callback()
307 u8 msg_type = MSG_XTRACT_TYPE(msg_hdr); in scmi_rx_callback()
311 scmi_handle_notification(cinfo, msg_hdr); in scmi_rx_callback()
/kernel/linux/linux-5.10/drivers/visorbus/
Dvisorchipset.c283 struct controlvm_message_header *msg_hdr, in controlvm_init_response() argument
287 memcpy(&msg->hdr, msg_hdr, sizeof(struct controlvm_message_header)); in controlvm_init_response()
298 struct controlvm_message_header *msg_hdr, in controlvm_respond_chipset_init() argument
304 controlvm_init_response(&outmsg, msg_hdr, response); in controlvm_respond_chipset_init()
339 static int controlvm_respond(struct controlvm_message_header *msg_hdr, in controlvm_respond() argument
344 controlvm_init_response(&outmsg, msg_hdr, response); in controlvm_respond()
1112 static int chipset_ready_uevent(struct controlvm_message_header *msg_hdr) in chipset_ready_uevent() argument
1117 if (msg_hdr->flags.response_expected) in chipset_ready_uevent()
1118 controlvm_respond(msg_hdr, res, NULL); in chipset_ready_uevent()
1129 static int chipset_selftest_uevent(struct controlvm_message_header *msg_hdr) in chipset_selftest_uevent() argument
[all …]
/kernel/linux/linux-5.10/arch/um/drivers/
Dvector_kern.c357 mmsg_vector->msg_hdr.msg_iov in vector_enqueue()
361 mmsg_vector->msg_hdr.msg_iovlen = iov_count; in vector_enqueue()
362 mmsg_vector->msg_hdr.msg_name = vp->fds->remote_addr; in vector_enqueue()
363 mmsg_vector->msg_hdr.msg_namelen = vp->fds->remote_addr_size; in vector_enqueue()
507 iov = mmsg_vector->msg_hdr.msg_iov; in destroy_queue()
557 mmsg_vector->msg_hdr.msg_iov = NULL; in create_queue()
575 mmsg_vector->msg_hdr.msg_iov = iov; in create_queue()
576 mmsg_vector->msg_hdr.msg_iovlen = 1; in create_queue()
577 mmsg_vector->msg_hdr.msg_control = NULL; in create_queue()
578 mmsg_vector->msg_hdr.msg_controllen = 0; in create_queue()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h39 (_cmd)->msg_hdr = (_msg_hdr); \
51 struct bfi_msgq_mhdr *msg_hdr; member
Dbfa_msgq.c209 src = (u8 *)cmd->msg_hdr; in __cmd_copy()
240 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update()
626 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dudpgso_bench_tx.c340 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
341 mmsgs[i].msg_hdr.msg_iovlen = 1; in send_udp_sendmmsg()
343 mmsgs[i].msg_hdr.msg_name = (void *)&cfg_dst_addr; in send_udp_sendmmsg()
344 mmsgs[i].msg_hdr.msg_namelen = cfg_alen; in send_udp_sendmmsg()
346 mmsgs[i].msg_hdr.msg_control = control; in send_udp_sendmmsg()
347 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/samples/mei/
Dmei-amt-version.c376 struct amt_host_if_resp_header *msg_hdr; in amt_host_if_call() local
383 msg_hdr = (struct amt_host_if_resp_header *)*read_buf; in amt_host_if_call()
394 status = msg_hdr->status; in amt_host_if_call()
399 &msg_hdr->header, out_buf_sz); in amt_host_if_call()
/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/include/net/
Dcompat.h23 struct compat_msghdr msg_hdr; member
/kernel/linux/linux-5.10/drivers/misc/mei/
Dinterrupt.c298 static inline int hdr_is_valid(u32 msg_hdr) in hdr_is_valid() argument
303 mei_hdr = (struct mei_msg_hdr *)&msg_hdr; in hdr_is_valid()
304 if (!msg_hdr || mei_hdr->reserved) in hdr_is_valid()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h87 struct msghdr msg_hdr; member
/kernel/linux/linux-5.10/include/linux/
Dsocket.h82 struct user_msghdr msg_hdr; member
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/
Dsocket.h82 struct user_msghdr msg_hdr; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h970 #define qlcnic_get_nic_msg_opcode(msg_hdr) \ argument
971 ((msg_hdr >> 32) & 0xFF)