Home
last modified time | relevance | path

Searched refs:le32_to_cpu (Results 1 – 25 of 1424) sorted by relevance

12345678910>>...57

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); in amdgpu_ucode_print_common_hdr()
34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); in amdgpu_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in amdgpu_ucode_print_common_hdr()
40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
42 le32_to_cpu(hdr->ucode_array_offset_bytes)); in amdgpu_ucode_print_common_hdr()
43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); in amdgpu_ucode_print_common_hdr()
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); in amdgpu_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); in amdgpu_ucode_print_mc_hdr()
79 DRM_DEBUG("ucode_start_addr: %u\n", le32_to_cpu(smc_hdr->ucode_start_addr)); in amdgpu_ucode_print_smc_hdr()
86 DRM_DEBUG("ppt_offset_bytes: %u\n", le32_to_cpu(v2_hdr->ppt_offset_bytes)); in amdgpu_ucode_print_smc_hdr()
[all …]
Damdgpu_discovery.c184 if (le32_to_cpu(bhdr->binary_signature) != BINARY_SIGNATURE) { in amdgpu_discovery_init()
207 if (le32_to_cpu(ihdr->signature) != DISCOVERY_TABLE_SIGNATURE) { in amdgpu_discovery_init()
306 ip->base_address[k] = le32_to_cpu(ip->base_address[k]); in amdgpu_discovery_reg_base_init()
395 adev->gfx.config.max_shader_engines = le32_to_cpu(gc_info->v1.gc_num_se); in amdgpu_discovery_get_gfx_info()
396 adev->gfx.config.max_cu_per_sh = 2 * (le32_to_cpu(gc_info->v1.gc_num_wgp0_per_sa) + in amdgpu_discovery_get_gfx_info()
397 le32_to_cpu(gc_info->v1.gc_num_wgp1_per_sa)); in amdgpu_discovery_get_gfx_info()
398 adev->gfx.config.max_sh_per_se = le32_to_cpu(gc_info->v1.gc_num_sa_per_se); in amdgpu_discovery_get_gfx_info()
399 adev->gfx.config.max_backends_per_se = le32_to_cpu(gc_info->v1.gc_num_rb_per_se); in amdgpu_discovery_get_gfx_info()
400 adev->gfx.config.max_texture_channel_caches = le32_to_cpu(gc_info->v1.gc_num_gl2c); in amdgpu_discovery_get_gfx_info()
401 adev->gfx.config.max_gprs = le32_to_cpu(gc_info->v1.gc_num_gprs); in amdgpu_discovery_get_gfx_info()
[all …]
Damdgpu_rlc.c202 le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_gfx_rlc_setup_cp_table()
203 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
204 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
210 le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_gfx_rlc_setup_cp_table()
211 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
212 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
218 le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_gfx_rlc_setup_cp_table()
219 table_offset = le32_to_cpu(hdr->jt_offset); in amdgpu_gfx_rlc_setup_cp_table()
220 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
226 le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_gfx_rlc_setup_cp_table()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ucode.c33 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomfwctrl.c131 le32_to_cpu(voltage_object->gpio_voltage_obj. in pp_atomfwctrl_get_voltage_table_v4()
137 le32_to_cpu( in pp_atomfwctrl_get_voltage_table_v4()
266 dividers->ulClock = le32_to_cpu(pll_output->gpuclock_10khz); in pp_atomfwctrl_get_gpu_pll_dividers_vega10()
267 dividers->ulDid = le32_to_cpu(pll_output->dfs_did); in pp_atomfwctrl_get_gpu_pll_dividers_vega10()
268 dividers->ulPll_fb_mult = le32_to_cpu(pll_output->pll_fb_mult); in pp_atomfwctrl_get_gpu_pll_dividers_vega10()
269 dividers->ulPll_ss_fbsmult = le32_to_cpu(pll_output->pll_ss_fbsmult); in pp_atomfwctrl_get_gpu_pll_dividers_vega10()
297 param->ulMaxVddc = le32_to_cpu(profile->maxvddc); in pp_atomfwctrl_get_avfs_information()
298 param->ulMinVddc = le32_to_cpu(profile->minvddc); in pp_atomfwctrl_get_avfs_information()
300 le32_to_cpu(profile->avfs_meannsigma_acontant0); in pp_atomfwctrl_get_avfs_information()
302 le32_to_cpu(profile->avfs_meannsigma_acontant1); in pp_atomfwctrl_get_avfs_information()
[all …]
Dppatomctrl.c341 le32_to_cpu(mpll_parameters.ulClock.ulClock); in atomctrl_get_memory_pll_dividers_ai()
364 dividers->real_clock = le32_to_cpu(pll_parameters.ulClock); in atomctrl_get_engine_pll_dividers_kong()
390 le32_to_cpu(pll_patameters.ulClock.ulClock); in atomctrl_get_engine_pll_dividers_vi()
460 le32_to_cpu(pll_patameters.ulClock.ulClock); in atomctrl_get_dfs_pll_dividers_vi()
556 le32_to_cpu(voltage_object->asGpioVoltageObj.asVolGpioLut[i].ulVoltageId); in atomctrl_get_voltage_table_v3()
560 le32_to_cpu(voltage_object->asGpioVoltageObj.ulGpioMaskVal); in atomctrl_get_voltage_table_v3()
698 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM1), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
702 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM2), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
706 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM3), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
710 fDerateTDP = GetScaledFraction(le32_to_cpu(getASICProfilingInfo->ulTdpDerateDPM4), 1000); in atomctrl_calculate_voltage_evv_on_sclk()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/
D4965-debug.c24 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 …]
D3945-debug.c20 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 …]
/kernel/linux/linux-5.10/fs/dlm/
Dutil.c33 hd->h_version = le32_to_cpu(hd->h_version); in header_in()
34 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); in header_in()
35 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in()
112 ms->m_type = le32_to_cpu(ms->m_type); in dlm_message_in()
113 ms->m_nodeid = le32_to_cpu(ms->m_nodeid); in dlm_message_in()
114 ms->m_pid = le32_to_cpu(ms->m_pid); in dlm_message_in()
115 ms->m_lkid = le32_to_cpu(ms->m_lkid); in dlm_message_in()
116 ms->m_remid = le32_to_cpu(ms->m_remid); in dlm_message_in()
117 ms->m_parent_lkid = le32_to_cpu(ms->m_parent_lkid); in dlm_message_in()
118 ms->m_parent_remid = le32_to_cpu(ms->m_parent_remid); in dlm_message_in()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dsoc15_int.h35 #define SOC15_CLIENT_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) & 0xff)
36 #define SOC15_SOURCE_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 8 & 0xff)
37 #define SOC15_RING_ID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 16 & 0xff)
38 #define SOC15_VMID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 24 & 0xf)
39 #define SOC15_VMID_TYPE_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[0]) >> 31 & 0x1)
40 #define SOC15_PASID_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[3]) & 0xffff)
41 #define SOC15_CONTEXT_ID0_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[4]))
42 #define SOC15_CONTEXT_ID1_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[5]))
43 #define SOC15_CONTEXT_ID2_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[6]))
44 #define SOC15_CONTEXT_ID3_FROM_IH_ENTRY(entry) (le32_to_cpu(entry[7]))
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_descs.c24 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status()
78 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_wrback_get_rx_status()
79 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status()
80 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status()
178 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len()
183 return (le32_to_cpu(p->des3) & TDES3_OWN) >> TDES3_OWN_SHIFT; in dwmac4_get_tx_owner()
201 return (le32_to_cpu(p->des3) & TDES3_LAST_DESCRIPTOR) in dwmac4_get_tx_ls()
207 return (le32_to_cpu(p->des3) & RDES3_PACKET_SIZE_MASK); in dwmac4_wrback_get_rx_frame_len()
218 if (le32_to_cpu(p->des3) & TDES3_CONTEXT_TYPE) in dwmac4_wrback_get_tx_timestamp_status()
222 if (le32_to_cpu(p->des3) & TDES3_TIMESTAMP_STATUS) in dwmac4_wrback_get_tx_timestamp_status()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c77 pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ in update_recvframe_attrib_88e()
80 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ in update_recvframe_attrib_88e()
83 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x00003fff);/* u16)prxreport->pktlen; */ in update_recvframe_attrib_88e()
84 …pattrib->drvinfo_sz = (u8)((le32_to_cpu(report.rxdw0) >> 16) & 0xf) * 8;/* u8)(prxreport->drvinfos… in update_recvframe_attrib_88e()
86 pattrib->physt = (u8)((le32_to_cpu(report.rxdw0) >> 26) & 0x1);/* u8)prxreport->physt; */ in update_recvframe_attrib_88e()
88 …pattrib->bdecrypted = (le32_to_cpu(report.rxdw0) & BIT(27)) ? 0 : 1;/* u8)(prxreport->swdec ? 0 : … in update_recvframe_attrib_88e()
89 pattrib->encrypt = (u8)((le32_to_cpu(report.rxdw0) >> 20) & 0x7);/* u8)prxreport->security; */ in update_recvframe_attrib_88e()
91 pattrib->qos = (u8)((le32_to_cpu(report.rxdw0) >> 23) & 0x1);/* u8)prxreport->qos; */ in update_recvframe_attrib_88e()
92 pattrib->priority = (u8)((le32_to_cpu(report.rxdw1) >> 8) & 0xf);/* u8)prxreport->tid; */ in update_recvframe_attrib_88e()
94 pattrib->amsdu = (u8)((le32_to_cpu(report.rxdw1) >> 13) & 0x1);/* u8)prxreport->amsdu; */ in update_recvframe_attrib_88e()
[all …]
/kernel/linux/linux-5.10/fs/adfs/
Ddir_fplus.c15 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 …]
/kernel/linux/linux-5.10/fs/squashfs/
Dinode.c61 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode()
62 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode()
140 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
142 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
155 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
162 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
183 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
185 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
197 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode()
198 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode()
[all …]
/kernel/linux/linux-5.10/fs/hpfs/
Danode.c26 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()
39le32_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()
87 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree()
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()
[all …]
Dmap.c27 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 …]
Dea.c93 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 …]
/kernel/linux/linux-5.10/block/partitions/
Defi.c148 if (le32_to_cpu(part->starting_lba) != GPT_PRIMARY_PARTITION_TABLE_LBA) in pmbr_part_valid()
217 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba); in is_pmbr_valid()
282 count = (size_t)le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries()
283 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries()
358 if (le32_to_cpu((*gpt)->header_size) > in is_gpt_valid()
361 le32_to_cpu((*gpt)->header_size), in is_gpt_valid()
367 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { in is_gpt_valid()
369 le32_to_cpu((*gpt)->header_size), in is_gpt_valid()
375 origcrc = le32_to_cpu((*gpt)->header_crc32); in is_gpt_valid()
377 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); in is_gpt_valid()
[all …]
/kernel/linux/linux-5.10/crypto/
Dtea.c48 ctx->KEY[0] = le32_to_cpu(key[0]); in tea_setkey()
49 ctx->KEY[1] = le32_to_cpu(key[1]); in tea_setkey()
50 ctx->KEY[2] = le32_to_cpu(key[2]); in tea_setkey()
51 ctx->KEY[3] = le32_to_cpu(key[3]); in tea_setkey()
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()
121 ctx->KEY[0] = le32_to_cpu(key[0]); in xtea_setkey()
122 ctx->KEY[1] = le32_to_cpu(key[1]); in xtea_setkey()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/parsers/
Dsharpslpart.c313 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 …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-topology.c198 if (le32_to_cpu(chan[i].id) == map) in tplc_chan_get_reg()
199 return le32_to_cpu(chan[i].reg); in tplc_chan_get_reg()
211 if (le32_to_cpu(chan[i].id) == map) in tplc_chan_get_shift()
212 return le32_to_cpu(chan[i].shift); in tplc_chan_get_shift()
579 if (le32_to_cpu(hdr->ops.info) == SND_SOC_TPLG_CTL_BYTES in soc_tplg_kcontrol_bind_io()
610 ext_ops[i].id == le32_to_cpu(be->ext_ops.put)) in soc_tplg_kcontrol_bind_io()
613 ext_ops[i].id == le32_to_cpu(be->ext_ops.get)) in soc_tplg_kcontrol_bind_io()
629 if (k->put == NULL && ops[i].id == le32_to_cpu(hdr->ops.put)) in soc_tplg_kcontrol_bind_io()
631 if (k->get == NULL && ops[i].id == le32_to_cpu(hdr->ops.get)) in soc_tplg_kcontrol_bind_io()
633 if (k->info == NULL && ops[i].id == le32_to_cpu(hdr->ops.info)) in soc_tplg_kcontrol_bind_io()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-dbg-tlv.c123 u32 len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_add()
139 u32 type = le32_to_cpu(tlv->type); in iwl_dbg_tlv_ver_support()
141 u32 ver = le32_to_cpu(hdr->version); in iwl_dbg_tlv_ver_support()
155 if (le32_to_cpu(tlv->length) != sizeof(*debug_info)) in iwl_dbg_tlv_alloc_debug_info()
171 if (le32_to_cpu(tlv->length) != sizeof(*alloc)) in iwl_dbg_tlv_alloc_buf_alloc()
174 buf_location = le32_to_cpu(alloc->buf_location); in iwl_dbg_tlv_alloc_buf_alloc()
175 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc()
208 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
210 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
233 u32 id = le32_to_cpu(reg->id); in iwl_dbg_tlv_alloc_region()
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmem.c282 return p + le32_to_cpu(phdr->offset_free_uncached); in phdr_to_last_uncached_entry()
292 return p + le32_to_cpu(phdr->size) - ALIGN(sizeof(*e), cacheline); in phdr_to_first_cached_entry()
300 return p + le32_to_cpu(phdr->offset_free_cached); in phdr_to_last_cached_entry()
317 le32_to_cpu(e->size); in uncached_entry_next()
325 return p - le32_to_cpu(e->size) - ALIGN(sizeof(*e), cacheline); in cached_entry_next()
339 return p - le32_to_cpu(e->size); in cached_entry_to_item()
380 hdr->padding_data = cpu_to_le16(le32_to_cpu(hdr->size) - size); in qcom_smem_alloc_private()
412 if (WARN_ON(size > le32_to_cpu(header->available))) in qcom_smem_alloc_global()
496 aux_base = le32_to_cpu(entry->aux_base) & AUX_BASE_MASK; in qcom_smem_get_global()
503 *size = le32_to_cpu(entry->size); in qcom_smem_get_global()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dsmem.c71 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
81 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
86 le32_to_cpu(mem_cfg->rxfifo2_control_size); in iwl_parse_shared_mem_22000()
95 le32_to_cpu(lmac_cfg->txfifo_size[i]); in iwl_parse_shared_mem_22000()
97 le32_to_cpu(lmac_cfg->rxfifo1_size); in iwl_parse_shared_mem_22000()
112 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem()
115 le32_to_cpu(mem_cfg->rxfifo_size[0]); in iwl_parse_shared_mem()
116 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo_size[1]); in iwl_parse_shared_mem()
125 le32_to_cpu(mem_cfg->internal_txfifo_addr); in iwl_parse_shared_mem()
131 le32_to_cpu(mem_cfg->internal_txfifo_size[i]); in iwl_parse_shared_mem()
/kernel/linux/linux-5.10/fs/bfs/
Dinode.c63 inode->i_mode = 0x0000FFFF & le32_to_cpu(di->i_mode); in bfs_iget()
64 if (le32_to_cpu(di->i_vtype) == BFS_VDIR) { in bfs_iget()
68 } else if (le32_to_cpu(di->i_vtype) == BFS_VREG) { in bfs_iget()
75 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); in bfs_iget()
76 BFS_I(inode)->i_eblock = le32_to_cpu(di->i_eblock); in bfs_iget()
78 i_uid_write(inode, le32_to_cpu(di->i_uid)); in bfs_iget()
79 i_gid_write(inode, le32_to_cpu(di->i_gid)); in bfs_iget()
80 set_nlink(inode, le32_to_cpu(di->i_nlink)); in bfs_iget()
83 inode->i_atime.tv_sec = le32_to_cpu(di->i_atime); in bfs_iget()
84 inode->i_mtime.tv_sec = le32_to_cpu(di->i_mtime); in bfs_iget()
[all …]

12345678910>>...57