Home
last modified time | relevance | path

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

/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;
/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c170 int hdr_size, hdr_offset; in mtk_plane_update_new_state() local
177 hdr_offset = hdr_pitch * y_offset_in_blocks + in mtk_plane_update_new_state()
185 hdr_addr = addr + hdr_offset; in mtk_plane_update_new_state()
/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/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3591 field->hdr_offset = 9; /* offset */ in set_flowkey_fields()
3604 field->hdr_offset = 12; /* SIP offset */ in set_flowkey_fields()
3617 field->hdr_offset = 16; /* DIP off */ in set_flowkey_fields()
3632 field->hdr_offset = 8; /* SIP offset */ in set_flowkey_fields()
3646 field->hdr_offset = 24; /* DIP off */ in set_flowkey_fields()
3675 field->hdr_offset = 2; /* DST off */ in set_flowkey_fields()
3730 field->hdr_offset = 4; /* VSID offset */ in set_flowkey_fields()
3739 field->hdr_offset = 4; in set_flowkey_fields()
3772 field->hdr_offset = 0; in set_flowkey_fields()
3778 field->hdr_offset = 40; /* IPV6 hdr */ in set_flowkey_fields()
[all …]
Drvu_npc_hash.c223 u8 intf, ld, hdr_offset, byte_len; in npc_program_mkex_hash() local
252 hdr_offset = FIELD_GET(NPC_HDR_OFFSET, cfg); in npc_program_mkex_hash()
263 if ((hdr_offset == 8 || hdr_offset == 24) && byte_len == 3) in npc_program_mkex_hash()
Drvu_struct.h796 u64 hdr_offset :8; member
/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c923 struct sk_buff *skb, u16 hdr_offset) in mt76_connac2_reverse_frag0_hdr_trans() argument
926 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); in mt76_connac2_reverse_frag0_hdr_trans()
968 skb_pull(skb, hdr_offset + sizeof(struct ethhdr) - 2); in mt76_connac2_reverse_frag0_hdr_trans()
Dmt76_connac.h417 struct sk_buff *skb, u16 hdr_offset);
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1490 u8 hdr_offset; in brcmf_sdio_hdpack() local
1493 hdr_offset = SDPCM_HWHDR_LEN; in brcmf_sdio_hdpack()
1496 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); in brcmf_sdio_hdpack()
1497 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1499 *(((__le32 *)(header + hdr_offset)) + 1) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1500 hdr_offset += SDPCM_HWEXT_LEN; in brcmf_sdio_hdpack()
1508 *((__le32 *)(header + hdr_offset)) = cpu_to_le32(hdrval); in brcmf_sdio_hdpack()
1509 *(((__le32 *)(header + hdr_offset)) + 1) = 0; in brcmf_sdio_hdpack()
/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c261 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); in nvkm_falcon_fw_ctor_hs()