Home
last modified time | relevance | path

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

/drivers/net/wireless/realtek/rtw88/
Dfw.c15 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle_ext() local
18 c2h = get_c2h_from_skb(skb); in rtw_fw_c2h_cmd_handle_ext()
19 sub_cmd_id = c2h->payload[0]; in rtw_fw_c2h_cmd_handle_ext()
32 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_handle() local
37 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle()
42 switch (c2h->id) { in rtw_fw_c2h_cmd_handle()
44 rtw_coex_bt_info_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
47 rtw_coex_wl_fwdbginfo_notify(rtwdev, c2h->payload, len); in rtw_fw_c2h_cmd_handle()
62 struct rtw_c2h_cmd *c2h; in rtw_fw_c2h_cmd_rx_irqsafe() local
65 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_rx_irqsafe()
[all …]
Dtx.c199 struct rtw_c2h_cmd *c2h; in rtw_tx_report_handle() local
205 c2h = get_c2h_from_skb(skb); in rtw_tx_report_handle()
207 sn = GET_CCX_REPORT_SEQNUM(c2h->payload); in rtw_tx_report_handle()
208 st = GET_CCX_REPORT_STATUS(c2h->payload); in rtw_tx_report_handle()
Dcoex.c438 struct rtw_c2h_cmd *c2h; in get_payload_from_coex_resp() local
442 c2h = (struct rtw_c2h_cmd *)(resp->data + pkt_offset); in get_payload_from_coex_resp()
444 return c2h->payload; in get_payload_from_coex_resp()
/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h159 #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
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_core.c5157 struct rtl8723bu_c2h *c2h = (struct rtl8723bu_c2h *)skb->data; in rtl8723bu_handle_c2h() local
5164 c2h->id, c2h->seq, len, c2h->bt_info.response_source); in rtl8723bu_handle_c2h()
5166 switch(c2h->id) { in rtl8723bu_handle_c2h()
5168 if (c2h->bt_info.response_source > in rtl8723bu_handle_c2h()
5174 if (c2h->bt_info.bt_has_reset) in rtl8723bu_handle_c2h()
5176 if (c2h->bt_info.tx_rx_mask) in rtl8723bu_handle_c2h()
5182 c2h->bt_mp_info.ext_id, c2h->bt_mp_info.status); in rtl8723bu_handle_c2h()
5187 c2h->ra_report.rate, c2h->ra_report.dummy0_0, in rtl8723bu_handle_c2h()
5188 c2h->ra_report.macid, c2h->ra_report.noisy_state); in rtl8723bu_handle_c2h()
5192 c2h->id, c2h->seq); in rtl8723bu_handle_c2h()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_cmd.c229 void *c2h = rtw_cbuf_pop(pevtpriv->c2h_queue); in _rtw_free_evt_priv() local
230 if (c2h != NULL && c2h != (void *)pevtpriv) { in _rtw_free_evt_priv()
231 kfree(c2h); in _rtw_free_evt_priv()