Lines Matching refs:le32toh

149 #define le32_to_cpup(_a_) (le32toh(*(const uint32_t *)(_a_)))
820 base_reg = le32toh(dest_v1->base_reg);
821 end_reg = le32toh(dest_v1->end_reg);
840 addr = le32toh(dest_v1->reg_ops[i].addr);
841 val = le32toh(dest_v1->reg_ops[i].val);
881 iwx_write_prph(sc, le32toh(base_reg),
1165 uint32_t ucode_type = le32toh(def_calib->ucode_type);
1234 || le32toh(uhdr->magic) != IWX_TLV_UCODE_MAGIC) {
1242 IWX_UCODE_MAJOR(le32toh(uhdr->ver)),
1243 IWX_UCODE_MINOR(le32toh(uhdr->ver)),
1244 IWX_UCODE_API(le32toh(uhdr->ver)));
1254 tlv_len = le32toh(tlv.length);
1255 tlv_type = le32toh(tlv.type);
1275 = le32toh(*(uint32_t *)tlv_data);
1305 sc->sc_capaflags = le32toh(*(uint32_t *)tlv_data);
1318 num_cpu = le32toh(*(uint32_t *)tlv_data);
1357 sc->sc_fw_phy_config = le32toh(*(uint32_t *)tlv_data);
1368 idx = le32toh(api->api_index);
1374 if ((le32toh(api->api_flags) & (1 << i)) == 0)
1389 idx = le32toh(capa->api_index);
1394 if ((le32toh(capa->api_capa) & (1 << i)) == 0)
1427 le32toh(*(uint32_t *)tlv_data);
1441 le32toh(((uint32_t *)tlv_data)[0]),
1442 le32toh(((uint32_t *)tlv_data)[1]),
1443 le32toh(((uint32_t *)tlv_data)[2]));
1493 le32toh(dbg_ptrs->error_info_addr) &
1511 le32toh(dbg_ptrs->error_event_table_ptr) &
1713 vals[offs] = le32toh(IWX_READ(sc, IWX_HBUS_TARG_MEM_RDAT));
3276 baid = (le32toh(release->ba_info) & IWX_BAR_FRAME_RELEASE_BAID_MASK) >>
3286 tid = le32toh(release->sta_tid) & IWX_BAR_FRAME_RELEASE_TID_MASK;
3287 sta_id = (le32toh(release->sta_tid) &
3292 nssn = le32toh(release->ba_info) & IWX_BAR_FRAME_RELEASE_NSSN_MASK;
3949 mac_flags = le32toh(rsp->mac_sku.mac_sku_flags);
3964 nvm->valid_tx_ant = (uint8_t)le32toh(rsp->phy_sku.tx_chains);
3965 nvm->valid_rx_ant = (uint8_t)le32toh(rsp->phy_sku.rx_chains);
3967 if (le32toh(rsp->regulatory.lar_enabled) &&
4068 tlv_len = le32toh(tlv->length);
4069 tlv_type = le32toh(tlv->type);
4170 tlv_len = le32toh(tlv->length);
4171 tlv_type = le32toh(tlv->type);
4183 if (sc->sc_sku_id[0] == le32toh(sku_id->data[0]) &&
4184 sc->sc_sku_id[1] == le32toh(sku_id->data[1]) &&
4185 sc->sc_sku_id[2] == le32toh(sku_id->data[2]) &&
4955 uint32_t reorder_data = le32toh(desc->reorder_data);
5275 rate_n_flags = le32toh(desc->v3.rate_n_flags);
5277 device_timestamp = le32toh(desc->v3.gp2_on_air_rise);
5279 rate_n_flags = le32toh(desc->v1.rate_n_flags);
5281 device_timestamp = le32toh(desc->v1.gp2_on_air_rise);
5400 ssn = le32toh(ssn);
5498 missed = le32toh(mbn->consec_missed_beacons_since_last_rx);
5951 *status = le32toh(resp->status);
6334 if (data->cmd_paddr >> 32 != (data->cmd_paddr + le32toh(desc->tbs[0].tb_len)) >> 32)
6341 if (data->cmd_paddr >> 32 != (data->cmd_paddr + le32toh(desc->tbs[1].tb_len)) >> 32)
6350 if (data->cmd_paddr >> 32 != (data->cmd_paddr + le32toh(desc->tbs[i + 2].tb_len)) >> 32)
7954 (le32toh(notif->flags) & IWX_TLC_NOTIF_FLAG_RATE) == 0)
7957 rate_n_flags = le32toh(notif->rate);
9865 sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
9867 sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
9869 sc->sc_uc.uc_log_event_table = le32toh(
9871 sc->sc_uc.uc_umac_error_event_table = le32toh(
9874 le32toh(resp6->sku_id.data[0]);
9876 le32toh(resp6->sku_id.data[1]);
9878 le32toh(resp6->sku_id.data[2]);
9890 sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
9892 sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
9894 sc->sc_uc.uc_log_event_table = le32toh(
9896 sc->sc_uc.uc_umac_error_event_table = le32toh(
9899 le32toh(resp5->sku_id.data[0]);
9901 le32toh(resp5->sku_id.data[1]);
9903 le32toh(resp5->sku_id.data[2]);
9908 sc->sc_uc.uc_lmac_error_event_table[0] = le32toh(
9910 sc->sc_uc.uc_lmac_error_event_table[1] = le32toh(
9912 sc->sc_uc.uc_log_event_table = le32toh(
9914 sc->sc_uc.uc_umac_error_event_table = le32toh(
10039 DEVNAME(sc), le32toh(resp->error_type),
10049 if (sc->sc_time_event_uid != le32toh(notif->unique_id))
10051 action = le32toh(notif->action);
10064 status = le32toh(notif->status);
10065 start = le32toh(notif->start);
10066 conf_id = le32toh(notif->conf_id);