Home
last modified time | relevance | path

Searched refs:bw_mode (Results 1 – 23 of 23) sorted by relevance

/linux-6.15/drivers/media/dvb-frontends/
H A Drtl2832.c409 u64 bw_mode, num, num2; in rtl2832_set_frontend() local
460 bw_mode = 48000000; in rtl2832_set_frontend()
464 bw_mode = 56000000; in rtl2832_set_frontend()
468 bw_mode = 64000000; in rtl2832_set_frontend()
490 num = div_u64(num, bw_mode); in rtl2832_set_frontend()
500 num = bw_mode << 20; in rtl2832_set_frontend()
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_ap.c493 psta->bw_mode = CHANNEL_WIDTH_40; in update_sta_info_apmode()
495 psta->bw_mode = CHANNEL_WIDTH_20; in update_sta_info_apmode()
497 if (pmlmeext->cur_bwmode < psta->bw_mode) in update_sta_info_apmode()
498 psta->bw_mode = pmlmeext->cur_bwmode; in update_sta_info_apmode()
512 if (psta->bw_mode == CHANNEL_WIDTH_40) /* according to psta->bw_mode */ in update_sta_info_apmode()
534 psta->bw_mode = CHANNEL_WIDTH_20; in update_sta_info_apmode()
598 psta->bw_mode = pmlmeext->cur_bwmode; in update_ap_info()
745 if ((pregpriv->bw_mode & 0xf0) > 0) in start_bss_network()
748 if ((pregpriv->bw_mode & 0x0f) > 0) in start_bss_network()
H A Drtw_wlan_util.c66 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex()
858 if ((pregistrypriv->bw_mode & 0xf0) > 0) in bwmode_update_check()
861 if ((pregistrypriv->bw_mode & 0x0f) > 0) in bwmode_update_check()
913 psta->bw_mode = pmlmeext->cur_bwmode; in bwmode_update_check()
916 psta->bw_mode = CHANNEL_WIDTH_20; in bwmode_update_check()
H A Drtw_ioctl_set.c490 max_rate = rtw_mcs_rate(psta->bw_mode == CHANNEL_WIDTH_40 ? 1 : 0, in rtw_get_cur_max_rate()
H A Drtw_mlme.c2256 if ((pregistrypriv->bw_mode & 0xf0) > 0) in rtw_restructure_ht_ie()
2259 if ((pregistrypriv->bw_mode & 0x0f) > 0) in rtw_restructure_ht_ie()
2370 if ((pregistrypriv->bw_mode & 0xf0) > 0) in rtw_update_ht_cap()
2373 if ((pregistrypriv->bw_mode & 0x0f) > 0) in rtw_update_ht_cap()
H A Drtw_xmit.c339 switch (psta->bw_mode) { in query_ra_short_GI()
451 pattrib->bwmode = min(mlmeext->cur_bwmode, psta->bw_mode); in update_attrib_phy_info()
H A Drtw_mlme_ext.c314 if ((0 < (padapter->registrypriv.bw_mode & 0xf0)) && in init_channel_list()
4742 psta->bw_mode = pmlmeext->cur_bwmode; in update_sta_info()
5376 if ((pregpriv->bw_mode & 0x0f) > CHANNEL_WIDTH_20) in join_cmd_hdl()
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xgmi.h112 enum amdgpu_xgmi_bw_mode bw_mode, enum amdgpu_xgmi_bw_unit bw_unit,
H A Damdgpu_xgmi.c842 enum amdgpu_xgmi_bw_mode bw_mode, enum amdgpu_xgmi_bw_unit bw_unit, in amdgpu_xgmi_get_bandwidth() argument
845 bool peer_mode = bw_mode == AMDGPU_XGMI_BW_MODE_PER_PEER; in amdgpu_xgmi_get_bandwidth()
/linux-6.15/drivers/net/wireless/realtek/rtw88/
H A Dmain.c1035 static u8 get_rate_id(u8 wireless_set, enum rtw_bandwidth bw_mode, u8 tx_num) in get_rate_id() argument
1058 if (bw_mode == RTW_CHANNEL_WIDTH_40) { in get_rate_id()
1089 if (bw_mode >= RTW_CHANNEL_WIDTH_80) { in get_rate_id()
1219 u8 bw_mode; in rtw_update_sta_info() local
1294 bw_mode = RTW_CHANNEL_WIDTH_80; in rtw_update_sta_info()
1299 bw_mode = RTW_CHANNEL_WIDTH_40; in rtw_update_sta_info()
1304 bw_mode = RTW_CHANNEL_WIDTH_20; in rtw_update_sta_info()
1314 rate_id = get_rate_id(wireless_set, bw_mode, tx_num); in rtw_update_sta_info()
1320 si->bw_mode = bw_mode; in rtw_update_sta_info()
H A Dtx.c377 bw = si->bw_mode; in rtw_tx_data_pkt_info_update()
H A Dfw.c165 bw = si->bw_mode; in rtw_fw_ra_report_iter()
746 SET_RA_INFO_BW_MODE(h2c_pkt, si->bw_mode); in rtw_fw_send_ra_info()
H A Dmain.h772 enum rtw_bandwidth bw_mode; member
H A Dcoex.c3875 seq_printf(m, "\t\t%-24s = %d\n", "BW mode", si->bw_mode); in rtw_coex_sta_stat_iter()
/linux-6.15/drivers/thunderbolt/
H A Dtunnel.h103 bool bw_mode; member
H A Dtunnel.c1126 if (!tunnel->bw_mode) in tb_dp_bandwidth_mode_consumed_bandwidth()
1161 if (usb4_dp_port_bandwidth_mode_enabled(in) && tunnel->bw_mode) { in tb_dp_allocated_bandwidth()
1221 tunnel->bw_mode = true; in tb_dp_alloc_bandwidth()
H A Dtb.c2592 if (tunnel->bw_mode) { in tb_alloc_dp_bandwidth()
2745 if (tunnel->bw_mode) { in tb_handle_dp_bandwidth_request()
2750 tunnel->bw_mode = false; in tb_handle_dp_bandwidth_request()
/linux-6.15/drivers/staging/rtl8723bs/include/
H A Dsta_info.h111 u8 bw_mode; member
H A Ddrv_types.h113 u8 bw_mode; member
/linux-6.15/drivers/staging/rtl8723bs/hal/
H A Drtl8723b_cmd.c749 bw = psta->bw_mode; in rtl8723b_Add_RateATid()
H A Drtl8723b_hal_init.c1393 rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, psta->raid, psta->bw_mode, shortGIrate, mask); in UpdateHalRAMask8723B()
/linux-6.15/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c230 registry_par->bw_mode = (u8)rtw_bw_mode; in loadparam()
/linux-6.15/drivers/net/wireless/realtek/rtw89/
H A Dphy.c323 u8 bw_mode = 0; in rtw89_phy_ra_sta_update() local
430 bw_mode = RTW89_CHANNEL_WIDTH_160; in rtw89_phy_ra_sta_update()
435 bw_mode = RTW89_CHANNEL_WIDTH_80; in rtw89_phy_ra_sta_update()
440 bw_mode = RTW89_CHANNEL_WIDTH_40; in rtw89_phy_ra_sta_update()
445 bw_mode = RTW89_CHANNEL_WIDTH_20; in rtw89_phy_ra_sta_update()
461 ra->bw_cap = bw_mode; in rtw89_phy_ra_sta_update()
480 ra->csi_bw = bw_mode; in rtw89_phy_ra_sta_update()