/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ucode.c | 410 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr() 412 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() 416 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr() 418 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() 422 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr() 424 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() 428 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr() 430 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() 434 le32_to_cpu(desc->fw_version)); in amdgpu_ucode_print_psp_hdr() 436 le32_to_cpu(desc->size_bytes)); in amdgpu_ucode_print_psp_hdr() [all …]
|
H A D | amdgpu_rlc.c | 208 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table() 209 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table() 216 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table() 217 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table() 224 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table() 225 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table() 232 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table() 233 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table() 240 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table() 241 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ucode.c | 42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in radeon_ucode_print_common_hdr() 43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in radeon_ucode_print_common_hdr() 59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in radeon_ucode_print_mc_hdr() 61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in radeon_ucode_print_mc_hdr() 98 le32_to_cpu(gfx_hdr->ucode_feature_version)); in radeon_ucode_print_gfx_hdr() 119 le32_to_cpu(rlc_hdr->ucode_feature_version)); in radeon_ucode_print_rlc_hdr() 121 le32_to_cpu(rlc_hdr->save_and_restore_offset)); in radeon_ucode_print_rlc_hdr() 125 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); in radeon_ucode_print_rlc_hdr() 146 le32_to_cpu(sdma_hdr->ucode_feature_version)); in radeon_ucode_print_sdma_hdr() 148 le32_to_cpu(sdma_hdr->ucode_change_version)); in radeon_ucode_print_sdma_hdr() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomfwctrl.c | 137 le32_to_cpu( in pp_atomfwctrl_get_voltage_table_v4() 344 le32_to_cpu(profile->dispclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information() 346 le32_to_cpu(profile->dispclk2gfxclk_b); in pp_atomfwctrl_get_avfs_information() 348 le32_to_cpu(profile->dispclk2gfxclk_c); in pp_atomfwctrl_get_avfs_information() 356 le32_to_cpu(profile->pixclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information() 358 le32_to_cpu(profile->pixclk2gfxclk_b); in pp_atomfwctrl_get_avfs_information() 360 le32_to_cpu(profile->pixclk2gfxclk_c); in pp_atomfwctrl_get_avfs_information() 362 le32_to_cpu(profile->phyclk2gfxclk_a); in pp_atomfwctrl_get_avfs_information() 364 le32_to_cpu(profile->phyclk2gfxclk_b); in pp_atomfwctrl_get_avfs_information() 366 le32_to_cpu(profile->phyclk2gfxclk_c); in pp_atomfwctrl_get_avfs_information() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-debug.c | 24 flag = le32_to_cpu(il->_4965.stats.flag); in il4965_stats_flag() 125 le32_to_cpu(ofdm->false_alarm_cnt), in il4965_ucode_rx_stats_read() 144 le32_to_cpu(ofdm->unresponded_rts), in il4965_ucode_rx_stats_read() 163 le32_to_cpu(ofdm->sent_ba_rsp_cnt), in il4965_ucode_rx_stats_read() 168 le32_to_cpu(ofdm->dsp_self_kill), in il4965_ucode_rx_stats_read() 173 le32_to_cpu(ofdm->mh_format_err), in il4965_ucode_rx_stats_read() 218 le32_to_cpu(cck->false_alarm_cnt), in il4965_ucode_rx_stats_read() 236 le32_to_cpu(cck->unresponded_rts), in il4965_ucode_rx_stats_read() 255 le32_to_cpu(cck->sent_ba_rsp_cnt), in il4965_ucode_rx_stats_read() 489 le32_to_cpu(tx->rx_detected_cnt), in il4965_ucode_tx_stats_read() [all …]
|
H A D | 3945-debug.c | 20 le32_to_cpu(il->_3945.stats.flag)); in il3945_stats_flag() 25 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag() 28 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag() 122 le32_to_cpu(ofdm->false_alarm_cnt), in il3945_ucode_rx_stats_read() 145 le32_to_cpu(ofdm->unresponded_rts), in il3945_ucode_rx_stats_read() 211 le32_to_cpu(cck->false_alarm_cnt), in il3945_ucode_rx_stats_read() 233 le32_to_cpu(cck->unresponded_rts), in il3945_ucode_rx_stats_read() 341 le32_to_cpu(tx->rx_detected_cnt), in il3945_ucode_tx_stats_read() 353 le32_to_cpu(tx->bt_prio_kill_cnt), in il3945_ucode_tx_stats_read() 447 le32_to_cpu(general->sleep_time), in il3945_ucode_general_stats_read() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | soc15_int.h | 37 #define SOC15_CLIENT_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) & 0xff) 38 #define SOC15_SOURCE_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 8 & 0xff) 39 #define SOC15_RING_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 16 & 0xff) 40 #define SOC15_VMID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 24 & 0xf) 41 #define SOC15_VMID_TYPE_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 31 & 0x1) 42 #define SOC15_PASID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[3]) & 0xffff) 43 #define SOC15_NODEID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[3]) >> 16 & 0xff) 44 #define SOC15_CONTEXT_ID0_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[4])) 45 #define SOC15_CONTEXT_ID1_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[5])) 46 #define SOC15_CONTEXT_ID2_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[6])) [all …]
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | topology.c | 221 sz = sz + le32_to_cpu(sg_array->size); in audioreach_get_sg_array() 223 switch (le32_to_cpu(sg_elem->token)) { in audioreach_get_sg_array() 254 sz = sz + le32_to_cpu(cont_array->size); in audioreach_get_cont_array() 287 sz = sz + le32_to_cpu(mod_array->size); in audioreach_get_module_array() 289 switch (le32_to_cpu(mod_elem->token)) { in audioreach_get_module_array() 321 switch (le32_to_cpu(sg_elem->token)) { in audioreach_parse_sg_tokens() 334 graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens() 432 token = le32_to_cpu(mod_elem->token); in audioreach_parse_common_tokens() 792 switch (le32_to_cpu(w_elem->token)) { in audioreach_widget_load_mixer() 1171 switch (le32_to_cpu(c_elem->token)) { in audioreach_control_load_mix() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | efx_devlink.c | 342 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 343 le32_to_cpu(ver.dwords[2]), le32_to_cpu(ver.dwords[3]), in efx_devlink_info_running_v2() 368 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v3() 381 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v3() 406 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v4() 420 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v4() 434 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v4() 448 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v4() 463 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v4() 489 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v5() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac4_descs.c | 23 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status() 416 le32_to_cpu(p->des0), le32_to_cpu(p->des1), in dwmac4_display_ring() 417 le32_to_cpu(p->des2), le32_to_cpu(p->des3)); in dwmac4_display_ring() 427 le32_to_cpu(extp->basic.des0), le32_to_cpu(extp->basic.des1), in dwmac4_display_ring() 428 le32_to_cpu(extp->basic.des2), le32_to_cpu(extp->basic.des3), in dwmac4_display_ring() 429 le32_to_cpu(extp->des4), le32_to_cpu(extp->des5), in dwmac4_display_ring() 430 le32_to_cpu(extp->des6), le32_to_cpu(extp->des7)); in dwmac4_display_ring() 440 le32_to_cpu(ep->des4), le32_to_cpu(ep->des5), in dwmac4_display_ring() 441 le32_to_cpu(ep->des6), le32_to_cpu(ep->des7), in dwmac4_display_ring() 442 le32_to_cpu(ep->basic.des0), le32_to_cpu(ep->basic.des1), in dwmac4_display_ring() [all …]
|
/openbmc/u-boot/tools/ |
H A D | zynqmpimage.c | 74 checksum += le32_to_cpu(ptr->width_detection); in zynqmpimage_checksum() 75 checksum += le32_to_cpu(ptr->image_identifier); in zynqmpimage_checksum() 76 checksum += le32_to_cpu(ptr->encryption); in zynqmpimage_checksum() 77 checksum += le32_to_cpu(ptr->image_load); in zynqmpimage_checksum() 78 checksum += le32_to_cpu(ptr->image_offset); in zynqmpimage_checksum() 79 checksum += le32_to_cpu(ptr->pfw_image_length); in zynqmpimage_checksum() 81 checksum += le32_to_cpu(ptr->image_size); in zynqmpimage_checksum() 83 checksum += le32_to_cpu(ptr->image_attributes); in zynqmpimage_checksum() 140 uint32_t attr = le32_to_cpu(ph->attributes); in print_partition() 141 unsigned long len = le32_to_cpu(ph->len) * 4; in print_partition() [all …]
|
H A D | zynqimage.c | 97 checksum += le32_to_cpu(ptr->width_detection); in zynqimage_checksum() 98 checksum += le32_to_cpu(ptr->image_identifier); in zynqimage_checksum() 99 checksum += le32_to_cpu(ptr->encryption); in zynqimage_checksum() 100 checksum += le32_to_cpu(ptr->user_field); in zynqimage_checksum() 101 checksum += le32_to_cpu(ptr->image_offset); in zynqimage_checksum() 102 checksum += le32_to_cpu(ptr->image_size); in zynqimage_checksum() 103 checksum += le32_to_cpu(ptr->__reserved1); in zynqimage_checksum() 104 checksum += le32_to_cpu(ptr->image_load); in zynqimage_checksum() 105 checksum += le32_to_cpu(ptr->image_stored_size); in zynqimage_checksum() 106 checksum += le32_to_cpu(ptr->__reserved2); in zynqimage_checksum() [all …]
|
/openbmc/linux/fs/adfs/ |
H A D | dir_fplus.c | 15 ALIGN(le32_to_cpu(h->bigdirnamelen), 4) + in adfs_fplus_offset() 21 unsigned int size = le32_to_cpu(h->bigdirsize); in adfs_fplus_validate_header() 34 len = ALIGN(le32_to_cpu(h->bigdirnamelen), 4); in adfs_fplus_validate_header() 41 len = le32_to_cpu(h->bigdirnamesize); in adfs_fplus_validate_header() 51 len = le32_to_cpu(h->bigdirentries); in adfs_fplus_validate_header() 79 le32_to_cpu(h->bigdirnamesize); in adfs_fplus_checkbyte() 123 dirsize = le32_to_cpu(h->bigdirsize); in adfs_fplus_read() 189 obj->loadaddr = le32_to_cpu(bde.bigdirload); in adfs_fplus_getnext() 190 obj->execaddr = le32_to_cpu(bde.bigdirexec); in adfs_fplus_getnext() 191 obj->size = le32_to_cpu(bde.bigdirlen); in adfs_fplus_getnext() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 70 u32 len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_add() 87 u32 type = le32_to_cpu(tlv->type); in iwl_dbg_tlv_ver_support() 89 u32 ver = le32_to_cpu(hdr->version); in iwl_dbg_tlv_ver_support() 192 u32 id = le32_to_cpu(reg->id); in iwl_dbg_tlv_alloc_region() 257 u32 rf = le32_to_cpu(trig->reset_fw); in iwl_dbg_tlv_alloc_trigger() 276 if (!le32_to_cpu(trig->occurrences)) { in iwl_dbg_tlv_alloc_trigger() 340 type = le32_to_cpu(tlv->type); in iwl_dbg_tlv_alloc() 342 domain = le32_to_cpu(hdr->domain); in iwl_dbg_tlv_alloc() 359 le32_to_cpu(hdr->version)); in iwl_dbg_tlv_alloc() 486 tlv_len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_parse_bin() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-topology.c | 612 p[2] = le32_to_cpu(scale->min); in soc_tplg_create_tlv_db_scale() 683 sbe->max = le32_to_cpu(be->max); in soc_tplg_dbytes_create() 753 sm->max = le32_to_cpu(mc->max); in soc_tplg_dmixer_create() 754 sm->min = le32_to_cpu(mc->min); in soc_tplg_dmixer_create() 1110 le32_to_cpu(mc->priv.size); in soc_tplg_dapm_widget_dmixer_create() 1132 sm->max = le32_to_cpu(mc->max); in soc_tplg_dapm_widget_dmixer_create() 1133 sm->min = le32_to_cpu(mc->min); in soc_tplg_dapm_widget_dmixer_create() 1345 le32_to_cpu(w->priv.size)); in soc_tplg_dapm_widget_create() 1846 size = le32_to_cpu(pcm->size); in soc_tplg_pcm_elems_load() 1986 if (le32_to_cpu(src->size) != in link_new_ver() [all …]
|
/openbmc/qemu/block/ |
H A D | vhdx-endian.c | 37 h->signature = le32_to_cpu(h->signature); in vhdx_header_le_import() 38 h->checksum = le32_to_cpu(h->checksum); in vhdx_header_le_import() 47 h->log_length = le32_to_cpu(h->log_length); in vhdx_header_le_import() 82 d->signature = le32_to_cpu(d->signature); in vhdx_log_desc_le_import() 121 hdr->checksum = le32_to_cpu(hdr->checksum); in vhdx_log_entry_hdr_le_import() 123 hdr->tail = le32_to_cpu(hdr->tail); in vhdx_log_entry_hdr_le_import() 172 e->length = le32_to_cpu(e->length); in vhdx_region_entry_le_import() 173 e->data_bits = le32_to_cpu(e->data_bits); in vhdx_region_entry_le_import() 209 e->offset = le32_to_cpu(e->offset); in vhdx_metadata_entry_le_import() 210 e->length = le32_to_cpu(e->length); in vhdx_metadata_entry_le_import() [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | inode.c | 143 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 145 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 186 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 188 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 200 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode() 254 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode() 307 xattr_id = le32_to_cpu(xattr); in squashfs_read_inode() 330 rdev = le32_to_cpu(sqsh_ino->rdev); in squashfs_read_inode() 351 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode() 354 rdev = le32_to_cpu(sqsh_ino->rdev); in squashfs_read_inode() [all …]
|
/openbmc/u-boot/drivers/smem/ |
H A D | msm_smem.c | 309 le32_to_cpu(e->size); in uncached_entry_next() 331 return p - le32_to_cpu(e->size); in cached_entry_to_item() 482 *size = le32_to_cpu(entry->size); in qcom_smem_get_global() 507 *size = le32_to_cpu(e->size) - in qcom_smem_get_private() 527 *size = le32_to_cpu(e->size) - in qcom_smem_get_private() 685 if (!le32_to_cpu(entry->offset) || !le32_to_cpu(entry->size)) { in qcom_smem_set_global_partition() 709 if (le32_to_cpu(header->size) != le32_to_cpu(entry->size)) { in qcom_smem_set_global_partition() 749 if (!le32_to_cpu(entry->offset)) in qcom_smem_enumerate_partitions() 752 if (!le32_to_cpu(entry->size)) in qcom_smem_enumerate_partitions() 797 if (le32_to_cpu(header->size) != le32_to_cpu(entry->size)) { in qcom_smem_enumerate_partitions() [all …]
|
/openbmc/linux/fs/hpfs/ |
H A D | anode.c | 27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup() 39 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup() 40 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup() 98 …if (le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length) != fse… in hpfs_add_sector_to_btree() 100 le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length), fsecno, in hpfs_add_sector_to_btree() 123 …fs = n < 0 ? 0 : le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].l… in hpfs_add_sector_to_btree() 307 ano = le32_to_cpu(anode->up); in hpfs_remove_btree() 455 …if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= sec… in hpfs_truncate_btree() 463 …else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >… in hpfs_truncate_btree() 465 le32_to_cpu(btree->u.external[i].file_secno), le32_to_cpu(btree->u.external[i].length) in hpfs_truncate_btree() [all …]
|
H A D | map.c | 27 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap() 68 if (le32_to_cpu(cp->magic) != CP_DIR_MAGIC) { in hpfs_load_code_page() 70 le32_to_cpu(cp->magic)); in hpfs_load_code_page() 74 if (!le32_to_cpu(cp->n_code_pages)) { in hpfs_load_code_page() 79 cpds = le32_to_cpu(cp->array[0].code_page_data); in hpfs_load_code_page() 141 n_hotfixes = le32_to_cpu(spareblock->n_spares); in hpfs_load_hotfix_map() 174 if (le32_to_cpu(fnode->magic) != FNODE_MAGIC) { in hpfs_map_fnode() 231 if (le32_to_cpu(anode->self) != ano) { in hpfs_map_anode() 276 if (le32_to_cpu(dnode->self) != secno) in hpfs_map_dnode() 280 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode() [all …]
|
/openbmc/linux/crypto/ |
H A D | tea.c | 65 y = le32_to_cpu(in[0]); in tea_encrypt() 66 z = le32_to_cpu(in[1]); in tea_encrypt() 93 y = le32_to_cpu(in[0]); in tea_decrypt() 94 z = le32_to_cpu(in[1]); in tea_decrypt() 138 y = le32_to_cpu(in[0]); in xtea_encrypt() 139 z = le32_to_cpu(in[1]); in xtea_encrypt() 158 y = le32_to_cpu(in[0]); in xtea_decrypt() 159 z = le32_to_cpu(in[1]); in xtea_decrypt() 182 y = le32_to_cpu(in[0]); in xeta_encrypt() 183 z = le32_to_cpu(in[1]); in xeta_encrypt() [all …]
|
/openbmc/linux/block/partitions/ |
H A D | efi.c | 356 if (le32_to_cpu((*gpt)->header_size) > in is_gpt_valid() 359 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 367 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 373 origcrc = le32_to_cpu((*gpt)->header_crc32); in is_gpt_valid() 423 le32_to_cpu((*gpt)->sizeof_partition_entry); in is_gpt_valid() 520 if (le32_to_cpu(pgpt->num_partition_entries) != in compare_gpts() 524 le32_to_cpu(pgpt->num_partition_entries), in compare_gpts() 525 le32_to_cpu(agpt->num_partition_entries)); in compare_gpts() 528 if (le32_to_cpu(pgpt->sizeof_partition_entry) != in compare_gpts() 533 le32_to_cpu(agpt->sizeof_partition_entry)); in compare_gpts() [all …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 313 if (le32_to_cpu(buf[0].end) <= le32_to_cpu(buf[0].start) || in sharpsl_nand_read_partinfo() 314 le32_to_cpu(buf[1].start) < le32_to_cpu(buf[0].end) || in sharpsl_nand_read_partinfo() 315 le32_to_cpu(buf[1].end) <= le32_to_cpu(buf[1].start) || in sharpsl_nand_read_partinfo() 316 le32_to_cpu(buf[2].start) < le32_to_cpu(buf[1].end) || in sharpsl_nand_read_partinfo() 317 le32_to_cpu(buf[2].end) <= le32_to_cpu(buf[2].start)) { in sharpsl_nand_read_partinfo() 374 sharpsl_nand_parts[0].size = le32_to_cpu(buf[0].end) - in sharpsl_parse_mtd_partitions() 375 le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 379 sharpsl_nand_parts[1].size = le32_to_cpu(buf[1].end) - in sharpsl_parse_mtd_partitions() 380 le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() 384 sharpsl_nand_parts[2].size = le32_to_cpu(buf[2].end) - in sharpsl_parse_mtd_partitions() [all …]
|
/openbmc/qemu/hw/scsi/ |
H A D | mptendian.c | 37 sge->FlagsLength = le32_to_cpu(sge->FlagsLength); in mptsas_fix_sgentry_endianness() 57 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_scsi_io_endianness() 58 req->Control = le32_to_cpu(req->Control); in mptsas_fix_scsi_io_endianness() 59 req->DataLength = le32_to_cpu(req->DataLength); in mptsas_fix_scsi_io_endianness() 76 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_scsi_task_mgmt_endianness() 90 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_ioc_init_endianness() 110 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_ioc_facts_endianness() 140 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_config_endianness() 155 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_port_facts_endianness() 173 req->MsgContext = le32_to_cpu(req->MsgContext); in mptsas_fix_port_enable_endianness() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | dlm.h | 367 __entry->rc_type = le32_to_cpu(rc->rc_type); 445 __entry->m_type = le32_to_cpu(ms->m_type); 447 __entry->m_pid = le32_to_cpu(ms->m_pid); 448 __entry->m_lkid = le32_to_cpu(ms->m_lkid); 456 __entry->m_hash = le32_to_cpu(ms->m_hash); 461 __entry->m_asts = le32_to_cpu(ms->m_asts); 541 __entry->m_type = le32_to_cpu(ms->m_type); 543 __entry->m_pid = le32_to_cpu(ms->m_pid); 544 __entry->m_lkid = le32_to_cpu(ms->m_lkid); 552 __entry->m_hash = le32_to_cpu(ms->m_hash); [all …]
|