Lines Matching defs:hdr
912 struct qtnf_pearl_fw_hdr *hdr;
915 int hds = sizeof(*hdr);
927 hdr = (struct qtnf_pearl_fw_hdr *)skb->data;
928 memcpy(hdr->boardflg, QTN_PCIE_BOARDFLG, strlen(QTN_PCIE_BOARDFLG));
929 hdr->fwsize = cpu_to_le32(size);
930 hdr->seqnum = cpu_to_le32(blk);
933 hdr->type = cpu_to_le32(QTN_FW_DSUB);
935 hdr->type = cpu_to_le32(QTN_FW_DBEGIN);
942 hdr->type = cpu_to_le32(QTN_FW_DEND);
945 hdr->pktlen = cpu_to_le32(len);
947 hdr->crc = cpu_to_le32(~crc32(0, pdata, len));