seg_hdr 3157 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct bnxt_coredump_segment_hdr *seg_hdr, seg_hdr 3161 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memset(seg_hdr, 0, sizeof(*seg_hdr)); seg_hdr 3162 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memcpy(seg_hdr->signature, "sEgM", 4); seg_hdr 3164 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->component_id = (__force __le32)seg_rec->component_id; seg_hdr 3165 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->segment_id = (__force __le32)seg_rec->segment_id; seg_hdr 3166 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->low_version = seg_rec->version_low; seg_hdr 3167 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->high_version = seg_rec->version_hi; seg_hdr 3172 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->component_id = cpu_to_le32(2); seg_hdr 3173 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->segment_id = 0; seg_hdr 3175 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->function_id = cpu_to_le16(bp->pdev->devfn); seg_hdr 3176 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->length = cpu_to_le32(seg_len); seg_hdr 3177 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->status = cpu_to_le32(status); seg_hdr 3178 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->duration = cpu_to_le32(duration); seg_hdr 3179 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->data_offset = cpu_to_le32(sizeof(*seg_hdr)); seg_hdr 3180 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr->instance = cpu_to_le32(instance); seg_hdr 3238 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c struct bnxt_coredump_segment_hdr seg_hdr; seg_hdr 3249 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c seg_hdr_len = sizeof(seg_hdr); seg_hdr 3254 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_fill_coredump_seg_hdr(bp, &seg_hdr, NULL, ver_get_resp_len, seg_hdr 3256 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memcpy(buf + offset, &seg_hdr, seg_hdr_len); seg_hdr 3309 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_fill_coredump_seg_hdr(bp, &seg_hdr, seg_record, seg_len, seg_hdr 3314 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c memcpy(buf + offset, &seg_hdr, seg_hdr_len); seg_hdr 433 drivers/net/ethernet/intel/ice/ice_flex_pipe.c struct ice_generic_seg_hdr *seg_hdr; seg_hdr 454 drivers/net/ethernet/intel/ice/ice_flex_pipe.c seg_hdr = ice_find_seg_in_pkg(hw, SEGMENT_TYPE_ICE, pkg_hdr); seg_hdr 455 drivers/net/ethernet/intel/ice/ice_flex_pipe.c if (seg_hdr) { seg_hdr 456 drivers/net/ethernet/intel/ice/ice_flex_pipe.c hw->ice_pkg_ver = seg_hdr->seg_ver; seg_hdr 457 drivers/net/ethernet/intel/ice/ice_flex_pipe.c memcpy(hw->ice_pkg_name, seg_hdr->seg_name, seg_hdr 461 drivers/net/ethernet/intel/ice/ice_flex_pipe.c seg_hdr->seg_ver.major, seg_hdr->seg_ver.minor, seg_hdr 462 drivers/net/ethernet/intel/ice/ice_flex_pipe.c seg_hdr->seg_ver.update, seg_hdr->seg_ver.draft, seg_hdr 463 drivers/net/ethernet/intel/ice/ice_flex_pipe.c seg_hdr->seg_name); seg_hdr 619 drivers/net/hippi/rrunner.h struct seg_hdr loader; seg_hdr 677 drivers/net/hippi/rrunner.h struct seg_hdr phase2Seg; seg_hdr 702 drivers/staging/qlge/qlge_dbg.c struct mpi_coredump_segment_header *seg_hdr, seg_hdr 705 drivers/staging/qlge/qlge_dbg.c memset(seg_hdr, 0, sizeof(struct mpi_coredump_segment_header)); seg_hdr 706 drivers/staging/qlge/qlge_dbg.c seg_hdr->cookie = MPI_COREDUMP_COOKIE; seg_hdr 707 drivers/staging/qlge/qlge_dbg.c seg_hdr->segNum = seg_number; seg_hdr 708 drivers/staging/qlge/qlge_dbg.c seg_hdr->segSize = seg_size; seg_hdr 709 drivers/staging/qlge/qlge_dbg.c strncpy(seg_hdr->description, desc, (sizeof(seg_hdr->description)) - 1);