/freebsd/sys/contrib/dev/iwlwifi/mvm/ |
H A D | sf.c | 48 cpu_to_le32(SF_SINGLE_UNICAST_AGING_TIMER_DEF), 49 cpu_to_le32(SF_SINGLE_UNICAST_IDLE_TIMER_DEF) 52 cpu_to_le32(SF_AGG_UNICAST_AGING_TIMER_DEF), 53 cpu_to_le32(SF_AGG_UNICAST_IDLE_TIMER_DEF) 56 cpu_to_le32(SF_MCAST_AGING_TIMER_DEF), 57 cpu_to_le32(SF_MCAST_IDLE_TIMER_DEF) 60 cpu_to_le32(SF_BA_AGING_TIMER_DEF), 61 cpu_to_le32(SF_BA_IDLE_TIMER_DEF) 64 cpu_to_le32(SF_TX_RE_AGING_TIMER_DEF), 65 cpu_to_le32(SF_TX_RE_IDLE_TIMER_DE [all...] |
H A D | link.c | 71 cmd->action = cpu_to_le32(action); in iwl_mvm_add_link() 126 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_link_changed() 127 cmd.mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_link_changed() 130 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_link_changed() 138 cmd.listen_lmac = cpu_to_le32(link_info->listen_lmac); in iwl_mvm_link_changed() 242 cmd.link_id = cpu_to_le32(link_info->fw_link_id); in iwl_mvm_remove_link() 249 cmd.phy_id = cpu_to_le32(phyctxt->id); in iwl_mvm_remove_link() 251 cmd.phy_id = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_remove_link() 252 cmd.mac_id = cpu_to_le32(mvmvif->id); in iwl_mvm_remove_link() 256 cmd.active = cpu_to_le32(activ in iwl_mvm_remove_link() [all...] |
H A D | time-event.c | 337 if (notif->action & cpu_to_le32(TE_V2_NOTIF_HOST_EVENT_START)) in iwl_mvm_te_handle_notif() 686 time_cmd.action = cpu_to_le32(FW_CTXT_ACTION_ADD); in __iwl_mvm_remove_time_event() 688 cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, mvmvif->color)); in __iwl_mvm_remove_time_event() 689 time_cmd.id = cpu_to_le32(TE_BSS_STA_AGGRESSIVE_ASSOC); in __iwl_mvm_remove_time_event() 691 time_cmd.apply_time = cpu_to_le32(0); in __iwl_mvm_remove_time_event() 694 time_cmd.max_delay = cpu_to_le32(max_delay); in __iwl_mvm_remove_time_event() 696 time_cmd.interval = cpu_to_le32(1); in __iwl_mvm_remove_time_event() 697 time_cmd.duration = cpu_to_le32(duration); in __iwl_mvm_remove_time_event() 757 .id_and_color = cpu_to_le32(mac_link_id), in iwl_mvm_remove_aux_roc_te() 758 .action = cpu_to_le32(FW_CTXT_ACTION_REMOV in iwl_mvm_remove_aux_roc_te() [all...] |
H A D | mac-ctxt.c | 430 *cck_rates = cpu_to_le32((u32)cck_ack_rates); in iwl_mvm_set_fw_protection_flags() 431 *ofdm_rates = cpu_to_le32((u32)ofdm_ack_rates); in iwl_mvm_set_fw_protection_flags() 447 *protection_flags |= cpu_to_le32(tgg_flag); in iwl_mvm_set_fw_protection_flags() 466 *protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_set_fw_protection_flags() 471 *protection_flags |= cpu_to_le32(ht_flag); in iwl_mvm_set_fw_qos_params() 507 *qos_flags |= cpu_to_le32(MAC_QOS_FLG_UPDATE_EDCA); in iwl_mvm_get_mac_type() 510 *qos_flags |= cpu_to_le32(MAC_QOS_FLG_TGN); in iwl_mvm_get_mac_type() 552 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_mac_ctxt_cmd_common() 554 cmd->action = cpu_to_le32(action); in iwl_mvm_mac_ctxt_cmd_common() 555 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_typ in iwl_mvm_mac_ctxt_cmd_common() [all...] |
H A D | mld-mac.c | 26 cmd->id_and_color = cpu_to_le32(mvmvif->id); in iwl_mvm_mld_mac_ctxt_cmd_common() 27 cmd->action = cpu_to_le32(action); in iwl_mvm_mld_mac_ctxt_cmd_common() 29 cmd->mac_type = cpu_to_le32(iwl_mvm_get_mac_type(vif)); in iwl_mvm_mld_mac_ctxt_cmd_common() 40 cpu_to_le32(!iwl_mvm_is_nic_ack_enabled(mvm, vif)); in iwl_mvm_mld_mac_ctxt_cmd_common() 55 cmd->eht_support = cpu_to_le32(1); in iwl_mvm_mld_mac_ctxt_cmd_common() 75 cmd->eht_support = cpu_to_le32(1); in iwl_mvm_mld_mac_ctxt_cmd_common() 110 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_GRP); in iwl_mvm_mld_mac_ctxt_cmd_sta() 133 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_BEACON); in iwl_mvm_mld_mac_ctxt_cmd_sta() 150 cmd.filter_flags |= cpu_to_le32(MAC_CFG_FILTER_ACCEPT_PROBE_REQ); in iwl_mvm_mld_mac_ctxt_cmd_sta() 169 cmd.filter_flags = cpu_to_le32(MAC_CFG_FILTER_PROMIS in iwl_mvm_mld_mac_ctxt_cmd_listener() [all...] |
H A D | mld-sta.c | 71 cmd.sta_id = cpu_to_le32((u8)sta->sta_id); in iwl_mvm_mld_add_int_sta_to_fw() 73 cmd.link_id = cpu_to_le32(link_id); in iwl_mvm_mld_add_int_sta_to_fw() 75 cmd.station_type = cpu_to_le32(sta->type); in iwl_mvm_mld_add_int_sta_to_fw() 80 cmd.mfp = cpu_to_le32(1); in iwl_mvm_mld_add_int_sta_to_fw() 98 .sta_id = cpu_to_le32(sta_id), in iwl_mvm_mld_rm_sta_from_fw() 125 .sta_id = cpu_to_le32(sta->sta_id), in iwl_mvm_add_aux_sta_to_fw() 126 .lmac_id = cpu_to_le32(lmac_id), in iwl_mvm_add_aux_sta_to_fw() 323 .operation = cpu_to_le32(IWL_SCD_QUEUE_REMOVE), in iwl_mvm_mld_disable_txq() 324 .u.remove.tid = cpu_to_le32(tid), in iwl_mvm_mld_disable_txq() 325 .u.remove.sta_mask = cpu_to_le32(sta_mas in iwl_mvm_mld_disable_txq() [all...] |
H A D | power.c | 77 cpu_to_le32(vif->bss_conf.cqm_rssi_hyst); in iwl_mvm_beacon_filter_set_cqm_params() 80 cpu_to_le32(-vif->bss_conf.cqm_rssi_thold); in iwl_mvm_beacon_filter_set_cqm_params() 82 cmd->ba_enable_beacon_abort = cpu_to_le32(mvmvif->ba_enabled); in iwl_mvm_beacon_filter_set_cqm_params() 133 cpu_to_le32(IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT); in iwl_mvm_power_configure_uapsd() 135 cpu_to_le32(IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOUT); in iwl_mvm_power_configure_uapsd() 138 cpu_to_le32(IWL_MVM_UAPSD_RX_DATA_TIMEOUT); in iwl_mvm_power_configure_uapsd() 140 cpu_to_le32(IWL_MVM_UAPSD_TX_DATA_TIMEOUT); in iwl_mvm_power_configure_uapsd() 355 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(mvmvif->id, in iwl_mvm_power_build_cmd() 398 cpu_to_le32(IWL_MVM_WOWLAN_PS_RX_DATA_TIMEOUT); in iwl_mvm_power_build_cmd() 400 cpu_to_le32(IWL_MVM_WOWLAN_PS_TX_DATA_TIMEOU in iwl_mvm_power_build_cmd() [all...] |
H A D | mld-key.c | 134 .action = cpu_to_le32(FW_CTXT_ACTION_MODIFY), in iwl_mvm_mld_update_sta_key() 135 .u.modify.old_sta_mask = cpu_to_le32(data->old_sta_mask), 136 .u.modify.new_sta_mask = cpu_to_le32(data->new_sta_mask), in iwl_mvm_mld_update_sta_keys() 137 .u.modify.key_id = cpu_to_le32(key->keyidx), in iwl_mvm_mld_update_sta_keys() 139 cpu_to_le32(iwl_mvm_get_sec_flags(mvm, vif, sta, key)), in iwl_mvm_mld_update_sta_keys() 175 .action = cpu_to_le32(FW_CTXT_ACTION_REMOVE), in iwl_mvm_mld_send_key() 176 .u.remove.sta_mask = cpu_to_le32(sta_mask), in iwl_mvm_mld_send_key() 177 .u.remove.key_id = cpu_to_le32(keyidx), in iwl_mvm_mld_send_key() 178 .u.remove.key_flags = cpu_to_le32(key_flags), in iwl_mvm_mld_send_key() 189 .action = cpu_to_le32(FW_CTXT_ACTION_AD in iwl_mvm_mld_send_key() [all...] |
H A D | quota.c | 123 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa() 168 qdata->id_and_color = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_update_quotas() 220 cpu_to_le32(FW_CMD_ID_AND_COLOR(i, data.colors[i])); in iwl_mvm_update_quotas() 223 qdata->quota = cpu_to_le32(0); in iwl_mvm_update_quotas() 227 cpu_to_le32(data.dbgfs_min[i] * QUOTA_100 / 100); in iwl_mvm_update_quotas() 237 qdata->quota = cpu_to_le32(QUOTA_LOWLAT_MIN); in iwl_mvm_update_quotas() 240 cpu_to_le32(quota * data.n_interfaces[i]); in iwl_mvm_update_quotas() 246 qdata->max_duration = cpu_to_le32(0); in iwl_mvm_update_quotas() 277 if (qdata->id_and_color == cpu_to_le32(FW_CTXT_INVALID)) in iwl_mvm_update_quotas()
|
H A D | scan.c | 173 return cpu_to_le32(IWL_RATE_1M_PLCP | RATE_MCS_CCK_MSK_V1 | in iwl_mvm_scan_rate_n_flags() 176 return cpu_to_le32(IWL_RATE_6M_PLCP | tx_ant); in iwl_mvm_get_traffic_load() 657 tx_cmd[0].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_scan_fill_tx_cmd() 676 tx_cmd[1].tx_flags = cpu_to_le32(TX_CMD_FLG_SEQ_CTL | in iwl_mvm_lmac_scan_cfg_channels() 699 cpu_to_le32(IWL_UNIFIED_SCAN_CHANNEL_PARTIAL | in iwl_mvm_copy_and_insert_ds_elem() 832 cmd->max_out_time = cpu_to_le32(scan_timing[params->type].max_out_time); in iwl_mvm_scan_fits() 833 cmd->suspend_time = cpu_to_le32(scan_timing[params->type].suspend_time); in iwl_mvm_scan_fits() 834 cmd->scan_prio = cpu_to_le32(IWL_SCAN_PRIORITY_EXT_6); in iwl_mvm_scan_fits() 959 cmd->iter_num = cpu_to_le32(1); in iwl_mvm_scan_lmac() 962 cmd->delay = cpu_to_le32(param in iwl_mvm_scan_lmac() [all...] |
H A D | phy-ctxt.c | 73 cmd->id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(ctxt->id, in iwl_mvm_phy_ctxt_cmd_hdr() 75 cmd->action = cpu_to_le32(action); in iwl_mvm_phy_ctxt_cmd_hdr() 102 *rxchain_info = cpu_to_le32(iwl_mvm_get_valid_rx_ant(mvm) << in iwl_mvm_phy_ctxt_set_rxchain() 104 *rxchain_info |= cpu_to_le32(idle_cnt << PHY_RX_CHAIN_CNT_POS); in iwl_mvm_phy_ctxt_set_rxchain() 105 *rxchain_info |= cpu_to_le32(active_cnt << in iwl_mvm_phy_ctxt_set_rxchain() 109 *rxchain_info = cpu_to_le32(mvm->dbgfs_rx_phyinfo); in iwl_mvm_phy_ctxt_set_rxchain() 131 tail->txchain_info = cpu_to_le32(iwl_mvm_get_valid_tx_ant(mvm)); in iwl_mvm_phy_ctxt_cmd_data_v1() 143 cmd->lmac_id = cpu_to_le32(iwl_mvm_get_lmac_id(mvm, in iwl_mvm_phy_ctxt_cmd_data_v1() 159 .phy_id = cpu_to_le32(ctxt->id), in iwl_mvm_phy_ctxt_cmd_data()
|
H A D | binding.c | 35 cmd.lmac_id = cpu_to_le32(iwl_mvm_get_lmac_id(mvm, in iwl_mvm_binding_cmd() 41 cmd.id_and_color = cpu_to_le32(FW_CMD_ID_AND_COLOR(phyctxt->id, in iwl_mvm_binding_cmd() 43 cmd.action = cpu_to_le32(action); in iwl_mvm_binding_cmd() 44 cmd.phy = cpu_to_le32(FW_CMD_ID_AND_COLOR(phyctxt->id, in iwl_mvm_binding_cmd() 48 cmd.macs[i] = cpu_to_le32(FW_CTXT_INVALID); in iwl_mvm_binding_cmd() 50 cmd.macs[i] = cpu_to_le32(FW_CMD_ID_AND_COLOR(data->ids[i], in iwl_mvm_binding_cmd()
|
H A D | fw.c | 39 .valid = cpu_to_le32(valid_tx_ant), in iwl_send_tx_ant_cfg() 51 .flags = cpu_to_le32(IWL_RSS_ENABLE), in iwl_send_rss_cfg_cmd() 75 .cmd_queue = cpu_to_le32(IWL_MVM_DQA_CMD_QUEUE), in iwl_mvm_send_dqa_cmd() 573 cpu_to_le32(FW_PHY_CFG_CHAIN_SAD_ENABLED); in iwl_send_phy_cfg_cmd() 577 phy_cfg_cmd.phy_cfg = cpu_to_le32(iwl_mvm_get_phy_config(mvm)); in iwl_run_unified_mvm_ucode() 581 cpu_to_le32(mvm->trans->trans_cfg->extra_phy_cfg_flags); in iwl_run_unified_mvm_ucode() 605 .init_flags = cpu_to_le32(BIT(IWL_INIT_NVM)), in iwl_run_unified_mvm_ucode() 614 init_cfg.init_flags |= cpu_to_le32(BIT(IWL_INIT_PHY)); in iwl_run_unified_mvm_ucode() 853 .flags = cpu_to_le32(LTR_CFG_FLAG_FEATURE_ENABLE), in iwl_mvm_sar_select_profile() 867 .common.set_mode = cpu_to_le32(IWL_TX_POWER_MODE_SET_CHAIN in iwl_mvm_sar_select_profile() [all...] |
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | wmi.c | 781 cmd->vdev_id = cpu_to_le32(vdev_id); in ath12k_wmi_mgmt_send() 782 cmd->desc_id = cpu_to_le32(buf_id); in ath12k_wmi_mgmt_send() 784 cmd->paddr_lo = cpu_to_le32(lower_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send() 785 cmd->paddr_hi = cpu_to_le32(upper_32_bits(ATH12K_SKB_CB(frame)->paddr)); in ath12k_wmi_mgmt_send() 786 cmd->frame_len = cpu_to_le32(frame->len); in ath12k_wmi_mgmt_send() 787 cmd->buf_len = cpu_to_le32(buf_len); in ath12k_wmi_mgmt_send() 835 cmd->vdev_id = cpu_to_le32(args->if_id); in ath12k_wmi_vdev_create() 836 cmd->vdev_type = cpu_to_le32(args->type); in ath12k_wmi_vdev_create() 837 cmd->vdev_subtype = cpu_to_le32(args->subtype); in ath12k_wmi_vdev_create() 838 cmd->num_cfg_txrx_streams = cpu_to_le32(WMI_NUM_SUPPORTED_BAND_MAX); in ath12k_wmi_vdev_create() [all …]
|
H A D | dp_tx.c | 739 cmd->ring_base_addr_lo = cpu_to_le32(params.ring_base_paddr & in ath12k_dp_tx_htt_srng_setup() 742 cmd->ring_base_addr_hi = cpu_to_le32((u64)params.ring_base_paddr >> in ath12k_dp_tx_htt_srng_setup() 763 cmd->info1 |= cpu_to_le32(HTT_SRNG_SETUP_CMD_INFO1_RING_LOOP_CNT_DIS); in ath12k_dp_tx_htt_srng_setup() 765 cmd->ring_head_off32_remote_addr_lo = cpu_to_le32(lower_32_bits(hp_addr)); in ath12k_dp_tx_htt_srng_setup() 766 cmd->ring_head_off32_remote_addr_hi = cpu_to_le32(upper_32_bits(hp_addr)); in ath12k_dp_tx_htt_srng_setup() 768 cmd->ring_tail_off32_remote_addr_lo = cpu_to_le32(lower_32_bits(tp_addr)); in ath12k_dp_tx_htt_srng_setup() 769 cmd->ring_tail_off32_remote_addr_hi = cpu_to_le32(upper_32_bits(tp_addr)); in ath12k_dp_tx_htt_srng_setup() 771 cmd->ring_msi_addr_lo = cpu_to_le32(lower_32_bits(params.msi_addr)); in ath12k_dp_tx_htt_srng_setup() 772 cmd->ring_msi_addr_hi = cpu_to_le32(upper_32_bits(params.msi_addr)); in ath12k_dp_tx_htt_srng_setup() 773 cmd->msi_data = cpu_to_le32(params.msi_data); in ath12k_dp_tx_htt_srng_setup() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | dbg.c | 45 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RADIO_REG); in iwl_read_radio_regs() 46 (*dump_data)->len = cpu_to_le32(RADIO_REG_MAX_READ); in iwl_read_radio_regs() 81 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RXF); in iwl_fwrt_dump_rxf() 82 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); in iwl_fwrt_dump_rxf() 84 fifo_hdr->fifo_num = cpu_to_le32(fifo_num); in iwl_fwrt_dump_rxf() 86 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 89 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 92 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 95 cpu_to_le32(iwl_trans_read_prph(fwrt->trans, in iwl_fwrt_dump_rxf() 98 cpu_to_le32(iwl_trans_read_prp in iwl_fwrt_dump_rxf() [all...] |
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | coredump.c | 1527 dump_data->len = cpu_to_le32(len); in ath10k_coredump_build() 1529 dump_data->version = cpu_to_le32(ATH10K_FW_CRASH_DUMP_VERSION); in ath10k_coredump_build() 1532 dump_data->chip_id = cpu_to_le32(ar->bus_param.chip_id); in ath10k_coredump_build() 1533 dump_data->bus_type = cpu_to_le32(0); in ath10k_coredump_build() 1534 dump_data->target_version = cpu_to_le32(ar->target_version); in ath10k_coredump_build() 1535 dump_data->fw_version_major = cpu_to_le32(ar->fw_version_major); in ath10k_coredump_build() 1536 dump_data->fw_version_minor = cpu_to_le32(ar->fw_version_minor); in ath10k_coredump_build() 1537 dump_data->fw_version_release = cpu_to_le32(ar->fw_version_release); in ath10k_coredump_build() 1538 dump_data->fw_version_build = cpu_to_le32(ar->fw_version_build); in ath10k_coredump_build() 1539 dump_data->phy_capability = cpu_to_le32(ar->phy_capability); in ath10k_coredump_build() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | power.h | 725 .bf_energy_delta = cpu_to_le32(IWL_BF_ENERGY_DELTA ## mode), \ 727 cpu_to_le32(IWL_BF_ROAMING_ENERGY_DELTA ## mode), \ 728 .bf_roaming_state = cpu_to_le32(IWL_BF_ROAMING_STATE ## mode), \ 729 .bf_temp_threshold = cpu_to_le32(IWL_BF_TEMP_THRESHOLD ## mode), \ 730 .bf_temp_fast_filter = cpu_to_le32(IWL_BF_TEMP_FAST_FILTER ## mode), \ 731 .bf_temp_slow_filter = cpu_to_le32(IWL_BF_TEMP_SLOW_FILTER ## mode), \ 732 .bf_debug_flag = cpu_to_le32(IWL_BF_DEBUG_FLAG ## mode), \ 733 .bf_escape_timer = cpu_to_le32(IWL_BF_ESCAPE_TIMER ## mode), \ 734 .ba_escape_timer = cpu_to_le32(IWL_BA_ESCAPE_TIMER ## mode)
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | mcu.c | 67 msg.cfg = cpu_to_le32(val); in mt76x2_mcu_load_cr() 82 .channel = cpu_to_le32(channel), in mt76x2_mcu_init_gain() 83 .gain_val = cpu_to_le32(gain), in mt76x2_mcu_init_gain() 87 msg.channel |= cpu_to_le32(BIT(31)); in mt76x2_mcu_init_gain() 101 .id = cpu_to_le32(MCU_CAL_TSSI_COMP), in mt76x2_mcu_tssi_comp()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_mcu.c | 89 .id = cpu_to_le32(func), in mt76x02_mcu_function_select() 90 .value = cpu_to_le32(val), in mt76x02_mcu_function_select() 108 .mode = cpu_to_le32(on ? RADIO_ON : RADIO_OFF), in mt76x02_mcu_set_radio_state() 109 .level = cpu_to_le32(0), in mt76x02_mcu_set_radio_state() 123 .id = cpu_to_le32(type), in mt76x02_mcu_calibrate() 124 .value = cpu_to_le32(param), in mt76x02_mcu_calibrate()
|
H A D | mt76_connac_mac.c | 204 ptr->buf1 = cpu_to_le32(addr); in mt76_connac_write_hw_txp() 208 ptr->buf0 = cpu_to_le32(addr); in mt76_connac_write_hw_txp() 380 txwi[1] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023() 388 txwi[2] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023() 393 txwi[7] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_8023() 415 txwi[5] |= cpu_to_le32(MT_TXD5_ADD_BA); in mt76_connac2_mac_write_txwi_80211() 429 txwi[1] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_80211() 441 txwi[3] &= ~cpu_to_le32(MT_TXD3_PROTECT_FRAME); in mt76_connac2_mac_write_txwi_80211() 448 txwi[2] |= cpu_to_le32(val); in mt76_connac2_mac_write_txwi_80211() 451 txwi[3] &= ~cpu_to_le32(MT_TXD3_SW_POWER_MGMT); in mt76_connac2_mac_write_txwi_80211() [all …]
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_fp.c | 619 req.srq_cid = cpu_to_le32(srq->id); in __qplib_destroy_srq() 662 req.dpi = cpu_to_le32(srq->dpi->dpi); in bnxt_qplib_create_srq() 671 req.pd_id = cpu_to_le32(srq->pd->id); in bnxt_qplib_create_srq() 754 req.srq_cid = cpu_to_le32(srq->id); in bnxt_qplib_query_srq() 792 hw_sge->l_key = cpu_to_le32(wqe->sg_list[i].lkey); in bnxt_qplib_post_srq_recv() 793 hw_sge->size = cpu_to_le32(wqe->sg_list[i].size); in bnxt_qplib_post_srq_recv() 801 srqe->wr_id |= cpu_to_le32((u32)next); in bnxt_qplib_post_srq_recv() 828 req.qp_cid = cpu_to_le32(qp->id); in __qplib_destroy_qp() 922 req.dpi = cpu_to_le32(qp->dpi->dpi); in bnxt_qplib_create_qp1() 934 req.sq_size = cpu_to_le32(_set_sq_size(sq, qp->wqe_mode)); in bnxt_qplib_create_qp1() [all …]
|
H A D | qplib_sp.c | 222 req.number_of_qp = cpu_to_le32(hctx->qp_ctx.max); in bnxt_qplib_set_func_resources() 223 req.number_of_mrw = cpu_to_le32(hctx->mrw_ctx.max); in bnxt_qplib_set_func_resources() 224 req.number_of_srq = cpu_to_le32(hctx->srq_ctx.max); in bnxt_qplib_set_func_resources() 225 req.number_of_cq = cpu_to_le32(hctx->cq_ctx.max); in bnxt_qplib_set_func_resources() 227 req.max_qp_per_vf = cpu_to_le32(hctx->vf_res.max_qp); in bnxt_qplib_set_func_resources() 228 req.max_mrw_per_vf = cpu_to_le32(hctx->vf_res.max_mrw); in bnxt_qplib_set_func_resources() 229 req.max_srq_per_vf = cpu_to_le32(hctx->vf_res.max_srq); in bnxt_qplib_set_func_resources() 230 req.max_cq_per_vf = cpu_to_le32(hctx->vf_res.max_cq); in bnxt_qplib_set_func_resources() 231 req.max_gid_per_vf = cpu_to_le32(hctx->vf_res.max_gid); in bnxt_qplib_set_func_resources() 234 req.stat_ctx_id = cpu_to_le32(hctx->stats.fw_id); in bnxt_qplib_set_func_resources() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | ctxt-info-gen3.c | 53 dbg_cfg->hwm_size = cpu_to_le32(fw_mon->size); in iwl_pcie_ctxt_info_dbg_enable() 80 dbg_cfg->hwm_size = cpu_to_le32(frag->size); in iwl_pcie_ctxt_info_dbg_enable() 81 dbg_cfg->debug_token_config = cpu_to_le32(trans->dbg.ucode_preset); 167 prph_sc_ctrl->control.control_flags = cpu_to_le32(control_flags); in iwl_pcie_ctxt_info_gen3_init() 170 prph_sc_ctrl->step_cfg.mbx_addr_0 = cpu_to_le32(trans->mbx_addr_0_step); in iwl_pcie_ctxt_info_gen3_init() 171 prph_sc_ctrl->step_cfg.mbx_addr_1 = cpu_to_le32(trans->mbx_addr_1_step); in iwl_pcie_ctxt_info_gen3_init() 212 cpu_to_le32(sizeof(*prph_scratch)); in iwl_pcie_ctxt_info_gen3_init() 472 cpu_to_le32(iwl_dram_regions_size(dram_regions)); 484 cpu_to_le32(trans_pcie->pnvm_data.drams[0].size); in iwl_trans_pcie_ctx_info_gen3_load_reduce_power() 556 cpu_to_le32(iwl_dram_regions_siz in iwl_trans_pcie_ctx_info_gen3_set_reduce_power() [all...] |
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 281 new_trig->occurrences = cpu_to_le32(-1); in iwl_dbg_tlv_alloc_trigger() 602 cpu_to_le32(IWL_FW_INI_LOCATION_DRAM_PATH)) in iwl_dbg_tlv_alloc_fragments() 693 .alloc_id = cpu_to_le32(alloc_id), in iwl_dbg_tlv_apply_buffer() 694 .num_frags = cpu_to_le32(num_frags), in iwl_dbg_tlv_apply_buffer() 696 cpu_to_le32(IWL_FW_INI_LOCATION_DRAM_PATH), in iwl_dbg_tlv_apply_buffer() 712 frag->size = cpu_to_le32(fw_mon_frag->size); in iwl_dbg_tlv_apply_buffer() 771 data->alloc_id = cpu_to_le32(alloc_id); in iwl_dbg_tlv_update_dram() 772 data->num_frags = cpu_to_le32(num_frags); in iwl_dbg_tlv_update_dram() 773 data->buf_location = cpu_to_le32(IWL_FW_INI_LOCATION_DRAM_PATH); in iwl_dbg_tlv_update_dram() 776 cpu_to_le32(alloc_i in iwl_dbg_tlv_update_dram() [all...] |