Home
last modified time | relevance | path

Searched refs:c2h_evt (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dhal_com.c908 struct c2h_evt_hdr_88xx *c2h_evt; in c2h_evt_read_88xx() local
922 c2h_evt = (struct c2h_evt_hdr_88xx *)buf; in c2h_evt_read_88xx()
924 memset(c2h_evt, 0, 16); in c2h_evt_read_88xx()
926 c2h_evt->id = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL); in c2h_evt_read_88xx()
927 c2h_evt->seq = rtw_read8(adapter, REG_C2HEVT_CMD_SEQ_88XX); in c2h_evt_read_88xx()
928 c2h_evt->plen = rtw_read8(adapter, REG_C2HEVT_CMD_LEN_88XX); in c2h_evt_read_88xx()
934 &c2h_evt, in c2h_evt_read_88xx()
935 sizeof(c2h_evt) in c2h_evt_read_88xx()
941 c2h_evt->id, in c2h_evt_read_88xx()
942 c2h_evt->plen, in c2h_evt_read_88xx()
[all …]
Dsdio_ops.c1067 struct c2h_evt_hdr_88xx *c2h_evt; in sd_int_dpc() local
1070 c2h_evt = rtw_zmalloc(16); in sd_int_dpc()
1071 if (c2h_evt != NULL) { in sd_int_dpc()
1072 if (rtw_hal_c2h_evt_read(adapter, (u8 *)c2h_evt) == _SUCCESS) { in sd_int_dpc()
1073 if (c2h_id_filter_ccx_8723b((u8 *)c2h_evt)) { in sd_int_dpc()
1075 rtw_hal_c2h_handler(adapter, (u8 *)c2h_evt); in sd_int_dpc()
1076 kfree((u8 *)c2h_evt); in sd_int_dpc()
1078 rtw_c2h_wk_cmd(adapter, (u8 *)c2h_evt); in sd_int_dpc()
Dhal_intf.c408 s32 rtw_hal_c2h_handler(struct adapter *adapter, u8 *c2h_evt) in rtw_hal_c2h_handler() argument
412 ret = adapter->HalFunc.c2h_handler(adapter, c2h_evt); in rtw_hal_c2h_handler()
Drtl8723b_hal_init.c3652 struct c2h_evt_hdr_88xx *c2h_evt = (struct c2h_evt_hdr_88xx *)buf; in c2h_id_filter_ccx_8723b() local
3654 if (c2h_evt->id == C2H_CCX_TX_RPT) in c2h_id_filter_ccx_8723b()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_cmd.c1911 u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt) in rtw_c2h_wk_cmd() argument
1933 pdrvextra_cmd_parm->size = c2h_evt?16:0; in rtw_c2h_wk_cmd()
1934 pdrvextra_cmd_parm->pbuf = c2h_evt; in rtw_c2h_wk_cmd()
1949 u8 *c2h_evt; in c2h_wk_callback() local
1955 c2h_evt = (u8 *)rtw_cbuf_pop(evtpriv->c2h_queue); in c2h_wk_callback()
1956 if (c2h_evt != NULL) { in c2h_wk_callback()
1960 c2h_evt = rtw_malloc(16); in c2h_wk_callback()
1961 if (c2h_evt != NULL) { in c2h_wk_callback()
1963 if (rtw_hal_c2h_evt_read(adapter, c2h_evt) != _SUCCESS) { in c2h_wk_callback()
1964 kfree(c2h_evt); in c2h_wk_callback()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_cmd.h109 #define c2h_evt_valid(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen) argument
867 extern u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt);
Dhal_intf.h170 typedef s32 (*c2h_id_filter)(u8 *c2h_evt);
262 s32 (*c2h_handler)(struct adapter *padapter, u8 *c2h_evt);
392 s32 rtw_hal_c2h_handler(struct adapter *adapter, u8 *c2h_evt);