| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_interface.c | 298 u32 halbb_c2h_rua_parsing(struct bb_info *bb, u8 cmdid, u8 len, u8 *c2h) in halbb_c2h_rua_parsing() argument 304 u32 halbb_c2h_mu_gptbl_rpt(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_mu_gptbl_rpt() argument 322 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask); in halbb_c2h_mu_gptbl_rpt() 325 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>2; in halbb_c2h_mu_gptbl_rpt() 328 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>4; in halbb_c2h_mu_gptbl_rpt() 331 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>6; in halbb_c2h_mu_gptbl_rpt() 340 u32 halbb_c2h_lowrt_rty(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_lowrt_rty() argument 345 c2h_rty_cnt = (*c2h) + ((*(c2h+1))<<8); in halbb_c2h_lowrt_rty() 390 u32 halbb_c2h_fw_h2c_test(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_fw_h2c_test() argument 396 BB_DBG(bb, DBG_FW_INFO, "FW H2C and C2H test: %d\n", c2h[i]); in halbb_c2h_fw_h2c_test() [all …]
|
| H A D | halbb_ra.h | 279 u32 halbb_get_fw_ra_rpt(struct bb_info *bb, u16 len, u8 *c2h); 280 u32 halbb_get_txsts_rpt(struct bb_info *bb, u16 len, u8 *c2h);
|
| H A D | halbb_interface_ex.h | 38 u32 rtw_halbb_c2h_parsing(struct bb_info *bb, u8 classid, u8 cmdid, u16 len, u8 *c2h);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_interface.c | 298 u32 halbb_c2h_rua_parsing(struct bb_info *bb, u8 cmdid, u8 len, u8 *c2h) in halbb_c2h_rua_parsing() argument 304 u32 halbb_c2h_mu_gptbl_rpt(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_mu_gptbl_rpt() argument 322 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask); in halbb_c2h_mu_gptbl_rpt() 325 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>2; in halbb_c2h_mu_gptbl_rpt() 328 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>4; in halbb_c2h_mu_gptbl_rpt() 331 mu_sc_tbl->mu_score[i].score[j] = (c2h[k]&mask)>>6; in halbb_c2h_mu_gptbl_rpt() 340 u32 halbb_c2h_lowrt_rty(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_lowrt_rty() argument 345 c2h_rty_cnt = (*c2h) + ((*(c2h+1))<<8); in halbb_c2h_lowrt_rty() 390 u32 halbb_c2h_fw_h2c_test(struct bb_info *bb, u16 len, u8 *c2h) in halbb_c2h_fw_h2c_test() argument 396 BB_DBG(bb, DBG_FW_INFO, "FW H2C and C2H test: %d\n", c2h[i]); in halbb_c2h_fw_h2c_test() [all …]
|
| H A D | halbb_ra.h | 279 u32 halbb_get_fw_ra_rpt(struct bb_info *bb, u16 len, u8 *c2h); 280 u32 halbb_get_txsts_rpt(struct bb_info *bb, u16 len, u8 *c2h);
|
| H A D | halbb_interface_ex.h | 38 u32 rtw_halbb_c2h_parsing(struct bb_info *bb, u8 classid, u8 cmdid, u16 len, u8 *c2h);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_c2h.c | 30 void hal_c2h_post_process(void *phl, void *hal, void *c2h) in hal_c2h_post_process() argument 33 struct rtw_c2h_info *c = (struct rtw_c2h_info *)c2h; in hal_c2h_post_process() 41 ret = c2h_list[i].c2h_hdl(hal, c2h); in hal_c2h_post_process()
|
| H A D | hal_api_btc.c | 540 u32 rtw_hal_btc_process_c2h(void *hal, struct rtw_c2h_info *c2h) in rtw_hal_btc_process_c2h() argument 547 u8 cls = c2h->c2h_class; in rtw_hal_btc_process_c2h() 548 u8 func = c2h->c2h_func; in rtw_hal_btc_process_c2h() 549 u16 len = c2h->content_len; in rtw_hal_btc_process_c2h() 550 u8 *buf = c2h->content; in rtw_hal_btc_process_c2h()
|
| H A D | hal_c2h.h | 19 void hal_c2h_post_process(void *phl, void *hal, void *c2h);
|
| H A D | hal_api_btc.h | 34 u32 rtw_hal_btc_process_c2h(void *hal, struct rtw_c2h_info *c2h);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_c2h.c | 30 void hal_c2h_post_process(void *phl, void *hal, void *c2h) in hal_c2h_post_process() argument 33 struct rtw_c2h_info *c = (struct rtw_c2h_info *)c2h; in hal_c2h_post_process() 41 ret = c2h_list[i].c2h_hdl(hal, c2h); in hal_c2h_post_process()
|
| H A D | hal_c2h.h | 19 void hal_c2h_post_process(void *phl, void *hal, void *c2h);
|
| H A D | hal_api_btc.c | 623 u32 rtw_hal_btc_process_c2h(void *hal, struct rtw_c2h_info *c2h) in rtw_hal_btc_process_c2h() argument 630 u8 cls = c2h->c2h_class; in rtw_hal_btc_process_c2h() 631 u8 func = c2h->c2h_func; in rtw_hal_btc_process_c2h() 632 u16 len = c2h->content_len; in rtw_hal_btc_process_c2h() 633 u8 *buf = c2h->content; in rtw_hal_btc_process_c2h()
|
| H A D | hal_api_btc.h | 34 u32 rtw_hal_btc_process_c2h(void *hal, struct rtw_c2h_info *c2h);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/ |
| H A D | fwcmd.c | 72 u32 (*hdl)(struct mac_ax_adapter *adapter, struct rtw_c2h_info *c2h, 2932 u32 __recv_c2hreg(struct mac_ax_adapter *adapter, struct fwcmd_c2hreg *c2h) in __recv_c2hreg() argument 2942 c2h->dword0 = MAC_REG_R32(R_AX_C2HREG_DATA0_V1); in __recv_c2hreg() 2943 c2h->dword1 = MAC_REG_R32(R_AX_C2HREG_DATA1_V1); in __recv_c2hreg() 2944 c2h->dword2 = MAC_REG_R32(R_AX_C2HREG_DATA2_V1); in __recv_c2hreg() 2945 c2h->dword3 = MAC_REG_R32(R_AX_C2HREG_DATA3_V1); in __recv_c2hreg() 2953 c2h->dword0 = MAC_REG_R32(R_AX_C2HREG_DATA0); in __recv_c2hreg() 2954 c2h->dword1 = MAC_REG_R32(R_AX_C2HREG_DATA1); in __recv_c2hreg() 2955 c2h->dword2 = MAC_REG_R32(R_AX_C2HREG_DATA2); in __recv_c2hreg() 2956 c2h->dword3 = MAC_REG_R32(R_AX_C2HREG_DATA3); in __recv_c2hreg() [all …]
|
| H A D | fwcmd.h | 815 struct mac_ax_c2hreg_poll *c2h); 837 struct rtw_c2h_info *c2h,
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/ |
| H A D | fwcmd.c | 72 u32 (*hdl)(struct mac_ax_adapter *adapter, struct rtw_c2h_info *c2h, 2932 u32 __recv_c2hreg(struct mac_ax_adapter *adapter, struct fwcmd_c2hreg *c2h) in __recv_c2hreg() argument 2942 c2h->dword0 = MAC_REG_R32(R_AX_C2HREG_DATA0_V1); in __recv_c2hreg() 2943 c2h->dword1 = MAC_REG_R32(R_AX_C2HREG_DATA1_V1); in __recv_c2hreg() 2944 c2h->dword2 = MAC_REG_R32(R_AX_C2HREG_DATA2_V1); in __recv_c2hreg() 2945 c2h->dword3 = MAC_REG_R32(R_AX_C2HREG_DATA3_V1); in __recv_c2hreg() 2953 c2h->dword0 = MAC_REG_R32(R_AX_C2HREG_DATA0); in __recv_c2hreg() 2954 c2h->dword1 = MAC_REG_R32(R_AX_C2HREG_DATA1); in __recv_c2hreg() 2955 c2h->dword2 = MAC_REG_R32(R_AX_C2HREG_DATA2); in __recv_c2hreg() 2956 c2h->dword3 = MAC_REG_R32(R_AX_C2HREG_DATA3); in __recv_c2hreg() [all …]
|
| H A D | fwcmd.h | 815 struct mac_ax_c2hreg_poll *c2h); 837 struct rtw_c2h_info *c2h,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtw88/ |
| H A D | fw.c | 20 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle_ext() local 23 c2h = get_c2h_from_skb(skb); in rtw_fw_c2h_cmd_handle_ext() 24 sub_cmd_id = c2h->payload[0]; in rtw_fw_c2h_cmd_handle_ext() 131 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle() local 136 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle() 144 switch (c2h->id) { in rtw_fw_c2h_cmd_handle() 149 rtw_coex_bt_info_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle() 152 rtw_coex_wl_fwdbginfo_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle() 158 rtw_fw_ra_report_handle(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle() 161 rtw_dbg(rtwdev, RTW_DBG_FW, "C2H 0x%x isn't handled\n", c2h->id); in rtw_fw_c2h_cmd_handle() [all …]
|
| H A D | tx.c | 204 struct rtw_c2h_cmd *c2h; in rtw_tx_report_handle() local 210 c2h = get_c2h_from_skb(skb); in rtw_tx_report_handle() 213 sn = GET_CCX_REPORT_SEQNUM_V0(c2h->payload); in rtw_tx_report_handle() 214 st = GET_CCX_REPORT_STATUS_V0(c2h->payload); in rtw_tx_report_handle() 216 sn = GET_CCX_REPORT_SEQNUM_V1(c2h->payload); in rtw_tx_report_handle() 217 st = GET_CCX_REPORT_STATUS_V1(c2h->payload); in rtw_tx_report_handle()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | wifi.h | 159 #define GET_C2H_CMD_ID(c2h) ({u8 *__c2h = c2h; __c2h[0]; }) argument 160 #define GET_C2H_SEQ(c2h) ({u8 *__c2h = c2h; __c2h[1]; }) argument 162 #define GET_C2H_DATA_PTR(c2h) ({u8 *__c2h = c2h; &__c2h[C2H_DATA_OFFSET]; }) argument 164 #define GET_TX_REPORT_SN_V1(c2h) (c2h[6]) argument 165 #define GET_TX_REPORT_ST_V1(c2h) (c2h[0] & 0xC0) argument 166 #define GET_TX_REPORT_RETRY_V1(c2h) (c2h[2] & 0x3F) argument 167 #define GET_TX_REPORT_SN_V2(c2h) (c2h[6]) argument 168 #define GET_TX_REPORT_ST_V2(c2h) (c2h[7] & 0xC0) argument 169 #define GET_TX_REPORT_RETRY_V2(c2h) (c2h[8] & 0x3F) argument
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/rtl8822c/ |
| H A D | rtl8822c_cmd.c | 506 static void process_c2h_event(PADAPTER adapter, u8 *c2h, u32 size) in process_c2h_event() argument 516 if (!c2h) { in process_c2h_event() 533 pc2h_data = c2h + desc_size; in process_c2h_event() 589 rtw_halmac_c2h_handle(adapter_to_dvobj(adapter), c2h, size); in process_c2h_event()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/ |
| H A D | rtl8822b_cmd.c | 489 static void process_c2h_event(PADAPTER adapter, u8 *c2h, u32 size) in process_c2h_event() argument 499 if (!c2h) { in process_c2h_event() 516 pc2h_data = c2h + desc_size; in process_c2h_event() 579 rtw_halmac_c2h_handle(adapter_to_dvobj(adapter), c2h, size); in process_c2h_event()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtl8xxxu/ |
| H A D | rtl8xxxu_core.c | 5484 struct rtl8723bu_c2h *c2h; in rtl8xxxu_c2hcmd_callback() local 5506 c2h = (struct rtl8723bu_c2h *)skb->data; in rtl8xxxu_c2hcmd_callback() 5508 switch (c2h->id) { in rtl8xxxu_c2hcmd_callback() 5510 bt_info = c2h->bt_info.bt_info; in rtl8xxxu_c2hcmd_callback() 5521 rate = c2h->ra_report.rate; in rtl8xxxu_c2hcmd_callback() 5522 sgi = c2h->ra_report.sgi; in rtl8xxxu_c2hcmd_callback() 5523 bw = c2h->ra_report.bw; in rtl8xxxu_c2hcmd_callback() 5559 struct rtl8723bu_c2h *c2h = (struct rtl8723bu_c2h *)skb->data; in rtl8723bu_handle_c2h() local 5567 c2h->id, c2h->seq, len, c2h->bt_info.response_source); in rtl8723bu_handle_c2h() 5569 switch(c2h->id) { in rtl8723bu_handle_c2h() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/sdio/ |
| H A D | rtl8822bs_recv.c | 528 u8 c2h = 0; in c2h_hdl() local 531 c2h = GET_RX_DESC_C2H_8822B(recvbuf->pdata); in c2h_hdl() 532 if (c2h) { in c2h_hdl()
|