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/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 …]
/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/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_nix.c3366 field->hdr_offset = 9; /* offset */ in set_flowkey_fields()
3379 field->hdr_offset = 12; /* SIP offset */ in set_flowkey_fields()
3392 field->hdr_offset = 8; /* SIP offset */ in set_flowkey_fields()
3459 field->hdr_offset = 4; /* VSID offset */ in set_flowkey_fields()
3468 field->hdr_offset = 4; in set_flowkey_fields()
3501 field->hdr_offset = 0; in set_flowkey_fields()
3507 field->hdr_offset = 40; /* IPV6 hdr */ in set_flowkey_fields()
3514 field->hdr_offset = 4; in set_flowkey_fields()
3521 field->hdr_offset = 2; /* Skip TPID (2-bytes) */ in set_flowkey_fields()
3529 field->hdr_offset = 0; in set_flowkey_fields()
[all …]
Drvu_struct.h778 u64 hdr_offset :8; member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1489 u8 hdr_offset; in brcmf_sdio_hdpack() local
1492 hdr_offset = SDPCM_HWHDR_LEN; in brcmf_sdio_hdpack()
1495 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack()
1496 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1498 *(((__le32 *)(header + hdr_offset)) + 1) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1499 hdr_offset += SDPCM_HWEXT_LEN; in brcmf_sdio_hdpack()
1507 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1508 *(((__le32 *)(header + hdr_offset)) + 1) = 0; in brcmf_sdio_hdpack()