Home
last modified time | relevance | path

Searched refs:hdr_offset (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace.h49 size_t hdr_offset; in iwl_rx_trace_len() local
54 hdr_offset = sizeof(struct iwl_cmd_header) + in iwl_rx_trace_len()
58 *out_hdr_offset = hdr_offset; in iwl_rx_trace_len()
60 hdr = (void *)((u8 *)cmd + hdr_offset); in iwl_rx_trace_len()
Diwl-devtrace-iwlwifi.h59 __field(u8, hdr_offset)
64 size_t hdr_offset = 0;
69 iwl_rx_trace_len(trans, pkt, len, &hdr_offset));
70 __entry->hdr_offset = hdr_offset;
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvfw/
Dhs.h14 u32 hdr_offset; member
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dhs.c36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
/linux-6.1.9/tools/lib/bpf/
Dringbuf.c457 uintptr_t hdr_offset; in user_ringbuf_commit() local
459 hdr_offset = rb->mask + 1 + (sample - rb->data) - BPF_RINGBUF_HDR_SZ; in user_ringbuf_commit()
460 hdr = rb->data + (hdr_offset & rb->mask); in user_ringbuf_commit()
/linux-6.1.9/sound/soc/intel/skylake/
Dskl-sst-utils.c385 unsigned int hdr_offset, int index) in skl_prepare_lib_load() argument
401 ret = snd_skl_parse_uuids(dsp, linfo->fw, hdr_offset, index); in skl_prepare_lib_load()
Dskl-sst-dsp.h253 unsigned int hdr_offset, int index);
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgp102.c51 lhdr = nvfw_hs_load_header(subdev, blob->data + fw_hdr->hdr_offset); in gp102_fb_vpr_scrub()
/linux-6.1.9/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c578 size_t hdr_offset; in myri10ge_load_hotplug_firmware() local
599 hdr_offset = ntohl(*(__be32 *) (fw->data + MCP_HEADER_PTR_OFFSET)); in myri10ge_load_hotplug_firmware()
600 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > fw->size) { in myri10ge_load_hotplug_firmware()
605 hdr = (void *)(fw->data + hdr_offset); in myri10ge_load_hotplug_firmware()
648 size_t hdr_offset; in myri10ge_adopt_running_firmware() local
652 hdr_offset = swab32(readl(mgp->sram + MCP_HEADER_PTR_OFFSET)); in myri10ge_adopt_running_firmware()
654 if ((hdr_offset & 3) || hdr_offset + sizeof(*hdr) > mgp->sram_size) { in myri10ge_adopt_running_firmware()
656 (int)hdr_offset); in myri10ge_adopt_running_firmware()
666 memcpy_fromio(hdr, mgp->sram + hdr_offset, bytes); in myri10ge_adopt_running_firmware()
3743 unsigned hdr_offset, ss_offset; in myri10ge_probe() local
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dhsfw.c86 lhdr = nvfw_hs_load_header(subdev, fw->data + fwhdr->hdr_offset); in nvkm_acr_hsfw_load_image()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76_connac.h365 struct sk_buff *skb, u16 hdr_offset);
Dmt76_connac_mac.c882 struct sk_buff *skb, u16 hdr_offset) in mt76_connac2_reverse_frag0_hdr_trans() argument
885 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); in mt76_connac2_reverse_frag0_hdr_trans()
927 skb_pull(skb, hdr_offset + sizeof(struct ethhdr) - 2); in mt76_connac2_reverse_frag0_hdr_trans()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3335 field->hdr_offset = 9; /* offset */ in set_flowkey_fields()
3348 field->hdr_offset = 12; /* SIP offset */ in set_flowkey_fields()
3361 field->hdr_offset = 8; /* SIP offset */ in set_flowkey_fields()
3428 field->hdr_offset = 4; /* VSID offset */ in set_flowkey_fields()
3437 field->hdr_offset = 4; in set_flowkey_fields()
3470 field->hdr_offset = 0; in set_flowkey_fields()
3476 field->hdr_offset = 40; /* IPV6 hdr */ in set_flowkey_fields()
3483 field->hdr_offset = 4; in set_flowkey_fields()
3490 field->hdr_offset = 2; /* Skip TPID (2-bytes) */ in set_flowkey_fields()
3498 field->hdr_offset = 0; in set_flowkey_fields()
[all …]
Drvu_struct.h796 u64 hdr_offset :8; member
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1492 u8 hdr_offset; in brcmf_sdio_hdpack() local
1495 hdr_offset = SDPCM_HWHDR_LEN; in brcmf_sdio_hdpack()
1498 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack()
1499 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1501 *(((__le32 *)(header + hdr_offset)) + 1) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1502 hdr_offset += SDPCM_HWEXT_LEN; in brcmf_sdio_hdpack()
1510 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1511 *(((__le32 *)(header + hdr_offset)) + 1) = 0; in brcmf_sdio_hdpack()