Lines Matching refs:msg_type
99 u32 xid = 0, msg_len, request_id, msg_type, rsp, in rndis_command() local
106 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
109 if (likely(msg_type != RNDIS_MSG_HALT && msg_type != RNDIS_MSG_RESET)) { in rndis_command()
140 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; in rndis_command()
151 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
155 if (likely(msg_type == rsp)) { in rndis_command()
171 } else switch (msg_type) { in rndis_command()
178 msg->msg_type = cpu_to_le32(RNDIS_MSG_KEEPALIVE_C); in rndis_command()
197 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
243 u.get->msg_type = cpu_to_le32(RNDIS_MSG_QUERY); in rndis_query()
318 u.init->msg_type = cpu_to_le32(RNDIS_MSG_INIT); in generic_rndis_bind()
426 u.set->msg_type = cpu_to_le32(RNDIS_MSG_SET); in generic_rndis_bind()
446 u.halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in generic_rndis_bind()
481 halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT); in rndis_unbind()
508 u32 msg_type, msg_len, data_offset, data_len; in rndis_rx_fixup() local
510 msg_type = le32_to_cpu(hdr->msg_type); in rndis_rx_fixup()
516 if (unlikely(msg_type != RNDIS_MSG_PACKET || skb->len < msg_len in rndis_rx_fixup()
520 le32_to_cpu(hdr->msg_type), in rndis_rx_fixup()
590 hdr->msg_type = cpu_to_le32(RNDIS_MSG_PACKET); in rndis_tx_fixup()