Home
last modified time | relevance | path

Searched refs:header_offset (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dfw.c223 hshdr = nvfw_hs_header(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs()
278 desc = nvfw_bl_desc(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs()
315 hshdr = nvfw_hs_header_v2(subdev, blob->data + hdr->header_offset); in nvkm_falcon_fw_ctor_hs_v2()
331 lhdr = nvfw_hs_load_header_v2(subdev, blob->data + hshdr->header_offset); in nvkm_falcon_fw_ctor_hs_v2()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvfw/
H A Dfw.h11 u32 header_offset; member
H A Dhs.h28 u32 header_offset; member
H A Dls.h88 u32 header_offset; member
/openbmc/ipmitool/lib/
H A Dipmi_fru.c4628 uint32_t fru_section_len, header_offset; in ipmi_fru_set_field_string() local
4716 header_offset = (header.offset.chassis * 8); in ipmi_fru_set_field_string()
4723 header_offset = (header.offset.board * 8); in ipmi_fru_set_field_string()
4730 header_offset = (header.offset.product * 8); in ipmi_fru_set_field_string()
4742 if( read_fru_area(intf ,&fru, fruId, header_offset , in ipmi_fru_set_field_string()
4775 for( i = header_offset; i < header_offset in ipmi_fru_set_field_string()
4785 header_offset, fru_section_len, fru_data) < 0 ) in ipmi_fru_set_field_string()
4904 header_offset = chassis_offset; in ipmi_fru_set_field_string_rebuild()
4911 header_offset = board_offset; in ipmi_fru_set_field_string_rebuild()
4918 header_offset = product_offset; in ipmi_fru_set_field_string_rebuild()
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c429 u8 payload_offset, header_offset, ident; in efx_tc_rx_version_2() local
451 header_offset = TCV2_HDR_BYTE(data, HEADER_OFFSET); in efx_tc_rx_version_2()
455 if (header_offset != ERF_SC_PACKETISER_HEADER_HEADER_OFFSET_DEFAULT) { in efx_tc_rx_version_2()
459 "), counters may be inaccurate\n", header_offset); in efx_tc_rx_version_2()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dlsfw.c228 hshdr = nvfw_ls_hsbl_hdr(subdev, hsbl->data + hdr->header_offset); in nvkm_acr_lsfw_load_sig_image_desc_v2()
272 desc = nvfw_bl_desc(subdev, bl->data + hdr->header_offset); in nvkm_acr_lsfw_load_bl_inst_data_sig()
343 int header_offset; in nvkm_acr_lsfw_load_bl_sig_net() member
357 bldata = (void *)(bl->data + hdr->header_offset); in nvkm_acr_lsfw_load_bl_sig_net()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dfw.c33 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); in nvfw_bin_hdr()
H A Dhs.c54 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); in nvfw_hs_header_v2()
H A Dls.c162 nvkm_debug(subdev, "\theaderOffset : 0x%x\n", hdr->header_offset); in nvfw_ls_hsbl_bin_hdr()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.c96 u16 header_offset; in ena_com_write_header_to_bounce() local
101 header_offset = in ena_com_write_header_to_bounce()
104 if (unlikely((header_offset + header_len) > llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce()
115 memcpy(bounce_buffer + header_offset, header_src, header_len); in ena_com_write_header_to_bounce()
/openbmc/u-boot/cmd/
H A Dotp.c184 int header_offset; member
2441 si->header_offset = cfg3 & 0xffff; in parse_config()
2442 if (si->header_offset == 0) in parse_config()
2443 si->header_offset = 0x20; in parse_config()
2733 header = header_list[header_offset]; in otp_invalid_key()
2735 _otp_print_key(header, header_offset, NULL); in otp_invalid_key()
2750 if (header_offset % 2) in otp_invalid_key()
2755 ret = otp_prog_dc_b(prog_val, header_offset, i); in otp_invalid_key()
3288 u32 header_offset; in do_otpinvalid() local
3303 if (header_offset > 16) in do_otpinvalid()
[all …]
/openbmc/linux/drivers/soc/qcom/
H A Dcmd-db.c56 __le16 header_offset; member
114 u16 offset = le16_to_cpu(hdr->header_offset); in rsc_to_entry_header()
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dfw.c398 unsigned long header_offset = 0; in carl9170_parse_firmware() local
411 header_offset = (unsigned long)fw_desc - (unsigned long)fw->data; in carl9170_parse_firmware()
413 err = carl9170_fw_verify_descs(ar, fw_desc, fw->size - header_offset); in carl9170_parse_firmware()
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_dl.c551 size_t header_offset; in vsp1_dl_list_alloc() local
567 header_offset = dl->body0->max_entries * sizeof(*dl->body0->entries); in vsp1_dl_list_alloc()
569 dl->header = ((void *)dl->body0->entries) + header_offset; in vsp1_dl_list_alloc()
570 dl->dma = dl->body0->dma + header_offset; in vsp1_dl_list_alloc()
/openbmc/google-misc/subprojects/libcr51sign/src/
H A Dlibcr51sign.c801 uint32_t* header_offset) in scan_for_magic_8() argument
831 if (header_offset) in scan_for_magic_8()
833 *header_offset = offset; in scan_for_magic_8()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_flash.c252 le16_to_cpu(pi->header_offset)); in fix_bios()
289 ei->header_offset)); in fix_efi()
633 u16 hdroffset = le16_to_cpu(bi->header_offset); in chk_boot()
1129 bi->header_offset)); in esas2r_read_image_type()
H A Desas2r.h359 u16 header_offset; member
372 u16 header_offset; member
396 u16 header_offset; member
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/ipmitool/
H A D0001-Fru-Fix-edit-field-not-checking-area-existence.patch167 + if (header.offset.internal != 0 && header.offset.internal > header_offset)
228 + if ((header.offsets[i] * 8) > header_offset)
/openbmc/linux/drivers/net/
H A Dvirtio_net.c1149 unsigned int header_offset; in receive_small_build_skb() local
1154 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_build_skb()
1155 headroom = vi->hdr_len + header_offset; in receive_small_build_skb()
1163 buf += header_offset; in receive_small_build_skb()
1179 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp() local
1180 unsigned int headroom = vi->hdr_len + header_offset; in receive_small_xdp()
1181 struct virtio_net_hdr_mrg_rxbuf *hdr = buf + header_offset; in receive_small_xdp()
1201 int offset = buf - page_address(page) + header_offset; in receive_small_xdp()
1206 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1207 headroom = vi->hdr_len + header_offset; in receive_small_xdp()
[all …]
/openbmc/qemu/block/
H A Dvhdx.c362 uint64_t header_offset = VHDX_HEADER1_OFFSET; in vhdx_update_header() local
370 header_offset = VHDX_HEADER2_OFFSET; in vhdx_update_header()
393 ret = vhdx_write_header(bs->file, inactive_header, header_offset, true); in vhdx_update_header()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c643 u16 entries, pi, header_offset, err, wqe_bbs, new_entries; in mlx5e_build_shampo_hd_umr() local
667 header_offset = (index & (MLX5E_SHAMPO_WQ_HEADER_PER_PAGE - 1)) << in mlx5e_build_shampo_hd_umr()
669 if (!(header_offset & (PAGE_SIZE - 1))) { in mlx5e_build_shampo_hd_umr()
682 dma_info->addr = addr + header_offset; in mlx5e_build_shampo_hd_umr()