/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ucode.c | 33 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() 98 le32_to_cpu(gfx_hdr->ucode_feature_version)); in amdgpu_ucode_print_gfx_hdr() [all …]
|
/Linux-v4.19/drivers/gpu/drm/radeon/ |
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-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 131 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 …]
|
D | ppatomctrl.c | 341 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 …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-debug.c | 42 flag = le32_to_cpu(il->_4965.stats.flag); in il4965_stats_flag() 113 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il4965_ucode_rx_stats_read() 117 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il4965_ucode_rx_stats_read() 121 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il4965_ucode_rx_stats_read() 125 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il4965_ucode_rx_stats_read() 129 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il4965_ucode_rx_stats_read() 133 le32_to_cpu(ofdm->early_overrun_err), in il4965_ucode_rx_stats_read() 139 le32_to_cpu(ofdm->crc32_good), accum_ofdm->crc32_good, in il4965_ucode_rx_stats_read() 143 le32_to_cpu(ofdm->false_alarm_cnt), in il4965_ucode_rx_stats_read() 148 le32_to_cpu(ofdm->fina_sync_err_cnt), in il4965_ucode_rx_stats_read() [all …]
|
D | 3945-debug.c | 38 le32_to_cpu(il->_3945.stats.flag)); in il3945_stats_flag() 39 if (le32_to_cpu(il->_3945.stats.flag) & UCODE_STATS_CLEAR_MSK) in il3945_stats_flag() 43 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag() 46 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag() 103 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il3945_ucode_rx_stats_read() 108 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il3945_ucode_rx_stats_read() 113 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il3945_ucode_rx_stats_read() 118 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il3945_ucode_rx_stats_read() 123 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il3945_ucode_rx_stats_read() 128 le32_to_cpu(ofdm->early_overrun_err), in il3945_ucode_rx_stats_read() [all …]
|
/Linux-v4.19/fs/dlm/ |
D | util.c | 35 hd->h_version = le32_to_cpu(hd->h_version); in header_in() 36 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); in header_in() 37 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in() 114 ms->m_type = le32_to_cpu(ms->m_type); in dlm_message_in() 115 ms->m_nodeid = le32_to_cpu(ms->m_nodeid); in dlm_message_in() 116 ms->m_pid = le32_to_cpu(ms->m_pid); in dlm_message_in() 117 ms->m_lkid = le32_to_cpu(ms->m_lkid); in dlm_message_in() 118 ms->m_remid = le32_to_cpu(ms->m_remid); in dlm_message_in() 119 ms->m_parent_lkid = le32_to_cpu(ms->m_parent_lkid); in dlm_message_in() 120 ms->m_parent_remid = le32_to_cpu(ms->m_parent_remid); in dlm_message_in() [all …]
|
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/ |
D | soc15_int.h | 35 #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]))
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_rxdesc.c | 77 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 …]
|
/Linux-v4.19/fs/squashfs/ |
D | inode.c | 74 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode() 75 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode() 153 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 155 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 168 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 175 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 196 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 198 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 210 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode() 211 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() [all …]
|
/Linux-v4.19/fs/hpfs/ |
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() 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 …]
|
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 …]
|
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 …]
|
D | super.c | 157 c = hpfs_count_one_bitmap(s, le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[n])); in count_bitmaps() 601 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super() 602 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { in hpfs_fill_super() 623 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super() 624 sbi->sb_fs_size = le32_to_cpu(superblock->n_sectors); in hpfs_fill_super() 625 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super() 626 sbi->sb_dirband_start = le32_to_cpu(superblock->dir_band_start); in hpfs_fill_super() 627 sbi->sb_dirband_size = le32_to_cpu(superblock->n_dir_band); in hpfs_fill_super() 628 sbi->sb_dmap = le32_to_cpu(superblock->dir_band_bitmap); in hpfs_fill_super() 655 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super() [all …]
|
/Linux-v4.19/block/partitions/ |
D | efi.c | 162 if (le32_to_cpu(part->starting_lba) != GPT_PRIMARY_PARTITION_TABLE_LBA) in pmbr_part_valid() 231 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba); in is_pmbr_valid() 296 count = (size_t)le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries() 297 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries() 372 if (le32_to_cpu((*gpt)->header_size) > in is_gpt_valid() 375 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 381 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { in is_gpt_valid() 383 le32_to_cpu((*gpt)->header_size), in is_gpt_valid() 389 origcrc = le32_to_cpu((*gpt)->header_crc32); in is_gpt_valid() 391 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); in is_gpt_valid() [all …]
|
/Linux-v4.19/crypto/ |
D | tea.c | 53 ctx->KEY[0] = le32_to_cpu(key[0]); in tea_setkey() 54 ctx->KEY[1] = le32_to_cpu(key[1]); in tea_setkey() 55 ctx->KEY[2] = le32_to_cpu(key[2]); in tea_setkey() 56 ctx->KEY[3] = le32_to_cpu(key[3]); in tea_setkey() 70 y = le32_to_cpu(in[0]); in tea_encrypt() 71 z = le32_to_cpu(in[1]); in tea_encrypt() 98 y = le32_to_cpu(in[0]); in tea_decrypt() 99 z = le32_to_cpu(in[1]); in tea_decrypt() 126 ctx->KEY[0] = le32_to_cpu(key[0]); in xtea_setkey() 127 ctx->KEY[1] = le32_to_cpu(key[1]); in xtea_setkey() [all …]
|
/Linux-v4.19/drivers/mtd/parsers/ |
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 …]
|
/Linux-v4.19/drivers/soc/qcom/ |
D | smem.c | 288 return p + le32_to_cpu(phdr->offset_free_uncached); in phdr_to_last_uncached_entry() 298 return p + le32_to_cpu(phdr->size) - ALIGN(sizeof(*e), cacheline); in phdr_to_first_cached_entry() 306 return p + le32_to_cpu(phdr->offset_free_cached); in phdr_to_last_cached_entry() 323 le32_to_cpu(e->size); in uncached_entry_next() 331 return p - le32_to_cpu(e->size) - ALIGN(sizeof(*e), cacheline); in cached_entry_next() 345 return p - le32_to_cpu(e->size); in cached_entry_to_item() 386 hdr->padding_data = cpu_to_le16(le32_to_cpu(hdr->size) - size); in qcom_smem_alloc_private() 418 if (WARN_ON(size > le32_to_cpu(header->available))) in qcom_smem_alloc_global() 502 aux_base = le32_to_cpu(entry->aux_base) & AUX_BASE_MASK; in qcom_smem_get_global() 509 *size = le32_to_cpu(entry->size); in qcom_smem_get_global() [all …]
|
/Linux-v4.19/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 36 wil_err_fw(wil, "bad %s: 0x%08x\n", msg, le32_to_cpu(val)); in wil_fw_addr_check() 76 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify() 92 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { in wil_fw_verify() 94 le32_to_cpu(fh_->signature)); in wil_fw_verify() 99 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { in wil_fw_verify() 101 le32_to_cpu(fh_->version)); in wil_fw_verify() 115 if (crc != le32_to_cpu(fh_->crc)) { in wil_fw_verify() 118 (ulong)dlen, crc, le32_to_cpu(fh_->crc)); in wil_fw_verify() 165 wil->brd_file_addr = le32_to_cpu(rec->base_addr); in fw_handle_brd_file() 166 wil->brd_file_max_size = le32_to_cpu(rec->max_size_bytes); in fw_handle_brd_file() [all …]
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac4_descs.c | 26 tdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_tx_status() 80 unsigned int rdes1 = le32_to_cpu(p->des1); in dwmac4_wrback_get_rx_status() 81 unsigned int rdes2 = le32_to_cpu(p->des2); in dwmac4_wrback_get_rx_status() 82 unsigned int rdes3 = le32_to_cpu(p->des3); in dwmac4_wrback_get_rx_status() 179 return (le32_to_cpu(p->des2) & TDES2_BUFFER1_SIZE_MASK); in dwmac4_rd_get_tx_len() 184 return (le32_to_cpu(p->des3) & TDES3_OWN) >> TDES3_OWN_SHIFT; in dwmac4_get_tx_owner() 202 return (le32_to_cpu(p->des3) & TDES3_LAST_DESCRIPTOR) in dwmac4_get_tx_ls() 208 return (le32_to_cpu(p->des3) & RDES3_PACKET_SIZE_MASK); in dwmac4_wrback_get_rx_frame_len() 219 if (le32_to_cpu(p->des3) & TDES3_CONTEXT_TYPE) in dwmac4_wrback_get_tx_timestamp_status() 223 if (le32_to_cpu(p->des3) & TDES3_TIMESTAMP_STATUS) in dwmac4_wrback_get_tx_timestamp_status() [all …]
|
D | norm_desc.c | 29 unsigned int tdes0 = le32_to_cpu(p->des0); in ndesc_get_tx_status() 30 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_get_tx_status() 76 return (le32_to_cpu(p->des1) & RDES1_BUFFER1_SIZE_MASK); in ndesc_get_tx_len() 87 unsigned int rdes0 = le32_to_cpu(p->des0); in ndesc_get_rx_status() 163 return (le32_to_cpu(p->des0) & TDES0_OWN) >> 31; in ndesc_get_tx_owner() 178 return (le32_to_cpu(p->des1) & TDES1_LAST_SEGMENT) >> 30; in ndesc_get_tx_ls() 183 int ter = (le32_to_cpu(p->des1) & TDES1_END_RING) >> 25; in ndesc_release_tx_desc() 196 unsigned int tdes1 = le32_to_cpu(p->des1); in ndesc_prepare_tx_desc() 240 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in ndesc_get_rx_frame_len() 253 return (le32_to_cpu(p->des0) & TDES0_TIME_STAMP_STATUS) >> 17; in ndesc_get_tx_timestamp_status() [all …]
|
D | enh_desc.c | 29 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_get_tx_status() 94 return (le32_to_cpu(p->des1) & ETDES1_BUFFER1_SIZE_MASK); in enh_desc_get_tx_len() 133 unsigned int rdes0 = le32_to_cpu(p->basic.des0); in enh_desc_get_ext_status() 134 unsigned int rdes4 = le32_to_cpu(p->des4); in enh_desc_get_ext_status() 198 unsigned int rdes0 = le32_to_cpu(p->des0); in enh_desc_get_rx_status() 287 return (le32_to_cpu(p->des0) & ETDES0_OWN) >> 31; in enh_desc_get_tx_owner() 302 return (le32_to_cpu(p->des0) & ETDES0_LAST_SEGMENT) >> 29; in enh_desc_get_tx_ls() 307 int ter = (le32_to_cpu(p->des0) & ETDES0_END_RING) >> 21; in enh_desc_release_tx_desc() 320 unsigned int tdes0 = le32_to_cpu(p->des0); in enh_desc_prepare_tx_desc() 371 return (((le32_to_cpu(p->des0) & RDES0_FRAME_LEN_MASK) in enh_desc_get_rx_frame_len() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/ |
D | smem.c | 73 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() 89 le32_to_cpu(lmac_cfg->txfifo_size[i]); in iwl_parse_shared_mem_22000() 91 le32_to_cpu(lmac_cfg->rxfifo1_size); in iwl_parse_shared_mem_22000() 106 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem() 109 le32_to_cpu(mem_cfg->rxfifo_size[0]); in iwl_parse_shared_mem() 110 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo_size[1]); in iwl_parse_shared_mem() 119 le32_to_cpu(mem_cfg->internal_txfifo_addr); in iwl_parse_shared_mem() 125 le32_to_cpu(mem_cfg->internal_txfifo_size[i]); in iwl_parse_shared_mem()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | time-event.c | 269 u32 trig_te_id = le32_to_cpu(te_trig->time_events[i].id); in iwl_mvm_te_check_trigger() 271 le32_to_cpu(te_trig->time_events[i].action_bitmap); in iwl_mvm_te_check_trigger() 273 le32_to_cpu(te_trig->time_events[i].status_bitmap); in iwl_mvm_te_check_trigger() 276 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger() 277 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger() 283 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger() 284 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger() 303 le32_to_cpu(notif->unique_id), in iwl_mvm_te_handle_notif() 304 le32_to_cpu(notif->action)); in iwl_mvm_te_handle_notif() 316 if (!le32_to_cpu(notif->status)) { in iwl_mvm_te_handle_notif() [all …]
|
/Linux-v4.19/fs/bfs/ |
D | inode.c | 63 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 …]
|