Home
last modified time | relevance | path

Searched refs:cpu_to_le32 (Results 1 – 2 of 2) sorted by relevance

/rkdeveloptool/
H A Dgpt.h57 # define cpu_to_le32(x) (x) macro
70 # define cpu_to_le32(x) uswap_32(x) macro
H A Dmain.cpp532 gptBackupHead->header_crc32 = cpu_to_le32(calc_crc32); in prepare_gpt_backup()
615 …gptMasterHead->partition_entry_array_crc32 = cpu_to_le32(crc32_le(0, master + 2 * SECTOR_SIZE, GPT… in update_gpt_disksize()
618 gptMasterHead->header_crc32 = cpu_to_le32(crc32_le(0, master + SECTOR_SIZE, sizeof(gpt_header))); in update_gpt_disksize()
680 gptHead->revision = cpu_to_le32(GPT_HEADER_REVISION_V1); in create_gpt_buffer()
681 gptHead->header_size = cpu_to_le32(sizeof(gpt_header)); in create_gpt_buffer()
687 gptHead->num_partition_entries = cpu_to_le32(GPT_ENTRY_NUMBERS); in create_gpt_buffer()
688 gptHead->sizeof_partition_entry = cpu_to_le32(GPT_ENTRY_SIZE); in create_gpt_buffer()
718 …gptHead->partition_entry_array_crc32 = cpu_to_le32(crc32_le(0, gpt + 2 * SECTOR_SIZE, GPT_ENTRY_SI… in create_gpt_buffer()
719 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer()