Home
last modified time | relevance | path

Searched refs:dev_cap (Results 1 – 25 of 138) sorted by relevance

123456

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_cap.c187 struct rtw_ps_cap_t *ps_cap = &phl_com->dev_cap.ps_cap; in _hal_ps_final_cap_decision()
220 struct rtw_edcca_cap_t *edcca_cap = &phl_com->dev_cap.edcca_cap; in _hal_edcca_final_cap_decision()
239 struct dev_cap_t *dev_cap = &phl_com->dev_cap; in rtw_hal_fw_cap_pre_config() local
248 dev_cap->fw_cap.fw_src = dev_sw_cap->fw_cap.fw_src; in rtw_hal_fw_cap_pre_config()
249 dev_cap->fw_cap.dlram_en = dev_sw_cap->fw_cap.dlram_en; in rtw_hal_fw_cap_pre_config()
250 dev_cap->fw_cap.dlrom_en = dev_sw_cap->fw_cap.dlrom_en; in rtw_hal_fw_cap_pre_config()
263 struct dev_cap_t *dev_cap = &phl_com->dev_cap; in rtw_hal_fw_final_cap_config() local
272 dev_cap->fw_cap.fw_src = dev_sw_cap->fw_cap.fw_src; in rtw_hal_fw_final_cap_config()
273 dev_cap->fw_cap.dlram_en = dev_sw_cap->fw_cap.dlram_en; in rtw_hal_fw_final_cap_config()
274 dev_cap->fw_cap.dlrom_en = dev_sw_cap->fw_cap.dlrom_en; in rtw_hal_fw_final_cap_config()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_cap.c180 struct rtw_ps_cap_t *ps_cap = &phl_com->dev_cap.ps_cap; in _hal_ps_final_cap_decision()
213 struct rtw_edcca_cap_t *edcca_cap = &phl_com->dev_cap.edcca_cap; in _hal_edcca_final_cap_decision()
232 struct dev_cap_t *dev_cap = &phl_com->dev_cap; in rtw_hal_fw_cap_pre_config() local
241 dev_cap->fw_cap.fw_src = dev_sw_cap->fw_cap.fw_src; in rtw_hal_fw_cap_pre_config()
242 dev_cap->fw_cap.dlram_en = dev_sw_cap->fw_cap.dlram_en; in rtw_hal_fw_cap_pre_config()
243 dev_cap->fw_cap.dlrom_en = dev_sw_cap->fw_cap.dlrom_en; in rtw_hal_fw_cap_pre_config()
256 struct dev_cap_t *dev_cap = &phl_com->dev_cap; in rtw_hal_fw_final_cap_config() local
265 dev_cap->fw_cap.fw_src = dev_sw_cap->fw_cap.fw_src; in rtw_hal_fw_final_cap_config()
266 dev_cap->fw_cap.dlram_en = dev_sw_cap->fw_cap.dlram_en; in rtw_hal_fw_final_cap_config()
267 dev_cap->fw_cap.dlrom_en = dev_sw_cap->fw_cap.dlrom_en; in rtw_hal_fw_final_cap_config()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.c725 int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_QUERY_DEV_CAP() argument
832 dev_cap->flags2 = 0; in mlx4_QUERY_DEV_CAP()
846 dev_cap->map_clock_to_user = field & 0x80; in mlx4_QUERY_DEV_CAP()
848 dev_cap->reserved_qps = 1 << (field & 0xf); in mlx4_QUERY_DEV_CAP()
850 dev_cap->max_qps = 1 << (field & 0x1f); in mlx4_QUERY_DEV_CAP()
852 dev_cap->reserved_srqs = 1 << (field >> 4); in mlx4_QUERY_DEV_CAP()
854 dev_cap->max_srqs = 1 << (field & 0x1f); in mlx4_QUERY_DEV_CAP()
856 dev_cap->max_cq_sz = 1 << field; in mlx4_QUERY_DEV_CAP()
858 dev_cap->reserved_cqs = 1 << (field & 0xf); in mlx4_QUERY_DEV_CAP()
860 dev_cap->max_cqs = 1 << (field & 0x1f); in mlx4_QUERY_DEV_CAP()
[all …]
H A Dprofile.c71 struct mlx4_dev_cap *dev_cap, in mlx4_make_profile() argument
111 profile[MLX4_RES_QP].size = dev_cap->qpc_entry_sz; in mlx4_make_profile()
112 profile[MLX4_RES_RDMARC].size = dev_cap->rdmarc_entry_sz; in mlx4_make_profile()
113 profile[MLX4_RES_ALTC].size = dev_cap->altc_entry_sz; in mlx4_make_profile()
114 profile[MLX4_RES_AUXC].size = dev_cap->aux_entry_sz; in mlx4_make_profile()
115 profile[MLX4_RES_SRQ].size = dev_cap->srq_entry_sz; in mlx4_make_profile()
116 profile[MLX4_RES_CQ].size = dev_cap->cqc_entry_sz; in mlx4_make_profile()
117 profile[MLX4_RES_EQ].size = dev_cap->eqc_entry_sz; in mlx4_make_profile()
118 profile[MLX4_RES_DMPT].size = dev_cap->dmpt_entry_sz; in mlx4_make_profile()
119 profile[MLX4_RES_CMPT].size = dev_cap->cmpt_entry_sz; in mlx4_make_profile()
[all …]
H A Dmain.c294 struct mlx4_dev_cap *dev_cap) in mlx4_set_num_reserved_uars() argument
303 dev_cap->reserved_uars / in mlx4_set_num_reserved_uars()
343 static int mlx4_query_func(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) in mlx4_query_func() argument
354 dev_cap->max_eqs = func.max_eq; in mlx4_query_func()
355 dev_cap->reserved_eqs = func.rsvd_eqs; in mlx4_query_func()
356 dev_cap->reserved_uars = func.rsvd_uars; in mlx4_query_func()
364 struct mlx4_caps *dev_cap = &dev->caps; in mlx4_enable_cqe_eqe_stride() local
367 if (!(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_EQE_STRIDE) || in mlx4_enable_cqe_eqe_stride()
368 !(dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_CQE_STRIDE)) in mlx4_enable_cqe_eqe_stride()
374 if (!(dev_cap->flags & MLX4_DEV_CAP_FLAG_64B_EQE) || in mlx4_enable_cqe_eqe_stride()
[all …]
H A Dfw.h230 void mlx4_dev_cap_dump(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap);
231 int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/sdio/
H A Drtl8852bs_halinit.c28 if (true == phl_com->dev_cap.tx_mu_ru) in _hal_pre_init_8852bs()
35 PHL_INFO("%s : la_mode %d\n", __func__, phl_com->dev_cap.la_mode); in _hal_pre_init_8852bs()
36 if (phl_com->dev_cap.la_mode) in _hal_pre_init_8852bs()
40 if (phl_com->dev_cap.rpq_agg_num) { in _hal_pre_init_8852bs()
42 rpr_cfg->agg = phl_com->dev_cap.rpq_agg_num; in _hal_pre_init_8852bs()
64 phl_com->dev_cap.hw_sup_flags |= HW_SUP_SDIO_MULTI_FUN; in init_hal_spec_8852bs()
155 if (true == phl_com->dev_cap.tx_mu_ru) in hal_wow_init_8852bs()
173 if (true == phl_com->dev_cap.tx_mu_ru) in hal_wow_deinit_8852bs()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_dev.c58 struct hinic_dev_cap *dev_cap) in parse_capability() argument
63 if (!HINIC_IS_VF(hwdev->hwif) && dev_cap->intr_type != INTR_MSIX_TYPE) in parse_capability()
77 nic_cap->max_qps = dev_cap->max_sqs + 1; in parse_capability()
79 nic_cap->max_qps = dev_cap->max_sqs; in parse_capability()
85 nic_cap->max_vf = dev_cap->max_vf; in parse_capability()
86 nic_cap->max_vf_qps = dev_cap->max_vf_sqs + 1; in parse_capability()
89 hwdev->port_id = dev_cap->port_id; in parse_capability()
105 struct hinic_dev_cap dev_cap; in get_capability() local
109 out_len = sizeof(dev_cap); in get_capability()
112 HINIC_CFG_NIC_CAP, &dev_cap, sizeof(dev_cap), in get_capability()
[all …]
H A Dhinic_sriov.c1064 struct hinic_dev_cap *dev_cap = buf_out; in cfg_mbx_pf_proc_vf_msg() local
1069 memset(dev_cap, 0, sizeof(*dev_cap)); in cfg_mbx_pf_proc_vf_msg()
1071 dev_cap->max_vf = cap->max_vf; in cfg_mbx_pf_proc_vf_msg()
1072 dev_cap->max_sqs = cap->max_vf_qps; in cfg_mbx_pf_proc_vf_msg()
1073 dev_cap->max_rqs = cap->max_vf_qps; in cfg_mbx_pf_proc_vf_msg()
1074 dev_cap->port_id = dev->port_id; in cfg_mbx_pf_proc_vf_msg()
1076 *out_size = sizeof(*dev_cap); in cfg_mbx_pf_proc_vf_msg()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/
H A Drtl8852b_halinit.c124 phl_com->dev_cap.hw_sup_flags = HW_SUP_AMSDU | in init_hal_spec_8852b()
129 phl_com->dev_cap.hw_sup_flags |= HW_SUP_OFDMA | HW_SUP_CHAN_INFO; in init_hal_spec_8852b()
130 phl_com->dev_cap.hw_sup_flags |= HW_SUP_TSSI | HW_SUP_TANK_K; in init_hal_spec_8852b()
138 if (phl_com->dev_cap.hw_sup_flags & HW_SUP_DBCC) in init_hal_spec_8852b()
323 struct rtw_fw_cap_t *fw_cap = &phl_com->dev_cap.fw_cap; in hal_cfg_fw_8852b()
488 hal_status = rtw_hal_hdr_conv_cfg(hal, phl_com->dev_cap.hw_hdr_conv); in hal_start_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/rtl8852b/
H A Drtl8852b_halinit.c124 phl_com->dev_cap.hw_sup_flags = HW_SUP_AMSDU | in init_hal_spec_8852b()
129 phl_com->dev_cap.hw_sup_flags |= HW_SUP_OFDMA | HW_SUP_CHAN_INFO; in init_hal_spec_8852b()
130 phl_com->dev_cap.hw_sup_flags |= HW_SUP_TSSI | HW_SUP_TANK_K; in init_hal_spec_8852b()
138 if (phl_com->dev_cap.hw_sup_flags & HW_SUP_DBCC) in init_hal_spec_8852b()
323 struct rtw_fw_cap_t *fw_cap = &phl_com->dev_cap.fw_cap; in hal_cfg_fw_8852b()
535 hal_status = rtw_hal_hdr_conv_cfg(hal, phl_com->dev_cap.hw_hdr_conv); in hal_start_8852b()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/pci/
H A Drtl8852be_halinit.c185 if (true == phl_com->dev_cap.tx_mu_ru) in _hal_pre_init_8852be()
196 PHL_INFO("%s : la_mode %d\n", __func__, phl_com->dev_cap.la_mode); in _hal_pre_init_8852be()
197 if (phl_com->dev_cap.la_mode) in _hal_pre_init_8852be()
201 if (phl_com->dev_cap.rpq_agg_num) { in _hal_pre_init_8852be()
203 rpr_cfg->agg = phl_com->dev_cap.rpq_agg_num; in _hal_pre_init_8852be()
279 phl_com->dev_cap.hw_sup_flags |= HW_SUP_PCIE_PLFH;/*PCIe payload from host*/ in init_hal_spec_8852be()
438 if (true == phl_com->dev_cap.tx_mu_ru) in hal_wow_init_8852be()
468 if (true == phl_com->dev_cap.tx_mu_ru) in hal_wow_deinit_8852be()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/
H A Dhalrf_interface.c49 u32 fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_wreg()
126 u32 fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_wrf()
H A Dhalrf_api.c298 bool fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_write_fwofld_start()
312 bool fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_write_fwofld_end()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/
H A Dhalrf_interface.c49 u32 fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_wreg()
126 u32 fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_wrf()
H A Dhalrf_api.c298 bool fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_write_fwofld_start()
312 bool fw_ofld = rf->phl_com->dev_cap.fw_cap.offload_cap & BIT(0); in halrf_write_fwofld_end()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_cfo_trk.c253 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_trk_init()
258 bb_cfo_trk->def_x_cap = bb->phl_com->dev_cap.xcap & 0x7f; in halbb_cfo_trk_init()
416 struct dev_cap_t *dev = &phl->dev_cap; in halbb_multi_sta_avg_cfo_calc()
673 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_trk()
734 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_acc_mode_en()
831 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_dm()
903 struct dev_cap_t *dev = &bb->phl_com->dev_cap; in halbb_parsing_cfo()
H A Dhalbb_edcca.c541 bb_edcca->th_h_5g = phl->dev_cap.edcca_cap.edcca_adap_th_5g; in halbb_edcca_init()
542 bb_edcca->th_h_2p4g = phl->dev_cap.edcca_cap.edcca_adap_th_2g; in halbb_edcca_init()
543 bb_edcca->th_h_cs = phl->dev_cap.edcca_cap.edcca_carrier_sense_th; in halbb_edcca_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_cfo_trk.c253 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_trk_init()
258 bb_cfo_trk->def_x_cap = bb->phl_com->dev_cap.xcap & 0x7f; in halbb_cfo_trk_init()
416 struct dev_cap_t *dev = &phl->dev_cap; in halbb_multi_sta_avg_cfo_calc()
673 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_trk()
734 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_acc_mode_en()
831 struct dev_cap_t *dev = &phl->dev_cap; in halbb_cfo_dm()
903 struct dev_cap_t *dev = &bb->phl_com->dev_cap; in halbb_parsing_cfo()
H A Dhalbb_edcca.c541 bb_edcca->th_h_5g = phl->dev_cap.edcca_cap.edcca_adap_th_5g; in halbb_edcca_init()
542 bb_edcca->th_h_2p4g = phl->dev_cap.edcca_cap.edcca_adap_th_2g; in halbb_edcca_init()
543 bb_edcca->th_h_cs = phl->dev_cap.edcca_cap.edcca_carrier_sense_th; in halbb_edcca_init()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_ps.h42 #define _get_ps_cap(_phl_info) (&_phl_info->phl_com->dev_cap.ps_cap)
H A Dphl_chan.c710 return (phl_com->dev_cap.hw_sup_flags & flg) ? true : false; in _phl_feature_check()
938 if (phl_com->dev_cap.mcc_sup == false) { in phl_chanctx_add()
956 if (phl_com->dev_cap.dbcc_sup == true) { in phl_chanctx_add()
1069 if (phl_com->dev_cap.mcc_sup == true && is_ch_group == false && chanctx_num < 2) { in rtw_phl_chanctx_chk()
1140 if ((phl_com->dev_cap.hw_sup_flags & HW_SUP_DBCC) && (phl_com->dev_cap.dbcc_sup)) { in rtw_phl_chanctx_add()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_ps.h42 #define _get_ps_cap(_phl_info) (&_phl_info->phl_com->dev_cap.ps_cap)
H A Dphl_chan.c710 return (phl_com->dev_cap.hw_sup_flags & flg) ? true : false; in _phl_feature_check()
938 if (phl_com->dev_cap.mcc_sup == false) { in phl_chanctx_add()
956 if (phl_com->dev_cap.dbcc_sup == true) { in phl_chanctx_add()
1069 if (phl_com->dev_cap.mcc_sup == true && is_ch_group == false && chanctx_num < 2) { in rtw_phl_chanctx_chk()
1140 if ((phl_com->dev_cap.hw_sup_flags & HW_SUP_DBCC) && (phl_com->dev_cap.dbcc_sup)) { in rtw_phl_chanctx_add()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/
H A Dmoal_cfg80211.c3733 t_u32 dev_cap, t_u8 *mcs_set) in woal_cfg80211_setup_ht_cap() argument
3746 if (dev_cap & MBIT(8)) /* 40Mhz intolarance enabled */ in woal_cfg80211_setup_ht_cap()
3748 if (dev_cap & MBIT(17)) /* Channel width 20/40Mhz support */ in woal_cfg80211_setup_ht_cap()
3750 if ((dev_cap >> 20) & 0x03) /* Delayed ACK supported */ in woal_cfg80211_setup_ht_cap()
3752 if (dev_cap & MBIT(22)) /* Rx LDPC supported */ in woal_cfg80211_setup_ht_cap()
3754 if (dev_cap & MBIT(23)) /* Short GI @ 20Mhz supported */ in woal_cfg80211_setup_ht_cap()
3756 if (dev_cap & MBIT(24)) /* Short GI @ 40Mhz supported */ in woal_cfg80211_setup_ht_cap()
3758 if (dev_cap & MBIT(25)) /* Tx STBC supported */ in woal_cfg80211_setup_ht_cap()
3760 if (dev_cap & MBIT(26)) /* Rx STBC supported */ in woal_cfg80211_setup_ht_cap()
3762 if (dev_cap & MBIT(27)) /* MIMO PS supported */ in woal_cfg80211_setup_ht_cap()
[all …]

123456