Lines Matching refs:tx_msghdr
708 struct msgbuf_tx_msghdr *tx_msghdr; in brcmf_msgbuf_txflow() local
742 tx_msghdr = (struct msgbuf_tx_msghdr *)ret_ptr; in brcmf_msgbuf_txflow()
744 tx_msghdr->msg.msgtype = MSGBUF_TYPE_TX_POST; in brcmf_msgbuf_txflow()
745 tx_msghdr->msg.request_id = cpu_to_le32(pktid + 1); in brcmf_msgbuf_txflow()
746 tx_msghdr->msg.ifidx = brcmf_flowring_ifidx_get(flow, flowid); in brcmf_msgbuf_txflow()
747 tx_msghdr->flags = BRCMF_MSGBUF_PKT_FLAGS_FRAME_802_3; in brcmf_msgbuf_txflow()
748 tx_msghdr->flags |= (skb->priority & 0x07) << in brcmf_msgbuf_txflow()
750 tx_msghdr->seg_cnt = 1; in brcmf_msgbuf_txflow()
751 memcpy(tx_msghdr->txhdr, skb->data, ETH_HLEN); in brcmf_msgbuf_txflow()
752 tx_msghdr->data_len = cpu_to_le16(skb->len - ETH_HLEN); in brcmf_msgbuf_txflow()
754 tx_msghdr->data_buf_addr.high_addr = cpu_to_le32(address >> 32); in brcmf_msgbuf_txflow()
755 tx_msghdr->data_buf_addr.low_addr = in brcmf_msgbuf_txflow()
757 tx_msghdr->metadata_buf_len = 0; in brcmf_msgbuf_txflow()
758 tx_msghdr->metadata_buf_addr.high_addr = 0; in brcmf_msgbuf_txflow()
759 tx_msghdr->metadata_buf_addr.low_addr = 0; in brcmf_msgbuf_txflow()