| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_mr.c | 122 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_mr_dump_info() local 131 if (mr_ctl->role_map & BIT(i)) in phl_mr_dump_info() 136 MAX_WIFI_ROLE_NUMBER, role_num, mr_ctl->role_map); in phl_mr_dump_info() 137 PHL_INFO("[MR] is_sb:%s\n", (mr_ctl->is_sb) ? "Y" : "N"); in phl_mr_dump_info() 140 if (mr_ctl->role_map & BIT(i)) { in phl_mr_dump_info() 147 PHL_DUMP_BAND_CTL(phl_info, &mr_ctl->band_ctrl[i]); in phl_mr_dump_info() 157 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_mr_dump_cur_chandef() local 173 chan_def = &mr_ctl->hal_com->band[wifi_role->hw_band].cur_chandef; in phl_mr_dump_cur_chandef() 195 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mr_dump_band_ctl() local 200 PHL_DUMP_BAND_CTL(phl_info, &mr_ctl->band_ctrl[i]); in rtw_phl_mr_dump_band_ctl() [all …]
|
| H A D | phl_role.c | 26 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_alloc_hw_resource() local 33 band_ctrl = &mr_ctl->band_ctrl[hw_band]; in _phl_alloc_hw_resource() 92 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_free_hw_resource() local 97 band_ctrl = &mr_ctl->band_ctrl[hw_band]; in _phl_free_hw_resource() 146 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_search_roleidx_by_addr() local 149 if (mr_ctl->role_map & BIT(ridx)) { in _phl_search_roleidx_by_addr() 169 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_get_wrole_by_addr() local 174 if (mr_ctl->role_map & BIT(ridx)) { in phl_get_wrole_by_addr() 288 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_wifi_role_alloc_sw() local 292 _os_spinlock(phl_to_drvpriv(phl_info), &mr_ctl->lock, _ps, NULL); in _phl_wifi_role_alloc_sw() [all …]
|
| H A D | phl_thermal.c | 25 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_thermal_protect_disable_all_txop() local 32 if (mr_ctl->role_map & BIT(i)) { in _phl_thermal_protect_disable_all_txop() 67 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_thermal_protect_reduce_ampdu_num() local 73 if (mr_ctl->role_map & BIT(i)) { in _phl_thermal_protect_reduce_ampdu_num()
|
| H A D | phl_chan.c | 853 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_info->phl_com); in _phl_chanctx_create() local 854 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wifi_role->hw_band]); in _phl_chanctx_create() 881 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_chanctx_add() local 882 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wifi_role->hw_band]); in phl_chanctx_add() 1033 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_chanctx_chk() local 1036 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in rtw_phl_chanctx_chk() 1047 if (mr_ctl->is_sb) { in rtw_phl_chanctx_chk() 1094 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_chanctx_add() local 1097 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in rtw_phl_chanctx_add() 1110 if (mr_ctl->is_sb) { in rtw_phl_chanctx_add() [all …]
|
| H A D | phl_p2pps.c | 158 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_get_role_by_band_port() local 159 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[hw_band]); in _phl_get_role_by_band_port() 598 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_p2pps_noa_all_role_resume() local 599 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in phl_p2pps_noa_all_role_resume() 644 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_p2pps_noa_all_role_pause() local 645 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in phl_p2pps_noa_all_role_pause()
|
| H A D | phl_mcc.c | 3854 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mcc_init() local 3860 if (mr_ctl->com_mcc == NULL) { in rtw_phl_mcc_init() 3861 mr_ctl->com_mcc = _os_mem_alloc(drv, sizeof(struct phl_com_mcc_info)); in rtw_phl_mcc_init() 3862 if (mr_ctl->com_mcc != NULL) { in rtw_phl_mcc_init() 3870 band_ctrl = &mr_ctl->band_ctrl[band_idx]; in rtw_phl_mcc_init() 3898 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mcc_deinit() local 3908 band_ctrl = &mr_ctl->band_ctrl[band_idx]; in rtw_phl_mcc_deinit()
|
| H A D | phl_scan_fsm.c | 283 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in scan_off_chan() local 285 struct hw_band_ctl_t *band_ctl = &(mr_ctl->band_ctrl[wrole->hw_band]); in scan_off_chan()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_mr.c | 122 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_mr_dump_info() local 131 if (mr_ctl->role_map & BIT(i)) in phl_mr_dump_info() 136 MAX_WIFI_ROLE_NUMBER, role_num, mr_ctl->role_map); in phl_mr_dump_info() 137 PHL_INFO("[MR] is_sb:%s\n", (mr_ctl->is_sb) ? "Y" : "N"); in phl_mr_dump_info() 140 if (mr_ctl->role_map & BIT(i)) { in phl_mr_dump_info() 147 PHL_DUMP_BAND_CTL(phl_info, &mr_ctl->band_ctrl[i]); in phl_mr_dump_info() 157 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_mr_dump_cur_chandef() local 173 chan_def = &mr_ctl->hal_com->band[wifi_role->hw_band].cur_chandef; in phl_mr_dump_cur_chandef() 195 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mr_dump_band_ctl() local 200 PHL_DUMP_BAND_CTL(phl_info, &mr_ctl->band_ctrl[i]); in rtw_phl_mr_dump_band_ctl() [all …]
|
| H A D | phl_role.c | 26 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_alloc_hw_resource() local 33 band_ctrl = &mr_ctl->band_ctrl[hw_band]; in _phl_alloc_hw_resource() 92 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_free_hw_resource() local 97 band_ctrl = &mr_ctl->band_ctrl[hw_band]; in _phl_free_hw_resource() 146 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_search_roleidx_by_addr() local 149 if (mr_ctl->role_map & BIT(ridx)) { in _phl_search_roleidx_by_addr() 169 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_get_wrole_by_addr() local 174 if (mr_ctl->role_map & BIT(ridx)) { in phl_get_wrole_by_addr() 288 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_wifi_role_alloc_sw() local 292 _os_spinlock(phl_to_drvpriv(phl_info), &mr_ctl->lock, _ps, NULL); in _phl_wifi_role_alloc_sw() [all …]
|
| H A D | phl_thermal.c | 25 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_thermal_protect_disable_all_txop() local 32 if (mr_ctl->role_map & BIT(i)) { in _phl_thermal_protect_disable_all_txop() 67 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_thermal_protect_reduce_ampdu_num() local 73 if (mr_ctl->role_map & BIT(i)) { in _phl_thermal_protect_reduce_ampdu_num()
|
| H A D | phl_chan.c | 853 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_info->phl_com); in _phl_chanctx_create() local 854 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wifi_role->hw_band]); in _phl_chanctx_create() 881 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_chanctx_add() local 882 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[wifi_role->hw_band]); in phl_chanctx_add() 1033 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_chanctx_chk() local 1036 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in rtw_phl_chanctx_chk() 1047 if (mr_ctl->is_sb) { in rtw_phl_chanctx_chk() 1094 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_chanctx_add() local 1097 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in rtw_phl_chanctx_add() 1110 if (mr_ctl->is_sb) { in rtw_phl_chanctx_add() [all …]
|
| H A D | phl_p2pps.c | 158 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in _phl_get_role_by_band_port() local 159 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[hw_band]); in _phl_get_role_by_band_port() 598 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_p2pps_noa_all_role_resume() local 599 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in phl_p2pps_noa_all_role_resume() 644 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in phl_p2pps_noa_all_role_pause() local 645 struct hw_band_ctl_t *band_ctrl = &(mr_ctl->band_ctrl[band_idx]); in phl_p2pps_noa_all_role_pause()
|
| H A D | phl_mcc.c | 3854 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mcc_init() local 3860 if (mr_ctl->com_mcc == NULL) { in rtw_phl_mcc_init() 3861 mr_ctl->com_mcc = _os_mem_alloc(drv, sizeof(struct phl_com_mcc_info)); in rtw_phl_mcc_init() 3862 if (mr_ctl->com_mcc != NULL) { in rtw_phl_mcc_init() 3870 band_ctrl = &mr_ctl->band_ctrl[band_idx]; in rtw_phl_mcc_init() 3898 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in rtw_phl_mcc_deinit() local 3908 band_ctrl = &mr_ctl->band_ctrl[band_idx]; in rtw_phl_mcc_deinit()
|
| H A D | phl_scan_fsm.c | 283 struct mr_ctl_t *mr_ctl = phlcom_to_mr_ctrl(phl_com); in scan_off_chan() local 285 struct hw_band_ctl_t *band_ctl = &(mr_ctl->band_ctrl[wrole->hw_band]); in scan_off_chan()
|