Home
last modified time | relevance | path

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

/Linux-v4.19/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
1257 msg_hdr = (void *) skb->data; in i2400m_rx()
1258 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()
/Linux-v4.19/drivers/misc/sgi-xp/
Dxpc_uv.c421 struct xpc_activate_mq_msghdr_uv *msg_hdr, in xpc_handle_activate_mq_msg_uv() argument
429 part_uv->remote_act_state = msg_hdr->act_state; in xpc_handle_activate_mq_msg_uv()
431 switch (msg_hdr->type) { in xpc_handle_activate_mq_msg_uv()
444 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
452 part->remote_rp_ts_jiffies = msg_hdr->rp_ts_jiffies; in xpc_handle_activate_mq_msg_uv()
471 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
490 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
509 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
526 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
546 msg = container_of(msg_hdr, struct in xpc_handle_activate_mq_msg_uv()
[all …]
/Linux-v4.19/arch/um/drivers/
Dvector_kern.c328 mmsg_vector->msg_hdr.msg_iov in vector_enqueue()
332 mmsg_vector->msg_hdr.msg_iovlen = iov_count; in vector_enqueue()
333 mmsg_vector->msg_hdr.msg_name = vp->fds->remote_addr; in vector_enqueue()
334 mmsg_vector->msg_hdr.msg_namelen = vp->fds->remote_addr_size; in vector_enqueue()
477 iov = mmsg_vector->msg_hdr.msg_iov; in destroy_queue()
527 mmsg_vector->msg_hdr.msg_iov = NULL; in create_queue()
545 mmsg_vector->msg_hdr.msg_iov = iov; in create_queue()
546 mmsg_vector->msg_hdr.msg_iovlen = 1; in create_queue()
547 mmsg_vector->msg_hdr.msg_control = NULL; in create_queue()
548 mmsg_vector->msg_hdr.msg_controllen = 0; in create_queue()
[all …]
/Linux-v4.19/drivers/hid/intel-ish-hid/ishtp/
Dbus.c46 uint32_t msg_hdr; in ishtp_recv() local
50 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv()
51 if (!msg_hdr) in ishtp_recv()
56 ishtp_hdr = (struct ishtp_msg_hdr *)&msg_hdr; in ishtp_recv()
57 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv()
63 (unsigned int)ishtp_hdr->length, msg_hdr); in ishtp_recv()
Dhbm.c919 struct ish_system_states_header *msg_hdr = in recv_fixed_cl_msg() local
921 if (msg_hdr->cmd == SYSTEM_STATE_SUBSCRIBE) in recv_fixed_cl_msg()
926 msg_hdr->cmd); in recv_fixed_cl_msg()
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h47 (_cmd)->msg_hdr = (_msg_hdr); \
59 struct bfi_msgq_mhdr *msg_hdr; member
Dbfa_msgq.c217 src = (u8 *)cmd->msg_hdr; in __cmd_copy()
248 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update()
634 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/Linux-v4.19/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()
/Linux-v4.19/drivers/misc/mei/
Dinterrupt.c242 static inline int hdr_is_valid(u32 msg_hdr) in hdr_is_valid() argument
246 mei_hdr = (struct mei_msg_hdr *)&msg_hdr; in hdr_is_valid()
247 if (!msg_hdr || mei_hdr->reserved) in hdr_is_valid()
/Linux-v4.19/include/net/
Dcompat.h23 struct compat_msghdr msg_hdr; member
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h1122 #define netxen_get_nic_msgtype(msg_hdr) \ argument
1123 ((msg_hdr >> 58) & 0x3F)
1124 #define netxen_get_nic_msg_compid(msg_hdr) \ argument
1125 ((msg_hdr >> 40) & 0xFF)
1126 #define netxen_get_nic_msg_opcode(msg_hdr) \ argument
1127 ((msg_hdr >> 32) & 0xFF)
1128 #define netxen_get_nic_msg_errcode(msg_hdr) \ argument
1129 ((msg_hdr >> 16) & 0xFFFF)
/Linux-v4.19/tools/testing/selftests/net/
Dudpgso_bench_tx.c187 mmsgs[i].msg_hdr.msg_iov = iov + i; in send_udp_sendmmsg()
188 mmsgs[i].msg_hdr.msg_iovlen = 1; in send_udp_sendmmsg()
/Linux-v4.19/include/linux/
Dsocket.h70 struct user_msghdr msg_hdr; member
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h973 #define qlcnic_get_nic_msg_opcode(msg_hdr) \ argument
974 ((msg_hdr >> 32) & 0xFF)