Home
last modified time | relevance | path

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

/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace.h54 size_t hdr_offset; in iwl_rx_trace_len() local
59 hdr_offset = sizeof(struct iwl_cmd_header) + in iwl_rx_trace_len()
63 *out_hdr_offset = hdr_offset; in iwl_rx_trace_len()
65 hdr = (void *)((u8 *)cmd + hdr_offset); in iwl_rx_trace_len()
Diwl-devtrace-iwlwifi.h64 __field(u8, hdr_offset)
69 size_t hdr_offset = 0;
74 iwl_rx_trace_len(trans, pkt, len, &hdr_offset));
75 __entry->hdr_offset = hdr_offset;
/drivers/gpu/drm/nouveau/include/nvfw/
Dhs.h14 u32 hdr_offset; member
/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dhs.c36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
/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()
/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()
3737 unsigned hdr_offset, ss_offset; in myri10ge_probe() local
[all …]
/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()
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_struct.h895 u64 hdr_offset :8; member
903 u64 hdr_offset :8;
Drvu_nix.c2393 field->hdr_offset = 12; /* SIP offset */ in set_flowkey_fields()
2406 field->hdr_offset = 8; /* SIP offset */ in set_flowkey_fields()
2467 field->hdr_offset = 4; /* VSID offset */ in set_flowkey_fields()
2476 field->hdr_offset = 4; in set_flowkey_fields()
2509 field->hdr_offset = 0; in set_flowkey_fields()
2515 field->hdr_offset = 40; /* IPV6 hdr */ in set_flowkey_fields()
2522 field->hdr_offset = 4; in set_flowkey_fields()
2529 field->hdr_offset = 2; /* Skip TPID (2-bytes) */ in set_flowkey_fields()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1479 u8 hdr_offset; in brcmf_sdio_hdpack() local
1482 hdr_offset = SDPCM_HWHDR_LEN; in brcmf_sdio_hdpack()
1485 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack()
1486 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1488 *(((__le32 *)(header + hdr_offset)) + 1) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1489 hdr_offset += SDPCM_HWEXT_LEN; in brcmf_sdio_hdpack()
1497 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1498 *(((__le32 *)(header + hdr_offset)) + 1) = 0; in brcmf_sdio_hdpack()