Lines Matching refs:msg
95 struct brcmf_proto_bcdc_dcmd msg; member
113 struct brcmf_proto_bcdc_dcmd *msg = &bcdc->msg; in brcmf_proto_bcdc_msg() local
118 memset(msg, 0, sizeof(struct brcmf_proto_bcdc_dcmd)); in brcmf_proto_bcdc_msg()
120 msg->cmd = cpu_to_le32(cmd); in brcmf_proto_bcdc_msg()
121 msg->len = cpu_to_le32(len); in brcmf_proto_bcdc_msg()
127 msg->flags = cpu_to_le32(flags); in brcmf_proto_bcdc_msg()
132 len += sizeof(*msg); in brcmf_proto_bcdc_msg()
137 return brcmf_bus_txctl(drvr->bus_if, (unsigned char *)&bcdc->msg, len); in brcmf_proto_bcdc_msg()
148 ret = brcmf_bus_rxctl(drvr->bus_if, (unsigned char *)&bcdc->msg, in brcmf_proto_bcdc_cmplt()
152 } while (BCDC_DCMD_ID(le32_to_cpu(bcdc->msg.flags)) != id); in brcmf_proto_bcdc_cmplt()
162 struct brcmf_proto_bcdc_dcmd *msg = &bcdc->msg; in brcmf_proto_bcdc_query_dcmd() local
183 flags = le32_to_cpu(msg->flags); in brcmf_proto_bcdc_query_dcmd()
210 *fwerr = le32_to_cpu(msg->status); in brcmf_proto_bcdc_query_dcmd()
220 struct brcmf_proto_bcdc_dcmd *msg = &bcdc->msg; in brcmf_proto_bcdc_set_dcmd() local
235 flags = le32_to_cpu(msg->flags); in brcmf_proto_bcdc_set_dcmd()
250 *fwerr = le32_to_cpu(msg->status); in brcmf_proto_bcdc_set_dcmd()
452 if ((unsigned long)(&bcdc->msg + 1) != (unsigned long)bcdc->buf) { in brcmf_proto_bcdc_attach()