Home
last modified time | relevance | path

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

/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()
/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 …]
/drivers/misc/iwmc3200top/
Dfw-msg.h65 struct msg_hdr { struct
89 struct msg_hdr hdr; argument
/drivers/staging/mei/
Dmei-amt-version.c378 struct amt_host_if_resp_header *msg_hdr; in amt_host_if_call() local
385 msg_hdr = (struct amt_host_if_resp_header *)*read_buf; in amt_host_if_call()
396 status = msg_hdr->status; in amt_host_if_call()
401 &msg_hdr->header, out_buf_sz); in amt_host_if_call()
/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h46 (_cmd)->msg_hdr = (_msg_hdr); \
58 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()
635 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h1118 #define netxen_get_nic_msgtype(msg_hdr) \ argument
1119 ((msg_hdr >> 58) & 0x3F)
1120 #define netxen_get_nic_msg_compid(msg_hdr) \ argument
1121 ((msg_hdr >> 40) & 0xFF)
1122 #define netxen_get_nic_msg_opcode(msg_hdr) \ argument
1123 ((msg_hdr >> 32) & 0xFF)
1124 #define netxen_get_nic_msg_errcode(msg_hdr) \ argument
1125 ((msg_hdr >> 16) & 0xFFFF)
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h870 #define qlcnic_get_nic_msg_opcode(msg_hdr) \ argument
871 ((msg_hdr >> 32) & 0xFF)