Searched refs:le32_to_cpu (Results 1 - 200 of 969) sorted by relevance

12345

/linux-4.1.27/fs/dlm/
H A Dutil.c35 hd->h_version = le32_to_cpu(hd->h_version); header_in()
36 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); header_in()
37 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); header_in()
114 ms->m_type = le32_to_cpu(ms->m_type); dlm_message_in()
115 ms->m_nodeid = le32_to_cpu(ms->m_nodeid); dlm_message_in()
116 ms->m_pid = le32_to_cpu(ms->m_pid); dlm_message_in()
117 ms->m_lkid = le32_to_cpu(ms->m_lkid); dlm_message_in()
118 ms->m_remid = le32_to_cpu(ms->m_remid); dlm_message_in()
119 ms->m_parent_lkid = le32_to_cpu(ms->m_parent_lkid); dlm_message_in()
120 ms->m_parent_remid = le32_to_cpu(ms->m_parent_remid); dlm_message_in()
121 ms->m_exflags = le32_to_cpu(ms->m_exflags); dlm_message_in()
122 ms->m_sbflags = le32_to_cpu(ms->m_sbflags); dlm_message_in()
123 ms->m_flags = le32_to_cpu(ms->m_flags); dlm_message_in()
124 ms->m_lvbseq = le32_to_cpu(ms->m_lvbseq); dlm_message_in()
125 ms->m_hash = le32_to_cpu(ms->m_hash); dlm_message_in()
126 ms->m_status = le32_to_cpu(ms->m_status); dlm_message_in()
127 ms->m_grmode = le32_to_cpu(ms->m_grmode); dlm_message_in()
128 ms->m_rqmode = le32_to_cpu(ms->m_rqmode); dlm_message_in()
129 ms->m_bastmode = le32_to_cpu(ms->m_bastmode); dlm_message_in()
130 ms->m_asts = le32_to_cpu(ms->m_asts); dlm_message_in()
131 ms->m_result = from_dlm_errno(le32_to_cpu(ms->m_result)); dlm_message_in()
149 rc->rc_type = le32_to_cpu(rc->rc_type); dlm_rcom_in()
150 rc->rc_result = le32_to_cpu(rc->rc_result); dlm_rcom_in()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_ucode.c33 DRM_DEBUG("size_bytes: %u\n", le32_to_cpu(hdr->size_bytes)); radeon_ucode_print_common_hdr()
34 DRM_DEBUG("header_size_bytes: %u\n", le32_to_cpu(hdr->header_size_bytes)); radeon_ucode_print_common_hdr()
39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); radeon_ucode_print_common_hdr()
40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); radeon_ucode_print_common_hdr()
42 le32_to_cpu(hdr->ucode_array_offset_bytes)); radeon_ucode_print_common_hdr()
43 DRM_DEBUG("crc32: 0x%08x\n", le32_to_cpu(hdr->crc32)); radeon_ucode_print_common_hdr()
59 le32_to_cpu(mc_hdr->io_debug_size_bytes)); radeon_ucode_print_mc_hdr()
61 le32_to_cpu(mc_hdr->io_debug_array_offset_bytes)); radeon_ucode_print_mc_hdr()
79 DRM_DEBUG("ucode_start_addr: %u\n", le32_to_cpu(smc_hdr->ucode_start_addr)); radeon_ucode_print_smc_hdr()
98 le32_to_cpu(gfx_hdr->ucode_feature_version)); radeon_ucode_print_gfx_hdr()
99 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(gfx_hdr->jt_offset)); radeon_ucode_print_gfx_hdr()
100 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(gfx_hdr->jt_size)); radeon_ucode_print_gfx_hdr()
119 le32_to_cpu(rlc_hdr->ucode_feature_version)); radeon_ucode_print_rlc_hdr()
121 le32_to_cpu(rlc_hdr->save_and_restore_offset)); radeon_ucode_print_rlc_hdr()
123 le32_to_cpu(rlc_hdr->clear_state_descriptor_offset)); radeon_ucode_print_rlc_hdr()
125 le32_to_cpu(rlc_hdr->avail_scratch_ram_locations)); radeon_ucode_print_rlc_hdr()
127 le32_to_cpu(rlc_hdr->master_pkt_description_offset)); radeon_ucode_print_rlc_hdr()
146 le32_to_cpu(sdma_hdr->ucode_feature_version)); radeon_ucode_print_sdma_hdr()
148 le32_to_cpu(sdma_hdr->ucode_change_version)); radeon_ucode_print_sdma_hdr()
149 DRM_DEBUG("jt_offset: %u\n", le32_to_cpu(sdma_hdr->jt_offset)); radeon_ucode_print_sdma_hdr()
150 DRM_DEBUG("jt_size: %u\n", le32_to_cpu(sdma_hdr->jt_size)); radeon_ucode_print_sdma_hdr()
162 if (fw->size == le32_to_cpu(hdr->size_bytes)) radeon_ucode_validate()
H A Dr600_dpm.c855 rdev->pm.dpm.platform_caps = le32_to_cpu(power_info->pplib.ulPlatformCaps); r600_get_platform_caps()
1017 rdev->pm.dpm.tdp_limit = le32_to_cpu(power_info->pplib5.ulTDPLimit); r600_parse_extended_power_table()
1018 rdev->pm.dpm.near_tdp_limit = le32_to_cpu(power_info->pplib5.ulNearTDPLimit); r600_parse_extended_power_table()
1026 rdev->pm.dpm.sq_ramping_threshold = le32_to_cpu(power_info->pplib5.ulSQRampingThreshold); r600_parse_extended_power_table()
1027 rdev->pm.dpm.cac_leakage = le32_to_cpu(power_info->pplib5.ulCACLeakage); r600_parse_extended_power_table()
1054 le32_to_cpu(entry->ulLeakageValue); r600_parse_extended_power_table()
1209 le32_to_cpu(ppm->ulPlatformTDP); r600_parse_extended_power_table()
1211 le32_to_cpu(ppm->ulSmallACPlatformTDP); r600_parse_extended_power_table()
1213 le32_to_cpu(ppm->ulPlatformTDC); r600_parse_extended_power_table()
1215 le32_to_cpu(ppm->ulSmallACPlatformTDC); r600_parse_extended_power_table()
1217 le32_to_cpu(ppm->ulApuTDP); r600_parse_extended_power_table()
1219 le32_to_cpu(ppm->ulDGpuTDP); r600_parse_extended_power_table()
1221 le32_to_cpu(ppm->ulDGpuUlvPower); r600_parse_extended_power_table()
1223 le32_to_cpu(ppm->ulTjmax); r600_parse_extended_power_table()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D3945-debug.c38 le32_to_cpu(il->_3945.stats.flag)); il3945_stats_flag()
39 if (le32_to_cpu(il->_3945.stats.flag) & UCODE_STATS_CLEAR_MSK) il3945_stats_flag()
43 (le32_to_cpu(il->_3945.stats.flag) & il3945_stats_flag()
46 (le32_to_cpu(il->_3945.stats.flag) & il3945_stats_flag()
103 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, il3945_ucode_rx_stats_read()
108 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, il3945_ucode_rx_stats_read()
113 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, il3945_ucode_rx_stats_read()
118 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, il3945_ucode_rx_stats_read()
123 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, il3945_ucode_rx_stats_read()
128 le32_to_cpu(ofdm->early_overrun_err), il3945_ucode_rx_stats_read()
135 le32_to_cpu(ofdm->crc32_good), accum_ofdm->crc32_good, il3945_ucode_rx_stats_read()
140 le32_to_cpu(ofdm->false_alarm_cnt), il3945_ucode_rx_stats_read()
146 le32_to_cpu(ofdm->fina_sync_err_cnt), il3945_ucode_rx_stats_read()
153 le32_to_cpu(ofdm->sfd_timeout), accum_ofdm->sfd_timeout, il3945_ucode_rx_stats_read()
158 le32_to_cpu(ofdm->fina_timeout), accum_ofdm->fina_timeout, il3945_ucode_rx_stats_read()
163 le32_to_cpu(ofdm->unresponded_rts), il3945_ucode_rx_stats_read()
170 le32_to_cpu(ofdm->rxe_frame_limit_overrun), il3945_ucode_rx_stats_read()
177 le32_to_cpu(ofdm->sent_ack_cnt), accum_ofdm->sent_ack_cnt, il3945_ucode_rx_stats_read()
182 le32_to_cpu(ofdm->sent_cts_cnt), accum_ofdm->sent_cts_cnt, il3945_ucode_rx_stats_read()
193 le32_to_cpu(cck->ina_cnt), accum_cck->ina_cnt, il3945_ucode_rx_stats_read()
198 le32_to_cpu(cck->fina_cnt), accum_cck->fina_cnt, il3945_ucode_rx_stats_read()
203 le32_to_cpu(cck->plcp_err), accum_cck->plcp_err, il3945_ucode_rx_stats_read()
208 le32_to_cpu(cck->crc32_err), accum_cck->crc32_err, il3945_ucode_rx_stats_read()
213 le32_to_cpu(cck->overrun_err), accum_cck->overrun_err, il3945_ucode_rx_stats_read()
218 le32_to_cpu(cck->early_overrun_err), il3945_ucode_rx_stats_read()
224 le32_to_cpu(cck->crc32_good), accum_cck->crc32_good, il3945_ucode_rx_stats_read()
229 le32_to_cpu(cck->false_alarm_cnt), il3945_ucode_rx_stats_read()
235 le32_to_cpu(cck->fina_sync_err_cnt), il3945_ucode_rx_stats_read()
241 le32_to_cpu(cck->sfd_timeout), accum_cck->sfd_timeout, il3945_ucode_rx_stats_read()
246 le32_to_cpu(cck->fina_timeout), accum_cck->fina_timeout, il3945_ucode_rx_stats_read()
251 le32_to_cpu(cck->unresponded_rts), il3945_ucode_rx_stats_read()
258 le32_to_cpu(cck->rxe_frame_limit_overrun), il3945_ucode_rx_stats_read()
265 le32_to_cpu(cck->sent_ack_cnt), accum_cck->sent_ack_cnt, il3945_ucode_rx_stats_read()
270 le32_to_cpu(cck->sent_cts_cnt), accum_cck->sent_cts_cnt, il3945_ucode_rx_stats_read()
281 le32_to_cpu(general->bogus_cts), accum_general->bogus_cts, il3945_ucode_rx_stats_read()
286 le32_to_cpu(general->bogus_ack), accum_general->bogus_ack, il3945_ucode_rx_stats_read()
291 le32_to_cpu(general->non_bssid_frames), il3945_ucode_rx_stats_read()
298 le32_to_cpu(general->filtered_frames), il3945_ucode_rx_stats_read()
306 le32_to_cpu(general->non_channel_beacons), il3945_ucode_rx_stats_read()
354 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, il3945_ucode_tx_stats_read()
359 le32_to_cpu(tx->rx_detected_cnt), il3945_ucode_tx_stats_read()
365 le32_to_cpu(tx->bt_prio_defer_cnt), il3945_ucode_tx_stats_read()
371 le32_to_cpu(tx->bt_prio_kill_cnt), il3945_ucode_tx_stats_read()
377 le32_to_cpu(tx->few_bytes_cnt), accum_tx->few_bytes_cnt, il3945_ucode_tx_stats_read()
382 le32_to_cpu(tx->cts_timeout), accum_tx->cts_timeout, il3945_ucode_tx_stats_read()
387 le32_to_cpu(tx->ack_timeout), accum_tx->ack_timeout, il3945_ucode_tx_stats_read()
392 le32_to_cpu(tx->expected_ack_cnt), il3945_ucode_tx_stats_read()
398 le32_to_cpu(tx->actual_ack_cnt), accum_tx->actual_ack_cnt, il3945_ucode_tx_stats_read()
455 le32_to_cpu(dbg->burst_check), accum_dbg->burst_check, il3945_ucode_general_stats_read()
460 le32_to_cpu(dbg->burst_count), accum_dbg->burst_count, il3945_ucode_general_stats_read()
465 le32_to_cpu(general->sleep_time), il3945_ucode_general_stats_read()
471 le32_to_cpu(general->slots_out), accum_general->slots_out, il3945_ucode_general_stats_read()
476 le32_to_cpu(general->slots_idle), il3945_ucode_general_stats_read()
481 le32_to_cpu(general->ttl_timestamp)); il3945_ucode_general_stats_read()
485 le32_to_cpu(div->tx_on_a), accum_div->tx_on_a, il3945_ucode_general_stats_read()
490 le32_to_cpu(div->tx_on_b), accum_div->tx_on_b, il3945_ucode_general_stats_read()
495 le32_to_cpu(div->exec_time), accum_div->exec_time, il3945_ucode_general_stats_read()
500 le32_to_cpu(div->probe_time), accum_div->probe_time, il3945_ucode_general_stats_read()
H A D4965-debug.c42 flag = le32_to_cpu(il->_4965.stats.flag); il4965_stats_flag()
113 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, il4965_ucode_rx_stats_read()
117 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, il4965_ucode_rx_stats_read()
121 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, il4965_ucode_rx_stats_read()
125 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, il4965_ucode_rx_stats_read()
129 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, il4965_ucode_rx_stats_read()
133 le32_to_cpu(ofdm->early_overrun_err), il4965_ucode_rx_stats_read()
139 le32_to_cpu(ofdm->crc32_good), accum_ofdm->crc32_good, il4965_ucode_rx_stats_read()
143 le32_to_cpu(ofdm->false_alarm_cnt), il4965_ucode_rx_stats_read()
148 le32_to_cpu(ofdm->fina_sync_err_cnt), il4965_ucode_rx_stats_read()
154 le32_to_cpu(ofdm->sfd_timeout), accum_ofdm->sfd_timeout, il4965_ucode_rx_stats_read()
158 le32_to_cpu(ofdm->fina_timeout), accum_ofdm->fina_timeout, il4965_ucode_rx_stats_read()
162 le32_to_cpu(ofdm->unresponded_rts), il4965_ucode_rx_stats_read()
167 le32_to_cpu(ofdm->rxe_frame_limit_overrun), il4965_ucode_rx_stats_read()
173 le32_to_cpu(ofdm->sent_ack_cnt), accum_ofdm->sent_ack_cnt, il4965_ucode_rx_stats_read()
177 le32_to_cpu(ofdm->sent_cts_cnt), accum_ofdm->sent_cts_cnt, il4965_ucode_rx_stats_read()
181 le32_to_cpu(ofdm->sent_ba_rsp_cnt), il4965_ucode_rx_stats_read()
186 le32_to_cpu(ofdm->dsp_self_kill), il4965_ucode_rx_stats_read()
191 le32_to_cpu(ofdm->mh_format_err), il4965_ucode_rx_stats_read()
197 le32_to_cpu(ofdm->re_acq_main_rssi_sum), il4965_ucode_rx_stats_read()
207 le32_to_cpu(cck->ina_cnt), accum_cck->ina_cnt, il4965_ucode_rx_stats_read()
211 le32_to_cpu(cck->fina_cnt), accum_cck->fina_cnt, il4965_ucode_rx_stats_read()
215 le32_to_cpu(cck->plcp_err), accum_cck->plcp_err, il4965_ucode_rx_stats_read()
219 le32_to_cpu(cck->crc32_err), accum_cck->crc32_err, il4965_ucode_rx_stats_read()
223 le32_to_cpu(cck->overrun_err), accum_cck->overrun_err, il4965_ucode_rx_stats_read()
227 le32_to_cpu(cck->early_overrun_err), il4965_ucode_rx_stats_read()
232 le32_to_cpu(cck->crc32_good), accum_cck->crc32_good, il4965_ucode_rx_stats_read()
236 le32_to_cpu(cck->false_alarm_cnt), il4965_ucode_rx_stats_read()
241 le32_to_cpu(cck->fina_sync_err_cnt), il4965_ucode_rx_stats_read()
246 le32_to_cpu(cck->sfd_timeout), accum_cck->sfd_timeout, il4965_ucode_rx_stats_read()
250 le32_to_cpu(cck->fina_timeout), accum_cck->fina_timeout, il4965_ucode_rx_stats_read()
254 le32_to_cpu(cck->unresponded_rts), il4965_ucode_rx_stats_read()
259 le32_to_cpu(cck->rxe_frame_limit_overrun), il4965_ucode_rx_stats_read()
265 le32_to_cpu(cck->sent_ack_cnt), accum_cck->sent_ack_cnt, il4965_ucode_rx_stats_read()
269 le32_to_cpu(cck->sent_cts_cnt), accum_cck->sent_cts_cnt, il4965_ucode_rx_stats_read()
273 le32_to_cpu(cck->sent_ba_rsp_cnt), il4965_ucode_rx_stats_read()
278 le32_to_cpu(cck->dsp_self_kill), accum_cck->dsp_self_kill, il4965_ucode_rx_stats_read()
282 le32_to_cpu(cck->mh_format_err), accum_cck->mh_format_err, il4965_ucode_rx_stats_read()
287 le32_to_cpu(cck->re_acq_main_rssi_sum), il4965_ucode_rx_stats_read()
297 le32_to_cpu(general->bogus_cts), accum_general->bogus_cts, il4965_ucode_rx_stats_read()
301 le32_to_cpu(general->bogus_ack), accum_general->bogus_ack, il4965_ucode_rx_stats_read()
305 le32_to_cpu(general->non_bssid_frames), il4965_ucode_rx_stats_read()
311 le32_to_cpu(general->filtered_frames), il4965_ucode_rx_stats_read()
317 le32_to_cpu(general->non_channel_beacons), il4965_ucode_rx_stats_read()
323 le32_to_cpu(general->channel_beacons), il4965_ucode_rx_stats_read()
329 le32_to_cpu(general->num_missed_bcon), il4965_ucode_rx_stats_read()
336 le32_to_cpu(general->adc_rx_saturation_time), il4965_ucode_rx_stats_read()
343 le32_to_cpu(general->ina_detection_search_time), il4965_ucode_rx_stats_read()
350 le32_to_cpu(general->beacon_silence_rssi_a), il4965_ucode_rx_stats_read()
357 le32_to_cpu(general->beacon_silence_rssi_b), il4965_ucode_rx_stats_read()
364 le32_to_cpu(general->beacon_silence_rssi_c), il4965_ucode_rx_stats_read()
371 le32_to_cpu(general->interference_data_flag), il4965_ucode_rx_stats_read()
377 le32_to_cpu(general->channel_load), il4965_ucode_rx_stats_read()
382 le32_to_cpu(general->dsp_false_alarms), il4965_ucode_rx_stats_read()
388 le32_to_cpu(general->beacon_rssi_a), il4965_ucode_rx_stats_read()
393 le32_to_cpu(general->beacon_rssi_b), il4965_ucode_rx_stats_read()
398 le32_to_cpu(general->beacon_rssi_c), il4965_ucode_rx_stats_read()
403 le32_to_cpu(general->beacon_energy_a), il4965_ucode_rx_stats_read()
409 le32_to_cpu(general->beacon_energy_b), il4965_ucode_rx_stats_read()
415 le32_to_cpu(general->beacon_energy_c), il4965_ucode_rx_stats_read()
425 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, il4965_ucode_rx_stats_read()
429 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, il4965_ucode_rx_stats_read()
433 le32_to_cpu(ht->early_overrun_err), il4965_ucode_rx_stats_read()
438 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, il4965_ucode_rx_stats_read()
442 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, il4965_ucode_rx_stats_read()
446 le32_to_cpu(ht->mh_format_err), accum_ht->mh_format_err, il4965_ucode_rx_stats_read()
450 le32_to_cpu(ht->agg_crc32_good), accum_ht->agg_crc32_good, il4965_ucode_rx_stats_read()
454 le32_to_cpu(ht->agg_mpdu_cnt), accum_ht->agg_mpdu_cnt, il4965_ucode_rx_stats_read()
458 le32_to_cpu(ht->agg_cnt), accum_ht->agg_cnt, il4965_ucode_rx_stats_read()
462 le32_to_cpu(ht->unsupport_mcs), accum_ht->unsupport_mcs, il4965_ucode_rx_stats_read()
503 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, il4965_ucode_tx_stats_read()
507 le32_to_cpu(tx->rx_detected_cnt), il4965_ucode_tx_stats_read()
512 le32_to_cpu(tx->bt_prio_defer_cnt), il4965_ucode_tx_stats_read()
517 le32_to_cpu(tx->bt_prio_kill_cnt), il4965_ucode_tx_stats_read()
522 le32_to_cpu(tx->few_bytes_cnt), accum_tx->few_bytes_cnt, il4965_ucode_tx_stats_read()
526 le32_to_cpu(tx->cts_timeout), accum_tx->cts_timeout, il4965_ucode_tx_stats_read()
530 le32_to_cpu(tx->ack_timeout), accum_tx->ack_timeout, il4965_ucode_tx_stats_read()
534 le32_to_cpu(tx->expected_ack_cnt), il4965_ucode_tx_stats_read()
539 le32_to_cpu(tx->actual_ack_cnt), accum_tx->actual_ack_cnt, il4965_ucode_tx_stats_read()
543 le32_to_cpu(tx->dump_msdu_cnt), accum_tx->dump_msdu_cnt, il4965_ucode_tx_stats_read()
548 le32_to_cpu(tx->burst_abort_next_frame_mismatch_cnt), il4965_ucode_tx_stats_read()
555 le32_to_cpu(tx->burst_abort_missing_next_frame_cnt), il4965_ucode_tx_stats_read()
562 le32_to_cpu(tx->cts_timeout_collision), il4965_ucode_tx_stats_read()
569 le32_to_cpu(tx->ack_or_ba_timeout_collision), il4965_ucode_tx_stats_read()
575 le32_to_cpu(tx->agg.ba_timeout), accum_tx->agg.ba_timeout, il4965_ucode_tx_stats_read()
580 le32_to_cpu(tx->agg.ba_reschedule_frames), il4965_ucode_tx_stats_read()
587 le32_to_cpu(tx->agg.scd_query_agg_frame_cnt), il4965_ucode_tx_stats_read()
594 le32_to_cpu(tx->agg.scd_query_no_agg), il4965_ucode_tx_stats_read()
600 le32_to_cpu(tx->agg.scd_query_agg), il4965_ucode_tx_stats_read()
606 le32_to_cpu(tx->agg.scd_query_mismatch), il4965_ucode_tx_stats_read()
612 le32_to_cpu(tx->agg.frame_not_ready), il4965_ucode_tx_stats_read()
618 le32_to_cpu(tx->agg.underrun), accum_tx->agg.underrun, il4965_ucode_tx_stats_read()
622 le32_to_cpu(tx->agg.bt_prio_kill), il4965_ucode_tx_stats_read()
627 le32_to_cpu(tx->agg.rx_ba_rsp_cnt), il4965_ucode_tx_stats_read()
682 le32_to_cpu(general->temperature)); il4965_ucode_general_stats_read()
685 le32_to_cpu(general->ttl_timestamp)); il4965_ucode_general_stats_read()
688 le32_to_cpu(dbg->burst_check), accum_dbg->burst_check, il4965_ucode_general_stats_read()
692 le32_to_cpu(dbg->burst_count), accum_dbg->burst_count, il4965_ucode_general_stats_read()
697 le32_to_cpu(dbg->wait_for_silence_timeout_cnt), il4965_ucode_general_stats_read()
703 le32_to_cpu(general->sleep_time), il4965_ucode_general_stats_read()
708 le32_to_cpu(general->slots_out), accum_general->slots_out, il4965_ucode_general_stats_read()
712 le32_to_cpu(general->slots_idle), il4965_ucode_general_stats_read()
717 le32_to_cpu(div->tx_on_a), accum_div->tx_on_a, il4965_ucode_general_stats_read()
721 le32_to_cpu(div->tx_on_b), accum_div->tx_on_b, il4965_ucode_general_stats_read()
725 le32_to_cpu(div->exec_time), accum_div->exec_time, il4965_ucode_general_stats_read()
729 le32_to_cpu(div->probe_time), accum_div->probe_time, il4965_ucode_general_stats_read()
733 le32_to_cpu(general->rx_enable_counter), il4965_ucode_general_stats_read()
739 le32_to_cpu(general->num_of_sos_states), il4965_ucode_general_stats_read()
H A D4965-calib.c522 rx_enable_time = le32_to_cpu(rx_info->channel_load); il4965_sensitivity_calibration()
523 fa_cck = le32_to_cpu(cck->false_alarm_cnt); il4965_sensitivity_calibration()
524 fa_ofdm = le32_to_cpu(ofdm->false_alarm_cnt); il4965_sensitivity_calibration()
525 bad_plcp_cck = le32_to_cpu(cck->plcp_err); il4965_sensitivity_calibration()
526 bad_plcp_ofdm = le32_to_cpu(ofdm->plcp_err); il4965_sensitivity_calibration()
529 le32_to_cpu(rx_info->beacon_silence_rssi_a); il4965_sensitivity_calibration()
531 le32_to_cpu(rx_info->beacon_silence_rssi_b); il4965_sensitivity_calibration()
533 le32_to_cpu(rx_info->beacon_silence_rssi_c); il4965_sensitivity_calibration()
534 statis.beacon_energy_a = le32_to_cpu(rx_info->beacon_energy_a); il4965_sensitivity_calibration()
535 statis.beacon_energy_b = le32_to_cpu(rx_info->beacon_energy_b); il4965_sensitivity_calibration()
536 statis.beacon_energy_c = le32_to_cpu(rx_info->beacon_energy_c); il4965_sensitivity_calibration()
829 le32_to_cpu(((struct il_notif_stats *)stat_resp)->flag) >> 16; il4965_chain_noise_calibration()
845 le32_to_cpu(rx_info->beacon_silence_rssi_a) & IN_BAND_FILTER; il4965_chain_noise_calibration()
847 le32_to_cpu(rx_info->beacon_silence_rssi_b) & IN_BAND_FILTER; il4965_chain_noise_calibration()
849 le32_to_cpu(rx_info->beacon_silence_rssi_c) & IN_BAND_FILTER; il4965_chain_noise_calibration()
851 chain_sig_a = le32_to_cpu(rx_info->beacon_rssi_a) & IN_BAND_FILTER; il4965_chain_noise_calibration()
852 chain_sig_b = le32_to_cpu(rx_info->beacon_rssi_b) & IN_BAND_FILTER; il4965_chain_noise_calibration()
853 chain_sig_c = le32_to_cpu(rx_info->beacon_rssi_c) & IN_BAND_FILTER; il4965_chain_noise_calibration()
H A D4965.c63 if (val != le32_to_cpu(*image)) { il4965_verify_inst_sparse()
96 if (val != le32_to_cpu(*image)) { il4965_verify_inst_full()
99 save_len - len, val, le32_to_cpu(*image)); il4965_verify_inst_full()
295 if (val != le32_to_cpu(*image)) { il4965_verify_bsm()
299 len, val, le32_to_cpu(*image)); il4965_verify_bsm()
383 _il_wr_prph(il, reg_offset, le32_to_cpu(*image)); il4965_load_bsm()
500 le32_to_cpu(rxon_flags & RXON_FLG_CHANNEL_MODE_MSK) >> iw4965_is_ht40_channel()
1113 init_voltage = (s32) le32_to_cpu(il->card_alive_init.voltage); il4965_fill_txpower_tbl()
1194 (s32) le32_to_cpu(il->card_alive_init. il4965_fill_txpower_tbl()
1587 R1 = (s32) le32_to_cpu(il->card_alive_init.therm_r1[1]); il4965_hw_get_temperature()
1588 R2 = (s32) le32_to_cpu(il->card_alive_init.therm_r2[1]); il4965_hw_get_temperature()
1589 R3 = (s32) le32_to_cpu(il->card_alive_init.therm_r3[1]); il4965_hw_get_temperature()
1590 R4 = le32_to_cpu(il->card_alive_init.therm_r4[1]); il4965_hw_get_temperature()
1593 R1 = (s32) le32_to_cpu(il->card_alive_init.therm_r1[0]); il4965_hw_get_temperature()
1594 R2 = (s32) le32_to_cpu(il->card_alive_init.therm_r2[0]); il4965_hw_get_temperature()
1595 R3 = (s32) le32_to_cpu(il->card_alive_init.therm_r3[0]); il4965_hw_get_temperature()
1596 R4 = le32_to_cpu(il->card_alive_init.therm_r4[0]); il4965_hw_get_temperature()
1609 vt = sign_extend32(le32_to_cpu il4965_hw_get_temperature()
/linux-4.1.27/block/partitions/
H A Dkarma.c48 if (p->p_fstype == 0x4d && le32_to_cpu(p->p_size)) { karma_partition()
49 put_partition(state, slot, le32_to_cpu(p->p_offset), karma_partition()
50 le32_to_cpu(p->p_size)); karma_partition()
H A Dosf.c61 if (le32_to_cpu(label->d_magic) != DISKLABELMAGIC) { osf_partition()
65 if (le32_to_cpu(label->d_magic2) != DISKLABELMAGIC) { osf_partition()
77 if (le32_to_cpu(partition->p_size)) osf_partition()
79 le32_to_cpu(partition->p_offset), osf_partition()
80 le32_to_cpu(partition->p_size)); osf_partition()
H A Dacorn.c45 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | adfs_partition()
46 (le32_to_cpu(dr->disc_size) >> 9); adfs_partition()
101 le32_to_cpu(rr->part[part].start), riscix_partition()
102 le32_to_cpu(rr->part[part].length)); riscix_partition()
153 le32_to_cpu(linuxp->start_sect), linux_partition()
154 le32_to_cpu(linuxp->nr_sects)); linux_partition()
341 sum -= le32_to_cpu(*(__le32 *)(&data[508])); valid_ics_sector()
378 u32 start = le32_to_cpu(p->start); adfspart_check_ICS()
379 s32 size = le32_to_cpu(p->size); /* yes, it's signed. */ adfspart_check_ICS()
472 u32 start = le32_to_cpu(p->start); adfspart_check_POWERTEC()
473 u32 size = le32_to_cpu(p->size); adfspart_check_POWERTEC()
540 next = le32_to_cpu(p->start); adfspart_check_EESOX()
H A Defi.c162 if (le32_to_cpu(part->starting_lba) != GPT_PRIMARY_PARTITION_TABLE_LBA) pmbr_part_valid()
231 sz = le32_to_cpu(mbr->partition_record[part].size_in_lba); is_pmbr_valid()
296 count = le32_to_cpu(gpt->num_partition_entries) * alloc_read_gpt_entries()
297 le32_to_cpu(gpt->sizeof_partition_entry); alloc_read_gpt_entries()
372 if (le32_to_cpu((*gpt)->header_size) > is_gpt_valid()
375 le32_to_cpu((*gpt)->header_size), is_gpt_valid()
381 if (le32_to_cpu((*gpt)->header_size) < sizeof(gpt_header)) { is_gpt_valid()
383 le32_to_cpu((*gpt)->header_size), is_gpt_valid()
389 origcrc = le32_to_cpu((*gpt)->header_crc32); is_gpt_valid()
391 crc = efi_crc32((const unsigned char *) (*gpt), le32_to_cpu((*gpt)->header_size)); is_gpt_valid()
432 if (le32_to_cpu((*gpt)->sizeof_partition_entry) != sizeof(gpt_entry)) { is_gpt_valid()
442 le32_to_cpu((*gpt)->num_partition_entries) * is_gpt_valid()
443 le32_to_cpu((*gpt)->sizeof_partition_entry)); is_gpt_valid()
445 if (crc != le32_to_cpu((*gpt)->partition_entry_array_crc32)) { is_gpt_valid()
529 if (le32_to_cpu(pgpt->num_partition_entries) != compare_gpts()
530 le32_to_cpu(agpt->num_partition_entries)) { compare_gpts()
533 le32_to_cpu(pgpt->num_partition_entries), compare_gpts()
534 le32_to_cpu(agpt->num_partition_entries)); compare_gpts()
537 if (le32_to_cpu(pgpt->sizeof_partition_entry) != compare_gpts()
538 le32_to_cpu(agpt->sizeof_partition_entry)) { compare_gpts()
541 le32_to_cpu(pgpt->sizeof_partition_entry), compare_gpts()
542 le32_to_cpu(agpt->sizeof_partition_entry)); compare_gpts()
545 if (le32_to_cpu(pgpt->partition_entry_array_crc32) != compare_gpts()
546 le32_to_cpu(agpt->partition_entry_array_crc32)) { compare_gpts()
549 le32_to_cpu(pgpt->partition_entry_array_crc32), compare_gpts()
550 le32_to_cpu(agpt->partition_entry_array_crc32)); compare_gpts()
700 for (i = 0; i < le32_to_cpu(gpt->num_partition_entries) && i < state->limit-1; i++) { efi_partition()
H A Dmsdos.c227 if (le32_to_cpu(v->v_sanity) != SOLARIS_X86_VTOC_SANE) { parse_solaris_x86()
237 if (le32_to_cpu(v->v_version) != 1) { parse_solaris_x86()
241 le32_to_cpu(v->v_version)); parse_solaris_x86()
259 le32_to_cpu(s->s_start)+offset, parse_solaris_x86()
260 le32_to_cpu(s->s_size)); parse_solaris_x86()
284 if (le32_to_cpu(l->d_magic) != BSD_DISKMAGIC) { parse_bsd()
301 bsd_start = le32_to_cpu(p->p_offset); parse_bsd()
302 bsd_size = le32_to_cpu(p->p_size); parse_bsd()
362 if (le32_to_cpu(l->d_magic) != UNIXWARE_DISKMAGIC || parse_unixware()
363 le32_to_cpu(l->vtoc.v_magic) != UNIXWARE_DISKMAGIC2) { parse_unixware()
381 le32_to_cpu(p->start_sect), parse_unixware()
382 le32_to_cpu(p->nr_sects)); parse_unixware()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommon.c64 ri->vendorid = le32_to_cpu(revinfo.vendorid); brcmf_c_preinit_dcmds()
65 ri->deviceid = le32_to_cpu(revinfo.deviceid); brcmf_c_preinit_dcmds()
66 ri->radiorev = le32_to_cpu(revinfo.radiorev); brcmf_c_preinit_dcmds()
67 ri->chiprev = le32_to_cpu(revinfo.chiprev); brcmf_c_preinit_dcmds()
68 ri->corerev = le32_to_cpu(revinfo.corerev); brcmf_c_preinit_dcmds()
69 ri->boardid = le32_to_cpu(revinfo.boardid); brcmf_c_preinit_dcmds()
70 ri->boardvendor = le32_to_cpu(revinfo.boardvendor); brcmf_c_preinit_dcmds()
71 ri->boardrev = le32_to_cpu(revinfo.boardrev); brcmf_c_preinit_dcmds()
72 ri->driverrev = le32_to_cpu(revinfo.driverrev); brcmf_c_preinit_dcmds()
73 ri->ucoderev = le32_to_cpu(revinfo.ucoderev); brcmf_c_preinit_dcmds()
74 ri->bus = le32_to_cpu(revinfo.bus); brcmf_c_preinit_dcmds()
75 ri->chipnum = le32_to_cpu(revinfo.chipnum); brcmf_c_preinit_dcmds()
76 ri->phytype = le32_to_cpu(revinfo.phytype); brcmf_c_preinit_dcmds()
77 ri->phyrev = le32_to_cpu(revinfo.phyrev); brcmf_c_preinit_dcmds()
78 ri->anarev = le32_to_cpu(revinfo.anarev); brcmf_c_preinit_dcmds()
79 ri->chippkg = le32_to_cpu(revinfo.chippkg); brcmf_c_preinit_dcmds()
80 ri->nvramrev = le32_to_cpu(revinfo.nvramrev); brcmf_c_preinit_dcmds()
H A Dbcdc.c153 } while (BCDC_DCMD_ID(le32_to_cpu(bcdc->msg.flags)) != id); brcmf_proto_bcdc_cmplt()
183 flags = le32_to_cpu(msg->flags); brcmf_proto_bcdc_query_dcmd()
207 ret = le32_to_cpu(msg->status); brcmf_proto_bcdc_query_dcmd()
232 flags = le32_to_cpu(msg->flags); brcmf_proto_bcdc_set_dcmd()
244 ret = le32_to_cpu(msg->status); brcmf_proto_bcdc_set_dcmd()
/linux-4.1.27/fs/hpfs/
H A Danode.c25 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { hpfs_bplus_lookup()
26 a = le32_to_cpu(btree->u.internal[i].down); hpfs_bplus_lookup()
37 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && hpfs_bplus_lookup()
38 le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { hpfs_bplus_lookup()
39 a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_secno); hpfs_bplus_lookup()
46 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); hpfs_bplus_lookup()
47 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); hpfs_bplus_lookup()
48 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); hpfs_bplus_lookup()
86 a = le32_to_cpu(btree->u.internal[n].down); hpfs_add_sector_to_btree()
97 if (le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length) != fsecno) { hpfs_add_sector_to_btree()
99 le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length), fsecno, hpfs_add_sector_to_btree()
104 if (hpfs_alloc_if_possible(s, se = le32_to_cpu(btree->u.external[n].disk_secno) + le32_to_cpu(btree->u.external[n].length))) { hpfs_add_sector_to_btree()
122 fs = n < 0 ? 0 : le32_to_cpu(btree->u.external[n].file_secno) + le32_to_cpu(btree->u.external[n].length); hpfs_add_sector_to_btree()
124 up = a != node ? le32_to_cpu(anode->up) : -1; hpfs_add_sector_to_btree()
196 up = up != node ? le32_to_cpu(anode->up) : -1; hpfs_add_sector_to_btree()
246 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { hpfs_add_sector_to_btree()
287 ano = le32_to_cpu(btree1->u.internal[pos].down); hpfs_remove_btree()
298 hpfs_free_sectors(s, le32_to_cpu(btree1->u.external[i].disk_secno), le32_to_cpu(btree1->u.external[i].length)); hpfs_remove_btree()
306 ano = le32_to_cpu(anode->up); hpfs_remove_btree()
312 if (le32_to_cpu(btree1->u.internal[i].down) == oano) { hpfs_remove_btree()
429 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; hpfs_truncate_btree()
435 hpfs_ea_remove(s, le32_to_cpu(btree->u.internal[j].down), 1, 0); hpfs_truncate_btree()
444 node = le32_to_cpu(btree->u.internal[i].down); hpfs_truncate_btree()
454 if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; hpfs_truncate_btree()
458 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { hpfs_truncate_btree()
462 else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { hpfs_truncate_btree()
463 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - hpfs_truncate_btree()
464 le32_to_cpu(btree->u.external[i].file_secno), le32_to_cpu(btree->u.external[i].length) hpfs_truncate_btree()
465 - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ hpfs_truncate_btree()
466 btree->u.external[i].length = cpu_to_le32(secs - le32_to_cpu(btree->u.external[i].file_secno)); hpfs_truncate_btree()
469 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[j].disk_secno), le32_to_cpu(btree->u.external[j].length)); hpfs_truncate_btree()
488 else hpfs_remove_dtree(s, le32_to_cpu(fnode->u.external[0].disk_secno)); hpfs_remove_fnode()
493 hpfs_ea_ext_remove(s, le32_to_cpu(fnode->ea_secno), fnode_in_anode(fnode), le32_to_cpu(fnode->ea_size_l)); hpfs_remove_fnode()
H A Dea.c92 a = le32_to_cpu(fnode->ea_secno); hpfs_read_ea()
93 len = le32_to_cpu(fnode->ea_size_l); hpfs_read_ea()
149 a = le32_to_cpu(fnode->ea_secno); hpfs_get_ea()
150 len = le32_to_cpu(fnode->ea_size_l); hpfs_get_ea()
210 a = le32_to_cpu(fnode->ea_secno); hpfs_set_ea()
211 len = le32_to_cpu(fnode->ea_size_l); hpfs_set_ea()
252 if ((le16_to_cpu(fnode->ea_size_s) || !le32_to_cpu(fnode->ea_size_l)) && hpfs_set_ea()
266 if (le16_to_cpu(fnode->ea_size_s) && !le32_to_cpu(fnode->ea_size_l)) { hpfs_set_ea()
283 pos = le32_to_cpu(fnode->ea_size_l) + 5 + strlen(key) + size; hpfs_set_ea()
284 len = (le32_to_cpu(fnode->ea_size_l) + 511) >> 9; hpfs_set_ea()
294 if (hpfs_alloc_if_possible(s, le32_to_cpu(fnode->ea_secno) + len)) { hpfs_set_ea()
308 anode->u.external[0].disk_secno = cpu_to_le32(le32_to_cpu(fnode->ea_secno)); hpfs_set_ea()
322 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { hpfs_set_ea()
336 hpfs_free_sectors(s, le32_to_cpu(fnode->ea_secno), len); hpfs_set_ea()
342 if (hpfs_add_sector_to_btree(s, le32_to_cpu(fnode->ea_secno), hpfs_set_ea()
354 if (hpfs_ea_write(s, le32_to_cpu(fnode->ea_secno), fnode_in_anode(fnode), le32_to_cpu(fnode->ea_size_l), 4, h)) goto bail; hpfs_set_ea()
355 if (hpfs_ea_write(s, le32_to_cpu(fnode->ea_secno), fnode_in_anode(fnode), le32_to_cpu(fnode->ea_size_l) + 4, h[1] + 1, key)) goto bail; hpfs_set_ea()
356 if (hpfs_ea_write(s, le32_to_cpu(fnode->ea_secno), fnode_in_anode(fnode), le32_to_cpu(fnode->ea_size_l) + 5 + h[1], size, data)) goto bail; hpfs_set_ea()
362 if (le32_to_cpu(fnode->ea_secno)) hpfs_set_ea()
363 if (fnode_in_anode(fnode)) hpfs_truncate_btree(s, le32_to_cpu(fnode->ea_secno), 1, (le32_to_cpu(fnode->ea_size_l) + 511) >> 9); hpfs_set_ea()
364 else hpfs_free_sectors(s, le32_to_cpu(fnode->ea_secno) + ((le32_to_cpu(fnode->ea_size_l) + 511) >> 9), len - ((le32_to_cpu(fnode->ea_size_l) + 511) >> 9)); hpfs_set_ea()
H A Dmap.c26 sec = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); hpfs_map_bitmap()
42 to_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block]); hpfs_prefetch_bitmap()
46 next_prefetch = le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[bmp_block + 1]); hpfs_prefetch_bitmap()
67 if (le32_to_cpu(cp->magic) != CP_DIR_MAGIC) { hpfs_load_code_page()
69 le32_to_cpu(cp->magic)); hpfs_load_code_page()
73 if (!le32_to_cpu(cp->n_code_pages)) { hpfs_load_code_page()
78 cpds = le32_to_cpu(cp->array[0].code_page_data); hpfs_load_code_page()
147 if (le32_to_cpu(fnode->magic) != FNODE_MAGIC) { hpfs_map_fnode()
200 if (le32_to_cpu(anode->magic) != ANODE_MAGIC) { hpfs_map_anode()
204 if (le32_to_cpu(anode->self) != ano) { hpfs_map_anode()
245 if (le32_to_cpu(dnode->magic) != DNODE_MAGIC) { hpfs_map_dnode()
249 if (le32_to_cpu(dnode->self) != secno) hpfs_map_dnode()
250 hpfs_error(s, "bad self pointer on dnode %08x self = %08x", secno, le32_to_cpu(dnode->self)); hpfs_map_dnode()
253 if (le32_to_cpu(dnode->first_free) > 2048) { hpfs_map_dnode()
254 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); hpfs_map_dnode()
257 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { hpfs_map_dnode()
277 if (p != le32_to_cpu(dnode->first_free)) { hpfs_map_dnode()
305 dno = le32_to_cpu(fnode->u.external[0].disk_secno); hpfs_fnode_dno()
H A Dsuper.c157 c = hpfs_count_one_bitmap(s, le32_to_cpu(hpfs_sb(s)->sb_bmp_dir[n])); count_bitmaps()
575 ||*/ le32_to_cpu(superblock->magic) != SB_MAGIC hpfs_fill_super()
576 || le32_to_cpu(spareblock->magic) != SP_MAGIC) { hpfs_fill_super()
598 sbi->sb_root = le32_to_cpu(superblock->root); hpfs_fill_super()
599 sbi->sb_fs_size = le32_to_cpu(superblock->n_sectors); hpfs_fill_super()
600 sbi->sb_bitmaps = le32_to_cpu(superblock->bitmaps); hpfs_fill_super()
601 sbi->sb_dirband_start = le32_to_cpu(superblock->dir_band_start); hpfs_fill_super()
602 sbi->sb_dirband_size = le32_to_cpu(superblock->n_dir_band); hpfs_fill_super()
603 sbi->sb_dmap = le32_to_cpu(superblock->dir_band_bitmap); hpfs_fill_super()
627 if (!(sbi->sb_bmp_dir = hpfs_load_bitmap_directory(s, le32_to_cpu(superblock->bitmaps)))) hpfs_fill_super()
657 if (le32_to_cpu(spareblock->n_dnode_spares) != le32_to_cpu(spareblock->n_dnode_spares_free)) { hpfs_fill_super()
669 if (le32_to_cpu(superblock->dir_band_end) - le32_to_cpu(superblock->dir_band_start) + 1 != le32_to_cpu(superblock->n_dir_band) || hpfs_fill_super()
670 le32_to_cpu(superblock->dir_band_end) < le32_to_cpu(superblock->dir_band_start) || le32_to_cpu(superblock->n_dir_band) > 0x4000) { hpfs_fill_super()
672 le32_to_cpu(superblock->dir_band_start), le32_to_cpu(superblock->dir_band_end), le32_to_cpu(superblock->n_dir_band)); hpfs_fill_super()
677 if (hpfs_chk_sectors(s, le32_to_cpu(superblock->dir_band_start), le32_to_cpu(superblock->n_dir_band), "dir_band") || hpfs_fill_super()
678 hpfs_chk_sectors(s, le32_to_cpu(superblock->dir_band_bitmap), 4, "dir_band_bitmap") || hpfs_fill_super()
679 hpfs_chk_sectors(s, le32_to_cpu(superblock->bitmaps), 4, "bitmaps")) { hpfs_fill_super()
688 if (le32_to_cpu(spareblock->n_code_pages)) hpfs_fill_super()
689 if (!(sbi->sb_cp_table = hpfs_load_code_page(s, le32_to_cpu(spareblock->code_page_dir)))) hpfs_fill_super()
716 root->i_atime.tv_sec = local_to_gmt(s, le32_to_cpu(de->read_date)); hpfs_fill_super()
718 root->i_mtime.tv_sec = local_to_gmt(s, le32_to_cpu(de->write_date)); hpfs_fill_super()
720 root->i_ctime.tv_sec = local_to_gmt(s, le32_to_cpu(de->creation_date)); hpfs_fill_super()
722 hpfs_i(root)->i_ea_size = le32_to_cpu(de->ea_size); hpfs_fill_super()
H A Ddnode.c17 if (de == fde) return ((loff_t) le32_to_cpu(d->self) << 4) | (loff_t)i; get_pos()
21 return ((loff_t)le32_to_cpu(d->self) << 4) | (loff_t)1; get_pos()
140 hpfs_error(s, "set_last_pointer: empty dnode %08x", le32_to_cpu(d->self)); set_last_pointer()
146 le32_to_cpu(d->self), de_down_pointer(de)); set_last_pointer()
150 hpfs_error(s, "set_last_pointer: bad last dirent in dnode %08x", le32_to_cpu(d->self)); set_last_pointer()
156 if (le32_to_cpu(d->first_free) > 2048) { set_last_pointer()
157 hpfs_error(s, "set_last_pointer: too long dnode %08x", le32_to_cpu(d->self)); set_last_pointer()
179 hpfs_error(s, "name (%c,%d) already exists in dnode %08x", *name, namelen, le32_to_cpu(d->self)); hpfs_add_de()
204 hpfs_error(s, "attempt to delete last dirent in dnode %08x", le32_to_cpu(d->self)); hpfs_delete_de()
207 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length)); hpfs_delete_de()
208 memmove(de, de_next_de(de), le32_to_cpu(d->first_free) + (char *)d - (char *)de); hpfs_delete_de()
215 dnode_secno dno = le32_to_cpu(d->self); fix_up_ptrs()
221 if (le32_to_cpu(dd->up) != dno || dd->root_dnode) { fix_up_ptrs()
272 if (le32_to_cpu(d->first_free) + de_size(namelen, down_ptr) <= 2048) { hpfs_add_to_dnode()
296 memcpy(nd, d, le32_to_cpu(d->first_free)); hpfs_add_to_dnode()
300 if (!(ad = hpfs_alloc_dnode(i->i_sb, le32_to_cpu(d->up), &adno, &qbh1))) { hpfs_add_to_dnode()
323 memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free) + (char *)nd - (char *)de); hpfs_add_to_dnode()
325 memcpy(d, nd, le32_to_cpu(nd->first_free)); hpfs_add_to_dnode()
330 dno = le32_to_cpu(ad->up); hpfs_add_to_dnode()
337 if (!(rd = hpfs_alloc_dnode(i->i_sb, le32_to_cpu(d->up), &rdno, &qbh2))) { hpfs_add_to_dnode()
349 if (!(fnode = hpfs_map_fnode(i->i_sb, le32_to_cpu(d->up), &bh))) { hpfs_add_to_dnode()
447 if (le32_to_cpu(dnode->up) != chk_up) { move_to_top()
449 dno, chk_up, le32_to_cpu(dnode->up)); move_to_top()
465 dnode_secno up = le32_to_cpu(dnode->up); move_to_top()
527 if (le32_to_cpu(dnode->first_free) > 56) goto end; delete_empty_dnode()
528 if (le32_to_cpu(dnode->first_free) == 52 || le32_to_cpu(dnode->first_free) == 56) { delete_empty_dnode()
531 up = le32_to_cpu(dnode->up); delete_empty_dnode()
584 (char *)dnode + le32_to_cpu(dnode->first_free) - (char *)de_next_de(de)); delete_empty_dnode()
596 hpfs_error(i->i_sb, "delete_empty_dnode: dnode %08x, first_free == %03x", dno, le32_to_cpu(dnode->first_free)); delete_empty_dnode()
647 if (le32_to_cpu(d1->first_free) > 2044) { delete_empty_dnode()
757 if (hpfs_sb(s)->sb_chk) if (odno && odno != -1 && le32_to_cpu(dnode->up) != odno) hpfs_count_dnodes()
758 hpfs_error(s, "hpfs_count_dnodes: bad up pointer; dnode %08x, down %08x points to %08x", odno, dno, le32_to_cpu(dnode->up)); hpfs_count_dnodes()
782 dno = le32_to_cpu(dnode->up); hpfs_count_dnodes()
830 if (up && le32_to_cpu(((struct dnode *)qbh.data)->up) != up) hpfs_de_as_down_as_possible()
831 hpfs_error(s, "hpfs_de_as_down_as_possible: bad up pointer; dnode %08x, down %08x points to %08x", up, d, le32_to_cpu(((struct dnode *)qbh.data)->up)); hpfs_de_as_down_as_possible()
880 if (!(up_dnode = hpfs_map_dnode(inode->i_sb, le32_to_cpu(dnode->up), &qbh0))) map_pos_dirent()
888 "map_pos_dirent: pos crossed dnode boundary; dnode = %08x", le32_to_cpu(dnode->up)); map_pos_dirent()
890 *posp = ((loff_t) le32_to_cpu(dnode->up) << 4) + c; map_pos_dirent()
897 dno, le32_to_cpu(dnode->up)); map_pos_dirent()
1023 if (!(upf = hpfs_map_fnode(s, le32_to_cpu(f->up), &bh))) { map_fnode_dirent()
1029 hpfs_error(s, "fnode %08x has non-directory parent %08x", fno, le32_to_cpu(f->up)); map_fnode_dirent()
1033 dno = le32_to_cpu(upf->u.external[0].disk_secno); map_fnode_dirent()
1055 if (le32_to_cpu(de->fnode) == fno) { map_fnode_dirent()
1071 if (le32_to_cpu(de->fnode) == fno) { map_fnode_dirent()
1080 dno = le32_to_cpu(d->up); map_fnode_dirent()
H A Ddir.c97 if (hpfs_inode->i_dno != le32_to_cpu(fno->u.external[0].disk_secno)) { hpfs_readdir()
99 hpfs_error(inode->i_sb, "corrupted inode: i_dno == %08x, fnode -> dnode == %08x", hpfs_inode->i_dno, le32_to_cpu(fno->u.external[0].disk_secno)); hpfs_readdir()
167 if (!dir_emit(ctx, tempname, de->namelen, le32_to_cpu(de->fnode), DT_UNKNOWN)) { hpfs_readdir()
232 ino = le32_to_cpu(de->fnode); hpfs_lookup()
247 else if (le32_to_cpu(de->ea_size) && hpfs_sb(dir->i_sb)->sb_eas) hpfs_lookup()
272 if (!(result->i_ctime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->creation_date)))) hpfs_lookup()
275 result->i_mtime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->write_date)); hpfs_lookup()
277 result->i_atime.tv_sec = local_to_gmt(dir->i_sb, le32_to_cpu(de->read_date)); hpfs_lookup()
279 hpfs_result->i_ea_size = le32_to_cpu(de->ea_size); hpfs_lookup()
284 result->i_size = le32_to_cpu(de->file_size); hpfs_lookup()
H A Dalloc.c73 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f)) & 1) { chk_if_allocated()
81 if ((le32_to_cpu(bmp[ssec >> 5]) >> (ssec & 0x1f)) & 1) { chk_if_allocated()
156 if (!le32_to_cpu(bmp[i])) goto cont; alloc_in_bmp()
157 if (n + forward >= 0x3f && le32_to_cpu(bmp[i]) != 0xffffffff) goto cont; alloc_in_bmp()
160 unsigned k = le32_to_cpu(bmp[i-1]); alloc_in_bmp()
180 if (hpfs_sb(s)->sb_chk && ((ret >> 14) != (bs >> 14) || (le32_to_cpu(bmp[(ret & 0x3fff) >> 5]) | ~(((1 << n) - 1) << (ret & 0x1f))) != 0xffffffff)) { alloc_in_bmp()
300 if (le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) & (1 << (sec & 0x1f))) { hpfs_alloc_if_possible()
332 if ((le32_to_cpu(bmp[(sec & 0x3fff) >> 5]) >> (sec & 0x1f) & 1)) { hpfs_free_sectors()
368 if (!le32_to_cpu(bmp[j])) continue; hpfs_check_free_dnodes()
369 for (k = le32_to_cpu(bmp[j]); k; k >>= 1) if (k & 1) if (!--n) { hpfs_check_free_dnodes()
389 if (!le32_to_cpu(bmp[j])) continue; hpfs_check_free_dnodes()
391 if ((le32_to_cpu(bmp[j]) & k) == k) { hpfs_check_free_dnodes()
H A Dhpfs_fn.h103 return le32_to_cpu(*(__le32 *) ((void *) de + le16_to_cpu(de->length) - 4)); de_down_pointer()
117 CHKCOND(le32_to_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnode->first_free = %x\n",(unsigned)le32_to_cpu(dnode->first_free))); dnode_end_de()
118 return (void *) dnode + le32_to_cpu(dnode->first_free); dnode_end_de()
151 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); ea_sec()
156 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); ea_len()
185 if (!((le32_to_cpu(bmp[(b & 0x3fff) >> 5]) >> (b & 0x1f)) & 1)) return 1; tstbits()
187 if (!((le32_to_cpu(bmp[((b+i) & 0x3fff) >> 5]) >> ((b+i) & 0x1f)) & 1)) tstbits()
H A Dinode.c99 rdev = le32_to_cpu(*(__le32*)ea); hpfs_read_inode()
119 hpfs_inode->i_parent_dir = le32_to_cpu(fnode->up); hpfs_read_inode()
120 hpfs_inode->i_dno = le32_to_cpu(fnode->u.external[0].disk_secno); hpfs_read_inode()
136 i->i_size = le32_to_cpu(fnode->file_size); hpfs_read_inode()
147 /*if (le32_to_cpu(fnode->acl_size_l) || le16_to_cpu(fnode->acl_size_s)) { hpfs_write_inode_ea()
/linux-4.1.27/fs/udf/
H A Dudfend.h11 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); lelb_to_cpu()
31 out.extLength = le32_to_cpu(in.extLength); lesa_to_cpu()
32 out.extPosition = le32_to_cpu(in.extPosition); lesa_to_cpu()
51 out.extLength = le32_to_cpu(in.extLength); lela_to_cpu()
71 out.extLength = le32_to_cpu(in.extLength); leea_to_cpu()
72 out.extLocation = le32_to_cpu(in.extLocation); leea_to_cpu()
H A Dmisc.c79 le32_to_cpu(eahd->descTag.tagLocation) != udf_add_extendedattr()
103 if (le32_to_cpu(eahd->appAttrLocation) < udf_add_extendedattr()
106 le32_to_cpu(eahd->appAttrLocation); udf_add_extendedattr()
113 if (le32_to_cpu(eahd->impAttrLocation) < udf_add_extendedattr()
116 le32_to_cpu(eahd->impAttrLocation); udf_add_extendedattr()
124 if (le32_to_cpu(eahd->appAttrLocation) < udf_add_extendedattr()
127 le32_to_cpu(eahd->appAttrLocation); udf_add_extendedattr()
167 le32_to_cpu(eahd->descTag.tagLocation) != udf_get_extendedattr()
174 offset = le32_to_cpu(eahd->impAttrLocation); udf_get_extendedattr()
176 offset = le32_to_cpu(eahd->appAttrLocation); udf_get_extendedattr()
180 if (le32_to_cpu(gaf->attrType) == type && udf_get_extendedattr()
184 offset += le32_to_cpu(gaf->attrLength); udf_get_extendedattr()
223 if (location != le32_to_cpu(tag_p->tagLocation)) { udf_read_tagged()
225 block, le32_to_cpu(tag_p->tagLocation), location); udf_read_tagged()
H A Dpartition.c68 loc = le32_to_cpu(((__le32 *)(iinfo->i_ext.i_data + udf_get_pblock_virt15()
91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); udf_get_pblock_virt15()
137 u32 origLoc = le32_to_cpu(entry->origLocation); udf_get_pblock_spar15()
141 return le32_to_cpu(entry->mappedLocation) + udf_get_pblock_spar15()
189 u32 origLoc = le32_to_cpu(entry->origLocation); udf_relocate_blocks()
209 *new_block = le32_to_cpu( udf_relocate_blocks()
217 *new_block = le32_to_cpu( udf_relocate_blocks()
230 u32 origLoc = le32_to_cpu(entry->origLocation); udf_relocate_blocks()
256 le32_to_cpu( udf_relocate_blocks()
H A Dsuper.c108 partnum = le32_to_cpu(lvid->numOfPartitions); udf_sb_lvidiu()
850 ((le32_to_cpu(sp->numOfBytes) + udf_find_fileset()
1092 map->s_partition_len = le32_to_cpu(p->partitionLength); /* blocks */ udf_fill_partdesc_info()
1093 map->s_partition_root = le32_to_cpu(p->partitionStartingLocation); udf_fill_partdesc_info()
1115 .logicalBlockNum = le32_to_cpu( udf_fill_partdesc_info()
1138 bitmap->s_extPosition = le32_to_cpu( udf_fill_partdesc_info()
1150 .logicalBlockNum = le32_to_cpu( udf_fill_partdesc_info()
1173 bitmap->s_extPosition = le32_to_cpu( udf_fill_partdesc_info()
1389 loc = le32_to_cpu(spm->locSparingTable[i]); udf_load_sparable_map()
1428 table_len = le32_to_cpu(lvd->mapTableLength); udf_load_logicalvol()
1437 ret = udf_sb_alloc_partition_maps(sb, le32_to_cpu(lvd->numPartitionMaps)); udf_load_logicalvol()
1496 le32_to_cpu(mdm->metadataFileLoc); udf_load_logicalvol()
1498 le32_to_cpu(mdm->metadataMirrorFileLoc); udf_load_logicalvol()
1500 le32_to_cpu(mdm->metadataBitmapFileLoc); udf_load_logicalvol()
1502 le32_to_cpu(mdm->allocUnitSize); udf_load_logicalvol()
1514 le32_to_cpu(mdm->allocUnitSize)); udf_load_logicalvol()
1516 le32_to_cpu(mdm->metadataFileLoc)); udf_load_logicalvol()
1518 le32_to_cpu(mdm->metadataMirrorFileLoc)); udf_load_logicalvol()
1520 le32_to_cpu(mdm->metadataBitmapFileLoc)); udf_load_logicalvol()
1625 vdsn = le32_to_cpu(gd->volDescSeqNum); udf_process_sequence()
1641 next_s = le32_to_cpu( udf_process_sequence()
1643 next_e = le32_to_cpu( udf_process_sequence()
1739 main_s = le32_to_cpu(anchor->mainVolDescSeqExt.extLocation); udf_load_sequence()
1740 main_e = le32_to_cpu(anchor->mainVolDescSeqExt.extLength); udf_load_sequence()
1745 reserve_s = le32_to_cpu(anchor->reserveVolDescSeqExt.extLocation); udf_load_sequence()
1746 reserve_e = le32_to_cpu(anchor->reserveVolDescSeqExt.extLength); udf_load_sequence()
2338 buf->f_files = (lvidiu != NULL ? (le32_to_cpu(lvidiu->numFiles) + udf_statfs()
2339 le32_to_cpu(lvidiu->numDirs)) : 0) udf_statfs()
2376 bytes = le32_to_cpu(bm->numOfBytes); udf_count_free_bitmap()
2436 if (le32_to_cpu(lvid->numOfPartitions) > sbi->s_partition) { udf_count_free()
2437 accum = le32_to_cpu( udf_count_free()
/linux-4.1.27/include/uapi/linux/
H A 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_RDONLY))
/linux-4.1.27/fs/squashfs/
H A Dinode.c73 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); squashfs_new_inode()
74 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); squashfs_new_inode()
152 frag = le32_to_cpu(sqsh_ino->fragment); squashfs_read_inode()
154 frag_offset = le32_to_cpu(sqsh_ino->offset); squashfs_read_inode()
167 inode->i_size = le32_to_cpu(sqsh_ino->file_size); squashfs_read_inode()
174 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); squashfs_read_inode()
195 frag = le32_to_cpu(sqsh_ino->fragment); squashfs_read_inode()
197 frag_offset = le32_to_cpu(sqsh_ino->offset); squashfs_read_inode()
209 xattr_id = le32_to_cpu(sqsh_ino->xattr); squashfs_read_inode()
210 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
239 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
244 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); squashfs_read_inode()
247 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); squashfs_read_inode()
263 xattr_id = le32_to_cpu(sqsh_ino->xattr); squashfs_read_inode()
264 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
265 inode->i_size = le32_to_cpu(sqsh_ino->file_size); squashfs_read_inode()
269 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); squashfs_read_inode()
274 squashfs_i(inode)->parent = le32_to_cpu(sqsh_ino->parent_inode); squashfs_read_inode()
291 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
292 inode->i_size = le32_to_cpu(sqsh_ino->symlink_size); squashfs_read_inode()
310 xattr_id = le32_to_cpu(xattr); squashfs_read_inode()
332 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
333 rdev = le32_to_cpu(sqsh_ino->rdev); squashfs_read_inode()
354 xattr_id = le32_to_cpu(sqsh_ino->xattr); squashfs_read_inode()
356 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
357 rdev = le32_to_cpu(sqsh_ino->rdev); squashfs_read_inode()
377 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
394 xattr_id = le32_to_cpu(sqsh_ino->xattr); squashfs_read_inode()
396 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); squashfs_read_inode()
H A Dxattr_id.c57 *size = le32_to_cpu(id.size); squashfs_xattr_lookup()
58 *count = le32_to_cpu(id.count); squashfs_xattr_lookup()
77 *xattr_ids = le32_to_cpu(id_table->xattr_ids); squashfs_read_xattr_id_table()
H A Dnamei.c106 size = le32_to_cpu(index->size) + 1; get_dir_index_using_name()
120 length = le32_to_cpu(index->index); get_dir_index_using_name()
121 *next_block = le32_to_cpu(index->start_block) + get_dir_index_using_name()
182 dir_count = le32_to_cpu(dirh.count) + 1; squashfs_lookup()
215 blk = le32_to_cpu(dirh.start_block); squashfs_lookup()
217 ino_num = le32_to_cpu(dirh.inode_number) + squashfs_lookup()
H A Ddir.c78 index = le32_to_cpu(dir_index.index); get_dir_index_using_offset()
85 size = le32_to_cpu(dir_index.size) + 1; get_dir_index_using_offset()
97 *next_block = le32_to_cpu(dir_index.start_block) + get_dir_index_using_offset()
174 dir_count = le32_to_cpu(dirh.count) + 1; squashfs_readdir()
205 inode_number = le32_to_cpu(dirh.inode_number) + squashfs_readdir()
H A Dlz4_wrapper.c43 if (le32_to_cpu(comp_opts->version) != LZ4_LEGACY) { lz4_comp_opts()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
H A Drtl8188e_rxdesc.c91 pattrib->crc_err = (u8)((le32_to_cpu(report.rxdw0) >> 14) & 0x1);/* u8)prxreport->crc32; */ update_recvframe_attrib_88e()
94 pattrib->pkt_rpt_type = (u8)((le32_to_cpu(report.rxdw3) >> 14) & 0x3);/* prxreport->rpt_sel; */ update_recvframe_attrib_88e()
97 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x00003fff);/* u16)prxreport->pktlen; */ update_recvframe_attrib_88e()
98 pattrib->drvinfo_sz = (u8)((le32_to_cpu(report.rxdw0) >> 16) & 0xf) * 8;/* u8)(prxreport->drvinfosize << 3); */ update_recvframe_attrib_88e()
100 pattrib->physt = (u8)((le32_to_cpu(report.rxdw0) >> 26) & 0x1);/* u8)prxreport->physt; */ update_recvframe_attrib_88e()
102 pattrib->bdecrypted = (le32_to_cpu(report.rxdw0) & BIT(27)) ? 0 : 1;/* u8)(prxreport->swdec ? 0 : 1); */ update_recvframe_attrib_88e()
103 pattrib->encrypt = (u8)((le32_to_cpu(report.rxdw0) >> 20) & 0x7);/* u8)prxreport->security; */ update_recvframe_attrib_88e()
105 pattrib->qos = (u8)((le32_to_cpu(report.rxdw0) >> 23) & 0x1);/* u8)prxreport->qos; */ update_recvframe_attrib_88e()
106 pattrib->priority = (u8)((le32_to_cpu(report.rxdw1) >> 8) & 0xf);/* u8)prxreport->tid; */ update_recvframe_attrib_88e()
108 pattrib->amsdu = (u8)((le32_to_cpu(report.rxdw1) >> 13) & 0x1);/* u8)prxreport->amsdu; */ update_recvframe_attrib_88e()
110 pattrib->seq_num = (u16)(le32_to_cpu(report.rxdw2) & 0x00000fff);/* u16)prxreport->seq; */ update_recvframe_attrib_88e()
111 pattrib->frag_num = (u8)((le32_to_cpu(report.rxdw2) >> 12) & 0xf);/* u8)prxreport->frag; */ update_recvframe_attrib_88e()
112 pattrib->mfrag = (u8)((le32_to_cpu(report.rxdw1) >> 27) & 0x1);/* u8)prxreport->mf; */ update_recvframe_attrib_88e()
113 pattrib->mdata = (u8)((le32_to_cpu(report.rxdw1) >> 26) & 0x1);/* u8)prxreport->md; */ update_recvframe_attrib_88e()
115 pattrib->mcs_rate = (u8)(le32_to_cpu(report.rxdw3) & 0x3f);/* u8)prxreport->rxmcs; */ update_recvframe_attrib_88e()
116 pattrib->rxht = (u8)((le32_to_cpu(report.rxdw3) >> 6) & 0x1);/* u8)prxreport->rxht; */ update_recvframe_attrib_88e()
118 pattrib->icv_err = (u8)((le32_to_cpu(report.rxdw0) >> 15) & 0x1);/* u8)prxreport->icverr; */ update_recvframe_attrib_88e()
119 pattrib->shift_sz = (u8)((le32_to_cpu(report.rxdw0) >> 24) & 0x3); update_recvframe_attrib_88e()
124 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x3FF);/* Rx length[9:0] */ update_recvframe_attrib_88e()
130 pattrib->MacIDValidEntry[0] = le32_to_cpu(report.rxdw4); update_recvframe_attrib_88e()
131 pattrib->MacIDValidEntry[1] = le32_to_cpu(report.rxdw5); update_recvframe_attrib_88e()
134 pattrib->pkt_len = (u16)(le32_to_cpu(report.rxdw0) & 0x00003fff);/* u16)prxreport->pktlen; */ update_recvframe_attrib_88e()
/linux-4.1.27/crypto/
H A Dtea.c53 ctx->KEY[0] = le32_to_cpu(key[0]); tea_setkey()
54 ctx->KEY[1] = le32_to_cpu(key[1]); tea_setkey()
55 ctx->KEY[2] = le32_to_cpu(key[2]); tea_setkey()
56 ctx->KEY[3] = le32_to_cpu(key[3]); tea_setkey()
70 y = le32_to_cpu(in[0]); tea_encrypt()
71 z = le32_to_cpu(in[1]); tea_encrypt()
98 y = le32_to_cpu(in[0]); tea_decrypt()
99 z = le32_to_cpu(in[1]); tea_decrypt()
126 ctx->KEY[0] = le32_to_cpu(key[0]); xtea_setkey()
127 ctx->KEY[1] = le32_to_cpu(key[1]); xtea_setkey()
128 ctx->KEY[2] = le32_to_cpu(key[2]); xtea_setkey()
129 ctx->KEY[3] = le32_to_cpu(key[3]); xtea_setkey()
143 y = le32_to_cpu(in[0]); xtea_encrypt()
144 z = le32_to_cpu(in[1]); xtea_encrypt()
163 y = le32_to_cpu(in[0]); xtea_decrypt()
164 z = le32_to_cpu(in[1]); xtea_decrypt()
187 y = le32_to_cpu(in[0]); xeta_encrypt()
188 z = le32_to_cpu(in[1]); xeta_encrypt()
207 y = le32_to_cpu(in[0]); xeta_decrypt()
208 z = le32_to_cpu(in[1]); xeta_decrypt()
H A Dserpent_generic.c251 r0 = le32_to_cpu(k[3]); __serpent_setkey()
252 r1 = le32_to_cpu(k[4]); __serpent_setkey()
253 r2 = le32_to_cpu(k[5]); __serpent_setkey()
254 r3 = le32_to_cpu(k[6]); __serpent_setkey()
255 r4 = le32_to_cpu(k[7]); __serpent_setkey()
257 keyiter(le32_to_cpu(k[0]), r0, r4, r2, 0, 0); __serpent_setkey()
258 keyiter(le32_to_cpu(k[1]), r1, r0, r3, 1, 1); __serpent_setkey()
259 keyiter(le32_to_cpu(k[2]), r2, r1, r4, 2, 2); __serpent_setkey()
260 keyiter(le32_to_cpu(k[3]), r3, r2, r0, 3, 3); __serpent_setkey()
261 keyiter(le32_to_cpu(k[4]), r4, r3, r1, 4, 4); __serpent_setkey()
262 keyiter(le32_to_cpu(k[5]), r0, r4, r2, 5, 5); __serpent_setkey()
263 keyiter(le32_to_cpu(k[6]), r1, r0, r3, 6, 6); __serpent_setkey()
264 keyiter(le32_to_cpu(k[7]), r2, r1, r4, 7, 7); __serpent_setkey()
457 r0 = le32_to_cpu(s[0]); __serpent_encrypt()
458 r1 = le32_to_cpu(s[1]); __serpent_encrypt()
459 r2 = le32_to_cpu(s[2]); __serpent_encrypt()
460 r3 = le32_to_cpu(s[3]); __serpent_encrypt()
517 r0 = le32_to_cpu(s[0]); __serpent_decrypt()
518 r1 = le32_to_cpu(s[1]); __serpent_decrypt()
519 r2 = le32_to_cpu(s[2]); __serpent_decrypt()
520 r3 = le32_to_cpu(s[3]); __serpent_decrypt()
H A Dmichael_mic.c148 mctx->l = le32_to_cpu(data[0]); michael_setkey()
149 mctx->r = le32_to_cpu(data[1]); michael_setkey()
/linux-4.1.27/fs/bfs/
H A Dinode.c63 inode->i_mode = 0x0000FFFF & le32_to_cpu(di->i_mode); bfs_iget()
64 if (le32_to_cpu(di->i_vtype) == BFS_VDIR) { bfs_iget()
68 } else if (le32_to_cpu(di->i_vtype) == BFS_VREG) { bfs_iget()
75 BFS_I(inode)->i_sblock = le32_to_cpu(di->i_sblock); bfs_iget()
76 BFS_I(inode)->i_eblock = le32_to_cpu(di->i_eblock); bfs_iget()
78 i_uid_write(inode, le32_to_cpu(di->i_uid)); bfs_iget()
79 i_gid_write(inode, le32_to_cpu(di->i_gid)); bfs_iget()
80 set_nlink(inode, le32_to_cpu(di->i_nlink)); bfs_iget()
83 inode->i_atime.tv_sec = le32_to_cpu(di->i_atime); bfs_iget()
84 inode->i_mtime.tv_sec = le32_to_cpu(di->i_mtime); bfs_iget()
85 inode->i_ctime.tv_sec = le32_to_cpu(di->i_ctime); bfs_iget()
342 if (le32_to_cpu(bfs_sb->s_magic) != BFS_MAGIC) { bfs_fill_super()
345 s->s_id, le32_to_cpu(bfs_sb->s_magic)); bfs_fill_super()
353 if (le32_to_cpu(bfs_sb->s_start) > le32_to_cpu(bfs_sb->s_end)) { bfs_fill_super()
358 info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / bfs_fill_super()
380 info->si_blocks = (le32_to_cpu(bfs_sb->s_end) + 1) >> BFS_BSIZE_BITS; bfs_fill_super()
381 info->si_freeb = (le32_to_cpu(bfs_sb->s_end) + 1 bfs_fill_super()
382 - le32_to_cpu(bfs_sb->s_start)) >> BFS_BSIZE_BITS; bfs_fill_super()
414 i_eoff = le32_to_cpu(di->i_eoffset); bfs_fill_super()
415 i_sblock = le32_to_cpu(di->i_sblock); bfs_fill_super()
416 i_eblock = le32_to_cpu(di->i_eblock); bfs_fill_super()
417 s_size = le32_to_cpu(bfs_sb->s_end); bfs_fill_super()
439 eblock = le32_to_cpu(di->i_eblock); bfs_fill_super()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
H A Dbdc_dbg.c82 le32_to_cpu(sr->offset[0]), bdc_dbg_srr()
83 le32_to_cpu(sr->offset[1]), bdc_dbg_srr()
84 le32_to_cpu(sr->offset[2]), bdc_dbg_srr()
85 le32_to_cpu(sr->offset[3])); bdc_dbg_srr()
116 le32_to_cpu(bd->offset[0]), bdc_dbg_bd_list()
117 le32_to_cpu(bd->offset[1]), bdc_dbg_bd_list()
118 le32_to_cpu(bd->offset[2]), bdc_dbg_bd_list()
119 le32_to_cpu(bd->offset[3])); bdc_dbg_bd_list()
/linux-4.1.27/fs/qnx4/
H A Dbitmap.c22 int start = le32_to_cpu(qnx4_sb(sb)->BitMap->di_first_xtnt.xtnt_blk) - 1; qnx4_count_free_blocks()
26 int size = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size); qnx4_count_free_blocks()
H A Dinode.c70 u32 size = le32_to_cpu(extent->xtnt_size); try_extent()
72 return le32_to_cpu(extent->xtnt_blk) + *offset - 1; try_extent()
92 i_xblk = le32_to_cpu(qnx4_inode->di_xblk); qnx4_block_map()
114 i_xblk = le32_to_cpu(xblk->xblk_next_xblk); qnx4_block_map()
135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; qnx4_statfs()
161 rd = le32_to_cpu(s->RootDir.di_first_xtnt.xtnt_blk) - 1; qnx4_checkroot()
162 rl = le32_to_cpu(s->RootDir.di_first_xtnt.xtnt_size); qnx4_checkroot()
300 inode->i_size = le32_to_cpu(raw_inode->di_size); qnx4_iget()
301 inode->i_mtime.tv_sec = le32_to_cpu(raw_inode->di_mtime); qnx4_iget()
303 inode->i_atime.tv_sec = le32_to_cpu(raw_inode->di_atime); qnx4_iget()
305 inode->i_ctime.tv_sec = le32_to_cpu(raw_inode->di_ctime); qnx4_iget()
307 inode->i_blocks = le32_to_cpu(raw_inode->di_first_xtnt.xtnt_size); qnx4_iget()
H A Ddir.c56 ino = ( le32_to_cpu(le->dl_inode_blk) - 1 ) * qnx4_readdir()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dfw_inc.c33 le32_to_cpu(val)); \
72 dlen = le32_to_cpu(fh_->data_len); wil_fw_verify()
88 if (le32_to_cpu(fh_->signature) != WIL_FW_SIGNATURE) { wil_fw_verify()
90 le32_to_cpu(fh_->signature)); wil_fw_verify()
95 if (le32_to_cpu(fh_->version) > WIL_FW_FMT_VERSION) { wil_fw_verify()
97 le32_to_cpu(fh_->version)); wil_fw_verify()
111 if (crc != le32_to_cpu(fh_->crc)) { wil_fw_verify()
114 (ulong)dlen, crc, le32_to_cpu(fh_->crc)); wil_fw_verify()
142 wil_dbg_fw(wil, "write [0x%08x] <== %zu bytes\n", le32_to_cpu(d->addr), fw_handle_data()
156 size_t s = (size_t)le32_to_cpu(d->size); fw_handle_fill()
175 v = le32_to_cpu(d->value); fw_handle_fill()
177 le32_to_cpu(d->addr), v, s); fw_handle_fill()
218 u32 m = le32_to_cpu(block[i].mask); fw_handle_direct_write()
219 u32 v = le32_to_cpu(block[i].value); fw_handle_direct_write()
228 le32_to_cpu(block[i].addr), y, x, v, m); fw_handle_direct_write()
283 gw_cmd = le32_to_cpu(d->command); fw_handle_gateway_data()
295 le32_to_cpu(d->gateway_addr_addr), fw_handle_gateway_data()
296 le32_to_cpu(d->gateway_value_addr), fw_handle_gateway_data()
297 le32_to_cpu(d->gateway_cmd_addr), fw_handle_gateway_data()
298 le32_to_cpu(d->gateway_ctrl_address)); fw_handle_gateway_data()
302 u32 a = le32_to_cpu(block[i].addr); fw_handle_gateway_data()
303 u32 v = le32_to_cpu(block[i].value); fw_handle_gateway_data()
342 gw_cmd = le32_to_cpu(d->command); fw_handle_gateway_data4()
355 le32_to_cpu(d->gateway_addr_addr), fw_handle_gateway_data4()
356 le32_to_cpu(d->gateway_cmd_addr), fw_handle_gateway_data4()
357 le32_to_cpu(d->gateway_ctrl_address)); fw_handle_gateway_data4()
364 u32 a = le32_to_cpu(block[i].addr); fw_handle_gateway_data4()
368 v[k] = le32_to_cpu(block[i].value[k]); fw_handle_gateway_data4()
430 hdr_sz = le32_to_cpu(hdr->size); wil_fw_load()
H A Dwmi.c125 u32 ptr = le32_to_cpu(ptr_); wmi_buffer()
243 le32_to_cpu(d_head.addr)); __wmi_send()
287 wil->fw_version = le32_to_cpu(evt->sw_version); wmi_evt_ready()
320 u32 d_len = le32_to_cpu(data->info.len); wmi_evt_rx_mgmt()
586 cid, le32_to_cpu(evt->reason)); wmi_evt_linkdown()
749 le32_to_cpu(d_tail.addr)); wmi_recv_cmd()
777 u32 tstamp = le32_to_cpu(wmi->timestamp); wmi_recv_cmd()
937 len = le32_to_cpu(reply.cmd.ssid_len); wmi_get_ssid()
1123 vring->hwtail = le32_to_cpu(evt.evt.rx_ring_tail_ptr); wmi_rx_chain_add()
1126 le32_to_cpu(evt.evt.status), vring->hwtail); wmi_rx_chain_add()
1128 if (le32_to_cpu(evt.evt.status) != WMI_CFG_RX_CHAIN_SUCCESS) wmi_rx_chain_add()
1153 *t_bb = le32_to_cpu(reply.evt.baseband_t1000); wmi_get_temperature()
1155 *t_rf = le32_to_cpu(reply.evt.rf_t1000); wmi_get_temperature()
/linux-4.1.27/drivers/md/persistent-data/
H A Ddm-btree-remove.c58 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); node_shift()
59 uint32_t value_size = le32_to_cpu(n->header.value_size); node_shift()
72 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); node_shift()
84 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); node_copy()
85 uint32_t value_size = le32_to_cpu(left->header.value_size); node_copy()
86 BUG_ON(value_size != le32_to_cpu(right->header.value_size)); node_copy()
90 BUG_ON(nr_left + shift > le32_to_cpu(left->header.max_entries)); node_copy()
98 BUG_ON(shift > le32_to_cpu(right->header.max_entries)); node_copy()
113 unsigned nr_entries = le32_to_cpu(n->header.nr_entries); delete_at()
115 uint32_t value_size = le32_to_cpu(n->header.value_size); delete_at()
133 return le32_to_cpu(n->header.max_entries) / 3; merge_threshold()
175 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); shift()
176 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); shift()
177 uint32_t max_entries = le32_to_cpu(left->header.max_entries); shift()
178 uint32_t r_max_entries = le32_to_cpu(right->header.max_entries); shift()
204 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); __rebalance2()
205 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); __rebalance2()
271 uint32_t max_entries = le32_to_cpu(left->header.max_entries); delete_center_node()
303 uint32_t max_entries = le32_to_cpu(left->header.max_entries); redistribute3()
351 uint32_t nr_left = le32_to_cpu(left->header.nr_entries); __rebalance3()
352 uint32_t nr_center = le32_to_cpu(center->header.nr_entries); __rebalance3()
353 uint32_t nr_right = le32_to_cpu(right->header.nr_entries); __rebalance3()
429 *result = le32_to_cpu(n->header.nr_entries); get_nr_entries()
444 if (le32_to_cpu(n->header.nr_entries) == 1) { rebalance_children()
471 has_right_sibling = i < (le32_to_cpu(n->header.nr_entries) - 1); rebalance_children()
490 (i >= le32_to_cpu(n->header.nr_entries)) || do_leaf()
528 if (le32_to_cpu(n->header.flags) & LEAF_NODE) remove_raw()
536 if (le32_to_cpu(n->header.flags) & LEAF_NODE) remove_raw()
577 BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); dm_btree_remove()
H A Ddm-btree-spine.c58 le32_to_cpu(csum_disk), le32_to_cpu(h->csum)); node_check()
62 value_size = le32_to_cpu(h->value_size); node_check()
65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { node_check()
70 if (le32_to_cpu(h->nr_entries) > le32_to_cpu(h->max_entries)) { node_check()
78 flags = le32_to_cpu(h->flags); node_check()
H A Ddm-btree.c43 int lo = -1, hi = le32_to_cpu(n->header.nr_entries); bsearch()
70 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); inc_children()
72 if (le32_to_cpu(n->header.flags) & INTERNAL_NODE) inc_children()
84 uint32_t nr_entries = le32_to_cpu(node->header.nr_entries); __dm_written_to_disk()
88 index >= le32_to_cpu(node->header.max_entries)) { __dm_written_to_disk()
234 f->nr_children = le32_to_cpu(f->n->header.nr_entries); push_frame()
237 flags = le32_to_cpu(f->n->header.flags); push_frame()
283 flags = le32_to_cpu(f->n->header.flags); dm_btree_del()
332 flags = le32_to_cpu(ro_node(s)->header.flags); btree_lookup_raw()
333 nr_entries = le32_to_cpu(ro_node(s)->header.nr_entries); btree_lookup_raw()
442 nr_left = le32_to_cpu(ln->header.nr_entries) / 2; btree_split_sibling()
443 nr_right = le32_to_cpu(ln->header.nr_entries) - nr_left; btree_split_sibling()
453 size = le32_to_cpu(ln->header.flags) & INTERNAL_NODE ? btree_split_sibling()
534 nr_left = le32_to_cpu(pn->header.nr_entries) / 2; btree_split_beneath()
535 nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; btree_split_beneath()
550 size = le32_to_cpu(pn->header.flags) & INTERNAL_NODE ? btree_split_beneath()
638 if (le32_to_cpu(node->header.flags) & LEAF_NODE) btree_insert_raw()
679 need_insert = ((index >= le32_to_cpu(n->header.nr_entries)) || __dm_written_to_disk()
709 need_insert = ((index >= le32_to_cpu(n->header.nr_entries)) || __dm_written_to_disk()
779 flags = le32_to_cpu(ro_node(s)->header.flags); find_key()
780 i = le32_to_cpu(ro_node(s)->header.nr_entries); find_key()
861 nr = le32_to_cpu(n->header.nr_entries); walk_node()
863 if (le32_to_cpu(n->header.flags) & INTERNAL_NODE) { walk_node()
H A Ddm-array.c71 (unsigned) le32_to_cpu(csum_disk), array_block_check()
72 (unsigned) le32_to_cpu(bh_le->csum)); array_block_check()
113 unsigned i, nr_entries = le32_to_cpu(ab->nr_entries); on_entries()
182 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); fill_ablock()
183 BUG_ON(new_nr < le32_to_cpu(ab->nr_entries)); fill_ablock()
185 nr_entries = le32_to_cpu(ab->nr_entries); fill_ablock()
206 BUG_ON(new_nr > le32_to_cpu(ab->max_entries)); trim_ablock()
207 BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); trim_ablock()
209 nr_entries = le32_to_cpu(ab->nr_entries); trim_ablock()
707 if (entry >= le32_to_cpu(ab->nr_entries)) dm_array_get_value()
739 if (entry >= le32_to_cpu(ab->nr_entries)) { array_set_value()
793 max_entries = le32_to_cpu(ab->max_entries); walk_ablock()
794 nr_entries = le32_to_cpu(ab->nr_entries); walk_ablock()
H A Ddm-space-map-common.c52 le32_to_cpu(csum_disk), le32_to_cpu(mi_le->csum)); index_check()
102 le32_to_cpu(csum_disk), le32_to_cpu(disk_header->csum)); bitmap_check()
309 *result = le32_to_cpu(le_rc); sm_ll_lookup_big_ref_count()
350 if (le32_to_cpu(ie_disk.nr_free) == 0) sm_ll_find_free_block()
361 max_t(unsigned, begin, le32_to_cpu(ie_disk.none_free_before)), sm_ll_find_free_block()
465 if (le32_to_cpu(ie_disk.none_free_before) == bit) sm_ll_mutate()
472 ie_disk.none_free_before = cpu_to_le32(min(le32_to_cpu(ie_disk.none_free_before), bit)); sm_ll_mutate()
H A Ddm-btree-internal.h115 return &n->keys[le32_to_cpu(n->header.max_entries)]; value_base()
120 uint32_t value_size = le32_to_cpu(n->header.value_size); value_ptr()
/linux-4.1.27/arch/mips/include/asm/mach-tx39xx/
H A Dmangle-port.h18 #define ioswabl(a, x) le32_to_cpu(x)
/linux-4.1.27/arch/mips/include/asm/mach-tx49xx/
H A Dmangle-port.h21 #define ioswabl(a, x) le32_to_cpu(x)
/linux-4.1.27/drivers/message/fusion/
H A Dmptdebug.h156 printk(" %08x", le32_to_cpu(mfp[i])); DBG_DUMP_FW_DOWNLOAD()
175 printk(" %08x", le32_to_cpu(mfp[ii])); DBG_DUMP_PUT_MSG_FRAME()
190 printk(" %08x", le32_to_cpu(mfp[i])); DBG_DUMP_FW_REQUEST_FRAME()
205 printk("%08x ", le32_to_cpu(mfp[i])); DBG_DUMP_REQUEST_FRAME()
217 n = (le32_to_cpu(mfp[0]) & 0x00FF0000) >> 16; DBG_DUMP_REPLY_FRAME()
220 printk(" %08x", le32_to_cpu(mfp[i])); DBG_DUMP_REPLY_FRAME()
234 printk(" %08x", le32_to_cpu(mfp[i])); DBG_DUMP_REQUEST_FRAME_HDR()
250 printk("%08x ", le32_to_cpu(mfp[i])); DBG_DUMP_TM_REQUEST_FRAME()
262 n = (le32_to_cpu(mfp[0]) & 0x00FF0000) >> 16; DBG_DUMP_TM_REPLY_FRAME()
267 printk(" %08x", le32_to_cpu(mfp[i])); DBG_DUMP_TM_REPLY_FRAME()
H A Dmptfc.c353 le32_to_cpu(ppage0_alloc->PortIdentifier); mptfc_GetFcDevPage0()
356 le32_to_cpu(ppage0_alloc->WWNN.Low); mptfc_GetFcDevPage0()
359 le32_to_cpu(ppage0_alloc->WWNN.High); mptfc_GetFcDevPage0()
362 le32_to_cpu(ppage0_alloc->WWPN.Low); mptfc_GetFcDevPage0()
365 le32_to_cpu(ppage0_alloc->WWPN.High); mptfc_GetFcDevPage0()
792 pp0dest->Flags = le32_to_cpu(pp0dest->Flags); mptfc_GetFcPortPage0()
793 pp0dest->PortIdentifier = le32_to_cpu(pp0dest->PortIdentifier); mptfc_GetFcPortPage0()
794 pp0dest->WWNN.Low = le32_to_cpu(pp0dest->WWNN.Low); mptfc_GetFcPortPage0()
795 pp0dest->WWNN.High = le32_to_cpu(pp0dest->WWNN.High); mptfc_GetFcPortPage0()
796 pp0dest->WWPN.Low = le32_to_cpu(pp0dest->WWPN.Low); mptfc_GetFcPortPage0()
797 pp0dest->WWPN.High = le32_to_cpu(pp0dest->WWPN.High); mptfc_GetFcPortPage0()
798 pp0dest->SupportedServiceClass = le32_to_cpu(pp0dest->SupportedServiceClass); mptfc_GetFcPortPage0()
799 pp0dest->SupportedSpeeds = le32_to_cpu(pp0dest->SupportedSpeeds); mptfc_GetFcPortPage0()
800 pp0dest->CurrentSpeed = le32_to_cpu(pp0dest->CurrentSpeed); mptfc_GetFcPortPage0()
801 pp0dest->MaxFrameSize = le32_to_cpu(pp0dest->MaxFrameSize); mptfc_GetFcPortPage0()
802 pp0dest->FabricWWNN.Low = le32_to_cpu(pp0dest->FabricWWNN.Low); mptfc_GetFcPortPage0()
803 pp0dest->FabricWWNN.High = le32_to_cpu(pp0dest->FabricWWNN.High); mptfc_GetFcPortPage0()
804 pp0dest->FabricWWPN.Low = le32_to_cpu(pp0dest->FabricWWPN.Low); mptfc_GetFcPortPage0()
805 pp0dest->FabricWWPN.High = le32_to_cpu(pp0dest->FabricWWPN.High); mptfc_GetFcPortPage0()
806 pp0dest->DiscoveredPortsCount = le32_to_cpu(pp0dest->DiscoveredPortsCount); mptfc_GetFcPortPage0()
807 pp0dest->MaxInitiators = le32_to_cpu(pp0dest->MaxInitiators); mptfc_GetFcPortPage0()
1372 u8 event = le32_to_cpu(pEvReply->Event) & 0xFF; mptfc_event_process()
H A Dmptlan.c239 // le32_to_cpu(msg[0]), le32_to_cpu(msg[1]), lan_reply()
240 // le32_to_cpu(msg[2]), le32_to_cpu(msg[3]))); lan_reply()
349 switch (le32_to_cpu(pEvReply->Event)) { mpt_lan_event_process()
653 ctx = GET_LAN_BUFFER_CONTEXT(le32_to_cpu(*pContext)); mpt_lan_send_reply()
798 le32_to_cpu(pSimple->FlagsLength))); mpt_lan_sdu_send()
931 ctx = le32_to_cpu(pRecvRep->BucketContext[i]); mpt_lan_receive_post_free()
976 u32 remaining = le32_to_cpu(pRecvRep->BucketsRemaining); mpt_lan_receive_post_reply()
988 len = le32_to_cpu(pRecvRep->PacketLength); mpt_lan_receive_post_reply()
998 ctx = le32_to_cpu(pRecvRep->BucketContext[0]); mpt_lan_receive_post_reply()
1002 offset = le32_to_cpu(pRecvRep->PacketOffset); mpt_lan_receive_post_reply()
1032 ctx = le32_to_cpu(pRecvRep->BucketContext[i]); mpt_lan_receive_post_reply()
1276 * printk (" %08x", le32_to_cpu(msg[i])); mpt_lan_post_receive_buckets()
/linux-4.1.27/fs/quota/
H A Dquota_v2.c82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || v2_check_quota_file()
83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) v2_check_quota_file()
100 version = le32_to_cpu(dqhead.dqh_version); v2_read_file_info()
131 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); v2_read_file_info()
132 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); v2_read_file_info()
137 qinfo->dqi_blocks = le32_to_cpu(dinfo.dqi_blocks); v2_read_file_info()
138 qinfo->dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk); v2_read_file_info()
139 qinfo->dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry); v2_read_file_info()
185 m->dqb_ihardlimit = le32_to_cpu(d->dqb_ihardlimit); v2r0_disk2memdqb()
186 m->dqb_isoftlimit = le32_to_cpu(d->dqb_isoftlimit); v2r0_disk2memdqb()
187 m->dqb_curinodes = le32_to_cpu(d->dqb_curinodes); v2r0_disk2memdqb()
189 m->dqb_bhardlimit = v2_qbtos(le32_to_cpu(d->dqb_bhardlimit)); v2r0_disk2memdqb()
190 m->dqb_bsoftlimit = v2_qbtos(le32_to_cpu(d->dqb_bsoftlimit)); v2r0_disk2memdqb()
229 le32_to_cpu(d->dqb_id)), v2r0_is_id()
282 le32_to_cpu(d->dqb_id)), v2r1_is_id()
/linux-4.1.27/fs/ubifs/
H A Dmaster.c282 c->zroot.lnum = le32_to_cpu(c->mst_node->root_lnum); ubifs_read_master()
283 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); ubifs_read_master()
284 c->zroot.len = le32_to_cpu(c->mst_node->root_len); ubifs_read_master()
285 c->lhead_lnum = le32_to_cpu(c->mst_node->log_lnum); ubifs_read_master()
286 c->gc_lnum = le32_to_cpu(c->mst_node->gc_lnum); ubifs_read_master()
287 c->ihead_lnum = le32_to_cpu(c->mst_node->ihead_lnum); ubifs_read_master()
288 c->ihead_offs = le32_to_cpu(c->mst_node->ihead_offs); ubifs_read_master()
290 c->lpt_lnum = le32_to_cpu(c->mst_node->lpt_lnum); ubifs_read_master()
291 c->lpt_offs = le32_to_cpu(c->mst_node->lpt_offs); ubifs_read_master()
292 c->nhead_lnum = le32_to_cpu(c->mst_node->nhead_lnum); ubifs_read_master()
293 c->nhead_offs = le32_to_cpu(c->mst_node->nhead_offs); ubifs_read_master()
294 c->ltab_lnum = le32_to_cpu(c->mst_node->ltab_lnum); ubifs_read_master()
295 c->ltab_offs = le32_to_cpu(c->mst_node->ltab_offs); ubifs_read_master()
296 c->lsave_lnum = le32_to_cpu(c->mst_node->lsave_lnum); ubifs_read_master()
297 c->lsave_offs = le32_to_cpu(c->mst_node->lsave_offs); ubifs_read_master()
298 c->lscan_lnum = le32_to_cpu(c->mst_node->lscan_lnum); ubifs_read_master()
299 c->lst.empty_lebs = le32_to_cpu(c->mst_node->empty_lebs); ubifs_read_master()
300 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs); ubifs_read_master()
301 old_leb_cnt = le32_to_cpu(c->mst_node->leb_cnt); ubifs_read_master()
H A Dsb.c367 if (le32_to_cpu(sup->min_io_size) != c->min_io_size) { validate_sb()
369 le32_to_cpu(sup->min_io_size), c->min_io_size); validate_sb()
373 if (le32_to_cpu(sup->leb_size) != c->leb_size) { validate_sb()
375 le32_to_cpu(sup->leb_size), c->leb_size); validate_sb()
462 if (le32_to_cpu(sup->time_gran) > 1000000000 || validate_sb()
463 le32_to_cpu(sup->time_gran) < 1) { validate_sb()
541 c->fmt_version = le32_to_cpu(sup->fmt_version); ubifs_read_superblock()
542 c->ro_compat_version = le32_to_cpu(sup->ro_compat_version); ubifs_read_superblock()
603 c->leb_cnt = le32_to_cpu(sup->leb_cnt); ubifs_read_superblock()
604 c->max_leb_cnt = le32_to_cpu(sup->max_leb_cnt); ubifs_read_superblock()
606 c->log_lebs = le32_to_cpu(sup->log_lebs); ubifs_read_superblock()
607 c->lpt_lebs = le32_to_cpu(sup->lpt_lebs); ubifs_read_superblock()
608 c->orph_lebs = le32_to_cpu(sup->orph_lebs); ubifs_read_superblock()
609 c->jhead_cnt = le32_to_cpu(sup->jhead_cnt) + NONDATA_JHEADS_CNT; ubifs_read_superblock()
610 c->fanout = le32_to_cpu(sup->fanout); ubifs_read_superblock()
611 c->lsave_cnt = le32_to_cpu(sup->lsave_cnt); ubifs_read_superblock()
613 c->rp_uid = make_kuid(&init_user_ns, le32_to_cpu(sup->rp_uid)); ubifs_read_superblock()
614 c->rp_gid = make_kgid(&init_user_ns, le32_to_cpu(sup->rp_gid)); ubifs_read_superblock()
615 sup_flags = le32_to_cpu(sup->flags); ubifs_read_superblock()
619 c->vfs_sb->s_time_gran = le32_to_cpu(sup->time_gran); ubifs_read_superblock()
H A Ddebug.c222 pr_err("\tmagic %#x\n", le32_to_cpu(ch->magic)); dump_ch()
223 pr_err("\tcrc %#x\n", le32_to_cpu(ch->crc)); dump_ch()
230 pr_err("\tlen %u\n", le32_to_cpu(ch->len)); dump_ch()
309 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { ubifs_dump_node()
324 pr_err("\tpad_len %u\n", le32_to_cpu(pad->pad_len)); ubifs_dump_node()
330 unsigned int sup_flags = le32_to_cpu(sup->flags); ubifs_dump_node()
341 pr_err("\tmin_io_size %u\n", le32_to_cpu(sup->min_io_size)); ubifs_dump_node()
342 pr_err("\tleb_size %u\n", le32_to_cpu(sup->leb_size)); ubifs_dump_node()
343 pr_err("\tleb_cnt %u\n", le32_to_cpu(sup->leb_cnt)); ubifs_dump_node()
344 pr_err("\tmax_leb_cnt %u\n", le32_to_cpu(sup->max_leb_cnt)); ubifs_dump_node()
347 pr_err("\tlog_lebs %u\n", le32_to_cpu(sup->log_lebs)); ubifs_dump_node()
348 pr_err("\tlpt_lebs %u\n", le32_to_cpu(sup->lpt_lebs)); ubifs_dump_node()
349 pr_err("\torph_lebs %u\n", le32_to_cpu(sup->orph_lebs)); ubifs_dump_node()
350 pr_err("\tjhead_cnt %u\n", le32_to_cpu(sup->jhead_cnt)); ubifs_dump_node()
351 pr_err("\tfanout %u\n", le32_to_cpu(sup->fanout)); ubifs_dump_node()
352 pr_err("\tlsave_cnt %u\n", le32_to_cpu(sup->lsave_cnt)); ubifs_dump_node()
357 pr_err("\trp_uid %u\n", le32_to_cpu(sup->rp_uid)); ubifs_dump_node()
358 pr_err("\trp_gid %u\n", le32_to_cpu(sup->rp_gid)); ubifs_dump_node()
359 pr_err("\tfmt_version %u\n", le32_to_cpu(sup->fmt_version)); ubifs_dump_node()
360 pr_err("\ttime_gran %u\n", le32_to_cpu(sup->time_gran)); ubifs_dump_node()
372 pr_err("\tflags %#x\n", le32_to_cpu(mst->flags)); ubifs_dump_node()
373 pr_err("\tlog_lnum %u\n", le32_to_cpu(mst->log_lnum)); ubifs_dump_node()
374 pr_err("\troot_lnum %u\n", le32_to_cpu(mst->root_lnum)); ubifs_dump_node()
375 pr_err("\troot_offs %u\n", le32_to_cpu(mst->root_offs)); ubifs_dump_node()
376 pr_err("\troot_len %u\n", le32_to_cpu(mst->root_len)); ubifs_dump_node()
377 pr_err("\tgc_lnum %u\n", le32_to_cpu(mst->gc_lnum)); ubifs_dump_node()
378 pr_err("\tihead_lnum %u\n", le32_to_cpu(mst->ihead_lnum)); ubifs_dump_node()
379 pr_err("\tihead_offs %u\n", le32_to_cpu(mst->ihead_offs)); ubifs_dump_node()
382 pr_err("\tlpt_lnum %u\n", le32_to_cpu(mst->lpt_lnum)); ubifs_dump_node()
383 pr_err("\tlpt_offs %u\n", le32_to_cpu(mst->lpt_offs)); ubifs_dump_node()
384 pr_err("\tnhead_lnum %u\n", le32_to_cpu(mst->nhead_lnum)); ubifs_dump_node()
385 pr_err("\tnhead_offs %u\n", le32_to_cpu(mst->nhead_offs)); ubifs_dump_node()
386 pr_err("\tltab_lnum %u\n", le32_to_cpu(mst->ltab_lnum)); ubifs_dump_node()
387 pr_err("\tltab_offs %u\n", le32_to_cpu(mst->ltab_offs)); ubifs_dump_node()
388 pr_err("\tlsave_lnum %u\n", le32_to_cpu(mst->lsave_lnum)); ubifs_dump_node()
389 pr_err("\tlsave_offs %u\n", le32_to_cpu(mst->lsave_offs)); ubifs_dump_node()
390 pr_err("\tlscan_lnum %u\n", le32_to_cpu(mst->lscan_lnum)); ubifs_dump_node()
391 pr_err("\tleb_cnt %u\n", le32_to_cpu(mst->leb_cnt)); ubifs_dump_node()
392 pr_err("\tempty_lebs %u\n", le32_to_cpu(mst->empty_lebs)); ubifs_dump_node()
393 pr_err("\tidx_lebs %u\n", le32_to_cpu(mst->idx_lebs)); ubifs_dump_node()
410 pr_err("\tlnum %u\n", le32_to_cpu(ref->lnum)); ubifs_dump_node()
411 pr_err("\toffs %u\n", le32_to_cpu(ref->offs)); ubifs_dump_node()
412 pr_err("\tjhead %u\n", le32_to_cpu(ref->jhead)); ubifs_dump_node()
426 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); ubifs_dump_node()
429 le32_to_cpu(ino->atime_nsec)); ubifs_dump_node()
432 le32_to_cpu(ino->mtime_nsec)); ubifs_dump_node()
435 le32_to_cpu(ino->ctime_nsec)); ubifs_dump_node()
436 pr_err("\tuid %u\n", le32_to_cpu(ino->uid)); ubifs_dump_node()
437 pr_err("\tgid %u\n", le32_to_cpu(ino->gid)); ubifs_dump_node()
438 pr_err("\tmode %u\n", le32_to_cpu(ino->mode)); ubifs_dump_node()
439 pr_err("\tflags %#x\n", le32_to_cpu(ino->flags)); ubifs_dump_node()
440 pr_err("\txattr_cnt %u\n", le32_to_cpu(ino->xattr_cnt)); ubifs_dump_node()
441 pr_err("\txattr_size %u\n", le32_to_cpu(ino->xattr_size)); ubifs_dump_node()
442 pr_err("\txattr_names %u\n", le32_to_cpu(ino->xattr_names)); ubifs_dump_node()
445 pr_err("\tdata len %u\n", le32_to_cpu(ino->data_len)); ubifs_dump_node()
476 int dlen = le32_to_cpu(ch->len) - UBIFS_DATA_NODE_SZ; ubifs_dump_node()
481 pr_err("\tsize %u\n", le32_to_cpu(dn->size)); ubifs_dump_node()
494 pr_err("\tinum %u\n", le32_to_cpu(trun->inum)); ubifs_dump_node()
516 i, le32_to_cpu(br->lnum), le32_to_cpu(br->offs), ubifs_dump_node()
517 le32_to_cpu(br->len), ubifs_dump_node()
534 n = (le32_to_cpu(ch->len) - UBIFS_ORPH_NODE_SZ) >> 3; ubifs_dump_node()
1841 fscki->nlink = le32_to_cpu(ino->nlink); add_inode()
1843 fscki->xattr_cnt = le32_to_cpu(ino->xattr_cnt); add_inode()
1844 fscki->xattr_sz = le32_to_cpu(ino->xattr_size); add_inode()
1845 fscki->xattr_nms = le32_to_cpu(ino->xattr_names); add_inode()
1846 fscki->mode = le32_to_cpu(ino->mode); add_inode()
2053 blk_offs += le32_to_cpu(dn->size); check_leaf()
H A Dscan.c75 magic = le32_to_cpu(ch->magic); ubifs_scan_a_node()
96 int pad_len = le32_to_cpu(pad->pad_len); ubifs_scan_a_node()
97 int node_len = le32_to_cpu(ch->len); ubifs_scan_a_node()
208 snod->len = le32_to_cpu(ch->len); ubifs_add_snod()
320 node_len = ALIGN(le32_to_cpu(ch->len), 8); ubifs_scan()
H A Dkey.h342 return le32_to_cpu(key->j32[1]) >> UBIFS_S_KEY_BLOCK_BITS; key_type_flash()
366 return le32_to_cpu(key->j32[0]); key_inum_flash()
389 return le32_to_cpu(key->j32[1]) & UBIFS_S_KEY_HASH_MASK; key_hash_flash()
413 return le32_to_cpu(key->j32[1]) & UBIFS_S_KEY_BLOCK_MASK; key_block_flash()
427 to->u32[0] = le32_to_cpu(f->j32[0]); key_read()
428 to->u32[1] = le32_to_cpu(f->j32[1]); key_read()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dfw.c124 le32_to_cpu(palive1->error_event_table_ptr); iwl_alive_fn()
126 le32_to_cpu(palive1->log_event_table_ptr); iwl_alive_fn()
127 alive_data->scd_base_addr = le32_to_cpu(palive1->scd_base_ptr); iwl_alive_fn()
139 le32_to_cpu(palive2->error_event_table_ptr); iwl_alive_fn()
141 le32_to_cpu(palive2->log_event_table_ptr); iwl_alive_fn()
142 alive_data->scd_base_addr = le32_to_cpu(palive2->scd_base_ptr); iwl_alive_fn()
144 le32_to_cpu(palive2->error_info_addr); iwl_alive_fn()
145 mvm->sf_space.addr = le32_to_cpu(palive2->st_fwrd_addr); iwl_alive_fn()
146 mvm->sf_space.size = le32_to_cpu(palive2->st_fwrd_size); iwl_alive_fn()
165 le32_to_cpu(palive->error_event_table_ptr); iwl_alive_fn()
167 le32_to_cpu(palive->log_event_table_ptr); iwl_alive_fn()
168 alive_data->scd_base_addr = le32_to_cpu(palive->scd_base_ptr); iwl_alive_fn()
170 le32_to_cpu(palive->error_info_addr); iwl_alive_fn()
171 mvm->sf_space.addr = le32_to_cpu(palive->st_fwrd_addr); iwl_alive_fn()
172 mvm->sf_space.size = le32_to_cpu(palive->st_fwrd_size); iwl_alive_fn()
186 le32_to_cpu(palive->umac_major), iwl_alive_fn()
187 le32_to_cpu(palive->umac_minor)); iwl_alive_fn()
456 le32_to_cpu(mem_cfg->shared_mem_addr); iwl_mvm_get_shared_mem_conf()
458 le32_to_cpu(mem_cfg->shared_mem_size); iwl_mvm_get_shared_mem_conf()
460 le32_to_cpu(mem_cfg->sample_buff_addr); iwl_mvm_get_shared_mem_conf()
462 le32_to_cpu(mem_cfg->sample_buff_size); iwl_mvm_get_shared_mem_conf()
463 mvm->shared_mem_cfg.txfifo_addr = le32_to_cpu(mem_cfg->txfifo_addr); iwl_mvm_get_shared_mem_conf()
466 le32_to_cpu(mem_cfg->txfifo_size[i]); iwl_mvm_get_shared_mem_conf()
469 le32_to_cpu(mem_cfg->rxfifo_size[i]); iwl_mvm_get_shared_mem_conf()
471 le32_to_cpu(mem_cfg->page_buff_addr); iwl_mvm_get_shared_mem_conf()
473 le32_to_cpu(mem_cfg->page_buff_size); iwl_mvm_get_shared_mem_conf()
491 le32_to_cpu(desc->trig_desc.type)); iwl_mvm_fw_dbg_collect_desc()
520 unsigned int delay = msecs_to_jiffies(le32_to_cpu(trigger->stop_delay)); iwl_mvm_fw_dbg_collect_trig()
544 ret = iwl_mvm_fw_dbg_collect(mvm, le32_to_cpu(trigger->id), buf, iwl_mvm_fw_dbg_collect_trig()
824 u32 flags = le32_to_cpu(card_state_notif->flags); iwl_mvm_rx_card_state_notif()
844 le32_to_cpu(radio_version->radio_flavor), iwl_mvm_rx_radio_ver()
845 le32_to_cpu(radio_version->radio_step), iwl_mvm_rx_radio_ver()
846 le32_to_cpu(radio_version->radio_dash)); iwl_mvm_rx_radio_ver()
859 le32_to_cpu(mfuart_notif->installed_ver), iwl_mvm_rx_mfuart_notif()
860 le32_to_cpu(mfuart_notif->external_ver), iwl_mvm_rx_mfuart_notif()
861 le32_to_cpu(mfuart_notif->status), iwl_mvm_rx_mfuart_notif()
862 le32_to_cpu(mfuart_notif->duration)); iwl_mvm_rx_mfuart_notif()
H A Dtime-event.c251 u32 trig_te_id = le32_to_cpu(te_trig->time_events[i].id); iwl_mvm_te_check_trigger()
253 le32_to_cpu(te_trig->time_events[i].action_bitmap); iwl_mvm_te_check_trigger()
255 le32_to_cpu(te_trig->time_events[i].status_bitmap); iwl_mvm_te_check_trigger()
258 !(trig_action_bitmap & le32_to_cpu(notif->action)) || iwl_mvm_te_check_trigger()
259 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) iwl_mvm_te_check_trigger()
265 le32_to_cpu(notif->action), iwl_mvm_te_check_trigger()
266 le32_to_cpu(notif->status)); iwl_mvm_te_check_trigger()
285 le32_to_cpu(notif->unique_id), iwl_mvm_te_handle_notif()
286 le32_to_cpu(notif->action)); iwl_mvm_te_handle_notif()
298 if (!le32_to_cpu(notif->status)) { iwl_mvm_te_handle_notif()
314 if (le32_to_cpu(notif->action) & TE_V2_NOTIF_HOST_EVENT_END) { iwl_mvm_te_handle_notif()
337 } else if (le32_to_cpu(notif->action) & TE_V2_NOTIF_HOST_EVENT_START) { iwl_mvm_te_handle_notif()
363 if (le32_to_cpu(notif->unique_id) == te_data->uid) { iwl_mvm_aux_roc_te_handle_notif()
373 if (!le32_to_cpu(notif->status)) { iwl_mvm_aux_roc_te_handle_notif()
376 (le32_to_cpu(notif->action) & iwl_mvm_aux_roc_te_handle_notif()
383 le32_to_cpu(notif->unique_id), iwl_mvm_aux_roc_te_handle_notif()
384 le32_to_cpu(notif->action)); iwl_mvm_aux_roc_te_handle_notif()
386 if (le32_to_cpu(notif->action) == TE_V2_NOTIF_HOST_EVENT_END) { iwl_mvm_aux_roc_te_handle_notif()
395 } else if (le32_to_cpu(notif->action) == TE_V2_NOTIF_HOST_EVENT_START) { iwl_mvm_aux_roc_te_handle_notif()
403 le32_to_cpu(notif->action)); iwl_mvm_aux_roc_te_handle_notif()
422 le32_to_cpu(notif->unique_id), iwl_mvm_rx_time_event_notif()
423 le32_to_cpu(notif->action)); iwl_mvm_rx_time_event_notif()
431 if (le32_to_cpu(notif->unique_id) == te_data->uid) iwl_mvm_rx_time_event_notif()
460 if (le32_to_cpu(resp->unique_id) != te_data->uid) iwl_mvm_te_notif()
492 if (WARN_ON_ONCE(le32_to_cpu(resp->id) != te_data->id)) iwl_mvm_time_event_response()
495 te_data->uid = le32_to_cpu(resp->unique_id); iwl_mvm_time_event_response()
513 le32_to_cpu(te_cmd->duration)); iwl_mvm_time_event_send_add()
521 te_data->duration = le32_to_cpu(te_cmd->duration); iwl_mvm_time_event_send_add()
522 te_data->id = le32_to_cpu(te_cmd->id); iwl_mvm_time_event_send_add()
696 le32_to_cpu(aux_cmd.event_unique_id)); iwl_mvm_remove_aux_roc_te()
726 IWL_DEBUG_TE(mvm, "Removing TE 0x%x\n", le32_to_cpu(time_cmd.id)); iwl_mvm_remove_time_event()
H A Dquota.c156 u32 id_n_c = le32_to_cpu(cmd->quotas[i].id_and_color); iwl_mvm_adjust_quota_for_noa()
158 u32 quota = le32_to_cpu(cmd->quotas[i].quota); iwl_mvm_adjust_quota_for_noa()
167 le32_to_cpu(cmd->quotas[i].quota), quota); iwl_mvm_adjust_quota_for_noa()
275 WARN_ONCE(le32_to_cpu(cmd.quotas[idx].quota) > QUOTA_100, iwl_mvm_update_quotas()
277 idx, le32_to_cpu(cmd.quotas[idx].quota), QUOTA_100); iwl_mvm_update_quotas()
286 if (le32_to_cpu(cmd.quotas[i].quota) != 0) { iwl_mvm_update_quotas()
303 if (abs((int)le32_to_cpu(cmd.quotas[i].quota) - iwl_mvm_update_quotas()
304 (int)le32_to_cpu(last->quotas[i].quota)) iwl_mvm_update_quotas()
H A Dpower.c86 le32_to_cpu(cmd->ba_enable_beacon_abort)); iwl_mvm_beacon_filter_send_cmd()
88 le32_to_cpu(cmd->ba_escape_timer)); iwl_mvm_beacon_filter_send_cmd()
90 le32_to_cpu(cmd->bf_debug_flag)); iwl_mvm_beacon_filter_send_cmd()
92 le32_to_cpu(cmd->bf_enable_beacon_filter)); iwl_mvm_beacon_filter_send_cmd()
94 le32_to_cpu(cmd->bf_energy_delta)); iwl_mvm_beacon_filter_send_cmd()
96 le32_to_cpu(cmd->bf_escape_timer)); iwl_mvm_beacon_filter_send_cmd()
98 le32_to_cpu(cmd->bf_roaming_energy_delta)); iwl_mvm_beacon_filter_send_cmd()
100 le32_to_cpu(cmd->bf_roaming_state)); iwl_mvm_beacon_filter_send_cmd()
102 le32_to_cpu(cmd->bf_temp_threshold)); iwl_mvm_beacon_filter_send_cmd()
104 le32_to_cpu(cmd->bf_temp_fast_filter)); iwl_mvm_beacon_filter_send_cmd()
106 le32_to_cpu(cmd->bf_temp_slow_filter)); iwl_mvm_beacon_filter_send_cmd()
145 le32_to_cpu(cmd->rx_data_timeout)); iwl_mvm_power_log()
147 le32_to_cpu(cmd->tx_data_timeout)); iwl_mvm_power_log()
157 le32_to_cpu(cmd->rx_data_timeout_uapsd)); iwl_mvm_power_log()
159 le32_to_cpu(cmd->tx_data_timeout_uapsd)); iwl_mvm_power_log()
518 u8 ap_sta_id = le32_to_cpu(notif->sta_id); iwl_mvm_power_uapsd_misbehaving_ap_notif()
720 le32_to_cpu(cmd.rx_data_timeout)); iwl_mvm_power_mac_dbgfs_read()
722 le32_to_cpu(cmd.tx_data_timeout)); iwl_mvm_power_mac_dbgfs_read()
733 le32_to_cpu(cmd.rx_data_timeout_uapsd)); iwl_mvm_power_mac_dbgfs_read()
735 le32_to_cpu(cmd.tx_data_timeout_uapsd)); iwl_mvm_power_mac_dbgfs_read()
H A Ddebugfs-vif.c460 le32_to_cpu(cmd.bf_energy_delta)); iwl_dbgfs_bf_params_read()
462 le32_to_cpu(cmd.bf_roaming_energy_delta)); iwl_dbgfs_bf_params_read()
464 le32_to_cpu(cmd.bf_roaming_state)); iwl_dbgfs_bf_params_read()
466 le32_to_cpu(cmd.bf_temp_threshold)); iwl_dbgfs_bf_params_read()
468 le32_to_cpu(cmd.bf_temp_fast_filter)); iwl_dbgfs_bf_params_read()
470 le32_to_cpu(cmd.bf_temp_slow_filter)); iwl_dbgfs_bf_params_read()
472 le32_to_cpu(cmd.bf_enable_beacon_filter)); iwl_dbgfs_bf_params_read()
474 le32_to_cpu(cmd.bf_debug_flag)); iwl_dbgfs_bf_params_read()
476 le32_to_cpu(cmd.bf_escape_timer)); iwl_dbgfs_bf_params_read()
478 le32_to_cpu(cmd.ba_escape_timer)); iwl_dbgfs_bf_params_read()
480 le32_to_cpu(cmd.ba_enable_beacon_abort)); iwl_dbgfs_bf_params_read()
H A Drx.c149 le32_to_cpu(phy_info->non_cfg_phy[IWL_RX_INFO_ENERGY_ANT_ABC_IDX]); iwl_mvm_get_signal_strength()
308 rate_n_flags = le32_to_cpu(phy_info->rate_n_flags); iwl_mvm_rx_rx_mpdu()
312 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); iwl_mvm_rx_rx_mpdu()
359 rssi = le32_to_cpu(rssi_trig->rssi); iwl_mvm_rx_rx_mpdu()
461 u16 id = le32_to_cpu(data->mac_id); iwl_mvm_stat_iterator()
470 le32_to_cpu(data->general->beacon_counter[mvmvif->id]); iwl_mvm_stat_iterator()
551 trig_offset = le32_to_cpu(trig_stats->stop_offset); iwl_mvm_rx_stats_check_trigger()
552 trig_thold = le32_to_cpu(trig_stats->stop_threshold); iwl_mvm_rx_stats_check_trigger()
579 temperature = le32_to_cpu(stats->general.radio_temperature); iwl_mvm_handle_rx_statistics()
600 temperature = le32_to_cpu(stats->general.radio_temperature); iwl_mvm_handle_rx_statistics()
H A Dcoex.c394 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); iwl_get_coex_type()
396 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); iwl_get_coex_type()
399 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); iwl_get_coex_type()
401 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); iwl_get_coex_type()
572 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); iwl_mvm_bt_notif_iterator()
643 le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF) { iwl_mvm_bt_notif_iterator()
755 le32_to_cpu(notif->primary_ch_lut)); iwl_mvm_rx_bt_coex_notif()
757 le32_to_cpu(notif->secondary_ch_lut)); iwl_mvm_rx_bt_coex_notif()
759 le32_to_cpu(notif->bt_activity_grading)); iwl_mvm_rx_bt_coex_notif()
837 if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF) iwl_mvm_bt_rssi_event()
879 if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) < iwl_mvm_coex_agg_time_limit()
906 if (le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) < iwl_mvm_bt_coex_is_mimo_allowed()
933 return le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) < iwl_mvm_bt_coex_is_ant_avail()
946 return le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF; iwl_mvm_bt_coex_is_shared_ant_avail()
952 u32 bt_activity = le32_to_cpu(mvm->last_bt_notif.bt_activity_grading); iwl_mvm_bt_coex_is_tpc_allowed()
/linux-4.1.27/fs/adfs/
H A Ddir_fplus.c41 size = le32_to_cpu(h->bigdirsize); adfs_fplus_read()
102 dir->parent_id = le32_to_cpu(h->bigdirparent); adfs_fplus_read()
129 if (fpos <= le32_to_cpu(h->bigdirentries)) { adfs_fplus_setpos()
174 if (dir->pos >= le32_to_cpu(h->bigdirentries)) adfs_fplus_getnext()
178 offset += ((le32_to_cpu(h->bigdirnamelen) + 4) & ~3); adfs_fplus_getnext()
183 obj->loadaddr = le32_to_cpu(bde.bigdirload); adfs_fplus_getnext()
184 obj->execaddr = le32_to_cpu(bde.bigdirexec); adfs_fplus_getnext()
185 obj->size = le32_to_cpu(bde.bigdirlen); adfs_fplus_getnext()
186 obj->file_id = le32_to_cpu(bde.bigdirindaddr); adfs_fplus_getnext()
187 obj->attr = le32_to_cpu(bde.bigdirattr); adfs_fplus_getnext()
188 obj->name_len = le32_to_cpu(bde.bigdirobnamelen); adfs_fplus_getnext()
191 offset += ((le32_to_cpu(h->bigdirnamelen) + 4) & ~3); adfs_fplus_getnext()
192 offset += le32_to_cpu(h->bigdirentries) * sizeof(struct adfs_bigdirentry); adfs_fplus_getnext()
193 offset += le32_to_cpu(bde.bigdirobnameptr); adfs_fplus_getnext()
H A Dmap.c90 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); lookup_zone()
95 v = le32_to_cpu(_map[mapptr >> 5]); lookup_zone()
168 u32 v = le32_to_cpu(_map[mapptr >> 5]) >> (mapptr & 31); scan_free_map()
173 v = le32_to_cpu(_map[mapptr >> 5]); scan_free_map()
H A Dsuper.c58 if (le32_to_cpu(dr->disc_size_high) >> dr->log2secsize) adfs_checkdiscrecord()
338 dm[i].dm_endbit = (le32_to_cpu(dr->disc_size_high) << (32 - dr->log2bpmb)) + adfs_read_map()
339 (le32_to_cpu(dr->disc_size) >> dr->log2bpmb) + adfs_read_map()
359 discsize = le32_to_cpu(dr->disc_size_high) << (32 - block_bits); adfs_discsize()
360 discsize |= le32_to_cpu(dr->disc_size) >> block_bits; adfs_discsize()
473 root_obj.parent_id = root_obj.file_id = le32_to_cpu(dr->root); adfs_fill_super()
488 root_obj.size = le32_to_cpu(dr->root_size); adfs_fill_super()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dmain.c304 le32_to_cpu(debug_hdr.dbuf_addr)); ath6kl_read_fwlogs()
306 dropped = le32_to_cpu(debug_hdr.dropped); ath6kl_read_fwlogs()
315 le32_to_cpu(debug_buf.buffer_addr)); ath6kl_read_fwlogs()
316 length = le32_to_cpu(debug_buf.length); ath6kl_read_fwlogs()
318 if (length != 0 && (le32_to_cpu(debug_buf.length) <= ath6kl_read_fwlogs()
319 le32_to_cpu(debug_buf.bufsize))) { ath6kl_read_fwlogs()
331 le32_to_cpu(debug_buf.next)); ath6kl_read_fwlogs()
712 stats->tx_pkt += le32_to_cpu(tgt_stats->stats.tx.pkt); ath6kl_update_target_stats()
713 stats->tx_byte += le32_to_cpu(tgt_stats->stats.tx.byte); ath6kl_update_target_stats()
714 stats->tx_ucast_pkt += le32_to_cpu(tgt_stats->stats.tx.ucast_pkt); ath6kl_update_target_stats()
715 stats->tx_ucast_byte += le32_to_cpu(tgt_stats->stats.tx.ucast_byte); ath6kl_update_target_stats()
716 stats->tx_mcast_pkt += le32_to_cpu(tgt_stats->stats.tx.mcast_pkt); ath6kl_update_target_stats()
717 stats->tx_mcast_byte += le32_to_cpu(tgt_stats->stats.tx.mcast_byte); ath6kl_update_target_stats()
718 stats->tx_bcast_pkt += le32_to_cpu(tgt_stats->stats.tx.bcast_pkt); ath6kl_update_target_stats()
719 stats->tx_bcast_byte += le32_to_cpu(tgt_stats->stats.tx.bcast_byte); ath6kl_update_target_stats()
721 le32_to_cpu(tgt_stats->stats.tx.rts_success_cnt); ath6kl_update_target_stats()
725 le32_to_cpu(tgt_stats->stats.tx.pkt_per_ac[ac]); ath6kl_update_target_stats()
727 stats->tx_err += le32_to_cpu(tgt_stats->stats.tx.err); ath6kl_update_target_stats()
728 stats->tx_fail_cnt += le32_to_cpu(tgt_stats->stats.tx.fail_cnt); ath6kl_update_target_stats()
729 stats->tx_retry_cnt += le32_to_cpu(tgt_stats->stats.tx.retry_cnt); ath6kl_update_target_stats()
731 le32_to_cpu(tgt_stats->stats.tx.mult_retry_cnt); ath6kl_update_target_stats()
733 le32_to_cpu(tgt_stats->stats.tx.rts_fail_cnt); ath6kl_update_target_stats()
738 stats->rx_pkt += le32_to_cpu(tgt_stats->stats.rx.pkt); ath6kl_update_target_stats()
739 stats->rx_byte += le32_to_cpu(tgt_stats->stats.rx.byte); ath6kl_update_target_stats()
740 stats->rx_ucast_pkt += le32_to_cpu(tgt_stats->stats.rx.ucast_pkt); ath6kl_update_target_stats()
741 stats->rx_ucast_byte += le32_to_cpu(tgt_stats->stats.rx.ucast_byte); ath6kl_update_target_stats()
742 stats->rx_mcast_pkt += le32_to_cpu(tgt_stats->stats.rx.mcast_pkt); ath6kl_update_target_stats()
743 stats->rx_mcast_byte += le32_to_cpu(tgt_stats->stats.rx.mcast_byte); ath6kl_update_target_stats()
744 stats->rx_bcast_pkt += le32_to_cpu(tgt_stats->stats.rx.bcast_pkt); ath6kl_update_target_stats()
745 stats->rx_bcast_byte += le32_to_cpu(tgt_stats->stats.rx.bcast_byte); ath6kl_update_target_stats()
746 stats->rx_frgment_pkt += le32_to_cpu(tgt_stats->stats.rx.frgment_pkt); ath6kl_update_target_stats()
747 stats->rx_err += le32_to_cpu(tgt_stats->stats.rx.err); ath6kl_update_target_stats()
748 stats->rx_crc_err += le32_to_cpu(tgt_stats->stats.rx.crc_err); ath6kl_update_target_stats()
750 le32_to_cpu(tgt_stats->stats.rx.key_cache_miss); ath6kl_update_target_stats()
751 stats->rx_decrypt_err += le32_to_cpu(tgt_stats->stats.rx.decrypt_err); ath6kl_update_target_stats()
752 stats->rx_dupl_frame += le32_to_cpu(tgt_stats->stats.rx.dupl_frame); ath6kl_update_target_stats()
760 le32_to_cpu(ccmp_stats->tkip_local_mic_fail); ath6kl_update_target_stats()
762 le32_to_cpu(ccmp_stats->tkip_cnter_measures_invoked); ath6kl_update_target_stats()
763 stats->tkip_fmt_err += le32_to_cpu(ccmp_stats->tkip_fmt_err); ath6kl_update_target_stats()
765 stats->ccmp_fmt_err += le32_to_cpu(ccmp_stats->ccmp_fmt_err); ath6kl_update_target_stats()
766 stats->ccmp_replays += le32_to_cpu(ccmp_stats->ccmp_replays); ath6kl_update_target_stats()
769 le32_to_cpu(tgt_stats->pm_stats.pwr_save_failure_cnt); ath6kl_update_target_stats()
774 le32_to_cpu(tgt_stats->cserv_stats.cs_bmiss_cnt); ath6kl_update_target_stats()
776 le32_to_cpu(tgt_stats->cserv_stats.cs_low_rssi_cnt); ath6kl_update_target_stats()
790 stats->lq_val = le32_to_cpu(tgt_stats->lq_val); ath6kl_update_target_stats()
793 le32_to_cpu(tgt_stats->wow_stats.wow_pkt_dropped); ath6kl_update_target_stats()
801 stats->arp_received = le32_to_cpu(tgt_stats->arp_stats.arp_received); ath6kl_update_target_stats()
802 stats->arp_replied = le32_to_cpu(tgt_stats->arp_stats.arp_replied); ath6kl_update_target_stats()
803 stats->arp_matched = le32_to_cpu(tgt_stats->arp_stats.arp_matched); ath6kl_update_target_stats()
813 *var = cpu_to_le32(le32_to_cpu(*var) + le32_to_cpu(val)); ath6kl_add_le32()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c662 le32_to_cpu(cmd->rx_data_timeout), iwl_dbgfs_current_sleep_command_read()
663 le32_to_cpu(cmd->tx_data_timeout)); iwl_dbgfs_current_sleep_command_read()
667 le32_to_cpu(cmd->sleep_interval[i])); iwl_dbgfs_current_sleep_command_read()
699 flag = le32_to_cpu(priv->statistics.flag); iwl_statistics_flag()
767 le32_to_cpu(ofdm->ina_cnt), iwl_dbgfs_ucode_rx_stats_read()
772 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, iwl_dbgfs_ucode_rx_stats_read()
776 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, iwl_dbgfs_ucode_rx_stats_read()
780 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, iwl_dbgfs_ucode_rx_stats_read()
784 le32_to_cpu(ofdm->overrun_err), iwl_dbgfs_ucode_rx_stats_read()
789 le32_to_cpu(ofdm->early_overrun_err), iwl_dbgfs_ucode_rx_stats_read()
795 le32_to_cpu(ofdm->crc32_good), iwl_dbgfs_ucode_rx_stats_read()
800 le32_to_cpu(ofdm->false_alarm_cnt), iwl_dbgfs_ucode_rx_stats_read()
806 le32_to_cpu(ofdm->fina_sync_err_cnt), iwl_dbgfs_ucode_rx_stats_read()
812 le32_to_cpu(ofdm->sfd_timeout), iwl_dbgfs_ucode_rx_stats_read()
817 le32_to_cpu(ofdm->fina_timeout), iwl_dbgfs_ucode_rx_stats_read()
822 le32_to_cpu(ofdm->unresponded_rts), iwl_dbgfs_ucode_rx_stats_read()
828 le32_to_cpu(ofdm->rxe_frame_limit_overrun), iwl_dbgfs_ucode_rx_stats_read()
834 le32_to_cpu(ofdm->sent_ack_cnt), iwl_dbgfs_ucode_rx_stats_read()
839 le32_to_cpu(ofdm->sent_cts_cnt), iwl_dbgfs_ucode_rx_stats_read()
844 le32_to_cpu(ofdm->sent_ba_rsp_cnt), iwl_dbgfs_ucode_rx_stats_read()
850 le32_to_cpu(ofdm->dsp_self_kill), iwl_dbgfs_ucode_rx_stats_read()
856 le32_to_cpu(ofdm->mh_format_err), iwl_dbgfs_ucode_rx_stats_read()
862 le32_to_cpu(ofdm->re_acq_main_rssi_sum), iwl_dbgfs_ucode_rx_stats_read()
871 le32_to_cpu(cck->ina_cnt), accum_cck->ina_cnt, iwl_dbgfs_ucode_rx_stats_read()
875 le32_to_cpu(cck->fina_cnt), accum_cck->fina_cnt, iwl_dbgfs_ucode_rx_stats_read()
879 le32_to_cpu(cck->plcp_err), accum_cck->plcp_err, iwl_dbgfs_ucode_rx_stats_read()
883 le32_to_cpu(cck->crc32_err), accum_cck->crc32_err, iwl_dbgfs_ucode_rx_stats_read()
887 le32_to_cpu(cck->overrun_err), iwl_dbgfs_ucode_rx_stats_read()
892 le32_to_cpu(cck->early_overrun_err), iwl_dbgfs_ucode_rx_stats_read()
898 le32_to_cpu(cck->crc32_good), accum_cck->crc32_good, iwl_dbgfs_ucode_rx_stats_read()
902 le32_to_cpu(cck->false_alarm_cnt), iwl_dbgfs_ucode_rx_stats_read()
907 le32_to_cpu(cck->fina_sync_err_cnt), iwl_dbgfs_ucode_rx_stats_read()
913 le32_to_cpu(cck->sfd_timeout), iwl_dbgfs_ucode_rx_stats_read()
918 le32_to_cpu(cck->fina_timeout), iwl_dbgfs_ucode_rx_stats_read()
923 le32_to_cpu(cck->unresponded_rts), iwl_dbgfs_ucode_rx_stats_read()
928 le32_to_cpu(cck->rxe_frame_limit_overrun), iwl_dbgfs_ucode_rx_stats_read()
934 le32_to_cpu(cck->sent_ack_cnt), iwl_dbgfs_ucode_rx_stats_read()
939 le32_to_cpu(cck->sent_cts_cnt), iwl_dbgfs_ucode_rx_stats_read()
944 le32_to_cpu(cck->sent_ba_rsp_cnt), iwl_dbgfs_ucode_rx_stats_read()
950 le32_to_cpu(cck->dsp_self_kill), iwl_dbgfs_ucode_rx_stats_read()
955 le32_to_cpu(cck->mh_format_err), iwl_dbgfs_ucode_rx_stats_read()
960 le32_to_cpu(cck->re_acq_main_rssi_sum), iwl_dbgfs_ucode_rx_stats_read()
969 le32_to_cpu(general->bogus_cts), iwl_dbgfs_ucode_rx_stats_read()
974 le32_to_cpu(general->bogus_ack), iwl_dbgfs_ucode_rx_stats_read()
979 le32_to_cpu(general->non_bssid_frames), iwl_dbgfs_ucode_rx_stats_read()
985 le32_to_cpu(general->filtered_frames), iwl_dbgfs_ucode_rx_stats_read()
991 le32_to_cpu(general->non_channel_beacons), iwl_dbgfs_ucode_rx_stats_read()
997 le32_to_cpu(general->channel_beacons), iwl_dbgfs_ucode_rx_stats_read()
1003 le32_to_cpu(general->num_missed_bcon), iwl_dbgfs_ucode_rx_stats_read()
1009 le32_to_cpu(general->adc_rx_saturation_time), iwl_dbgfs_ucode_rx_stats_read()
1015 le32_to_cpu(general->ina_detection_search_time), iwl_dbgfs_ucode_rx_stats_read()
1021 le32_to_cpu(general->beacon_silence_rssi_a), iwl_dbgfs_ucode_rx_stats_read()
1027 le32_to_cpu(general->beacon_silence_rssi_b), iwl_dbgfs_ucode_rx_stats_read()
1033 le32_to_cpu(general->beacon_silence_rssi_c), iwl_dbgfs_ucode_rx_stats_read()
1039 le32_to_cpu(general->interference_data_flag), iwl_dbgfs_ucode_rx_stats_read()
1045 le32_to_cpu(general->channel_load), iwl_dbgfs_ucode_rx_stats_read()
1051 le32_to_cpu(general->dsp_false_alarms), iwl_dbgfs_ucode_rx_stats_read()
1057 le32_to_cpu(general->beacon_rssi_a), iwl_dbgfs_ucode_rx_stats_read()
1063 le32_to_cpu(general->beacon_rssi_b), iwl_dbgfs_ucode_rx_stats_read()
1069 le32_to_cpu(general->beacon_rssi_c), iwl_dbgfs_ucode_rx_stats_read()
1075 le32_to_cpu(general->beacon_energy_a), iwl_dbgfs_ucode_rx_stats_read()
1081 le32_to_cpu(general->beacon_energy_b), iwl_dbgfs_ucode_rx_stats_read()
1087 le32_to_cpu(general->beacon_energy_c), iwl_dbgfs_ucode_rx_stats_read()
1096 le32_to_cpu(ht->plcp_err), accum_ht->plcp_err, iwl_dbgfs_ucode_rx_stats_read()
1100 le32_to_cpu(ht->overrun_err), accum_ht->overrun_err, iwl_dbgfs_ucode_rx_stats_read()
1104 le32_to_cpu(ht->early_overrun_err), iwl_dbgfs_ucode_rx_stats_read()
1110 le32_to_cpu(ht->crc32_good), accum_ht->crc32_good, iwl_dbgfs_ucode_rx_stats_read()
1114 le32_to_cpu(ht->crc32_err), accum_ht->crc32_err, iwl_dbgfs_ucode_rx_stats_read()
1118 le32_to_cpu(ht->mh_format_err), iwl_dbgfs_ucode_rx_stats_read()
1123 le32_to_cpu(ht->agg_crc32_good), iwl_dbgfs_ucode_rx_stats_read()
1128 le32_to_cpu(ht->agg_mpdu_cnt), iwl_dbgfs_ucode_rx_stats_read()
1133 le32_to_cpu(ht->agg_cnt), accum_ht->agg_cnt, iwl_dbgfs_ucode_rx_stats_read()
1137 le32_to_cpu(ht->unsupport_mcs), iwl_dbgfs_ucode_rx_stats_read()
1182 le32_to_cpu(tx->preamble_cnt), iwl_dbgfs_ucode_tx_stats_read()
1187 le32_to_cpu(tx->rx_detected_cnt), iwl_dbgfs_ucode_tx_stats_read()
1192 le32_to_cpu(tx->bt_prio_defer_cnt), iwl_dbgfs_ucode_tx_stats_read()
1198 le32_to_cpu(tx->bt_prio_kill_cnt), iwl_dbgfs_ucode_tx_stats_read()
1204 le32_to_cpu(tx->few_bytes_cnt), iwl_dbgfs_ucode_tx_stats_read()
1209 le32_to_cpu(tx->cts_timeout), accum_tx->cts_timeout, iwl_dbgfs_ucode_tx_stats_read()
1213 le32_to_cpu(tx->ack_timeout), iwl_dbgfs_ucode_tx_stats_read()
1218 le32_to_cpu(tx->expected_ack_cnt), iwl_dbgfs_ucode_tx_stats_read()
1224 le32_to_cpu(tx->actual_ack_cnt), iwl_dbgfs_ucode_tx_stats_read()
1230 le32_to_cpu(tx->dump_msdu_cnt), iwl_dbgfs_ucode_tx_stats_read()
1236 le32_to_cpu(tx->burst_abort_next_frame_mismatch_cnt), iwl_dbgfs_ucode_tx_stats_read()
1242 le32_to_cpu(tx->burst_abort_missing_next_frame_cnt), iwl_dbgfs_ucode_tx_stats_read()
1248 le32_to_cpu(tx->cts_timeout_collision), iwl_dbgfs_ucode_tx_stats_read()
1254 le32_to_cpu(tx->ack_or_ba_timeout_collision), iwl_dbgfs_ucode_tx_stats_read()
1260 le32_to_cpu(tx->agg.ba_timeout), iwl_dbgfs_ucode_tx_stats_read()
1266 le32_to_cpu(tx->agg.ba_reschedule_frames), iwl_dbgfs_ucode_tx_stats_read()
1272 le32_to_cpu(tx->agg.scd_query_agg_frame_cnt), iwl_dbgfs_ucode_tx_stats_read()
1278 le32_to_cpu(tx->agg.scd_query_no_agg), iwl_dbgfs_ucode_tx_stats_read()
1284 le32_to_cpu(tx->agg.scd_query_agg), iwl_dbgfs_ucode_tx_stats_read()
1290 le32_to_cpu(tx->agg.scd_query_mismatch), iwl_dbgfs_ucode_tx_stats_read()
1296 le32_to_cpu(tx->agg.frame_not_ready), iwl_dbgfs_ucode_tx_stats_read()
1302 le32_to_cpu(tx->agg.underrun), iwl_dbgfs_ucode_tx_stats_read()
1307 le32_to_cpu(tx->agg.bt_prio_kill), iwl_dbgfs_ucode_tx_stats_read()
1313 le32_to_cpu(tx->agg.rx_ba_rsp_cnt), iwl_dbgfs_ucode_tx_stats_read()
1391 le32_to_cpu(general->temperature)); iwl_dbgfs_ucode_general_stats_read()
1394 le32_to_cpu(general->temperature_m)); iwl_dbgfs_ucode_general_stats_read()
1397 le32_to_cpu(general->ttl_timestamp)); iwl_dbgfs_ucode_general_stats_read()
1400 le32_to_cpu(dbg->burst_check), iwl_dbgfs_ucode_general_stats_read()
1405 le32_to_cpu(dbg->burst_count), iwl_dbgfs_ucode_general_stats_read()
1410 le32_to_cpu(dbg->wait_for_silence_timeout_cnt), iwl_dbgfs_ucode_general_stats_read()
1416 le32_to_cpu(general->sleep_time), iwl_dbgfs_ucode_general_stats_read()
1421 le32_to_cpu(general->slots_out), iwl_dbgfs_ucode_general_stats_read()
1426 le32_to_cpu(general->slots_idle), iwl_dbgfs_ucode_general_stats_read()
1431 le32_to_cpu(div->tx_on_a), accum_div->tx_on_a, iwl_dbgfs_ucode_general_stats_read()
1435 le32_to_cpu(div->tx_on_b), accum_div->tx_on_b, iwl_dbgfs_ucode_general_stats_read()
1439 le32_to_cpu(div->exec_time), accum_div->exec_time, iwl_dbgfs_ucode_general_stats_read()
1443 le32_to_cpu(div->probe_time), accum_div->probe_time, iwl_dbgfs_ucode_general_stats_read()
1447 le32_to_cpu(general->rx_enable_counter), iwl_dbgfs_ucode_general_stats_read()
1453 le32_to_cpu(general->num_of_sos_states), iwl_dbgfs_ucode_general_stats_read()
1510 le32_to_cpu(bt->hi_priority_tx_req_cnt), iwl_dbgfs_ucode_bt_stats_read()
1514 le32_to_cpu(bt->hi_priority_tx_denied_cnt), iwl_dbgfs_ucode_bt_stats_read()
1518 le32_to_cpu(bt->lo_priority_tx_req_cnt), iwl_dbgfs_ucode_bt_stats_read()
1522 le32_to_cpu(bt->lo_priority_tx_denied_cnt), iwl_dbgfs_ucode_bt_stats_read()
1526 le32_to_cpu(bt->hi_priority_rx_req_cnt), iwl_dbgfs_ucode_bt_stats_read()
1530 le32_to_cpu(bt->hi_priority_rx_denied_cnt), iwl_dbgfs_ucode_bt_stats_read()
1534 le32_to_cpu(bt->lo_priority_rx_req_cnt), iwl_dbgfs_ucode_bt_stats_read()
1538 le32_to_cpu(bt->lo_priority_rx_denied_cnt), iwl_dbgfs_ucode_bt_stats_read()
1543 le32_to_cpu(priv->statistics.num_bt_kills), iwl_dbgfs_ucode_bt_stats_read()
1937 le32_to_cpu(priv->contexts[IWL_RXON_CTX_BSS].active.flags)); iwl_dbgfs_rxon_flags_read()
1950 le32_to_cpu(priv->contexts[IWL_RXON_CTX_BSS].active.filter_flags)); iwl_dbgfs_rxon_filter_flags_read()
H A Dpower.c197 max_sleep[i] = le32_to_cpu(cmd->sleep_interval[i]); iwl_static_sleep_cmd()
201 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); iwl_static_sleep_cmd()
207 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); iwl_static_sleep_cmd()
230 slp_itrvl = le32_to_cpu(cmd->sleep_interval[IWL_POWER_VEC_SIZE - 1]); iwl_static_sleep_cmd()
237 if (le32_to_cpu(cmd->sleep_interval[i]) > iwl_static_sleep_cmd()
242 if (le32_to_cpu(cmd->sleep_interval[i]) > iwl_static_sleep_cmd()
243 le32_to_cpu(cmd->sleep_interval[i+1])) iwl_static_sleep_cmd()
276 IWL_DEBUG_POWER(priv, "Tx timeout = %u\n", le32_to_cpu(cmd->tx_data_timeout)); iwl_set_power()
277 IWL_DEBUG_POWER(priv, "Rx timeout = %u\n", le32_to_cpu(cmd->rx_data_timeout)); iwl_set_power()
279 le32_to_cpu(cmd->sleep_interval[0]), iwl_set_power()
280 le32_to_cpu(cmd->sleep_interval[1]), iwl_set_power()
281 le32_to_cpu(cmd->sleep_interval[2]), iwl_set_power()
282 le32_to_cpu(cmd->sleep_interval[3]), iwl_set_power()
283 le32_to_cpu(cmd->sleep_interval[4])); iwl_set_power()
H A Drx.c135 le32_to_cpu(err_resp->error_type), iwlagn_rx_reply_error()
138 le32_to_cpu(err_resp->error_info)); iwlagn_rx_reply_error()
157 if (!le32_to_cpu(csa->status) && csa->channel == priv->switch_channel) { iwlagn_rx_csa()
229 le32_to_cpu(beacon->ibss_mgr_status), iwlagn_rx_beacon_notif()
230 le32_to_cpu(beacon->high_tsf), iwlagn_rx_beacon_notif()
231 le32_to_cpu(beacon->low_tsf), rate); iwlagn_rx_beacon_notif()
234 priv->ibss_manager = le32_to_cpu(beacon->ibss_mgr_status); iwlagn_rx_beacon_notif()
258 delta = le32_to_cpu(cur_ofdm->plcp_err) - iwlagn_good_plcp_health()
259 le32_to_cpu(priv->statistics.rx_ofdm.plcp_err) + iwlagn_good_plcp_health()
260 le32_to_cpu(cur_ofdm_ht->plcp_err) - iwlagn_good_plcp_health()
261 le32_to_cpu(priv->statistics.rx_ofdm_ht.plcp_err); iwlagn_good_plcp_health()
355 le32_to_cpu(rx_info->beacon_silence_rssi_a) & IN_BAND_FILTER; iwlagn_rx_calc_noise()
357 le32_to_cpu(rx_info->beacon_silence_rssi_b) & IN_BAND_FILTER; iwlagn_rx_calc_noise()
359 le32_to_cpu(rx_info->beacon_silence_rssi_c) & IN_BAND_FILTER; iwlagn_rx_calc_noise()
399 if (le32_to_cpu(*cur) > le32_to_cpu(*prev)) { accum_stats()
401 le32_to_cpu(*cur) - le32_to_cpu(*prev)); accum_stats()
402 le32_add_cpu(accum, le32_to_cpu(*delta)); accum_stats()
403 if (le32_to_cpu(*delta) > le32_to_cpu(*max_delta)) accum_stats()
490 le32_to_cpu(stats->rx.general.num_bt_kills)); iwlagn_rx_statistics()
564 if (le32_to_cpu(stats->flag) & UCODE_STATISTICS_CLEAR_MSK) { iwlagn_rx_reply_statistics()
587 u32 flags = le32_to_cpu(card_state_notif->flags); iwlagn_rx_card_state_notif()
641 if (le32_to_cpu(missed_beacon->consecutive_missed_beacons) > iwlagn_rx_missed_beacon_notif()
645 le32_to_cpu(missed_beacon->consecutive_missed_beacons), iwlagn_rx_missed_beacon_notif()
646 le32_to_cpu(missed_beacon->total_missed_becons), iwlagn_rx_missed_beacon_notif()
647 le32_to_cpu(missed_beacon->num_recvd_beacons), iwlagn_rx_missed_beacon_notif()
648 le32_to_cpu(missed_beacon->num_expected_beacons)); iwlagn_rx_missed_beacon_notif()
863 val = le32_to_cpu(ncphy->non_cfg_phy[IWLAGN_RX_RES_AGC_IDX]); iwlagn_calc_rssi()
872 val = le32_to_cpu(ncphy->non_cfg_phy[IWLAGN_RX_RES_RSSI_AB_IDX]); iwlagn_calc_rssi()
877 val = le32_to_cpu(ncphy->non_cfg_phy[IWLAGN_RX_RES_RSSI_C_IDX]); iwlagn_calc_rssi()
917 le32_to_cpu(rx_pkt_status)); iwlagn_rx_reply_rx()
928 le32_to_cpu(rx_pkt_status)); iwlagn_rx_reply_rx()
933 rate_n_flags = le32_to_cpu(phy_res->rate_n_flags); iwlagn_rx_reply_rx()
950 priv->ucode_beacon_time = le32_to_cpu(phy_res->beacon_time_stamp); iwlagn_rx_reply_rx()
H A Dcalib.c686 rx_enable_time = le32_to_cpu(rx_info->channel_load); iwl_sensitivity_calibration()
687 fa_cck = le32_to_cpu(cck->false_alarm_cnt); iwl_sensitivity_calibration()
688 fa_ofdm = le32_to_cpu(ofdm->false_alarm_cnt); iwl_sensitivity_calibration()
689 bad_plcp_cck = le32_to_cpu(cck->plcp_err); iwl_sensitivity_calibration()
690 bad_plcp_ofdm = le32_to_cpu(ofdm->plcp_err); iwl_sensitivity_calibration()
693 le32_to_cpu(rx_info->beacon_silence_rssi_a); iwl_sensitivity_calibration()
695 le32_to_cpu(rx_info->beacon_silence_rssi_b); iwl_sensitivity_calibration()
697 le32_to_cpu(rx_info->beacon_silence_rssi_c); iwl_sensitivity_calibration()
699 le32_to_cpu(rx_info->beacon_energy_a); iwl_sensitivity_calibration()
701 le32_to_cpu(rx_info->beacon_energy_b); iwl_sensitivity_calibration()
703 le32_to_cpu(rx_info->beacon_energy_c); iwl_sensitivity_calibration()
1001 stat_chnum = le32_to_cpu(priv->statistics.flag) >> 16; iwl_chain_noise_calibration()
1016 chain_noise_a = le32_to_cpu(rx_info->beacon_silence_rssi_a) & iwl_chain_noise_calibration()
1018 chain_noise_b = le32_to_cpu(rx_info->beacon_silence_rssi_b) & iwl_chain_noise_calibration()
1020 chain_noise_c = le32_to_cpu(rx_info->beacon_silence_rssi_c) & iwl_chain_noise_calibration()
1023 chain_sig_a = le32_to_cpu(rx_info->beacon_rssi_a) & IN_BAND_FILTER; iwl_chain_noise_calibration()
1024 chain_sig_b = le32_to_cpu(rx_info->beacon_rssi_b) & IN_BAND_FILTER; iwl_chain_noise_calibration()
1025 chain_sig_c = le32_to_cpu(rx_info->beacon_rssi_c) & IN_BAND_FILTER; iwl_chain_noise_calibration()
/linux-4.1.27/net/ceph/
H A Dceph_fs.c12 __u32 su = le32_to_cpu(layout->fl_stripe_unit); ceph_file_layout_is_valid()
13 __u32 sc = le32_to_cpu(layout->fl_stripe_count); ceph_file_layout_is_valid()
14 __u32 os = le32_to_cpu(layout->fl_object_size); ceph_file_layout_is_valid()
H A Dmessenger.c1291 WARN_ON(m->data_length != le32_to_cpu(m->hdr.data_len)); prepare_write_message()
1295 le32_to_cpu(m->hdr.front_len), le32_to_cpu(m->hdr.middle_len), prepare_write_message()
1297 BUG_ON(le32_to_cpu(m->hdr.front_len) != m->front.iov_len); prepare_write_message()
1323 le32_to_cpu(con->out_msg->footer.front_crc), prepare_write_message()
1324 le32_to_cpu(con->out_msg->footer.middle_crc)); prepare_write_message()
1567 crc = do_datacrc ? le32_to_cpu(msg->footer.data_crc) : 0; write_partial_message_data()
1736 size = le32_to_cpu(con->in_reply.authorizer_len); read_partial_connect()
1744 le32_to_cpu(con->in_reply.connect_seq), read_partial_connect()
1745 le32_to_cpu(con->in_reply.global_seq)); read_partial_connect()
1997 (int)le32_to_cpu(con->peer_addr.nonce), process_banner()
1999 (int)le32_to_cpu(con->actual_peer_addr.nonce)); process_banner()
2048 le32_to_cpu(con->out_connect.protocol_version), process_connect()
2049 le32_to_cpu(con->in_reply.protocol_version)); process_connect()
2078 le32_to_cpu(con->in_reply.connect_seq)); process_connect()
2105 le32_to_cpu(con->out_connect.connect_seq), process_connect()
2106 le32_to_cpu(con->in_reply.connect_seq)); process_connect()
2107 con->connect_seq = le32_to_cpu(con->in_reply.connect_seq); process_connect()
2122 le32_to_cpu(con->in_reply.global_seq)); process_connect()
2124 le32_to_cpu(con->in_reply.global_seq)); process_connect()
2148 con->peer_global_seq = le32_to_cpu(con->in_reply.global_seq); process_connect()
2153 le32_to_cpu(con->in_reply.connect_seq), process_connect()
2156 le32_to_cpu(con->in_reply.connect_seq)); process_connect()
2318 front_len = le32_to_cpu(con->in_hdr.front_len); read_partial_message()
2321 middle_len = le32_to_cpu(con->in_hdr.middle_len); read_partial_message()
2324 data_len = le32_to_cpu(con->in_hdr.data_len); read_partial_message()
2430 if (con->in_front_crc != le32_to_cpu(m->footer.front_crc)) { read_partial_message()
2435 if (con->in_middle_crc != le32_to_cpu(m->footer.middle_crc)) { read_partial_message()
2442 con->in_data_crc != le32_to_cpu(m->footer.data_crc)) { read_partial_message()
2444 con->in_data_crc, le32_to_cpu(m->footer.data_crc)); read_partial_message()
2484 le32_to_cpu(msg->hdr.front_len), process_message()
2485 le32_to_cpu(msg->hdr.data_len), process_message()
3004 BUG_ON(msg->front.iov_len != le32_to_cpu(msg->hdr.front_len)); ceph_con_send()
3025 le32_to_cpu(msg->hdr.front_len), ceph_con_send()
3026 le32_to_cpu(msg->hdr.middle_len), ceph_con_send()
3027 le32_to_cpu(msg->hdr.data_len)); ceph_con_send()
3106 unsigned int front_len = le32_to_cpu(con->in_hdr.front_len); ceph_msg_revoke_incoming()
3107 unsigned int middle_len = le32_to_cpu(con->in_hdr.middle_len); ceph_msg_revoke_incoming()
3108 unsigned int data_len = le32_to_cpu(con->in_hdr.data_len); ceph_msg_revoke_incoming()
3287 int middle_len = le32_to_cpu(msg->hdr.middle_len); ceph_alloc_middle()
3318 int middle_len = le32_to_cpu(hdr->middle_len); ceph_con_in_msg_alloc()
/linux-4.1.27/fs/f2fs/
H A Dinode.c47 old_decode_dev(le32_to_cpu(ri->i_addr[0])); __get_inode_rdev()
50 new_decode_dev(le32_to_cpu(ri->i_addr[1])); __get_inode_rdev()
56 block_t addr = le32_to_cpu(ri->i_addr[0]); __written_first_block()
120 i_uid_write(inode, le32_to_cpu(ri->i_uid)); do_read_inode()
121 i_gid_write(inode, le32_to_cpu(ri->i_gid)); do_read_inode()
122 set_nlink(inode, le32_to_cpu(ri->i_links)); do_read_inode()
129 inode->i_atime.tv_nsec = le32_to_cpu(ri->i_atime_nsec); do_read_inode()
130 inode->i_ctime.tv_nsec = le32_to_cpu(ri->i_ctime_nsec); do_read_inode()
131 inode->i_mtime.tv_nsec = le32_to_cpu(ri->i_mtime_nsec); do_read_inode()
132 inode->i_generation = le32_to_cpu(ri->i_generation); do_read_inode()
134 fi->i_current_depth = le32_to_cpu(ri->i_current_depth); do_read_inode()
135 fi->i_xattr_nid = le32_to_cpu(ri->i_xattr_nid); do_read_inode()
136 fi->i_flags = le32_to_cpu(ri->i_flags); do_read_inode()
139 fi->i_pino = le32_to_cpu(ri->i_pino); do_read_inode()
H A Dnode.h105 ni->ino = le32_to_cpu(raw_ne->ino); node_info_from_raw_nat()
106 ni->blk_addr = le32_to_cpu(raw_ne->block_addr); node_info_from_raw_nat()
222 old_flag = le32_to_cpu(rn->footer.flag); fill_node_footer()
251 return le32_to_cpu(rn->footer.ino); ino_of_node()
257 return le32_to_cpu(rn->footer.nid); nid_of_node()
263 unsigned flag = le32_to_cpu(rn->footer.flag); ofs_of_node()
276 return le32_to_cpu(rn->footer.next_blkaddr); next_blkaddr_of_node()
336 return le32_to_cpu(rn->i.i_nid[off - NODE_DIR1_BLOCK]); get_nid()
337 return le32_to_cpu(rn->in.nid[off]); get_nid()
386 return le32_to_cpu(rn->footer.flag) & (1 << type); is_node()
396 unsigned int flag = le32_to_cpu(rn->footer.flag); set_cold_node()
408 unsigned int flag = le32_to_cpu(rn->footer.flag); set_mark()
H A Dsuper.c553 start_count = le32_to_cpu(sbi->raw_super->segment0_blkaddr); f2fs_statfs()
626 le32_to_cpu(sbi->raw_super->segment_count_main); segment_info_seq_show()
827 if (F2FS_SUPER_MAGIC != le32_to_cpu(raw_super->magic)) { sanity_check_raw_super()
830 F2FS_SUPER_MAGIC, le32_to_cpu(raw_super->magic)); sanity_check_raw_super()
843 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); sanity_check_raw_super()
852 if (le32_to_cpu(raw_super->log_sectorsize) > sanity_check_raw_super()
854 le32_to_cpu(raw_super->log_sectorsize) < sanity_check_raw_super()
857 le32_to_cpu(raw_super->log_sectorsize)); sanity_check_raw_super()
860 if (le32_to_cpu(raw_super->log_sectors_per_block) + sanity_check_raw_super()
861 le32_to_cpu(raw_super->log_sectorsize) != sanity_check_raw_super()
865 le32_to_cpu(raw_super->log_sectors_per_block), sanity_check_raw_super()
866 le32_to_cpu(raw_super->log_sectorsize)); sanity_check_raw_super()
878 total = le32_to_cpu(raw_super->segment_count); sanity_check_ckpt()
879 fsmeta = le32_to_cpu(raw_super->segment_count_ckpt); sanity_check_ckpt()
880 fsmeta += le32_to_cpu(raw_super->segment_count_sit); sanity_check_ckpt()
881 fsmeta += le32_to_cpu(raw_super->segment_count_nat); sanity_check_ckpt()
882 fsmeta += le32_to_cpu(ckpt->rsvd_segment_count); sanity_check_ckpt()
883 fsmeta += le32_to_cpu(raw_super->segment_count_ssa); sanity_check_ckpt()
901 le32_to_cpu(raw_super->log_sectors_per_block); init_sb_info()
902 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); init_sb_info()
904 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); init_sb_info()
906 sbi->segs_per_sec = le32_to_cpu(raw_super->segs_per_sec); init_sb_info()
907 sbi->secs_per_zone = le32_to_cpu(raw_super->secs_per_zone); init_sb_info()
908 sbi->total_sections = le32_to_cpu(raw_super->section_count); init_sb_info()
910 (le32_to_cpu(raw_super->segment_count_nat) / 2) init_sb_info()
912 sbi->root_ino_num = le32_to_cpu(raw_super->root_ino); init_sb_info()
913 sbi->node_ino_num = le32_to_cpu(raw_super->node_ino); init_sb_info()
914 sbi->meta_ino_num = le32_to_cpu(raw_super->meta_ino); init_sb_info()
1020 sb->s_maxbytes = max_file_size(le32_to_cpu(raw_super->log_blocksize)); f2fs_fill_super()
1079 le32_to_cpu(sbi->ckpt->valid_node_count); f2fs_fill_super()
1081 le32_to_cpu(sbi->ckpt->valid_inode_count); f2fs_fill_super()
H A Ddebug.c357 si->all_area_segs = le32_to_cpu(raw_super->segment_count); f2fs_build_stats()
358 si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); f2fs_build_stats()
359 si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); f2fs_build_stats()
360 si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); f2fs_build_stats()
361 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); f2fs_build_stats()
362 si->main_area_sections = le32_to_cpu(raw_super->section_count); f2fs_build_stats()
364 le32_to_cpu(raw_super->secs_per_zone); f2fs_build_stats()
H A Drecovery.c73 nid_t pino = le32_to_cpu(raw_inode->i_pino); recover_dentry()
86 name.len = le32_to_cpu(raw_inode->i_namelen); recover_dentry()
96 if (de && inode->i_ino == le32_to_cpu(de->ino)) recover_dentry()
100 einode = f2fs_iget(inode->i_sb, le32_to_cpu(de->ino)); recover_dentry()
152 inode->i_atime.tv_nsec = le32_to_cpu(raw->i_mtime_nsec); recover_inode()
153 inode->i_ctime.tv_nsec = le32_to_cpu(raw->i_ctime_nsec); recover_inode()
154 inode->i_mtime.tv_nsec = le32_to_cpu(raw->i_mtime_nsec); recover_inode()
282 nid = le32_to_cpu(sum.nid); check_index_in_prev_nodes()
H A Dcheckpoint.c484 for (j = 0; j < le32_to_cpu(orphan_blk->entry_count); j++) { recover_orphan_inodes()
485 nid_t ino = le32_to_cpu(orphan_blk->ino[j]); recover_orphan_inodes()
572 crc_offset = le32_to_cpu(cp_block->checksum_offset); validate_checkpoint()
576 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); validate_checkpoint()
583 cp_addr += le32_to_cpu(cp_block->cp_pack_total_block_count) - 1; validate_checkpoint()
587 crc_offset = le32_to_cpu(cp_block->checksum_offset); validate_checkpoint()
591 crc = le32_to_cpu(*((__le32 *)((unsigned char *)cp_block + crc_offset))); validate_checkpoint()
628 cp_start_blk_no = le32_to_cpu(fsb->cp_blkaddr); get_valid_checkpoint()
633 le32_to_cpu(fsb->log_blocks_per_seg); get_valid_checkpoint()
655 cp_blk_no = le32_to_cpu(fsb->cp_blkaddr); get_valid_checkpoint()
657 cp_blk_no += 1 << le32_to_cpu(fsb->log_blocks_per_seg); get_valid_checkpoint()
974 crc32 = f2fs_crc32(ckpt, le32_to_cpu(ckpt->checksum_offset)); do_checkpoint()
976 le32_to_cpu(ckpt->checksum_offset))) do_checkpoint()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c756 entries = le32_to_cpu(directory->num_entries); qlcnic_get_table_desc()
760 u32 offs = le32_to_cpu(directory->findex) + qlcnic_get_table_desc()
761 i * le32_to_cpu(directory->entry_size); qlcnic_get_table_desc()
762 u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8)); qlcnic_get_table_desc()
785 entries = le32_to_cpu(directory->num_entries); qlcnic_validate_header()
786 entry_size = le32_to_cpu(directory->entry_size); qlcnic_validate_header()
787 tab_size = le32_to_cpu(directory->findex) + (entries * entry_size); qlcnic_validate_header()
806 idx = le32_to_cpu(temp); qlcnic_validate_bootld()
812 tab_size = le32_to_cpu(tab_desc->findex) + qlcnic_validate_bootld()
813 le32_to_cpu(tab_desc->entry_size) * (idx + 1); qlcnic_validate_bootld()
818 offs = le32_to_cpu(tab_desc->findex) + qlcnic_validate_bootld()
819 le32_to_cpu(tab_desc->entry_size) * idx; qlcnic_validate_bootld()
822 data_size = le32_to_cpu(descr->findex) + le32_to_cpu(descr->size); qlcnic_validate_bootld()
841 idx = le32_to_cpu(temp); qlcnic_validate_fw()
847 tab_size = le32_to_cpu(tab_desc->findex) + qlcnic_validate_fw()
848 le32_to_cpu(tab_desc->entry_size) * (idx + 1); qlcnic_validate_fw()
853 offs = le32_to_cpu(tab_desc->findex) + qlcnic_validate_fw()
854 le32_to_cpu(tab_desc->entry_size) * idx; qlcnic_validate_fw()
856 data_size = le32_to_cpu(descr->findex) + le32_to_cpu(descr->size); qlcnic_validate_fw()
878 entries = le32_to_cpu(ptab_descr->num_entries); qlcnic_validate_product_offs()
879 entry_size = le32_to_cpu(ptab_descr->entry_size); qlcnic_validate_product_offs()
880 tab_size = le32_to_cpu(ptab_descr->findex) + (entries * entry_size); qlcnic_validate_product_offs()
892 offs = le32_to_cpu(ptab_descr->findex) + qlcnic_validate_product_offs()
893 i * le32_to_cpu(ptab_descr->entry_size); qlcnic_validate_product_offs()
895 flags = le32_to_cpu(temp); qlcnic_validate_product_offs()
897 file_chiprev = le32_to_cpu(temp); qlcnic_validate_product_offs()
954 idx = le32_to_cpu(temp); qlcnic_get_data_desc()
961 offs = le32_to_cpu(tab_desc->findex) + qlcnic_get_data_desc()
962 le32_to_cpu(tab_desc->entry_size) * idx; qlcnic_get_data_desc()
977 offs = le32_to_cpu(data_desc->findex); qlcnic_get_bootld_offs()
991 offs = le32_to_cpu(data_desc->findex); qlcnic_get_fw_offs()
1005 return le32_to_cpu(data_desc->size); qlcnic_get_fw_size()
1007 return le32_to_cpu(*(__le32 *)&unirom[QLCNIC_FW_SIZE_OFFSET]); qlcnic_get_fw_size()
1021 return le32_to_cpu(version_offset); qlcnic_get_fw_version()
1026 ver_str = fw->data + le32_to_cpu(fw_data_desc->findex) + qlcnic_get_fw_version()
1027 le32_to_cpu(fw_data_desc->size) - 17; qlcnic_get_fw_version()
1052 return le32_to_cpu(*(__le32 *)version_offset); qlcnic_get_bios_version()
1056 bios_ver = le32_to_cpu(temp); qlcnic_get_bios_version()
1223 val = le32_to_cpu(*(__le32 *)&fw->data[QLCNIC_FW_MAGIC_OFFSET]); qlcnic_validate_firmware()
H A Dqlcnic_dcb.c470 rsp.hdr_prio_pfc_map[0] = le32_to_cpu(prsp_le->hdr_prio_pfc_map[0]); qlcnic_82xx_dcb_query_cee_param()
471 rsp.hdr_prio_pfc_map[1] = le32_to_cpu(prsp_le->hdr_prio_pfc_map[1]); qlcnic_82xx_dcb_query_cee_param()
472 rsp.prio_pg_map[0] = le32_to_cpu(prsp_le->prio_pg_map[0]); qlcnic_82xx_dcb_query_cee_param()
473 rsp.prio_pg_map[1] = le32_to_cpu(prsp_le->prio_pg_map[1]); qlcnic_82xx_dcb_query_cee_param()
474 rsp.pg_bw_map[0] = le32_to_cpu(prsp_le->pg_bw_map[0]); qlcnic_82xx_dcb_query_cee_param()
475 rsp.pg_bw_map[1] = le32_to_cpu(prsp_le->pg_bw_map[1]); qlcnic_82xx_dcb_query_cee_param()
476 rsp.pg_tsa_map[0] = le32_to_cpu(prsp_le->pg_tsa_map[0]); qlcnic_82xx_dcb_query_cee_param()
477 rsp.pg_tsa_map[1] = le32_to_cpu(prsp_le->pg_tsa_map[1]); qlcnic_82xx_dcb_query_cee_param()
480 rsp.app[i] = le32_to_cpu(prsp_le->app[i]); qlcnic_82xx_dcb_query_cee_param()
/linux-4.1.27/drivers/media/common/siano/
H A Dsmsendian.c38 msg->msg_data[0] = le32_to_cpu(msg->msg_data[0]); smsendian_handle_tx_message()
47 msg->msg_data[i] = le32_to_cpu(msg->msg_data[i]); smsendian_handle_tx_message()
84 msg->msg_data[i] = le32_to_cpu(msg->msg_data[i]); smsendian_handle_rx_message()
/linux-4.1.27/drivers/usb/host/
H A 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]);
H A Dxhci-dbg.c256 u32 type = le32_to_cpu(trb->link.control) & TRB_TYPE_BITMASK; xhci_debug_trb()
267 GET_INTR_TARGET(le32_to_cpu(trb->link.intr_target))); xhci_debug_trb()
269 le32_to_cpu(trb->link.control) & TRB_CYCLE); xhci_debug_trb()
271 le32_to_cpu(trb->link.control) & LINK_TOGGLE); xhci_debug_trb()
273 le32_to_cpu(trb->link.control) & TRB_NO_SNOOP); xhci_debug_trb()
287 GET_COMP_CODE(le32_to_cpu(trb->event_cmd.status))); xhci_debug_trb()
289 le32_to_cpu(trb->event_cmd.flags)); xhci_debug_trb()
323 le32_to_cpu(trb->link.intr_target), xhci_debug_segment()
324 le32_to_cpu(trb->link.control)); xhci_debug_segment()
405 le32_to_cpu(entry->seg_size), xhci_dbg_erst()
406 le32_to_cpu(entry->rsvd)); xhci_dbg_erst()
440 switch (GET_SLOT_STATE(le32_to_cpu(slot_ctx->dev_state))) { xhci_get_slot_state()
H A Dxhci-ring.c100 return le32_to_cpu(trb->link.control) & LINK_TOGGLE; last_trb_on_last_seg()
198 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; inc_enq()
648 if (unlikely(TRB_TO_SUSPEND_PORT(le32_to_cpu(trb->generic.field[3])))) { xhci_handle_cmd_stop_ep()
657 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); xhci_handle_cmd_stop_ep()
964 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); xhci_handle_cmd_set_deq()
965 stream_id = TRB_TO_STREAM_ID(le32_to_cpu(trb->generic.field[2])); xhci_handle_cmd_set_deq()
990 ep_state = le32_to_cpu(ep_ctx->ep_info); xhci_handle_cmd_set_deq()
992 slot_state = le32_to_cpu(slot_ctx->dev_state); xhci_handle_cmd_set_deq()
1052 ep_index = TRB_TO_EP_INDEX(le32_to_cpu(trb->generic.field[3])); xhci_handle_cmd_reset_ep()
1128 add_flags = le32_to_cpu(ctrl_ctx->add_flags); xhci_handle_cmd_config_ep()
1129 drop_flags = le32_to_cpu(ctrl_ctx->drop_flags); xhci_handle_cmd_config_ep()
1175 NEC_FW_MAJOR(le32_to_cpu(event->status)), xhci_handle_cmd_nec_get_fw()
1176 NEC_FW_MINOR(le32_to_cpu(event->status))); xhci_handle_cmd_nec_get_fw()
1221 cycle_state = le32_to_cpu( xhci_handle_stopped_cmd_ring()
1292 int slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); handle_cmd_completion()
1327 cmd_comp_code = GET_COMP_CODE(le32_to_cpu(event->status)); handle_cmd_completion()
1346 cmd_type = TRB_FIELD_TO_TYPE(le32_to_cpu(cmd_trb->generic.field[3])); handle_cmd_completion()
1365 le32_to_cpu(cmd_trb->generic.field[3]))); handle_cmd_completion()
1370 le32_to_cpu(cmd_trb->generic.field[3]))); handle_cmd_completion()
1380 le32_to_cpu(cmd_trb->generic.field[3]))); handle_cmd_completion()
1388 le32_to_cpu(cmd_trb->generic.field[3])); handle_cmd_completion()
1418 trb_type = TRB_FIELD_TO_TYPE(le32_to_cpu(event->generic.field[3])); handle_vendor_event()
1468 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->generic.field[3])); handle_device_notification()
1497 if (GET_COMP_CODE(le32_to_cpu(event->generic.field[2])) != COMP_SUCCESS) { handle_port_status()
1501 port_id = GET_PORT_ID(le32_to_cpu(event->generic.field[0])); handle_port_status()
1814 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); finish_td()
1816 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; finish_td()
1819 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); finish_td()
1904 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags)); process_ctrl_td()
1906 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1; process_ctrl_td()
1909 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); process_ctrl_td()
1948 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); process_ctrl_td()
1984 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); process_ctrl_td()
2012 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); process_isoc_td()
2020 if (EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)) == 0) { process_isoc_td()
2067 len += TRB_LEN(le32_to_cpu(cur_trb->generic.field[2])); process_isoc_td()
2069 len += TRB_LEN(le32_to_cpu(cur_trb->generic.field[2])) - process_isoc_td()
2070 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); process_isoc_td()
2122 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len)); process_bulk_intr_td()
2128 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)) != 0) { process_bulk_intr_td()
2156 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len))); process_bulk_intr_td()
2159 if (EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)) != 0) { process_bulk_intr_td()
2162 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); process_bulk_intr_td()
2167 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len))); process_bulk_intr_td()
2201 TRB_LEN(le32_to_cpu(cur_trb->generic.field[2])); process_bulk_intr_td()
2208 TRB_LEN(le32_to_cpu(cur_trb->generic.field[2])) - process_bulk_intr_td()
2209 EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)); process_bulk_intr_td()
2244 slot_id = TRB_TO_SLOT_ID(le32_to_cpu(event->flags));
2254 le32_to_cpu(event->transfer_len),
2255 le32_to_cpu(event->flags));
2262 ep_index = TRB_TO_EP_ID(le32_to_cpu(event->flags)) - 1;
2267 (le32_to_cpu(ep_ctx->ep_info) & EP_STATE_MASK) ==
2277 le32_to_cpu(event->transfer_len),
2278 le32_to_cpu(event->flags));
2291 trb_comp_code = GET_COMP_CODE(le32_to_cpu(event->transfer_len));
2298 if (EVENT_TRB_LEN(le32_to_cpu(event->transfer_len)) == 0)
2351 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2359 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2403 TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
2406 (le32_to_cpu(event->flags) &
2586 if ((le32_to_cpu(event->event_cmd.flags) & TRB_CYCLE) != xhci_handle_event()
2598 switch ((le32_to_cpu(event->event_cmd.flags) & TRB_TYPE_BITMASK)) { xhci_handle_event()
2617 if ((le32_to_cpu(event->event_cmd.flags) & TRB_TYPE_BITMASK) >= xhci_handle_event()
2873 le32_to_cpu(ep_ctx->ep_info) & EP_STATE_MASK, prepare_transfer()
2980 xhci_interval = EP_INTERVAL_TO_UFRAMES(le32_to_cpu(ep_ctx->ep_info)); xhci_queue_intr_tx()
3772 ret = prepare_ring(xhci, ep_ring, le32_to_cpu(ep_ctx->ep_info) & EP_STATE_MASK, xhci_queue_isoc_tx_prepare()
3785 xhci_interval = EP_INTERVAL_TO_UFRAMES(le32_to_cpu(ep_ctx->ep_info)); xhci_queue_isoc_tx_prepare()
/linux-4.1.27/security/selinux/ss/
H A Dpolicydb.c999 items = le32_to_cpu(buf[0]); mls_read_range_helper()
1011 r->level[0].sens = le32_to_cpu(buf[0]); mls_read_range_helper()
1013 r->level[1].sens = le32_to_cpu(buf[1]); mls_read_range_helper()
1059 c->user = le32_to_cpu(buf[0]); context_read_and_validate()
1060 c->role = le32_to_cpu(buf[1]); context_read_and_validate()
1061 c->type = le32_to_cpu(buf[2]); context_read_and_validate()
1124 len = le32_to_cpu(buf[0]); perm_read()
1125 perdatum->value = le32_to_cpu(buf[1]); perm_read()
1158 len = le32_to_cpu(buf[0]); common_read()
1159 comdatum->value = le32_to_cpu(buf[1]); common_read()
1164 comdatum->permissions.nprim = le32_to_cpu(buf[2]); common_read()
1165 nel = le32_to_cpu(buf[3]); common_read()
1205 t->flags = le32_to_cpu(buf[0]); type_set_read()
1235 c->permissions = le32_to_cpu(buf[0]); read_cons_helper()
1236 nexpr = le32_to_cpu(buf[1]); read_cons_helper()
1252 e->expr_type = le32_to_cpu(buf[0]); read_cons_helper()
1253 e->attr = le32_to_cpu(buf[1]); read_cons_helper()
1254 e->op = le32_to_cpu(buf[2]); read_cons_helper()
1324 len = le32_to_cpu(buf[0]); class_read()
1325 len2 = le32_to_cpu(buf[1]); class_read()
1326 cladatum->value = le32_to_cpu(buf[2]); class_read()
1331 cladatum->permissions.nprim = le32_to_cpu(buf[3]); class_read()
1332 nel = le32_to_cpu(buf[4]); class_read()
1334 ncons = le32_to_cpu(buf[5]); class_read()
1367 ncons = le32_to_cpu(buf[0]); class_read()
1379 cladatum->default_user = le32_to_cpu(buf[0]); class_read()
1380 cladatum->default_role = le32_to_cpu(buf[1]); class_read()
1381 cladatum->default_range = le32_to_cpu(buf[2]); class_read()
1388 cladatum->default_type = le32_to_cpu(buf[0]); class_read()
1421 len = le32_to_cpu(buf[0]); role_read()
1422 role->value = le32_to_cpu(buf[1]); role_read()
1424 role->bounds = le32_to_cpu(buf[2]); role_read()
1478 len = le32_to_cpu(buf[0]); type_read()
1479 typdatum->value = le32_to_cpu(buf[1]); type_read()
1481 u32 prop = le32_to_cpu(buf[2]); type_read()
1488 typdatum->bounds = le32_to_cpu(buf[3]); type_read()
1490 typdatum->primary = le32_to_cpu(buf[2]); type_read()
1523 lp->sens = le32_to_cpu(buf[0]); mls_read_level()
1553 len = le32_to_cpu(buf[0]); user_read()
1554 usrdatum->value = le32_to_cpu(buf[1]); user_read()
1556 usrdatum->bounds = le32_to_cpu(buf[2]); user_read()
1601 len = le32_to_cpu(buf[0]); sens_read()
1602 levdatum->isalias = le32_to_cpu(buf[1]); sens_read()
1643 len = le32_to_cpu(buf[0]); cat_read()
1644 catdatum->value = le32_to_cpu(buf[1]); cat_read()
1645 catdatum->isalias = le32_to_cpu(buf[2]); cat_read()
1851 nel = le32_to_cpu(buf[0]); range_read()
1862 rt->source_type = le32_to_cpu(buf[0]); range_read()
1863 rt->target_type = le32_to_cpu(buf[1]); range_read()
1868 rt->target_class = le32_to_cpu(buf[0]); range_read()
1923 nel = le32_to_cpu(buf[0]); filename_trans_read()
1944 len = le32_to_cpu(buf[0]); filename_trans_read()
1957 ft->stype = le32_to_cpu(buf[0]); filename_trans_read()
1958 ft->ttype = le32_to_cpu(buf[1]); filename_trans_read()
1959 ft->tclass = le32_to_cpu(buf[2]); filename_trans_read()
1961 otype->otype = le32_to_cpu(buf[3]); filename_trans_read()
2004 nel = le32_to_cpu(buf[0]); genfs_read()
2010 len = le32_to_cpu(buf[0]); genfs_read()
2044 nel2 = le32_to_cpu(buf[0]); genfs_read()
2049 len = le32_to_cpu(buf[0]); genfs_read()
2064 newc->v.sclass = le32_to_cpu(buf[0]); genfs_read()
2116 nel = le32_to_cpu(buf[0]); ocontext_read()
2136 c->sid[0] = le32_to_cpu(buf[0]); ocontext_read()
2146 len = le32_to_cpu(buf[0]); ocontext_read()
2163 c->u.port.protocol = le32_to_cpu(buf[0]); ocontext_read()
2164 c->u.port.low_port = le32_to_cpu(buf[1]); ocontext_read()
2165 c->u.port.high_port = le32_to_cpu(buf[2]); ocontext_read()
2186 c->v.behavior = le32_to_cpu(buf[0]); ocontext_read()
2193 len = le32_to_cpu(buf[1]); ocontext_read()
2250 if (le32_to_cpu(buf[0]) != POLICYDB_MAGIC) { policydb_read()
2253 le32_to_cpu(buf[0]), POLICYDB_MAGIC); policydb_read()
2258 len = le32_to_cpu(buf[1]); policydb_read()
2299 p->policyvers = le32_to_cpu(buf[0]); policydb_read()
2304 le32_to_cpu(buf[0]), POLICYDB_VERSION_MIN, POLICYDB_VERSION_MAX); policydb_read()
2308 if ((le32_to_cpu(buf[1]) & POLICYDB_CONFIG_MLS)) { policydb_read()
2319 p->reject_unknown = !!(le32_to_cpu(buf[1]) & REJECT_UNKNOWN); policydb_read()
2320 p->allow_unknown = !!(le32_to_cpu(buf[1]) & ALLOW_UNKNOWN); policydb_read()
2343 if (le32_to_cpu(buf[2]) != info->sym_num || policydb_read()
2344 le32_to_cpu(buf[3]) != info->ocon_num) { policydb_read()
2346 "not match mine (%d,%d)\n", le32_to_cpu(buf[2]), policydb_read()
2347 le32_to_cpu(buf[3]), policydb_read()
2356 nprim = le32_to_cpu(buf[0]); policydb_read()
2357 nel = le32_to_cpu(buf[1]); policydb_read()
2385 nel = le32_to_cpu(buf[0]); policydb_read()
2401 tr->role = le32_to_cpu(buf[0]); policydb_read()
2402 tr->type = le32_to_cpu(buf[1]); policydb_read()
2403 tr->new_role = le32_to_cpu(buf[2]); policydb_read()
2408 tr->tclass = le32_to_cpu(buf[0]); policydb_read()
2423 nel = le32_to_cpu(buf[0]); policydb_read()
2439 ra->role = le32_to_cpu(buf[0]); policydb_read()
2440 ra->new_role = le32_to_cpu(buf[1]); policydb_read()
H A Dconditional.c236 booldatum->value = le32_to_cpu(buf[0]); cond_read_bool()
237 booldatum->state = le32_to_cpu(buf[1]); cond_read_bool()
243 len = le32_to_cpu(buf[2]); cond_read_bool()
365 len = le32_to_cpu(buf[0]); cond_read_av_list()
409 node->cur_state = le32_to_cpu(buf[0]); cond_read_node()
412 len = le32_to_cpu(buf[1]); cond_read_node()
424 expr->expr_type = le32_to_cpu(buf[0]); cond_read_node()
425 expr->bool = le32_to_cpu(buf[1]); cond_read_node()
463 len = le32_to_cpu(buf[0]); cond_read_list()
H A Davtab.c388 items2 = le32_to_cpu(buf32[0]); avtab_read_item()
401 val = le32_to_cpu(buf32[items++]); avtab_read_item()
407 val = le32_to_cpu(buf32[items++]); avtab_read_item()
413 val = le32_to_cpu(buf32[items++]); avtab_read_item()
420 val = le32_to_cpu(buf32[items++]); avtab_read_item()
436 datum.data = le32_to_cpu(buf32[items++]); avtab_read_item()
484 datum.data = le32_to_cpu(*buf32); avtab_read_item()
511 nel = le32_to_cpu(buf[0]); avtab_read()
H A Debitmap.c357 mapunit = le32_to_cpu(buf[0]); ebitmap_read()
358 e->highbit = le32_to_cpu(buf[1]); ebitmap_read()
359 count = le32_to_cpu(buf[2]); ebitmap_read()
383 startbit = le32_to_cpu(startbit); ebitmap_read()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlov_ea.c71 if (lov_pattern(le32_to_cpu(lmm->lmm_pattern)) != LOV_PATTERN_RAID0) { lsm_lmm_verify_common()
78 (le32_to_cpu(lmm->lmm_stripe_size)&(LOV_MIN_STRIPE_SIZE-1)) != 0) { lsm_lmm_verify_common()
80 le32_to_cpu(lmm->lmm_stripe_size)); lsm_lmm_verify_common()
138 lsm->lsm_stripe_size = le32_to_cpu(lmm->lmm_stripe_size); lsm_unpackmd_common()
139 lsm->lsm_pattern = le32_to_cpu(lmm->lmm_pattern); lsm_unpackmd_common()
199 if (le32_to_cpu(lmm->lmm_pattern) & LOV_PATTERN_F_RELEASED) lsm_lmm_verify_v1()
228 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); lsm_unpackmd_v1()
229 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); lsm_unpackmd_v1()
279 if (le32_to_cpu(lmm->lmm_pattern) & LOV_PATTERN_F_RELEASED) lsm_lmm_verify_v3()
318 loi->loi_ost_idx = le32_to_cpu(lmm->lmm_objects[i].l_ost_idx); lsm_unpackmd_v3()
319 loi->loi_ost_gen = le32_to_cpu(lmm->lmm_objects[i].l_ost_gen); lsm_unpackmd_v3()
H A Dlov_pack.c60 POSTID(&oi), le32_to_cpu(lmm->lmm_magic), lov_dump_lmm_common()
61 le32_to_cpu(lmm->lmm_pattern)); lov_dump_lmm_common()
63 le32_to_cpu(lmm->lmm_stripe_size), lov_dump_lmm_common()
84 le32_to_cpu(lod->l_ost_idx), POSTID(&oi)); lov_dump_lmm_objects()
107 magic = le32_to_cpu(((struct lov_mds_md *)lmm)->lmm_magic); lov_dump_lmm()
148 lmm_magic = le32_to_cpu((*lmmp)->lmm_magic); lov_packmd()
281 if (lsm_op_find(le32_to_cpu(*(__u32 *)lmm)) == NULL) { lov_verify_lmm()
286 le32_to_cpu(*(__u32 *)lmm), lmm_bytes); lov_verify_lmm()
300 rc = lsm_op_find(le32_to_cpu(*(__u32 *)lmm))->lsm_lmm_verify(lmm, lov_verify_lmm()
369 magic = le32_to_cpu(lmm->lmm_magic); lov_unpackmd()
387 pattern = le32_to_cpu(lmm->lmm_pattern); lov_unpackmd()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_stats.h348 ADD_64(s_hi, le32_to_cpu(a_hi_le), \
349 s_lo, le32_to_cpu(a_lo_le))
439 diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
452 diff = le32_to_cpu(xclient->s) - le32_to_cpu(old_xclient->s); \
459 qstats->t##_lo = qstats_old->t##_lo + le32_to_cpu(s.lo); \
460 qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi) \
500 estats->s = le32_to_cpu(tport->s) + fwstats->s; \
532 diff = le32_to_cpu(uclient->s) - le32_to_cpu(old_uclient->s); \
/linux-4.1.27/fs/ext2/
H A Dsuper.c105 if (le32_to_cpu(es->s_rev_level) > EXT2_GOOD_OLD_REV) ext2_update_dynamic_rev()
228 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); ext2_show_options()
343 if (ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) ext2_nfs_get_inode()
617 if (le32_to_cpu(es->s_rev_level) > EXT2_MAX_SUPP_REV) { ext2_setup_super()
639 else if (le32_to_cpu(es->s_checkinterval) && ext2_setup_super()
640 (le32_to_cpu(es->s_lastcheck) + ext2_setup_super()
641 le32_to_cpu(es->s_checkinterval) <= get_seconds())) ext2_setup_super()
673 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; ext2_check_descriptors()
678 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || ext2_check_descriptors()
679 le32_to_cpu(gdp->bg_block_bitmap) > last_block) ext2_check_descriptors()
684 i, (unsigned long) le32_to_cpu(gdp->bg_block_bitmap)); ext2_check_descriptors()
687 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || ext2_check_descriptors()
688 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) ext2_check_descriptors()
693 i, (unsigned long) le32_to_cpu(gdp->bg_inode_bitmap)); ext2_check_descriptors()
696 if (le32_to_cpu(gdp->bg_inode_table) < first_block || ext2_check_descriptors()
697 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > ext2_check_descriptors()
703 i, (unsigned long) le32_to_cpu(gdp->bg_inode_table)); ext2_check_descriptors()
765 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); descriptor_loc()
851 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); ext2_fill_super()
886 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV && ext2_fill_super()
902 le32_to_cpu(features)); ext2_fill_super()
909 le32_to_cpu(features)); ext2_fill_super()
913 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size); ext2_fill_super()
957 if (le32_to_cpu(es->s_rev_level) == EXT2_GOOD_OLD_REV) { ext2_fill_super()
962 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); ext2_fill_super()
974 le32_to_cpu(es->s_log_frag_size); ext2_fill_super()
979 sbi->s_blocks_per_group = le32_to_cpu(es->s_blocks_per_group); ext2_fill_super()
980 sbi->s_frags_per_group = le32_to_cpu(es->s_frags_per_group); ext2_fill_super()
981 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); ext2_fill_super()
1037 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - ext2_fill_super()
1038 le32_to_cpu(es->s_first_data_block) - 1) ext2_fill_super()
1334 le32_to_cpu(ret)); ext2_remount()
1374 else if (sbi->s_blocks_last != le32_to_cpu(es->s_blocks_count)) { ext2_statfs()
1388 overhead = le32_to_cpu(es->s_first_data_block); ext2_statfs()
1407 sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); ext2_statfs()
1412 buf->f_blocks = le32_to_cpu(es->s_blocks_count) - sbi->s_overhead_last; ext2_statfs()
1415 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); ext2_statfs()
1416 if (buf->f_bfree < le32_to_cpu(es->s_r_blocks_count)) ext2_statfs()
1418 buf->f_files = le32_to_cpu(es->s_inodes_count); ext2_statfs()
H A Dballoc.c86 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); ext2_valid_block_bitmap()
93 bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap); ext2_valid_block_bitmap()
100 bitmap_blk = le32_to_cpu(desc->bg_inode_table); ext2_valid_block_bitmap()
133 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); read_block_bitmap()
139 block_group, le32_to_cpu(desc->bg_block_bitmap)); read_block_bitmap()
150 block_group, le32_to_cpu(desc->bg_block_bitmap)); read_block_bitmap()
491 if (block < le32_to_cpu(es->s_first_data_block) || ext2_free_blocks()
493 block + count > le32_to_cpu(es->s_blocks_count)) { ext2_free_blocks()
504 block_group = (block - le32_to_cpu(es->s_first_data_block)) / ext2_free_blocks()
506 bit = (block - le32_to_cpu(es->s_first_data_block)) % ext2_free_blocks()
525 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || ext2_free_blocks()
526 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || ext2_free_blocks()
527 in_range (block, le32_to_cpu(desc->bg_inode_table), ext2_free_blocks()
529 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), ext2_free_blocks()
1186 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); ext2_has_free_blocks()
1272 if (goal < le32_to_cpu(es->s_first_data_block) || ext2_new_blocks()
1273 goal >= le32_to_cpu(es->s_blocks_count)) ext2_new_blocks()
1274 goal = le32_to_cpu(es->s_first_data_block); ext2_new_blocks()
1275 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / ext2_new_blocks()
1294 grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % ext2_new_blocks()
1372 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || ext2_new_blocks()
1373 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || ext2_new_blocks()
1374 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), ext2_new_blocks()
1376 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), ext2_new_blocks()
1392 if (ret_block + num - 1 >= le32_to_cpu(es->s_blocks_count)) { ext2_new_blocks()
1396 le32_to_cpu(es->s_blocks_count), group_no, es); ext2_new_blocks()
1476 (long)le32_to_cpu(es->s_free_blocks_count), ext2_count_free_blocks()
H A Dinode.c246 bh = sb_bread(sb, le32_to_cpu(p->key)); ext2_get_branch()
301 return le32_to_cpu(*p); ext2_find_near()
378 && le32_to_cpu(*(branch[0].p + count)) == 0) { ext2_blks_to_allocate()
573 current_block = le32_to_cpu(where->key) + 1; ext2_splice_branch()
586 le32_to_cpu(where[num].key) + blks - 1; ext2_splice_branch()
644 first_block = le32_to_cpu(chain[depth - 1].key); ext2_get_blocks()
662 blk = le32_to_cpu(*(chain[depth-1].p + count)); ext2_get_blocks()
739 err = dax_clear_blocks(inode, le32_to_cpu(chain[depth-1].key), ext2_get_blocks()
751 map_bh(bh_result, inode->i_sb, le32_to_cpu(chain[depth-1].key)); ext2_get_blocks()
1018 nr = le32_to_cpu(*p); ext2_free_data()
1060 nr = le32_to_cpu(*p); ext2_free_branches()
1240 ino > le32_to_cpu(EXT2_SB(sb)->s_es->s_inodes_count)) ext2_get_inode()
1251 block = le32_to_cpu(gdp->bg_inode_table) + ext2_get_inode()
1347 inode->i_size = le32_to_cpu(raw_inode->i_size); ext2_iget()
1348 inode->i_atime.tv_sec = (signed)le32_to_cpu(raw_inode->i_atime); ext2_iget()
1349 inode->i_ctime.tv_sec = (signed)le32_to_cpu(raw_inode->i_ctime); ext2_iget()
1350 inode->i_mtime.tv_sec = (signed)le32_to_cpu(raw_inode->i_mtime); ext2_iget()
1352 ei->i_dtime = le32_to_cpu(raw_inode->i_dtime); ext2_iget()
1364 inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); ext2_iget()
1365 ei->i_flags = le32_to_cpu(raw_inode->i_flags); ext2_iget()
1366 ei->i_faddr = le32_to_cpu(raw_inode->i_faddr); ext2_iget()
1369 ei->i_file_acl = le32_to_cpu(raw_inode->i_file_acl); ext2_iget()
1372 inode->i_size |= ((__u64)le32_to_cpu(raw_inode->i_size_high)) << 32; ext2_iget()
1374 ei->i_dir_acl = le32_to_cpu(raw_inode->i_dir_acl); ext2_iget()
1376 inode->i_generation = le32_to_cpu(raw_inode->i_generation); ext2_iget()
1420 old_decode_dev(le32_to_cpu(raw_inode->i_block[0]))); ext2_iget()
1423 new_decode_dev(le32_to_cpu(raw_inode->i_block[1]))); ext2_iget()
H A Dxattr.c177 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); ext2_xattr_get()
209 size = le32_to_cpu(entry->e_value_size); ext2_xattr_get()
266 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); ext2_xattr_list()
400 le32_to_cpu(HDR(bh)->h_refcount)); ext2_xattr_set()
468 size_t size = le32_to_cpu(here->e_value_size); ext2_xattr_set()
543 le32_to_cpu(here->e_value_size)); ext2_xattr_set()
646 le32_to_cpu(HDR(new_bh)->h_refcount)); ext2_xattr_set2()
737 le32_to_cpu(HDR(old_bh)->h_refcount)); ext2_xattr_set2()
792 le32_to_cpu(HDR(bh)->h_refcount)); ext2_xattr_delete_inode()
829 __u32 hash = le32_to_cpu(HDR(bh)->h_hash); ext2_xattr_cache_insert()
881 le32_to_cpu(entry1->e_value_size))) ext2_xattr_cmp()
903 __u32 hash = le32_to_cpu(header->h_hash); ext2_xattr_cache_find()
928 if (le32_to_cpu(HDR(bh)->h_refcount) > ext2_xattr_cache_find()
932 le32_to_cpu(HDR(bh)->h_refcount), ext2_xattr_cache_find()
972 for (n = (le32_to_cpu(entry->e_value_size) + ext2_xattr_hash_entry()
976 le32_to_cpu(*value++); ext2_xattr_hash_entry()
1008 le32_to_cpu(here->e_hash); ext2_xattr_rehash()
H A Dacl.c63 le32_to_cpu(entry->e_id)); ext2_acl_from_disk()
71 le32_to_cpu(entry->e_id)); ext2_acl_from_disk()
/linux-4.1.27/drivers/atm/
H A 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)
193 (le32_to_cpu((ns_rcqep)->word_2) != 0x00000000)
195 (le32_to_cpu((ns_rcqep)->word_1))
197 (le32_to_cpu((ns_rcqep)->word_2))
249 (le32_to_cpu((ns_scqep)->word_1) & NS_SCQE_TYPE_TSR)
277 (le32_to_cpu((ns_tsip)->word_2) & NS_TSI_EMPTY)
279 (le32_to_cpu((ns_tsip)->word_2) & NS_TSI_TIMESTAMP_MASK)
291 (le32_to_cpu((ns_tsip)->word_1) == 0x00000000)
293 ((le32_to_cpu((ns_tsip)->word_1) & 0xFFFF0000) >> 16)
295 (le32_to_cpu((ns_tsip)->word_1) & 0x00007FFF)
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
H A Dcmd.c89 out[i] = le32_to_cpu(res[i]); carl9170_read_mreg()
181 tick = le32_to_cpu(tally.tick); carl9170_collect_tally()
183 ar->tally.active += le32_to_cpu(tally.active) / tick; carl9170_collect_tally()
184 ar->tally.cca += le32_to_cpu(tally.cca) / tick; carl9170_collect_tally()
185 ar->tally.tx_time += le32_to_cpu(tally.tx_time) / tick; carl9170_collect_tally()
186 ar->tally.rx_total += le32_to_cpu(tally.rx_total); carl9170_collect_tally()
187 ar->tally.rx_overrun += le32_to_cpu(tally.rx_overrun); carl9170_collect_tally()
H A Dfw.c113 fw_date = le32_to_cpu(motd_desc->fw_year_month_day); carl9170_fw_info()
208 ar->fw.tx_seq_table = le32_to_cpu(txsq_desc->seq_table_addr); carl9170_fw_tx_sequence()
276 if (ilog2(le32_to_cpu(otus_desc->feature_set)) >= carl9170_fw()
331 ar->fw.address = le32_to_cpu(otus_desc->fw_address); carl9170_fw()
347 ar->fw.beacon_addr = le32_to_cpu(otus_desc->bcn_addr); carl9170_fw()
/linux-4.1.27/fs/reiserfs/
H A Dobjectid.c19 if (le32_to_cpu(map[0]) != 1) check_objectid_map()
21 (long unsigned int)le32_to_cpu(map[0])); check_objectid_map()
62 unused_objectid = le32_to_cpu(map[1]); reiserfs_get_unused_objectid()
120 if (objectid_to_release == le32_to_cpu(map[i])) { reiserfs_release_objectid()
143 if (objectid_to_release > le32_to_cpu(map[i]) && reiserfs_release_objectid()
144 objectid_to_release < le32_to_cpu(map[i + 1])) { reiserfs_release_objectid()
146 if (objectid_to_release + 1 == le32_to_cpu(map[i + 1])) { reiserfs_release_objectid()
H A Dprocfs.c56 #define D4C( x ) le32_to_cpu( x )
65 #define DJF( x ) le32_to_cpu( rs -> x )
66 #define DJV( x ) le32_to_cpu( s_v1 -> x )
67 #define DJP( x ) le32_to_cpu( jp -> x )
/linux-4.1.27/sound/soc/codecs/
H A Dwm_adsp.c592 file, le32_to_cpu(adsp1_sizes->dm), wm_adsp_load()
593 le32_to_cpu(adsp1_sizes->pm), wm_adsp_load()
594 le32_to_cpu(adsp1_sizes->zm)); wm_adsp_load()
604 file, le32_to_cpu(adsp2_sizes->xm), wm_adsp_load()
605 le32_to_cpu(adsp2_sizes->ym), wm_adsp_load()
606 le32_to_cpu(adsp2_sizes->pm), wm_adsp_load()
607 le32_to_cpu(adsp2_sizes->zm)); wm_adsp_load()
615 if (le32_to_cpu(header->len) != sizeof(*header) + wm_adsp_load()
618 file, le32_to_cpu(header->len)); wm_adsp_load()
631 offset = le32_to_cpu(region->offset) & 0xffffff; wm_adsp_load()
638 text = kzalloc(le32_to_cpu(region->len) + 1, wm_adsp_load()
643 text = kzalloc(le32_to_cpu(region->len) + 1, wm_adsp_load()
678 regions, le32_to_cpu(region->len), offset, wm_adsp_load()
682 memcpy(text, region->data, le32_to_cpu(region->len)); wm_adsp_load()
689 le32_to_cpu(region->len), wm_adsp_load()
698 le32_to_cpu(region->len)); wm_adsp_load()
703 le32_to_cpu(region->len), offset, wm_adsp_load()
709 pos += le32_to_cpu(region->len) + sizeof(*region); wm_adsp_load()
1227 (le32_to_cpu(hdr->ver) >> 16) & 0xff, wm_adsp_load_coeff()
1228 (le32_to_cpu(hdr->ver) >> 8) & 0xff, wm_adsp_load_coeff()
1229 le32_to_cpu(hdr->ver) & 0xff); wm_adsp_load_coeff()
1231 pos = le32_to_cpu(hdr->len); wm_adsp_load_coeff()
1242 file, blocks, le32_to_cpu(blk->id), wm_adsp_load_coeff()
1243 (le32_to_cpu(blk->ver) >> 16) & 0xff, wm_adsp_load_coeff()
1244 (le32_to_cpu(blk->ver) >> 8) & 0xff, wm_adsp_load_coeff()
1245 le32_to_cpu(blk->ver) & 0xff); wm_adsp_load_coeff()
1247 file, blocks, le32_to_cpu(blk->len), offset, type); wm_adsp_load_coeff()
1260 if (le32_to_cpu(blk->id) == dsp->fw_id && wm_adsp_load_coeff()
1281 file, blocks, le32_to_cpu(blk->len), wm_adsp_load_coeff()
1282 type, le32_to_cpu(blk->id)); wm_adsp_load_coeff()
1293 if (le32_to_cpu(blk->id) == alg_region->alg && wm_adsp_load_coeff()
1305 type, le32_to_cpu(blk->id)); wm_adsp_load_coeff()
1316 le32_to_cpu(blk->len), wm_adsp_load_coeff()
1325 file, blocks, le32_to_cpu(blk->len), wm_adsp_load_coeff()
1328 le32_to_cpu(blk->len)); wm_adsp_load_coeff()
1336 pos += (le32_to_cpu(blk->len) + sizeof(*blk) + 3) & ~0x03; wm_adsp_load_coeff()
/linux-4.1.27/drivers/net/wireless/
H A Drndis_wlan.c687 switch (le32_to_cpu(rndis_status)) { rndis_error_status()
743 le32_to_cpu(u.get_c->status)); rndis_query_oid()
746 resplen = le32_to_cpu(u.get_c->len); rndis_query_oid()
747 respoffs = le32_to_cpu(u.get_c->offset) + 8; rndis_query_oid()
779 le32_to_cpu(u.get_c->status), ret); rndis_query_oid()
831 le32_to_cpu(u.set_c->status)); rndis_set_oid()
839 le32_to_cpu(u.set_c->status), ret); rndis_set_oid()
1335 KHZ_TO_MHZ(le32_to_cpu(config.ds_config))); get_current_channel()
1340 *beacon_period = le32_to_cpu(config.beacon_period); get_current_channel()
1476 le32_to_cpu(ndis_key.size)); add_wpa_key()
1657 le32_to_cpu(filter)); set_multicast_list()
1661 le32_to_cpu(filter), ret); set_multicast_list()
1673 len = le32_to_cpu(pmkids->length); debug_print_pmkids()
1674 count = le32_to_cpu(pmkids->bssid_info_count); debug_print_pmkids()
1729 if (le32_to_cpu(pmkids->bssid_info_count) > max_pmkids) get_device_pmkids()
1742 num_pmkids = le32_to_cpu(pmkids->bssid_info_count); set_device_pmkids()
1749 le32_to_cpu(pmkids->length)); set_device_pmkids()
1767 count = le32_to_cpu(pmkids->bssid_info_count); remove_pmkid()
1809 count = le32_to_cpu(pmkids->bssid_info_count); update_pmkid()
1996 bssid->ssid.essid, bssid->mac, le32_to_cpu(bssid->length)); rndis_bss_info_update()
1999 bssid_len = le32_to_cpu(bssid->length); rndis_bss_info_update()
2009 (int)le32_to_cpu(bssid->ie_length)); rndis_bss_info_update()
2016 KHZ_TO_MHZ(le32_to_cpu(bssid->config.ds_config))); rndis_bss_info_update()
2020 signal = level_to_qual(le32_to_cpu(bssid->rssi)); rndis_bss_info_update()
2048 *bssid_len = le32_to_cpu(bssid->length); next_bssid_list_item()
2103 count = le32_to_cpu(bssid_list->num_items); rndis_check_bssid_list()
2480 sinfo->txrate.legacy = le32_to_cpu(linkspeed) / 1000; rndis_fill_station_info()
2488 sinfo->signal = level_to_qual(le32_to_cpu(rssi)); rndis_fill_station_info()
2665 signal = level_to_qual(le32_to_cpu(rssi)); rndis_wlan_craft_connected_bss()
2668 "rssi:%d, qual: %d\n", __func__, ret, le32_to_cpu(rssi), rndis_wlan_craft_connected_bss()
2669 level_to_qual(le32_to_cpu(rssi))); rndis_wlan_craft_connected_bss()
2695 le32_to_cpu(ssid.length), ssid.essid); rndis_wlan_craft_connected_bss()
2697 if (le32_to_cpu(ssid.length) > 32) rndis_wlan_craft_connected_bss()
2701 ie_buf[1] = le32_to_cpu(ssid.length); rndis_wlan_craft_connected_bss()
2702 memcpy(&ie_buf[2], ssid.essid, le32_to_cpu(ssid.length)); rndis_wlan_craft_connected_bss()
2704 ie_len = le32_to_cpu(ssid.length) + 2; rndis_wlan_craft_connected_bss()
2760 req_ie_len = le32_to_cpu(info->req_ie_length); rndis_wlan_do_link_up_work()
2764 offset = le32_to_cpu(info->offset_req_ies); rndis_wlan_do_link_up_work()
2776 resp_ie_len = le32_to_cpu(info->resp_ie_length); rndis_wlan_do_link_up_work()
2780 offset = le32_to_cpu(info->offset_resp_ies); rndis_wlan_do_link_up_work()
2923 flags = le32_to_cpu(auth_req->flags); rndis_wlan_auth_indication()
2941 type, le32_to_cpu(auth_req->flags)); rndis_wlan_auth_indication()
2963 buflen -= le32_to_cpu(auth_req->length); rndis_wlan_auth_indication()
2964 buf += le32_to_cpu(auth_req->length); rndis_wlan_auth_indication()
2982 list_len = le32_to_cpu(indication->u.cand_list.num_candidates) * rndis_wlan_pmkid_cand_list_indication()
2996 le32_to_cpu(cand_list->version), rndis_wlan_pmkid_cand_list_indication()
2997 le32_to_cpu(cand_list->num_candidates)); rndis_wlan_pmkid_cand_list_indication()
2999 if (le32_to_cpu(cand_list->version) != 1) rndis_wlan_pmkid_cand_list_indication()
3002 for (i = 0; i < le32_to_cpu(cand_list->num_candidates); i++) { rndis_wlan_pmkid_cand_list_indication()
3008 i, le32_to_cpu(cand->flags), preauth, cand->bssid); rndis_wlan_pmkid_cand_list_indication()
3022 le32_to_cpu(msg->offset); rndis_wlan_media_specific_indication()
3023 len = le32_to_cpu(msg->length); rndis_wlan_media_specific_indication()
3039 switch (le32_to_cpu(indication->status_type)) { rndis_wlan_media_specific_indication()
3042 le32_to_cpu(indication->u.radio_status)); rndis_wlan_media_specific_indication()
3047 le32_to_cpu(indication->u.media_stream_mode)); rndis_wlan_media_specific_indication()
3060 le32_to_cpu(indication->status_type)); rndis_wlan_media_specific_indication()
3069 switch (le32_to_cpu(msg->status)) { rndis_wlan_indication()
3104 le32_to_cpu(msg->status)); rndis_wlan_indication()
3126 n = le32_to_cpu(networks_supported.num_items); rndis_wlan_get_caps()
3130 switch (le32_to_cpu(networks_supported.items[i])) { rndis_wlan_get_caps()
3154 le32_to_cpu(caps->length), rndis_wlan_get_caps()
3155 le32_to_cpu(caps->version), rndis_wlan_get_caps()
3156 le32_to_cpu(caps->num_pmkids), rndis_wlan_get_caps()
3157 le32_to_cpu(caps->num_auth_encr_pair)); rndis_wlan_get_caps()
3158 wiphy->max_num_pmkids = le32_to_cpu(caps->num_pmkids); rndis_wlan_get_caps()
3227 priv->last_qual = level_to_qual(le32_to_cpu(rssi)); rndis_device_poller()
3228 rndis_do_cqm(usbdev, le32_to_cpu(rssi)); rndis_device_poller()
3232 ret, le32_to_cpu(rssi), level_to_qual(le32_to_cpu(rssi))); rndis_device_poller()
3455 priv->multicast_size = le32_to_cpu(tmp); rndis_wlan_bind()
/linux-4.1.27/drivers/net/usb/
H A Drndis_host.c78 u32 status = le32_to_cpu(msg->status); rndis_msg_indicate()
118 msg_type = le32_to_cpu(buf->msg_type); rndis_command()
133 buf, le32_to_cpu(buf->msg_len), rndis_command()
152 rsp = le32_to_cpu(buf->msg_type) | RNDIS_MSG_COMPLETION; rndis_command()
163 msg_type = le32_to_cpu(buf->msg_type); rndis_command()
164 msg_len = le32_to_cpu(buf->msg_len); rndis_command()
165 status = le32_to_cpu(buf->status); rndis_command()
209 le32_to_cpu(buf->msg_type), msg_len); rndis_command()
268 off = le32_to_cpu(u.get_c->offset); rndis_query()
269 len = le32_to_cpu(u.get_c->len); rndis_query()
367 tmp = le32_to_cpu(u.init_c->max_transfer_size); generic_rndis_bind()
388 1 << le32_to_cpu(u.init_c->packet_alignment)); generic_rndis_bind()
505 msg_type = le32_to_cpu(hdr->msg_type); rndis_rx_fixup()
506 msg_len = le32_to_cpu(hdr->msg_len); rndis_rx_fixup()
507 data_offset = le32_to_cpu(hdr->data_offset); rndis_rx_fixup()
508 data_len = le32_to_cpu(hdr->data_len); rndis_rx_fixup()
515 le32_to_cpu(hdr->msg_type), rndis_rx_fixup()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_disk.h385 lsd->lsd_feature_compat = le32_to_cpu(buf->lsd_feature_compat); lsd_le_to_cpu()
386 lsd->lsd_feature_rocompat = le32_to_cpu(buf->lsd_feature_rocompat); lsd_le_to_cpu()
387 lsd->lsd_feature_incompat = le32_to_cpu(buf->lsd_feature_incompat); lsd_le_to_cpu()
388 lsd->lsd_server_size = le32_to_cpu(buf->lsd_server_size); lsd_le_to_cpu()
389 lsd->lsd_client_start = le32_to_cpu(buf->lsd_client_start); lsd_le_to_cpu()
393 lsd->lsd_catalog_ogen = le32_to_cpu(buf->lsd_catalog_ogen); lsd_le_to_cpu()
395 lsd->lsd_osd_index = le32_to_cpu(buf->lsd_osd_index); lsd_le_to_cpu()
396 lsd->lsd_padding1 = le32_to_cpu(buf->lsd_padding1); lsd_le_to_cpu()
397 lsd->lsd_start_epoch = le32_to_cpu(buf->lsd_start_epoch); lsd_le_to_cpu()
400 lsd->lsd_trans_table_time = le32_to_cpu(buf->lsd_trans_table_time); lsd_le_to_cpu()
401 lsd->lsd_expire_intervals = le32_to_cpu(buf->lsd_expire_intervals); lsd_le_to_cpu()
437 lcd->lcd_last_result = le32_to_cpu(buf->lcd_last_result); lcd_le_to_cpu()
438 lcd->lcd_last_data = le32_to_cpu(buf->lcd_last_data); lcd_le_to_cpu()
441 lcd->lcd_last_close_result = le32_to_cpu(buf->lcd_last_close_result); lcd_le_to_cpu()
442 lcd->lcd_last_close_data = le32_to_cpu(buf->lcd_last_close_data); lcd_le_to_cpu()
447 lcd->lcd_last_epoch = le32_to_cpu(buf->lcd_last_epoch); lcd_le_to_cpu()
448 lcd->lcd_first_epoch = le32_to_cpu(buf->lcd_first_epoch); lcd_le_to_cpu()
/linux-4.1.27/drivers/mtd/
H A Dftl.c239 le32_to_cpu(header.EraseCount); build_maps()
249 part->XferInfo[xtrans].EraseCount = le32_to_cpu(header.EraseCount); build_maps()
254 le32_to_cpu(part->header.EraseCount); build_maps()
270 blocks = le32_to_cpu(header.FormattedSize) >> header.BlockSize; build_maps()
289 offset = part->EUNInfo[i].Offset + le32_to_cpu(header.BAMOffset); build_maps()
299 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[j]))) { build_maps()
302 } else if ((BLOCK_TYPE(le32_to_cpu(part->bam_cache[j])) == BLOCK_DATA) && build_maps()
303 (BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j])) < blocks)) build_maps()
304 part->VirtualBlockMap[BLOCK_NUMBER(le32_to_cpu(part->bam_cache[j]))] = build_maps()
306 else if (BLOCK_DELETED(le32_to_cpu(part->bam_cache[j]))) build_maps()
433 le32_to_cpu(part->header.BAMOffset) + SECTOR_SIZE - 1) / SECTOR_SIZE; prepare_xfer()
435 offset = xfer->Offset + le32_to_cpu(part->header.BAMOffset); prepare_xfer()
485 offset = eun->Offset + le32_to_cpu(part->header.BAMOffset); copy_erase_unit()
519 switch (BLOCK_TYPE(le32_to_cpu(part->bam_cache[i]))) { copy_erase_unit()
553 xfer->Offset + le32_to_cpu(part->header.BAMOffset), copy_erase_unit()
751 part->EUNInfo[eun].Offset + le32_to_cpu(part->header.BAMOffset), find_free()
765 if (BLOCK_FREE(le32_to_cpu(part->bam_cache[blk]))) break; find_free()
804 if (((sector+i) * SECTOR_SIZE) >= le32_to_cpu(part->header.FormattedSize)) { ftl_read()
850 le32_to_cpu(part->header.BAMOffset)); set_bam_entry()
859 old_addr = le32_to_cpu(old_addr); set_bam_entry()
876 if (le32_to_cpu(part->bam_cache[blk]) != old_addr) { set_bam_entry()
883 le32_to_cpu(part->bam_cache[blk]), old_addr); set_bam_entry()
926 if (virt_addr >= le32_to_cpu(part->header.FormattedSize)) { ftl_write()
987 sect = le32_to_cpu(part->header.FormattedSize)/SECTOR_SIZE; ftl_getgeo()
1065 le32_to_cpu(partition->header.FormattedSize) >> 10); ftl_add_mtd()
1067 partition->mbd.size = le32_to_cpu(partition->header.FormattedSize) >> 9; ftl_add_mtd()
H A Dinftlmount.c134 mh->NoOfBootImageBlocks = le32_to_cpu(mh->NoOfBootImageBlocks); find_boot_record()
135 mh->NoOfBinaryPartitions = le32_to_cpu(mh->NoOfBinaryPartitions); find_boot_record()
136 mh->NoOfBDTLPartitions = le32_to_cpu(mh->NoOfBDTLPartitions); find_boot_record()
137 mh->BlockMultiplierBits = le32_to_cpu(mh->BlockMultiplierBits); find_boot_record()
138 mh->FormatFlags = le32_to_cpu(mh->FormatFlags); find_boot_record()
139 mh->PercentUsed = le32_to_cpu(mh->PercentUsed); find_boot_record()
191 ip->virtualUnits = le32_to_cpu(ip->virtualUnits); find_boot_record()
192 ip->firstUnit = le32_to_cpu(ip->firstUnit); find_boot_record()
193 ip->lastUnit = le32_to_cpu(ip->lastUnit); find_boot_record()
194 ip->flags = le32_to_cpu(ip->flags); find_boot_record()
195 ip->spareUnits = le32_to_cpu(ip->spareUnits); find_boot_record()
196 ip->Reserved0 = le32_to_cpu(ip->Reserved0); find_boot_record()
H A Dar7part.c36 #define LOADER_MAGIC1 le32_to_cpu(0xfeedfa42)
37 #define LOADER_MAGIC2 le32_to_cpu(0xfeed1281)
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c195 ld_count = (u16)le32_to_cpu(pFwRaidMap->ldCount); MR_PopulateDrvRaidMap()
281 if (le32_to_cpu(pDrvRaidMap->totalSize) != expected_size) { MR_ValidateMapInfo()
286 le32_to_cpu(pDrvRaidMap->totalSize)); MR_ValidateMapInfo()
317 for (j = 0; j < le32_to_cpu(pSpanBlock->block_span_info.noElements); j++) { MR_GetSpanBlock()
320 if (le32_to_cpu(quad->diff) == 0) MR_GetSpanBlock()
324 le32_to_cpu(quad->diff))) == 0) { MR_GetSpanBlock()
327 blk = mega_div64_32((row-le64_to_cpu(quad->logStart)), le32_to_cpu(quad->diff)); MR_GetSpanBlock()
372 le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. getSpanInfo()
401 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. getSpanInfo()
409 element, le32_to_cpu(quad->diff)); getSpanInfo()
463 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. mr_spanset_get_span_block()
468 if (le32_to_cpu(quad->diff) == 0) mr_spanset_get_span_block()
473 le32_to_cpu(quad->diff))) == 0) { mr_spanset_get_span_block()
478 le32_to_cpu(quad->diff)); mr_spanset_get_span_block()
530 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. get_row_from_strip()
595 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. get_strip_from_row()
602 le32_to_cpu(quad->diff)) == 0) { get_strip_from_row()
606 le32_to_cpu(quad->diff)); get_strip_from_row()
658 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. get_arm_from_strip()
1170 if (le32_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span]. mr_update_span_set()
1179 span_set->diff = le32_to_cpu(quad->diff); mr_update_span_set()
1183 if (le32_to_cpu(map->raidMap.ldSpanMap[ld]. mr_update_span_set()
1201 le64_to_cpu(quad->logStart)) + le32_to_cpu(quad->diff)), mr_update_span_set()
1202 le32_to_cpu(quad->diff)); mr_update_span_set()
1219 (span_row * le32_to_cpu(quad->diff)) - 1; mr_update_span_set()
1245 (span_row * le32_to_cpu(quad->diff)) - 1; mr_update_span_set()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_mlme.c516 pnetwork->Length = le32_to_cpu(pnetwork->Length); r8712_survey_event_callback()
517 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); r8712_survey_event_callback()
518 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); r8712_survey_event_callback()
519 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); r8712_survey_event_callback()
520 pnetwork->NetworkTypeInUse = le32_to_cpu(pnetwork->NetworkTypeInUse); r8712_survey_event_callback()
522 le32_to_cpu(pnetwork->Configuration.ATIMWindow); r8712_survey_event_callback()
524 le32_to_cpu(pnetwork->Configuration.BeaconPeriod); r8712_survey_event_callback()
526 le32_to_cpu(pnetwork->Configuration.DSConfig); r8712_survey_event_callback()
528 le32_to_cpu(pnetwork->Configuration.FHConfig.DwellTime); r8712_survey_event_callback()
530 le32_to_cpu(pnetwork->Configuration.FHConfig.HopPattern); r8712_survey_event_callback()
532 le32_to_cpu(pnetwork->Configuration.FHConfig.HopSet); r8712_survey_event_callback()
534 le32_to_cpu(pnetwork->Configuration.FHConfig.Length); r8712_survey_event_callback()
536 le32_to_cpu(pnetwork->Configuration.Length); r8712_survey_event_callback()
538 le32_to_cpu(pnetwork->InfrastructureMode); r8712_survey_event_callback()
539 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); r8712_survey_event_callback()
737 pnetwork->join_res = le32_to_cpu(pnetwork->join_res); r8712_joinbss_event_callback()
738 pnetwork->network_type = le32_to_cpu(pnetwork->network_type); r8712_joinbss_event_callback()
739 pnetwork->network.Length = le32_to_cpu(pnetwork->network.Length); r8712_joinbss_event_callback()
741 le32_to_cpu(pnetwork->network.Ssid.SsidLength); r8712_joinbss_event_callback()
742 pnetwork->network.Privacy = le32_to_cpu(pnetwork->network.Privacy); r8712_joinbss_event_callback()
743 pnetwork->network.Rssi = le32_to_cpu(pnetwork->network.Rssi); r8712_joinbss_event_callback()
745 le32_to_cpu(pnetwork->network.NetworkTypeInUse); r8712_joinbss_event_callback()
747 le32_to_cpu(pnetwork->network.Configuration.ATIMWindow); r8712_joinbss_event_callback()
749 le32_to_cpu(pnetwork->network.Configuration.BeaconPeriod); r8712_joinbss_event_callback()
751 le32_to_cpu(pnetwork->network.Configuration.DSConfig); r8712_joinbss_event_callback()
753 le32_to_cpu(pnetwork->network.Configuration.FHConfig. r8712_joinbss_event_callback()
756 le32_to_cpu(pnetwork->network.Configuration. r8712_joinbss_event_callback()
759 le32_to_cpu(pnetwork->network.Configuration.FHConfig.HopSet); r8712_joinbss_event_callback()
761 le32_to_cpu(pnetwork->network.Configuration.FHConfig.Length); r8712_joinbss_event_callback()
763 le32_to_cpu(pnetwork->network.Configuration.Length); r8712_joinbss_event_callback()
765 le32_to_cpu(pnetwork->network.InfrastructureMode); r8712_joinbss_event_callback()
766 pnetwork->network.IELength = le32_to_cpu(pnetwork->network.IELength); r8712_joinbss_event_callback()
952 psta->mac_id = le32_to_cpu((uint)pstassoc->cam_id); r8712_stassoc_event_callback()
H A Drtl8712_recv.c163 drvinfo_sz = (le32_to_cpu(prxstat->rxdw0)&0x000f0000)>>16; update_recvframe_attrib_from_recvstat()
167 pattrib->bdecrypted = ((le32_to_cpu(prxstat->rxdw0) & BIT(27)) >> 27) update_recvframe_attrib_from_recvstat()
169 pattrib->crc_err = (le32_to_cpu(prxstat->rxdw0) & BIT(14)) >> 14; update_recvframe_attrib_from_recvstat()
173 if (le32_to_cpu(prxstat->rxdw3) & BIT(13)) { update_recvframe_attrib_from_recvstat()
175 if (le32_to_cpu(prxstat->rxdw3) & BIT(11)) update_recvframe_attrib_from_recvstat()
179 if (le32_to_cpu(prxstat->rxdw3) & BIT(12)) update_recvframe_attrib_from_recvstat()
185 pattrib->mcs_rate = (u8)((le32_to_cpu(prxstat->rxdw3)) & 0x3f); update_recvframe_attrib_from_recvstat()
186 pattrib->htc = (u8)((le32_to_cpu(prxstat->rxdw3) >> 14) & 0x1); update_recvframe_attrib_from_recvstat()
438 drvinfo_sz = (le32_to_cpu(prxstat->rxdw0) & 0x000f0000) >> 16; r8712_rxcmd_event_hdl()
443 cmd_len = (u16)(le32_to_cpu(voffset) & 0xffff); r8712_rxcmd_event_hdl()
446 } while (le32_to_cpu(voffset) & BIT(31)); r8712_rxcmd_event_hdl()
776 report = ((u8)(le32_to_cpu(pphy_stat->phydw1) >> 8)) & query_rx_phy_status()
1022 pkt_cnt = (le32_to_cpu(prxstat->rxdw2)>>16)&0xff; recvbuf2recvframe()
1023 pkt_len = le32_to_cpu(prxstat->rxdw0)&0x00003fff; recvbuf2recvframe()
1035 pkt_len = le32_to_cpu(prxstat->rxdw0)&0x00003fff; recvbuf2recvframe()
1037 mf = (le32_to_cpu(prxstat->rxdw1) >> 27) & 0x1; recvbuf2recvframe()
1039 frag = (le32_to_cpu(prxstat->rxdw2) >> 12) & 0xf; recvbuf2recvframe()
1041 drvinfo_sz = (le32_to_cpu(prxstat->rxdw0) & 0x000f0000) >> 16; recvbuf2recvframe()
1046 if ((le32_to_cpu(prxstat->rxdw0) >> 23) & 0x01) recvbuf2recvframe()
H A Dusb_ops.c54 return (u8)(le32_to_cpu(data)&0x0ff); usb_read8()
74 return (u16)(le32_to_cpu(data)&0xffff); usb_read16()
94 return le32_to_cpu(data); usb_read32()
H A Drtl871x_cmd.c916 pnetwork->Length = le32_to_cpu(pnetwork->Length); r8712_createbss_cmd_callback()
917 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); r8712_createbss_cmd_callback()
918 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); r8712_createbss_cmd_callback()
919 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); r8712_createbss_cmd_callback()
920 pnetwork->NetworkTypeInUse = le32_to_cpu(pnetwork->NetworkTypeInUse); r8712_createbss_cmd_callback()
921 pnetwork->Configuration.ATIMWindow = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
923 pnetwork->Configuration.DSConfig = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
925 pnetwork->Configuration.FHConfig.DwellTime = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
927 pnetwork->Configuration.FHConfig.HopPattern = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
929 pnetwork->Configuration.FHConfig.HopSet = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
931 pnetwork->Configuration.FHConfig.Length = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
933 pnetwork->Configuration.Length = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
935 pnetwork->InfrastructureMode = le32_to_cpu(pnetwork-> r8712_createbss_cmd_callback()
937 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); r8712_createbss_cmd_callback()
H A Dhal_init.c127 pfwhdr->dmem_size = le32_to_cpu(*(uint *)(pmappedfw+4)); update_fwhdr()
129 pfwhdr->img_IMEM_size = le32_to_cpu(*(uint *)(pmappedfw+8)); update_fwhdr()
131 pfwhdr->img_SRAM_size = le32_to_cpu(*(uint *)(pmappedfw+12)); update_fwhdr()
133 pfwhdr->fw_priv_sz = le32_to_cpu(*(uint *)(pmappedfw+16)); update_fwhdr()
/linux-4.1.27/fs/jfs/
H A Djfs_types.h88 return le32_to_cpu((pxd)->len_addr) & 0xffffff; lengthPXD()
93 __u64 n = le32_to_cpu(pxd->len_addr) & ~0xffffff; addressPXD()
94 return (n << 8) + le32_to_cpu(pxd->addr2); addressPXD()
130 #define sizeDXD(dxd) le32_to_cpu((dxd)->size)
H A Djfs_imap.c136 imap->im_freeiag = le32_to_cpu(dinom_le->in_freeiag); diMount()
137 imap->im_nextiag = le32_to_cpu(dinom_le->in_nextiag); diMount()
138 atomic_set(&imap->im_numinos, le32_to_cpu(dinom_le->in_numinos)); diMount()
139 atomic_set(&imap->im_numfree, le32_to_cpu(dinom_le->in_numfree)); diMount()
140 imap->im_nbperiext = le32_to_cpu(dinom_le->in_nbperiext); diMount()
141 imap->im_l2nbperiext = le32_to_cpu(dinom_le->in_l2nbperiext); diMount()
144 le32_to_cpu(dinom_le->in_agctl[index].inofree); diMount()
146 le32_to_cpu(dinom_le->in_agctl[index].extfree); diMount()
148 le32_to_cpu(dinom_le->in_agctl[index].numinos); diMount()
150 le32_to_cpu(dinom_le->in_agctl[index].numfree); diMount()
388 if (ip->i_ino != le32_to_cpu(dp->di_number)) { diRead()
391 } else if (le32_to_cpu(dp->di_nlink) == 0) diRead()
487 sbi->gengen = le32_to_cpu(dp->di_gengen); diReadSpecial()
488 sbi->inostamp = le32_to_cpu(dp->di_inostamp); diReadSpecial()
931 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diFree()
945 bitmap = le32_to_cpu(iagp->wmap[extno]) & ~mask; diFree()
1074 if ((fwd = le32_to_cpu(iagp->extfreefwd)) >= 0) { diFree()
1080 if ((back = le32_to_cpu(iagp->extfreeback)) >= 0) { diFree()
1092 int inofreeback = le32_to_cpu(iagp->inofreeback); diFree()
1093 int inofreefwd = le32_to_cpu(iagp->inofreefwd); diFree()
1167 le32_to_cpu(iagp->extfreefwd); diFree()
1182 if ((int) le32_to_cpu(iagp->inofreefwd) >= 0) diFree()
1185 if ((int) le32_to_cpu(iagp->inofreeback) >= 0) diFree()
1189 le32_to_cpu(iagp->inofreefwd); diFree()
1437 diFindFree(le32_to_cpu(iagp->wmap[extno]), diAlloc()
1495 inosmap = le32_to_cpu(iagp->inosmap[sword]) | mask; diAlloc()
1496 extsmap = le32_to_cpu(iagp->extsmap[sword]) | mask; diAlloc()
1512 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), diAlloc()
1591 inosmap = le32_to_cpu(iagp->inosmap[sword]); diAlloc()
1592 extsmap = le32_to_cpu(iagp->extsmap[sword]); diAlloc()
1834 rem = diFindFree(le32_to_cpu(iagp->inosmap[sword]), 0); diAllocIno()
1845 rem = diFindFree(le32_to_cpu(iagp->wmap[extno]), 0); diAllocIno()
1956 rem = diFindFree(le32_to_cpu(iagp->extsmap[sword]), 0); diAllocExt()
2037 if ((int) le32_to_cpu(iagp->inofreefwd) >= 0) { diAllocBit()
2039 diIAGRead(imap, le32_to_cpu(iagp->inofreefwd), diAllocBit()
2045 if ((int) le32_to_cpu(iagp->inofreeback) >= 0) { diAllocBit()
2048 le32_to_cpu(iagp->inofreeback), diAllocBit()
2071 if (((le32_to_cpu(iagp->pmap[extno]) & mask) != 0) || diAllocBit()
2072 ((le32_to_cpu(iagp->wmap[extno]) & mask) != 0) || diAllocBit()
2111 le32_to_cpu(iagp->inofreefwd); diAllocBit()
2200 iagno = le32_to_cpu(iagp->iagnum); diNewExt()
2208 if ((fwd = le32_to_cpu(iagp->extfreefwd)) >= 0) { diNewExt()
2214 if ((back = le32_to_cpu(iagp->extfreeback)) >= 0) { diNewExt()
2320 le32_to_cpu(iagp->extfreefwd); diNewExt()
2640 imap->im_freeiag = le32_to_cpu(iagp->iagfree); diNewIAG()
2782 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diUpdatePMap()
2787 if (!(le32_to_cpu(iagp->pmap[extno]) & mask)) { diUpdatePMap()
2802 if (!(le32_to_cpu(iagp->wmap[extno]) & mask)) { diUpdatePMap()
2808 if ((le32_to_cpu(iagp->pmap[extno]) & mask) != 0) { diUpdatePMap()
2901 if (le32_to_cpu(iagp->iagnum) != i) { diExtendFS()
2918 numinos = (EXTSPERIAG - le32_to_cpu(iagp->nfreeexts)) diExtendFS()
2927 if ((int) le32_to_cpu(iagp->nfreeinos) > 0) { diExtendFS()
2944 le32_to_cpu(iagp->iagnum); diExtendFS()
2948 le32_to_cpu(iagp->nfreeinos); diExtendFS()
2949 xnumfree += le32_to_cpu(iagp->nfreeinos); diExtendFS()
2953 if (le32_to_cpu(iagp->nfreeexts) > 0) { diExtendFS()
2970 le32_to_cpu(iagp->iagnum); diExtendFS()
3051 jfs_ip->fileset = le32_to_cpu(dip->di_fileset); copy_from_dinode()
3052 jfs_ip->mode2 = le32_to_cpu(dip->di_mode); copy_from_dinode()
3055 ip->i_mode = le32_to_cpu(dip->di_mode) & 0xffff; copy_from_dinode()
3068 set_nlink(ip, le32_to_cpu(dip->di_nlink)); copy_from_dinode()
3070 jfs_ip->saved_uid = make_kuid(&init_user_ns, le32_to_cpu(dip->di_uid)); copy_from_dinode()
3077 jfs_ip->saved_gid = make_kgid(&init_user_ns, le32_to_cpu(dip->di_gid)); copy_from_dinode()
3085 ip->i_atime.tv_sec = le32_to_cpu(dip->di_atime.tv_sec); copy_from_dinode()
3086 ip->i_atime.tv_nsec = le32_to_cpu(dip->di_atime.tv_nsec); copy_from_dinode()
3087 ip->i_mtime.tv_sec = le32_to_cpu(dip->di_mtime.tv_sec); copy_from_dinode()
3088 ip->i_mtime.tv_nsec = le32_to_cpu(dip->di_mtime.tv_nsec); copy_from_dinode()
3089 ip->i_ctime.tv_sec = le32_to_cpu(dip->di_ctime.tv_sec); copy_from_dinode()
3090 ip->i_ctime.tv_nsec = le32_to_cpu(dip->di_ctime.tv_nsec); copy_from_dinode()
3092 ip->i_generation = le32_to_cpu(dip->di_gen); copy_from_dinode()
3097 jfs_ip->next_index = le32_to_cpu(dip->di_next_index); copy_from_dinode()
3098 jfs_ip->otime = le32_to_cpu(dip->di_otime.tv_sec); copy_from_dinode()
3099 jfs_ip->acltype = le32_to_cpu(dip->di_acltype); copy_from_dinode()
3102 jfs_ip->dev = le32_to_cpu(dip->di_rdev); copy_from_dinode()
H A Djfs_mount.c322 le32_to_cpu(j_sb->s_version) > JFS_VERSION) { chkSuper()
327 bsize = le32_to_cpu(j_sb->s_bsize); chkSuper()
337 le32_to_cpu(j_sb->s_flag), le32_to_cpu(j_sb->s_state), chkSuper()
371 sbi->state = le32_to_cpu(j_sb->s_state); chkSuper()
372 sbi->mntflag = le32_to_cpu(j_sb->s_flag); chkSuper()
391 sbi->logdev = new_decode_dev(le32_to_cpu(j_sb->s_logdev)); chkSuper()
/linux-4.1.27/include/linux/
H A Dvirtio_byteorder.h30 return le32_to_cpu((__force __le32)val); __virtio32_to_cpu()
/linux-4.1.27/drivers/scsi/aacraid/
H A Daachba.c377 le32_to_cpu(reply->response), aac_get_config_status()
378 le32_to_cpu(reply->status), aac_get_config_status()
379 le32_to_cpu(reply->data.action))); aac_get_config_status()
380 if ((le32_to_cpu(reply->response) != ST_OK) || aac_get_config_status()
381 (le32_to_cpu(reply->status) != CT_OK) || aac_get_config_status()
382 (le32_to_cpu(reply->data.action) > CFACT_PAUSE)) { aac_get_config_status()
464 maximum_num_containers = le32_to_cpu(dresp->ContainerSwitchEntries); aac_get_containers()
468 le32_to_cpu(dresp->MaxSimpleVolumes); aac_get_containers()
520 if ((le32_to_cpu(get_name_reply->status) == CT_OK) get_container_name_callback()
621 if ((le32_to_cpu(dresp->status) == ST_OK) && _aac_probe_container2()
622 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) && _aac_probe_container2()
623 (le32_to_cpu(dresp->mnt[0].state) != FSCS_HIDDEN)) { _aac_probe_container2()
630 le32_to_cpu(dresp->mnt[0].fileinfo.bdevinfo.block_size); _aac_probe_container2()
638 fsa_dev_ptr->type = le32_to_cpu(dresp->mnt[0].vol); _aac_probe_container2()
640 = ((u64)le32_to_cpu(dresp->mnt[0].capacity)) + _aac_probe_container2()
641 (((u64)le32_to_cpu(dresp->mnt[0].capacityhigh)) << 32); _aac_probe_container2()
642 fsa_dev_ptr->ro = ((le32_to_cpu(dresp->mnt[0].state) & FSCS_READONLY) != 0); _aac_probe_container2()
646 scsicmd->SCp.Status = le32_to_cpu(dresp->count); _aac_probe_container2()
667 if ((le32_to_cpu(dresp->status) != ST_OK) || _aac_probe_container1()
668 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE)) { _aac_probe_container1()
939 if (le32_to_cpu(get_serial_reply->status) == CT_OK) { get_container_serial_callback()
1018 le32_to_cpu(get_serial_reply->uid)); get_container_serial_callback()
1092 le32_to_cpu(dev->adapter_info.serial[0]), cid); setinqserial()
1171 ((le32_to_cpu(readcmd2->sgeCnt)-1) * sizeof(struct sge_ieee1212)); aac_read_raw_io()
1188 ((le32_to_cpu(readcmd->sg.count)-1) * sizeof(struct sgentryraw)); aac_read_raw_io()
1223 ((le32_to_cpu(readcmd->sg.count) - 1) * aac_read_block64()
1258 ((le32_to_cpu(readcmd->sg.count) - 1) * aac_read_block()
1300 ((le32_to_cpu(writecmd2->sgeCnt)-1) * sizeof(struct sge_ieee1212)); aac_write_raw_io()
1320 ((le32_to_cpu(writecmd->sg.count)-1) * sizeof (struct sgentryraw)); aac_write_raw_io()
1355 ((le32_to_cpu(writecmd->sg.count) - 1) * aac_write_block64()
1392 ((le32_to_cpu(writecmd->sg.count) - 1) * aac_write_block()
1465 ((le32_to_cpu(srbcmd->sg.count) & 0xff) * aac_scsi_64()
1496 (((le32_to_cpu(srbcmd->sg.count) & 0xff) - 1) * aac_scsi_32()
1605 if (rcode >= 0 && le32_to_cpu(bus_info->Status) == ST_OK) { aac_get_adapter_info()
1606 dev->maximum_num_physicals = le32_to_cpu(bus_info->TargetsPerBus); aac_get_adapter_info()
1607 dev->maximum_num_channels = le32_to_cpu(bus_info->BusCount); aac_get_adapter_info()
1612 tmp = le32_to_cpu(dev->adapter_info.kernelrev); aac_get_adapter_info()
1619 le32_to_cpu(dev->adapter_info.kernelbuild), aac_get_adapter_info()
1622 tmp = le32_to_cpu(dev->adapter_info.monitorrev); aac_get_adapter_info()
1626 le32_to_cpu(dev->adapter_info.monitorbuild)); aac_get_adapter_info()
1627 tmp = le32_to_cpu(dev->adapter_info.biosrev); aac_get_adapter_info()
1631 le32_to_cpu(dev->adapter_info.biosbuild)); aac_get_adapter_info()
1841 switch (le32_to_cpu(readreply->status)) { io_callback()
1859 le32_to_cpu(readreply->status)); io_callback()
2103 if (le32_to_cpu(synchronizereply->status) == CT_OK) synchronize_callback()
2112 le32_to_cpu(synchronizereply->status)); synchronize_callback()
2996 - le32_to_cpu(srbreply->data_xfer_length)); aac_srb_callback()
3010 if (le32_to_cpu(srbreply->status) != ST_OK){ aac_srb_callback()
3012 printk(KERN_WARNING "aac_srb_callback: srb failed, status = %d\n", le32_to_cpu(srbreply->status)); aac_srb_callback()
3013 len = min_t(u32, le32_to_cpu(srbreply->sense_data_size), aac_srb_callback()
3022 switch( (le32_to_cpu(srbreply->srb_status))&0x3f){ aac_srb_callback()
3038 if (le32_to_cpu(srbreply->data_xfer_length) < scsicmd->underflow) { aac_srb_callback()
3105 le32_to_cpu(srbreply->srb_status) & 0x3F, aac_srb_callback()
3107 le32_to_cpu(srbreply->srb_status) & 0x3F), aac_srb_callback()
3109 le32_to_cpu(srbreply->scsi_status)); aac_srb_callback()
3128 if (le32_to_cpu(srbreply->scsi_status) == SAM_STAT_CHECK_CONDITION) { aac_srb_callback()
3131 len = min_t(u32, le32_to_cpu(srbreply->sense_data_size), aac_srb_callback()
3135 le32_to_cpu(srbreply->status), len); aac_srb_callback()
3142 scsicmd->result |= le32_to_cpu(srbreply->scsi_status); aac_srb_callback()
3223 u32 temp = le32_to_cpu(psg->sg[i-1].count) -
3270 u32 temp = le32_to_cpu(psg->sg[i-1].count) -
3319 u32 temp = le32_to_cpu(psg->sg[i-1].count) -
3373 u32 temp = le32_to_cpu(rio2->sge[i-1].length) -
H A Dcommsup.c136 dev->scsi_host_ptr->can_queue = le32_to_cpu(dev->init->MaxIoCommands) - AAC_NUM_MGT_FIB; aac_fib_setup()
253 le32_to_cpu(fibptr->hw_fib_va->header.XferState)); aac_fib_free()
327 idx = *index = le32_to_cpu(*(q->headers.producer)); aac_get_entry()
329 if (idx != le32_to_cpu(*(q->headers.consumer))) { aac_get_entry()
336 if (idx != le32_to_cpu(*(q->headers.consumer))) aac_get_entry()
349 if ((*index + 1) == le32_to_cpu(*(q->headers.consumer))) { aac_get_entry()
517 dprintk((KERN_DEBUG " Command = %d.\n", le32_to_cpu(hw_fib->header.Command))); aac_fib_send()
518 dprintk((KERN_DEBUG " SubCommand = %d.\n", le32_to_cpu(((struct aac_query_mount *)fib_data(fibptr))->command))); aac_fib_send()
519 dprintk((KERN_DEBUG " XferState = %x.\n", le32_to_cpu(hw_fib->header.XferState))); aac_fib_send()
662 if (le32_to_cpu(*q->headers.producer) == le32_to_cpu(*q->headers.consumer)) { aac_consumer_get()
670 if (le32_to_cpu(*q->headers.consumer) >= q->entries) aac_consumer_get()
673 index = le32_to_cpu(*q->headers.consumer); aac_consumer_get()
695 if ((le32_to_cpu(*q->headers.producer)+1) == le32_to_cpu(*q->headers.consumer)) aac_consumer_free()
698 if (le32_to_cpu(*q->headers.consumer) >= q->entries) aac_consumer_free()
914 switch (le32_to_cpu(aifcmd->command)) { aac_handle_aif()
916 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) { aac_handle_aif()
918 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
955 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
988 le32_to_cpu(*(__le32 *)aifcmd->data)) && aac_handle_aif()
994 le32_to_cpu(*(__le32 *)aifcmd->data)) && aac_handle_aif()
1001 switch (le32_to_cpu(((__le32 *)aifcmd->data)[0])) { aac_handle_aif()
1010 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
1023 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
1037 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
1054 container = le32_to_cpu(((__le32 *)aifcmd->data)[1]); aac_handle_aif()
1094 switch (le32_to_cpu(((__le32 *)aifcmd->data)[3])) { aac_handle_aif()
1099 container = le32_to_cpu( aac_handle_aif()
1142 le32_to_cpu(*(__le32 *)aifcmd->data)) && aac_handle_aif()
1148 le32_to_cpu(*(__le32 *)aifcmd->data)) && aac_handle_aif()
1796 num = le32_to_cpu(dev->init->AdapterFibsSize) aac_command_thread()
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Devent.c54 vector = le32_to_cpu(mbox->events_vector); wl12xx_process_mailbox_events()
55 vector &= ~(le32_to_cpu(mbox->events_mask)); wl12xx_process_mailbox_events()
/linux-4.1.27/fs/ntfs/
H A Dendian.h40 return le32_to_cpu((__force le32)x); sle32_to_cpu()
55 return le32_to_cpu(*(__force le32*)x); sle32_to_cpup()
H A Dquota.c73 if (le32_to_cpu(qce->version) != QUOTA_VERSION) { ntfs_mark_quotas_out_of_date()
75 "supported.", le32_to_cpu(qce->version)); ntfs_mark_quotas_out_of_date()
78 ntfs_debug("Quota defaults flags = 0x%x.", le32_to_cpu(qce->flags)); ntfs_mark_quotas_out_of_date()
H A Dcollate.h39 i = le32_to_cpu(cr); ntfs_is_collation_rule_supported()
/linux-4.1.27/fs/befs/
H A Dendian.h36 return le32_to_cpu((__force __le32)n); fs32_to_cpu()
76 run.allocation_group = le32_to_cpu((__force __le32)n.allocation_group); fsrun_to_cpu()
/linux-4.1.27/sound/pci/echoaudio/
H A Dechoaudio_3g.c53 box_status = le32_to_cpu(chip->comm_page->ext_box_status); check_asic_status()
66 return le32_to_cpu(chip->comm_page->e3g_frq_register); get_frq_reg()
179 control_reg = le32_to_cpu(chip->comm_page->control_register); set_professional_spdif()
197 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); detect_input_clocks()
276 control_reg = le32_to_cpu(chip->comm_page->control_register); set_sample_rate()
333 control_reg = le32_to_cpu(chip->comm_page->control_register) & set_input_clock()
335 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); set_input_clock()
406 control_reg = le32_to_cpu(chip->comm_page->control_register); dsp_set_digital_mode()
H A Dgina24_dsp.c102 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); detect_input_clocks()
182 control_reg = le32_to_cpu(chip->comm_page->control_register); set_sample_rate()
240 control_reg = le32_to_cpu(chip->comm_page->control_register) & set_input_clock()
242 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); set_input_clock()
314 control_reg = le32_to_cpu(chip->comm_page->control_register); dsp_set_digital_mode()
H A Dlayla24_dsp.c92 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); detect_input_clocks()
176 control_reg = le32_to_cpu(chip->comm_page->control_register); set_sample_rate()
254 control_reg = le32_to_cpu(chip->comm_page->control_register) & set_input_clock()
256 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); set_input_clock()
370 control_reg = le32_to_cpu(chip->comm_page->control_register); dsp_set_digital_mode()
H A Decho3g_dsp.c120 u32 control_reg = le32_to_cpu(chip->comm_page->control_register); set_phantom_power()
129 le32_to_cpu(chip->comm_page->e3g_frq_register), set_phantom_power()
H A Dmona_dsp.c95 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); detect_input_clocks()
244 control_reg = le32_to_cpu(chip->comm_page->control_register); set_sample_rate()
309 control_reg = le32_to_cpu(chip->comm_page->control_register) & set_input_clock()
311 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); set_input_clock()
395 control_reg = le32_to_cpu(chip->comm_page->control_register); dsp_set_digital_mode()
H A Dmia_dsp.c87 clocks_from_dsp = le32_to_cpu(chip->comm_page->status_clocks); detect_input_clocks()
138 if (control_reg != le32_to_cpu(chip->comm_page->control_register)) { set_sample_rate()
/linux-4.1.27/drivers/staging/i2o/
H A Ddriver.c192 u32 context = le32_to_cpu(msg->u.s.icntxt); i2o_driver_dispatch()
211 if ((le32_to_cpu(msg->u.head[1]) >> 24) == I2O_CMD_UTIL_EVT_REGISTER) { i2o_driver_dispatch()
215 u16 tid = le32_to_cpu(msg->u.head[1]) & 0xfff; i2o_driver_dispatch()
223 size = (le32_to_cpu(msg->u.head[0]) >> 16) - 5; i2o_driver_dispatch()
230 evt->tcntxt = le32_to_cpu(msg->u.s.tcntxt); i2o_driver_dispatch()
231 evt->event_indicator = le32_to_cpu(msg->body[0]); i2o_driver_dispatch()
H A Ddevice.c371 buf = le32_to_cpu(*dlct++); i2o_device_parse_lct()
383 lct->change_ind = le32_to_cpu(*dlct++); i2o_device_parse_lct()
384 lct->iop_flags = le32_to_cpu(*dlct++); i2o_device_parse_lct()
395 buf = le32_to_cpu(*dlct++); i2o_device_parse_lct()
399 entry->change_ind = le32_to_cpu(*dlct++); i2o_device_parse_lct()
400 entry->device_flags = le32_to_cpu(*dlct++); i2o_device_parse_lct()
402 buf = le32_to_cpu(*dlct++); i2o_device_parse_lct()
407 entry->sub_class = le32_to_cpu(*dlct++); i2o_device_parse_lct()
409 buf = le32_to_cpu(*dlct++); i2o_device_parse_lct()
417 entry->event_capabilities = le32_to_cpu(*dlct++); i2o_device_parse_lct()
/linux-4.1.27/drivers/staging/rtl8723au/hal/
H A Drtl8723au_recv.c144 report.rxdw0 = le32_to_cpu(prxstat->rxdw0); update_recvframe_attrib()
145 report.rxdw1 = le32_to_cpu(prxstat->rxdw1); update_recvframe_attrib()
146 report.rxdw2 = le32_to_cpu(prxstat->rxdw2); update_recvframe_attrib()
147 report.rxdw3 = le32_to_cpu(prxstat->rxdw3); update_recvframe_attrib()
148 report.rxdw4 = le32_to_cpu(prxstat->rxdw4); update_recvframe_attrib()
149 report.rxdw5 = le32_to_cpu(prxstat->rxdw5); update_recvframe_attrib()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_crb.c99 if ((le32_to_cpu(ioread32(&priv->cca->start)) & CRB_START_INVOKE) != crb_status()
115 if (le32_to_cpu(ioread32(&priv->cca->sts)) & CRB_CA_STS_ERROR) crb_recv()
151 if (len > le32_to_cpu(ioread32(&priv->cca->cmd_size))) { crb_send()
155 (size_t) le32_to_cpu(ioread32(&priv->cca->cmd_size))); crb_send()
191 u32 cancel = le32_to_cpu(ioread32(&priv->cca->cancel)); crb_req_canceled()
246 sm = le32_to_cpu(buf->start_method); crb_acpi_add()
/linux-4.1.27/fs/ocfs2/
H A Dexport.c246 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; ocfs2_fh_to_dentry()
247 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); ocfs2_fh_to_dentry()
248 handle.ih_generation = le32_to_cpu(fid->raw[2]); ocfs2_fh_to_dentry()
260 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; ocfs2_fh_to_parent()
261 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); ocfs2_fh_to_parent()
262 parent.ih_generation = le32_to_cpu(fid->raw[5]); ocfs2_fh_to_parent()
H A Dlocalalloc.c324 if (!(le32_to_cpu(alloc->i_flags) & ocfs2_load_local_alloc()
351 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), ocfs2_load_local_alloc()
352 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_load_local_alloc()
666 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != ocfs2_reserve_local_alloc_bits()
671 le32_to_cpu(alloc->id1.bitmap1.i_used), ocfs2_reserve_local_alloc_bits()
678 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - ocfs2_reserve_local_alloc_bits()
679 le32_to_cpu(alloc->id1.bitmap1.i_used); ocfs2_reserve_local_alloc_bits()
700 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - ocfs2_reserve_local_alloc_bits()
701 le32_to_cpu(alloc->id1.bitmap1.i_used); ocfs2_reserve_local_alloc_bits()
757 *bit_off = le32_to_cpu(la->la_bm_off) + start; ocfs2_claim_local_alloc_bits()
804 start = bit_off - le32_to_cpu(la->la_bm_off); ocfs2_free_local_alloc_bits()
881 left = le32_to_cpu(alloc->id1.bitmap1.i_total); ocfs2_local_alloc_find_clear_bits()
920 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_local_alloc_find_clear_bits()
977 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_sync_local_to_main()
978 le32_to_cpu(alloc->id1.bitmap1.i_used)); ocfs2_sync_local_to_main()
984 if (le32_to_cpu(alloc->id1.bitmap1.i_used) == ocfs2_sync_local_to_main()
985 le32_to_cpu(alloc->id1.bitmap1.i_total)) { ocfs2_sync_local_to_main()
990 le32_to_cpu(la->la_bm_off)); ocfs2_sync_local_to_main()
993 left = le32_to_cpu(alloc->id1.bitmap1.i_total); ocfs2_sync_local_to_main()
1175 le32_to_cpu(alloc->id1.bitmap1.i_total), ocfs2_local_alloc_new_window()
1240 le32_to_cpu(alloc->id1.bitmap1.i_total)); ocfs2_local_alloc_new_window()
H A Dextent_map.c235 ins.ei_cpos = le32_to_cpu(rec->e_cpos); ocfs2_extent_map_insert_rec()
339 if (v_cluster < le32_to_cpu(rec->e_cpos)) ocfs2_search_for_hole_index()
401 *num_clusters = le32_to_cpu(el->l_recs[i].e_cpos) - v_cluster; ocfs2_figure_hole_clusters()
475 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); ocfs2_get_clusters_nocache()
480 le32_to_cpu(rec->e_cpos), ocfs2_get_clusters_nocache()
534 u32 coff = v_cluster - le32_to_cpu(rec->e_cpos); ocfs2_relative_extent_offsets()
582 BUG_ON(v_cluster < le32_to_cpu(rec->e_cpos)); ocfs2_xattr_get_clusters()
587 le32_to_cpu(rec->e_cpos), ocfs2_xattr_get_clusters()
592 coff = v_cluster - le32_to_cpu(rec->e_cpos); ocfs2_xattr_get_clusters()
809 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; ocfs2_fiemap()
816 cpos = le32_to_cpu(rec.e_cpos)+ le16_to_cpu(rec.e_leaf_clusters); ocfs2_fiemap()
885 (cpos - le32_to_cpu(rec.e_cpos)); ocfs2_seek_data_hole_offset()
H A Dquota_local.c184 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { ocfs2_local_check_quota_file()
186 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), ocfs2_local_check_quota_file()
190 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { ocfs2_local_check_quota_file()
192 " type=%d\n", le32_to_cpu(dqhead->dqh_version), ocfs2_local_check_quota_file()
216 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { ocfs2_local_check_quota_file()
219 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); ocfs2_local_check_quota_file()
222 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { ocfs2_local_check_quota_file()
225 le32_to_cpu(dqhead->dqh_version), gversions[type], ocfs2_local_check_quota_file()
258 for (i = 0; i < le32_to_cpu(ldinfo->dqi_chunks); i++) { ocfs2_load_local_quota_bitmaps()
347 int i, chunks = le32_to_cpu(ldinfo->dqi_chunks); ocfs2_recovery_load_quota()
360 if (le32_to_cpu(dchunk->dqc_free) < ol_chunk_entries(sb)) ocfs2_recovery_load_quota()
637 flags = le32_to_cpu(ldinfo->dqi_flags); ocfs2_finish_quota_recovery()
734 oinfo->dqi_flags = le32_to_cpu(ldinfo->dqi_flags); ocfs2_local_read_info()
735 oinfo->dqi_chunks = le32_to_cpu(ldinfo->dqi_chunks); ocfs2_local_read_info()
736 oinfo->dqi_blocks = le32_to_cpu(ldinfo->dqi_blocks); ocfs2_local_read_info()
836 if (le32_to_cpu(dchunk->dqc_free) != len) { ocfs2_local_free_info()
934 if (le32_to_cpu(dchunk->dqc_free) > 0) { ocfs2_find_free_entry()
955 le32_to_cpu(dchunk->dqc_free), type); ocfs2_find_free_entry()
H A Dinode.c288 BUG_ON(le32_to_cpu(fe->i_fs_generation) != osb->fs_generation); ocfs2_populate_inode()
291 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); ocfs2_populate_inode()
292 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); ocfs2_populate_inode()
296 inode->i_generation = le32_to_cpu(fe->i_generation); ocfs2_populate_inode()
299 i_uid_write(inode, le32_to_cpu(fe->i_uid)); ocfs2_populate_inode()
300 i_gid_write(inode, le32_to_cpu(fe->i_gid)); ocfs2_populate_inode()
311 inode->i_atime.tv_nsec = le32_to_cpu(fe->i_atime_nsec); ocfs2_populate_inode()
313 inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); ocfs2_populate_inode()
315 inode->i_ctime.tv_nsec = le32_to_cpu(fe->i_ctime_nsec); ocfs2_populate_inode()
326 le32_to_cpu(fe->i_flags)); ocfs2_populate_inode()
382 BUG_ON(le32_to_cpu(fe->i_flags) & OCFS2_SYSTEM_FL); ocfs2_populate_inode()
914 le32_to_cpu(di->i_flags), oi->ip_flags); ocfs2_query_inode_wipe()
1301 OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters); ocfs2_refresh_inode()
1302 OCFS2_I(inode)->ip_attr = le32_to_cpu(fe->i_attr); ocfs2_refresh_inode()
1307 i_uid_write(inode, le32_to_cpu(fe->i_uid)); ocfs2_refresh_inode()
1308 i_gid_write(inode, le32_to_cpu(fe->i_gid)); ocfs2_refresh_inode()
1310 if (S_ISLNK(inode->i_mode) && le32_to_cpu(fe->i_clusters) == 0) ocfs2_refresh_inode()
1315 inode->i_atime.tv_nsec = le32_to_cpu(fe->i_atime_nsec); ocfs2_refresh_inode()
1317 inode->i_mtime.tv_nsec = le32_to_cpu(fe->i_mtime_nsec); ocfs2_refresh_inode()
1319 inode->i_ctime.tv_nsec = le32_to_cpu(fe->i_ctime_nsec); ocfs2_refresh_inode()
1373 if (le32_to_cpu(di->i_fs_generation) != ocfs2_validate_inode_block()
1378 le32_to_cpu(di->i_fs_generation)); ocfs2_validate_inode_block()
H A Drefcounttree.c121 if (le32_to_cpu(rb->rf_fs_generation) != OCFS2_SB(sb)->fs_generation) { ocfs2_validate_refcount_block()
126 le32_to_cpu(rb->rf_fs_generation)); ocfs2_validate_refcount_block()
374 new->rf_generation = le32_to_cpu(ref_rb->rf_generation); ocfs2_get_refcount_tree()
497 if (tree->rf_generation != le32_to_cpu(rb->rf_generation)) { ocfs2_lock_refcount_tree()
662 new_tree->rf_generation = le32_to_cpu(rb->rf_generation); ocfs2_create_refcount_tree()
796 if (le32_to_cpu(rb->rf_count) == 1) { ocfs2_remove_refcount_tree()
899 le32_to_cpu(rec->r_clusters) <= cpos) ocfs2_find_refcount_rec_in_rl()
985 *cpos_end = le32_to_cpu(el->l_recs[index+1].e_cpos); ocfs2_get_refcount_cpos_end()
1013 cpos = le32_to_cpu(eb->h_list.l_recs[index].e_cpos); ocfs2_get_refcount_cpos_end()
1046 *cpos_end = le32_to_cpu(tmp_el->l_recs[i+1].e_cpos); ocfs2_get_refcount_cpos_end()
1083 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) { ocfs2_get_refcount_rec()
1119 if (le32_to_cpu(rec->e_cpos) <= low_cpos) { ocfs2_get_refcount_rec()
1166 le32_to_cpu(rb->rf_records.rl_recs[index].r_clusters) == ocfs2_refcount_rec_adjacent()
1205 le32_to_cpu(rb->rf_records.rl_recs[index+1].r_clusters)); ocfs2_rotate_refcount_rec_left()
1265 index, le32_to_cpu(rec->r_refcount), change); ocfs2_change_refcount_rec()
1374 if (ocfs2_get_ref_rec_low_cpos(prev) + le32_to_cpu(prev->r_clusters) <= ocfs2_refcount_rec_no_intersect()
1543 BUG_ON(!(le32_to_cpu(root_rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)); ocfs2_new_leaf_refcount_block()
1678 if (!(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL)) ocfs2_adjust_refcount_rec()
1682 old_cpos = le32_to_cpu(rb->rf_cpos); ocfs2_adjust_refcount_rec()
1730 if (le32_to_cpu(el->l_recs[i].e_cpos) == old_cpos) ocfs2_adjust_refcount_rec()
1762 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); ocfs2_insert_refcount_rec()
1766 u32 len = le32_to_cpu(rec->r_clusters); ocfs2_insert_refcount_rec()
1804 le32_to_cpu(rec->r_clusters), le32_to_cpu(rec->r_refcount)); ocfs2_insert_refcount_rec()
1854 BUG_ON(le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL); ocfs2_split_refcount_rec()
1857 le32_to_cpu(orig_rec->r_clusters), ocfs2_split_refcount_rec()
1858 le32_to_cpu(orig_rec->r_refcount), ocfs2_split_refcount_rec()
1860 le32_to_cpu(split_rec->r_clusters), ocfs2_split_refcount_rec()
1861 le32_to_cpu(split_rec->r_refcount)); ocfs2_split_refcount_rec()
1871 le32_to_cpu(split_rec->r_clusters) == ocfs2_split_refcount_rec()
1872 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) ocfs2_split_refcount_rec()
1884 le32_to_cpu(split_rec->r_clusters) != ocfs2_split_refcount_rec()
1885 le64_to_cpu(orig_rec->r_cpos) + le32_to_cpu(orig_rec->r_clusters))) ocfs2_split_refcount_rec()
1893 len = le32_to_cpu(orig_rec->r_clusters); ocfs2_split_refcount_rec()
1938 le32_to_cpu(orig_rec->r_clusters)) - ocfs2_split_refcount_rec()
1940 le32_to_cpu(split_rec->r_clusters)); ocfs2_split_refcount_rec()
1951 le32_to_cpu(tail_rec->r_clusters) - len); ocfs2_split_refcount_rec()
1978 le32_to_cpu(split_rec->r_clusters), ocfs2_split_refcount_rec()
1979 le32_to_cpu(split_rec->r_refcount)); ocfs2_split_refcount_rec()
2017 set_len = le32_to_cpu(rec.r_clusters); __ocfs2_increase_refcount()
2033 le32_to_cpu(rec.r_refcount)); __ocfs2_increase_refcount()
2064 set_len, le32_to_cpu(rec.r_refcount)); __ocfs2_increase_refcount()
2104 le32_to_cpu(rb->rf_cpos)); ocfs2_remove_refcount_extent()
2107 ret = ocfs2_remove_extent(handle, &et, le32_to_cpu(rb->rf_cpos), ocfs2_remove_refcount_extent()
2193 le64_to_cpu(rec->r_cpos) + le32_to_cpu(rec->r_clusters)); ocfs2_decrease_refcount_rec()
2200 len == le32_to_cpu(rec->r_clusters)) ocfs2_decrease_refcount_rec()
2261 r_count = le32_to_cpu(rec.r_refcount); __ocfs2_decrease_refcount()
2267 le32_to_cpu(rec.r_clusters)) - cpos; __ocfs2_decrease_refcount()
2278 if (le32_to_cpu(rec.r_refcount) == 1 && delete) { __ocfs2_decrease_refcount()
2434 le32_to_cpu(rec.r_clusters), ocfs2_calc_refcount_meta_credits()
2435 le32_to_cpu(rec.r_refcount), index); ocfs2_calc_refcount_meta_credits()
2438 le32_to_cpu(rec.r_clusters)) - cpos; ocfs2_calc_refcount_meta_credits()
2467 le32_to_cpu(rec.r_clusters)) ocfs2_calc_refcount_meta_credits()
2502 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) { ocfs2_calc_refcount_meta_credits()
2696 if (le32_to_cpu(rec->e_cpos) + ocfs2_refcount_cal_cow_clusters()
2706 *cow_start = le32_to_cpu(rec->e_cpos); ocfs2_refcount_cal_cow_clusters()
2714 (*cow_len && rec_end != le32_to_cpu(rec->e_cpos)) || ocfs2_refcount_cal_cow_clusters()
2715 (max_cpos <= le32_to_cpu(rec->e_cpos))) ocfs2_refcount_cal_cow_clusters()
2719 rec_end = le32_to_cpu(rec->e_cpos) + leaf_clusters; ocfs2_refcount_cal_cow_clusters()
2722 leaf_clusters = rec_end - le32_to_cpu(rec->e_cpos); ocfs2_refcount_cal_cow_clusters()
3273 le32_to_cpu(rec.r_clusters)) - p_cluster; ocfs2_make_clusters_writable()
3282 if (le32_to_cpu(rec.r_refcount) == 1) { ocfs2_make_clusters_writable()
3564 u32 cpos = 0, clusters = le32_to_cpu(xv->xr_clusters); ocfs2_refcounted_xattr_delete_need()
3609 if (num_clusters <= le32_to_cpu(rec.r_clusters)) ocfs2_refcounted_xattr_delete_need()
3612 num_clusters -= le32_to_cpu(rec.r_clusters); ocfs2_refcounted_xattr_delete_need()
3622 if (le32_to_cpu(rb->rf_flags) & OCFS2_REFCOUNT_TREE_FL) ocfs2_refcounted_xattr_delete_need()
H A Dalloc.c203 oi->ip_clusters = le32_to_cpu(di->i_clusters); ocfs2_dinode_update_clusters()
231 (oi->ip_clusters != le32_to_cpu(rec->e_cpos)), ocfs2_dinode_insert_check()
783 rec_start = le32_to_cpu(rec->e_cpos); ocfs2_search_extent_list()
818 left_range = le32_to_cpu(left->e_cpos) + ocfs2_extents_adjacent()
821 return (left_range == le32_to_cpu(right->e_cpos)); ocfs2_extents_adjacent()
927 if (le32_to_cpu(eb->h_fs_generation) != OCFS2_SB(sb)->fs_generation) { ocfs2_validate_extent_block()
932 le32_to_cpu(eb->h_fs_generation)); ocfs2_validate_extent_block()
1096 return le32_to_cpu(el->l_recs[i].e_cpos) + ocfs2_sum_rightmost_rec()
1602 u32 insert_cpos = le32_to_cpu(insert_rec->e_cpos); ocfs2_rotate_leaf()
1635 if (insert_cpos < le32_to_cpu(rec->e_cpos)) ocfs2_rotate_leaf()
1808 range = le32_to_cpu(rec->e_cpos) + __ocfs2_find_path()
1810 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) __ocfs2_find_path()
1963 left_clusters = le32_to_cpu(right_child_el->l_recs[0].e_cpos); ocfs2_adjust_adjacent_records()
1967 left_clusters = le32_to_cpu(right_child_el->l_recs[1].e_cpos); ocfs2_adjust_adjacent_records()
1969 left_clusters -= le32_to_cpu(left_rec->e_cpos); ocfs2_adjust_adjacent_records()
1977 right_end = le32_to_cpu(right_rec->e_cpos); ocfs2_adjust_adjacent_records()
1978 right_end += le32_to_cpu(right_rec->e_int_clusters); ocfs2_adjust_adjacent_records()
1983 right_end -= le32_to_cpu(right_rec->e_cpos); ocfs2_adjust_adjacent_records()
2247 *cpos = le32_to_cpu(el->l_recs[j - 1].e_cpos); ocfs2_find_cpos_for_left_leaf()
2314 if (insert_cpos > le32_to_cpu(rec->e_cpos)) ocfs2_rotate_requires_path_adjustment()
2336 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); ocfs2_leftmost_rec_contains()
2337 if (cpos >= le32_to_cpu(rec->e_cpos) && cpos < range) ocfs2_leftmost_rec_contains()
2558 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); ocfs2_update_edge_lengths()
2566 le32_add_cpu(&rec->e_int_clusters, -le32_to_cpu(rec->e_cpos)); ocfs2_update_edge_lengths()
2866 *cpos = le32_to_cpu(el->l_recs[j + 1].e_cpos); ocfs2_find_cpos_for_right_leaf()
3385 BUG_ON(le32_to_cpu(left_rec->e_cpos) + ocfs2_merge_rec_right()
3387 le32_to_cpu(right_rec->e_cpos)); ocfs2_merge_rec_right()
3547 BUG_ON(le32_to_cpu(left_rec->e_cpos) + ocfs2_merge_rec_left()
3549 le32_to_cpu(split_rec->e_cpos)); ocfs2_merge_rec_left()
3835 i = ocfs2_search_extent_list(el, le32_to_cpu(insert_rec->e_cpos)); ocfs2_insert_at_leaf()
3875 range = le32_to_cpu(rec->e_cpos) ocfs2_insert_at_leaf()
3877 BUG_ON(le32_to_cpu(insert_rec->e_cpos) < range); ocfs2_insert_at_leaf()
3888 le32_to_cpu(el->l_recs[i].e_cpos), ocfs2_insert_at_leaf()
3890 le32_to_cpu(insert_rec->e_cpos), ocfs2_insert_at_leaf()
3944 -le32_to_cpu(rec->e_cpos)); ocfs2_adjust_rightmost_records()
3989 le32_to_cpu(insert_rec->e_cpos), ocfs2_append_rec_to_path()
4042 u32 cpos = le32_to_cpu(split_rec->e_cpos); ocfs2_split_record()
4239 cpos = le32_to_cpu(insert_rec->e_cpos); ocfs2_do_insert_extent()
4266 le32_to_cpu(insert_rec->e_cpos), ocfs2_do_insert_extent()
4490 u32 cpos = le32_to_cpu(insert_rec->e_cpos); ocfs2_figure_appending_type()
4510 (le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters))) ocfs2_figure_appending_type()
4597 ret = ocfs2_find_path(et->et_ci, path, le32_to_cpu(insert_rec->e_cpos)); ocfs2_figure_insert_type()
4849 u32 rec_cpos = le32_to_cpu(rec->e_cpos); ocfs2_make_right_split_rec()
4912 insert_range = le32_to_cpu(split_rec.e_cpos) + ocfs2_split_and_insert()
4914 rec_range = le32_to_cpu(rec.e_cpos) + ocfs2_split_and_insert()
4952 cpos = le32_to_cpu(split_rec.e_cpos); ocfs2_split_and_insert()
5034 if (le32_to_cpu(rec->e_cpos) > le32_to_cpu(split_rec->e_cpos) || ocfs2_split_extent()
5035 ((le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters)) < ocfs2_split_extent()
5036 (le32_to_cpu(split_rec->e_cpos) + le16_to_cpu(split_rec->e_leaf_clusters)))) { ocfs2_split_extent()
5349 le32_to_cpu(rec->e_cpos) == cpos) { ocfs2_truncate_rec()
5406 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); ocfs2_truncate_rec()
5409 if (le32_to_cpu(rec->e_cpos) == cpos && rec_range == trunc_range) { ocfs2_truncate_rec()
5426 } else if (le32_to_cpu(rec->e_cpos) == cpos) { ocfs2_truncate_rec()
5441 le32_to_cpu(rec->e_cpos), ocfs2_truncate_rec()
5527 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); ocfs2_remove_extent()
5530 BUG_ON(cpos < le32_to_cpu(rec->e_cpos) || trunc_range > rec_range); ocfs2_remove_extent()
5534 cpos, len, index, le32_to_cpu(rec->e_cpos), ocfs2_remove_extent()
5537 if (le32_to_cpu(rec->e_cpos) == cpos || rec_range == trunc_range) { ocfs2_remove_extent()
5580 rec_range = le32_to_cpu(rec->e_cpos) + ocfs2_remove_extent()
5587 cpos, len, le32_to_cpu(rec->e_cpos), ocfs2_remove_extent()
5799 current_tail = le32_to_cpu(tl->tl_recs[tail_index].t_start); ocfs2_truncate_log_can_coalesce()
5800 current_tail += le32_to_cpu(tl->tl_recs[tail_index].t_clusters); ocfs2_truncate_log_can_coalesce()
5863 num_clusters += le32_to_cpu(tl->tl_recs[index].t_clusters); ocfs2_truncate_log_append()
5866 index, le32_to_cpu(tl->tl_recs[index].t_start), ocfs2_truncate_log_append()
5925 le32_to_cpu(rec.t_start)); ocfs2_replay_truncate_records()
5926 num_clusters = le32_to_cpu(rec.t_clusters); ocfs2_replay_truncate_records()
5933 i, le32_to_cpu(rec.t_start), num_clusters); ocfs2_replay_truncate_records()
6211 clusters = le32_to_cpu(tl->tl_recs[i].t_clusters); ocfs2_complete_truncate_log_recovery()
6212 start_cluster = le32_to_cpu(tl->tl_recs[i].t_start); ocfs2_complete_truncate_log_recovery()
7088 range = le32_to_cpu(rec->e_cpos) + ocfs2_rec_clusters(el, rec); ocfs2_commit_truncate()
7102 trunc_cpos = le32_to_cpu(rec->e_cpos); ocfs2_commit_truncate()
7105 } else if (le32_to_cpu(rec->e_cpos) >= new_highest_cpos) { ocfs2_commit_truncate()
7109 trunc_cpos = le32_to_cpu(rec->e_cpos); ocfs2_commit_truncate()
7119 coff = new_highest_cpos - le32_to_cpu(rec->e_cpos); ocfs2_commit_truncate()
7343 if (start >= le32_to_cpu(main_bm->i_clusters)) { ocfs2_trim_fs()
7349 if (start + len > le32_to_cpu(main_bm->i_clusters)) ocfs2_trim_fs()
7350 len = le32_to_cpu(main_bm->i_clusters) - start; ocfs2_trim_fs()
/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dfw.c261 barker->data[0] = le32_to_cpu(barker_id); i2400m_barker_db_add()
262 barker->data[1] = le32_to_cpu(barker_id); i2400m_barker_db_add()
263 barker->data[2] = le32_to_cpu(barker_id); i2400m_barker_db_add()
264 barker->data[3] = le32_to_cpu(barker_id); i2400m_barker_db_add()
403 index, le32_to_cpu(i2400m->barker->data[0])); i2400m_is_boot_barker()
416 i, le32_to_cpu(barker->data[0])); i2400m_is_boot_barker()
417 if (barker->data[0] == le32_to_cpu(I2400M_NBOOT_BARKER)) i2400m_is_boot_barker()
425 le32_to_cpu(i2400m->barker->data[0]), i2400m_is_boot_barker()
426 le32_to_cpu(barker->data[0])); i2400m_is_boot_barker()
430 i, le32_to_cpu(barker->data[0])); i2400m_is_boot_barker()
485 ack->data_size = le32_to_cpu(ack->data_size); __i2400m_bm_ack_verify()
486 ack->target_addr = le32_to_cpu(ack->target_addr); __i2400m_bm_ack_verify()
487 ack->block_checksum = le32_to_cpu(ack->block_checksum); __i2400m_bm_ack_verify()
516 (size_t) le32_to_cpu(ack->data_size) + sizeof(*ack)); __i2400m_bm_ack_verify()
717 offset = le32_to_cpu(bcf->header_len) * sizeof(u32); i2400m_dnload_bcf()
720 data_size = le32_to_cpu(bh->data_size); i2400m_dnload_bcf()
725 le32_to_cpu(bh->target_addr)); i2400m_dnload_bcf()
807 le32_to_cpu(cmd->target_addr)); i2400m_dnload_finalize()
818 le32_to_cpu(cmd->target_addr)); i2400m_dnload_finalize()
823 + le32_to_cpu(bcf_hdr->key_size) * sizeof(u32) i2400m_dnload_finalize()
824 + le32_to_cpu(bcf_hdr->exponent_size) * sizeof(u32); i2400m_dnload_finalize()
826 le32_to_cpu(bcf_hdr->modulus_size) * sizeof(u32); i2400m_dnload_finalize()
934 le32_to_cpu(i2400m->barker->data[0])); i2400m_bootrom_init()
947 i, le32_to_cpu(barker->data[0])); i2400m_bootrom_init()
1196 module_type = le32_to_cpu(bcf_hdr->module_type); i2400m_fw_hdr_check()
1197 header_len = sizeof(u32) * le32_to_cpu(bcf_hdr->header_len); i2400m_fw_hdr_check()
1198 major_version = (le32_to_cpu(bcf_hdr->header_version) & 0xffff0000) i2400m_fw_hdr_check()
1200 minor_version = le32_to_cpu(bcf_hdr->header_version) & 0x0000ffff; i2400m_fw_hdr_check()
1201 module_id = le32_to_cpu(bcf_hdr->module_id); i2400m_fw_hdr_check()
1202 module_vendor = le32_to_cpu(bcf_hdr->module_vendor); i2400m_fw_hdr_check()
1203 date = le32_to_cpu(bcf_hdr->date); i2400m_fw_hdr_check()
1204 size = sizeof(u32) * le32_to_cpu(bcf_hdr->size); i2400m_fw_hdr_check()
1281 header_len = sizeof(u32) * le32_to_cpu(bcf_hdr->header_len); i2400m_fw_check()
1282 size = sizeof(u32) * le32_to_cpu(bcf_hdr->size); i2400m_fw_check()
1326 u32 barker = le32_to_cpu(i2400m->barker->data[0]) i2400m_bcf_hdr_match()
1328 u32 module_id = le32_to_cpu(bcf_hdr->module_id) i2400m_bcf_hdr_match()
1345 u32 barker = le32_to_cpu(i2400m->barker->data[0]); i2400m_bcf_hdr_find()
1351 "barker\n", 0, le32_to_cpu(bcf_hdr->module_id)); i2400m_bcf_hdr_find()
1358 i, le32_to_cpu(bcf_hdr->module_id)); i2400m_bcf_hdr_find()
1362 i, le32_to_cpu(bcf_hdr->module_id)); i2400m_bcf_hdr_find()
1438 bcf_size = sizeof(u32) * le32_to_cpu(bcf_hdr->size); i2400m_fw_dnload()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_nx.c2600 s_addr = le32_to_cpu(pollrd_hdr->select_addr); qla83xx_minidump_process_pollrd()
2601 r_addr = le32_to_cpu(pollrd_hdr->read_addr); qla83xx_minidump_process_pollrd()
2602 s_value = le32_to_cpu(pollrd_hdr->select_value); qla83xx_minidump_process_pollrd()
2603 s_stride = le32_to_cpu(pollrd_hdr->select_value_stride); qla83xx_minidump_process_pollrd()
2605 poll_wait = le32_to_cpu(pollrd_hdr->poll_wait); qla83xx_minidump_process_pollrd()
2606 poll_mask = le32_to_cpu(pollrd_hdr->poll_mask); qla83xx_minidump_process_pollrd()
2608 for (i = 0; i < le32_to_cpu(pollrd_hdr->op_count); i++) { qla83xx_minidump_process_pollrd()
2610 poll_wait = le32_to_cpu(pollrd_hdr->poll_wait); qla83xx_minidump_process_pollrd()
2653 addr1 = le32_to_cpu(rddfe->addr_1); qla4_84xx_minidump_process_rddfe()
2654 value = le32_to_cpu(rddfe->value); qla4_84xx_minidump_process_rddfe()
2655 stride = le32_to_cpu(rddfe->stride); qla4_84xx_minidump_process_rddfe()
2656 stride2 = le32_to_cpu(rddfe->stride2); qla4_84xx_minidump_process_rddfe()
2657 count = le32_to_cpu(rddfe->count); qla4_84xx_minidump_process_rddfe()
2659 poll = le32_to_cpu(rddfe->poll); qla4_84xx_minidump_process_rddfe()
2660 mask = le32_to_cpu(rddfe->mask); qla4_84xx_minidump_process_rddfe()
2661 modify_mask = le32_to_cpu(rddfe->modify_mask); qla4_84xx_minidump_process_rddfe()
2662 data_size = le32_to_cpu(rddfe->data_size); qla4_84xx_minidump_process_rddfe()
2748 addr1 = le32_to_cpu(rdmdio->addr_1); qla4_84xx_minidump_process_rdmdio()
2749 addr2 = le32_to_cpu(rdmdio->addr_2); qla4_84xx_minidump_process_rdmdio()
2750 value1 = le32_to_cpu(rdmdio->value_1); qla4_84xx_minidump_process_rdmdio()
2751 stride1 = le32_to_cpu(rdmdio->stride_1); qla4_84xx_minidump_process_rdmdio()
2752 stride2 = le32_to_cpu(rdmdio->stride_2); qla4_84xx_minidump_process_rdmdio()
2753 count = le32_to_cpu(rdmdio->count); qla4_84xx_minidump_process_rdmdio()
2755 poll = le32_to_cpu(rdmdio->poll); qla4_84xx_minidump_process_rdmdio()
2756 mask = le32_to_cpu(rdmdio->mask); qla4_84xx_minidump_process_rdmdio()
2757 value2 = le32_to_cpu(rdmdio->value_2); qla4_84xx_minidump_process_rdmdio()
2798 stride2 = le32_to_cpu(rdmdio->stride_2); qla4_84xx_minidump_process_rdmdio()
2820 addr1 = le32_to_cpu(pollwr_hdr->addr_1); qla4_84xx_minidump_process_pollwr()
2821 addr2 = le32_to_cpu(pollwr_hdr->addr_2); qla4_84xx_minidump_process_pollwr()
2822 value1 = le32_to_cpu(pollwr_hdr->value_1); qla4_84xx_minidump_process_pollwr()
2823 value2 = le32_to_cpu(pollwr_hdr->value_2); qla4_84xx_minidump_process_pollwr()
2825 poll = le32_to_cpu(pollwr_hdr->poll); qla4_84xx_minidump_process_pollwr()
2826 mask = le32_to_cpu(pollwr_hdr->mask); qla4_84xx_minidump_process_pollwr()
2869 sel_val1 = le32_to_cpu(rdmux2_hdr->select_value_1); qla83xx_minidump_process_rdmux2()
2870 sel_val2 = le32_to_cpu(rdmux2_hdr->select_value_2); qla83xx_minidump_process_rdmux2()
2871 sel_addr1 = le32_to_cpu(rdmux2_hdr->select_addr_1); qla83xx_minidump_process_rdmux2()
2872 sel_addr2 = le32_to_cpu(rdmux2_hdr->select_addr_2); qla83xx_minidump_process_rdmux2()
2873 sel_val_mask = le32_to_cpu(rdmux2_hdr->select_value_mask); qla83xx_minidump_process_rdmux2()
2874 read_addr = le32_to_cpu(rdmux2_hdr->read_addr); qla83xx_minidump_process_rdmux2()
2913 addr_1 = le32_to_cpu(poll_hdr->addr_1); qla83xx_minidump_process_pollrdmwr()
2914 addr_2 = le32_to_cpu(poll_hdr->addr_2); qla83xx_minidump_process_pollrdmwr()
2915 value_1 = le32_to_cpu(poll_hdr->value_1); qla83xx_minidump_process_pollrdmwr()
2916 value_2 = le32_to_cpu(poll_hdr->value_2); qla83xx_minidump_process_pollrdmwr()
2917 poll_mask = le32_to_cpu(poll_hdr->poll_mask); qla83xx_minidump_process_pollrdmwr()
2921 poll_wait = le32_to_cpu(poll_hdr->poll_wait); qla83xx_minidump_process_pollrdmwr()
2939 data &= le32_to_cpu(poll_hdr->modify_mask); qla83xx_minidump_process_pollrdmwr()
2943 poll_wait = le32_to_cpu(poll_hdr->poll_wait); qla83xx_minidump_process_pollrdmwr()
2977 fl_addr = le32_to_cpu(rom_hdr->read_addr); qla4_83xx_minidump_process_rdrom()
2978 u32_count = le32_to_cpu(rom_hdr->read_data_size)/sizeof(uint32_t); qla4_83xx_minidump_process_rdrom()
3769 start = le32_to_cpu(region->start) >> 2; qla4_8xxx_get_flt_info()
3772 "end=0x%x size=0x%x.\n", le32_to_cpu(region->code), start, qla4_8xxx_get_flt_info()
3773 le32_to_cpu(region->end) >> 2, le32_to_cpu(region->size))); qla4_8xxx_get_flt_info()
3775 switch (le32_to_cpu(region->code) & 0xff) { qla4_8xxx_get_flt_info()
3794 hw->flt_chap_size = le32_to_cpu(region->size); qla4_8xxx_get_flt_info()
3798 hw->flt_ddb_size = le32_to_cpu(region->size); qla4_8xxx_get_flt_info()
3872 hw->fdt_block_size = le32_to_cpu(fdt->block_size); qla4_82xx_get_fdt_info()
3910 ha->nx_dev_init_timeout = le32_to_cpu(*wptr++); qla4_82xx_get_idc_param()
3911 ha->nx_reset_timeout = le32_to_cpu(*wptr); qla4_82xx_get_idc_param()
/linux-4.1.27/drivers/net/wireless/p54/
H A Dp54pci.c143 idx = le32_to_cpu(ring_control->host_idx[ring_index]); p54p_refill_rx_ring()
197 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); p54p_check_rx_ring()
220 dma_addr = le32_to_cpu(desc->host_addr); p54p_check_rx_ring()
255 (*index) = idx = le32_to_cpu(ring_control->device_idx[ring_index]); p54p_check_tx_ring()
264 pci_unmap_single(priv->pdev, le32_to_cpu(desc->host_addr), p54p_check_tx_ring()
337 idx = le32_to_cpu(ring_control->host_idx[1]); p54p_tx()
385 le32_to_cpu(desc->host_addr), p54p_stop()
396 le32_to_cpu(desc->host_addr), p54p_stop()
407 le32_to_cpu(desc->host_addr), p54p_stop()
419 le32_to_cpu(desc->host_addr), p54p_stop()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dacl.c66 d->e_id = le32_to_cpu(s->e_id); lustre_ext_acl_le_to_cpu()
67 d->e_stat = le32_to_cpu(s->e_stat); lustre_ext_acl_le_to_cpu()
84 d->e_id = le32_to_cpu(s->e_id); lustre_posix_acl_le_to_cpu()
121 int ext_count = le32_to_cpu((*header)->a_count); lustre_ext_acl_xattr_reduce_space()
193 id = le32_to_cpu(header->a_entries[i].e_id); lustre_posix_acl_xattr_filter()
256 OBD_FREE(header, CFS_ACL_XATTR_SIZE(le32_to_cpu(header->a_count), \ lustre_ext_acl_xattr_free()
265 int once, start, end, i, j, count = le32_to_cpu(header->a_count); lustre_ext_acl_xattr_search()
301 int ext_count = le32_to_cpu(ext_header->a_count), pos = 0, rc = 0; lustre_acl_xattr_merge2posix()
308 if (ee == NULL || le32_to_cpu(ee->e_stat) == ES_DEL) { lustre_acl_xattr_merge2posix()
431 ori_ext_count = le32_to_cpu(ext_header->a_count); lustre_acl_xattr_merge2ext()
H A Dobdo.c354 dobdo->o_mode = le32_to_cpu(sobdo->o_mode); obdo_le_to_cpu()
355 dobdo->o_uid = le32_to_cpu(sobdo->o_uid); obdo_le_to_cpu()
356 dobdo->o_gid = le32_to_cpu(sobdo->o_gid); obdo_le_to_cpu()
357 dobdo->o_flags = le32_to_cpu(sobdo->o_flags); obdo_le_to_cpu()
358 dobdo->o_nlink = le32_to_cpu(sobdo->o_nlink); obdo_le_to_cpu()
359 dobdo->o_blksize = le32_to_cpu(sobdo->o_blksize); obdo_le_to_cpu()
/linux-4.1.27/fs/cifs/
H A Dcifsacl.c129 saval = le32_to_cpu(sidptr->sub_auth[i]); sid_to_key_str()
175 if (le32_to_cpu(ctsid->sub_auth[i]) > compare_sids()
176 le32_to_cpu(cwsid->sub_auth[i])) compare_sids()
417 le32_to_cpu(pntsd->osidoffset)); copy_sec_desc()
423 le32_to_cpu(pntsd->gsidoffset)); copy_sec_desc()
440 __u32 flags = le32_to_cpu(ace_flags); access_flags_to_mode()
571 i, le32_to_cpu(pace->sid.sub_auth[i])); dump_ace()
610 le32_to_cpu(pdacl->num_aces)); parse_dacl()
620 num_aces = le32_to_cpu(pdacl->num_aces); parse_dacl()
716 i, le32_to_cpu(psid->sub_auth[i])); parse_sid()
722 le32_to_cpu(psid->sub_auth[psid->num_subauth-1])); parse_sid()
744 le32_to_cpu(pntsd->osidoffset)); parse_sec_desc()
746 le32_to_cpu(pntsd->gsidoffset)); parse_sec_desc()
747 dacloffset = le32_to_cpu(pntsd->dacloffset); parse_sec_desc()
750 pntsd->revision, pntsd->type, le32_to_cpu(pntsd->osidoffset), parse_sec_desc()
751 le32_to_cpu(pntsd->gsidoffset), parse_sec_desc()
752 le32_to_cpu(pntsd->sacloffset), dacloffset); parse_sec_desc()
803 le32_to_cpu(pntsd->osidoffset)); build_sec_desc()
805 le32_to_cpu(pntsd->gsidoffset)); build_sec_desc()
806 dacloffset = le32_to_cpu(pntsd->dacloffset); build_sec_desc()
825 le32_to_cpu(pnntsd->osidoffset)); build_sec_desc()
845 le32_to_cpu(pnntsd->gsidoffset)); build_sec_desc()
H A Dsmb2misc.c268 *off = le32_to_cpu( smb2_get_data_area_len()
270 *len = le32_to_cpu( smb2_get_data_area_len()
276 *len = le32_to_cpu( smb2_get_data_area_len()
281 *len = le32_to_cpu(((struct smb2_read_rsp *)hdr)->DataLength); smb2_get_data_area_len()
286 *len = le32_to_cpu( smb2_get_data_area_len()
290 *off = le32_to_cpu( smb2_get_data_area_len()
292 *len = le32_to_cpu(((struct smb2_ioctl_rsp *)hdr)->OutputCount); smb2_get_data_area_len()
449 int ack_req = le32_to_cpu(rsp->Flags & smb2_tcon_has_lease()
452 lease_state = le32_to_cpu(rsp->NewLeaseState); smb2_tcon_has_lease()
464 le32_to_cpu(rsp->NewLeaseState)); smb2_tcon_has_lease()
494 le32_to_cpu(rsp->NewLeaseState)); smb2_tcon_has_lease()
H A Dsmb2ops.c281 le32_to_cpu(out_buf->Capability)); SMB3_request_interfaces()
641 if (le32_to_cpu(retbuf->TotalBytesWritten) > smb2_clone_range()
642 le32_to_cpu(pcchunk->Length)) { smb2_clone_range()
647 if (le32_to_cpu(retbuf->ChunksWritten) != 1) { smb2_clone_range()
654 src_off += le32_to_cpu(retbuf->TotalBytesWritten); smb2_clone_range()
655 dest_off += le32_to_cpu(retbuf->TotalBytesWritten); smb2_clone_range()
656 len -= le32_to_cpu(retbuf->TotalBytesWritten); smb2_clone_range()
659 le32_to_cpu(retbuf->ChunksWritten), smb2_clone_range()
660 le32_to_cpu(retbuf->ChunkBytesWritten), smb2_clone_range()
661 le32_to_cpu(retbuf->TotalBytesWritten)); smb2_clone_range()
667 le32_to_cpu(retbuf->ChunksWritten), smb2_clone_range()
668 le32_to_cpu(retbuf->ChunkBytesWritten), smb2_clone_range()
669 le32_to_cpu(retbuf->TotalBytesWritten)); smb2_clone_range()
682 if (le32_to_cpu(retbuf->ChunkBytesWritten) < smb2_clone_range()
685 le32_to_cpu(retbuf->ChunkBytesWritten); smb2_clone_range()
718 return le32_to_cpu(rsp->DataLength); smb2_read_data_length()
1373 return le32_to_cpu(lc->lcontext.LeaseState); smb2_parse_lease_buf()
1384 return le32_to_cpu(lc->lcontext.LeaseState); smb3_parse_lease_buf()
/linux-4.1.27/fs/ext4/
H A Dmigrate.c134 le32_to_cpu(i_data[i]), lb); update_ind_extent_range()
163 le32_to_cpu(i_data[i]), lb); update_dind_extent_range()
193 le32_to_cpu(i_data[i]), lb); update_tind_extent_range()
234 bh = sb_bread(inode->i_sb, le32_to_cpu(i_data)); free_dind_blocks()
243 le32_to_cpu(tmp_idata[i]), 1, free_dind_blocks()
250 ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1, free_dind_blocks()
264 bh = sb_bread(inode->i_sb, le32_to_cpu(i_data)); free_tind_blocks()
281 ext4_free_blocks(handle, inode, NULL, le32_to_cpu(i_data), 1, free_tind_blocks()
295 le32_to_cpu(i_data[0]), 1, free_ind_block()
537 le32_to_cpu(i_data[i]), &lb); ext4_ext_migrate()
545 le32_to_cpu(i_data[EXT4_IND_BLOCK]), &lb); ext4_ext_migrate()
552 le32_to_cpu(i_data[EXT4_DIND_BLOCK]), &lb); ext4_ext_migrate()
559 le32_to_cpu(i_data[EXT4_TIND_BLOCK]), &lb); ext4_ext_migrate()
666 start = le32_to_cpu(ex->ee_block); ext4_ind_migrate()
H A Dextents.c204 ext4_lblk_t ext_block = le32_to_cpu(ex->ee_block); ext4_ext_find_goal()
232 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); ext4_ext_new_meta_block()
377 ext4_lblk_t lblock = le32_to_cpu(ext->ee_block); ext4_valid_extent()
416 lblock = le32_to_cpu(ext->ee_block); ext4_valid_extent_entries()
534 ext4_lblk_t lblk = le32_to_cpu(ex->ee_block); __read_extent_tree_block()
633 ext_debug(" %d->%llu", le32_to_cpu(path->p_idx->ei_block), ext4_ext_show_path()
637 le32_to_cpu(path->p_ext->ee_block), ext4_ext_show_path()
663 ext_debug("%d:[%d]%d:%llu ", le32_to_cpu(ex->ee_block), ext4_ext_show_leaf()
681 le32_to_cpu(idx->ei_block), ext4_ext_show_move()
693 le32_to_cpu(ex->ee_block), ext4_ext_show_move()
741 if (block < le32_to_cpu(m->ei_block)) ext4_ext_binsearch_idx()
745 ext_debug("%p(%u):%p(%u):%p(%u) ", l, le32_to_cpu(l->ei_block), ext4_ext_binsearch_idx()
746 m, le32_to_cpu(m->ei_block), ext4_ext_binsearch_idx()
747 r, le32_to_cpu(r->ei_block)); ext4_ext_binsearch_idx()
751 ext_debug(" -> %u->%lld ", le32_to_cpu(path->p_idx->ei_block), ext4_ext_binsearch_idx()
762 le32_to_cpu(ix->ei_block) <= le32_to_cpu(ix[-1].ei_block)) { ext4_ext_binsearch_idx()
767 le32_to_cpu(ix->ei_block), ext4_ext_binsearch_idx()
768 le32_to_cpu(ix[-1].ei_block)); ext4_ext_binsearch_idx()
770 BUG_ON(k && le32_to_cpu(ix->ei_block) ext4_ext_binsearch_idx()
771 <= le32_to_cpu(ix[-1].ei_block)); ext4_ext_binsearch_idx()
772 if (block < le32_to_cpu(ix->ei_block)) ext4_ext_binsearch_idx()
809 if (block < le32_to_cpu(m->ee_block)) ext4_ext_binsearch()
813 ext_debug("%p(%u):%p(%u):%p(%u) ", l, le32_to_cpu(l->ee_block), ext4_ext_binsearch()
814 m, le32_to_cpu(m->ee_block), ext4_ext_binsearch()
815 r, le32_to_cpu(r->ee_block)); ext4_ext_binsearch()
820 le32_to_cpu(path->p_ext->ee_block), ext4_ext_binsearch()
832 BUG_ON(k && le32_to_cpu(ex->ee_block) ext4_ext_binsearch()
833 <= le32_to_cpu(ex[-1].ee_block)); ext4_ext_binsearch()
834 if (block < le32_to_cpu(ex->ee_block)) ext4_ext_binsearch()
957 if (unlikely(logical == le32_to_cpu(curp->p_idx->ei_block))) { ext4_ext_insert_index()
960 logical, le32_to_cpu(curp->p_idx->ei_block)); ext4_ext_insert_index()
973 if (logical > le32_to_cpu(curp->p_idx->ei_block)) { ext4_ext_insert_index()
1050 le32_to_cpu(border)); ext4_ext_split()
1055 le32_to_cpu(border)); ext4_ext_split()
1185 i, newblock, le32_to_cpu(border), oldblock); ext4_ext_split()
1192 le32_to_cpu(path[i].p_ext->ee_block)); ext4_ext_split()
1232 le32_to_cpu(border), newblock); ext4_ext_split()
1275 if (goal > le32_to_cpu(es->s_first_data_block)) { ext4_ext_grow_indepth()
1329 le32_to_cpu(EXT_FIRST_INDEX(neh)->ei_block), ext4_ext_grow_indepth()
1376 (ext4_lblk_t)le32_to_cpu(newext->ee_block), ext4_ext_create_new_leaf()
1388 (ext4_lblk_t)le32_to_cpu(newext->ee_block), ext4_ext_create_new_leaf()
1441 if (*logical < le32_to_cpu(ex->ee_block)) { ext4_ext_search_left()
1445 *logical, le32_to_cpu(ex->ee_block)); ext4_ext_search_left()
1453 ix != NULL ? le32_to_cpu(ix->ei_block) : 0, ext4_ext_search_left()
1455 le32_to_cpu(EXT_FIRST_INDEX(path[depth].p_hdr)->ei_block) : 0, ext4_ext_search_left()
1463 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { ext4_ext_search_left()
1466 *logical, le32_to_cpu(ex->ee_block), ee_len); ext4_ext_search_left()
1470 *logical = le32_to_cpu(ex->ee_block) + ee_len - 1; ext4_ext_search_left()
1511 if (*logical < le32_to_cpu(ex->ee_block)) { ext4_ext_search_right()
1530 if (unlikely(*logical < (le32_to_cpu(ex->ee_block) + ee_len))) { ext4_ext_search_right()
1533 *logical, le32_to_cpu(ex->ee_block), ee_len); ext4_ext_search_right()
1577 *logical = le32_to_cpu(ex->ee_block); ext4_ext_search_right()
1609 return le32_to_cpu(path[depth].p_ext[1].ee_block); ext4_ext_next_allocated_block()
1614 return le32_to_cpu(path[depth].p_idx[1].ei_block); ext4_ext_next_allocated_block()
1644 le32_to_cpu(path[depth].p_idx[1].ei_block); ext4_ext_next_leaf_block()
1726 if (le32_to_cpu(ex1->ee_block) + ext1_ee_len != ext4_can_extents_be_merged()
1727 le32_to_cpu(ex2->ee_block)) ext4_can_extents_be_merged()
1883 b1 = le32_to_cpu(newext->ee_block); ext4_ext_check_overlap()
1888 b2 = EXT4_LBLK_CMASK(sbi, le32_to_cpu(path[depth].p_ext->ee_block)); ext4_ext_check_overlap()
1961 (le32_to_cpu(ex->ee_block) + ext4_ext_insert_extent()
1963 le32_to_cpu(newext->ee_block))) { ext4_ext_insert_extent()
1967 (le32_to_cpu(newext->ee_block) + ext4_ext_insert_extent()
1969 le32_to_cpu(ex->ee_block))) ext4_ext_insert_extent()
1978 le32_to_cpu(ex->ee_block), ext4_ext_insert_extent()
2001 le32_to_cpu(newext->ee_block), ext4_ext_insert_extent()
2004 le32_to_cpu(ex->ee_block), ext4_ext_insert_extent()
2034 if (le32_to_cpu(newext->ee_block) > le32_to_cpu(fex->ee_block)) ext4_ext_insert_extent()
2077 le32_to_cpu(newext->ee_block), ext4_ext_insert_extent()
2083 if (le32_to_cpu(newext->ee_block) ext4_ext_insert_extent()
2084 > le32_to_cpu(nearex->ee_block)) { ext4_ext_insert_extent()
2088 le32_to_cpu(newext->ee_block), ext4_ext_insert_extent()
2099 le32_to_cpu(newext->ee_block), ext4_ext_insert_extent()
2109 le32_to_cpu(newext->ee_block), ext4_ext_insert_extent()
2187 } else if (le32_to_cpu(ex->ee_block) > block) { ext4_fill_fiemap_extents()
2190 end = le32_to_cpu(ex->ee_block); ext4_fill_fiemap_extents()
2193 } else if (block >= le32_to_cpu(ex->ee_block) ext4_fill_fiemap_extents()
2200 } else if (block >= le32_to_cpu(ex->ee_block)) { ext4_fill_fiemap_extents()
2206 end = le32_to_cpu(ex->ee_block) ext4_fill_fiemap_extents()
2221 es.es_lblk = le32_to_cpu(ex->ee_block); ext4_fill_fiemap_extents()
2314 } else if (block < le32_to_cpu(ex->ee_block)) { ext4_ext_put_gap_in_cache()
2316 len = le32_to_cpu(ex->ee_block) - block; ext4_ext_put_gap_in_cache()
2319 le32_to_cpu(ex->ee_block), ext4_ext_put_gap_in_cache()
2321 } else if (block >= le32_to_cpu(ex->ee_block) ext4_ext_put_gap_in_cache()
2324 lblock = le32_to_cpu(ex->ee_block) ext4_ext_put_gap_in_cache()
2329 le32_to_cpu(ex->ee_block), ext4_ext_put_gap_in_cache()
2523 if (from >= le32_to_cpu(ex->ee_block) ext4_remove_blocks()
2524 && to == le32_to_cpu(ex->ee_block) + ee_len - 1) { ext4_remove_blocks()
2529 num = le32_to_cpu(ex->ee_block) + ee_len - from; ext4_remove_blocks()
2569 from, to, le32_to_cpu(ex->ee_block), ee_len); ext4_remove_blocks()
2621 ex_ee_block = le32_to_cpu(ex->ee_block); ext4_ext_rm_leaf()
2659 ex_ee_block = le32_to_cpu(ex->ee_block); ext4_ext_rm_leaf()
2742 ex_ee_block = le32_to_cpu(ex->ee_block); ext4_ext_rm_leaf()
2848 ee_block = le32_to_cpu(ex->ee_block); ext4_ext_remove_space()
3104 ee_block = le32_to_cpu(ex->ee_block); ext4_zeroout_es()
3181 ee_block = le32_to_cpu(ex->ee_block); ext4_split_extent_at()
3316 ee_block = le32_to_cpu(ex->ee_block); ext4_split_extent()
3421 ee_block = le32_to_cpu(ex->ee_block); ext4_ext_convert_to_initialized()
3455 prev_lblk = le32_to_cpu(abut_ex->ee_block); ext4_ext_convert_to_initialized()
3501 next_lblk = le32_to_cpu(abut_ex->ee_block); ext4_ext_convert_to_initialized()
3682 ee_block = le32_to_cpu(ex->ee_block); ext4_split_convert_extents()
3712 ee_block = le32_to_cpu(ex->ee_block); ext4_convert_unwritten_extents_endio()
3804 if (lblk + len < le32_to_cpu(last_ex->ee_block) + check_eofblocks_fl()
3952 ee_block = le32_to_cpu(ex->ee_block); convert_initialized_extent()
4199 ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block); get_implied_cluster_alloc()
4316 ext4_lblk_t ee_block = le32_to_cpu(ex->ee_block); ext4_ext_map_blocks()
5259 *start = le32_to_cpu(ex_last->ee_block) + ext4_ext_shift_path_extents()
5328 stop_block = le32_to_cpu(extent->ee_block) + ext4_ext_shift_extents()
5345 ex_start = le32_to_cpu(extent->ee_block); ext4_ext_shift_extents()
5346 ex_end = le32_to_cpu(extent->ee_block) + ext4_ext_shift_extents()
5369 if (start > le32_to_cpu(extent->ee_block)) { ext4_ext_shift_extents()
5597 e1_blk = le32_to_cpu(ex1->ee_block); ext4_swap_extents()
5598 e2_blk = le32_to_cpu(ex2->ee_block); ext4_swap_extents()
H A Dmmp.c101 if (le32_to_cpu(mmp->mmp_magic) != EXT4_MMP_MAGIC || read_mmp_block()
174 if (!(le32_to_cpu(es->s_feature_incompat) & kmmpd()
281 if (mmp_block < le32_to_cpu(es->s_first_data_block) || ext4_multi_mount_protect()
303 seq = le32_to_cpu(mmp->mmp_seq); ext4_multi_mount_protect()
329 if (seq != le32_to_cpu(mmp->mmp_seq)) { ext4_multi_mount_protect()
358 if (seq != le32_to_cpu(mmp->mmp_seq)) { ext4_multi_mount_protect()
H A Dxattr.c207 le32_to_cpu(entry->e_value_size) > end)) ext4_xattr_check_names()
238 size_t value_size = le32_to_cpu(entry->e_value_size); ext4_xattr_check_entry()
295 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); ext4_xattr_block_get()
310 size = le32_to_cpu(entry->e_value_size); ext4_xattr_block_get()
353 size = le32_to_cpu(entry->e_value_size); ext4_xattr_ibody_get()
444 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); ext4_xattr_block_list()
591 le32_to_cpu(BHDR(bh)->h_refcount)); ext4_xattr_release_block()
635 size_t size = le32_to_cpu(s->here->e_value_size); ext4_xattr_set_entry()
661 le32_to_cpu(s->here->e_value_size)); ext4_xattr_set_entry()
750 le32_to_cpu(BHDR(bs->bh)->h_refcount)); ext4_xattr_block_find()
887 le32_to_cpu(BHDR(new_bh)->h_refcount)); ext4_xattr_block_set()
1243 BUG_ON(new_offs + le32_to_cpu(last->e_value_size) ext4_xattr_shift_entries()
1367 EXT4_XATTR_SIZE(le32_to_cpu(last->e_value_size)) + ext4_expand_extra_isize_ea()
1397 size = le32_to_cpu(entry->e_value_size); ext4_expand_extra_isize_ea()
1534 __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); ext4_xattr_cache_insert()
1585 le32_to_cpu(entry1->e_value_size))) ext4_xattr_cmp()
1608 __u32 hash = le32_to_cpu(header->h_hash); ext4_xattr_cache_find()
1630 } else if (le32_to_cpu(BHDR(bh)->h_refcount) >= ext4_xattr_cache_find()
1634 le32_to_cpu(BHDR(bh)->h_refcount), ext4_xattr_cache_find()
1670 for (n = (le32_to_cpu(entry->e_value_size) + ext4_xattr_hash_entry()
1674 le32_to_cpu(*value++); ext4_xattr_hash_entry()
1706 le32_to_cpu(here->e_hash); ext4_xattr_rehash()
H A Dacl.c61 le32_to_cpu(entry->e_id)); ext4_acl_from_disk()
69 le32_to_cpu(entry->e_id)); ext4_acl_from_disk()
H A Dblock_validity.c202 if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) || ext4_data_block_valid()
230 blk = le32_to_cpu(*bref++); ext4_check_blockref()
H A Ddir.c79 else if (unlikely(le32_to_cpu(de->inode) > __ext4_check_dir_entry()
80 le32_to_cpu(EXT4_SB(dir->i_sb)->s_es->s_inodes_count))) __ext4_check_dir_entry()
90 offset, le32_to_cpu(de->inode), __ext4_check_dir_entry()
97 offset, le32_to_cpu(de->inode), __ext4_check_dir_entry()
241 if (le32_to_cpu(de->inode)) { ext4_readdir()
246 le32_to_cpu(de->inode), ext4_readdir()
257 le32_to_cpu(de->inode), ext4_readdir()
444 new_fn->inode = le32_to_cpu(dirent->inode); ext4_htree_store_dirent()
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dfw.c69 if ((hdrsize + le32_to_cpu(hdr->block_offset)) > len) validate_fw()
71 if ((hdrsize + le32_to_cpu(hdr->pdr_offset)) > len) validate_fw()
73 if ((hdrsize + le32_to_cpu(hdr->pri_offset)) > len) validate_fw()
75 if ((hdrsize + le32_to_cpu(hdr->compat_offset)) > len) validate_fw()
153 err = hw->ops->program_init(hw, le32_to_cpu(hdr->entry_point)); orinoco_dl_firmware()
161 le32_to_cpu(hdr->block_offset)); orinoco_dl_firmware()
172 le32_to_cpu(hdr->pdr_offset)); orinoco_dl_firmware()
/linux-4.1.27/arch/parisc/lib/
H A Dio.c423 outl(le32_to_cpu(*(unsigned int *)p), port); outsl()
438 outl (le32_to_cpu(l << 16 | l2 >> 16), port); outsl()
442 outl (le32_to_cpu(l << 16 | l2), port); outsl()
456 outl (le32_to_cpu(l | l2 >> 24), port); outsl()
460 outl (le32_to_cpu(l | l2), port); outsl()
472 outl (le32_to_cpu(l | l2 >> 8), port); outsl()
478 outl (le32_to_cpu(l | l2), port); outsl()
/linux-4.1.27/fs/nilfs2/
H A Dthe_nilfs.c255 nilfs->ns_crc_seed = le32_to_cpu(sbp[0]->s_crc_seed); load_nilfs()
259 blocksize = BLOCK_SIZE << le32_to_cpu(sbp[0]->s_log_block_size); load_nilfs()
390 if (le32_to_cpu(sbp->s_rev_level) < NILFS_MIN_SUPP_REV) { nilfs_store_disk_layout()
394 le32_to_cpu(sbp->s_rev_level), nilfs_store_disk_layout()
414 nilfs->ns_first_ino = le32_to_cpu(sbp->s_first_ino); nilfs_store_disk_layout()
416 nilfs->ns_blocks_per_segment = le32_to_cpu(sbp->s_blocks_per_segment); nilfs_store_disk_layout()
424 le32_to_cpu(sbp->s_r_segments_percentage); nilfs_store_disk_layout()
432 nilfs->ns_crc_seed = le32_to_cpu(sbp->s_crc_seed); nilfs_store_disk_layout()
448 crc = crc32_le(le32_to_cpu(sbp->s_crc_seed), (unsigned char *)sbp, nilfs_valid_sb()
453 return crc == le32_to_cpu(sbp->s_sum); nilfs_valid_sb()
459 le32_to_cpu(sbp->s_blocks_per_segment)) << nilfs_sb2_bad_offset()
460 (le32_to_cpu(sbp->s_log_block_size) + 10)); nilfs_sb2_bad_offset()
599 blocksize = BLOCK_SIZE << le32_to_cpu(sbp->s_log_block_size); init_nilfs()
H A Drecovery.c171 if (crc != le32_to_cpu(sr->sr_sum)) { nilfs_read_super_root_block()
220 if (le32_to_cpu(sum->ss_magic) != NILFS_SEGSUM_MAGIC) nilfs_validate_log()
227 nblock = le32_to_cpu(sum->ss_nblocks); nilfs_validate_log()
240 if (crc != le32_to_cpu(sum->ss_datasum)) nilfs_validate_log()
327 nfinfo = le32_to_cpu(sum->ss_nfinfo); nilfs_scan_dsync_log()
331 sumbytes = le32_to_cpu(sum->ss_sumbytes); nilfs_scan_dsync_log()
348 nblocks = le32_to_cpu(finfo->fi_nblocks); nilfs_scan_dsync_log()
349 ndatablk = le32_to_cpu(finfo->fi_ndatablk); nilfs_scan_dsync_log()
664 pseg_start += le32_to_cpu(sum->ss_nblocks); nilfs_do_roll_forward()
857 nblocks = le32_to_cpu(sum->ss_nblocks); nilfs_search_super_root()
/linux-4.1.27/drivers/md/
H A Ddm-cache-metadata.c154 uint32_t metadata_version = le32_to_cpu(disk_super->version); check_metadata_version()
190 le32_to_cpu(csum_le), le32_to_cpu(disk_super->csum)); sb_check()
393 features = le32_to_cpu(disk_super->incompat_flags) & ~DM_CACHE_FEATURE_INCOMPAT_SUPP; __check_incompat_features()
406 features = le32_to_cpu(disk_super->compat_ro_flags) & ~DM_CACHE_FEATURE_COMPAT_RO_SUPP; __check_incompat_features()
432 if (le32_to_cpu(disk_super->data_block_size) != cmd->data_block_size) { __open_metadata()
434 le32_to_cpu(disk_super->data_block_size), __open_metadata()
455 sb_flags = le32_to_cpu(disk_super->flags); __open_metadata()
511 uint32_t sb_flags = mutator(le32_to_cpu(disk_super->flags)); update_flags()
535 cmd->data_block_size = le32_to_cpu(disk_super->data_block_size); read_superblock_fields()
536 cmd->cache_blocks = to_cblock(le32_to_cpu(disk_super->cache_blocks)); read_superblock_fields()
538 cmd->policy_version[0] = le32_to_cpu(disk_super->policy_version[0]); read_superblock_fields()
539 cmd->policy_version[1] = le32_to_cpu(disk_super->policy_version[1]); read_superblock_fields()
540 cmd->policy_version[2] = le32_to_cpu(disk_super->policy_version[2]); read_superblock_fields()
541 cmd->policy_hint_size = le32_to_cpu(disk_super->policy_hint_size); read_superblock_fields()
543 cmd->stats.read_hits = le32_to_cpu(disk_super->read_hits); read_superblock_fields()
544 cmd->stats.read_misses = le32_to_cpu(disk_super->read_misses); read_superblock_fields()
545 cmd->stats.write_hits = le32_to_cpu(disk_super->write_hits); read_superblock_fields()
546 cmd->stats.write_misses = le32_to_cpu(disk_super->write_misses); read_superblock_fields()
1131 dirty, le32_to_cpu(hint_value), thunk->hints_valid); __load_mapping()
/linux-4.1.27/fs/ext3/
H A Dsuper.c333 if (le32_to_cpu(es->s_rev_level) > EXT3_GOOD_OLD_REV) ext3_update_dynamic_rev()
402 le32_to_cpu(sbi->s_es->s_last_orphan)); dump_orphan_list()
619 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); ext3_show_options()
701 if (ino > le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)) ext3_nfs_get_inode()
1379 if (le32_to_cpu(es->s_rev_level) > EXT3_MAX_SUPP_REV) { ext3_setup_super()
1401 else if (le32_to_cpu(es->s_checkinterval) && ext3_setup_super()
1402 (le32_to_cpu(es->s_lastcheck) + ext3_setup_super()
1403 le32_to_cpu(es->s_checkinterval) <= get_seconds())) ext3_setup_super()
1456 last_block = le32_to_cpu(sbi->s_es->s_blocks_count) - 1; ext3_check_descriptors()
1461 if (le32_to_cpu(gdp->bg_block_bitmap) < first_block || ext3_check_descriptors()
1462 le32_to_cpu(gdp->bg_block_bitmap) > last_block) ext3_check_descriptors()
1468 le32_to_cpu(gdp->bg_block_bitmap)); ext3_check_descriptors()
1471 if (le32_to_cpu(gdp->bg_inode_bitmap) < first_block || ext3_check_descriptors()
1472 le32_to_cpu(gdp->bg_inode_bitmap) > last_block) ext3_check_descriptors()
1478 le32_to_cpu(gdp->bg_inode_bitmap)); ext3_check_descriptors()
1481 if (le32_to_cpu(gdp->bg_inode_table) < first_block || ext3_check_descriptors()
1482 le32_to_cpu(gdp->bg_inode_table) + sbi->s_itb_per_group - 1 > ext3_check_descriptors()
1489 le32_to_cpu(gdp->bg_inode_table)); ext3_check_descriptors()
1576 inode = ext3_orphan_get(sb, le32_to_cpu(es->s_last_orphan)); ext3_orphan_cleanup()
1676 first_meta_bg = le32_to_cpu(sbi->s_es->s_first_meta_bg); descriptor_loc()
1755 def_mount_opts = le32_to_cpu(es->s_default_mount_opts); ext3_fill_super()
1798 if (le32_to_cpu(es->s_rev_level) == EXT3_GOOD_OLD_REV && ext3_fill_super()
1814 "optional features (%x)", le32_to_cpu(features)); ext3_fill_super()
1821 "optional features (%x)", le32_to_cpu(features)); ext3_fill_super()
1824 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); ext3_fill_super()
1872 if (le32_to_cpu(es->s_rev_level) == EXT3_GOOD_OLD_REV) { ext3_fill_super()
1877 sbi->s_first_ino = le32_to_cpu(es->s_first_ino); ext3_fill_super()
1888 le32_to_cpu(es->s_log_frag_size); ext3_fill_super()
1896 sbi->s_blocks_per_group = le32_to_cpu(es->s_blocks_per_group); ext3_fill_super()
1897 sbi->s_frags_per_group = le32_to_cpu(es->s_frags_per_group); ext3_fill_super()
1898 sbi->s_inodes_per_group = le32_to_cpu(es->s_inodes_per_group); ext3_fill_super()
1912 sbi->s_hash_seed[i] = le32_to_cpu(es->s_hash_seed[i]); ext3_fill_super()
1914 i = le32_to_cpu(es->s_flags); ext3_fill_super()
1946 le32_to_cpu(es->s_blocks_count)); ext3_fill_super()
1959 sbi->s_groups_count = ((le32_to_cpu(es->s_blocks_count) - ext3_fill_super()
1960 le32_to_cpu(es->s_first_data_block) - 1) ext3_fill_super()
2263 !(le32_to_cpu(es->s_feature_incompat) & ext3_get_dev_journal()
2277 len = le32_to_cpu(es->s_blocks_count); ext3_get_dev_journal()
2317 unsigned int journal_inum = le32_to_cpu(es->s_journal_inum); ext3_load_journal()
2323 journal_devnum != le32_to_cpu(es->s_journal_dev)) { ext3_load_journal()
2328 journal_dev = new_decode_dev(le32_to_cpu(es->s_journal_dev)); ext3_load_journal()
2393 journal_devnum != le32_to_cpu(es->s_journal_dev)) { ext3_load_journal()
2701 n_blocks_count > le32_to_cpu(es->s_blocks_count)) { ext3_remount()
2735 "features (%x)", le32_to_cpu(ret)); ext3_remount()
2802 } else if (sbi->s_blocks_last != le32_to_cpu(es->s_blocks_count)) { ext3_statfs()
2817 overhead = le32_to_cpu(es->s_first_data_block); ext3_statfs()
2842 sbi->s_blocks_last = le32_to_cpu(es->s_blocks_count); ext3_statfs()
2847 buf->f_blocks = le32_to_cpu(es->s_blocks_count) - sbi->s_overhead_last; ext3_statfs()
2849 buf->f_bavail = buf->f_bfree - le32_to_cpu(es->s_r_blocks_count); ext3_statfs()
2850 if (buf->f_bfree < le32_to_cpu(es->s_r_blocks_count)) ext3_statfs()
2852 buf->f_files = le32_to_cpu(es->s_inodes_count); ext3_statfs()
H A Dxattr.c175 size_t value_size = le32_to_cpu(entry->e_value_size); ext3_xattr_check_entry()
230 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); ext3_xattr_block_get()
245 size = le32_to_cpu(entry->e_value_size); ext3_xattr_block_get()
288 size = le32_to_cpu(entry->e_value_size); ext3_xattr_ibody_get()
374 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); ext3_xattr_block_list()
500 le32_to_cpu(BHDR(bh)->h_refcount)); ext3_xattr_release_block()
543 size_t size = le32_to_cpu(s->here->e_value_size); ext3_xattr_set_entry()
569 le32_to_cpu(s->here->e_value_size)); ext3_xattr_set_entry()
648 le32_to_cpu(BHDR(bs->bh)->h_refcount)); ext3_xattr_block_find()
782 le32_to_cpu(BHDR(new_bh)->h_refcount)); ext3_xattr_block_set()
1135 __u32 hash = le32_to_cpu(BHDR(bh)->h_hash); ext3_xattr_cache_insert()
1186 le32_to_cpu(entry1->e_value_size))) ext3_xattr_cmp()
1209 __u32 hash = le32_to_cpu(header->h_hash); ext3_xattr_cache_find()
1231 } else if (le32_to_cpu(BHDR(bh)->h_refcount) >= ext3_xattr_cache_find()
1235 le32_to_cpu(BHDR(bh)->h_refcount), ext3_xattr_cache_find()
1271 for (n = (le32_to_cpu(entry->e_value_size) + ext3_xattr_hash_entry()
1275 le32_to_cpu(*value++); ext3_xattr_hash_entry()
1307 le32_to_cpu(here->e_hash); ext3_xattr_rehash()
H A Dballoc.c44 blocknr = blocknr - le32_to_cpu(es->s_first_data_block); ext3_get_group_no_and_offset()
106 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); ext3_valid_block_bitmap()
113 bitmap_blk = le32_to_cpu(desc->bg_inode_bitmap); ext3_valid_block_bitmap()
120 bitmap_blk = le32_to_cpu(desc->bg_inode_table); ext3_valid_block_bitmap()
158 bitmap_blk = le32_to_cpu(desc->bg_block_bitmap); read_block_bitmap()
164 block_group, le32_to_cpu(desc->bg_block_bitmap)); read_block_bitmap()
175 block_group, le32_to_cpu(desc->bg_block_bitmap)); read_block_bitmap()
509 if (block < le32_to_cpu(es->s_first_data_block) || ext3_free_blocks_sb()
511 block + count > le32_to_cpu(es->s_blocks_count)) { ext3_free_blocks_sb()
522 block_group = (block - le32_to_cpu(es->s_first_data_block)) / ext3_free_blocks_sb()
524 bit = (block - le32_to_cpu(es->s_first_data_block)) % ext3_free_blocks_sb()
542 if (in_range (le32_to_cpu(desc->bg_block_bitmap), block, count) || ext3_free_blocks_sb()
543 in_range (le32_to_cpu(desc->bg_inode_bitmap), block, count) || ext3_free_blocks_sb()
544 in_range (block, le32_to_cpu(desc->bg_inode_table), ext3_free_blocks_sb()
546 in_range (block + count - 1, le32_to_cpu(desc->bg_inode_table), ext3_free_blocks_sb()
1440 root_blocks = le32_to_cpu(sbi->s_es->s_r_blocks_count); ext3_has_free_blocks()
1550 if (goal < le32_to_cpu(es->s_first_data_block) || ext3_new_blocks()
1551 goal >= le32_to_cpu(es->s_blocks_count)) ext3_new_blocks()
1552 goal = le32_to_cpu(es->s_first_data_block); ext3_new_blocks()
1553 group_no = (goal - le32_to_cpu(es->s_first_data_block)) / ext3_new_blocks()
1572 grp_target_blk = ((goal - le32_to_cpu(es->s_first_data_block)) % ext3_new_blocks()
1659 if (in_range(le32_to_cpu(gdp->bg_block_bitmap), ret_block, num) || ext3_new_blocks()
1660 in_range(le32_to_cpu(gdp->bg_inode_bitmap), ret_block, num) || ext3_new_blocks()
1661 in_range(ret_block, le32_to_cpu(gdp->bg_inode_table), ext3_new_blocks()
1663 in_range(ret_block + num - 1, le32_to_cpu(gdp->bg_inode_table), ext3_new_blocks()
1708 if (ret_block + num - 1 >= le32_to_cpu(es->s_blocks_count)) { ext3_new_blocks()
1712 le32_to_cpu(es->s_blocks_count), group_no, es); ext3_new_blocks()
1813 (ext3_fsblk_t)le32_to_cpu(es->s_free_blocks_count), ext3_count_free_blocks()
1894 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_meta_bg); ext3_bg_num_gdb()
2093 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block); ext3_trim_fs()
2094 ext3_fsblk_t max_blks = le32_to_cpu(es->s_blocks_count); ext3_trim_fs()
H A Dresize.c25 ext3_fsblk_t start = le32_to_cpu(es->s_blocks_count); verify_group_input()
51 else if ((start - le32_to_cpu(es->s_first_data_block)) % verify_group_input()
399 if (le32_to_cpu(*p++) != grp * EXT3_BLOCKS_PER_GROUP(sb) + blk){ verify_reserved_gdb()
453 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block)) { add_new_gdb()
470 dind = sb_bread(sb, le32_to_cpu(*data)); add_new_gdb()
477 if (le32_to_cpu(data[gdb_num % EXT3_ADDR_PER_BLOCK(sb)]) != gdblock) { add_new_gdb()
598 dind = sb_bread(sb, le32_to_cpu(*data)); reserve_backup_gdb()
611 if (le32_to_cpu(*data) != blk) { reserve_backup_gdb()
806 if (le32_to_cpu(es->s_blocks_count) + input->blocks_count < ext3_group_add()
807 le32_to_cpu(es->s_blocks_count)) { ext3_group_add()
812 if (le32_to_cpu(es->s_inodes_count) + EXT3_INODES_PER_GROUP(sb) < ext3_group_add()
813 le32_to_cpu(es->s_inodes_count)) { ext3_group_add()
1005 o_blocks_count = le32_to_cpu(es->s_blocks_count); ext3_group_extend()
1032 last = (o_blocks_count - le32_to_cpu(es->s_first_data_block)) % ext3_group_extend()
1077 if (o_blocks_count != le32_to_cpu(es->s_blocks_count)) { ext3_group_extend()
1112 le32_to_cpu(es->s_blocks_count)); ext3_group_extend()
H A Ddir.c78 else if (unlikely(le32_to_cpu(de->inode) > ext3_check_dir_entry()
79 le32_to_cpu(EXT3_SB(dir->i_sb)->s_es->s_inodes_count))) ext3_check_dir_entry()
87 (unsigned long) le32_to_cpu(de->inode), ext3_check_dir_entry()
189 if (le32_to_cpu(de->inode)) { ext3_readdir()
191 le32_to_cpu(de->inode), ext3_readdir()
365 new_fn->inode = le32_to_cpu(dirent->inode); ext3_htree_store_dirent()
H A Dacl.c59 le32_to_cpu(entry->e_id)); ext3_acl_from_disk()
67 le32_to_cpu(entry->e_id)); ext3_acl_from_disk()
/linux-4.1.27/fs/ceph/
H A Dinode.c245 u32 id = le32_to_cpu(dirinfo->frag); ceph_fill_dirfrag()
246 int mds = le32_to_cpu(dirinfo->auth); ceph_fill_dirfrag()
247 int ndist = le32_to_cpu(dirinfo->ndist); ceph_fill_dirfrag()
286 ceph_vinop(inode), le32_to_cpu(dirinfo->frag)); ceph_fill_dirfrag()
294 frag->dist[i] = le32_to_cpu(dirinfo->dist[i]); ceph_fill_dirfrag()
315 nsplits = le32_to_cpu(fragtree->nsplits); ceph_fill_fragtree()
318 id = le32_to_cpu(fragtree->splits[i].frag); ceph_fill_fragtree()
328 id = le32_to_cpu(dirinfo->frag); ceph_fill_fragtree()
338 id = le32_to_cpu(fragtree->splits[i].frag); ceph_fill_fragtree()
359 frag->split_by = le32_to_cpu(fragtree->splits[i].by); ceph_fill_fragtree()
722 new_issued = ~issued & le32_to_cpu(info->cap.caps); fill_inode()
727 inode->i_rdev = le32_to_cpu(info->rdev); fill_inode()
728 inode->i_blkbits = fls(le32_to_cpu(info->layout.fl_stripe_unit)) - 1; fill_inode()
732 inode->i_mode = le32_to_cpu(info->mode); fill_inode()
733 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(info->uid)); fill_inode()
734 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(info->gid)); fill_inode()
742 set_nlink(inode, le32_to_cpu(info->nlink)); fill_inode()
750 le32_to_cpu(info->time_warp_seq), fill_inode()
758 le32_to_cpu(info->truncate_seq), fill_inode()
844 unsigned caps = le32_to_cpu(info->cap.caps); fill_inode()
848 le32_to_cpu(info->cap.wanted), fill_inode()
849 le32_to_cpu(info->cap.seq), fill_inode()
850 le32_to_cpu(info->cap.mseq), fill_inode()
869 ceph_cap_string(le32_to_cpu(info->cap.caps))); fill_inode()
870 ci->i_snap_caps |= le32_to_cpu(info->cap.caps); fill_inode()
886 (le32_to_cpu(info->cap.caps) & cache_caps))) fill_inode()
929 long unsigned duration = le32_to_cpu(lease->duration_ms); update_dentry_lease()
961 di->lease_seq = le32_to_cpu(lease->seq); update_dentry_lease()
1194 (le32_to_cpu(rinfo->diri.in->cap.caps) & ceph_fill_trace()
1199 le32_to_cpu(rinfo->dlease->duration_ms); ceph_fill_trace()
1349 u32 frag = le32_to_cpu(rhead->args.readdir.frag); ceph_readdir_prepopulate()
1352 le32_to_cpu(rinfo->dir_dir->frag) != frag) { ceph_readdir_prepopulate()
1354 frag, le32_to_cpu(rinfo->dir_dir->frag)); ceph_readdir_prepopulate()
1355 frag = le32_to_cpu(rinfo->dir_dir->frag); ceph_readdir_prepopulate()
1365 if (le32_to_cpu(rinfo->head->op) == CEPH_MDS_OP_LSSNAP) { ceph_readdir_prepopulate()
H A Dcaps.c1083 if (le32_to_cpu(head->num) == CEPH_CAPS_PER_RELEASE) { __queue_cap_release()
1088 (int)le32_to_cpu(head->num), __queue_cap_release()
2488 int seq = le32_to_cpu(grant->seq);
2489 int newcaps = le32_to_cpu(grant->caps);
2552 inode->i_mode = le32_to_cpu(grant->mode);
2553 inode->i_uid = make_kuid(&init_user_ns, le32_to_cpu(grant->uid));
2554 inode->i_gid = make_kgid(&init_user_ns, le32_to_cpu(grant->gid));
2562 set_nlink(inode, le32_to_cpu(grant->nlink));
2569 int len = le32_to_cpu(grant->xattr_len);
2594 le32_to_cpu(grant->time_warp_seq),
2603 le32_to_cpu(grant->truncate_seq),
2627 if (wanted != le32_to_cpu(grant->wanted)) {
2629 ceph_cap_string(le32_to_cpu(grant->wanted)),
2632 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT)
2684 if (le32_to_cpu(grant->op) == CEPH_CAP_OP_IMPORT) {
2735 unsigned seq = le32_to_cpu(m->seq);
2736 int dirty = le32_to_cpu(m->dirty);
2850 int seq = le32_to_cpu(trunc->seq);
2851 u32 truncate_seq = le32_to_cpu(trunc->truncate_seq);
2890 unsigned mseq = le32_to_cpu(ex->migrate_seq); handle_cap_export()
2897 t_seq = le32_to_cpu(ph->seq); handle_cap_export()
2898 t_mseq = le32_to_cpu(ph->mseq); handle_cap_export()
2899 target = le32_to_cpu(ph->mds); handle_cap_export()
3010 unsigned caps = le32_to_cpu(im->caps);
3011 unsigned wanted = le32_to_cpu(im->wanted);
3012 unsigned seq = le32_to_cpu(im->seq);
3013 unsigned mseq = le32_to_cpu(im->migrate_seq);
3021 peer = le32_to_cpu(ph->mds);
3058 (ocap->seq != le32_to_cpu(ph->seq) ||
3059 ocap->mseq != le32_to_cpu(ph->mseq))) {
3064 ocap->mseq, mds, le32_to_cpu(ph->seq),
3065 le32_to_cpu(ph->mseq));
3117 op = le32_to_cpu(h->op); ceph_handle_caps()
3121 seq = le32_to_cpu(h->seq); ceph_handle_caps()
3122 mseq = le32_to_cpu(h->migrate_seq); ceph_handle_caps()
3127 snaptrace_len = le32_to_cpu(h->snap_trace_len); ceph_handle_caps()
/linux-4.1.27/drivers/net/ethernet/toshiba/
H A Dtc35815.c1006 u32 fdsystem = le32_to_cpu(lp->tfd_base[i].fd.FDSystem); tc35815_clear_queues()
1038 u32 fdsystem = le32_to_cpu(lp->tfd_base[i].fd.FDSystem); tc35815_free_queues()
1083 le32_to_cpu(fd->fd.FDNext), dump_txfd()
1084 le32_to_cpu(fd->fd.FDSystem), dump_txfd()
1085 le32_to_cpu(fd->fd.FDStat), dump_txfd()
1086 le32_to_cpu(fd->fd.FDCtl)); dump_txfd()
1089 le32_to_cpu(fd->bd.BuffData), dump_txfd()
1090 le32_to_cpu(fd->bd.BDCtl)); dump_txfd()
1097 int i, bd_count = (le32_to_cpu(fd->fd.FDCtl) & FD_BDCnt_MASK) >> FD_BDCnt_SHIFT; dump_rxfd()
1101 le32_to_cpu(fd->fd.FDNext), dump_rxfd()
1102 le32_to_cpu(fd->fd.FDSystem), dump_rxfd()
1103 le32_to_cpu(fd->fd.FDStat), dump_rxfd()
1104 le32_to_cpu(fd->fd.FDCtl)); dump_rxfd()
1105 if (le32_to_cpu(fd->fd.FDCtl) & FD_CownsFD) dump_rxfd()
1110 le32_to_cpu(fd->bd[i].BuffData), dump_rxfd()
1111 le32_to_cpu(fd->bd[i].BDCtl)); dump_rxfd()
1122 le32_to_cpu(fd->fd.FDNext), dump_frfd()
1123 le32_to_cpu(fd->fd.FDSystem), dump_frfd()
1124 le32_to_cpu(fd->fd.FDStat), dump_frfd()
1125 le32_to_cpu(fd->fd.FDCtl)); dump_frfd()
1129 le32_to_cpu(fd->bd[i].BuffData), dump_frfd()
1130 le32_to_cpu(fd->bd[i].BDCtl)); dump_frfd()
1488 while (!((fdctl = le32_to_cpu(lp->rfd_cur->fd.FDCtl)) & FD_CownsFD)) { tc35815_rx()
1489 int status = le32_to_cpu(lp->rfd_cur->fd.FDStat); tc35815_rx()
1509 cur_bd = (le32_to_cpu(lp->rfd_cur->bd[0].BDCtl) tc35815_rx()
1517 (le32_to_cpu(lp->rfd_cur->bd[0].BuffData) & ~3)); tc35815_rx()
1564 int bdctl = le32_to_cpu(lp->rfd_cur->bd[bd_count - 1].BDCtl); tc35815_rx()
1583 bdctl = le32_to_cpu(bd->BDCtl); tc35815_rx()
1611 le32_to_cpu(lp->rfd_cur->fd.FDNext)); tc35815_rx()
1760 !((fdctl = le32_to_cpu(txfd->fd.FDCtl)) & FD_CownsFD)) { tc35815_txdone()
1761 int status = le32_to_cpu(txfd->fd.FDStat); tc35815_txdone()
1763 unsigned long fdnext = le32_to_cpu(txfd->fd.FDNext); tc35815_txdone()
1764 u32 fdsystem = le32_to_cpu(txfd->fd.FDSystem); tc35815_txdone()
1810 if (!(le32_to_cpu(txfd->fd.FDCtl) & FD_CownsFD)) { tc35815_txdone()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dsta_cmdresp.c235 stats->mcast_tx_frame = le32_to_cpu(get_log->mcast_tx_frame); mwifiex_ret_get_log()
236 stats->failed = le32_to_cpu(get_log->failed); mwifiex_ret_get_log()
237 stats->retry = le32_to_cpu(get_log->retry); mwifiex_ret_get_log()
238 stats->multi_retry = le32_to_cpu(get_log->multi_retry); mwifiex_ret_get_log()
239 stats->frame_dup = le32_to_cpu(get_log->frame_dup); mwifiex_ret_get_log()
240 stats->rts_success = le32_to_cpu(get_log->rts_success); mwifiex_ret_get_log()
241 stats->rts_failure = le32_to_cpu(get_log->rts_failure); mwifiex_ret_get_log()
242 stats->ack_failure = le32_to_cpu(get_log->ack_failure); mwifiex_ret_get_log()
243 stats->rx_frag = le32_to_cpu(get_log->rx_frag); mwifiex_ret_get_log()
244 stats->mcast_rx_frame = le32_to_cpu(get_log->mcast_rx_frame); mwifiex_ret_get_log()
245 stats->fcs_error = le32_to_cpu(get_log->fcs_error); mwifiex_ret_get_log()
246 stats->tx_frame = le32_to_cpu(get_log->tx_frame); mwifiex_ret_get_log()
248 le32_to_cpu(get_log->wep_icv_err_cnt[0]); mwifiex_ret_get_log()
250 le32_to_cpu(get_log->wep_icv_err_cnt[1]); mwifiex_ret_get_log()
252 le32_to_cpu(get_log->wep_icv_err_cnt[2]); mwifiex_ret_get_log()
254 le32_to_cpu(get_log->wep_icv_err_cnt[3]); mwifiex_ret_get_log()
255 stats->bcn_rcv_cnt = le32_to_cpu(get_log->bcn_rcv_cnt); mwifiex_ret_get_log()
256 stats->bcn_miss_cnt = le32_to_cpu(get_log->bcn_miss_cnt); mwifiex_ret_get_log()
422 if (!le32_to_cpu(txp_cfg->mode)) mwifiex_ret_tx_power_cfg()
/linux-4.1.27/drivers/net/wireless/libertas_tf/
H A Dif_usb.c309 le32_to_cpu(fwdata->hdr.datalength)); if_usb_send_fw_pkt()
312 le32_to_cpu(fwdata->hdr.datalength)); if_usb_send_fw_pkt()
315 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); if_usb_send_fw_pkt()
318 le32_to_cpu(fwdata->hdr.datalength), 0); if_usb_send_fw_pkt()
497 le32_to_cpu(tmp[0]), le32_to_cpu(tmp[1])); if_usb_receive_fwload()
526 le32_to_cpu(bcmdresp.magic)); if_usb_receive_fwload()
561 le32_to_cpu(syncfwheader->seqnum)); if_usb_receive_fwload()
655 recvtype = le32_to_cpu(pkt[0]); if_usb_receive()
677 u32 event_cause = le32_to_cpu(pkt[1]); if_usb_receive()
787 bincmd = le32_to_cpu(fwh->dnldcmd); check_fwfile_format()
788 blksize = le32_to_cpu(fwh->datalength); check_fwfile_format()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Devent.c120 vector = le32_to_cpu(mbox->events_vector); wl18xx_process_mailbox_events()
176 le32_to_cpu(mbox->tx_retry_exceeded_bitmap)); wl18xx_process_mailbox_events()
180 le32_to_cpu(mbox->inactive_sta_bitmap)); wl18xx_process_mailbox_events()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A 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.1.27/drivers/net/fddi/skfp/h/
H A 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.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-drv.c354 cipher = le32_to_cpu(fwcs->cipher); iwl_store_cscheme()
394 sec->offset = le32_to_cpu(sec_parse->offset); iwl_store_ucode_sec()
407 u32 ucode_type = le32_to_cpu(def_calib->ucode_type); iwl_set_default_calib()
425 u32 api_index = le32_to_cpu(ucode_api->api_index); iwl_set_ucode_api_flags()
432 capa->api[api_index] = le32_to_cpu(ucode_api->api_flags); iwl_set_ucode_api_flags()
441 u32 api_index = le32_to_cpu(ucode_capa->api_index); iwl_set_ucode_capabilities()
448 capa->capa[api_index] = le32_to_cpu(ucode_capa->api_capa); iwl_set_ucode_capabilities()
462 drv->fw.ucode_ver = le32_to_cpu(ucode->ver); iwl_parse_v1_v2_firmware()
472 build = le32_to_cpu(ucode->u.v2.build); iwl_parse_v1_v2_firmware()
474 le32_to_cpu(ucode->u.v2.inst_size)); iwl_parse_v1_v2_firmware()
476 le32_to_cpu(ucode->u.v2.data_size)); iwl_parse_v1_v2_firmware()
478 le32_to_cpu(ucode->u.v2.init_size)); iwl_parse_v1_v2_firmware()
480 le32_to_cpu(ucode->u.v2.init_data_size)); iwl_parse_v1_v2_firmware()
493 le32_to_cpu(ucode->u.v1.inst_size)); iwl_parse_v1_v2_firmware()
495 le32_to_cpu(ucode->u.v1.data_size)); iwl_parse_v1_v2_firmware()
497 le32_to_cpu(ucode->u.v1.init_size)); iwl_parse_v1_v2_firmware()
499 le32_to_cpu(ucode->u.v1.init_data_size)); iwl_parse_v1_v2_firmware()
579 le32_to_cpu(ucode->magic)); iwl_parse_tlv_firmware()
583 drv->fw.ucode_ver = le32_to_cpu(ucode->ver); iwl_parse_tlv_firmware()
586 build = le32_to_cpu(ucode->build); iwl_parse_tlv_firmware()
612 tlv_len = le32_to_cpu(tlv->length); iwl_parse_tlv_firmware()
613 tlv_type = le32_to_cpu(tlv->type); iwl_parse_tlv_firmware()
918 u32 trigger_id = le32_to_cpu(trigger->id); iwl_parse_tlv_firmware()
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ctx.c337 val = le32_to_cpu(prq->rds_ring_offset) + nx_fw_cmd_create_rx_ctx()
342 le32_to_cpu(prq->rds_ring_offset)); nx_fw_cmd_create_rx_ctx()
355 le32_to_cpu(prq->sds_ring_offset)); nx_fw_cmd_create_rx_ctx()
381 &prsp->data[le32_to_cpu(prsp->rds_ring_offset)]); nx_fw_cmd_create_rx_ctx()
386 reg = le32_to_cpu(prsp_rds[i].host_producer_crb); nx_fw_cmd_create_rx_ctx()
392 &prsp->data[le32_to_cpu(prsp->sds_ring_offset)]); nx_fw_cmd_create_rx_ctx()
397 reg = le32_to_cpu(prsp_sds[i].host_consumer_crb); nx_fw_cmd_create_rx_ctx()
401 reg = le32_to_cpu(prsp_sds[i].interrupt_crb); nx_fw_cmd_create_rx_ctx()
406 recv_ctx->state = le32_to_cpu(prsp->host_ctx_state); nx_fw_cmd_create_rx_ctx()
502 temp = le32_to_cpu(prsp->cds_ring.host_producer_crb); nx_fw_cmd_create_tx_ctx()
507 le32_to_cpu(prsp->host_ctx_state); nx_fw_cmd_create_tx_ctx()
/linux-4.1.27/drivers/net/ethernet/3com/
H A Dtyphoon.c492 cleared = le32_to_cpu(indexes->respCleared); typhoon_process_response()
493 ready = le32_to_cpu(indexes->respReady); typhoon_process_response()
527 le32_to_cpu(resp->parm2), typhoon_process_response()
528 le32_to_cpu(resp->parm3)); typhoon_process_response()
555 int cmdCleared = le32_to_cpu(tp->indexes->cmdCleared); typhoon_num_free_cmd()
563 int respReady = le32_to_cpu(tp->indexes->respReady); typhoon_num_free_resp()
564 int respCleared = le32_to_cpu(tp->indexes->respCleared); typhoon_num_free_resp()
919 stats->tx_packets = le32_to_cpu(s->txPackets) + typhoon_do_get_stats()
923 stats->tx_errors = le32_to_cpu(s->txCarrierLost) + typhoon_do_get_stats()
925 stats->tx_carrier_errors = le32_to_cpu(s->txCarrierLost) + typhoon_do_get_stats()
927 stats->collisions = le32_to_cpu(s->txMultipleCollisions) + typhoon_do_get_stats()
929 stats->rx_packets = le32_to_cpu(s->rxPacketsGood) + typhoon_do_get_stats()
933 stats->rx_fifo_errors = le32_to_cpu(s->rxFifoOverruns) + typhoon_do_get_stats()
935 stats->rx_errors = le32_to_cpu(s->rxFifoOverruns) + typhoon_do_get_stats()
936 le32_to_cpu(s->BadSSD) + le32_to_cpu(s->rxCrcErrors) + typhoon_do_get_stats()
938 stats->rx_crc_errors = le32_to_cpu(s->rxCrcErrors) + typhoon_do_get_stats()
940 stats->rx_length_errors = le32_to_cpu(s->rxOversized) + typhoon_do_get_stats()
987 u32 sleep_ver = le32_to_cpu(xp_resp[0].parm2); typhoon_get_drvinfo()
1235 tp->txlo_dma_addr = le32_to_cpu(iface->txLoAddr); typhoon_init_interface()
1297 numSections = le32_to_cpu(fHdr->numSections); typhoon_request_firmware()
1307 section_len = le32_to_cpu(sHdr->len); typhoon_request_firmware()
1373 numSections = le32_to_cpu(fHdr->numSections); typhoon_download_firmware()
1374 load_addr = le32_to_cpu(fHdr->startAddr); typhoon_download_firmware()
1378 hmac = le32_to_cpu(fHdr->hmacDigest[0]); typhoon_download_firmware()
1380 hmac = le32_to_cpu(fHdr->hmacDigest[1]); typhoon_download_firmware()
1382 hmac = le32_to_cpu(fHdr->hmacDigest[2]); typhoon_download_firmware()
1384 hmac = le32_to_cpu(fHdr->hmacDigest[3]); typhoon_download_firmware()
1386 hmac = le32_to_cpu(fHdr->hmacDigest[4]); typhoon_download_firmware()
1400 load_addr = le32_to_cpu(sHdr->startAddr); typhoon_download_firmware()
1401 section_len = le32_to_cpu(sHdr->len); typhoon_download_firmware()
1512 while(lastRead != le32_to_cpu(*index)) { typhoon_clean_tx()
1525 skb_dma = (dma_addr_t) le32_to_cpu(tx->frag.addr); typhoon_clean_tx()
1564 le32_to_cpu(indexes->rxBuffCleared)) { typhoon_recycle_rx_skb()
1595 le32_to_cpu(indexes->rxBuffCleared)) typhoon_alloc_rx_skb()
1644 local_ready = le32_to_cpu(*ready); typhoon_rx()
1645 rxaddr = le32_to_cpu(*cleared); typhoon_rx()
1730 if(le32_to_cpu(indexes->txLoCleared) != tp->txLoRing.lastRead) typhoon_poll()
1745 if(le32_to_cpu(indexes->rxBuffCleared) == tp->rxBuffRing.lastWrite) { typhoon_poll()
2399 *(__be32 *)&dev->dev_addr[2] = htonl(le32_to_cpu(xp_resp[0].parm2)); typhoon_init_one()
2472 u16 monthday = le32_to_cpu(xp_resp[0].parm2) & 0xffff; typhoon_init_one()
2478 u32 sleep_ver = le32_to_cpu(xp_resp[0].parm2); typhoon_init_one()
2486 xp_resp[0].numDesc, le32_to_cpu(xp_resp[0].parm2)); typhoon_init_one()
/linux-4.1.27/drivers/net/wireless/cw1200/
H A Dhwio.h175 *val = le32_to_cpu(tmp) & 0xfffff; cw1200_reg_read_16()
191 *val = le32_to_cpu(tmp); cw1200_reg_read_32()
228 *val = le32_to_cpu(tmp); cw1200_apb_read_32()
243 *val = le32_to_cpu(tmp); cw1200_ahb_read_32()
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/
H A Dmangle-port.h56 # define ioswabl(a, x) le32_to_cpu(x)
/linux-4.1.27/arch/mips/include/asm/mach-generic/
H A Dmangle-port.h34 # define ioswabl(a, x) le32_to_cpu(x)
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dmangle-port.h31 # define ioswabl(x) le32_to_cpu(x)
/linux-4.1.27/include/linux/ceph/
H A 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) * ceph_file_layout_stripe_width()
69 le32_to_cpu(l->fl_stripe_count); ceph_file_layout_stripe_width()
75 return le32_to_cpu(l->fl_object_size) * ceph_file_layout_period()
76 le32_to_cpu(l->fl_stripe_count); ceph_file_layout_period()
H A Ddecode.h140 ts->tv_sec = (__kernel_time_t)le32_to_cpu(tv->tv_sec); ceph_decode_timespec()
141 ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec); ceph_decode_timespec()
/linux-4.1.27/drivers/net/ethernet/neterion/
H A Ds2io.c4859 delta = ((u64) le32_to_cpu(stats->rmac_vld_frms_oflow) << 32 | s2io_get_stats()
4860 le32_to_cpu(stats->rmac_vld_frms)) - sp->stats.rx_packets; s2io_get_stats()
4864 delta = ((u64) le32_to_cpu(stats->tmac_frms_oflow) << 32 | s2io_get_stats()
4865 le32_to_cpu(stats->tmac_frms)) - sp->stats.tx_packets; s2io_get_stats()
4869 delta = ((u64) le32_to_cpu(stats->rmac_data_octets_oflow) << 32 | s2io_get_stats()
4870 le32_to_cpu(stats->rmac_data_octets)) - sp->stats.rx_bytes; s2io_get_stats()
4874 delta = ((u64) le32_to_cpu(stats->tmac_data_octets_oflow) << 32 | s2io_get_stats()
4875 le32_to_cpu(stats->tmac_data_octets)) - sp->stats.tx_bytes; s2io_get_stats()
4883 delta = ((u64) le32_to_cpu(stats->tmac_any_err_frms_oflow) << 32 | s2io_get_stats()
4884 le32_to_cpu(stats->tmac_any_err_frms)) - sp->stats.tx_errors; s2io_get_stats()
4901 delta = (u64) le32_to_cpu(stats->rmac_vld_mcst_frms_oflow) << 32 | s2io_get_stats()
4902 le32_to_cpu(stats->rmac_vld_mcst_frms); s2io_get_stats()
4908 delta = ((u64) le32_to_cpu(stats->rmac_usized_frms_oflow) << 32 | s2io_get_stats()
4909 le32_to_cpu(stats->rmac_usized_frms)) + s2io_get_stats()
6290 (u64)le32_to_cpu(stats->tmac_frms_oflow) << 32 | s2io_get_ethtool_stats()
6291 le32_to_cpu(stats->tmac_frms); s2io_get_ethtool_stats()
6293 (u64)le32_to_cpu(stats->tmac_data_octets_oflow) << 32 | s2io_get_ethtool_stats()
6294 le32_to_cpu(stats->tmac_data_octets); s2io_get_ethtool_stats()
6297 (u64)le32_to_cpu(stats->tmac_mcst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6298 le32_to_cpu(stats->tmac_mcst_frms); s2io_get_ethtool_stats()
6300 (u64)le32_to_cpu(stats->tmac_bcst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6301 le32_to_cpu(stats->tmac_bcst_frms); s2io_get_ethtool_stats()
6304 (u64)le32_to_cpu(stats->tmac_ttl_octets_oflow) << 32 | s2io_get_ethtool_stats()
6305 le32_to_cpu(stats->tmac_ttl_octets); s2io_get_ethtool_stats()
6307 (u64)le32_to_cpu(stats->tmac_ucst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6308 le32_to_cpu(stats->tmac_ucst_frms); s2io_get_ethtool_stats()
6310 (u64)le32_to_cpu(stats->tmac_nucst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6311 le32_to_cpu(stats->tmac_nucst_frms); s2io_get_ethtool_stats()
6313 (u64)le32_to_cpu(stats->tmac_any_err_frms_oflow) << 32 | s2io_get_ethtool_stats()
6314 le32_to_cpu(stats->tmac_any_err_frms); s2io_get_ethtool_stats()
6318 (u64)le32_to_cpu(stats->tmac_vld_ip_oflow) << 32 | s2io_get_ethtool_stats()
6319 le32_to_cpu(stats->tmac_vld_ip); s2io_get_ethtool_stats()
6321 (u64)le32_to_cpu(stats->tmac_drop_ip_oflow) << 32 | s2io_get_ethtool_stats()
6322 le32_to_cpu(stats->tmac_drop_ip); s2io_get_ethtool_stats()
6324 (u64)le32_to_cpu(stats->tmac_icmp_oflow) << 32 | s2io_get_ethtool_stats()
6325 le32_to_cpu(stats->tmac_icmp); s2io_get_ethtool_stats()
6327 (u64)le32_to_cpu(stats->tmac_rst_tcp_oflow) << 32 | s2io_get_ethtool_stats()
6328 le32_to_cpu(stats->tmac_rst_tcp); s2io_get_ethtool_stats()
6330 tmp_stats[i++] = (u64)le32_to_cpu(stats->tmac_udp_oflow) << 32 | s2io_get_ethtool_stats()
6331 le32_to_cpu(stats->tmac_udp); s2io_get_ethtool_stats()
6333 (u64)le32_to_cpu(stats->rmac_vld_frms_oflow) << 32 | s2io_get_ethtool_stats()
6334 le32_to_cpu(stats->rmac_vld_frms); s2io_get_ethtool_stats()
6336 (u64)le32_to_cpu(stats->rmac_data_octets_oflow) << 32 | s2io_get_ethtool_stats()
6337 le32_to_cpu(stats->rmac_data_octets); s2io_get_ethtool_stats()
6341 (u64)le32_to_cpu(stats->rmac_vld_mcst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6342 le32_to_cpu(stats->rmac_vld_mcst_frms); s2io_get_ethtool_stats()
6344 (u64)le32_to_cpu(stats->rmac_vld_bcst_frms_oflow) << 32 | s2io_get_ethtool_stats()
6345 le32_to_cpu(stats->rmac_vld_bcst_frms); s2io_get_ethtool_stats()
6346 tmp_stats[i++] = le32_to_cpu(stats->rmac_in_rng_len_err_frms); s2io_get_ethtool_stats()
6347 tmp_stats[i++] = le32_to_cpu(stats->rmac_out_rng_len_err_frms); s2io_get_ethtool_stats()
6352 (u64)le32_to_cpu(stats->rmac_ttl_octets_oflow) << 32 | s2io_get_ethtool_stats()
6353 le32_to_cpu(stats->rmac_ttl_octets); s2io_get_ethtool_stats()
6355 (u64)le32_to_cpu(stats->rmac_accepted_ucst_frms_oflow) << 32 s2io_get_ethtool_stats()
6356 | le32_to_cpu(stats->rmac_accepted_ucst_frms); s2io_get_ethtool_stats()
6358 (u64)le32_to_cpu(stats->rmac_accepted_nucst_frms_oflow) s2io_get_ethtool_stats()
6359 << 32 | le32_to_cpu(stats->rmac_accepted_nucst_frms); s2io_get_ethtool_stats()
6361 (u64)le32_to_cpu(stats->rmac_discarded_frms_oflow) << 32 | s2io_get_ethtool_stats()
6362 le32_to_cpu(stats->rmac_discarded_frms); s2io_get_ethtool_stats()
6364 (u64)le32_to_cpu(stats->rmac_drop_events_oflow) s2io_get_ethtool_stats()
6365 << 32 | le32_to_cpu(stats->rmac_drop_events); s2io_get_ethtool_stats()
6369 (u64)le32_to_cpu(stats->rmac_usized_frms_oflow) << 32 | s2io_get_ethtool_stats()
6370 le32_to_cpu(stats->rmac_usized_frms); s2io_get_ethtool_stats()
6372 (u64)le32_to_cpu(stats->rmac_osized_frms_oflow) << 32 | s2io_get_ethtool_stats()
6373 le32_to_cpu(stats->rmac_osized_frms); s2io_get_ethtool_stats()
6375 (u64)le32_to_cpu(stats->rmac_frag_frms_oflow) << 32 | s2io_get_ethtool_stats()
6376 le32_to_cpu(stats->rmac_frag_frms); s2io_get_ethtool_stats()
6378 (u64)le32_to_cpu(stats->rmac_jabber_frms_oflow) << 32 | s2io_get_ethtool_stats()
6379 le32_to_cpu(stats->rmac_jabber_frms); s2io_get_ethtool_stats()
6387 (u64)le32_to_cpu(stats->rmac_ip_oflow) << 32 | s2io_get_ethtool_stats()
6388 le32_to_cpu(stats->rmac_ip); s2io_get_ethtool_stats()
6390 tmp_stats[i++] = le32_to_cpu(stats->rmac_hdr_err_ip); s2io_get_ethtool_stats()
6392 (u64)le32_to_cpu(stats->rmac_drop_ip_oflow) << 32 | s2io_get_ethtool_stats()
6393 le32_to_cpu(stats->rmac_drop_ip); s2io_get_ethtool_stats()
6395 (u64)le32_to_cpu(stats->rmac_icmp_oflow) << 32 | s2io_get_ethtool_stats()
6396 le32_to_cpu(stats->rmac_icmp); s2io_get_ethtool_stats()
6399 (u64)le32_to_cpu(stats->rmac_udp_oflow) << 32 | s2io_get_ethtool_stats()
6400 le32_to_cpu(stats->rmac_udp); s2io_get_ethtool_stats()
6402 (u64)le32_to_cpu(stats->rmac_err_drp_udp_oflow) << 32 | s2io_get_ethtool_stats()
6403 le32_to_cpu(stats->rmac_err_drp_udp); s2io_get_ethtool_stats()
6422 (u64)le32_to_cpu(stats->rmac_pause_cnt_oflow) << 32 | s2io_get_ethtool_stats()
6423 le32_to_cpu(stats->rmac_pause_cnt); s2io_get_ethtool_stats()
6427 (u64)le32_to_cpu(stats->rmac_accepted_ip_oflow) << 32 | s2io_get_ethtool_stats()
6428 le32_to_cpu(stats->rmac_accepted_ip); s2io_get_ethtool_stats()
6429 tmp_stats[i++] = le32_to_cpu(stats->rmac_err_tcp); s2io_get_ethtool_stats()
6430 tmp_stats[i++] = le32_to_cpu(stats->rd_req_cnt); s2io_get_ethtool_stats()
6431 tmp_stats[i++] = le32_to_cpu(stats->new_rd_req_cnt); s2io_get_ethtool_stats()
6432 tmp_stats[i++] = le32_to_cpu(stats->new_rd_req_rtry_cnt); s2io_get_ethtool_stats()
6433 tmp_stats[i++] = le32_to_cpu(stats->rd_rtry_cnt); s2io_get_ethtool_stats()
6434 tmp_stats[i++] = le32_to_cpu(stats->wr_rtry_rd_ack_cnt); s2io_get_ethtool_stats()
6435 tmp_stats[i++] = le32_to_cpu(stats->wr_req_cnt); s2io_get_ethtool_stats()
6436 tmp_stats[i++] = le32_to_cpu(stats->new_wr_req_cnt); s2io_get_ethtool_stats()
6437 tmp_stats[i++] = le32_to_cpu(stats->new_wr_req_rtry_cnt); s2io_get_ethtool_stats()
6438 tmp_stats[i++] = le32_to_cpu(stats->wr_rtry_cnt); s2io_get_ethtool_stats()
6439 tmp_stats[i++] = le32_to_cpu(stats->wr_disc_cnt); s2io_get_ethtool_stats()
6440 tmp_stats[i++] = le32_to_cpu(stats->rd_rtry_wr_ack_cnt); s2io_get_ethtool_stats()
6441 tmp_stats[i++] = le32_to_cpu(stats->txp_wr_cnt); s2io_get_ethtool_stats()
6442 tmp_stats[i++] = le32_to_cpu(stats->txd_rd_cnt); s2io_get_ethtool_stats()
6443 tmp_stats[i++] = le32_to_cpu(stats->txd_wr_cnt); s2io_get_ethtool_stats()
6444 tmp_stats[i++] = le32_to_cpu(stats->rxd_rd_cnt); s2io_get_ethtool_stats()
6445 tmp_stats[i++] = le32_to_cpu(stats->rxd_wr_cnt); s2io_get_ethtool_stats()
6446 tmp_stats[i++] = le32_to_cpu(stats->txf_rd_cnt); s2io_get_ethtool_stats()
6447 tmp_stats[i++] = le32_to_cpu(stats->rxf_wr_cnt); s2io_get_ethtool_stats()
6462 tmp_stats[i++] = le32_to_cpu(stats->rmac_len_discard); s2io_get_ethtool_stats()
6463 tmp_stats[i++] = le32_to_cpu(stats->rmac_fcs_discard); s2io_get_ethtool_stats()
6464 tmp_stats[i++] = le32_to_cpu(stats->rmac_pf_discard); s2io_get_ethtool_stats()
6465 tmp_stats[i++] = le32_to_cpu(stats->rmac_da_discard); s2io_get_ethtool_stats()
6466 tmp_stats[i++] = le32_to_cpu(stats->rmac_red_discard); s2io_get_ethtool_stats()
6467 tmp_stats[i++] = le32_to_cpu(stats->rmac_rts_discard); s2io_get_ethtool_stats()
6468 tmp_stats[i++] = le32_to_cpu(stats->rmac_ingm_full_discard); s2io_get_ethtool_stats()
6469 tmp_stats[i++] = le32_to_cpu(stats->link_fault_cnt); s2io_get_ethtool_stats()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_main.c1006 (u8)le32_to_cpu(rq->vrq->scsi.flags)); list_for_each_safe()
1392 b->duration = le32_to_cpu(b->duration); esas2r_nuxi_mgt_data()
1400 s->id = le32_to_cpu(s->id); esas2r_nuxi_mgt_data()
1414 d->block_size = le32_to_cpu(d->block_size); esas2r_nuxi_mgt_data()
1442 g->block_size = le32_to_cpu(g->block_size); esas2r_nuxi_mgt_data()
1443 g->interleave = le32_to_cpu(g->interleave); esas2r_nuxi_mgt_data()
1461 p->start_lba = le32_to_cpu(p->start_lba); esas2r_nuxi_mgt_data()
1462 p->block_size = le32_to_cpu(p->block_size); esas2r_nuxi_mgt_data()
1470 h->med_defect_cnt = le32_to_cpu(h->med_defect_cnt); esas2r_nuxi_mgt_data()
1471 h->info_exc_cnt = le32_to_cpu(h->info_exc_cnt); esas2r_nuxi_mgt_data()
1500 ci->sgl_page_size = le32_to_cpu(ci->sgl_page_size); esas2r_nuxi_cfg_data()
1501 ci->vda_version = le32_to_cpu(ci->vda_version); esas2r_nuxi_cfg_data()
1502 ci->epoch_time = le32_to_cpu(ci->epoch_time); esas2r_nuxi_cfg_data()
1503 ci->ioctl_tunnel = le32_to_cpu(ci->ioctl_tunnel); esas2r_nuxi_cfg_data()
1504 ci->num_targets_backend = le32_to_cpu(ci->num_targets_backend); esas2r_nuxi_cfg_data()
1520 r->dwflags = le32_to_cpu(r->dwflags); esas2r_nuxi_ae_data()
1525 l->dwevent = le32_to_cpu(l->dwevent); esas2r_nuxi_ae_data()
1532 = le32_to_cpu(l->id.tgtlun_raid.dwinterleave); esas2r_nuxi_ae_data()
1534 = le32_to_cpu(l->id.tgtlun_raid.dwblock_size); esas2r_nuxi_ae_data()
1596 le32_to_cpu(rq->func_rsp.scsi_rsp. esas2r_complete_request_cb()
/linux-4.1.27/drivers/scsi/
H A Dhptiop.c742 switch (le32_to_cpu(req->header.result)) { hptiop_finish_scsi_req()
745 scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); hptiop_finish_scsi_req()
765 scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); hptiop_finish_scsi_req()
769 le32_to_cpu(req->dataxfer_length))); hptiop_finish_scsi_req()
779 scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); hptiop_finish_scsi_req()
896 size = le32_to_cpu(reqhdr->size); hptiop_post_req_itl()
920 size = le32_to_cpu(reqhdr->size); hptiop_post_req_mv()
1368 hba->max_requests = min(le32_to_cpu(iop_config.max_requests), hptiop_probe()
1370 hba->max_devices = le32_to_cpu(iop_config.max_devices); hptiop_probe()
1371 hba->max_request_size = le32_to_cpu(iop_config.request_size); hptiop_probe()
1372 hba->max_sg_descriptors = le32_to_cpu(iop_config.max_sg_count); hptiop_probe()
1373 hba->firmware_version = le32_to_cpu(iop_config.firmware_version); hptiop_probe()
1374 hba->interface_version = le32_to_cpu(iop_config.interface_version); hptiop_probe()
1375 hba->sdram_size = le32_to_cpu(iop_config.sdram_size); hptiop_probe()
1394 host->max_sectors = le32_to_cpu(iop_config.data_transfer_length) >> 9; hptiop_probe()
1395 host->max_id = le32_to_cpu(iop_config.max_devices); hptiop_probe()
1396 host->sg_tablesize = le32_to_cpu(iop_config.max_sg_count); hptiop_probe()
1397 host->can_queue = le32_to_cpu(iop_config.max_requests); hptiop_probe()
1398 host->cmd_per_lun = le32_to_cpu(iop_config.max_requests); hptiop_probe()
/linux-4.1.27/drivers/scsi/pm8001/
H A Dpm8001_hwi.c1314 le32_to_cpu(circularQ->consumer_index)) { pm8001_mpi_msg_free_get()
1428 if (le32_to_cpu(circularQ->producer_index) pm8001_mpi_msg_consume()
1437 if (0 != (le32_to_cpu(msgHeader_tmp) & 0x80000000)) { pm8001_mpi_msg_consume()
1439 (le32_to_cpu(msgHeader_tmp) & 0xfff)) { pm8001_mpi_msg_consume()
1443 *pBC = (u8)((le32_to_cpu(msgHeader_tmp) pm8001_mpi_msg_consume()
1455 ((le32_to_cpu(msgHeader_tmp) pm8001_mpi_msg_consume()
1469 ((le32_to_cpu(msgHeader_tmp) >> 24) & pm8001_mpi_msg_consume()
1486 } while (le32_to_cpu(circularQ->producer_index) != pm8001_mpi_msg_consume()
1859 status = le32_to_cpu(psspPayload->status); mpi_ssp_completion()
1860 tag = le32_to_cpu(psspPayload->tag); mpi_ssp_completion()
1868 param = le32_to_cpu(psspPayload->param); mpi_ssp_completion()
2106 u32 event = le32_to_cpu(psspPayload->event); mpi_ssp_event()
2107 u32 tag = le32_to_cpu(psspPayload->tag); mpi_ssp_event()
2108 u32 port_id = le32_to_cpu(psspPayload->port_id); mpi_ssp_event()
2109 u32 dev_id = le32_to_cpu(psspPayload->device_id); mpi_ssp_event()
2306 status = le32_to_cpu(psataPayload->status); mpi_sata_completion()
2307 tag = le32_to_cpu(psataPayload->tag); mpi_sata_completion()
2315 param = le32_to_cpu(psataPayload->param); mpi_sata_completion()
2679 u32 event = le32_to_cpu(psataPayload->event); mpi_sata_event()
2680 u32 tag = le32_to_cpu(psataPayload->tag); mpi_sata_event()
2681 u32 port_id = le32_to_cpu(psataPayload->port_id); mpi_sata_event()
2682 u32 dev_id = le32_to_cpu(psataPayload->device_id); mpi_sata_event()
2905 status = le32_to_cpu(psmpPayload->status); mpi_smp_completion()
2906 tag = le32_to_cpu(psmpPayload->tag); mpi_smp_completion()
2909 param = le32_to_cpu(psmpPayload->param); mpi_smp_completion()
3097 u32 tag = le32_to_cpu(pPayload->tag); pm8001_mpi_set_dev_state_resp()
3100 u32 status = le32_to_cpu(pPayload->status); pm8001_mpi_set_dev_state_resp()
3101 u32 device_id = le32_to_cpu(pPayload->device_id); pm8001_mpi_set_dev_state_resp()
3102 u8 pds = le32_to_cpu(pPayload->pds_nds) & PDS_BITS; pm8001_mpi_set_dev_state_resp()
3103 u8 nds = le32_to_cpu(pPayload->pds_nds) & NDS_BITS; pm8001_mpi_set_dev_state_resp()
3117 u32 tag = le32_to_cpu(pPayload->tag); pm8001_mpi_set_nvmd_resp()
3119 u32 dlen_status = le32_to_cpu(pPayload->dlen_status); pm8001_mpi_set_nvmd_resp()
3138 u32 tag = le32_to_cpu(pPayload->tag); pm8001_mpi_get_nvmd_resp()
3140 u32 dlen_status = le32_to_cpu(pPayload->dlen_status); pm8001_mpi_get_nvmd_resp()
3142 le32_to_cpu(pPayload->ir_tda_bn_dps_das_nvm); pm8001_mpi_get_nvmd_resp()
3202 u32 status = le32_to_cpu(pPayload->status); pm8001_mpi_local_phy_ctl()
3203 u32 phy_id = le32_to_cpu(pPayload->phyop_phyid) & ID_BITS; pm8001_mpi_local_phy_ctl()
3204 u32 phy_op = le32_to_cpu(pPayload->phyop_phyid) & OP_BITS; pm8001_mpi_local_phy_ctl()
3357 le32_to_cpu(pPayload->lr_evt_status_phyid_portid); hw_event_sas_phy_up()
3363 u32 npip_portstate = le32_to_cpu(pPayload->npip_portstate); hw_event_sas_phy_up()
3436 le32_to_cpu(pPayload->lr_evt_status_phyid_portid); hw_event_sata_phy_up()
3442 u32 npip_portstate = le32_to_cpu(pPayload->npip_portstate); hw_event_sata_phy_up()
3481 le32_to_cpu(pPayload->lr_evt_status_phyid_portid); hw_event_phy_down()
3485 u32 npip_portstate = le32_to_cpu(pPayload->npip_portstate); hw_event_phy_down()
3554 htag = le32_to_cpu(registerRespPayload->tag); pm8001_mpi_reg_resp()
3557 status = le32_to_cpu(registerRespPayload->status); pm8001_mpi_reg_resp()
3558 device_id = le32_to_cpu(registerRespPayload->device_id); pm8001_mpi_reg_resp()
3613 status = le32_to_cpu(registerRespPayload->status); pm8001_mpi_dereg_resp()
3614 device_id = le32_to_cpu(registerRespPayload->device_id); pm8001_mpi_dereg_resp()
3633 u32 tag = le32_to_cpu(ppayload->tag); pm8001_mpi_fw_flash_update_resp()
3635 status = le32_to_cpu(ppayload->status); pm8001_mpi_fw_flash_update_resp()
3692 status = le32_to_cpu(pPayload->status); pm8001_mpi_general_event()
3715 status = le32_to_cpu(pPayload->status); pm8001_mpi_task_abort_resp()
3716 tag = le32_to_cpu(pPayload->tag); pm8001_mpi_task_abort_resp()
3723 scp = le32_to_cpu(pPayload->scp); pm8001_mpi_task_abort_resp()
3779 le32_to_cpu(pPayload->lr_evt_status_phyid_portid); mpi_hw_event()
3989 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); process_one_iomb()
4175 if (le32_to_cpu(circularQ->producer_index) == process_oq()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.h51 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); ocrdma_le32_to_cpu()
75 *(dst_ptr + i) = le32_to_cpu(*(src_ptr + i)); ocrdma_copy_le32_to_cpu()
/linux-4.1.27/arch/microblaze/kernel/
H A Dsetup.c90 if (addr[0] == le32_to_cpu(0x28cd3d45)) /* cramfs */ get_romfs_len()
91 return le32_to_cpu(addr[1]); get_romfs_len()
/linux-4.1.27/drivers/iio/common/ssp_sensors/
H A Dssp_iio.c97 timestamp + (int64_t)le32_to_cpu(time) * 1000000; ssp_common_process_data()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dio.h41 return le32_to_cpu(wl->buffer_32); wl1251_read32()
/linux-4.1.27/fs/ufs/
H A Dswab.h47 return le32_to_cpu((__force __le32)n); fs32_to_cpu()

Completed in 5753 milliseconds

12345