Home
last modified time | relevance | path

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

12345

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-dbg-tlv.c71 u32 len = le32_to_cpu(tlv->length); in iwl_dbg_tlv_add()
88 u32 type = le32_to_cpu(tlv->type); in iwl_dbg_tlv_ver_support()
90 u32 ver = le32_to_cpu(hdr->version); in iwl_dbg_tlv_ver_support()
104 if (le32_to_cpu(tlv->length) != sizeof(*debug_info)) in iwl_dbg_tlv_alloc_debug_info()
128 if (le32_to_cpu(tlv->length) != sizeof(*alloc)) in iwl_dbg_tlv_alloc_buf_alloc()
131 buf_location = le32_to_cpu(alloc->buf_location); in iwl_dbg_tlv_alloc_buf_alloc()
132 alloc_id = le32_to_cpu(alloc->alloc_id); in iwl_dbg_tlv_alloc_buf_alloc()
170 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd()
172 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd()
197 u32 id = le32_to_cpu(re in iwl_dbg_tlv_alloc_region()
[all...]
H A Diwl-drv.c434 sec->offset = le32_to_cpu(sec_parse->offset); in iwl_store_ucode_sec()
447 u32 ucode_type = le32_to_cpu(def_calib->ucode_type); in iwl_set_default_calib()
465 u32 api_index = le32_to_cpu(ucode_api->api_index); in iwl_set_ucode_api_flags()
466 u32 api_flags = le32_to_cpu(ucode_api->api_flags); in iwl_set_ucode_api_flags()
486 u32 api_index = le32_to_cpu(ucode_capa->api_index); in iwl_set_ucode_capabilities()
487 u32 api_flags = le32_to_cpu(ucode_capa->api_capa); in iwl_set_ucode_capabilities()
522 drv->fw.ucode_ver = le32_to_cpu(ucode->ver); in iwl_parse_v1_v2_firmware()
532 build = le32_to_cpu(ucode->u.v2.build); in iwl_parse_v1_v2_firmware()
534 le32_to_cpu(ucode->u.v2.inst_size)); in iwl_parse_v1_v2_firmware()
536 le32_to_cpu(ucode->u.v2.data_size)); in iwl_parse_v1_v2_firmware()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dtime-event.c287 u32 trig_te_id = le32_to_cpu(te_trig->time_events[i].id);
289 le32_to_cpu(te_trig->time_events[i].action_bitmap);
291 le32_to_cpu(te_trig->time_events[i].status_bitmap);
294 !(trig_action_bitmap & le32_to_cpu(notif->action)) || in iwl_mvm_te_handle_notif()
295 !(trig_status_bitmap & BIT(le32_to_cpu(notif->status)))) in iwl_mvm_te_handle_notif()
301 le32_to_cpu(notif->action), in iwl_mvm_te_handle_notif()
302 le32_to_cpu(notif->status)); in iwl_mvm_te_handle_notif()
321 le32_to_cpu(notif->unique_id), in iwl_mvm_te_handle_notif()
322 le32_to_cpu(notif->action)); in iwl_mvm_te_handle_notif()
334 if (!le32_to_cpu(noti in iwl_mvm_te_handle_notif()
[all...]
H A Dpower.c28 le32_to_cpu(cmd->ba_enable_beacon_abort)); in iwl_mvm_beacon_filter_send_cmd()
30 le32_to_cpu(cmd->ba_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
32 le32_to_cpu(cmd->bf_debug_flag)); in iwl_mvm_beacon_filter_send_cmd()
34 le32_to_cpu(cmd->bf_enable_beacon_filter)); in iwl_mvm_beacon_filter_send_cmd()
36 le32_to_cpu(cmd->bf_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
38 le32_to_cpu(cmd->bf_escape_timer)); in iwl_mvm_beacon_filter_send_cmd()
40 le32_to_cpu(cmd->bf_roaming_energy_delta)); in iwl_mvm_beacon_filter_send_cmd()
42 le32_to_cpu(cmd->bf_roaming_state)); in iwl_mvm_beacon_filter_send_cmd()
44 le32_to_cpu(cmd->bf_temp_threshold)); in iwl_mvm_beacon_filter_send_cmd()
46 le32_to_cpu(cm in iwl_mvm_beacon_filter_send_cmd()
[all...]
H A Dcoex.c120 primary_ch_phy_id = le32_to_cpu(mvm->last_bt_ci_cmd.primary_ch_phy_id); in iwl_get_coex_type()
122 le32_to_cpu(mvm->last_bt_ci_cmd.secondary_ch_phy_id); in iwl_get_coex_type()
125 ret = le32_to_cpu(mvm->last_bt_notif.primary_ch_lut); in iwl_get_coex_type()
127 ret = le32_to_cpu(mvm->last_bt_notif.secondary_ch_lut); in iwl_get_coex_type()
379 bt_activity_grading = le32_to_cpu(data->notif->bt_activity_grading); in iwl_mvm_bt_notif_per_link()
459 le32_to_cpu(mvm->last_bt_notif.bt_activity_grading) == BT_OFF || in iwl_mvm_bt_coex_notif_handle()
603 le32_to_cpu(notif->primary_ch_lut)); in iwl_mvm_coex_agg_time_limit()
605 le32_to_cpu(notif->secondary_ch_lut)); in iwl_mvm_coex_agg_time_limit()
607 le32_to_cpu(notif->bt_activity_grading)); in iwl_mvm_coex_agg_time_limit()
635 if (le32_to_cpu(mv in iwl_mvm_bt_coex_is_mimo_allowed()
[all...]
H A Dquota.c110 u32 id_n_c = le32_to_cpu(data->id_and_color); in iwl_mvm_adjust_quota_for_noa()
112 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa()
121 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
242 WARN_ONCE(le32_to_cpu(qdata->quota) > QUOTA_100, in iwl_mvm_update_quotas()
244 idx, le32_to_cpu(qdata->quota), QUOTA_100); in iwl_mvm_update_quotas()
254 if (le32_to_cpu(qdata->quota) != 0) { in iwl_mvm_update_quotas()
273 if (abs((int)le32_to_cpu(qdata->quota) - in iwl_mvm_update_quotas()
274 (int)le32_to_cpu(last_data->quota)) in iwl_mvm_update_quotas()
H A Drx.c110 le32_to_cpu(phy_info->non_cfg_phy[IWL_RX_INFO_ENERGY_ANT_ABC_IDX]); in iwl_mvm_get_signal_strength()
348 rate_n_flags = le32_to_cpu(phy_info->rate_n_flags); in iwl_mvm_rx_rx_mpdu()
352 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); in iwl_mvm_rx_rx_mpdu()
449 rssi = le32_to_cpu(rssi_trig->rssi); in iwl_mvm_rx_rx_mpdu()
653 u16 id = le32_to_cpu(data->mac_id); in iwl_mvm_stat_iterator()
662 le32_to_cpu(data->beacon_counter[vif_id]); in iwl_mvm_stat_iterator()
675 if (le32_to_cpu(data->flags) & IWL_STATISTICS_REPLY_FLG_CLEAR) in iwl_mvm_stat_iterator_all_macs()
701 le32_to_cpu(mac_stats->beacon_counter); in iwl_mvm_rx_stats_check_trigger()
703 -le32_to_cpu(mac_stats->beacon_average_energy); in iwl_mvm_rx_stats_check_trigger()
708 if (le32_to_cpu(dat in iwl_mvm_rx_stats_check_trigger()
[all...]
H A Dfw.c97 le32_to_cpu(mfu_dump_notif->assert_id)); in iwl_mvm_mfu_assert_dump_notif()
125 le32_to_cpu(palive->imr.enabled); in iwl_alive_fn()
127 le32_to_cpu(palive->imr.size); in iwl_alive_fn()
174 mvm->trans->sku_id[0] = le32_to_cpu(palive->sku_id.data[0]); in iwl_alive_fn()
175 mvm->trans->sku_id[1] = le32_to_cpu(palive->sku_id.data[1]); in iwl_alive_fn()
176 mvm->trans->sku_id[2] = le32_to_cpu(palive->sku_id.data[2]); in iwl_alive_fn()
212 le32_to_cpu(lmac1->dbg_ptrs.error_event_table_ptr); in iwl_alive_fn()
217 le32_to_cpu(lmac2->dbg_ptrs.error_event_table_ptr); in iwl_alive_fn()
219 umac_error_table = le32_to_cpu(umac->dbg_ptrs.error_info_addr) & in iwl_alive_fn()
236 alive_data->scd_base_addr = le32_to_cpu(lmac in iwl_alive_fn()
[all...]
H A Dmac-ctxt.c595 le32_to_cpu(cmd->action), ret); in iwl_mvm_set_fw_dtim_tbtt()
635 le32_to_cpu(*dtim_time), in iwl_mvm_mac_ctxt_cmd_p2p_sta_get_oppps_ctwin()
1528 mvm->ap_last_beacon_gp2 = le32_to_cpu(beacon->gp2); in iwl_mvm_rx_beacon_notif()
1545 le32_to_cpu(beacon_notify_hdr->initial_rate)); in iwl_mvm_rx_beacon_notif()
1551 status = le32_to_cpu(beacon->status) & TX_STATUS_MSK; in iwl_mvm_rx_beacon_notif()
1600 u32 id = le32_to_cpu(mb->link_id); in iwl_mvm_rx_missed_beacons_notif()
1626 le32_to_cpu(mb->consec_missed_beacons), in iwl_mvm_rx_missed_beacons_notif()
1627 le32_to_cpu(mb->consec_missed_beacons_since_last_rx), in iwl_mvm_rx_missed_beacons_notif()
1628 le32_to_cpu(mb->num_recvd_beacons), in iwl_mvm_rx_missed_beacons_notif()
1629 le32_to_cpu(m in iwl_mvm_rx_missed_beacons_notif()
[all...]
H A Dtime-sync.c55 return ((u64)le32_to_cpu(high) << 32) | le32_to_cpu(low); in iwl_mvm_get_64_bit()
68 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_event()
104 le32_to_cpu(notif->dialog_token)); in iwl_mvm_time_sync_msmt_confirm_event()
H A Dutils.c120 *status = le32_to_cpu(resp->status); in iwl_mvm_send_cmd_status()
204 le32_to_cpu(err_resp->error_type), err_resp->cmd_id); in iwl_mvm_rx_fw_error()
207 le32_to_cpu(err_resp->error_service)); in iwl_mvm_rx_fw_error()
774 return le32_to_cpu(txq_timer->tdls); in iwl_mvm_tcm_load()
777 return le32_to_cpu(txq_timer->command_queue); in iwl_mvm_tcm_load()
784 return le32_to_cpu(txq_timer->ibss); in iwl_mvm_tcm_iter()
786 return le32_to_cpu(txq_timer->bss); in iwl_mvm_tcm_iter()
788 return le32_to_cpu(txq_timer->softap); in iwl_mvm_tcm_iter()
790 return le32_to_cpu(txq_timer->p2p_client); in iwl_mvm_tcm_iter()
792 return le32_to_cpu(txq_time in iwl_mvm_tcm_iter()
[all...]
H A Dptp.c117 gp2_10ns = (u64)le32_to_cpu(resp->gp2_timestamp_hi) << 32 | in iwl_mvm_get_crosstimestamp_fw()
118 le32_to_cpu(resp->gp2_timestamp_lo); in iwl_mvm_get_crosstimestamp_fw()
121 *sys_time = (u64)le32_to_cpu(resp->platform_timestamp_hi) << 32 | in iwl_mvm_get_crosstimestamp_fw()
122 le32_to_cpu(resp->platform_timestamp_lo); in iwl_mvm_get_crosstimestamp_fw()
H A Ddebugfs-vif.c419 le32_to_cpu(cmd.bf_energy_delta)); in iwl_dbgfs_bf_params_read()
421 le32_to_cpu(cmd.bf_roaming_energy_delta)); in iwl_dbgfs_bf_params_read()
423 le32_to_cpu(cmd.bf_roaming_state)); in iwl_dbgfs_bf_params_read()
425 le32_to_cpu(cmd.bf_temp_threshold)); in iwl_dbgfs_bf_params_read()
427 le32_to_cpu(cmd.bf_temp_fast_filter)); in iwl_dbgfs_bf_params_read()
429 le32_to_cpu(cmd.bf_temp_slow_filter)); in iwl_dbgfs_bf_params_read()
431 le32_to_cpu(cmd.bf_enable_beacon_filter)); in iwl_dbgfs_bf_params_read()
433 le32_to_cpu(cmd.bf_debug_flag)); in iwl_dbgfs_bf_params_read()
435 le32_to_cpu(cmd.bf_escape_timer)); in iwl_dbgfs_bf_params_read()
437 le32_to_cpu(cmd.ba_escape_timer)); in iwl_dbgfs_bf_params_read()
[all …]
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dsmem.c16 int lmac_num = le32_to_cpu(mem_cfg->lmac_num); in iwl_parse_shared_mem_22000()
26 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo2_size); in iwl_parse_shared_mem_22000()
31 le32_to_cpu(mem_cfg->rxfifo2_control_size); in iwl_parse_shared_mem_22000()
40 le32_to_cpu(lmac_cfg->txfifo_size[i]); in iwl_parse_shared_mem_22000()
42 le32_to_cpu(lmac_cfg->rxfifo1_size); in iwl_parse_shared_mem_22000()
57 le32_to_cpu(mem_cfg->txfifo_size[i]); in iwl_parse_shared_mem()
60 le32_to_cpu(mem_cfg->rxfifo_size[0]); in iwl_parse_shared_mem()
61 fwrt->smem_cfg.rxfifo2_size = le32_to_cpu(mem_cfg->rxfifo_size[1]); in iwl_parse_shared_mem()
70 le32_to_cpu(mem_cfg->internal_txfifo_addr); in iwl_parse_shared_mem()
76 le32_to_cpu(mem_cfg->internal_txfifo_size[i]); in iwl_parse_shared_mem()
H A Dpnvm.c30 le32_to_cpu(pnvm_ntf->status)); in iwl_pnvm_complete_fn()
54 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_handle_section()
55 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_handle_section()
183 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_parse()
184 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
200 le32_to_cpu(sku_id->data[0]), in iwl_pnvm_parse()
201 le32_to_cpu(sku_id->data[1]), in iwl_pnvm_parse()
202 le32_to_cpu(sku_id->data[2])); in iwl_pnvm_parse()
217 if (trans->sku_id[0] == le32_to_cpu(sku_id->data[0]) && in iwl_pnvm_parse()
218 trans->sku_id[1] == le32_to_cpu(sku_i in iwl_pnvm_parse()
[all...]
H A Duefi.c132 if (le32_to_cpu(desc->size) != data_len) { in iwl_uefi_reduce_power_section()
166 tlv_len = le32_to_cpu(tlv->length); in iwl_uefi_reduce_power_section()
167 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_section()
219 tlv_len = le32_to_cpu(tlv->length); in iwl_uefi_reduce_power_parse()
220 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_parse()
236 le32_to_cpu(sku_id->data[0]), in iwl_uefi_get_reduced_power()
237 le32_to_cpu(sku_id->data[1]), in iwl_uefi_get_reduced_power()
238 le32_to_cpu(sku_id->data[2])); in iwl_uefi_get_reduced_power()
243 if (trans->sku_id[0] == le32_to_cpu(sku_id->data[0]) && in iwl_uefi_get_reduced_power()
244 trans->sku_id[1] == le32_to_cpu(sku_i in iwl_uefi_get_reduced_power()
[all...]
H A Ddbg.c840 ADD_LEN(file_len, le32_to_cpu(fw_mem[i].len), hdr_len); in iwl_fw_error_dump_file()
969 u32 len = le32_to_cpu(fw_dbg_mem[i].len); in iwl_fw_error_dump_file()
970 u32 ofs = le32_to_cpu(fw_dbg_mem[i].ofs); in iwl_fw_error_dump_file()
973 le32_to_cpu(fw_dbg_mem[i].data_type)); in iwl_fw_error_dump_file()
1041 for (i = 0; i < le32_to_cpu(size); i += 4) in iwl_dump_ini_prph_mac_iter()
1044 return sizeof(*range) + le32_to_cpu(range->range_data_size); in iwl_dump_ini_prph_mac_iter()
1053 u32 addr = le32_to_cpu(reg->addrs[idx]) + in iwl_dump_ini_prph_mac_iter()
1054 le32_to_cpu(reg->dev_addr.offset); in iwl_dump_ini_prph_mac_iter()
1067 u32 addr = le32_to_cpu(reg->dev_addr_range.offset) + in iwl_dump_ini_prph_phy_iter()
1068 le32_to_cpu(pair in iwl_dump_ini_prph_phy_iter()
[all...]
H A Ddbg.h80 u32 trig_vif = le32_to_cpu(trig->vif_type); in iwl_fw_dbg_trigger_vif_match()
92 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match()
120 if (iwl_fw_dbg_no_trig_window(fwrt, le32_to_cpu(trig->id), usec)) { in iwl_fw_dbg_trigger_check_stop()
320 fwrt->dump.fw_ver.lmac_major = le32_to_cpu(lmac->ucode_major); in iwl_fwrt_update_fw_versions()
321 fwrt->dump.fw_ver.lmac_minor = le32_to_cpu(lmac->ucode_minor); in iwl_fwrt_update_fw_versions()
325 fwrt->dump.fw_ver.umac_major = le32_to_cpu(umac->umac_major); in iwl_fwrt_update_fw_versions()
326 fwrt->dump.fw_ver.umac_minor = le32_to_cpu(umac->umac_minor); in iwl_fwrt_update_fw_versions()
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dwmi.c453 le32_to_cpu(ev->default_conc_scan_config_bits); in ath12k_pull_svc_ready_ext()
454 arg->default_fw_config_bits = le32_to_cpu(ev->default_fw_config_bits); in ath12k_pull_svc_ready_ext()
455 arg->he_cap_info = le32_to_cpu(ev->he_cap_info); in ath12k_pull_svc_ready_ext()
456 arg->mpdu_density = le32_to_cpu(ev->mpdu_density); in ath12k_pull_svc_ready_ext()
457 arg->max_bssid_rx_filters = le32_to_cpu(ev->max_bssid_rx_filters); in ath12k_pull_svc_ready_ext()
458 arg->ppet.numss_m1 = le32_to_cpu(ev->ppet.numss_m1); in ath12k_pull_svc_ready_ext()
459 arg->ppet.ru_bit_mask = le32_to_cpu(ev->ppet.ru_info); in ath12k_pull_svc_ready_ext()
463 le32_to_cpu(ev->ppet.ppet16_ppet8_ru3_ru0[i]); in ath12k_pull_svc_ready_ext()
489 for (hw_idx = 0; hw_idx < le32_to_cpu(hw_caps->num_hw_modes); hw_idx++) { in ath12k_pull_mac_phy_cap_svc_ready_ext()
490 if (hw_mode_id == le32_to_cpu(wmi_hw_mode_caps[hw_idx].hw_mode_id)) in ath12k_pull_mac_phy_cap_svc_ready_ext()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dusb_mcu.c29 ilm_len = le32_to_cpu(hdr->ilm_len) - MT_MCU_IVB_SIZE; in mt76x0u_upload_firmware()
38 dlm_len = le32_to_cpu(hdr->dlm_len); in mt76x0u_upload_firmware()
41 fw_payload + le32_to_cpu(hdr->ilm_len), in mt76x0u_upload_firmware()
107 if (le32_to_cpu(hdr->ilm_len) <= MT_MCU_IVB_SIZE) in mt76x0u_load_firmware()
111 len += le32_to_cpu(hdr->ilm_len); in mt76x0u_load_firmware()
112 len += le32_to_cpu(hdr->dlm_len); in mt76x0u_load_firmware()
123 len = le32_to_cpu(hdr->ilm_len); in mt76x0u_load_firmware()
H A Dpci_mcu.c40 len += le32_to_cpu(hdr->ilm_len); in mt76x0e_load_firmware()
41 len += le32_to_cpu(hdr->dlm_len); in mt76x0e_load_firmware()
69 ilm_len = le32_to_cpu(hdr->ilm_len); in mt76x0e_load_firmware()
87 dlm_len = le32_to_cpu(hdr->dlm_len); in mt76x0e_load_firmware()
90 fw_payload + le32_to_cpu(hdr->ilm_len), dlm_len); in mt76x0e_load_firmware()
/freebsd/sys/contrib/dev/rtw89/
H A Dcoex.c883 le32_to_cpu(chip->mon_reg[i].offset) == target) { in _chk_btc_err()
931 reg_val = le32_to_cpu(pmreg->v1.mreg_val[idx]); in _update_bt_report()
940 reg_val = le32_to_cpu(pmreg->v2.mreg_val[idx]); in _update_bt_report()
961 reg_val = le32_to_cpu(pmreg->v1.mreg_val[idx]) & in _update_bt_report()
971 reg_val = le32_to_cpu(pmreg->v2.mreg_val[idx]) & in _update_bt_report()
1183 bt->ver_info.fw = le32_to_cpu(pver->v7.fw_ver); in _chk_btc_report()
1186 bt->feature = le32_to_cpu(pver->v7.feature); in _chk_btc_report()
1189 bt->ver_info.fw = le32_to_cpu(pver->v1.fw_ver); in _chk_btc_report()
1192 bt->feature = le32_to_cpu(pver->v1.feature); in _chk_btc_report()
1258 a2dp->device_name = le32_to_cpu(pde in _chk_btc_report()
[all...]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dpci_mcu.c99 len += le32_to_cpu(hdr->ilm_len); in mt76pci_load_firmware()
100 len += le32_to_cpu(hdr->dlm_len); in mt76pci_load_firmware()
114 len = le32_to_cpu(hdr->ilm_len); in mt76pci_load_firmware()
120 len = le32_to_cpu(hdr->dlm_len); in mt76pci_load_firmware()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dmac.c184 u32 rxd0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
185 u32 rxd1 = le32_to_cpu(rxd[1]); in mt7921_mac_fill_rx()
186 u32 rxd2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx()
187 u32 rxd3 = le32_to_cpu(rxd[3]); in mt7921_mac_fill_rx()
188 u32 rxd4 = le32_to_cpu(rxd[4]); in mt7921_mac_fill_rx()
269 u32 v0 = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
270 u32 v2 = le32_to_cpu(rxd[2]); in mt7921_mac_fill_rx()
313 status->timestamp = le32_to_cpu(rxd[0]); in mt7921_mac_fill_rx()
344 v0 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
345 v1 = le32_to_cpu(rxv[1]); in mt7921_mac_fill_rx()
[all …]
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_sp.c115 attr->max_qp = le32_to_cpu(sb->max_qp); in bnxt_qplib_get_dev_attr()
145 attr->max_cq = le32_to_cpu(sb->max_cq); in bnxt_qplib_get_dev_attr()
148 attr->max_cq_wqes = le32_to_cpu(sb->max_cqe); in bnxt_qplib_get_dev_attr()
152 attr->max_mr = le32_to_cpu(sb->max_mr); in bnxt_qplib_get_dev_attr()
154 attr->max_mw = le32_to_cpu(sb->max_mw); in bnxt_qplib_get_dev_attr()
159 attr->max_raw_ethy_qp = le32_to_cpu(sb->max_raw_eth_qp); in bnxt_qplib_get_dev_attr()
160 attr->max_ah = le32_to_cpu(sb->max_ah); in bnxt_qplib_get_dev_attr()
163 attr->max_fmr = le32_to_cpu(sb->max_fmr); in bnxt_qplib_get_dev_attr()
168 attr->max_srq_wqes = le32_to_cpu(sb->max_srq_wr) - 1; in bnxt_qplib_get_dev_attr()
173 le32_to_cpu(sb->max_inline_data) : in bnxt_qplib_get_dev_attr()
[all …]

12345