Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/
Diwl-devtrace.c29 size_t hdr_offset = 0, trace_len; in __trace_iwlwifi_dev_rx() local
31 trace_len = iwl_rx_trace_len(trans, pkt, len, &hdr_offset); in __trace_iwlwifi_dev_rx()
32 trace_iwlwifi_dev_rx(trans->dev, pkt, len, trace_len, hdr_offset); in __trace_iwlwifi_dev_rx()
Diwl-devtrace.h55 size_t hdr_offset; in iwl_rx_trace_len() local
60 hdr_offset = sizeof(struct iwl_cmd_header) + in iwl_rx_trace_len()
64 *out_hdr_offset = hdr_offset; in iwl_rx_trace_len()
66 hdr = (void *)((u8 *)cmd + hdr_offset); in iwl_rx_trace_len()
Diwl-devtrace-iwlwifi.h55 size_t hdr_offset),
56 TP_ARGS(dev, pkt, len, trace_len, hdr_offset),
60 __field(u8, hdr_offset)
67 __entry->hdr_offset = hdr_offset;
/linux-6.12.1/sound/soc/codecs/aw88395/
Daw88395_lib.c493 (struct aw_cfg_dde *)((char *)prof_hdr + prof_hdr->hdr_offset); in aw_dev_parse_dev_type()
530 (struct aw_cfg_dde *)((char *)prof_hdr + prof_hdr->hdr_offset); in aw_dev_parse_dev_default_type()
731 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dde_type_info()
761 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_dev_scene_count_v1()
788 (struct aw_cfg_dde_v1 *)(aw_cfg->data + cfg_hdr->hdr_offset); in aw_get_default_scene_count_v1()
879 (struct aw_cfg_dde_v1 *)((char *)prof_hdr + prof_hdr->hdr_offset); in aw_dev_parse_dev_type_v1()
909 (struct aw_cfg_dde_v1 *)((char *)prof_hdr + prof_hdr->hdr_offset); in aw_dev_parse_default_type_v1()
1041 hdr_ddt_len = cfg_hdr->hdr_offset + cfg_hdr->ddt_size; in aw_dev_check_cfg_by_hdr()
1044 cfg_hdr->hdr_offset, aw_cfg->len); in aw_dev_check_cfg_by_hdr()
1049 cfg_dde = (struct aw_cfg_dde *)((char *)aw_cfg->data + cfg_hdr->hdr_offset); in aw_dev_check_cfg_by_hdr()
[all …]
Daw88395_data_type.h83 u32 hdr_offset; member
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_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()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvfw/
Dhs.h14 u32 hdr_offset; member
/linux-6.12.1/tools/lib/bpf/
Dringbuf.c553 uintptr_t hdr_offset; in user_ringbuf_commit() local
555 hdr_offset = rb->mask + 1 + (sample - rb->data) - BPF_RINGBUF_HDR_SZ; in user_ringbuf_commit()
556 hdr = rb->data + (hdr_offset & rb->mask); in user_ringbuf_commit()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dhs.c36 nvkm_debug(subdev, "\thdrOffset : 0x%x\n", hdr->hdr_offset); in nvfw_hs_header()
/linux-6.12.1/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.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_nix.c3971 field->hdr_offset = 9; /* offset */ in set_flowkey_fields()
3984 field->hdr_offset = 12; /* SIP offset */ in set_flowkey_fields()
3997 field->hdr_offset = 16; /* DIP off */ in set_flowkey_fields()
4012 field->hdr_offset = 8; /* SIP offset */ in set_flowkey_fields()
4026 field->hdr_offset = 24; /* DIP off */ in set_flowkey_fields()
4055 field->hdr_offset = 2; /* DST off */ in set_flowkey_fields()
4110 field->hdr_offset = 4; /* VSID offset */ in set_flowkey_fields()
4119 field->hdr_offset = 4; in set_flowkey_fields()
4152 field->hdr_offset = 0; in set_flowkey_fields()
4158 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.h799 u64 hdr_offset :8; member
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76_connac.h440 struct sk_buff *skb, u16 hdr_offset);
Dmt76_connac_mac.c937 struct sk_buff *skb, u16 hdr_offset) in mt76_connac2_reverse_frag0_hdr_trans() argument
940 struct ethhdr *eth_hdr = (struct ethhdr *)(skb->data + hdr_offset); in mt76_connac2_reverse_frag0_hdr_trans()
982 skb_pull(skb, hdr_offset + sizeof(struct ethhdr) - 2); in mt76_connac2_reverse_frag0_hdr_trans()
/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/falcon/
Dfw.c262 lhdr = nvfw_hs_load_header(subdev, blob->data + hshdr->hdr_offset); in nvkm_falcon_fw_ctor_hs()