| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_role.c | 289 u8 role_idx = INVALID_WIFI_ROLE_IDX; in _phl_wifi_role_alloc_sw() local 295 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_wifi_role_alloc_sw() 296 if (!(mr_ctl->role_map & BIT(role_idx))) { in _phl_wifi_role_alloc_sw() 297 mr_ctl->role_map |= BIT(role_idx); in _phl_wifi_role_alloc_sw() 307 role_idx = ridx; in _phl_wifi_role_alloc_sw() 312 if (role_idx == INVALID_WIFI_ROLE_IDX) { in _phl_wifi_role_alloc_sw() 318 role = &phl_com->wifi_roles[role_idx]; in _phl_wifi_role_alloc_sw() 485 u8 role_idx = INVALID_WIFI_ROLE_IDX; in rtw_phl_wifi_role_alloc() local 496 role_idx = _phl_search_roleidx_by_addr(phl_info, mac_addr); in rtw_phl_wifi_role_alloc() 497 if (role_idx != INVALID_WIFI_ROLE_IDX) { in rtw_phl_wifi_role_alloc() [all …]
|
| H A D | phl_ps.c | 230 u8 role_idx; in _phl_lps_role_config_tbtt_agg() local 239 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_lps_role_config_tbtt_agg() 240 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, role_idx); in _phl_lps_role_config_tbtt_agg() 247 PHL_INFO("%s role %d config tbtt agg = %d\n", __func__, role_idx, tbtt_agg_val); in _phl_lps_role_config_tbtt_agg() 255 u8 role_idx; in _phl_ips_role_config_tbtt_agg() local 259 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_ips_role_config_tbtt_agg() 260 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, role_idx); in _phl_ips_role_config_tbtt_agg() 264 PHL_INFO("%s role %d config tbtt agg = %d\n", __func__, role_idx, in _phl_ips_role_config_tbtt_agg()
|
| H A D | phl_cmd_ps.c | 758 u8 role_idx = 0; in _chk_role_all_no_link() local 761 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _chk_role_all_no_link() 762 if (phl_info->phl_com->wifi_roles[role_idx].active == false) in _chk_role_all_no_link() 764 if (phl_info->phl_com->wifi_roles[role_idx].mstate != MLME_NO_LINK) { in _chk_role_all_no_link() 777 u8 role_idx = 0; in _get_role_of_ps_permitted() local 779 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _get_role_of_ps_permitted() 780 if (phl_com->wifi_roles[role_idx].active == false) in _get_role_of_ps_permitted() 782 if (phl_com->wifi_roles[role_idx].type == PHL_RTYPE_STATION) { in _get_role_of_ps_permitted() 784 phl_com->wifi_roles[role_idx].mstate == MLME_LINKED) in _get_role_of_ps_permitted() 785 return &(phl_com->wifi_roles[role_idx]); in _get_role_of_ps_permitted() [all …]
|
| H A D | phl_p2pps.c | 572 u8 role_idx = get_role_idx(w_role); in phl_p2pps_noa_resume_all() local 573 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_idx]; in phl_p2pps_noa_resume_all() 620 u8 role_idx = get_role_idx(w_role); in phl_p2pps_noa_pause_all() local 621 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_idx]; in phl_p2pps_noa_pause_all() 628 role_idx); in phl_p2pps_noa_pause_all() 684 u8 role_idx = get_role_idx(w_role); in phl_p2pps_query_noa_with_cnt255() local 685 struct rtw_phl_noa_info *info = &psinfo->noa_info[role_idx]; in phl_p2pps_query_noa_with_cnt255()
|
| H A D | phl_init.c | 1303 u8 bcn_id, role_idx, bcn_added; in phl_issue_beacon() local 1305 role_idx = bcn_cmn->role_idx; in phl_issue_beacon() 1306 if (role_idx > MAX_WIFI_ROLE_NUMBER) { in phl_issue_beacon() 1307 PHL_ERR("%s: role idx err(%d)\n", __func__, role_idx); in phl_issue_beacon() 1311 wifi_role = &phl_com->wifi_roles[role_idx]; in phl_issue_beacon()
|
| H A D | phl_api.h | 123 void rtw_phl_wifi_role_free(void *phl, u8 role_idx);
|
| H A D | phl_def.h | 1588 u8 role_idx; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_role.c | 289 u8 role_idx = INVALID_WIFI_ROLE_IDX; in _phl_wifi_role_alloc_sw() local 295 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_wifi_role_alloc_sw() 296 if (!(mr_ctl->role_map & BIT(role_idx))) { in _phl_wifi_role_alloc_sw() 297 mr_ctl->role_map |= BIT(role_idx); in _phl_wifi_role_alloc_sw() 307 role_idx = ridx; in _phl_wifi_role_alloc_sw() 312 if (role_idx == INVALID_WIFI_ROLE_IDX) { in _phl_wifi_role_alloc_sw() 318 role = &phl_com->wifi_roles[role_idx]; in _phl_wifi_role_alloc_sw() 487 u8 role_idx = INVALID_WIFI_ROLE_IDX; in rtw_phl_wifi_role_alloc() local 498 role_idx = _phl_search_roleidx_by_addr(phl_info, mac_addr); in rtw_phl_wifi_role_alloc() 499 if (role_idx != INVALID_WIFI_ROLE_IDX) { in rtw_phl_wifi_role_alloc() [all …]
|
| H A D | phl_ps.c | 230 u8 role_idx; in _phl_lps_role_config_tbtt_agg() local 239 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_lps_role_config_tbtt_agg() 240 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, role_idx); in _phl_lps_role_config_tbtt_agg() 247 PHL_INFO("%s role %d config tbtt agg = %d\n", __func__, role_idx, tbtt_agg_val); in _phl_lps_role_config_tbtt_agg() 255 u8 role_idx; in _phl_ips_role_config_tbtt_agg() local 259 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _phl_ips_role_config_tbtt_agg() 260 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, role_idx); in _phl_ips_role_config_tbtt_agg() 264 PHL_INFO("%s role %d config tbtt agg = %d\n", __func__, role_idx, in _phl_ips_role_config_tbtt_agg()
|
| H A D | phl_cmd_ps.c | 783 u8 role_idx = 0; in _chk_role_all_no_link() local 786 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _chk_role_all_no_link() 787 if (phl_info->phl_com->wifi_roles[role_idx].active == false) in _chk_role_all_no_link() 789 if (phl_info->phl_com->wifi_roles[role_idx].mstate != MLME_NO_LINK) { in _chk_role_all_no_link() 802 u8 role_idx = 0; in _get_role_of_ps_permitted() local 804 for (role_idx = 0; role_idx < MAX_WIFI_ROLE_NUMBER; role_idx++) { in _get_role_of_ps_permitted() 805 if (phl_com->wifi_roles[role_idx].active == false) in _get_role_of_ps_permitted() 807 if (phl_com->wifi_roles[role_idx].type == PHL_RTYPE_STATION) { in _get_role_of_ps_permitted() 809 phl_com->wifi_roles[role_idx].mstate == MLME_LINKED) in _get_role_of_ps_permitted() 810 return &(phl_com->wifi_roles[role_idx]); in _get_role_of_ps_permitted() [all …]
|
| H A D | phl_p2pps.c | 572 u8 role_idx = get_role_idx(w_role); in phl_p2pps_noa_resume_all() local 573 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_idx]; in phl_p2pps_noa_resume_all() 620 u8 role_idx = get_role_idx(w_role); in phl_p2pps_noa_pause_all() local 621 struct rtw_phl_noa_info *noa_info = &psinfo->noa_info[role_idx]; in phl_p2pps_noa_pause_all() 628 role_idx); in phl_p2pps_noa_pause_all() 684 u8 role_idx = get_role_idx(w_role); in phl_p2pps_query_noa_with_cnt255() local 685 struct rtw_phl_noa_info *info = &psinfo->noa_info[role_idx]; in phl_p2pps_query_noa_with_cnt255()
|
| H A D | phl_init.c | 1311 u8 bcn_id, role_idx, bcn_added; in phl_issue_beacon() local 1313 role_idx = bcn_cmn->role_idx; in phl_issue_beacon() 1314 if (role_idx > MAX_WIFI_ROLE_NUMBER) { in phl_issue_beacon() 1315 PHL_ERR("%s: role idx err(%d)\n", __func__, role_idx); in phl_issue_beacon() 1319 wifi_role = &phl_com->wifi_roles[role_idx]; in phl_issue_beacon()
|
| H A D | phl_api.h | 123 void rtw_phl_wifi_role_free(void *phl, u8 role_idx);
|
| H A D | phl_def.h | 1609 u8 role_idx; member
|
| /OK3568_Linux_fs/kernel/drivers/platform/chrome/ |
| H A D | cros_usbpd_logger.c | 86 int role_idx, type_idx; in cros_usbpd_print_log_entry() local 105 role_idx = r->data & CHARGE_FLAGS_ROLE_MASK; in cros_usbpd_print_log_entry() 106 role = role_idx < ARRAY_SIZE(role_names) ? in cros_usbpd_print_log_entry() 107 role_names[role_idx] : "Unknown"; in cros_usbpd_print_log_entry() 115 if (role_idx == USB_PD_PORT_POWER_DISCONNECTED || in cros_usbpd_print_log_entry() 116 role_idx == USB_PD_PORT_POWER_SOURCE) { in cros_usbpd_print_log_entry()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | role.h | 261 u8 role_idx);
|
| H A D | role.c | 913 u8 role_idx) in mac_get_macaddr() argument 922 if (role_idx >= adapter->hw_info->macid_num) { in mac_get_macaddr() 923 PLTFM_MSG_ERR("role_idx: %d\n", role_idx); in mac_get_macaddr() 950 if (m_list_idx == role_idx) { in mac_get_macaddr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | role.h | 261 u8 role_idx);
|
| H A D | role.c | 913 u8 role_idx) in mac_get_macaddr() argument 922 if (role_idx >= adapter->hw_info->macid_num) { in mac_get_macaddr() 923 PLTFM_MSG_ERR("role_idx: %d\n", role_idx); in mac_get_macaddr() 950 if (m_list_idx == role_idx) { in mac_get_macaddr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/ |
| H A D | phl_dbg_cmd.c | 629 u32 role_idx; in phl_dbg_cmd_snd() local 637 _get_hex_from_string(input[2], &role_idx); in phl_dbg_cmd_snd() 641 (int)ctrl, (int)role_idx); in phl_dbg_cmd_snd() 644 rtw_phl_sound_start(phl_info, (u8)role_idx, 0, 200, in phl_dbg_cmd_snd() 648 out_len - used, "SOUND START(once) : wrole %d !!\n", (int)role_idx); in phl_dbg_cmd_snd() 654 rtw_phl_sound_start(phl_info, (u8)role_idx, 0, 200, in phl_dbg_cmd_snd() 657 out_len - used, "SOUND START(loop) : wrole %d !!\n", (int)role_idx); in phl_dbg_cmd_snd()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/ |
| H A D | phl_dbg_cmd.c | 629 u32 role_idx; in phl_dbg_cmd_snd() local 637 _get_hex_from_string(input[2], &role_idx); in phl_dbg_cmd_snd() 641 (int)ctrl, (int)role_idx); in phl_dbg_cmd_snd() 644 rtw_phl_sound_start(phl_info, (u8)role_idx, 0, 200, in phl_dbg_cmd_snd() 648 out_len - used, "SOUND START(once) : wrole %d !!\n", (int)role_idx); in phl_dbg_cmd_snd() 654 rtw_phl_sound_start(phl_info, (u8)role_idx, 0, 200, in phl_dbg_cmd_snd() 657 out_len - used, "SOUND START(loop) : wrole %d !!\n", (int)role_idx); in phl_dbg_cmd_snd()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_init.c | 801 struct rtw_wifi_role_t *wrole = &phl_com->wifi_roles[bcn_cmn->role_idx]; in hal_update_bcn_entry()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_init.c | 801 struct rtw_wifi_role_t *wrole = &phl_com->wifi_roles[bcn_cmn->role_idx]; in hal_update_bcn_entry()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/ |
| H A D | mac_def.h | 14941 u8 role_idx);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/ |
| H A D | mac_def.h | 14941 u8 role_idx);
|