Home
last modified time | relevance | path

Searched refs:c2h (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dfw.h2534 #define RTW89_GET_C2H_CATEGORY(c2h) \ argument
2535 le32_get_bits(*((const __le32 *)c2h), GENMASK(1, 0))
2536 #define RTW89_GET_C2H_CLASS(c2h) \ argument
2537 le32_get_bits(*((const __le32 *)c2h), GENMASK(7, 2))
2538 #define RTW89_GET_C2H_FUNC(c2h) \ argument
2539 le32_get_bits(*((const __le32 *)c2h), GENMASK(15, 8))
2540 #define RTW89_GET_C2H_LEN(c2h) \ argument
2541 le32_get_bits(*((const __le32 *)(c2h) + 1), GENMASK(13, 0))
2543 #define RTW89_GET_C2H_LOG_SRT_PRT(c2h) (char *)((__le32 *)(c2h) + 2) argument
2546 #define RTW89_GET_MAC_C2H_DONE_ACK_CAT(c2h) \ argument
[all …]
Dmac.c1464 SET_QUOTA(c2h, PLE, 2); in ple_quota_cfg()
3815 rtw89_mac_c2h_macid_pause(struct rtw89_dev *rtwdev, struct sk_buff *c2h, u32 len) in rtw89_mac_c2h_macid_pause() argument
3827 rtw89_mac_c2h_scanofld_rsp(struct rtw89_dev *rtwdev, struct sk_buff *c2h, in rtw89_mac_c2h_scanofld_rsp() argument
3838 tx_fail = RTW89_GET_MAC_C2H_SCANOFLD_TX_FAIL(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3839 status = RTW89_GET_MAC_C2H_SCANOFLD_STATUS(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3840 chan = RTW89_GET_MAC_C2H_SCANOFLD_PRI_CH(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3841 reason = RTW89_GET_MAC_C2H_SCANOFLD_RSP(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3842 band = RTW89_GET_MAC_C2H_SCANOFLD_BAND(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3843 actual_period = RTW89_GET_MAC_C2H_ACTUAL_PERIOD(c2h->data); in rtw89_mac_c2h_scanofld_rsp()
3883 rtw89_mac_c2h_rec_ack(struct rtw89_dev *rtwdev, struct sk_buff *c2h, u32 len) in rtw89_mac_c2h_rec_ack() argument
[all …]
Dphy.c1999 struct sk_buff *c2h; member
2008 struct sk_buff *c2h = ra_data->c2h; in rtw89_phy_c2h_ra_rpt_iter() local
2014 mac_id = RTW89_GET_PHY_C2H_RA_RPT_MACID(c2h->data); in rtw89_phy_c2h_ra_rpt_iter()
2018 rate = RTW89_GET_PHY_C2H_RA_RPT_MCSNSS(c2h->data); in rtw89_phy_c2h_ra_rpt_iter()
2019 bw = RTW89_GET_PHY_C2H_RA_RPT_BW(c2h->data); in rtw89_phy_c2h_ra_rpt_iter()
2020 giltf = RTW89_GET_PHY_C2H_RA_RPT_GILTF(c2h->data); in rtw89_phy_c2h_ra_rpt_iter()
2021 mode = RTW89_GET_PHY_C2H_RA_RPT_MD_SEL(c2h->data); in rtw89_phy_c2h_ra_rpt_iter()
2079 rtw89_phy_c2h_ra_rpt(struct rtw89_dev *rtwdev, struct sk_buff *c2h, u32 len) in rtw89_phy_c2h_ra_rpt() argument
2084 ra_data.c2h = c2h; in rtw89_phy_c2h_ra_rpt()
2092 struct sk_buff *c2h, u32 len) = {
[all …]
Dfw.c2314 void rtw89_fw_c2h_irqsafe(struct rtw89_dev *rtwdev, struct sk_buff *c2h) in rtw89_fw_c2h_irqsafe() argument
2316 skb_queue_tail(&rtwdev->c2h_queue, c2h); in rtw89_fw_c2h_irqsafe()
Dcore.h2467 u16 c2h; member
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dfw.c23 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle_ext() local
26 c2h = get_c2h_from_skb(skb); in rtw_fw_c2h_cmd_handle_ext()
27 sub_cmd_id = c2h->payload[0]; in rtw_fw_c2h_cmd_handle_ext()
218 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle() local
223 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle()
231 switch (c2h->id) { in rtw_fw_c2h_cmd_handle()
236 rtw_coex_bt_info_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
239 rtw_coex_bt_hid_info_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
242 rtw_coex_wl_fwdbginfo_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
245 rtw_fw_bcn_filter_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
[all …]
Dtx.c212 struct rtw_c2h_cmd *c2h; in rtw_tx_report_handle() local
218 c2h = get_c2h_from_skb(skb); in rtw_tx_report_handle()
221 sn = GET_CCX_REPORT_SEQNUM_V0(c2h->payload); in rtw_tx_report_handle()
222 st = GET_CCX_REPORT_STATUS_V0(c2h->payload); in rtw_tx_report_handle()
224 sn = GET_CCX_REPORT_SEQNUM_V1(c2h->payload); in rtw_tx_report_handle()
225 st = GET_CCX_REPORT_STATUS_V1(c2h->payload); in rtw_tx_report_handle()
Dcoex.c607 struct rtw_c2h_cmd *c2h; in get_payload_from_coex_resp() local
611 c2h = (struct rtw_c2h_cmd *)(resp->data + pkt_offset); in get_payload_from_coex_resp()
613 return c2h->payload; in get_payload_from_coex_resp()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h158 #define GET_C2H_CMD_ID(c2h) ({u8 *__c2h = c2h; __c2h[0]; }) argument
159 #define GET_C2H_SEQ(c2h) ({u8 *__c2h = c2h; __c2h[1]; }) argument
161 #define GET_C2H_DATA_PTR(c2h) ({u8 *__c2h = c2h; &__c2h[C2H_DATA_OFFSET]; }) argument
163 #define GET_TX_REPORT_SN_V1(c2h) (c2h[6]) argument
164 #define GET_TX_REPORT_ST_V1(c2h) (c2h[0] & 0xC0) argument
165 #define GET_TX_REPORT_RETRY_V1(c2h) (c2h[2] & 0x3F) argument
166 #define GET_TX_REPORT_SN_V2(c2h) (c2h[6]) argument
167 #define GET_TX_REPORT_ST_V2(c2h) (c2h[7] & 0xC0) argument
168 #define GET_TX_REPORT_RETRY_V2(c2h) (c2h[8] & 0x3F) argument
/linux-6.1.9/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c5541 struct rtl8723bu_c2h *c2h; in rtl8xxxu_c2hcmd_callback() local
5560 c2h = (struct rtl8723bu_c2h *)skb->data; in rtl8xxxu_c2hcmd_callback()
5562 switch (c2h->id) { in rtl8xxxu_c2hcmd_callback()
5564 bt_info = c2h->bt_info.bt_info; in rtl8xxxu_c2hcmd_callback()
5575 rate = c2h->ra_report.rate; in rtl8xxxu_c2hcmd_callback()
5576 sgi = c2h->ra_report.sgi; in rtl8xxxu_c2hcmd_callback()
5593 if (skb->len >= offsetofend(typeof(*c2h), ra_report.bw)) { in rtl8xxxu_c2hcmd_callback()
5594 if (c2h->ra_report.bw == RTL8XXXU_CHANNEL_WIDTH_40) in rtl8xxxu_c2hcmd_callback()
5617 struct rtl8723bu_c2h *c2h = (struct rtl8723bu_c2h *)skb->data; in rtl8723bu_handle_c2h() local
5624 c2h->id, c2h->seq, len, c2h->bt_info.response_source); in rtl8723bu_handle_c2h()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_cmd.c25 void *c2h = rtw_cbuf_pop(pevtpriv->c2h_queue); in rtw_free_evt_priv() local
26 if (c2h && c2h != (void *)pevtpriv) in rtw_free_evt_priv()
27 kfree(c2h); in rtw_free_evt_priv()
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_cmd.c222 void *c2h = rtw_cbuf_pop(pevtpriv->c2h_queue); in _rtw_free_evt_priv() local
224 if (c2h && c2h != (void *)pevtpriv) in _rtw_free_evt_priv()
225 kfree(c2h); in _rtw_free_evt_priv()