Home
last modified time | relevance | path

Searched refs:le32_to_cpu (Results 1 – 200 of 1028) sorted by relevance

123456

/linux-4.4.14/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()
98 le32_to_cpu(gfx_hdr->ucode_feature_version)); in amdgpu_ucode_print_gfx_hdr()
[all …]
Damdgpu_atombios.c574 le32_to_cpu(firmware_info->info_12.ulMinPixelClockPLL_Output); in amdgpu_atombios_get_clock_info()
576 le32_to_cpu(firmware_info->info.ulMaxPixelClockPLL_Output); in amdgpu_atombios_get_clock_info()
621 le32_to_cpu(firmware_info->info.ulMaxEngineClockPLL_Output); in amdgpu_atombios_get_clock_info()
648 le32_to_cpu(firmware_info->info.ulMaxMemoryClockPLL_Output); in amdgpu_atombios_get_clock_info()
660 le32_to_cpu(firmware_info->info.ulDefaultEngineClock); in amdgpu_atombios_get_clock_info()
662 le32_to_cpu(firmware_info->info.ulDefaultMemoryClock); in amdgpu_atombios_get_clock_info()
674 le32_to_cpu(firmware_info->info_21.ulDefaultDispEngineClkFreq); in amdgpu_atombios_get_clock_info()
851 (clock <= le32_to_cpu(ss_assign->v1.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
869 (clock <= le32_to_cpu(ss_assign->v2.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
891 (clock <= le32_to_cpu(ss_assign->v3.ulTargetClockRange))) { in amdgpu_atombios_get_asic_ss_info()
[all …]
Dci_smc.c223 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_ci_load_smc_ucode()
224 ucode_start_address = le32_to_cpu(hdr->ucode_start_addr); in amdgpu_ci_load_smc_ucode()
225 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_ci_load_smc_ucode()
227 (adev->pm.fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_ci_load_smc_ucode()
Dtonga_ih.c202 wptr = le32_to_cpu(adev->irq.ih.ring[adev->irq.ih.wptr_offs]); in tonga_ih_get_wptr()
204 wptr = le32_to_cpu(adev->wb.wb[adev->irq.ih.wptr_offs]); in tonga_ih_get_wptr()
237 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in tonga_ih_decode_iv()
238 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in tonga_ih_decode_iv()
239 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in tonga_ih_decode_iv()
240 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in tonga_ih_decode_iv()
Dcik_ih.c191 wptr = le32_to_cpu(adev->wb.wb[adev->irq.ih.wptr_offs]); in cik_ih_get_wptr()
247 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cik_ih_decode_iv()
248 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cik_ih_decode_iv()
249 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cik_ih_decode_iv()
250 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cik_ih_decode_iv()
Damdgpu_cgs.c683 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
687 gpu_addr += le32_to_cpu(header->jt_offset) << 2; in amdgpu_cgs_get_firmware_info()
688 data_size = le32_to_cpu(header->jt_size) << 2; in amdgpu_cgs_get_firmware_info()
692 info->version = (uint16_t)le32_to_cpu(header->header.ucode_version); in amdgpu_cgs_get_firmware_info()
693 info->feature_version = (uint16_t)le32_to_cpu(header->ucode_feature_version); in amdgpu_cgs_get_firmware_info()
726 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
727 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
728 ucode_start_address = le32_to_cpu(hdr->ucode_start_addr); in amdgpu_cgs_get_firmware_info()
730 le32_to_cpu(hdr->header.ucode_array_offset_bytes)); in amdgpu_cgs_get_firmware_info()
Dcz_ih.c193 wptr = le32_to_cpu(adev->wb.wb[adev->irq.ih.wptr_offs]); in cz_ih_get_wptr()
226 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cz_ih_decode_iv()
227 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cz_ih_decode_iv()
228 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cz_ih_decode_iv()
229 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cz_ih_decode_iv()
Diceland_ih.c193 wptr = le32_to_cpu(adev->wb.wb[adev->irq.ih.wptr_offs]); in iceland_ih_get_wptr()
226 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in iceland_ih_decode_iv()
227 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in iceland_ih_decode_iv()
228 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in iceland_ih_decode_iv()
229 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in iceland_ih_decode_iv()
Damdgpu_dpm.c295 adev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); in amdgpu_get_platform_caps()
458 adev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); in amdgpu_parse_extended_power_table()
459 adev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); in amdgpu_parse_extended_power_table()
467 adev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); in amdgpu_parse_extended_power_table()
468 adev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); in amdgpu_parse_extended_power_table()
495 le32_to_cpu(entry->ulLeakageValue); in amdgpu_parse_extended_power_table()
650 le32_to_cpu(ppm->ulPlatformTDP); in amdgpu_parse_extended_power_table()
652 le32_to_cpu(ppm->ulSmallACPlatformTDP); in amdgpu_parse_extended_power_table()
654 le32_to_cpu(ppm->ulPlatformTDC); in amdgpu_parse_extended_power_table()
656 le32_to_cpu(ppm->ulSmallACPlatformTDC); in amdgpu_parse_extended_power_table()
[all …]
/linux-4.4.14/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 …]
Dvce_v1_0.c181 for (i = 0; i < le32_to_cpu(sign->num); ++i) { in vce_v1_0_load_fw()
182 if (le32_to_cpu(sign->val[i].chip_id) == chip_id) in vce_v1_0_load_fw()
186 if (i == le32_to_cpu(sign->num)) in vce_v1_0_load_fw()
194 data[4] = cpu_to_le32(le32_to_cpu(sign->len) + 64); in vce_v1_0_load_fw()
199 data += le32_to_cpu(data[4]) / 4; in vce_v1_0_load_fw()
205 rdev->vce.keyselect = le32_to_cpu(sign->val[i].keyselect); in vce_v1_0_load_fw()
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D4965-debug.c42 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 …]
D3945-debug.c38 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 …]
D4965-calib.c522 rx_enable_time = le32_to_cpu(rx_info->channel_load); in il4965_sensitivity_calibration()
523 fa_cck = le32_to_cpu(cck->false_alarm_cnt); in il4965_sensitivity_calibration()
524 fa_ofdm = le32_to_cpu(ofdm->false_alarm_cnt); in il4965_sensitivity_calibration()
525 bad_plcp_cck = le32_to_cpu(cck->plcp_err); in il4965_sensitivity_calibration()
526 bad_plcp_ofdm = le32_to_cpu(ofdm->plcp_err); in il4965_sensitivity_calibration()
529 le32_to_cpu(rx_info->beacon_silence_rssi_a); in il4965_sensitivity_calibration()
531 le32_to_cpu(rx_info->beacon_silence_rssi_b); in il4965_sensitivity_calibration()
533 le32_to_cpu(rx_info->beacon_silence_rssi_c); in il4965_sensitivity_calibration()
534 statis.beacon_energy_a = le32_to_cpu(rx_info->beacon_energy_a); in il4965_sensitivity_calibration()
535 statis.beacon_energy_b = le32_to_cpu(rx_info->beacon_energy_b); in il4965_sensitivity_calibration()
[all …]
D4965.c63 if (val != le32_to_cpu(*image)) { in il4965_verify_inst_sparse()
96 if (val != le32_to_cpu(*image)) { in il4965_verify_inst_full()
99 save_len - len, val, le32_to_cpu(*image)); in il4965_verify_inst_full()
295 if (val != le32_to_cpu(*image)) { in il4965_verify_bsm()
299 len, val, le32_to_cpu(*image)); in il4965_verify_bsm()
383 _il_wr_prph(il, reg_offset, le32_to_cpu(*image)); in il4965_load_bsm()
500 le32_to_cpu(rxon_flags & RXON_FLG_CHANNEL_MODE_MSK) >> in iw4965_is_ht40_channel()
1113 init_voltage = (s32) le32_to_cpu(il->card_alive_init.voltage); in il4965_fill_txpower_tbl()
1194 (s32) le32_to_cpu(il->card_alive_init. in il4965_fill_txpower_tbl()
1587 R1 = (s32) le32_to_cpu(il->card_alive_init.therm_r1[1]); in il4965_hw_get_temperature()
[all …]
/linux-4.4.14/fs/dlm/
Dutil.c35 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-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188e_rxdesc.c91 pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ in update_recvframe_attrib_88e()
94 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ in update_recvframe_attrib_88e()
97 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x00003fff);/* u16)prxreport->pktlen; */ in update_recvframe_attrib_88e()
98 …pattrib->drvinfo_sz = (u8)((le32_to_cpu(report.rxdw0) >> 16) & 0xf) * 8;/* u8)(prxreport->drvinfos… in update_recvframe_attrib_88e()
100 pattrib->physt = (u8)((le32_to_cpu(report.rxdw0) >> 26) & 0x1);/* u8)prxreport->physt; */ in update_recvframe_attrib_88e()
102 …pattrib->bdecrypted = (le32_to_cpu(report.rxdw0) & BIT(27)) ? 0 : 1;/* u8)(prxreport->swdec ? 0 : … in update_recvframe_attrib_88e()
103 pattrib->encrypt = (u8)((le32_to_cpu(report.rxdw0) >> 20) & 0x7);/* u8)prxreport->security; */ in update_recvframe_attrib_88e()
105 pattrib->qos = (u8)((le32_to_cpu(report.rxdw0) >> 23) & 0x1);/* u8)prxreport->qos; */ in update_recvframe_attrib_88e()
106 pattrib->priority = (u8)((le32_to_cpu(report.rxdw1) >> 8) & 0xf);/* u8)prxreport->tid; */ in update_recvframe_attrib_88e()
108 pattrib->amsdu = (u8)((le32_to_cpu(report.rxdw1) >> 13) & 0x1);/* u8)prxreport->amsdu; */ in update_recvframe_attrib_88e()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcommon.c64 ri->vendorid = le32_to_cpu(revinfo.vendorid); in brcmf_c_preinit_dcmds()
65 ri->deviceid = le32_to_cpu(revinfo.deviceid); in brcmf_c_preinit_dcmds()
66 ri->radiorev = le32_to_cpu(revinfo.radiorev); in brcmf_c_preinit_dcmds()
67 ri->chiprev = le32_to_cpu(revinfo.chiprev); in brcmf_c_preinit_dcmds()
68 ri->corerev = le32_to_cpu(revinfo.corerev); in brcmf_c_preinit_dcmds()
69 ri->boardid = le32_to_cpu(revinfo.boardid); in brcmf_c_preinit_dcmds()
70 ri->boardvendor = le32_to_cpu(revinfo.boardvendor); in brcmf_c_preinit_dcmds()
71 ri->boardrev = le32_to_cpu(revinfo.boardrev); in brcmf_c_preinit_dcmds()
72 ri->driverrev = le32_to_cpu(revinfo.driverrev); in brcmf_c_preinit_dcmds()
73 ri->ucoderev = le32_to_cpu(revinfo.ucoderev); in brcmf_c_preinit_dcmds()
[all …]
Dbcdc.c153 } while (BCDC_DCMD_ID(le32_to_cpu(bcdc->msg.flags)) != id); in brcmf_proto_bcdc_cmplt()
183 flags = le32_to_cpu(msg->flags); in brcmf_proto_bcdc_query_dcmd()
207 ret = le32_to_cpu(msg->status); in brcmf_proto_bcdc_query_dcmd()
232 flags = le32_to_cpu(msg->flags); in brcmf_proto_bcdc_set_dcmd()
244 ret = le32_to_cpu(msg->status); in brcmf_proto_bcdc_set_dcmd()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dfw_inc.c33 le32_to_cpu(val)); \
72 dlen = le32_to_cpu(fh_->data_len); in wil_fw_verify()
88 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { in wil_fw_verify()
90 le32_to_cpu(fh_->signature)); in wil_fw_verify()
95 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { in wil_fw_verify()
97 le32_to_cpu(fh_->version)); in wil_fw_verify()
111 if (crc != le32_to_cpu(fh_->crc)) { in wil_fw_verify()
114 (ulong)dlen, crc, le32_to_cpu(fh_->crc)); in wil_fw_verify()
142 wil_dbg_fw(wil, "write [0x%08x] <== %zu bytes\n", le32_to_cpu(d->addr), in fw_handle_data()
156 size_t s = (size_t)le32_to_cpu(d->size); in fw_handle_fill()
[all …]
/linux-4.4.14/fs/squashfs/
Dinode.c73 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode()
74 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode()
152 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
154 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
167 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
174 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode()
195 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode()
197 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
209 xattr_id = le32_to_cpu(sqsh_ino->xattr); in squashfs_read_inode()
210 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode()
[all …]
Dnamei.c106 size = le32_to_cpu(index->size) + 1; in get_dir_index_using_name()
120 length = le32_to_cpu(index->index); in get_dir_index_using_name()
121 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name()
182 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_lookup()
215 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup()
217 ino_num = le32_to_cpu(dirh.inode_number) + in squashfs_lookup()
Ddir.c78 index = le32_to_cpu(dir_index.index); in get_dir_index_using_offset()
85 size = le32_to_cpu(dir_index.size) + 1; in get_dir_index_using_offset()
97 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset()
174 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_readdir()
205 inode_number = le32_to_cpu(dirh.inode_number) + in squashfs_readdir()
Dxattr_id.c57 *size = le32_to_cpu(id.size); in squashfs_xattr_lookup()
58 *count = le32_to_cpu(id.count); in squashfs_xattr_lookup()
77 *xattr_ids = le32_to_cpu(id_table->xattr_ids); in squashfs_read_xattr_id_table()
/linux-4.4.14/fs/hpfs/
Danode.c25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup()
26 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup()
37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup()
38le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup()
39 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup()
46 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup()
47 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup()
48 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup()
86 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree()
97 …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.c26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_map_bitmap()
42 to_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); in hpfs_prefetch_bitmap()
46 next_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block + 1]); in hpfs_prefetch_bitmap()
67 if (le32_to_cpu(cp->magic) != CP_DIR_MAGIC) { in hpfs_load_code_page()
69 le32_to_cpu(cp->magic)); in hpfs_load_code_page()
73 if (!le32_to_cpu(cp->n_code_pages)) { in hpfs_load_code_page()
78 cpds = le32_to_cpu(cp->array[0].code_page_data); in hpfs_load_code_page()
140 n_hotfixes = le32_to_cpu(spareblock->n_spares); in hpfs_load_hotfix_map()
141 n_used_hotfixes = le32_to_cpu(spareblock->n_spares_used); in hpfs_load_hotfix_map()
147 if (!(directory = hpfs_map_4sectors(s, le32_to_cpu(spareblock->hotfix_map), &qbh, 0))) { in hpfs_load_hotfix_map()
[all …]
Dea.c92 a = le32_to_cpu(fnode->ea_secno); in hpfs_read_ea()
93 len = le32_to_cpu(fnode->ea_size_l); in hpfs_read_ea()
149 a = le32_to_cpu(fnode->ea_secno); in hpfs_get_ea()
150 len = le32_to_cpu(fnode->ea_size_l); in hpfs_get_ea()
210 a = le32_to_cpu(fnode->ea_secno); in hpfs_set_ea()
211 len = le32_to_cpu(fnode->ea_size_l); in hpfs_set_ea()
252 if ((le16_to_cpu(fnode->ea_size_s) || !le32_to_cpu(fnode->ea_size_l)) && in hpfs_set_ea()
266 if (le16_to_cpu(fnode->ea_size_s) && !le32_to_cpu(fnode->ea_size_l)) { in hpfs_set_ea()
283 pos = le32_to_cpu(fnode->ea_size_l) + 5 + strlen(key) + size; in hpfs_set_ea()
284 len = (le32_to_cpu(fnode->ea_size_l) + 511) >> 9; in hpfs_set_ea()
[all …]
Dsuper.c157 c = hpfs_count_one_bitmap(s, le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[n])); in count_bitmaps()
602 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC in hpfs_fill_super()
603 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { in hpfs_fill_super()
625 sbi->sb_root = le32_to_cpu(superblock->root); in hpfs_fill_super()
626 sbi->sb_fs_size = le32_to_cpu(superblock->n_sectors); in hpfs_fill_super()
627 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); in hpfs_fill_super()
628 sbi->sb_dirband_start = le32_to_cpu(superblock->dir_band_start); in hpfs_fill_super()
629 sbi->sb_dirband_size = le32_to_cpu(superblock->n_dir_band); in hpfs_fill_super()
630 sbi->sb_dmap = le32_to_cpu(superblock->dir_band_bitmap); in hpfs_fill_super()
657 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) in hpfs_fill_super()
[all …]
Ddnode.c17 if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i; in get_pos()
21 return ((loff_t)le32_to_cpu(d->self) << 4) | (loff_t)1; in get_pos()
140 hpfs_error(s, "set_last_pointer: empty dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
146 le32_to_cpu(d->self), de_down_pointer(de)); in set_last_pointer()
150 hpfs_error(s, "set_last_pointer: bad last dirent in dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
156 if (le32_to_cpu(d->first_free) > 2048) { in set_last_pointer()
157 hpfs_error(s, "set_last_pointer: too long dnode %08x", le32_to_cpu(d->self)); in set_last_pointer()
179 hpfs_error(s, "name (%c,%d) already exists in dnode %08x", *name, namelen, le32_to_cpu(d->self)); in hpfs_add_de()
204 hpfs_error(s, "attempt to delete last dirent in dnode %08x", le32_to_cpu(d->self)); in hpfs_delete_de()
207 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length)); in hpfs_delete_de()
[all …]
Ddir.c97 if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { in hpfs_readdir()
99 …pted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dno, le32_to_cpu(fno->u.external… in hpfs_readdir()
167 if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) { in hpfs_readdir()
232 ino = le32_to_cpu(de->fnode); in hpfs_lookup()
247 else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas) in hpfs_lookup()
272 if (!(result->i_ctime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->creation_date)))) in hpfs_lookup()
275 result->i_mtime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->write_date)); in hpfs_lookup()
277 result->i_atime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->read_date)); in hpfs_lookup()
279 hpfs_result->i_ea_size = le32_to_cpu(de->ea_size); in hpfs_lookup()
284 result->i_size = le32_to_cpu(de->file_size); in hpfs_lookup()
Dhpfs_fn.h109 return le32_to_cpu(*(__le32 *) ((void *) de + le16_to_cpu(de->length) - 4)); in de_down_pointer()
123 …ND(le32_to_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end… in dnode_end_de()
124 return (void *) dnode + le32_to_cpu(dnode->first_free); in dnode_end_de()
157 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); in ea_sec()
162 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); in ea_len()
191 if (!((le32_to_cpu(bmp[(b & 0x3fff) >> 5]) >> (b & 0x1f)) & 1)) return 1; in tstbits()
193 if (!((le32_to_cpu(bmp[((b+i) & 0x3fff) >> 5]) >> ((b+i) & 0x1f)) & 1)) in tstbits()
Dalloc.c73 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { in chk_if_allocated()
81 if ((le32_to_cpu(bmp[ssec >> 5]) >> (ssec & 0x1f)) & 1) { in chk_if_allocated()
156 if (!le32_to_cpu(bmp[i])) goto cont; in alloc_in_bmp()
157 if (n + forward >= 0x3f && le32_to_cpu(bmp[i]) != 0xffffffff) goto cont; in alloc_in_bmp()
160 unsigned k = le32_to_cpu(bmp[i-1]); in alloc_in_bmp()
180 …if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (le32_to_cpu(bmp[(ret & 0x3fff) >> 5]) | ~… in alloc_in_bmp()
300 if (le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) & (1 << (sec & 0x1f))) { in hpfs_alloc_if_possible()
332 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f) & 1)) { in hpfs_free_sectors()
368 if (!le32_to_cpu(bmp[j])) continue; in hpfs_check_free_dnodes()
369 for (k = le32_to_cpu(bmp[j]); k; k >>= 1) if (k & 1) if (!--n) { in hpfs_check_free_dnodes()
[all …]
/linux-4.4.14/block/partitions/
Defi.c162 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 = 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 …]
Dacorn.c45 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition()
46 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition()
101 le32_to_cpu(rr->part[part].start), in riscix_partition()
102 le32_to_cpu(rr->part[part].length)); in riscix_partition()
153 le32_to_cpu(linuxp->start_sect), in linux_partition()
154 le32_to_cpu(linuxp->nr_sects)); in linux_partition()
341 sum -= le32_to_cpu(*(__le32 *)(&data[508])); in valid_ics_sector()
378 u32 start = le32_to_cpu(p->start); in adfspart_check_ICS()
379 s32 size = le32_to_cpu(p->size); /* yes, it's signed. */ in adfspart_check_ICS()
472 u32 start = le32_to_cpu(p->start); in adfspart_check_POWERTEC()
[all …]
Dosf.c61 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { in osf_partition()
65 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { in osf_partition()
77 if (le32_to_cpu(partition->p_size)) in osf_partition()
79 le32_to_cpu(partition->p_offset), in osf_partition()
80 le32_to_cpu(partition->p_size)); in osf_partition()
Dmsdos.c227 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { in parse_solaris_x86()
237 if (le32_to_cpu(v->v_version) != 1) { in parse_solaris_x86()
241 le32_to_cpu(v->v_version)); in parse_solaris_x86()
259 le32_to_cpu(s->s_start)+offset, in parse_solaris_x86()
260 le32_to_cpu(s->s_size)); in parse_solaris_x86()
284 if (le32_to_cpu(l->d_magic) != BSD_DISKMAGIC) { in parse_bsd()
301 bsd_start = le32_to_cpu(p->p_offset); in parse_bsd()
302 bsd_size = le32_to_cpu(p->p_size); in parse_bsd()
362 if (le32_to_cpu(l->d_magic) != UNIXWARE_DISKMAGIC || in parse_unixware()
363 le32_to_cpu(l->vtoc.v_magic) != UNIXWARE_DISKMAGIC2) { in parse_unixware()
[all …]
Dkarma.c48 if (p->p_fstype == 0x4d && le32_to_cpu(p->p_size)) { in karma_partition()
49 put_partition(state, slot, le32_to_cpu(p->p_offset), in karma_partition()
50 le32_to_cpu(p->p_size)); in karma_partition()
/linux-4.4.14/crypto/
Dtea.c53 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 …]
Daes_generic.c1228 ctx->key_dec[key_len + 24] = ctx->key_enc[0] = le32_to_cpu(key[0]); in crypto_aes_expand_key()
1229 ctx->key_dec[key_len + 25] = ctx->key_enc[1] = le32_to_cpu(key[1]); in crypto_aes_expand_key()
1230 ctx->key_dec[key_len + 26] = ctx->key_enc[2] = le32_to_cpu(key[2]); in crypto_aes_expand_key()
1231 ctx->key_dec[key_len + 27] = ctx->key_enc[3] = le32_to_cpu(key[3]); in crypto_aes_expand_key()
1241 ctx->key_enc[4] = le32_to_cpu(key[4]); in crypto_aes_expand_key()
1242 t = ctx->key_enc[5] = le32_to_cpu(key[5]); in crypto_aes_expand_key()
1248 ctx->key_enc[4] = le32_to_cpu(key[4]); in crypto_aes_expand_key()
1249 ctx->key_enc[5] = le32_to_cpu(key[5]); in crypto_aes_expand_key()
1250 ctx->key_enc[6] = le32_to_cpu(key[6]); in crypto_aes_expand_key()
1251 t = ctx->key_enc[7] = le32_to_cpu(key[7]); in crypto_aes_expand_key()
[all …]
Dserpent_generic.c251 r0 = le32_to_cpu(k[3]); in __serpent_setkey()
252 r1 = le32_to_cpu(k[4]); in __serpent_setkey()
253 r2 = le32_to_cpu(k[5]); in __serpent_setkey()
254 r3 = le32_to_cpu(k[6]); in __serpent_setkey()
255 r4 = le32_to_cpu(k[7]); in __serpent_setkey()
257 keyiter(le32_to_cpu(k[0]), r0, r4, r2, 0, 0); in __serpent_setkey()
258 keyiter(le32_to_cpu(k[1]), r1, r0, r3, 1, 1); in __serpent_setkey()
259 keyiter(le32_to_cpu(k[2]), r2, r1, r4, 2, 2); in __serpent_setkey()
260 keyiter(le32_to_cpu(k[3]), r3, r2, r0, 3, 3); in __serpent_setkey()
261 keyiter(le32_to_cpu(k[4]), r4, r3, r1, 4, 4); in __serpent_setkey()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dtime-event.c251 u32 trig_te_id = le32_to_cpu(te_trig->time_events[i].id); in iwl_mvm_te_check_trigger()
253 le32_to_cpu(te_trig->time_events[i].action_bitmap); in iwl_mvm_te_check_trigger()
255 le32_to_cpu(te_trig->time_events[i].status_bitmap); in iwl_mvm_te_check_trigger()
258 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_check_trigger()
259 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_check_trigger()
265 le32_to_cpu(notif->action), in iwl_mvm_te_check_trigger()
266 le32_to_cpu(notif->status)); in iwl_mvm_te_check_trigger()
285 le32_to_cpu(notif->unique_id), in iwl_mvm_te_handle_notif()
286 le32_to_cpu(notif->action)); in iwl_mvm_te_handle_notif()
298 if (!le32_to_cpu(notif->status)) { in iwl_mvm_te_handle_notif()
[all …]
Dfw.c388 le32_to_cpu(item_resp->item_id)); in iwl_trans_get_paging_item()
399 mvm->trans->paging_req_addr = le32_to_cpu(item_resp->item_val); in iwl_trans_get_paging_item()
426 le32_to_cpu(palive1->error_event_table_ptr); in iwl_alive_fn()
428 le32_to_cpu(palive1->log_event_table_ptr); in iwl_alive_fn()
429 alive_data->scd_base_addr = le32_to_cpu(palive1->scd_base_ptr); in iwl_alive_fn()
441 le32_to_cpu(palive2->error_event_table_ptr); in iwl_alive_fn()
443 le32_to_cpu(palive2->log_event_table_ptr); in iwl_alive_fn()
444 alive_data->scd_base_addr = le32_to_cpu(palive2->scd_base_ptr); in iwl_alive_fn()
446 le32_to_cpu(palive2->error_info_addr); in iwl_alive_fn()
447 mvm->sf_space.addr = le32_to_cpu(palive2->st_fwrd_addr); in iwl_alive_fn()
[all …]
Dquota.c156 u32 id_n_c = le32_to_cpu(cmd->quotas[i].id_and_color); in iwl_mvm_adjust_quota_for_noa()
158 u32 quota = le32_to_cpu(cmd->quotas[i].quota); in iwl_mvm_adjust_quota_for_noa()
167 le32_to_cpu(cmd->quotas[i].quota), quota); in iwl_mvm_adjust_quota_for_noa()
275 WARN_ONCE(le32_to_cpu(cmd.quotas[idx].quota) > QUOTA_100, in iwl_mvm_update_quotas()
277 idx, le32_to_cpu(cmd.quotas[idx].quota), QUOTA_100); in iwl_mvm_update_quotas()
286 if (le32_to_cpu(cmd.quotas[i].quota) != 0) { in iwl_mvm_update_quotas()
303 if (abs((int)le32_to_cpu(cmd.quotas[i].quota) - in iwl_mvm_update_quotas()
304 (int)le32_to_cpu(last->quotas[i].quota)) in iwl_mvm_update_quotas()
Dpower.c88 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd()
90 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
92 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd()
94 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd()
96 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
98 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
100 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
102 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd()
104 le32_to_cpu(cmd->bf_temp_threshold)); in iwl_mvm_beacon_filter_send_cmd()
106 le32_to_cpu(cmd->bf_temp_fast_filter)); in iwl_mvm_beacon_filter_send_cmd()
[all …]
Dcoex.c394 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); in iwl_get_coex_type()
396 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); in iwl_get_coex_type()
399 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); in iwl_get_coex_type()
401 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); in iwl_get_coex_type()
558 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_iterator()
629 le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF) { in iwl_mvm_bt_notif_iterator()
743 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_rx_bt_coex_notif()
745 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_rx_bt_coex_notif()
747 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_rx_bt_coex_notif()
781 if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF) in iwl_mvm_bt_rssi_event()
[all …]
Drx.c148 le32_to_cpu(phy_info->non_cfg_phy[IWL_RX_INFO_ENERGY_ANT_ABC_IDX]); in iwl_mvm_get_signal_strength()
312 rate_n_flags = le32_to_cpu(phy_info->rate_n_flags); in iwl_mvm_rx_rx_mpdu()
316 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); in iwl_mvm_rx_rx_mpdu()
363 rssi = le32_to_cpu(rssi_trig->rssi); in iwl_mvm_rx_rx_mpdu()
467 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator()
476 le32_to_cpu(data->general->beacon_counter[mvmvif->id]); in iwl_mvm_stat_iterator()
557 trig_offset = le32_to_cpu(trig_stats->stop_offset); in iwl_mvm_rx_stats_check_trigger()
558 trig_thold = le32_to_cpu(trig_stats->stop_threshold); in iwl_mvm_rx_stats_check_trigger()
581 temperature = le32_to_cpu(stats->general.radio_temperature); in iwl_mvm_handle_rx_statistics()
Dmac-ctxt.c761 le32_to_cpu(cmd->action), ret); in iwl_mvm_mac_ctxt_send_cmd()
821 le32_to_cpu(ctxt_sta->dtim_time), in iwl_mvm_mac_ctxt_cmd_sta()
1347 mvm->ap_last_beacon_gp2 = le32_to_cpu(beacon->gp2); in iwl_mvm_rx_beacon_notif()
1355 le32_to_cpu(beacon_notify_hdr->initial_rate)); in iwl_mvm_rx_beacon_notif()
1399 if (mvmvif->id != (u16)le32_to_cpu(missed_beacons->mac_id)) in iwl_mvm_beacon_loss_iterator()
1402 rx_missed_bcon = le32_to_cpu(missed_beacons->consec_missed_beacons); in iwl_mvm_beacon_loss_iterator()
1404 le32_to_cpu(missed_beacons->consec_missed_beacons_since_last_rx); in iwl_mvm_beacon_loss_iterator()
1409 if (le32_to_cpu(missed_beacons->consec_missed_beacons_since_last_rx) > in iwl_mvm_beacon_loss_iterator()
1420 stop_trig_missed_bcon = le32_to_cpu(bcon_trig->stop_consec_missed_bcon); in iwl_mvm_beacon_loss_iterator()
1422 le32_to_cpu(bcon_trig->stop_consec_missed_bcon_since_rx); in iwl_mvm_beacon_loss_iterator()
[all …]
Dcoex_legacy.c594 ret = le32_to_cpu(mvm->last_bt_notif_old.primary_ch_lut); in iwl_get_coex_type()
596 ret = le32_to_cpu(mvm->last_bt_notif_old.secondary_ch_lut); in iwl_get_coex_type()
729 u32 primary_lut = le32_to_cpu(notif->primary_ch_lut); in iwl_mvm_bt_udpate_ctrl_kill_msk()
730 u32 ag = le32_to_cpu(notif->bt_activity_grading); in iwl_mvm_bt_udpate_ctrl_kill_msk()
882 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_iterator()
1073 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_rx_bt_coex_notif_old()
1075 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_rx_bt_coex_notif_old()
1077 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_rx_bt_coex_notif_old()
1183 if (le32_to_cpu(mvm->last_bt_notif_old.bt_activity_grading) < in iwl_mvm_coex_agg_time_limit_old()
1208 if (le32_to_cpu(mvm->last_bt_notif_old.bt_activity_grading) < in iwl_mvm_bt_coex_is_mimo_allowed_old()
[all …]
/linux-4.4.14/fs/adfs/
Ddir_fplus.c41 size = le32_to_cpu(h->bigdirsize); in adfs_fplus_read()
102 dir->parent_id = le32_to_cpu(h->bigdirparent); in adfs_fplus_read()
129 if (fpos <= le32_to_cpu(h->bigdirentries)) { in adfs_fplus_setpos()
174 if (dir->pos >= le32_to_cpu(h->bigdirentries)) in adfs_fplus_getnext()
178 offset += ((le32_to_cpu(h->bigdirnamelen) + 4) & ~3); in adfs_fplus_getnext()
183 obj->loadaddr = le32_to_cpu(bde.bigdirload); in adfs_fplus_getnext()
184 obj->execaddr = le32_to_cpu(bde.bigdirexec); in adfs_fplus_getnext()
185 obj->size = le32_to_cpu(bde.bigdirlen); in adfs_fplus_getnext()
186 obj->file_id = le32_to_cpu(bde.bigdirindaddr); in adfs_fplus_getnext()
187 obj->attr = le32_to_cpu(bde.bigdirattr); in adfs_fplus_getnext()
[all …]
Dmap.c90 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in lookup_zone()
95 v = le32_to_cpu(_map[mapptr >> 5]); in lookup_zone()
168 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); in scan_free_map()
173 v = le32_to_cpu(_map[mapptr >> 5]); in scan_free_map()
Dsuper.c58 if (le32_to_cpu(dr->disc_size_high) >> dr->log2secsize) in adfs_checkdiscrecord()
338 dm[i].dm_endbit = (le32_to_cpu(dr->disc_size_high) << (32 - dr->log2bpmb)) + in adfs_read_map()
339 (le32_to_cpu(dr->disc_size) >> dr->log2bpmb) + in adfs_read_map()
359 discsize = le32_to_cpu(dr->disc_size_high) << (32 - block_bits); in adfs_discsize()
360 discsize |= le32_to_cpu(dr->disc_size) >> block_bits; in adfs_discsize()
473 root_obj.parent_id = root_obj.file_id = le32_to_cpu(dr->root); in adfs_fill_super()
488 root_obj.size = le32_to_cpu(dr->root_size); in adfs_fill_super()
/linux-4.4.14/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 …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c658 le32_to_cpu(cmd->rx_data_timeout), in iwl_dbgfs_current_sleep_command_read()
659 le32_to_cpu(cmd->tx_data_timeout)); in iwl_dbgfs_current_sleep_command_read()
663 le32_to_cpu(cmd->sleep_interval[i])); in iwl_dbgfs_current_sleep_command_read()
695 flag = le32_to_cpu(priv->statistics.flag); in iwl_statistics_flag()
763 le32_to_cpu(ofdm->ina_cnt), in iwl_dbgfs_ucode_rx_stats_read()
768 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in iwl_dbgfs_ucode_rx_stats_read()
772 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in iwl_dbgfs_ucode_rx_stats_read()
776 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in iwl_dbgfs_ucode_rx_stats_read()
780 le32_to_cpu(ofdm->overrun_err), in iwl_dbgfs_ucode_rx_stats_read()
785 le32_to_cpu(ofdm->early_overrun_err), in iwl_dbgfs_ucode_rx_stats_read()
[all …]
Drx.c134 le32_to_cpu(err_resp->error_type), in iwlagn_rx_reply_error()
137 le32_to_cpu(err_resp->error_info)); in iwlagn_rx_reply_error()
154 if (!le32_to_cpu(csa->status) && csa->channel == priv->switch_channel) { in iwlagn_rx_csa()
218 le32_to_cpu(beacon->ibss_mgr_status), in iwlagn_rx_beacon_notif()
219 le32_to_cpu(beacon->high_tsf), in iwlagn_rx_beacon_notif()
220 le32_to_cpu(beacon->low_tsf), rate); in iwlagn_rx_beacon_notif()
223 priv->ibss_manager = le32_to_cpu(beacon->ibss_mgr_status); in iwlagn_rx_beacon_notif()
245 delta = le32_to_cpu(cur_ofdm->plcp_err) - in iwlagn_good_plcp_health()
246 le32_to_cpu(priv->statistics.rx_ofdm.plcp_err) + in iwlagn_good_plcp_health()
247 le32_to_cpu(cur_ofdm_ht->plcp_err) - in iwlagn_good_plcp_health()
[all …]
Dpower.c197 max_sleep[i] = le32_to_cpu(cmd->sleep_interval[i]); in iwl_static_sleep_cmd()
201 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); in iwl_static_sleep_cmd()
207 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); in iwl_static_sleep_cmd()
230 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); in iwl_static_sleep_cmd()
237 if (le32_to_cpu(cmd->sleep_interval[i]) > in iwl_static_sleep_cmd()
242 if (le32_to_cpu(cmd->sleep_interval[i]) > in iwl_static_sleep_cmd()
243 le32_to_cpu(cmd->sleep_interval[i+1])) in iwl_static_sleep_cmd()
276 IWL_DEBUG_POWER(priv, "Tx timeout = %u\n", le32_to_cpu(cmd->tx_data_timeout)); in iwl_set_power()
277 IWL_DEBUG_POWER(priv, "Rx timeout = %u\n", le32_to_cpu(cmd->rx_data_timeout)); in iwl_set_power()
279 le32_to_cpu(cmd->sleep_interval[0]), in iwl_set_power()
[all …]
Dcalib.c686 rx_enable_time = le32_to_cpu(rx_info->channel_load); in iwl_sensitivity_calibration()
687 fa_cck = le32_to_cpu(cck->false_alarm_cnt); in iwl_sensitivity_calibration()
688 fa_ofdm = le32_to_cpu(ofdm->false_alarm_cnt); in iwl_sensitivity_calibration()
689 bad_plcp_cck = le32_to_cpu(cck->plcp_err); in iwl_sensitivity_calibration()
690 bad_plcp_ofdm = le32_to_cpu(ofdm->plcp_err); in iwl_sensitivity_calibration()
693 le32_to_cpu(rx_info->beacon_silence_rssi_a); in iwl_sensitivity_calibration()
695 le32_to_cpu(rx_info->beacon_silence_rssi_b); in iwl_sensitivity_calibration()
697 le32_to_cpu(rx_info->beacon_silence_rssi_c); in iwl_sensitivity_calibration()
699 le32_to_cpu(rx_info->beacon_energy_a); in iwl_sensitivity_calibration()
701 le32_to_cpu(rx_info->beacon_energy_b); in iwl_sensitivity_calibration()
[all …]
Dscan.c87 le32_to_cpu(*status)); in iwl_send_scan_abort()
268 priv->scan_start_tsf = le32_to_cpu(notif->tsf_low); in iwl_rx_scan_start_notif()
274 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_start_notif()
275 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_start_notif()
295 le32_to_cpu(notif->tsf_high), in iwl_rx_scan_results_notif()
296 le32_to_cpu(notif->tsf_low), in iwl_rx_scan_results_notif()
297 le32_to_cpu(notif->statistics[0]), in iwl_rx_scan_results_notif()
298 le32_to_cpu(notif->tsf_low) - priv->scan_start_tsf); in iwl_rx_scan_results_notif()
562 channel, le32_to_cpu(scan_ch->type), in iwl_get_channels_for_scan()
755 chan_mod = le32_to_cpu( in iwlagn_request_scan()
/linux-4.4.14/drivers/md/persistent-data/
Ddm-btree-remove.c58 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); in node_shift()
59 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift()
72 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); in node_shift()
84 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); in node_copy()
85 uint32_t value_size = le32_to_cpu(left->header.value_size); in node_copy()
86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); in node_copy()
90 BUG_ON(nr_left + shift > le32_to_cpu(left->header.max_entries)); in node_copy()
98 BUG_ON(shift > le32_to_cpu(right->header.max_entries)); in node_copy()
113 unsigned nr_entries = le32_to_cpu(n->header.nr_entries); in delete_at()
115 uint32_t value_size = le32_to_cpu(n->header.value_size); in delete_at()
[all …]
Ddm-btree.c43 int lo = -1, hi = le32_to_cpu(n->header.nr_entries); in bsearch()
75 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); in inc_children()
77 if (le32_to_cpu(n->header.flags) & INTERNAL_NODE) in inc_children()
89 uint32_t nr_entries = le32_to_cpu(node->header.nr_entries); in insert_at()
93 index >= le32_to_cpu(node->header.max_entries)) { in insert_at()
241 f->nr_children = le32_to_cpu(f->n->header.nr_entries); in push_frame()
244 flags = le32_to_cpu(f->n->header.flags); in push_frame()
300 flags = le32_to_cpu(f->n->header.flags); in dm_btree_del()
353 flags = le32_to_cpu(ro_node(s)->header.flags); in btree_lookup_raw()
354 nr_entries = le32_to_cpu(ro_node(s)->header.nr_entries); in btree_lookup_raw()
[all …]
Ddm-btree-spine.c58 le32_to_cpu(csum_disk), le32_to_cpu(h->csum)); in node_check()
62 value_size = le32_to_cpu(h->value_size); in node_check()
65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { in node_check()
70 if (le32_to_cpu(h->nr_entries) > le32_to_cpu(h->max_entries)) { in node_check()
78 flags = le32_to_cpu(h->flags); in node_check()
Ddm-array.c71 (unsigned) le32_to_cpu(csum_disk), in array_block_check()
72 (unsigned) le32_to_cpu(bh_le->csum)); in array_block_check()
113 unsigned i, nr_entries = le32_to_cpu(ab->nr_entries); in on_entries()
182 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); in fill_ablock()
183 BUG_ON(new_nr < le32_to_cpu(ab->nr_entries)); in fill_ablock()
185 nr_entries = le32_to_cpu(ab->nr_entries); in fill_ablock()
206 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); in trim_ablock()
207 BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); in trim_ablock()
209 nr_entries = le32_to_cpu(ab->nr_entries); in trim_ablock()
707 if (entry >= le32_to_cpu(ab->nr_entries)) in dm_array_get_value()
[all …]
Ddm-space-map-common.c52 le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum)); in index_check()
102 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); in bitmap_check()
309 *result = le32_to_cpu(le_rc); in sm_ll_lookup_big_ref_count()
350 if (le32_to_cpu(ie_disk.nr_free) == 0) in sm_ll_find_free_block()
361 max_t(unsigned, begin, le32_to_cpu(ie_disk.none_free_before)), in sm_ll_find_free_block()
459 if (le32_to_cpu(ie_disk.none_free_before) == bit) in sm_ll_mutate()
466 ie_disk.none_free_before = cpu_to_le32(min(le32_to_cpu(ie_disk.none_free_before), bit)); in sm_ll_mutate()
/linux-4.4.14/drivers/atm/
Dnicstar.h134 ((le32_to_cpu((ns_rsqep)->word_1) & 0x00FF0000) >> 16)
136 (le32_to_cpu((ns_rsqep)->word_1) & 0x0000FFFF)
150 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_VALID)
152 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_NZGFC)
154 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_EOPDU)
156 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_BUFSIZE)
158 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CONGESTION)
160 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CLP)
162 (le32_to_cpu((ns_rsqep)->word_4) & NS_RSQE_CRCERR)
165 (le32_to_cpu((ns_rsqep)->word_4) & 0x000001FF)
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dmain.c304 le32_to_cpu(debug_hdr.dbuf_addr)); in ath6kl_read_fwlogs()
306 dropped = le32_to_cpu(debug_hdr.dropped); in ath6kl_read_fwlogs()
315 le32_to_cpu(debug_buf.buffer_addr)); in ath6kl_read_fwlogs()
316 length = le32_to_cpu(debug_buf.length); in ath6kl_read_fwlogs()
318 if (length != 0 && (le32_to_cpu(debug_buf.length) <= in ath6kl_read_fwlogs()
319 le32_to_cpu(debug_buf.bufsize))) { in ath6kl_read_fwlogs()
331 le32_to_cpu(debug_buf.next)); in ath6kl_read_fwlogs()
712 stats->tx_pkt += le32_to_cpu(tgt_stats->stats.tx.pkt); in ath6kl_update_target_stats()
713 stats->tx_byte += le32_to_cpu(tgt_stats->stats.tx.byte); in ath6kl_update_target_stats()
714 stats->tx_ucast_pkt += le32_to_cpu(tgt_stats->stats.tx.ucast_pkt); in ath6kl_update_target_stats()
[all …]
Dhif.c113 le32_to_cpu(regdump_val[i]), in ath6kl_hif_dump_fw_crash()
114 le32_to_cpu(regdump_val[i + 1]), in ath6kl_hif_dump_fw_crash()
115 le32_to_cpu(regdump_val[i + 2]), in ath6kl_hif_dump_fw_crash()
116 le32_to_cpu(regdump_val[i + 3])); in ath6kl_hif_dump_fw_crash()
173 le32_to_cpu(rg->rx_lkahd[HTC_MAILBOX]); in ath6kl_hif_poll_mboxmsg_rx()
455 lk_ahd = le32_to_cpu(rg->rx_lkahd[HTC_MAILBOX]); in proc_pending_irqs()
/linux-4.4.14/fs/udf/
Dmisc.c79 le32_to_cpu(eahd->descTag.tagLocation) != in udf_add_extendedattr()
103 if (le32_to_cpu(eahd->appAttrLocation) < in udf_add_extendedattr()
106 le32_to_cpu(eahd->appAttrLocation); in udf_add_extendedattr()
113 if (le32_to_cpu(eahd->impAttrLocation) < in udf_add_extendedattr()
116 le32_to_cpu(eahd->impAttrLocation); in udf_add_extendedattr()
124 if (le32_to_cpu(eahd->appAttrLocation) < in udf_add_extendedattr()
127 le32_to_cpu(eahd->appAttrLocation); in udf_add_extendedattr()
167 le32_to_cpu(eahd->descTag.tagLocation) != in udf_get_extendedattr()
174 offset = le32_to_cpu(eahd->impAttrLocation); in udf_get_extendedattr()
176 offset = le32_to_cpu(eahd->appAttrLocation); in udf_get_extendedattr()
[all …]
Dudfend.h11 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu()
31 out.extLength = le32_to_cpu(in.extLength); in lesa_to_cpu()
32 out.extPosition = le32_to_cpu(in.extPosition); in lesa_to_cpu()
51 out.extLength = le32_to_cpu(in.extLength); in lela_to_cpu()
71 out.extLength = le32_to_cpu(in.extLength); in leea_to_cpu()
72 out.extLocation = le32_to_cpu(in.extLocation); in leea_to_cpu()
Dpartition.c68 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + in udf_get_pblock_virt15()
91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15()
137 u32 origLoc = le32_to_cpu(entry->origLocation); in udf_get_pblock_spar15()
141 return le32_to_cpu(entry->mappedLocation) + in udf_get_pblock_spar15()
189 u32 origLoc = le32_to_cpu(entry->origLocation); in udf_relocate_blocks()
209 *new_block = le32_to_cpu( in udf_relocate_blocks()
217 *new_block = le32_to_cpu( in udf_relocate_blocks()
230 u32 origLoc = le32_to_cpu(entry->origLocation); in udf_relocate_blocks()
256 le32_to_cpu( in udf_relocate_blocks()
Dsuper.c108 partnum = le32_to_cpu(lvid->numOfPartitions); in udf_sb_lvidiu()
850 ((le32_to_cpu(sp->numOfBytes) + in udf_find_fileset()
1098 map->s_partition_len = le32_to_cpu(p->partitionLength); /* blocks */ in udf_fill_partdesc_info()
1099 map->s_partition_root = le32_to_cpu(p->partitionStartingLocation); in udf_fill_partdesc_info()
1121 .logicalBlockNum = le32_to_cpu( in udf_fill_partdesc_info()
1144 bitmap->s_extPosition = le32_to_cpu( in udf_fill_partdesc_info()
1156 .logicalBlockNum = le32_to_cpu( in udf_fill_partdesc_info()
1179 bitmap->s_extPosition = le32_to_cpu( in udf_fill_partdesc_info()
1395 loc = le32_to_cpu(spm->locSparingTable[i]); in udf_load_sparable_map()
1434 table_len = le32_to_cpu(lvd->mapTableLength); in udf_load_logicalvol()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_disk.h244 lsd->lsd_feature_compat = le32_to_cpu(buf->lsd_feature_compat); in lsd_le_to_cpu()
245 lsd->lsd_feature_rocompat = le32_to_cpu(buf->lsd_feature_rocompat); in lsd_le_to_cpu()
246 lsd->lsd_feature_incompat = le32_to_cpu(buf->lsd_feature_incompat); in lsd_le_to_cpu()
247 lsd->lsd_server_size = le32_to_cpu(buf->lsd_server_size); in lsd_le_to_cpu()
248 lsd->lsd_client_start = le32_to_cpu(buf->lsd_client_start); in lsd_le_to_cpu()
252 lsd->lsd_catalog_ogen = le32_to_cpu(buf->lsd_catalog_ogen); in lsd_le_to_cpu()
254 lsd->lsd_osd_index = le32_to_cpu(buf->lsd_osd_index); in lsd_le_to_cpu()
255 lsd->lsd_padding1 = le32_to_cpu(buf->lsd_padding1); in lsd_le_to_cpu()
256 lsd->lsd_start_epoch = le32_to_cpu(buf->lsd_start_epoch); in lsd_le_to_cpu()
259 lsd->lsd_trans_table_time = le32_to_cpu(buf->lsd_trans_table_time); in lsd_le_to_cpu()
[all …]
/linux-4.4.14/drivers/soc/qcom/
Dsmem.c252 return p + le32_to_cpu(phdr->offset_free_uncached); in phdr_to_last_private_entry()
259 return p + le32_to_cpu(phdr->offset_free_cached); in phdr_to_first_cached_entry()
276 le32_to_cpu(e->size); in private_entry_next()
331 hdr->padding_data = cpu_to_le16(le32_to_cpu(hdr->size) - size); in qcom_smem_alloc_private()
361 if (WARN_ON(size > le32_to_cpu(header->available))) in qcom_smem_alloc_global()
439 aux_base = le32_to_cpu(entry->aux_base) & AUX_BASE_MASK; in qcom_smem_get_global()
446 *size = le32_to_cpu(entry->size); in qcom_smem_get_global()
447 return area->virt_base + le32_to_cpu(entry->offset); in qcom_smem_get_global()
476 *size = le32_to_cpu(e->size) - in qcom_smem_get_private()
542 ret = le32_to_cpu(phdr->offset_free_cached) - in qcom_smem_get_free_space()
[all …]
Dsmd-rpm.c157 size_t hdr_length = le32_to_cpu(hdr->length); in qcom_smd_rpm_callback()
166 if (le32_to_cpu(hdr->service_type) != RPM_SERVICE_TYPE_REQUEST || in qcom_smd_rpm_callback()
174 msg_length = le32_to_cpu(msg->length); in qcom_smd_rpm_callback()
175 switch (le32_to_cpu(msg->msg_type)) { in qcom_smd_rpm_callback()
/linux-4.4.14/include/uapi/linux/
Dbfs_fs.h70 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
76 ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock))
78 …((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RD…
Dmsdos_fs.h20 #define CF_LE_L(v) le32_to_cpu(v)
87 #define IS_FSINFO(x) (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 \
88 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2)
/linux-4.4.14/fs/ubifs/
Dmaster.c282 c->zroot.lnum = le32_to_cpu(c->mst_node->root_lnum); in ubifs_read_master()
283 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); in ubifs_read_master()
284 c->zroot.len = le32_to_cpu(c->mst_node->root_len); in ubifs_read_master()
285 c->lhead_lnum = le32_to_cpu(c->mst_node->log_lnum); in ubifs_read_master()
286 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum); in ubifs_read_master()
287 c->ihead_lnum = le32_to_cpu(c->mst_node->ihead_lnum); in ubifs_read_master()
288 c->ihead_offs = le32_to_cpu(c->mst_node->ihead_offs); in ubifs_read_master()
290 c->lpt_lnum = le32_to_cpu(c->mst_node->lpt_lnum); in ubifs_read_master()
291 c->lpt_offs = le32_to_cpu(c->mst_node->lpt_offs); in ubifs_read_master()
292 c->nhead_lnum = le32_to_cpu(c->mst_node->nhead_lnum); in ubifs_read_master()
[all …]
Ddebug.c222 pr_err("\tmagic %#x\n", le32_to_cpu(ch->magic)); in dump_ch()
223 pr_err("\tcrc %#x\n", le32_to_cpu(ch->crc)); in dump_ch()
230 pr_err("\tlen %u\n", le32_to_cpu(ch->len)); in dump_ch()
309 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { in ubifs_dump_node()
324 pr_err("\tpad_len %u\n", le32_to_cpu(pad->pad_len)); in ubifs_dump_node()
330 unsigned int sup_flags = le32_to_cpu(sup->flags); in ubifs_dump_node()
341 pr_err("\tmin_io_size %u\n", le32_to_cpu(sup->min_io_size)); in ubifs_dump_node()
342 pr_err("\tleb_size %u\n", le32_to_cpu(sup->leb_size)); in ubifs_dump_node()
343 pr_err("\tleb_cnt %u\n", le32_to_cpu(sup->leb_cnt)); in ubifs_dump_node()
344 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); in ubifs_dump_node()
[all …]
Dsb.c367 if (le32_to_cpu(sup->min_io_size) != c->min_io_size) { in validate_sb()
369 le32_to_cpu(sup->min_io_size), c->min_io_size); in validate_sb()
373 if (le32_to_cpu(sup->leb_size) != c->leb_size) { in validate_sb()
375 le32_to_cpu(sup->leb_size), c->leb_size); in validate_sb()
462 if (le32_to_cpu(sup->time_gran) > 1000000000 || in validate_sb()
463 le32_to_cpu(sup->time_gran) < 1) { in validate_sb()
541 c->fmt_version = le32_to_cpu(sup->fmt_version); in ubifs_read_superblock()
542 c->ro_compat_version = le32_to_cpu(sup->ro_compat_version); in ubifs_read_superblock()
603 c->leb_cnt = le32_to_cpu(sup->leb_cnt); in ubifs_read_superblock()
604 c->max_leb_cnt = le32_to_cpu(sup->max_leb_cnt); in ubifs_read_superblock()
[all …]
Dkey.h342 return le32_to_cpu(key->j32[1]) >> UBIFS_S_KEY_BLOCK_BITS; in key_type_flash()
366 return le32_to_cpu(key->j32[0]); in key_inum_flash()
389 return le32_to_cpu(key->j32[1]) & UBIFS_S_KEY_HASH_MASK; in key_hash_flash()
413 return le32_to_cpu(key->j32[1]) & UBIFS_S_KEY_BLOCK_MASK; in key_block_flash()
427 to->u32[0] = le32_to_cpu(f->j32[0]); in key_read()
428 to->u32[1] = le32_to_cpu(f->j32[1]); in key_read()
Dscan.c75 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node()
96 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node()
97 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node()
208 snod->len = le32_to_cpu(ch->len); in ubifs_add_snod()
320 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_scan()
Dreplay.c456 if (le32_to_cpu(dent->ch.len) != nlen + UBIFS_DENT_NODE_SZ + 1 || in ubifs_validate_entry()
605 if (le32_to_cpu(ino->nlink) == 0) in replay_bud()
615 loff_t new_size = le32_to_cpu(dn->size) + in replay_bud()
658 trun_key_init(c, &key, le32_to_cpu(trun->inum)); in replay_bud()
789 int lnum = le32_to_cpu(ref->lnum); in validate_ref()
790 unsigned int offs = le32_to_cpu(ref->offs); in validate_ref()
791 unsigned int jhead = le32_to_cpu(ref->jhead); in validate_ref()
925 err = add_replay_bud(c, le32_to_cpu(ref->lnum), in replay_log_leb()
926 le32_to_cpu(ref->offs), in replay_log_leb()
927 le32_to_cpu(ref->jhead), in replay_log_leb()
/linux-4.4.14/drivers/net/wimax/i2400m/
Dfw.c261 barker->data[0] = le32_to_cpu(barker_id); in i2400m_barker_db_add()
262 barker->data[1] = le32_to_cpu(barker_id); in i2400m_barker_db_add()
263 barker->data[2] = le32_to_cpu(barker_id); in i2400m_barker_db_add()
264 barker->data[3] = le32_to_cpu(barker_id); in i2400m_barker_db_add()
403 index, le32_to_cpu(i2400m->barker->data[0])); in i2400m_is_boot_barker()
416 i, le32_to_cpu(barker->data[0])); in i2400m_is_boot_barker()
417 if (barker->data[0] == le32_to_cpu(I2400M_NBOOT_BARKER)) in i2400m_is_boot_barker()
425 le32_to_cpu(i2400m->barker->data[0]), in i2400m_is_boot_barker()
426 le32_to_cpu(barker->data[0])); in i2400m_is_boot_barker()
430 i, le32_to_cpu(barker->data[0])); in i2400m_is_boot_barker()
[all …]
Di2400m.h722 return le32_to_cpu(*barker) == I2400M_D2H_MSG_BARKER; in i2400m_is_d2h_barker()
745 (le32_to_cpu(hdr->command) & ~I2400M_BRH_OPCODE_MASK) in i2400m_brh_set_opcode()
752 return le32_to_cpu(hdr->command) & I2400M_BRH_OPCODE_MASK; in i2400m_brh_get_opcode()
758 return (le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_MASK) in i2400m_brh_get_response()
765 return le32_to_cpu(hdr->command) & I2400M_BRH_USE_CHECKSUM; in i2400m_brh_get_use_checksum()
772 return le32_to_cpu(hdr->command) & I2400M_BRH_RESPONSE_REQUIRED; in i2400m_brh_get_response_required()
778 return le32_to_cpu(hdr->command) & I2400M_BRH_DIRECT_ACCESS; in i2400m_brh_get_direct_access()
784 return (le32_to_cpu(hdr->command) & I2400M_BRH_SIGNATURE_MASK) in i2400m_brh_get_signature()
837 return I2400M_PLD_SIZE_MASK & le32_to_cpu(pld->val); in i2400m_pld_size()
843 return (I2400M_PLD_TYPE_MASK & le32_to_cpu(pld->val)) in i2400m_pld_type()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c756 entries = le32_to_cpu(directory->num_entries); in qlcnic_get_table_desc()
760 u32 offs = le32_to_cpu(directory->findex) + in qlcnic_get_table_desc()
761 i * le32_to_cpu(directory->entry_size); in qlcnic_get_table_desc()
762 u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8)); in qlcnic_get_table_desc()
785 entries = le32_to_cpu(directory->num_entries); in qlcnic_validate_header()
786 entry_size = le32_to_cpu(directory->entry_size); in qlcnic_validate_header()
787 tab_size = le32_to_cpu(directory->findex) + (entries * entry_size); in qlcnic_validate_header()
806 idx = le32_to_cpu(temp); in qlcnic_validate_bootld()
812 tab_size = le32_to_cpu(tab_desc->findex) + in qlcnic_validate_bootld()
813 le32_to_cpu(tab_desc->entry_size) * (idx + 1); in qlcnic_validate_bootld()
[all …]
/linux-4.4.14/fs/jfs/
Djfs_imap.c136 imap->im_freeiag = le32_to_cpu(dinom_le->in_freeiag); in diMount()
137 imap->im_nextiag = le32_to_cpu(dinom_le->in_nextiag); in diMount()
138 atomic_set(&imap->im_numinos, le32_to_cpu(dinom_le->in_numinos)); in diMount()
139 atomic_set(&imap->im_numfree, le32_to_cpu(dinom_le->in_numfree)); in diMount()
140 imap->im_nbperiext = le32_to_cpu(dinom_le->in_nbperiext); in diMount()
141 imap->im_l2nbperiext = le32_to_cpu(dinom_le->in_l2nbperiext); in diMount()
144 le32_to_cpu(dinom_le->in_agctl[index].inofree); in diMount()
146 le32_to_cpu(dinom_le->in_agctl[index].extfree); in diMount()
148 le32_to_cpu(dinom_le->in_agctl[index].numinos); in diMount()
150 le32_to_cpu(dinom_le->in_agctl[index].numfree); in diMount()
[all …]
Djfs_types.h88 return le32_to_cpu((pxd)->len_addr) & 0xffffff; in lengthPXD()
93 __u64 n = le32_to_cpu(pxd->len_addr) & ~0xffffff; in addressPXD()
94 return (n << 8) + le32_to_cpu(pxd->addr2); in addressPXD()
130 #define sizeDXD(dxd) le32_to_cpu((dxd)->size)
Djfs_mount.c322 le32_to_cpu(j_sb->s_version) > JFS_VERSION) { in chkSuper()
327 bsize = le32_to_cpu(j_sb->s_bsize); in chkSuper()
337 le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state), in chkSuper()
371 sbi->state = le32_to_cpu(j_sb->s_state); in chkSuper()
372 sbi->mntflag = le32_to_cpu(j_sb->s_flag); in chkSuper()
391 sbi->logdev = new_decode_dev(le32_to_cpu(j_sb->s_logdev)); in chkSuper()
Djfs_dmap.c193 bmp->db_l2nbperpage = le32_to_cpu(dbmp_le->dn_l2nbperpage); in dbMount()
194 bmp->db_numag = le32_to_cpu(dbmp_le->dn_numag); in dbMount()
195 bmp->db_maxlevel = le32_to_cpu(dbmp_le->dn_maxlevel); in dbMount()
196 bmp->db_maxag = le32_to_cpu(dbmp_le->dn_maxag); in dbMount()
197 bmp->db_agpref = le32_to_cpu(dbmp_le->dn_agpref); in dbMount()
198 bmp->db_aglevel = le32_to_cpu(dbmp_le->dn_aglevel); in dbMount()
199 bmp->db_agheight = le32_to_cpu(dbmp_le->dn_agheight); in dbMount()
200 bmp->db_agwidth = le32_to_cpu(dbmp_le->dn_agwidth); in dbMount()
201 bmp->db_agstart = le32_to_cpu(dbmp_le->dn_agstart); in dbMount()
202 bmp->db_agl2size = le32_to_cpu(dbmp_le->dn_agl2size); in dbMount()
[all …]
/linux-4.4.14/drivers/usb/gadget/udc/bdc/
Dbdc_dbg.c82 le32_to_cpu(sr->offset[0]), in bdc_dbg_srr()
83 le32_to_cpu(sr->offset[1]), in bdc_dbg_srr()
84 le32_to_cpu(sr->offset[2]), in bdc_dbg_srr()
85 le32_to_cpu(sr->offset[3])); in bdc_dbg_srr()
116 le32_to_cpu(bd->offset[0]), in bdc_dbg_bd_list()
117 le32_to_cpu(bd->offset[1]), in bdc_dbg_bd_list()
118 le32_to_cpu(bd->offset[2]), in bdc_dbg_bd_list()
119 le32_to_cpu(bd->offset[3])); in bdc_dbg_bd_list()
/linux-4.4.14/drivers/message/fusion/
Dmptdebug.h156 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_DOWNLOAD()
175 printk(" %08x", le32_to_cpu(mfp[ii])); in DBG_DUMP_PUT_MSG_FRAME()
190 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_REQUEST_FRAME()
205 printk("%08x ", le32_to_cpu(mfp[i])); in DBG_DUMP_REQUEST_FRAME()
217 n = (le32_to_cpu(mfp[0]) & 0x00FF0000) >> 16; in DBG_DUMP_REPLY_FRAME()
220 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_REPLY_FRAME()
234 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_REQUEST_FRAME_HDR()
250 printk("%08x ", le32_to_cpu(mfp[i])); in DBG_DUMP_TM_REQUEST_FRAME()
262 n = (le32_to_cpu(mfp[0]) & 0x00FF0000) >> 16; in DBG_DUMP_TM_REPLY_FRAME()
267 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_TM_REPLY_FRAME()
Dmptfc.c353 le32_to_cpu(ppage0_alloc->PortIdentifier); in mptfc_GetFcDevPage0()
356 le32_to_cpu(ppage0_alloc->WWNN.Low); in mptfc_GetFcDevPage0()
359 le32_to_cpu(ppage0_alloc->WWNN.High); in mptfc_GetFcDevPage0()
362 le32_to_cpu(ppage0_alloc->WWPN.Low); in mptfc_GetFcDevPage0()
365 le32_to_cpu(ppage0_alloc->WWPN.High); in mptfc_GetFcDevPage0()
792 pp0dest->Flags = le32_to_cpu(pp0dest->Flags); in mptfc_GetFcPortPage0()
793 pp0dest->PortIdentifier = le32_to_cpu(pp0dest->PortIdentifier); in mptfc_GetFcPortPage0()
794 pp0dest->WWNN.Low = le32_to_cpu(pp0dest->WWNN.Low); in mptfc_GetFcPortPage0()
795 pp0dest->WWNN.High = le32_to_cpu(pp0dest->WWNN.High); in mptfc_GetFcPortPage0()
796 pp0dest->WWPN.Low = le32_to_cpu(pp0dest->WWPN.Low); in mptfc_GetFcPortPage0()
[all …]
/linux-4.4.14/fs/quota/
Dquota_v2.c82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || in v2_check_quota_file()
83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) in v2_check_quota_file()
100 version = le32_to_cpu(dqhead.dqh_version); in v2_read_file_info()
131 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info()
132 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info()
137 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); in v2_read_file_info()
138 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); in v2_read_file_info()
139 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); in v2_read_file_info()
185 m->dqb_ihardlimit = le32_to_cpu(d->dqb_ihardlimit); in v2r0_disk2memdqb()
186 m->dqb_isoftlimit = le32_to_cpu(d->dqb_isoftlimit); in v2r0_disk2memdqb()
[all …]
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c185 u32 data = le32_to_cpu(cmd->data); in qed_init_cmd_array()
187 u32 dmae_array_offset = le32_to_cpu(cmd->args.array_offset); in qed_init_cmd_array()
199 data = le32_to_cpu(hdr->raw.data); in qed_init_cmd_array()
257 u32 data = le32_to_cpu(cmd->data); in qed_init_cmd_wr()
274 le32_to_cpu(arg->inline_val)); in qed_init_cmd_wr()
278 (b_can_dmae && (le32_to_cpu(arg->zeros_count) >= 64))) in qed_init_cmd_wr()
280 le32_to_cpu(arg->zeros_count)); in qed_init_cmd_wr()
283 le32_to_cpu(arg->zeros_count)); in qed_init_cmd_wr()
319 u32 data = le32_to_cpu(cmd->op_data); in qed_init_cmd_rd()
328 data = le32_to_cpu(cmd->op_data); in qed_init_cmd_rd()
[all …]
Dqed_hw.c127 return le32_to_cpu(p_ptt->pxp.offset) << 2; in qed_ptt_get_hw_addr()
164 le32_to_cpu(p_ptt->pxp.offset)); in qed_ptt_set_win()
421 le32_to_cpu(command->opcode), in qed_dmae_post_command()
424 le32_to_cpu(command->src_addr_hi), in qed_dmae_post_command()
425 le32_to_cpu(command->src_addr_lo), in qed_dmae_post_command()
426 le32_to_cpu(command->dst_addr_hi), in qed_dmae_post_command()
427 le32_to_cpu(command->dst_addr_lo)); in qed_dmae_post_command()
436 le32_to_cpu(command->opcode), in qed_dmae_post_command()
439 le32_to_cpu(command->src_addr_hi), in qed_dmae_post_command()
440 le32_to_cpu(command->src_addr_lo), in qed_dmae_post_command()
[all …]
/linux-4.4.14/security/selinux/ss/
Dpolicydb.c1004 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1016 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1018 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1064 c->user = le32_to_cpu(buf[0]); in context_read_and_validate()
1065 c->role = le32_to_cpu(buf[1]); in context_read_and_validate()
1066 c->type = le32_to_cpu(buf[2]); in context_read_and_validate()
1129 len = le32_to_cpu(buf[0]); in perm_read()
1130 perdatum->value = le32_to_cpu(buf[1]); in perm_read()
1163 len = le32_to_cpu(buf[0]); in common_read()
1164 comdatum->value = le32_to_cpu(buf[1]); in common_read()
[all …]
Dconditional.c237 booldatum->value = le32_to_cpu(buf[0]); in cond_read_bool()
238 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool()
244 len = le32_to_cpu(buf[2]); in cond_read_bool()
366 len = le32_to_cpu(buf[0]); in cond_read_av_list()
410 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node()
413 len = le32_to_cpu(buf[1]); in cond_read_node()
425 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node()
426 expr->bool = le32_to_cpu(buf[1]); in cond_read_node()
464 len = le32_to_cpu(buf[0]); in cond_read_list()
Davtab.c413 items2 = le32_to_cpu(buf32[0]); in avtab_read_item()
426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
432 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
438 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
445 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
465 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
532 xperms.perms.p[i] = le32_to_cpu(buf32[i]); in avtab_read_item()
540 datum.u.data = le32_to_cpu(*buf32); in avtab_read_item()
568 nel = le32_to_cpu(buf[0]); in avtab_read()
/linux-4.4.14/fs/reiserfs/
Dobjectid.c19 if (le32_to_cpu(map[0]) != 1) in check_objectid_map()
21 (long unsigned int)le32_to_cpu(map[0])); in check_objectid_map()
62 unused_objectid = le32_to_cpu(map[1]); in reiserfs_get_unused_objectid()
120 if (objectid_to_release == le32_to_cpu(map[i])) { in reiserfs_release_objectid()
143 if (objectid_to_release > le32_to_cpu(map[i]) && in reiserfs_release_objectid()
144 objectid_to_release < le32_to_cpu(map[i + 1])) { in reiserfs_release_objectid()
146 if (objectid_to_release + 1 == le32_to_cpu(map[i + 1])) { in reiserfs_release_objectid()
Dreiserfs.h115 #define sb_block_count(sbp) (le32_to_cpu((sbp)->s_v1.s_block_count))
117 #define sb_free_blocks(sbp) (le32_to_cpu((sbp)->s_v1.s_free_blocks))
119 #define sb_root_block(sbp) (le32_to_cpu((sbp)->s_v1.s_root_block))
123 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_1st_block))
127 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_dev))
131 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_size))
135 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_trans_max))
139 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_magic))
143 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_batch))
147 (le32_to_cpu((sbp)->s_v1.s_journal.jp_journal_max_commit_age))
[all …]
/linux-4.4.14/fs/f2fs/
Dnode.h107 ni->ino = le32_to_cpu(raw_ne->ino); in node_info_from_raw_nat()
108 ni->blk_addr = le32_to_cpu(raw_ne->block_addr); in node_info_from_raw_nat()
224 old_flag = le32_to_cpu(rn->footer.flag); in fill_node_footer()
253 return le32_to_cpu(rn->footer.ino); in ino_of_node()
259 return le32_to_cpu(rn->footer.nid); in nid_of_node()
265 unsigned flag = le32_to_cpu(rn->footer.flag); in ofs_of_node()
278 return le32_to_cpu(rn->footer.next_blkaddr); in next_blkaddr_of_node()
338 return le32_to_cpu(rn->i.i_nid[off - NODE_DIR1_BLOCK]); in get_nid()
339 return le32_to_cpu(rn->in.nid[off]); in get_nid()
366 return le32_to_cpu(rn->footer.flag) & (1 << type); in is_node()
[all …]
Dinode.c46 old_decode_dev(le32_to_cpu(ri->i_addr[0])); in __get_inode_rdev()
49 new_decode_dev(le32_to_cpu(ri->i_addr[1])); in __get_inode_rdev()
55 block_t addr = le32_to_cpu(ri->i_addr[0]); in __written_first_block()
119 i_uid_write(inode, le32_to_cpu(ri->i_uid)); in do_read_inode()
120 i_gid_write(inode, le32_to_cpu(ri->i_gid)); in do_read_inode()
121 set_nlink(inode, le32_to_cpu(ri->i_links)); in do_read_inode()
128 inode->i_atime.tv_nsec = le32_to_cpu(ri->i_atime_nsec); in do_read_inode()
129 inode->i_ctime.tv_nsec = le32_to_cpu(ri->i_ctime_nsec); in do_read_inode()
130 inode->i_mtime.tv_nsec = le32_to_cpu(ri->i_mtime_nsec); in do_read_inode()
131 inode->i_generation = le32_to_cpu(ri->i_generation); in do_read_inode()
[all …]
Dsuper.c620 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); in f2fs_statfs()
699 le32_to_cpu(sbi->raw_super->segment_count_main); in segment_info_seq_show()
926 if (F2FS_SUPER_MAGIC != le32_to_cpu(raw_super->magic)) { in sanity_check_raw_super()
929 F2FS_SUPER_MAGIC, le32_to_cpu(raw_super->magic)); in sanity_check_raw_super()
942 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super()
951 if (le32_to_cpu(raw_super->log_sectorsize) > in sanity_check_raw_super()
953 le32_to_cpu(raw_super->log_sectorsize) < in sanity_check_raw_super()
956 le32_to_cpu(raw_super->log_sectorsize)); in sanity_check_raw_super()
959 if (le32_to_cpu(raw_super->log_sectors_per_block) + in sanity_check_raw_super()
960 le32_to_cpu(raw_super->log_sectorsize) != in sanity_check_raw_super()
[all …]
Drecovery.c73 nid_t pino = le32_to_cpu(raw_inode->i_pino); in recover_dentry()
91 name.len = le32_to_cpu(raw_inode->i_namelen); in recover_dentry()
101 if (de && inode->i_ino == le32_to_cpu(de->ino)) in recover_dentry()
105 einode = f2fs_iget(inode->i_sb, le32_to_cpu(de->ino)); in recover_dentry()
158 inode->i_atime.tv_nsec = le32_to_cpu(raw->i_mtime_nsec); in recover_inode()
159 inode->i_ctime.tv_nsec = le32_to_cpu(raw->i_ctime_nsec); in recover_inode()
160 inode->i_mtime.tv_nsec = le32_to_cpu(raw->i_mtime_nsec); in recover_inode()
293 nid = le32_to_cpu(sum.nid); in check_index_in_prev_nodes()
Dcheckpoint.c532 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { in recover_orphan_inodes()
533 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); in recover_orphan_inodes()
619 crc_offset = le32_to_cpu(cp_block->checksum_offset); in validate_checkpoint()
623 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); in validate_checkpoint()
630 cp_addr += le32_to_cpu(cp_block->cp_pack_total_block_count) - 1; in validate_checkpoint()
634 crc_offset = le32_to_cpu(cp_block->checksum_offset); in validate_checkpoint()
638 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); in validate_checkpoint()
675 cp_start_blk_no = le32_to_cpu(fsb->cp_blkaddr); in get_valid_checkpoint()
680 le32_to_cpu(fsb->log_blocks_per_seg); in get_valid_checkpoint()
702 cp_blk_no = le32_to_cpu(fsb->cp_blkaddr); in get_valid_checkpoint()
[all …]
Ddebug.c370 si->all_area_segs = le32_to_cpu(raw_super->segment_count); in f2fs_build_stats()
371 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); in f2fs_build_stats()
372 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); in f2fs_build_stats()
373 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); in f2fs_build_stats()
374 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in f2fs_build_stats()
375 si->main_area_sections = le32_to_cpu(raw_super->section_count); in f2fs_build_stats()
377 le32_to_cpu(raw_super->secs_per_zone); in f2fs_build_stats()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_ea.c71 if (lov_pattern(le32_to_cpu(lmm->lmm_pattern)) != LOV_PATTERN_RAID0) { in lsm_lmm_verify_common()
78 (le32_to_cpu(lmm->lmm_stripe_size)&(LOV_MIN_STRIPE_SIZE-1)) != 0) { in lsm_lmm_verify_common()
80 le32_to_cpu(lmm->lmm_stripe_size)); in lsm_lmm_verify_common()
136 lsm->lsm_stripe_size = le32_to_cpu(lmm->lmm_stripe_size); in lsm_unpackmd_common()
137 lsm->lsm_pattern = le32_to_cpu(lmm->lmm_pattern); in lsm_unpackmd_common()
197 if (le32_to_cpu(lmm->lmm_pattern) & LOV_PATTERN_F_RELEASED) in lsm_lmm_verify_v1()
226 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v1()
227 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); in lsm_unpackmd_v1()
277 if (le32_to_cpu(lmm->lmm_pattern) & LOV_PATTERN_F_RELEASED) in lsm_lmm_verify_v3()
316 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); in lsm_unpackmd_v3()
[all …]
Dlov_pack.c60 POSTID(&oi), le32_to_cpu(lmm->lmm_magic), in lov_dump_lmm_common()
61 le32_to_cpu(lmm->lmm_pattern)); in lov_dump_lmm_common()
63 le32_to_cpu(lmm->lmm_stripe_size), in lov_dump_lmm_common()
84 le32_to_cpu(lod->l_ost_idx), POSTID(&oi)); in lov_dump_lmm_objects()
128 lmm_magic = le32_to_cpu((*lmmp)->lmm_magic); in lov_packmd()
260 if (lsm_op_find(le32_to_cpu(*(__u32 *)lmm)) == NULL) { in lov_verify_lmm()
265 le32_to_cpu(*(__u32 *)lmm), lmm_bytes); in lov_verify_lmm()
279 rc = lsm_op_find(le32_to_cpu(*(__u32 *)lmm))->lsm_lmm_verify(lmm, in lov_verify_lmm()
347 magic = le32_to_cpu(lmm->lmm_magic); in lov_unpackmd()
348 pattern = le32_to_cpu(lmm->lmm_pattern); in lov_unpackmd()
/linux-4.4.14/fs/ext2/
Dballoc.c86 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); in ext2_valid_block_bitmap()
93 bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap); in ext2_valid_block_bitmap()
100 bitmap_blk = le32_to_cpu(desc->bg_inode_table); in ext2_valid_block_bitmap()
133 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); in read_block_bitmap()
139 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
150 block_group, le32_to_cpu(desc->bg_block_bitmap)); in read_block_bitmap()
491 if (block < le32_to_cpu(es->s_first_data_block) || in ext2_free_blocks()
493 block + count > le32_to_cpu(es->s_blocks_count)) { in ext2_free_blocks()
504 block_group = (block - le32_to_cpu(es->s_first_data_block)) / in ext2_free_blocks()
506 bit = (block - le32_to_cpu(es->s_first_data_block)) % in ext2_free_blocks()
[all …]
Dsuper.c105 if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV) in ext2_update_dynamic_rev()
231 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); in ext2_show_options()
346 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) in ext2_nfs_get_inode()
622 if (le32_to_cpu(es->s_rev_level) > EXT2_MAX_SUPP_REV) { in ext2_setup_super()
644 else if (le32_to_cpu(es->s_checkinterval) && in ext2_setup_super()
645 (le32_to_cpu(es->s_lastcheck) + in ext2_setup_super()
646 le32_to_cpu(es->s_checkinterval) <= get_seconds())) in ext2_setup_super()
678 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; in ext2_check_descriptors()
683 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || in ext2_check_descriptors()
684 le32_to_cpu(gdp->bg_block_bitmap) > last_block) in ext2_check_descriptors()
[all …]
Dinode.c247 bh = sb_bread(sb, le32_to_cpu(p->key)); in ext2_get_branch()
302 return le32_to_cpu(*p); in ext2_find_near()
379 && le32_to_cpu(*(branch[0].p + count)) == 0) { in ext2_blks_to_allocate()
574 current_block = le32_to_cpu(where->key) + 1; in ext2_splice_branch()
587 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()
645 first_block = le32_to_cpu(chain[depth - 1].key); in ext2_get_blocks()
663 blk = le32_to_cpu(*(chain[depth-1].p + count)); in ext2_get_blocks()
740 err = dax_clear_blocks(inode, le32_to_cpu(chain[depth-1].key), in ext2_get_blocks()
752 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); in ext2_get_blocks()
1019 nr = le32_to_cpu(*p); in ext2_free_data()
[all …]
Dxattr.c177 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get()
209 size = le32_to_cpu(entry->e_value_size); in ext2_xattr_get()
266 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list()
399 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_set()
467 size_t size = le32_to_cpu(here->e_value_size); in ext2_xattr_set()
542 le32_to_cpu(here->e_value_size)); in ext2_xattr_set()
645 le32_to_cpu(HDR(new_bh)->h_refcount)); in ext2_xattr_set2()
736 le32_to_cpu(HDR(old_bh)->h_refcount)); in ext2_xattr_set2()
791 le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_delete_inode()
828 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); in ext2_xattr_cache_insert()
[all …]
/linux-4.4.14/fs/ext4/
Dextents.c205 ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block); in ext4_ext_find_goal()
233 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); in ext4_ext_new_meta_block()
378 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent()
417 lblock = le32_to_cpu(ext->ee_block); in ext4_valid_extent_entries()
536 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); in __read_extent_tree_block()
635 ext_debug(" %d->%llu", le32_to_cpu(path->p_idx->ei_block), in ext4_ext_show_path()
639 le32_to_cpu(path->p_ext->ee_block), in ext4_ext_show_path()
665 ext_debug("%d:[%d]%d:%llu ", le32_to_cpu(ex->ee_block), in ext4_ext_show_leaf()
683 le32_to_cpu(idx->ei_block), in ext4_ext_show_move()
695 le32_to_cpu(ex->ee_block), in ext4_ext_show_move()
[all …]
Dmigrate.c134 le32_to_cpu(i_data[i]), lb); in update_ind_extent_range()
163 le32_to_cpu(i_data[i]), lb); in update_dind_extent_range()
193 le32_to_cpu(i_data[i]), lb); in update_tind_extent_range()
234 bh = sb_bread(inode->i_sb, le32_to_cpu(i_data)); in free_dind_blocks()
243 le32_to_cpu(tmp_idata[i]), 1, in free_dind_blocks()
250 ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1, in free_dind_blocks()
264 bh = sb_bread(inode->i_sb, le32_to_cpu(i_data)); in free_tind_blocks()
281 ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1, in free_tind_blocks()
295 le32_to_cpu(i_data[0]), 1, in free_ind_block()
536 le32_to_cpu(i_data[i]), &lb); in ext4_ext_migrate()
[all …]
Dmmp.c101 if (le32_to_cpu(mmp->mmp_magic) != EXT4_MMP_MAGIC) in read_mmp_block()
180 if (!(le32_to_cpu(es->s_feature_incompat) & in kmmpd()
287 if (mmp_block < le32_to_cpu(es->s_first_data_block) || in ext4_multi_mount_protect()
309 seq = le32_to_cpu(mmp->mmp_seq); in ext4_multi_mount_protect()
335 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect()
364 if (seq != le32_to_cpu(mmp->mmp_seq)) { in ext4_multi_mount_protect()
Dsuper.c173 return le32_to_cpu(bg->bg_block_bitmap_lo) | in ext4_block_bitmap()
175 (ext4_fsblk_t)le32_to_cpu(bg->bg_block_bitmap_hi) << 32 : 0); in ext4_block_bitmap()
181 return le32_to_cpu(bg->bg_inode_bitmap_lo) | in ext4_inode_bitmap()
183 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_bitmap_hi) << 32 : 0); in ext4_inode_bitmap()
189 return le32_to_cpu(bg->bg_inode_table_lo) | in ext4_inode_table()
191 (ext4_fsblk_t)le32_to_cpu(bg->bg_inode_table_hi) << 32 : 0); in ext4_inode_table()
711 if (le32_to_cpu(es->s_rev_level) > EXT4_GOOD_OLD_REV) in ext4_update_dynamic_rev()
779 le32_to_cpu(sbi->s_es->s_last_orphan)); in dump_orphan_list()
1013 if (ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count)) in ext4_nfs_get_inode()
1751 BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); in parse_options()
[all …]
Ddir.c78 else if (unlikely(le32_to_cpu(de->inode) > in __ext4_check_dir_entry()
79 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) in __ext4_check_dir_entry()
89 offset, le32_to_cpu(de->inode), in __ext4_check_dir_entry()
96 offset, le32_to_cpu(de->inode), in __ext4_check_dir_entry()
234 if (le32_to_cpu(de->inode)) { in ext4_readdir()
238 le32_to_cpu(de->inode), in ext4_readdir()
252 le32_to_cpu(de->inode), in ext4_readdir()
438 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
Dxattr.c207 le32_to_cpu(entry->e_value_size) > end)) in ext4_xattr_check_names()
238 size_t value_size = le32_to_cpu(entry->e_value_size); in ext4_xattr_check_entry()
295 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
310 size = le32_to_cpu(entry->e_value_size); in ext4_xattr_block_get()
353 size = le32_to_cpu(entry->e_value_size); in ext4_xattr_ibody_get()
443 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
590 le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_release_block()
634 size_t size = le32_to_cpu(s->here->e_value_size); in ext4_xattr_set_entry()
660 le32_to_cpu(s->here->e_value_size)); in ext4_xattr_set_entry()
749 le32_to_cpu(BHDR(bs->bh)->h_refcount)); in ext4_xattr_block_find()
[all …]
/linux-4.4.14/fs/qnx4/
Dinode.c70 u32 size = le32_to_cpu(extent->xtnt_size); in try_extent()
72 return le32_to_cpu(extent->xtnt_blk) + *offset - 1; in try_extent()
92 i_xblk = le32_to_cpu(qnx4_inode->di_xblk); in qnx4_block_map()
114 i_xblk = le32_to_cpu(xblk->xblk_next_xblk); in qnx4_block_map()
135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs()
161 rd = le32_to_cpu(s->RootDir.di_first_xtnt.xtnt_blk) - 1; in qnx4_checkroot()
162 rl = le32_to_cpu(s->RootDir.di_first_xtnt.xtnt_size); in qnx4_checkroot()
300 inode->i_size = le32_to_cpu(raw_inode->di_size); in qnx4_iget()
301 inode->i_mtime.tv_sec = le32_to_cpu(raw_inode->di_mtime); in qnx4_iget()
303 inode->i_atime.tv_sec = le32_to_cpu(raw_inode->di_atime); in qnx4_iget()
[all …]
Dbitmap.c22 int start = le32_to_cpu(qnx4_sb(sb)->BitMap->di_first_xtnt.xtnt_blk) - 1; in qnx4_count_free_blocks()
26 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); in qnx4_count_free_blocks()
/linux-4.4.14/drivers/mtd/
Dftl.c239 le32_to_cpu(header.EraseCount); in build_maps()
249 part->XferInfo[xtrans].EraseCount = le32_to_cpu(header.EraseCount); in build_maps()
254 le32_to_cpu(part->header.EraseCount); in build_maps()
270 blocks = le32_to_cpu(header.FormattedSize) >> header.BlockSize; in build_maps()
289 offset = part->EUNInfo[i].Offset + le32_to_cpu(header.BAMOffset); in build_maps()
299 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { in build_maps()
302 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) && in build_maps()
303 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks)) in build_maps()
304 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = in build_maps()
306 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j]))) in build_maps()
[all …]
Dinftlmount.c134 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); in find_boot_record()
135 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); in find_boot_record()
136 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); in find_boot_record()
137 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); in find_boot_record()
138 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); in find_boot_record()
139 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); in find_boot_record()
191 ip->virtualUnits = le32_to_cpu(ip->virtualUnits); in find_boot_record()
192 ip->firstUnit = le32_to_cpu(ip->firstUnit); in find_boot_record()
193 ip->lastUnit = le32_to_cpu(ip->lastUnit); in find_boot_record()
194 ip->flags = le32_to_cpu(ip->flags); in find_boot_record()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dcmd.c89 out[i] = le32_to_cpu(res[i]); in carl9170_read_mreg()
181 tick = le32_to_cpu(tally.tick); in carl9170_collect_tally()
183 ar->tally.active += le32_to_cpu(tally.active) / tick; in carl9170_collect_tally()
184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; in carl9170_collect_tally()
185 ar->tally.tx_time += le32_to_cpu(tally.tx_time) / tick; in carl9170_collect_tally()
186 ar->tally.rx_total += le32_to_cpu(tally.rx_total); in carl9170_collect_tally()
187 ar->tally.rx_overrun += le32_to_cpu(tally.rx_overrun); in carl9170_collect_tally()
/linux-4.4.14/drivers/net/usb/
Drndis_host.c78 u32 status = le32_to_cpu(msg->status); in rndis_msg_indicate()
118 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
133 buf, le32_to_cpu(buf->msg_len), in rndis_command()
152 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; in rndis_command()
163 msg_type = le32_to_cpu(buf->msg_type); in rndis_command()
164 msg_len = le32_to_cpu(buf->msg_len); in rndis_command()
165 status = le32_to_cpu(buf->status); in rndis_command()
209 le32_to_cpu(buf->msg_type), msg_len); in rndis_command()
268 off = le32_to_cpu(u.get_c->offset); in rndis_query()
269 len = le32_to_cpu(u.get_c->len); in rndis_query()
[all …]
/linux-4.4.14/drivers/net/wireless/
Drndis_wlan.c687 switch (le32_to_cpu(rndis_status)) { in rndis_error_status()
743 le32_to_cpu(u.get_c->status)); in rndis_query_oid()
746 resplen = le32_to_cpu(u.get_c->len); in rndis_query_oid()
747 respoffs = le32_to_cpu(u.get_c->offset) + 8; in rndis_query_oid()
779 le32_to_cpu(u.get_c->status), ret); in rndis_query_oid()
831 le32_to_cpu(u.set_c->status)); in rndis_set_oid()
839 le32_to_cpu(u.set_c->status), ret); in rndis_set_oid()
1335 KHZ_TO_MHZ(le32_to_cpu(config.ds_config))); in get_current_channel()
1340 *beacon_period = le32_to_cpu(config.beacon_period); in get_current_channel()
1476 le32_to_cpu(ndis_key.size)); in add_wpa_key()
[all …]
/linux-4.4.14/sound/soc/codecs/
Dwm_adsp.c924 val = le32_to_cpu(*((__le32 *)*pos)); in wm_coeff_parse_int()
946 blk->id = le32_to_cpu(raw->id); in wm_coeff_parse_alg()
949 blk->ncoeff = le32_to_cpu(raw->ncoeff); in wm_coeff_parse_alg()
976 *data = *data + sizeof(raw->hdr) + le32_to_cpu(raw->hdr.size); in wm_coeff_parse_coeff()
984 blk->len = le32_to_cpu(raw->len); in wm_coeff_parse_coeff()
1129 file, le32_to_cpu(adsp1_sizes->dm), in wm_adsp_load()
1130 le32_to_cpu(adsp1_sizes->pm), in wm_adsp_load()
1131 le32_to_cpu(adsp1_sizes->zm)); in wm_adsp_load()
1141 file, le32_to_cpu(adsp2_sizes->xm), in wm_adsp_load()
1142 le32_to_cpu(adsp2_sizes->ym), in wm_adsp_load()
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dsnic_ctl.c181 snic->fwinfo.fw_ver = le32_to_cpu(exv_cmpl->version); in snic_io_exch_ver_cmpl_handler()
182 snic->fwinfo.hid = le32_to_cpu(exv_cmpl->hid); in snic_io_exch_ver_cmpl_handler()
183 snic->fwinfo.max_concur_ios = le32_to_cpu(exv_cmpl->max_concur_ios); in snic_io_exch_ver_cmpl_handler()
184 snic->fwinfo.max_sgs_per_cmd = le32_to_cpu(exv_cmpl->max_sgs_per_cmd); in snic_io_exch_ver_cmpl_handler()
185 snic->fwinfo.max_io_sz = le32_to_cpu(exv_cmpl->max_io_sz); in snic_io_exch_ver_cmpl_handler()
186 snic->fwinfo.max_tgts = le32_to_cpu(exv_cmpl->max_tgts); in snic_io_exch_ver_cmpl_handler()
201 le32_to_cpu(exv_cmpl->hba_cap)); in snic_io_exch_ver_cmpl_handler()
/linux-4.4.14/drivers/usb/host/
Dxhci-ring.c100 return le32_to_cpu(trb->link.control) & LINK_TOGGLE; in last_trb_on_last_seg()
198 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in inc_enq()
648 if (unlikely(TRB_TO_SUSPEND_PORT(le32_to_cpu(trb->generic.field[3])))) { in xhci_handle_cmd_stop_ep()
657 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_stop_ep()
964 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_set_deq()
965 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); in xhci_handle_cmd_set_deq()
990 ep_state = le32_to_cpu(ep_ctx->ep_info); in xhci_handle_cmd_set_deq()
992 slot_state = le32_to_cpu(slot_ctx->dev_state); in xhci_handle_cmd_set_deq()
1052 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); in xhci_handle_cmd_reset_ep()
1128 add_flags = le32_to_cpu(ctrl_ctx->add_flags); in xhci_handle_cmd_config_ep()
[all …]
Dxhci-dbg.c273 u32 type = le32_to_cpu(trb->link.control) & TRB_TYPE_BITMASK; in xhci_debug_trb()
284 GET_INTR_TARGET(le32_to_cpu(trb->link.intr_target))); in xhci_debug_trb()
286 le32_to_cpu(trb->link.control) & TRB_CYCLE); in xhci_debug_trb()
288 le32_to_cpu(trb->link.control) & LINK_TOGGLE); in xhci_debug_trb()
290 le32_to_cpu(trb->link.control) & TRB_NO_SNOOP); in xhci_debug_trb()
304 GET_COMP_CODE(le32_to_cpu(trb->event_cmd.status))); in xhci_debug_trb()
306 le32_to_cpu(trb->event_cmd.flags)); in xhci_debug_trb()
340 le32_to_cpu(trb->link.intr_target), in xhci_debug_segment()
341 le32_to_cpu(trb->link.control)); in xhci_debug_segment()
422 le32_to_cpu(entry->seg_size), in xhci_dbg_erst()
[all …]
Dxhci-trace.h130 __entry->dma = ((u64)le32_to_cpu(ev->field[1])) << 32 |
131 le32_to_cpu(ev->field[0]);
132 __entry->status = le32_to_cpu(ev->field[2]);
133 __entry->flags = le32_to_cpu(ev->field[3]);
/linux-4.4.14/drivers/char/tpm/
Dtpm_crb.c100 if ((le32_to_cpu(ioread32(&priv->cca->start)) & CRB_START_INVOKE) != in crb_status()
116 if (le32_to_cpu(ioread32(&priv->cca->sts)) & CRB_CA_STS_ERROR) in crb_recv()
152 if (len > le32_to_cpu(ioread32(&priv->cca->cmd_size))) { in crb_send()
156 (size_t) le32_to_cpu(ioread32(&priv->cca->cmd_size))); in crb_send()
192 u32 cancel = le32_to_cpu(ioread32(&priv->cca->cancel)); in crb_req_canceled()
247 sm = le32_to_cpu(buf->start_method); in crb_acpi_add()
267 pa = ((u64) le32_to_cpu(ioread32(&priv->cca->cmd_pa_high)) << 32) | in crb_acpi_add()
268 (u64) le32_to_cpu(ioread32(&priv->cca->cmd_pa_low)); in crb_acpi_add()
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-drv.c354 cipher = le32_to_cpu(fwcs->cipher); in iwl_store_cscheme()
384 capa->max_scan_cache_size = le32_to_cpu(fw_capa->max_scan_cache_size); in iwl_store_gscan_capa()
385 capa->max_scan_buckets = le32_to_cpu(fw_capa->max_scan_buckets); in iwl_store_gscan_capa()
387 le32_to_cpu(fw_capa->max_ap_cache_per_scan); in iwl_store_gscan_capa()
388 capa->max_rssi_sample_size = le32_to_cpu(fw_capa->max_rssi_sample_size); in iwl_store_gscan_capa()
390 le32_to_cpu(fw_capa->max_scan_reporting_threshold); in iwl_store_gscan_capa()
391 capa->max_hotlist_aps = le32_to_cpu(fw_capa->max_hotlist_aps); in iwl_store_gscan_capa()
393 le32_to_cpu(fw_capa->max_significant_change_aps); in iwl_store_gscan_capa()
395 le32_to_cpu(fw_capa->max_bssid_history_entries); in iwl_store_gscan_capa()
418 sec->offset = le32_to_cpu(sec_parse->offset); in iwl_store_ucode_sec()
[all …]
/linux-4.4.14/fs/ocfs2/
Dlocalalloc.c324 if (!(le32_to_cpu(alloc->i_flags) & in ocfs2_load_local_alloc()
351 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
352 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
666 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
670 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
677 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
678 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
699 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
700 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
756 *bit_off = le32_to_cpu(la->la_bm_off) + start; in ocfs2_claim_local_alloc_bits()
[all …]
Dexport.c246 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; in ocfs2_fh_to_dentry()
247 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); in ocfs2_fh_to_dentry()
248 handle.ih_generation = le32_to_cpu(fid->raw[2]); in ocfs2_fh_to_dentry()
260 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; in ocfs2_fh_to_parent()
261 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); in ocfs2_fh_to_parent()
262 parent.ih_generation = le32_to_cpu(fid->raw[5]); in ocfs2_fh_to_parent()
Dinode.c288 BUG_ON(le32_to_cpu(fe->i_fs_generation) != osb->fs_generation); in ocfs2_populate_inode()
291 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); in ocfs2_populate_inode()
292 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); in ocfs2_populate_inode()
296 inode->i_generation = le32_to_cpu(fe->i_generation); in ocfs2_populate_inode()
299 i_uid_write(inode, le32_to_cpu(fe->i_uid)); in ocfs2_populate_inode()
300 i_gid_write(inode, le32_to_cpu(fe->i_gid)); in ocfs2_populate_inode()
311 inode->i_atime.tv_nsec = le32_to_cpu(fe->i_atime_nsec); in ocfs2_populate_inode()
313 inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); in ocfs2_populate_inode()
315 inode->i_ctime.tv_nsec = le32_to_cpu(fe->i_ctime_nsec); in ocfs2_populate_inode()
326 le32_to_cpu(fe->i_flags)); in ocfs2_populate_inode()
[all …]
Drefcounttree.c120 if (le32_to_cpu(rb->rf_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_refcount_block()
124 le32_to_cpu(rb->rf_fs_generation)); in ocfs2_validate_refcount_block()
372 new->rf_generation = le32_to_cpu(ref_rb->rf_generation); in ocfs2_get_refcount_tree()
495 if (tree->rf_generation != le32_to_cpu(rb->rf_generation)) { in ocfs2_lock_refcount_tree()
660 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); in ocfs2_create_refcount_tree()
794 if (le32_to_cpu(rb->rf_count) == 1) { in ocfs2_remove_refcount_tree()
897 le32_to_cpu(rec->r_clusters) <= cpos) in ocfs2_find_refcount_rec_in_rl()
983 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); in ocfs2_get_refcount_cpos_end()
1011 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); in ocfs2_get_refcount_cpos_end()
1044 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); in ocfs2_get_refcount_cpos_end()
[all …]
Dquota_local.c183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { in ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), in ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { in ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), in ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { in ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); in ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { in ocfs2_local_check_quota_file()
224 le32_to_cpu(dqhead->dqh_version), gversions[type], in ocfs2_local_check_quota_file()
257 for (i = 0; i < le32_to_cpu(ldinfo->dqi_chunks); i++) { in ocfs2_load_local_quota_bitmaps()
346 int i, chunks = le32_to_cpu(ldinfo->dqi_chunks); in ocfs2_recovery_load_quota()
[all …]
Dalloc.c203 oi->ip_clusters = le32_to_cpu(di->i_clusters); in ocfs2_dinode_update_clusters()
231 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), in ocfs2_dinode_insert_check()
783 rec_start = le32_to_cpu(rec->e_cpos); in ocfs2_search_extent_list()
818 left_range = le32_to_cpu(left->e_cpos) + in ocfs2_extents_adjacent()
821 return (left_range == le32_to_cpu(right->e_cpos)); in ocfs2_extents_adjacent()
926 if (le32_to_cpu(eb->h_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_extent_block()
930 le32_to_cpu(eb->h_fs_generation)); in ocfs2_validate_extent_block()
1094 return le32_to_cpu(el->l_recs[i].e_cpos) + in ocfs2_sum_rightmost_rec()
1597 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); in ocfs2_rotate_leaf()
1630 if (insert_cpos < le32_to_cpu(rec->e_cpos)) in ocfs2_rotate_leaf()
[all …]
Dextent_map.c235 ins.ei_cpos = le32_to_cpu(rec->e_cpos); in ocfs2_extent_map_insert_rec()
339 if (v_cluster < le32_to_cpu(rec->e_cpos)) in ocfs2_search_for_hole_index()
401 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; in ocfs2_figure_hole_clusters()
475 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_get_clusters_nocache()
481 le32_to_cpu(rec->e_cpos), in ocfs2_get_clusters_nocache()
535 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_relative_extent_offsets()
583 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); in ocfs2_xattr_get_clusters()
589 le32_to_cpu(rec->e_cpos), in ocfs2_xattr_get_clusters()
594 coff = v_cluster - le32_to_cpu(rec->e_cpos); in ocfs2_xattr_get_clusters()
811 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()
[all …]
/linux-4.4.14/fs/cifs/
Dsmb2misc.c268 *off = le32_to_cpu( in smb2_get_data_area_len()
270 *len = le32_to_cpu( in smb2_get_data_area_len()
276 *len = le32_to_cpu( in smb2_get_data_area_len()
281 *len = le32_to_cpu(((struct smb2_read_rsp *)hdr)->DataLength); in smb2_get_data_area_len()
286 *len = le32_to_cpu( in smb2_get_data_area_len()
290 *off = le32_to_cpu( in smb2_get_data_area_len()
292 *len = le32_to_cpu(((struct smb2_ioctl_rsp *)hdr)->OutputCount); in smb2_get_data_area_len()
449 int ack_req = le32_to_cpu(rsp->Flags & in smb2_tcon_has_lease()
452 lease_state = le32_to_cpu(rsp->NewLeaseState); in smb2_tcon_has_lease()
464 le32_to_cpu(rsp->NewLeaseState)); in smb2_tcon_has_lease()
[all …]
Dcifsacl.c128 saval = le32_to_cpu(sidptr->sub_auth[i]); in sid_to_key_str()
174 if (le32_to_cpu(ctsid->sub_auth[i]) > in compare_sids()
175 le32_to_cpu(cwsid->sub_auth[i])) in compare_sids()
416 le32_to_cpu(pntsd->osidoffset)); in copy_sec_desc()
422 le32_to_cpu(pntsd->gsidoffset)); in copy_sec_desc()
439 __u32 flags = le32_to_cpu(ace_flags); in access_flags_to_mode()
570 i, le32_to_cpu(pace->sid.sub_auth[i])); in dump_ace()
609 le32_to_cpu(pdacl->num_aces)); in parse_dacl()
619 num_aces = le32_to_cpu(pdacl->num_aces); in parse_dacl()
715 i, le32_to_cpu(psid->sub_auth[i])); in parse_sid()
[all …]
Dioctl.c159 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics); in smb_mnt_get_fsinfo()
160 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in smb_mnt_get_fsinfo()
161 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); in smb_mnt_get_fsinfo()
163 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength); in smb_mnt_get_fsinfo()
168 fsinf->share_caps = le32_to_cpu(tcon->capabilities); in smb_mnt_get_fsinfo()
/linux-4.4.14/fs/ntfs/
Dattrib.c607 le32_to_cpu(ctx->attr->length)); in ntfs_attr_find()
608 for (;; a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))) { in ntfs_attr_find()
610 le32_to_cpu(ctx->mrec->bytes_allocated)) in ntfs_attr_find()
613 if (unlikely(le32_to_cpu(a->type) > le32_to_cpu(type) || in ntfs_attr_find()
670 min_t(u32, val_len, le32_to_cpu( in ntfs_attr_find()
679 avl = le32_to_cpu( in ntfs_attr_find()
915 if (le32_to_cpu(al_entry->type) > le32_to_cpu(type)) in ntfs_external_attr_find()
1046 le32_to_cpu(ctx->mrec->bytes_allocated)) in ntfs_external_attr_find()
1071 if (!val || (!a->non_resident && le32_to_cpu( in ntfs_external_attr_find()
1081 a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length)); in ntfs_external_attr_find()
[all …]
Dquota.c73 if (le32_to_cpu(qce->version) != QUOTA_VERSION) { in ntfs_mark_quotas_out_of_date()
75 "supported.", le32_to_cpu(qce->version)); in ntfs_mark_quotas_out_of_date()
78 ntfs_debug("Quota defaults flags = 0x%x.", le32_to_cpu(qce->flags)); in ntfs_mark_quotas_out_of_date()
Dlogfile.c63 logfile_system_page_size = le32_to_cpu(rp->system_page_size); in ntfs_check_restart_page_header()
64 logfile_log_page_size = le32_to_cpu(rp->log_page_size); in ntfs_check_restart_page_header()
199 if (ra_ofs + ra_len > le32_to_cpu(rp->system_page_size) || in ntfs_check_restart_area()
201 le32_to_cpu(rp->system_page_size) || in ntfs_check_restart_area()
234 if (le32_to_cpu(ra->seq_number_bits) != 67 - fs_bits) { in ntfs_check_restart_area()
373 trp = ntfs_malloc_nofs(le32_to_cpu(rp->system_page_size)); in ntfs_check_and_load_restart_page()
385 if (size >= le32_to_cpu(rp->system_page_size)) { in ntfs_check_and_load_restart_page()
386 memcpy(trp, rp, le32_to_cpu(rp->system_page_size)); in ntfs_check_and_load_restart_page()
396 to_read = le32_to_cpu(rp->system_page_size) - size; in ntfs_check_and_load_restart_page()
423 le32_to_cpu(rp->system_page_size))) { in ntfs_check_and_load_restart_page()
Dindex.c147 "Aborting lookup.", le32_to_cpu( in ntfs_index_lookup()
177 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_index_lookup()
180 le32_to_cpu(ir->index.entries_offset)); in ntfs_index_lookup()
314 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_index_lookup()
321 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_index_lookup()
334 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); in ntfs_index_lookup()
343 le32_to_cpu(ia->index.entries_offset)); in ntfs_index_lookup()
Ddir.c128 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length); in ntfs_lookup_inode_by_name()
131 le32_to_cpu(ir->index.entries_offset)); in ntfs_lookup_inode_by_name()
357 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_lookup_inode_by_name()
364 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_lookup_inode_by_name()
377 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); in ntfs_lookup_inode_by_name()
386 le32_to_cpu(ia->index.entries_offset)); in ntfs_lookup_inode_by_name()
679 index_end = (u8*)&ir->index + le32_to_cpu(ir->index.index_length);
682 le32_to_cpu(ir->index.entries_offset));
835 if (le32_to_cpu(ia->index.allocated_size) + 0x18 !=
842 le32_to_cpu(ia->index.allocated_size) + 0x18,
[all …]
Dendian.h40 return le32_to_cpu((__force le32)x); in sle32_to_cpu()
55 return le32_to_cpu(*(__force le32*)x); in sle32_to_cpup()
Dinode.c479 p = (u8*)attr + le32_to_cpu(attr->length); in ntfs_is_extended_system_file()
481 le32_to_cpu(ctx->mrec->bytes_in_use)) { in ntfs_is_extended_system_file()
505 p2 = (u8*)attr + le32_to_cpu(attr->data.resident.value_length); in ntfs_is_extended_system_file()
767 + le32_to_cpu( in ntfs_read_locked_inode()
777 le32_to_cpu( in ntfs_read_locked_inode()
840 ir_end = (u8*)ir + le32_to_cpu(a->data.resident.value_length); in ntfs_read_locked_inode()
847 le32_to_cpu(ir->index.index_length); in ntfs_read_locked_inode()
863 ni->itype.index.block_size = le32_to_cpu(ir->index_block_size); in ntfs_read_locked_inode()
1142 vi->i_size = ni->initialized_size = le32_to_cpu( in ntfs_read_locked_inode()
1144 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_read_locked_inode()
[all …]
Dnamei.c229 val_len = le32_to_cpu(a->data.resident.value_length); in ntfs_lookup()
231 val_len > le32_to_cpu(a->length)) in ntfs_lookup()
339 if (unlikely((u8 *)fn + le32_to_cpu(attr->data.resident.value_length) > in ntfs_get_parent()
340 (u8*)attr + le32_to_cpu(attr->length))) in ntfs_get_parent()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c242 stats->mcast_tx_frame = le32_to_cpu(get_log->mcast_tx_frame); in mwifiex_ret_get_log()
243 stats->failed = le32_to_cpu(get_log->failed); in mwifiex_ret_get_log()
244 stats->retry = le32_to_cpu(get_log->retry); in mwifiex_ret_get_log()
245 stats->multi_retry = le32_to_cpu(get_log->multi_retry); in mwifiex_ret_get_log()
246 stats->frame_dup = le32_to_cpu(get_log->frame_dup); in mwifiex_ret_get_log()
247 stats->rts_success = le32_to_cpu(get_log->rts_success); in mwifiex_ret_get_log()
248 stats->rts_failure = le32_to_cpu(get_log->rts_failure); in mwifiex_ret_get_log()
249 stats->ack_failure = le32_to_cpu(get_log->ack_failure); in mwifiex_ret_get_log()
250 stats->rx_frag = le32_to_cpu(get_log->rx_frag); in mwifiex_ret_get_log()
251 stats->mcast_rx_frame = le32_to_cpu(get_log->mcast_rx_frame); in mwifiex_ret_get_log()
[all …]
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio_3g.c53 box_status = le32_to_cpu(chip->comm_page->ext_box_status); in check_asic_status()
66 return le32_to_cpu(chip->comm_page->e3g_frq_register); in get_frq_reg()
179 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_professional_spdif()
197 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
276 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
333 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
335 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
406 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
Dgina24_dsp.c102 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
182 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
240 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
242 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
314 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
Dlayla24_dsp.c92 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
176 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
254 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
256 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
370 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
Dmona_dsp.c95 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in detect_input_clocks()
244 control_reg = le32_to_cpu(chip->comm_page->control_register); in set_sample_rate()
309 control_reg = le32_to_cpu(chip->comm_page->control_register) & in set_input_clock()
311 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); in set_input_clock()
395 control_reg = le32_to_cpu(chip->comm_page->control_register); in dsp_set_digital_mode()
/linux-4.4.14/drivers/scsi/aacraid/
Daachba.c377 le32_to_cpu(reply->response), in aac_get_config_status()
378 le32_to_cpu(reply->status), in aac_get_config_status()
379 le32_to_cpu(reply->data.action))); in aac_get_config_status()
380 if ((le32_to_cpu(reply->response) != ST_OK) || in aac_get_config_status()
381 (le32_to_cpu(reply->status) != CT_OK) || in aac_get_config_status()
382 (le32_to_cpu(reply->data.action) > CFACT_PAUSE)) { in aac_get_config_status()
464 maximum_num_containers = le32_to_cpu(dresp->ContainerSwitchEntries); in aac_get_containers()
468 le32_to_cpu(dresp->MaxSimpleVolumes); in aac_get_containers()
520 if ((le32_to_cpu(get_name_reply->status) == CT_OK) in get_container_name_callback()
621 if ((le32_to_cpu(dresp->status) == ST_OK) && in _aac_probe_container2()
[all …]
Dcommsup.c136 dev->scsi_host_ptr->can_queue = le32_to_cpu(dev->init->MaxIoCommands) - AAC_NUM_MGT_FIB; in aac_fib_setup()
253 le32_to_cpu(fibptr->hw_fib_va->header.XferState)); in aac_fib_free()
327 idx = *index = le32_to_cpu(*(q->headers.producer)); in aac_get_entry()
329 if (idx != le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
336 if (idx != le32_to_cpu(*(q->headers.consumer))) in aac_get_entry()
349 if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { in aac_get_entry()
517 dprintk((KERN_DEBUG " Command = %d.\n", le32_to_cpu(hw_fib->header.Command))); in aac_fib_send()
518 …dprintk((KERN_DEBUG " SubCommand = %d.\n", le32_to_cpu(((struct aac_query_mount *)fib_… in aac_fib_send()
519 dprintk((KERN_DEBUG " XferState = %x.\n", le32_to_cpu(hw_fib->header.XferState))); in aac_fib_send()
662 if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { in aac_consumer_get()
[all …]
/linux-4.4.14/net/ceph/
Dceph_fs.c12 __u32 su = le32_to_cpu(layout->fl_stripe_unit); in ceph_file_layout_is_valid()
13 __u32 sc = le32_to_cpu(layout->fl_stripe_count); in ceph_file_layout_is_valid()
14 __u32 os = le32_to_cpu(layout->fl_object_size); in ceph_file_layout_is_valid()
Dmessenger.c1288 WARN_ON(m->data_length != le32_to_cpu(m->hdr.data_len)); in prepare_write_message()
1292 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), in prepare_write_message()
1294 BUG_ON(le32_to_cpu(m->hdr.front_len) != m->front.iov_len); in prepare_write_message()
1320 le32_to_cpu(con->out_msg->footer.front_crc), in prepare_write_message()
1321 le32_to_cpu(con->out_msg->footer.middle_crc)); in prepare_write_message()
1574 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; in write_partial_message_data()
1749 size = le32_to_cpu(con->in_reply.authorizer_len); in read_partial_connect()
1757 le32_to_cpu(con->in_reply.connect_seq), in read_partial_connect()
1758 le32_to_cpu(con->in_reply.global_seq)); in read_partial_connect()
2010 (int)le32_to_cpu(con->peer_addr.nonce), in process_banner()
[all …]
/linux-4.4.14/drivers/net/ethernet/3com/
Dtyphoon.c492 cleared = le32_to_cpu(indexes->respCleared); in typhoon_process_response()
493 ready = le32_to_cpu(indexes->respReady); in typhoon_process_response()
527 le32_to_cpu(resp->parm2), in typhoon_process_response()
528 le32_to_cpu(resp->parm3)); in typhoon_process_response()
555 int cmdCleared = le32_to_cpu(tp->indexes->cmdCleared); in typhoon_num_free_cmd()
563 int respReady = le32_to_cpu(tp->indexes->respReady); in typhoon_num_free_resp()
564 int respCleared = le32_to_cpu(tp->indexes->respCleared); in typhoon_num_free_resp()
919 stats->tx_packets = le32_to_cpu(s->txPackets) + in typhoon_do_get_stats()
923 stats->tx_errors = le32_to_cpu(s->txCarrierLost) + in typhoon_do_get_stats()
925 stats->tx_carrier_errors = le32_to_cpu(s->txCarrierLost) + in typhoon_do_get_stats()
[all …]
/linux-4.4.14/arch/parisc/lib/
Dio.c423 outl(le32_to_cpu(*(unsigned int *)p), port); in outsl()
438 outl (le32_to_cpu(l << 16 | l2 >> 16), port); in outsl()
442 outl (le32_to_cpu(l << 16 | l2), port); in outsl()
456 outl (le32_to_cpu(l | l2 >> 24), port); in outsl()
460 outl (le32_to_cpu(l | l2), port); in outsl()
472 outl (le32_to_cpu(l | l2 >> 8), port); in outsl()
478 outl (le32_to_cpu(l | l2), port); in outsl()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c203 ld_count = (u16)le32_to_cpu(pFwRaidMap->ldCount); in MR_PopulateDrvRaidMap()
289 if (le32_to_cpu(pDrvRaidMap->totalSize) != expected_size) { in MR_ValidateMapInfo()
294 le32_to_cpu(pDrvRaidMap->totalSize)); in MR_ValidateMapInfo()
325 for (j = 0; j < le32_to_cpu(pSpanBlock->block_span_info.noElements); j++) { in MR_GetSpanBlock()
328 if (le32_to_cpu(quad->diff) == 0) in MR_GetSpanBlock()
332 le32_to_cpu(quad->diff))) == 0) { in MR_GetSpanBlock()
335 blk = mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff)); in MR_GetSpanBlock()
380 le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. in getSpanInfo()
409 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. in getSpanInfo()
417 element, le32_to_cpu(quad->diff)); in getSpanInfo()
[all …]
/linux-4.4.14/drivers/media/common/siano/
Dsmsendian.c38 msg->msg_data[0] = le32_to_cpu(msg->msg_data[0]); in smsendian_handle_tx_message()
47 msg->msg_data[i] = le32_to_cpu(msg->msg_data[i]); in smsendian_handle_tx_message()
84 msg->msg_data[i] = le32_to_cpu(msg->msg_data[i]); in smsendian_handle_rx_message()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_mlme.c508 pnetwork->Length = le32_to_cpu(pnetwork->Length); in r8712_survey_event_callback()
509 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_survey_event_callback()
510 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); in r8712_survey_event_callback()
511 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); in r8712_survey_event_callback()
512 pnetwork->NetworkTypeInUse = le32_to_cpu(pnetwork->NetworkTypeInUse); in r8712_survey_event_callback()
514 le32_to_cpu(pnetwork->Configuration.ATIMWindow); in r8712_survey_event_callback()
516 le32_to_cpu(pnetwork->Configuration.BeaconPeriod); in r8712_survey_event_callback()
518 le32_to_cpu(pnetwork->Configuration.DSConfig); in r8712_survey_event_callback()
520 le32_to_cpu(pnetwork->Configuration.FHConfig.DwellTime); in r8712_survey_event_callback()
522 le32_to_cpu(pnetwork->Configuration.FHConfig.HopPattern); in r8712_survey_event_callback()
[all …]
Drtl8712_recv.c163 drvinfo_sz = (le32_to_cpu(prxstat->rxdw0) & 0x000f0000) >> 16; in update_recvframe_attrib_from_recvstat()
167 pattrib->bdecrypted = ((le32_to_cpu(prxstat->rxdw0) & BIT(27)) >> 27) in update_recvframe_attrib_from_recvstat()
169 pattrib->crc_err = (le32_to_cpu(prxstat->rxdw0) & BIT(14)) >> 14; in update_recvframe_attrib_from_recvstat()
173 if (le32_to_cpu(prxstat->rxdw3) & BIT(13)) { in update_recvframe_attrib_from_recvstat()
175 if (le32_to_cpu(prxstat->rxdw3) & BIT(11)) in update_recvframe_attrib_from_recvstat()
179 if (le32_to_cpu(prxstat->rxdw3) & BIT(12)) in update_recvframe_attrib_from_recvstat()
186 pattrib->mcs_rate = (u8)((le32_to_cpu(prxstat->rxdw3)) & 0x3f); in update_recvframe_attrib_from_recvstat()
187 pattrib->htc = (u8)((le32_to_cpu(prxstat->rxdw3) >> 14) & 0x1); in update_recvframe_attrib_from_recvstat()
440 drvinfo_sz = (le32_to_cpu(prxstat->rxdw0) & 0x000f0000) >> 16; in r8712_rxcmd_event_hdl()
445 cmd_len = (u16)(le32_to_cpu(voffset) & 0xffff); in r8712_rxcmd_event_hdl()
[all …]
Drtl871x_cmd.c905 pnetwork->Length = le32_to_cpu(pnetwork->Length); in r8712_createbss_cmd_callback()
906 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_createbss_cmd_callback()
907 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); in r8712_createbss_cmd_callback()
908 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); in r8712_createbss_cmd_callback()
909 pnetwork->NetworkTypeInUse = le32_to_cpu(pnetwork->NetworkTypeInUse); in r8712_createbss_cmd_callback()
910 pnetwork->Configuration.ATIMWindow = le32_to_cpu(pnetwork-> in r8712_createbss_cmd_callback()
912 pnetwork->Configuration.DSConfig = le32_to_cpu(pnetwork-> in r8712_createbss_cmd_callback()
914 pnetwork->Configuration.FHConfig.DwellTime = le32_to_cpu(pnetwork-> in r8712_createbss_cmd_callback()
916 pnetwork->Configuration.FHConfig.HopPattern = le32_to_cpu(pnetwork-> in r8712_createbss_cmd_callback()
918 pnetwork->Configuration.FHConfig.HopSet = le32_to_cpu(pnetwork-> in r8712_createbss_cmd_callback()
[all …]
/linux-4.4.14/drivers/net/wireless/orinoco/
Dfw.c69 if ((hdrsize + le32_to_cpu(hdr->block_offset)) > len) in validate_fw()
71 if ((hdrsize + le32_to_cpu(hdr->pdr_offset)) > len) in validate_fw()
73 if ((hdrsize + le32_to_cpu(hdr->pri_offset)) > len) in validate_fw()
75 if ((hdrsize + le32_to_cpu(hdr->compat_offset)) > len) in validate_fw()
153 err = hw->ops->program_init(hw, le32_to_cpu(hdr->entry_point)); in orinoco_dl_firmware()
161 le32_to_cpu(hdr->block_offset)); in orinoco_dl_firmware()
172 le32_to_cpu(hdr->pdr_offset)); in orinoco_dl_firmware()
Dhermes_dld.c98 return le32_to_cpu(blk->addr); in dblock_addr()
112 return le32_to_cpu(pdr->id); in pdr_id()
118 return le32_to_cpu(pdr->addr); in pdr_addr()
124 return le32_to_cpu(pdr->len); in pdr_len()
/linux-4.4.14/drivers/nvme/host/
Dlightnvm.c259 dst->trdt = le32_to_cpu(src->trdt); in init_grps()
260 dst->trdm = le32_to_cpu(src->trdm); in init_grps()
261 dst->tprt = le32_to_cpu(src->tprt); in init_grps()
262 dst->tprm = le32_to_cpu(src->tprm); in init_grps()
263 dst->tbet = le32_to_cpu(src->tbet); in init_grps()
264 dst->tbem = le32_to_cpu(src->tbem); in init_grps()
265 dst->mpos = le32_to_cpu(src->mpos); in init_grps()
266 dst->mccap = le32_to_cpu(src->mccap); in init_grps()
300 nvm_id->cap = le32_to_cpu(nvme_nvm_id->cap); in nvme_nvm_identity()
301 nvm_id->dom = le32_to_cpu(nvme_nvm_id->dom); in nvme_nvm_identity()
[all …]
/linux-4.4.14/drivers/bluetooth/
Dbtqca.c74 BT_DBG("%s: Product:0x%08x", hdev->name, le32_to_cpu(ver->product_id)); in rome_patch_ver_req()
77 BT_DBG("%s: SOC :0x%08x", hdev->name, le32_to_cpu(ver->soc_id)); in rome_patch_ver_req()
83 *rome_version = (le32_to_cpu(ver->soc_id) << 16) | in rome_patch_ver_req()
124 type_len = le32_to_cpu(tlv->type_len); in rome_tlv_check_data()
134 le32_to_cpu(tlv_patch->total_size)); in rome_tlv_check_data()
136 le32_to_cpu(tlv_patch->data_length)); in rome_tlv_check_data()
152 le32_to_cpu(tlv_patch->entry)); in rome_tlv_check_data()
Dbtintel.c401 bt_dev_dbg(ctx->hdev, "Register (0x%x) read", le32_to_cpu(cp.addr)); in regmap_ibt_read()
408 le32_to_cpu(cp.addr), err); in regmap_ibt_read()
414 le32_to_cpu(cp.addr)); in regmap_ibt_read()
423 le32_to_cpu(rp->addr)); in regmap_ibt_read()
473 bt_dev_dbg(ctx->hdev, "Register (0x%x) write", le32_to_cpu(cp->addr)); in regmap_ibt_gather_write()
479 le32_to_cpu(cp->addr), err); in regmap_ibt_gather_write()
/linux-4.4.14/include/linux/ceph/
Dceph_fs.h56 #define ceph_file_layout_su(l) ((__s32)le32_to_cpu((l).fl_stripe_unit))
58 ((__s32)le32_to_cpu((l).fl_stripe_count))
59 #define ceph_file_layout_object_size(l) ((__s32)le32_to_cpu((l).fl_object_size))
60 #define ceph_file_layout_cas_hash(l) ((__s32)le32_to_cpu((l).fl_cas_hash))
62 ((__s32)le32_to_cpu((l).fl_object_stripe_unit))
64 ((__s32)le32_to_cpu((l).fl_pg_pool))
68 return le32_to_cpu(l->fl_stripe_unit) * in ceph_file_layout_stripe_width()
69 le32_to_cpu(l->fl_stripe_count); in ceph_file_layout_stripe_width()
75 return le32_to_cpu(l->fl_object_size) * in ceph_file_layout_period()
76 le32_to_cpu(l->fl_stripe_count); in ceph_file_layout_period()
/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.c255 nilfs->ns_crc_seed = le32_to_cpu(sbp[0]->s_crc_seed); in load_nilfs()
259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); in load_nilfs()
390 if (le32_to_cpu(sbp->s_rev_level) < NILFS_MIN_SUPP_REV) { in nilfs_store_disk_layout()
394 le32_to_cpu(sbp->s_rev_level), in nilfs_store_disk_layout()
414 nilfs->ns_first_ino = le32_to_cpu(sbp->s_first_ino); in nilfs_store_disk_layout()
416 nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); in nilfs_store_disk_layout()
424 le32_to_cpu(sbp->s_r_segments_percentage); in nilfs_store_disk_layout()
432 nilfs->ns_crc_seed = le32_to_cpu(sbp->s_crc_seed); in nilfs_store_disk_layout()
448 crc = crc32_le(le32_to_cpu(sbp->s_crc_seed), (unsigned char *)sbp, in nilfs_valid_sb()
453 return crc == le32_to_cpu(sbp->s_sum); in nilfs_valid_sb()
[all …]
Drecovery.c171 if (crc != le32_to_cpu(sr->sr_sum)) { in nilfs_read_super_root_block()
220 if (le32_to_cpu(sum->ss_magic) != NILFS_SEGSUM_MAGIC) in nilfs_validate_log()
227 nblock = le32_to_cpu(sum->ss_nblocks); in nilfs_validate_log()
240 if (crc != le32_to_cpu(sum->ss_datasum)) in nilfs_validate_log()
327 nfinfo = le32_to_cpu(sum->ss_nfinfo); in nilfs_scan_dsync_log()
331 sumbytes = le32_to_cpu(sum->ss_sumbytes); in nilfs_scan_dsync_log()
348 nblocks = le32_to_cpu(finfo->fi_nblocks); in nilfs_scan_dsync_log()
349 ndatablk = le32_to_cpu(finfo->fi_ndatablk); in nilfs_scan_dsync_log()
664 pseg_start += le32_to_cpu(sum->ss_nblocks); in nilfs_do_roll_forward()
857 nblocks = le32_to_cpu(sum->ss_nblocks); in nilfs_search_super_root()
/linux-4.4.14/drivers/firmware/
Darm_scpi.c67 #define DVFS_LATENCY(hdr) (le32_to_cpu(hdr) >> 16)
68 #define DVFS_OPP_COUNT(hdr) ((le32_to_cpu(hdr) >> 8) & 0xff)
285 match->status = le32_to_cpu(mem->status); in scpi_process_cmd()
298 u32 cmd = le32_to_cpu(mem->command); in scpi_handle_remote_msg()
376 ret = le32_to_cpu(msg->status); in scpi_send_message()
401 *min = le32_to_cpu(clk.min_rate); in scpi_clk_get_range()
402 *max = le32_to_cpu(clk.max_rate); in scpi_clk_get_range()
415 return ret ? ret : le32_to_cpu(clk.rate); in scpi_clk_get_val()
489 opp->freq = le32_to_cpu(buf.opps[i].freq); in scpi_dvfs_get_info()
490 opp->m_volt = le32_to_cpu(buf.opps[i].m_volt); in scpi_dvfs_get_info()
[all …]
/linux-4.4.14/drivers/md/
Ddm-cache-metadata.c165 uint32_t metadata_version = le32_to_cpu(disk_super->version); in check_metadata_version()
201 le32_to_cpu(csum_le), le32_to_cpu(disk_super->csum)); in sb_check()
406 features = le32_to_cpu(disk_super->incompat_flags) & ~DM_CACHE_FEATURE_INCOMPAT_SUPP; in __check_incompat_features()
419 features = le32_to_cpu(disk_super->compat_ro_flags) & ~DM_CACHE_FEATURE_COMPAT_RO_SUPP; in __check_incompat_features()
445 if (le32_to_cpu(disk_super->data_block_size) != cmd->data_block_size) { in __open_metadata()
447 le32_to_cpu(disk_super->data_block_size), in __open_metadata()
468 sb_flags = le32_to_cpu(disk_super->flags); in __open_metadata()
526 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); in update_flags()
545 cmd->flags = le32_to_cpu(disk_super->flags); in read_superblock_fields()
551 cmd->data_block_size = le32_to_cpu(disk_super->data_block_size); in read_superblock_fields()
[all …]
/linux-4.4.14/drivers/nvdimm/
Dbtt.c149 raw_mapping = le32_to_cpu(in); in btt_map_read()
277 if (le32_to_cpu(ent[0].seq) + le32_to_cpu(ent[1].seq) > 5) in btt_log_get_old()
280 if (le32_to_cpu(ent[0].seq) < le32_to_cpu(ent[1].seq)) { in btt_log_get_old()
281 if (le32_to_cpu(ent[1].seq) - le32_to_cpu(ent[0].seq) == 1) in btt_log_get_old()
286 if (le32_to_cpu(ent[0].seq) - le32_to_cpu(ent[1].seq) == 1) in btt_log_get_old()
377 arena->freelist[lane].block = le32_to_cpu(ent->old_map); in btt_flog_write()
466 arena->freelist[i].seq = nd_inc_seq(le32_to_cpu(log_new.seq)); in btt_freelist_init()
467 arena->freelist[i].block = le32_to_cpu(log_new.old_map); in btt_freelist_init()
474 ret = btt_map_read(arena, le32_to_cpu(log_new.lba), &map_entry, in btt_freelist_init()
478 if ((le32_to_cpu(log_new.new_map) != map_entry) && in btt_freelist_init()
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Drtl8723au_recv.c144 report.rxdw0 = le32_to_cpu(prxstat->rxdw0); in update_recvframe_attrib()
145 report.rxdw1 = le32_to_cpu(prxstat->rxdw1); in update_recvframe_attrib()
146 report.rxdw2 = le32_to_cpu(prxstat->rxdw2); in update_recvframe_attrib()
147 report.rxdw3 = le32_to_cpu(prxstat->rxdw3); in update_recvframe_attrib()
148 report.rxdw4 = le32_to_cpu(prxstat->rxdw4); in update_recvframe_attrib()
149 report.rxdw5 = le32_to_cpu(prxstat->rxdw5); in update_recvframe_attrib()
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dtc35815.c1006 u32 fdsystem = le32_to_cpu(lp->tfd_base[i].fd.FDSystem); in tc35815_clear_queues()
1038 u32 fdsystem = le32_to_cpu(lp->tfd_base[i].fd.FDSystem); in tc35815_free_queues()
1083 le32_to_cpu(fd->fd.FDNext), in dump_txfd()
1084 le32_to_cpu(fd->fd.FDSystem), in dump_txfd()
1085 le32_to_cpu(fd->fd.FDStat), in dump_txfd()
1086 le32_to_cpu(fd->fd.FDCtl)); in dump_txfd()
1089 le32_to_cpu(fd->bd.BuffData), in dump_txfd()
1090 le32_to_cpu(fd->bd.BDCtl)); in dump_txfd()
1097 int i, bd_count = (le32_to_cpu(fd->fd.FDCtl) & FD_BDCnt_MASK) >> FD_BDCnt_SHIFT; in dump_rxfd()
1101 le32_to_cpu(fd->fd.FDNext), in dump_rxfd()
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.h350 ADD_64(s_hi, le32_to_cpu(a_hi_le), \
351 s_lo, le32_to_cpu(a_lo_le))
441 diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
454 diff = le32_to_cpu(xclient->s) - le32_to_cpu(old_xclient->s); \
461 qstats->t##_lo = qstats_old->t##_lo + le32_to_cpu(s.lo); \
462 qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi) \
502 estats->s = le32_to_cpu(tport->s) + fwstats->s; \
534 diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
/linux-4.4.14/drivers/net/wireless/prism54/
Dislpci_dev.c242 le32_to_cpu(priv->control_block-> in islpci_interrupt()
244 le32_to_cpu(priv->control_block-> in islpci_interrupt()
246 le32_to_cpu(priv->control_block-> in islpci_interrupt()
248 le32_to_cpu(priv->control_block-> in islpci_interrupt()
250 le32_to_cpu(priv->control_block-> in islpci_interrupt()
252 le32_to_cpu(priv->control_block-> in islpci_interrupt()
258 le32_to_cpu(priv->control_block-> in islpci_interrupt()
260 le32_to_cpu(priv->control_block-> in islpci_interrupt()
262 le32_to_cpu(priv->control_block-> in islpci_interrupt()
264 le32_to_cpu(priv->control_block-> in islpci_interrupt()
[all …]
/linux-4.4.14/fs/ceph/
Dinode.c244 u32 id = le32_to_cpu(dirinfo->frag); in ceph_fill_dirfrag()
245 int mds = le32_to_cpu(dirinfo->auth); in ceph_fill_dirfrag()
246 int ndist = le32_to_cpu(dirinfo->ndist); in ceph_fill_dirfrag()
285 ceph_vinop(inode), le32_to_cpu(dirinfo->frag)); in ceph_fill_dirfrag()
293 frag->dist[i] = le32_to_cpu(dirinfo->dist[i]); in ceph_fill_dirfrag()
314 nsplits = le32_to_cpu(fragtree->nsplits); in ceph_fill_fragtree()
317 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
327 id = le32_to_cpu(dirinfo->frag); in ceph_fill_fragtree()
337 id = le32_to_cpu(fragtree->splits[i].frag); in ceph_fill_fragtree()
358 frag->split_by = le32_to_cpu(fragtree->splits[i].by); in ceph_fill_fragtree()
[all …]
Dsnap.c682 ceph_decode_need(&p, e, sizeof(u64)*(le32_to_cpu(ri->num_snaps) + in ceph_update_snap_trace()
683 le32_to_cpu(ri->num_prior_parent_snaps)), bad); in ceph_update_snap_trace()
685 p += sizeof(u64) * le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
687 p += sizeof(u64) * le32_to_cpu(ri->num_prior_parent_snaps); in ceph_update_snap_trace()
712 realm->num_snaps = le32_to_cpu(ri->num_snaps); in ceph_update_snap_trace()
718 le32_to_cpu(ri->num_prior_parent_snaps); in ceph_update_snap_trace()
853 op = le32_to_cpu(h->op); in ceph_handle_snap()
856 num_split_inos = le32_to_cpu(h->num_split_inos); in ceph_handle_snap()
857 num_split_realms = le32_to_cpu(h->num_split_realms); in ceph_handle_snap()
858 trace_len = le32_to_cpu(h->trace_len); in ceph_handle_snap()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_nx.c2600 s_addr = le32_to_cpu(pollrd_hdr->select_addr); in qla83xx_minidump_process_pollrd()
2601 r_addr = le32_to_cpu(pollrd_hdr->read_addr); in qla83xx_minidump_process_pollrd()
2602 s_value = le32_to_cpu(pollrd_hdr->select_value); in qla83xx_minidump_process_pollrd()
2603 s_stride = le32_to_cpu(pollrd_hdr->select_value_stride); in qla83xx_minidump_process_pollrd()
2605 poll_wait = le32_to_cpu(pollrd_hdr->poll_wait); in qla83xx_minidump_process_pollrd()
2606 poll_mask = le32_to_cpu(pollrd_hdr->poll_mask); in qla83xx_minidump_process_pollrd()
2608 for (i = 0; i < le32_to_cpu(pollrd_hdr->op_count); i++) { in qla83xx_minidump_process_pollrd()
2610 poll_wait = le32_to_cpu(pollrd_hdr->poll_wait); in qla83xx_minidump_process_pollrd()
2653 addr1 = le32_to_cpu(rddfe->addr_1); in qla4_84xx_minidump_process_rddfe()
2654 value = le32_to_cpu(rddfe->value); in qla4_84xx_minidump_process_rddfe()
[all …]
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c4859 delta = ((u64) le32_to_cpu(stats->rmac_vld_frms_oflow) << 32 | in s2io_get_stats()
4860 le32_to_cpu(stats->rmac_vld_frms)) - sp->stats.rx_packets; in s2io_get_stats()
4864 delta = ((u64) le32_to_cpu(stats->tmac_frms_oflow) << 32 | in s2io_get_stats()
4865 le32_to_cpu(stats->tmac_frms)) - sp->stats.tx_packets; in s2io_get_stats()
4869 delta = ((u64) le32_to_cpu(stats->rmac_data_octets_oflow) << 32 | in s2io_get_stats()
4870 le32_to_cpu(stats->rmac_data_octets)) - sp->stats.rx_bytes; in s2io_get_stats()
4874 delta = ((u64) le32_to_cpu(stats->tmac_data_octets_oflow) << 32 | in s2io_get_stats()
4875 le32_to_cpu(stats->tmac_data_octets)) - sp->stats.tx_bytes; in s2io_get_stats()
4883 delta = ((u64) le32_to_cpu(stats->tmac_any_err_frms_oflow) << 32 | in s2io_get_stats()
4884 le32_to_cpu(stats->tmac_any_err_frms)) - sp->stats.tx_errors; in s2io_get_stats()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dacl.c66 d->e_id = le32_to_cpu(s->e_id); in lustre_ext_acl_le_to_cpu()
67 d->e_stat = le32_to_cpu(s->e_stat); in lustre_ext_acl_le_to_cpu()
84 d->e_id = le32_to_cpu(s->e_id); in lustre_posix_acl_le_to_cpu()
119 int ext_count = le32_to_cpu((*header)->a_count); in lustre_ext_acl_xattr_reduce_space()
189 id = le32_to_cpu(header->a_entries[i].e_id); in lustre_posix_acl_xattr_filter()
260 int once, start, end, i, j, count = le32_to_cpu(header->a_count); in lustre_ext_acl_xattr_search()
307 ori_ext_count = le32_to_cpu(ext_header->a_count); in lustre_acl_xattr_merge2ext()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dif_usb.c309 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
312 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
315 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt()
318 le32_to_cpu(fwdata->hdr.datalength), 0); in if_usb_send_fw_pkt()
497 le32_to_cpu(tmp[0]), le32_to_cpu(tmp[1])); in if_usb_receive_fwload()
526 le32_to_cpu(bcmdresp.magic)); in if_usb_receive_fwload()
561 le32_to_cpu(syncfwheader->seqnum)); in if_usb_receive_fwload()
655 recvtype = le32_to_cpu(pkt[0]); in if_usb_receive()
677 u32 event_cause = le32_to_cpu(pkt[1]); in if_usb_receive()
787 bincmd = le32_to_cpu(fwh->dnldcmd); in check_fwfile_format()
[all …]
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dosdef1st.h124 #define AIX_REVERSE(x) ((u32)le32_to_cpu((u32)(x)))
125 #define MDR_REVERSE(x) ((u32)le32_to_cpu((u32)(x)))
/linux-4.4.14/include/linux/
Dnilfs2_fs.h541 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \
547 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & \
553 return !!(le32_to_cpu(cp->cp_flags) & \
639 su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | \
646 cpu_to_le32(le32_to_cpu(su->su_flags) & \
652 return !!(le32_to_cpu(su->su_flags) & \
671 return !le32_to_cpu(su->su_flags); in nilfs_segment_usage_clean()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dhwio.h175 *val = le32_to_cpu(tmp) & 0xfffff; in cw1200_reg_read_16()
191 *val = le32_to_cpu(tmp); in cw1200_reg_read_32()
228 *val = le32_to_cpu(tmp); in cw1200_apb_read_32()
243 *val = le32_to_cpu(tmp); in cw1200_ahb_read_32()
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_usb.c357 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
360 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
363 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt()
366 le32_to_cpu(fwdata->hdr.datalength)); in if_usb_send_fw_pkt()
520 le32_to_cpu(tmp[0]), le32_to_cpu(tmp[1])); in if_usb_receive_fwload()
547 le32_to_cpu(bootcmdresp.magic)); in if_usb_receive_fwload()
578 le32_to_cpu(syncfwheader->seqnum)); in if_usb_receive_fwload()
684 recvtype = le32_to_cpu(pkt[0]); in if_usb_receive()
704 event = le32_to_cpu(pkt[1]); in if_usb_receive()
801 bincmd = le32_to_cpu(fwh->dnldcmd); in check_fwfile_format()
[all …]
Dmesh.c169 return snprintf(buf, 12, "0x%X\n", le32_to_cpu(mesh_access.data[0])); in lbs_anycast_get()
220 retry_limit = le32_to_cpu(mesh_access.data[1]); in lbs_prb_rsp_limit_get()
366 return snprintf(buf, 12, "%d\n", le32_to_cpu(defs.bootflag)); in bootflag_get()
1139 priv->mstats.fwd_drop_rbt = le32_to_cpu(mesh_access.data[0]); in lbs_mesh_ethtool_get_stats()
1140 priv->mstats.fwd_drop_ttl = le32_to_cpu(mesh_access.data[1]); in lbs_mesh_ethtool_get_stats()
1141 priv->mstats.fwd_drop_noroute = le32_to_cpu(mesh_access.data[2]); in lbs_mesh_ethtool_get_stats()
1142 priv->mstats.fwd_drop_nobuf = le32_to_cpu(mesh_access.data[3]); in lbs_mesh_ethtool_get_stats()
1143 priv->mstats.fwd_unicast_cnt = le32_to_cpu(mesh_access.data[4]); in lbs_mesh_ethtool_get_stats()
1144 priv->mstats.fwd_bcast_cnt = le32_to_cpu(mesh_access.data[5]); in lbs_mesh_ethtool_get_stats()
1145 priv->mstats.drop_blind = le32_to_cpu(mesh_access.data[6]); in lbs_mesh_ethtool_get_stats()
[all …]
/linux-4.4.14/drivers/net/wireless/p54/
Dp54pci.c143 idx = le32_to_cpu(ring_control->host_idx[ring_index]); in p54p_refill_rx_ring()
197 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); in p54p_check_rx_ring()
220 dma_addr = le32_to_cpu(desc->host_addr); in p54p_check_rx_ring()
255 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); in p54p_check_tx_ring()
264 pci_unmap_single(priv->pdev, le32_to_cpu(desc->host_addr), in p54p_check_tx_ring()
337 idx = le32_to_cpu(ring_control->host_idx[1]); in p54p_tx()
385 le32_to_cpu(desc->host_addr), in p54p_stop()
396 le32_to_cpu(desc->host_addr), in p54p_stop()
407 le32_to_cpu(desc->host_addr), in p54p_stop()
419 le32_to_cpu(desc->host_addr), in p54p_stop()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_main.c1005 (u8)le32_to_cpu(rq->vrq->scsi.flags)); in esas2r_check_active_queue()
1391 b->duration = le32_to_cpu(b->duration); in esas2r_nuxi_mgt_data()
1399 s->id = le32_to_cpu(s->id); in esas2r_nuxi_mgt_data()
1413 d->block_size = le32_to_cpu(d->block_size); in esas2r_nuxi_mgt_data()
1441 g->block_size = le32_to_cpu(g->block_size); in esas2r_nuxi_mgt_data()
1442 g->interleave = le32_to_cpu(g->interleave); in esas2r_nuxi_mgt_data()
1460 p->start_lba = le32_to_cpu(p->start_lba); in esas2r_nuxi_mgt_data()
1461 p->block_size = le32_to_cpu(p->block_size); in esas2r_nuxi_mgt_data()
1469 h->med_defect_cnt = le32_to_cpu(h->med_defect_cnt); in esas2r_nuxi_mgt_data()
1470 h->info_exc_cnt = le32_to_cpu(h->info_exc_cnt); in esas2r_nuxi_mgt_data()
[all …]
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_debug.h163 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_mf()
182 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_reply()
201 pr_info("%08x ", le32_to_cpu(mfp[i])); in _debug_dump_config()
Dmpt3sas_warpdrive.c212 (le32_to_cpu(vol_pg0->StripeSize) * in mpt3sas_init_warpdrive_properties()
218 stripe_sz = le32_to_cpu(vol_pg0->StripeSize); in mpt3sas_init_warpdrive_properties()
224 (le32_to_cpu(vol_pg0->StripeSize) * in mpt3sas_init_warpdrive_properties()
248 raid_device->stripe_sz = le32_to_cpu(vol_pg0->StripeSize); in mpt3sas_init_warpdrive_properties()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_hwi.c1314 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get()
1428 if (le32_to_cpu(circularQ->producer_index) in pm8001_mpi_msg_consume()
1437 if (0 != (le32_to_cpu(msgHeader_tmp) & 0x80000000)) { in pm8001_mpi_msg_consume()
1439 (le32_to_cpu(msgHeader_tmp) & 0xfff)) { in pm8001_mpi_msg_consume()
1443 *pBC = (u8)((le32_to_cpu(msgHeader_tmp) in pm8001_mpi_msg_consume()
1455 ((le32_to_cpu(msgHeader_tmp) in pm8001_mpi_msg_consume()
1469 ((le32_to_cpu(msgHeader_tmp) >> 24) & in pm8001_mpi_msg_consume()
1486 } while (le32_to_cpu(circularQ->producer_index) != in pm8001_mpi_msg_consume()
1859 status = le32_to_cpu(psspPayload->status); in mpi_ssp_completion()
1860 tag = le32_to_cpu(psspPayload->tag); in mpi_ssp_completion()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Devent.c128 vector = le32_to_cpu(mbox->events_vector); in wl18xx_process_mailbox_events()
189 le32_to_cpu(mbox->tx_retry_exceeded_bitmap)); in wl18xx_process_mailbox_events()
193 le32_to_cpu(mbox->inactive_sta_bitmap)); in wl18xx_process_mailbox_events()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Devent.c54 vector = le32_to_cpu(mbox->events_vector); in wl12xx_process_mailbox_events()
55 vector &= ~(le32_to_cpu(mbox->events_mask)); in wl12xx_process_mailbox_events()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dbitfield.h101 ((unsigned int) le32_to_cpu((dword).u32[0]))
103 ((unsigned int) le32_to_cpu((qword).u32[1])), \
104 ((unsigned int) le32_to_cpu((qword).u32[0]))
106 ((unsigned int) le32_to_cpu((oword).u32[3])), \
107 ((unsigned int) le32_to_cpu((oword).u32[2])), \
108 ((unsigned int) le32_to_cpu((oword).u32[1])), \
109 ((unsigned int) le32_to_cpu((oword).u32[0]))
144 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high)
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c337 val = le32_to_cpu(prq->rds_ring_offset) + in nx_fw_cmd_create_rx_ctx()
342 le32_to_cpu(prq->rds_ring_offset)); in nx_fw_cmd_create_rx_ctx()
355 le32_to_cpu(prq->sds_ring_offset)); in nx_fw_cmd_create_rx_ctx()
381 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); in nx_fw_cmd_create_rx_ctx()
386 reg = le32_to_cpu(prsp_rds[i].host_producer_crb); in nx_fw_cmd_create_rx_ctx()
392 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); in nx_fw_cmd_create_rx_ctx()
397 reg = le32_to_cpu(prsp_sds[i].host_consumer_crb); in nx_fw_cmd_create_rx_ctx()
401 reg = le32_to_cpu(prsp_sds[i].interrupt_crb); in nx_fw_cmd_create_rx_ctx()
406 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); in nx_fw_cmd_create_rx_ctx()
502 temp = le32_to_cpu(prsp->cds_ring.host_producer_crb); in nx_fw_cmd_create_tx_ctx()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-msg.c73 ev->target.pid = le32_to_cpu(hdr->dest_pid); in lnet_build_msg_event()
116 ev->pt_index = le32_to_cpu(hdr->msg.put.ptl_index); in lnet_build_msg_event()
118 ev->offset = le32_to_cpu(hdr->msg.put.offset); in lnet_build_msg_event()
120 ev->rlength = le32_to_cpu(hdr->payload_length); in lnet_build_msg_event()
125 ev->pt_index = le32_to_cpu(hdr->msg.get.ptl_index); in lnet_build_msg_event()
128 ev->rlength = le32_to_cpu(hdr->msg.get.sink_length); in lnet_build_msg_event()
129 ev->offset = le32_to_cpu(hdr->msg.get.src_offset); in lnet_build_msg_event()

123456