Searched refs:c2h_evt (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
D | hal_com.c | 320 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()
|
D | rtl8723a_hal_init.c | 970 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 …]
|
D | usb_ops_linux.c | 233 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.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_cmd.c | 1139 int rtw_c2h_wk_cmd23a(struct rtw_adapter *padapter, u8 *c2h_evt) in rtw_c2h_wk_cmd23a() argument 1161 pdrvextra_cmd_parm->type_size = c2h_evt?16:0; in rtw_c2h_wk_cmd23a() 1162 pdrvextra_cmd_parm->pbuf = c2h_evt; in rtw_c2h_wk_cmd23a() 1174 static int c2h_evt_hdl(struct rtw_adapter *adapter, struct c2h_evt_hdr *c2h_evt) in c2h_evt_hdl() argument 1179 if (!c2h_evt) { in c2h_evt_hdl() 1182 c2h_evt = (struct c2h_evt_hdr *)buf; in c2h_evt_hdl() 1184 ret = c2h_handler_8723a(adapter, c2h_evt); in c2h_evt_hdl() 1187 ret = c2h_handler_8723a(adapter, c2h_evt); in c2h_evt_hdl() 1213 if (!c2h_evt_exist(&ework->u.c2h_evt)) { in rtw_evt_work() 1218 if (c2h_id_filter_ccx_8723a(ework->u.c2h_evt.id) == true) { in rtw_evt_work() [all …]
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
D | rtw_cmd.h | 82 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);
|
D | rtl8723a_hal.h | 518 int c2h_handler_8723a(struct rtw_adapter *padapter, struct c2h_evt_hdr *c2h_evt);
|