Home
last modified time | relevance | path

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

/linux-6.15/drivers/staging/rtl8723bs/hal/
H A Dhal_com.c499 struct c2h_evt_hdr_88xx *c2h_evt; in c2h_evt_read_88xx() local
513 c2h_evt = (struct c2h_evt_hdr_88xx *)buf; in c2h_evt_read_88xx()
515 memset(c2h_evt, 0, 16); in c2h_evt_read_88xx()
517 c2h_evt->id = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL); in c2h_evt_read_88xx()
518 c2h_evt->seq = rtw_read8(adapter, REG_C2HEVT_CMD_SEQ_88XX); in c2h_evt_read_88xx()
519 c2h_evt->plen = rtw_read8(adapter, REG_C2HEVT_CMD_LEN_88XX); in c2h_evt_read_88xx()
522 for (i = 0; i < c2h_evt->plen; i++) in c2h_evt_read_88xx()
523 c2h_evt->payload[i] = rtw_read8(adapter, REG_C2HEVT_MSG_NORMAL + 2 + i); in c2h_evt_read_88xx()
H A Dsdio_ops.c896 struct c2h_evt_hdr_88xx *c2h_evt; in sd_int_dpc() local
898 c2h_evt = rtw_zmalloc(16); in sd_int_dpc()
899 if (c2h_evt) { in sd_int_dpc()
900 if (c2h_evt_read_88xx(adapter, (u8 *)c2h_evt) == _SUCCESS) { in sd_int_dpc()
901 if (c2h_id_filter_ccx_8723b((u8 *)c2h_evt)) { in sd_int_dpc()
903 rtw_hal_c2h_handler(adapter, (u8 *)c2h_evt); in sd_int_dpc()
904 kfree(c2h_evt); in sd_int_dpc()
906 rtw_c2h_wk_cmd(adapter, (u8 *)c2h_evt); in sd_int_dpc()
909 kfree(c2h_evt); in sd_int_dpc()
H A Dhal_intf.c315 s32 rtw_hal_c2h_handler(struct adapter *adapter, u8 *c2h_evt) in rtw_hal_c2h_handler() argument
320 ret = adapter->HalFunc.c2h_handler(adapter, c2h_evt); in rtw_hal_c2h_handler()
H A Drtl8723b_hal_init.c2609 struct c2h_evt_hdr_88xx *c2h_evt = (struct c2h_evt_hdr_88xx *)buf; in c2h_id_filter_ccx_8723b() local
2611 if (c2h_evt->id == C2H_CCX_TX_RPT) in c2h_id_filter_ccx_8723b()
/linux-6.15/drivers/staging/rtl8723bs/core/
H A Drtw_cmd.c1683 pdrvextra_cmd_parm->pbuf = c2h_evt; in rtw_c2h_wk_cmd()
1698 u8 *c2h_evt; in c2h_wk_callback() local
1705 if (c2h_evt) { in c2h_wk_callback()
1709 c2h_evt = rtw_malloc(16); in c2h_wk_callback()
1710 if (c2h_evt) { in c2h_wk_callback()
1713 kfree(c2h_evt); in c2h_wk_callback()
1720 if ((void *)c2h_evt == (void *)evtpriv) in c2h_wk_callback()
1724 kfree(c2h_evt); in c2h_wk_callback()
1728 if (ccx_id_filter(c2h_evt)) { in c2h_wk_callback()
1731 kfree(c2h_evt); in c2h_wk_callback()
[all …]
/linux-6.15/drivers/staging/rtl8723bs/include/
H A Drtw_cmd.h108 #define c2h_evt_valid(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen) argument
612 extern u8 rtw_c2h_wk_cmd(struct adapter *padapter, u8 *c2h_evt);
H A Dhal_intf.h161 typedef s32 (*c2h_id_filter)(u8 *c2h_evt);
171 s32 (*c2h_handler)(struct adapter *padapter, u8 *c2h_evt);
269 s32 rtw_hal_c2h_handler(struct adapter *adapter, u8 *c2h_evt);