Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rtl8723au/hal/
Dhal_com.c320 struct c2h_evt_hdr *c2h_evt; in c2h_evt_read23a() local
334 c2h_evt = (struct c2h_evt_hdr *)buf; in c2h_evt_read23a()
336 memset(c2h_evt, 0, 16); in c2h_evt_read23a()
342 &c2h_evt, sizeof(c2h_evt)); in c2h_evt_read23a()
346 __func__, c2h_evt->id, c2h_evt->plen, c2h_evt->seq, in c2h_evt_read23a()
351 for (i = 0; i < c2h_evt->plen; i++) in c2h_evt_read23a()
352 c2h_evt->payload[i] = rtl8723au_read8(adapter, in c2h_evt_read23a()
354 sizeof(*c2h_evt) + i); in c2h_evt_read23a()
357 "c2h_evt_read23a(): Command Content:\n", c2h_evt->payload, in c2h_evt_read23a()
358 c2h_evt->plen); in c2h_evt_read23a()
Drtl8723a_hal_init.c970 int c2h_handler_8723a(struct rtw_adapter *padapter, struct c2h_evt_hdr *c2h_evt) in c2h_handler_8723a() argument
975 if (c2h_evt == NULL) { in c2h_handler_8723a()
981 switch (c2h_evt->id) { in c2h_handler_8723a()
984 "C2HCommandHandler: %s\n", c2h_evt->payload); in c2h_handler_8723a()
988 handle_txrpt_ccx_8723a(padapter, c2h_evt->payload); in c2h_handler_8723a()
995 for (i = 0; i < c2h_evt->plen; i++) { in c2h_handler_8723a()
998 c2h_evt->payload[i]); in c2h_handler_8723a()
1007 c2h_evt->payload[0], in c2h_handler_8723a()
1008 c2h_evt->payload[1], c2h_evt->payload[2], in c2h_handler_8723a()
1009 c2h_evt->payload[3], c2h_evt->payload[4]); in c2h_handler_8723a()
[all …]
Dusb_ops_linux.c233 struct c2h_evt_hdr *c2h_evt; in usb_read_interrupt_complete() local
235 c2h_evt = (struct c2h_evt_hdr *)purb->transfer_buffer; in usb_read_interrupt_complete()
246 if (c2h_evt_exist(c2h_evt)) { in usb_read_interrupt_complete()
247 if (c2h_id_filter_ccx_8723a(c2h_evt->id)) { in usb_read_interrupt_complete()
250 c2h_evt->payload); in usb_read_interrupt_complete()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_cmd.c1140 int rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt) in rtw_c2h_wk_cmd23a() argument
1162 pdrvextra_cmd_parm->type_size = c2h_evt?16:0; in rtw_c2h_wk_cmd23a()
1163 pdrvextra_cmd_parm->pbuf = c2h_evt; in rtw_c2h_wk_cmd23a()
1175 static int c2h_evt_hdl(struct rtw_adapter *adapter, struct c2h_evt_hdr *c2h_evt) in c2h_evt_hdl() argument
1180 if (!c2h_evt) { in c2h_evt_hdl()
1183 c2h_evt = (struct c2h_evt_hdr *)buf; in c2h_evt_hdl()
1185 ret = c2h_handler_8723a(adapter, c2h_evt); in c2h_evt_hdl()
1188 ret = c2h_handler_8723a(adapter, c2h_evt); in c2h_evt_hdl()
1214 if (!c2h_evt_exist(&ework->u.c2h_evt)) { in rtw_evt_work()
1219 if (c2h_id_filter_ccx_8723a(ework->u.c2h_evt.id) == true) { in rtw_evt_work()
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_cmd.h82 struct c2h_evt_hdr c2h_evt; member
89 #define c2h_evt_exist(c2h_evt) ((c2h_evt)->id || (c2h_evt)->plen) argument
719 int rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt);
Drtl8723a_hal.h521 int c2h_handler_8723a(struct rtw_adapter *padapter, struct c2h_evt_hdr *c2h_evt);