Home
last modified time | relevance | path

Searched refs:section_size (Results 1 – 18 of 18) sorted by relevance

/openbmc/u-boot/tools/
H A Domapimage.c47 && toc->section_size != 0xffffffff) { in omapimage_verify_header()
50 size = cpu_to_be32(toc->section_size); in omapimage_verify_header()
53 size = toc->section_size; in omapimage_verify_header()
96 && toc->section_size != 0xffffffff) { in omapimage_print_header()
99 size = cpu_to_be32(toc->section_size); in omapimage_print_header()
102 size = toc->section_size; in omapimage_print_header()
112 toc->section_size); in omapimage_print_header()
135 toc->section_size = sizeof(struct ch_settings); in omapimage_set_header()
H A Domapimage.h14 uint32_t section_size; member
H A Dmxsimage.h130 uint32_t section_size; member
H A Dmxsimage.c1422 offset += shdr->section_size; in sb_fixup_sections_and_tags()
1425 shdr->section_size--; in sb_fixup_sections_and_tags()
1433 ccmd->tag.section_length = shdr->section_size; in sb_fixup_sections_and_tags()
1580 ictx->sect_tail->payload.section_size = in sb_parse_line()
1993 sctx->size = (shdr->section_size * SB_BLOCK_SIZE) + in sb_verify_sections_cmds()
/openbmc/linux/drivers/soc/apple/
H A Drtkit-crashlog.c189 u32 section_fourcc, section_size; in apple_rtkit_crashlog_dump() local
210 memcpy(&section_size, bfr + offset + 12, 4); in apple_rtkit_crashlog_dump()
218 section_size); in apple_rtkit_crashlog_dump()
222 rtk, bfr + offset + 16, section_size); in apple_rtkit_crashlog_dump()
226 rtk, bfr + offset + 16, section_size); in apple_rtkit_crashlog_dump()
230 section_size); in apple_rtkit_crashlog_dump()
234 section_size); in apple_rtkit_crashlog_dump()
242 offset += section_size; in apple_rtkit_crashlog_dump()
/openbmc/qemu/hw/core/
H A Deif.c46 uint64_t section_size; member
149 section_header->section_size = be64_to_cpu(section_header->section_size); in read_eif_section_header()
502 if (eif_header.section_sizes[i] != hdr.section_size) { in read_eif_file()
506 hdr.section_size); in read_eif_file()
520 ptr = g_try_malloc(hdr.section_size); in read_eif_file()
528 iov_ptr->iov_len = hdr.section_size; in read_eif_file()
533 if (!read_eif_kernel(f, hdr.section_size, kernel_path, ptr, &crc, in read_eif_file()
548 size = hdr.section_size; in read_eif_file()
592 ptr = g_try_malloc(hdr.section_size); in read_eif_file()
600 iov_ptr->iov_len = hdr.section_size; in read_eif_file()
[all …]
/openbmc/qemu/hw/remote/
H A Dvfio-user-obj.c426 uint64_t section_size; in vfu_object_bar_rw() local
441 section_size = int128_get64(section.size); in vfu_object_bar_rw()
447 (bar_offset + section_size)); in vfu_object_bar_rw()
453 section_size, is_write)) { in vfu_object_bar_rw()
457 (bar_offset + section_size), pci_bar); in vfu_object_bar_rw()
462 size += section_size; in vfu_object_bar_rw()
463 bar_offset += section_size; in vfu_object_bar_rw()
464 ptr += section_size; in vfu_object_bar_rw()
465 len -= section_size; in vfu_object_bar_rw()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_trace.h142 __field( u32, section_size )
149 __entry->section_size = rpkt->send_buf_section_size;
154 __entry->section_index, __entry->section_size)
H A Dhyperv_net.h502 u32 section_size; member
H A Dnetvsc.c519 v1_msg.send_send_buf_complete.section_size; in netvsc_init_buf()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.c1804 int ret, section_size; in iwl_read_external_nvm() local
1899 section_size = in iwl_read_external_nvm()
1903 section_size = 2 * EXT_NVM_WORD2_LEN( in iwl_read_external_nvm()
1909 if (section_size > max_section_size) { in iwl_read_external_nvm()
1911 section_size); in iwl_read_external_nvm()
1916 if (!section_size) { in iwl_read_external_nvm()
1922 if (file_sec->data + section_size > eof) { in iwl_read_external_nvm()
1925 section_size); in iwl_read_external_nvm()
1936 temp = kmemdup(file_sec->data, section_size, GFP_KERNEL); in iwl_read_external_nvm()
1942 iwl_nvm_fixups(trans->hw_id, section_id, temp, section_size); in iwl_read_external_nvm()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dsdio.c2294 unsigned int count, section_size, skip_size; in ath10k_sdio_dump_memory_section() local
2321 section_size = cur_section->end - cur_section->start; in ath10k_sdio_dump_memory_section()
2323 if (section_size <= 0) { in ath10k_sdio_dump_memory_section()
2347 if (buf_len < (skip_size + section_size)) { in ath10k_sdio_dump_memory_section()
2352 buf_len -= skip_size + section_size; in ath10k_sdio_dump_memory_section()
2356 buf, section_size); in ath10k_sdio_dump_memory_section()
2363 buf += section_size; in ath10k_sdio_dump_memory_section()
2364 count += section_size; in ath10k_sdio_dump_memory_section()
H A Dpci.c1474 unsigned int count, section_size, skip_size; in ath10k_pci_dump_memory_section() local
1501 section_size = cur_section->end - cur_section->start; in ath10k_pci_dump_memory_section()
1503 if (section_size <= 0) { in ath10k_pci_dump_memory_section()
1527 if (buf_len < (skip_size + section_size)) { in ath10k_pci_dump_memory_section()
1532 buf_len -= skip_size + section_size; in ath10k_pci_dump_memory_section()
1536 buf, section_size); in ath10k_pci_dump_memory_section()
1543 buf += section_size; in ath10k_pci_dump_memory_section()
1544 count += section_size; in ath10k_pci_dump_memory_section()
/openbmc/qemu/scripts/
H A Ddump-guest-memory.py425 section_size = int128_get64(flat_range["addr"]["size"])
427 target_end = target_start + section_size
/openbmc/u-boot/arch/arm/mach-omap2/
H A Demif-common.c889 u32 get_dmm_section_size_map(u32 section_size) in get_dmm_section_size_map() argument
902 section_size >>= 24; /* divide by 16 MB */ in get_dmm_section_size_map()
903 return log_2_n_round_down(section_size); in get_dmm_section_size_map()
/openbmc/linux/arch/arm64/mm/
H A Dmmu.c629 unsigned long section_size; in mark_rodata_ro() local
635 section_size = (unsigned long)__init_begin - (unsigned long)__start_rodata; in mark_rodata_ro()
637 section_size, PAGE_KERNEL_RO); in mark_rodata_ro()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c4768 u32 section_size = (*dump == continue_dump) ? in qed_ilt_dump_pages_section() local
4771 if (section_size > 0) in qed_ilt_dump_pages_section()
4773 *dump, "size", section_size); in qed_ilt_dump_pages_section()
4774 else if ((section_size == 0) && (*dump != continue_dump)) in qed_ilt_dump_pages_section()
5013 u32 section_size = 0; in qed_ilt_dump() local
5047 section_size = in qed_ilt_dump()
5057 if (offset + section_size > buf_size_in_dwords) { in qed_ilt_dump()
5078 section_size = in qed_ilt_dump()
5083 if (offset + section_size > buf_size_in_dwords) { in qed_ilt_dump()
5099 section_size = in qed_ilt_dump()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c5710 u32 section_size = 0; in i40e_write_profile() local
5741 section_size = sec->section.size + in i40e_write_profile()
5745 status = i40e_aq_write_ddp(hw, (void *)sec, (u16)section_size, in i40e_write_profile()
5772 u32 section_size = 0; in i40e_rollback_profile() local
5792 section_size = sec->section.size + in i40e_rollback_profile()
5796 status = i40e_aq_write_ddp(hw, (void *)sec, (u16)section_size, in i40e_rollback_profile()