Home
last modified time | relevance | path

Searched refs:hdr_sz (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/ath/wil6210/
Dfw_inc.c604 size_t s, hdr_sz; in wil_fw_process() local
609 hdr_sz = le32_to_cpu(hdr->size); in wil_fw_process()
610 s = sizeof(*hdr) + hdr_sz; in wil_fw_process()
613 if (hdr_sz % 4) { in wil_fw_process()
615 hdr_sz); in wil_fw_process()
619 &hdr[1], hdr_sz, load); in wil_fw_process()
629 le16_to_cpu(hdr->type), hdr_sz); in wil_fw_process()
694 size_t s, hdr_sz = 0; in wil_brd_process() local
722 hdr_sz = le32_to_cpu(hdr->size); in wil_brd_process()
723 s = sizeof(*hdr) + hdr_sz; in wil_brd_process()
[all …]
/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_h264_if.c664 int hdr_sz; in h264_enc_encode() local
687 hdr_sz = bs_size_hdr; in h264_enc_encode()
688 hdr_sz_ext = (hdr_sz & (bs_alignment - 1)); in h264_enc_encode()
693 h264_encode_filler(inst, bs_buf->va + hdr_sz, in h264_enc_encode()
697 tmp_bs_buf.va = bs_buf->va + hdr_sz + filler_sz; in h264_enc_encode()
698 tmp_bs_buf.dma_addr = bs_buf->dma_addr + hdr_sz + filler_sz; in h264_enc_encode()
699 tmp_bs_buf.size = bs_buf->size - (hdr_sz + filler_sz); in h264_enc_encode()
706 result->bs_size = hdr_sz + filler_sz + bs_size_frm; in h264_enc_encode()
709 hdr_sz, filler_sz, bs_size_frm, in h264_enc_encode()
/drivers/virt/coco/sev-guest/
Dsev-guest.h49 u16 hdr_sz; member
Dsev-guest.c325 hdr->hdr_sz = sizeof(*hdr); in enc_payload()
/drivers/net/wireless/intel/iwlwifi/mei/
Dmain.c437 size_t hdr_sz; in iwl_mei_add_data_to_ring() local
474 hdr_sz = cb_tx ? sizeof(struct iwl_sap_cb_data) : in iwl_mei_add_data_to_ring()
476 tx_sz = skb->len + hdr_sz; in iwl_mei_add_data_to_ring()
493 if (skb_headroom(skb) < hdr_sz) { in iwl_mei_add_data_to_ring()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4242 int hdr_sz) in mvpp2_tso_put_hdr() argument
4250 mvpp2_txdesc_size_set(port, tx_desc, hdr_sz); in mvpp2_tso_put_hdr()
4306 int hdr_sz, i, len, descs = 0; in mvpp2_tx_tso() local
4315 hdr_sz = tso_start(skb, &tso); in mvpp2_tx_tso()
4317 len = skb->len - hdr_sz; in mvpp2_tx_tso()
4327 mvpp2_tso_put_hdr(skb, dev, txq, aggr_txq, txq_pcpu, hdr_sz); in mvpp2_tx_tso()
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1569 size_t hdr_sz = sizeof(struct npc_kpu_profile_fwdata), offset = 0; in npc_apply_custom_kpu() local
1577 if (rvu->kpu_fwdata_sz < hdr_sz) { in npc_apply_custom_kpu()
1631 if (rvu->kpu_fwdata_sz < hdr_sz + offset) { in npc_apply_custom_kpu()