| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ucode.c | 40 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr() 41 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in amdgpu_ucode_print_common_hdr() 46 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in amdgpu_ucode_print_common_hdr() 47 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr() 49 le32_to_cpu(hdr->ucode_array_offset_bytes)); in amdgpu_ucode_print_common_hdr() 50 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in amdgpu_ucode_print_common_hdr() 66 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr() 68 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr() 87 DRM_DEBUG("ucode_start_addr: %u\n", le32_to_cpu(v1_0_hdr->ucode_start_addr)); in amdgpu_ucode_print_smc_hdr() 92 DRM_DEBUG("ppt_offset_bytes: %u\n", le32_to_cpu(v2_0_hdr->ppt_offset_bytes)); in amdgpu_ucode_print_smc_hdr() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs_htt_stats.c | 29 " %u:%u,", stats_index++, le32_to_cpu(array[i])); in print_array_to_buf_index() 165 mac_id_word = le32_to_cpu(htt_stats_buf->mac_id__word); in htt_print_tx_pdev_stats_cmn_tlv() 171 le32_to_cpu(htt_stats_buf->comp_delivered)); in htt_print_tx_pdev_stats_cmn_tlv() 173 le32_to_cpu(htt_stats_buf->self_triggers)); in htt_print_tx_pdev_stats_cmn_tlv() 175 le32_to_cpu(htt_stats_buf->hw_queued)); in htt_print_tx_pdev_stats_cmn_tlv() 177 le32_to_cpu(htt_stats_buf->hw_reaped)); in htt_print_tx_pdev_stats_cmn_tlv() 179 le32_to_cpu(htt_stats_buf->underrun)); in htt_print_tx_pdev_stats_cmn_tlv() 181 le32_to_cpu(htt_stats_buf->hw_paused)); in htt_print_tx_pdev_stats_cmn_tlv() 183 le32_to_cpu(htt_stats_buf->hw_flush)); in htt_print_tx_pdev_stats_cmn_tlv() 185 le32_to_cpu(htt_stats_buf->hw_filt)); in htt_print_tx_pdev_stats_cmn_tlv() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_ucode.c | 33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in radeon_ucode_print_common_hdr() 34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in radeon_ucode_print_common_hdr() 39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr() 40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr() 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() 79 DRM_DEBUG("ucode_start_addr: %u\n", le32_to_cpu(smc_hdr->ucode_start_addr)); in radeon_ucode_print_smc_hdr() 98 le32_to_cpu(gfx_hdr->ucode_feature_version)); in radeon_ucode_print_gfx_hdr() [all …]
|
| /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() 95 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il4965_ucode_rx_stats_read() 99 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il4965_ucode_rx_stats_read() 103 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il4965_ucode_rx_stats_read() 107 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il4965_ucode_rx_stats_read() 111 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il4965_ucode_rx_stats_read() 115 le32_to_cpu(ofdm->early_overrun_err), in il4965_ucode_rx_stats_read() 121 le32_to_cpu(ofdm->crc32_good), accum_ofdm->crc32_good, in il4965_ucode_rx_stats_read() 125 le32_to_cpu(ofdm->false_alarm_cnt), in il4965_ucode_rx_stats_read() 130 le32_to_cpu(ofdm->fina_sync_err_cnt), in il4965_ucode_rx_stats_read() [all …]
|
| H A D | 3945-debug.c | 20 le32_to_cpu(il->_3945.stats.flag)); in il3945_stats_flag() 21 if (le32_to_cpu(il->_3945.stats.flag) & UCODE_STATS_CLEAR_MSK) 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() 85 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il3945_ucode_rx_stats_read() 90 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il3945_ucode_rx_stats_read() 95 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il3945_ucode_rx_stats_read() 100 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il3945_ucode_rx_stats_read() 105 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il3945_ucode_rx_stats_read() 110 le32_to_cpu(ofdm->early_overrun_err), in il3945_ucode_rx_stats_read() [all …]
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | soc15_int.h | 38 #define SOC15_CLIENT_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) & 0xff) 39 #define SOC15_SOURCE_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 8 & 0xff) 40 #define SOC15_RING_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 16 & 0xff) 41 #define SOC15_VMID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 24 & 0xf) 42 #define SOC15_VMID_TYPE_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 31 & 0x1) 43 #define SOC15_PASID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[3]) & 0xffff) 44 #define SOC15_NODEID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[3]) >> 16 & 0xff) 45 #define SOC15_CONTEXT_ID0_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[4])) 46 #define SOC15_CONTEXT_ID1_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[5])) 47 #define SOC15_CONTEXT_ID2_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[6])) [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx_devlink.c | 277 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2() 278 'A' + le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 279 le32_to_cpu(ver.dwords[2])); in efx_devlink_info_running_v2() 295 le32_to_cpu(ver.dwords[0]), in efx_devlink_info_running_v2() 296 le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 297 le32_to_cpu(ver.dwords[2]), in efx_devlink_info_running_v2() 298 le32_to_cpu(ver.dwords[3])); in efx_devlink_info_running_v2() 343 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v2() 344 le32_to_cpu(ver.dwords[2]), le32_to_cpu(ver.dwords[3]), in efx_devlink_info_running_v2() 369 le32_to_cpu(ver.dwords[0]), le32_to_cpu(ver.dwords[1]), in efx_devlink_info_running_v3() [all …]
|
| /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() 78 end = adfs_fplus_offset(h, le32_to_cpu(h->bigdirentries)) + in adfs_fplus_checkbyte() 79 le32_to_cpu(h->bigdirnamesize); in adfs_fplus_checkbyte() 95 dircheck = ror32(dircheck, 13) ^ le32_to_cpu(t->bigdirendname); in adfs_fplus_checkbyte() 123 dirsize = le32_to_cpu(h->bigdirsize); in adfs_fplus_read() 149 dir->parent_id = le32_to_cpu(h->bigdirparent); in adfs_fplus_read() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-dbg-tlv.c | 71 u32 len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_add() 88 u32 type = le32_to_cpu(tlv->type); in iwl_dbg_tlv_ver_support() 90 u32 ver = le32_to_cpu(hdr->version); in iwl_dbg_tlv_ver_support() 104 if (le32_to_cpu(tlv->length) != sizeof(*debug_info)) in iwl_dbg_tlv_alloc_debug_info() 128 if (le32_to_cpu(tlv->length) != sizeof(*alloc)) in iwl_dbg_tlv_alloc_buf_alloc() 131 buf_location = le32_to_cpu(alloc->buf_location); in iwl_dbg_tlv_alloc_buf_alloc() 132 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc() 170 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd() 172 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd() 197 u32 id = le32_to_cpu(reg->id); in iwl_dbg_tlv_alloc_region() [all …]
|
| /linux/sound/soc/ |
| H A D | soc-topology.c | 191 if (le32_to_cpu(chan[i].id) == map) in tplg_chan_get_reg() 192 return le32_to_cpu(chan[i].reg); in tplg_chan_get_reg() 204 if (le32_to_cpu(chan[i].id) == map) in tplg_chan_get_shift() 205 return le32_to_cpu(chan[i].shift); in tplg_chan_get_shift() 467 if (le32_to_cpu(hdr->ops.info) == SND_SOC_TPLG_CTL_BYTES in soc_tplg_kcontrol_bind_io() 499 ext_ops[i].id == le32_to_cpu(be->ext_ops.put)) in soc_tplg_kcontrol_bind_io() 502 ext_ops[i].id == le32_to_cpu(be->ext_ops.get)) in soc_tplg_kcontrol_bind_io() 518 if (k->put == NULL && ops[i].id == le32_to_cpu(hdr->ops.put)) in soc_tplg_kcontrol_bind_io() 520 if (k->get == NULL && ops[i].id == le32_to_cpu(hdr->ops.get)) in soc_tplg_kcontrol_bind_io() 522 if (k->info == NULL && ops[i].id == le32_to_cpu(hd in soc_tplg_kcontrol_bind_io() [all...] |
| /linux/fs/squashfs/ |
| H A D | inode.c | 51 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode() 65 inode_set_mtime(inode, le32_to_cpu(sqsh_ino->mtime), 0); in squashfs_new_inode() 147 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 148 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 158 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 177 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 204 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 214 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 226 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode() 227 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() [all …]
|
| /linux/include/trace/events/ |
| H A D | dlm.h | 354 __entry->h_version = le32_to_cpu(rc->rc_header.h_version); 355 __entry->h_lockspace = le32_to_cpu(rc->rc_header.u.h_lockspace); 356 __entry->h_nodeid = le32_to_cpu(rc->rc_header.h_nodeid); 359 __entry->rc_type = le32_to_cpu(rc->rc_type); 360 __entry->rc_result = le32_to_cpu(rc->rc_result); 432 __entry->h_version = le32_to_cpu(ms->m_header.h_version); 433 __entry->h_lockspace = le32_to_cpu(ms->m_header.u.h_lockspace); 434 __entry->h_nodeid = le32_to_cpu(ms->m_header.h_nodeid); 437 __entry->m_type = le32_to_cpu(ms->m_type); 438 __entry->m_nodeid = le32_to_cpu(ms->m_nodeid); [all …]
|
| /linux/fs/hpfs/ |
| H A D | anode.c | 26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup() 38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && 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() 47 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup() 48 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup() 49 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup() 88 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree() 99 …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() [all …]
|
| H A D | map.c | 27 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap() 43 to_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_prefetch_bitmap() 47 next_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block + 1]); in hpfs_prefetch_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() 142 n_used_hotfixes = le32_to_cpu(spareblock->n_spares_used); in hpfs_load_hotfix_map() 148 if (!(directory = hpfs_map_4sectors(s, le32_to_cpu(spareblock->hotfix_map), &qbh, 0))) { in hpfs_load_hotfix_map() [all …]
|
| H A D | ea.c | 93 a = le32_to_cpu(fnode->ea_secno); in hpfs_read_ea() 94 len = le32_to_cpu(fnode->ea_size_l); in hpfs_read_ea() 150 a = le32_to_cpu(fnode->ea_secno); in hpfs_get_ea() 151 len = le32_to_cpu(fnode->ea_size_l); in hpfs_get_ea() 211 a = le32_to_cpu(fnode->ea_secno); in hpfs_set_ea() 212 len = le32_to_cpu(fnode->ea_size_l); in hpfs_set_ea() 253 if ((le16_to_cpu(fnode->ea_size_s) || !le32_to_cpu(fnode->ea_size_l)) && in hpfs_set_ea() 267 if (le16_to_cpu(fnode->ea_size_s) && !le32_to_cpu(fnode->ea_size_l)) { in hpfs_set_ea() 284 pos = le32_to_cpu(fnode->ea_size_l) + 5 + strlen(key) + size; in hpfs_set_ea() 285 len = (le32_to_cpu(fnode->ea_size_l) + 511) >> 9; in hpfs_set_ea() [all …]
|
| H A D | super.c | 160 c = hpfs_count_one_bitmap(s, le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[n])); in count_bitmaps() 534 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super() 535 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { in hpfs_fill_super() 558 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super() 559 sbi->sb_fs_size = le32_to_cpu(superblock->n_sectors); in hpfs_fill_super() 560 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super() 561 sbi->sb_dirband_start = le32_to_cpu(superblock->dir_band_start); in hpfs_fill_super() 562 sbi->sb_dirband_size = le32_to_cpu(superblock->n_dir_band); in hpfs_fill_super() 563 sbi->sb_dmap = le32_to_cpu(superblock->dir_band_bitmap); in hpfs_fill_super() 590 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super() [all …]
|
| /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() 373 sharpsl_nand_parts[0].offset = le32_to_cpu(buf[0].start); in sharpsl_parse_mtd_partitions() 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() 378 sharpsl_nand_parts[1].offset = le32_to_cpu(buf[1].start); in sharpsl_parse_mtd_partitions() 379 sharpsl_nand_parts[1].size = le32_to_cpu(buf[1].end) - in sharpsl_parse_mtd_partitions() [all …]
|
| H A D | qcomsmempart.c | 84 if (le32_to_cpu(ptable->magic1) != SMEM_FLASH_PART_MAGIC1 || in parse_qcomsmem_part() 85 le32_to_cpu(ptable->magic2) != SMEM_FLASH_PART_MAGIC2) { in parse_qcomsmem_part() 91 tmpparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part() 98 if (le32_to_cpu(ptable->version) <= SMEM_FLASH_PTABLE_V3) { in parse_qcomsmem_part() 101 } else if (le32_to_cpu(ptable->version) == SMEM_FLASH_PTABLE_V4) { in parse_qcomsmem_part() 105 pr_err("Unknown ptable version (%d)", le32_to_cpu(ptable->version)); in parse_qcomsmem_part() 146 parts[j].offset = le32_to_cpu(pentry->offset) * mtd->erasesize; in parse_qcomsmem_part() 148 parts[j].size = le32_to_cpu(pentry->length) * mtd->erasesize; in parse_qcomsmem_part() 150 i, pentry->name, le32_to_cpu(pentry->offset), in parse_qcomsmem_part() 151 le32_to_cpu(pentry->length), pentry->attr); in parse_qcomsmem_part() [all …]
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_sp.c | 70 attr->max_qp = le32_to_cpu(sb->max_qp); in bng_re_get_dev_attr() 85 attr->max_cq = le32_to_cpu(sb->max_cq); in bng_re_get_dev_attr() 86 attr->max_cq_wqes = le32_to_cpu(sb->max_cqe); in bng_re_get_dev_attr() 88 attr->max_mr = le32_to_cpu(sb->max_mr); in bng_re_get_dev_attr() 89 attr->max_mw = le32_to_cpu(sb->max_mw); in bng_re_get_dev_attr() 93 attr->max_raw_ethy_qp = le32_to_cpu(sb->max_raw_eth_qp); in bng_re_get_dev_attr() 94 attr->max_ah = le32_to_cpu(sb->max_ah); in bng_re_get_dev_attr() 97 attr->max_srq_wqes = le32_to_cpu(sb->max_srq_wr) - 1; in bng_re_get_dev_attr() 100 attr->max_inline_data = le32_to_cpu(sb->max_inline_data); in bng_re_get_dev_attr() 107 attr->max_sgid = le32_to_cpu(sb->max_gid); in bng_re_get_dev_attr() [all …]
|
| /linux/fs/smb/server/ |
| H A D | smb2misc.c | 118 *off = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len() 120 *len = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len() 137 *len = le32_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferLength); in smb2_get_data_area_len() 143 *len = le32_to_cpu(((struct smb2_set_info_req *)hdr)->BufferLength); in smb2_get_data_area_len() 155 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len() 181 le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputOffset), in smb2_get_data_area_len() 183 *len = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputCount); in smb2_get_data_area_len() 264 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len() 265 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len() 270 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len() [all …]
|
| /linux/fs/bfs/ |
| H A D | inode.c | 76 inode->i_mode = 0x00000FFF & le32_to_cpu(di->i_mode); in bfs_iget() 77 if (le32_to_cpu(di->i_vtype) == BFS_VDIR) { in bfs_iget() 81 } else if (le32_to_cpu(di->i_vtype) == BFS_VREG) { in bfs_iget() 89 le32_to_cpu(di->i_vtype), inode->i_sb->s_id, ino); in bfs_iget() 93 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); in bfs_iget() 94 BFS_I(inode)->i_eblock = le32_to_cpu(di->i_eblock); in bfs_iget() 96 i_uid_write(inode, le32_to_cpu(di->i_uid)); in bfs_iget() 97 i_gid_write(inode, le32_to_cpu(di->i_gid)); in bfs_iget() 98 set_nlink(inode, le32_to_cpu(di->i_nlink)); in bfs_iget() 101 inode_set_atime(inode, le32_to_cpu(di->i_atime), 0); in bfs_iget() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | smem.c | 296 return p + le32_to_cpu(phdr->offset_free_uncached); in phdr_to_last_uncached_entry() 306 return p + le32_to_cpu(phdr->size) - ALIGN(sizeof(*e), cacheline); in phdr_to_first_cached_entry() 314 return p + le32_to_cpu(phdr->offset_free_cached); in phdr_to_last_cached_entry() 331 le32_to_cpu(e->size); in uncached_entry_next() 339 return p - le32_to_cpu(e->size) - ALIGN(sizeof(*e), cacheline); in cached_entry_next() 353 return p - le32_to_cpu(e->size); in cached_entry_to_item() 446 hdr->padding_data = cpu_to_le16(le32_to_cpu(hdr->size) - size); in qcom_smem_alloc_private() 478 if (WARN_ON(size > le32_to_cpu(header->available))) in qcom_smem_alloc_global() 566 aux_base = le32_to_cpu(entry->aux_base) & AUX_BASE_MASK; in qcom_smem_get_global() 572 e_size = le32_to_cpu(entry->size); in qcom_smem_get_global() [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | fw_inc.c | 25 wil_err_fw(wil, "bad %s: 0x%08x\n", msg, le32_to_cpu(val)); in wil_fw_addr_check() 65 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify() 81 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { in wil_fw_verify() 83 le32_to_cpu(fh_->signature)); in wil_fw_verify() 88 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { in wil_fw_verify() 90 le32_to_cpu(fh_->version)); in wil_fw_verify() 104 if (crc != le32_to_cpu(fh_->crc)) { in wil_fw_verify() 107 (ulong)dlen, crc, le32_to_cpu(fh_->crc)); in wil_fw_verify() 170 le32_to_cpu(rec->brd_info[i].base_addr); in fw_handle_brd_file() 172 le32_to_cpu(rec->brd_info[i].max_size_bytes); in fw_handle_brd_file() [all …]
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_port_ctrl_msg.c | 71 switch (le32_to_cpu(ctrl_msg_h->ctrl_msg_id)) { in fsm_ee_message_handler() 73 if (le32_to_cpu(ctrl_msg_h->ex_msg) != MD_EX_CHK_ID) { in fsm_ee_message_handler() 91 if (le32_to_cpu(ctrl_msg_h->ex_msg) != MD_EX_CHK_ACK_ID) { in fsm_ee_message_handler() 133 version = FIELD_GET(PORT_MSG_VERSION, le32_to_cpu(port_msg->info)); in t7xx_port_enum_msg_handler() 135 le32_to_cpu(port_msg->head_pattern) != PORT_ENUM_HEAD_PATTERN || in t7xx_port_enum_msg_handler() 136 le32_to_cpu(port_msg->tail_pattern) != PORT_ENUM_TAIL_PATTERN) { in t7xx_port_enum_msg_handler() 138 version, le32_to_cpu(port_msg->head_pattern), in t7xx_port_enum_msg_handler() 139 le32_to_cpu(port_msg->tail_pattern)); in t7xx_port_enum_msg_handler() 143 port_count = FIELD_GET(PORT_MSG_PRT_CNT, le32_to_cpu(port_msg->info)); in t7xx_port_enum_msg_handler() 145 u32 port_info = le32_to_cpu(port_msg->data[i]); in t7xx_port_enum_msg_handler() [all …]
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | enh_desc.c | 18 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status() 81 return (le32_to_cpu(p->des1) & ETDES1_BUFFER1_SIZE_MASK); in enh_desc_get_tx_len() 120 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() 121 unsigned int rdes4 = le32_to_cpu(p->des4); in enh_desc_get_ext_status() 184 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() 282 return (le32_to_cpu(p->des0) & ETDES0_OWN) >> 31; in enh_desc_get_tx_owner() 297 return (le32_to_cpu(p->des0) & ETDES0_LAST_SEGMENT) >> 29; in enh_desc_get_tx_ls() 302 int ter = (le32_to_cpu(p->des0) & ETDES0_END_RING) >> 21; in enh_desc_release_tx_desc() 315 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_prepare_tx_desc() 366 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in enh_desc_get_rx_frame_len() [all …]
|