/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_xmit.c | 52 struct xmit_buf *pxmitbuf; in rtl8723_dequeue_writeport() local 62 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport() 64 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport() 66 if (pxmitbuf == NULL) in rtl8723_dequeue_writeport() 69 deviceId = ffaddr2deviceId(pdvobjpriv, pxmitbuf->ff_hwaddr); in rtl8723_dequeue_writeport() 88 if (false == rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) { in rtl8723_dequeue_writeport() 96 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport() 113 if (rtw_sdio_wait_enough_TxOQT_space(padapter, pxmitbuf->agg_num) == false) in rtl8723_dequeue_writeport() 116 traffic_check_for_leave_lps(padapter, true, pxmitbuf->agg_num); in rtl8723_dequeue_writeport() 118 rtw_write_port(padapter, deviceId, pxmitbuf->len, (u8 *)pxmitbuf); in rtl8723_dequeue_writeport() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 261 u8 r8712_construct_txaggr_cmd_desc(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_desc() argument 263 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_construct_txaggr_cmd_desc() 279 u8 r8712_construct_txaggr_cmd_hdr(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_hdr() argument 282 pxmitbuf->priv_data; in r8712_construct_txaggr_cmd_hdr() 286 (pxmitbuf->pbuf + TXDESC_SIZE); in r8712_construct_txaggr_cmd_hdr() 297 u8 r8712_append_mpdu_unit(struct xmit_buf *pxmitbuf, in r8712_append_mpdu_unit() argument 301 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_append_mpdu_unit() 339 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, in r8712_xmitframe_aggr_1st() argument 343 pxmitframe->pxmitbuf = pxmitbuf; in r8712_xmitframe_aggr_1st() 344 pxmitbuf->priv_data = pxmitframe; in r8712_xmitframe_aggr_1st() [all …]
|
D | rtl871x_xmit.c | 68 struct xmit_buf *pxmitbuf; in _r8712_init_xmit_priv() local 105 pxframe->pxmitbuf = NULL; in _r8712_init_xmit_priv() 136 pxmitpriv->pxmitbuf = pxmitpriv->pallocated_xmitbuf + 4 - in _r8712_init_xmit_priv() 138 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _r8712_init_xmit_priv() 140 INIT_LIST_HEAD(&pxmitbuf->list); in _r8712_init_xmit_priv() 141 pxmitbuf->pallocated_buf = kmalloc(MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ, in _r8712_init_xmit_priv() 143 if (!pxmitbuf->pallocated_buf) in _r8712_init_xmit_priv() 145 pxmitbuf->pbuf = pxmitbuf->pallocated_buf + XMITBUF_ALIGN_SZ - in _r8712_init_xmit_priv() 146 ((addr_t) (pxmitbuf->pallocated_buf) & in _r8712_init_xmit_priv() 148 r8712_xmit_resource_alloc(padapter, pxmitbuf); in _r8712_init_xmit_priv() [all …]
|
D | xmit_linux.c | 127 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_alloc() argument 132 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in r8712_xmit_resource_alloc() 133 if (!pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_alloc() 137 kmemleak_not_leak(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_alloc() 143 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_free() argument 148 if (pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_free() 149 usb_kill_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free() 150 usb_free_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free()
|
D | rtl8712_xmit.h | 112 struct xmit_buf *pxmitbuf); 117 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, 119 u8 r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf,
|
D | usb_ops_linux.c | 344 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in usb_write_port_complete() local 387 r8712_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete() 469 struct xmit_buf *pxmitbuf = (struct xmit_buf *) in r8712_usb_write_port_cancel() local 470 padapter->xmitpriv.pxmitbuf; in r8712_usb_write_port_cancel() 474 if (pxmitbuf->pxmit_urb[j]) in r8712_usb_write_port_cancel() 475 usb_kill_urb(pxmitbuf->pxmit_urb[j]); in r8712_usb_write_port_cancel() 477 pxmitbuf++; in r8712_usb_write_port_cancel()
|
D | xmit_osdep.h | 52 struct xmit_buf *pxmitbuf); 54 struct xmit_buf *pxmitbuf);
|
D | rtl871x_xmit.h | 164 struct xmit_buf *pxmitbuf; member 260 u8 *pxmitbuf; member 265 struct xmit_buf *pxmitbuf); 295 struct xmit_buf *pxmitbuf);
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 42 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local 100 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv() 124 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv() 128 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv() 131 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv() 133 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv() 134 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv() 135 pxmitbuf->buf_tag = XMITBUF_DATA; in _rtw_init_xmit_priv() 138 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv() 141 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv() [all …]
|
D | rtw_mlme_ext.c | 2244 struct xmit_buf *pxmitbuf; in _alloc_mgtxmitframe() local 2256 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe() 2257 if (pxmitbuf == NULL) { in _alloc_mgtxmitframe() 2265 pmgntframe->pxmitbuf = pxmitbuf; in _alloc_mgtxmitframe() 2266 pmgntframe->buf_addr = pxmitbuf->pbuf; in _alloc_mgtxmitframe() 2267 pxmitbuf->priv_data = pmgntframe; in _alloc_mgtxmitframe() 2347 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe() 2360 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local 2365 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe_and_wait() 2371 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | xmit_linux.c | 17 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc() argument 21 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc() 22 if (!pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_alloc() 25 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 26 pxmitbuf->dma_transfer_addr = 0; in rtw_os_xmit_resource_alloc() 29 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_xmit_resource_alloc() 30 if (!pxmitbuf->pxmit_urb[i]) { in rtw_os_xmit_resource_alloc() 38 void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf) in rtw_os_xmit_resource_free() argument 43 usb_free_urb(pxmitbuf->pxmit_urb[i]); in rtw_os_xmit_resource_free() 45 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
|
D | usb_ops_linux.c | 564 struct xmit_buf *pxmitbuf = (struct xmit_buf *)purb->context; in usb_write_port_complete() local 565 struct adapter *padapter = pxmitbuf->padapter; in usb_write_port_complete() 568 switch (pxmitbuf->flags) { in usb_write_port_complete() 598 pxmitbuf->ext_tag); in usb_write_port_complete() 632 rtw_sctx_done_err(&pxmitbuf->sctx, in usb_write_port_complete() 636 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete() 734 struct xmit_buf *pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmitbuf; in usb_write_port_cancel() local 742 if (pxmitbuf->pxmit_urb[j]) in usb_write_port_cancel() 743 usb_kill_urb(pxmitbuf->pxmit_urb[j]); in usb_write_port_cancel() 745 pxmitbuf++; in usb_write_port_cancel() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 339 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in rtw_dump_xframe() local 378 inner_ret = usb_write_port(adapt, ff_hwaddr, w_sz, pxmitbuf); in rtw_dump_xframe() 392 rtw_sctx_done_err(&pxmitbuf->sctx, RTW_SCTX_DONE_UNKNOWN); in rtw_dump_xframe() 419 struct xmit_buf *pxmitbuf; in rtl8188eu_xmitframe_complete() local 441 pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); in rtl8188eu_xmitframe_complete() 442 if (pxmitbuf == NULL) in rtl8188eu_xmitframe_complete() 451 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8188eu_xmitframe_complete() 455 pxmitframe->pxmitbuf = pxmitbuf; in rtl8188eu_xmitframe_complete() 456 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete() 457 pxmitbuf->priv_data = pxmitframe; in rtl8188eu_xmitframe_complete() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_xmit.c | 41 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local 94 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv() 117 pxmitpriv->pxmitbuf = PTR_ALIGN(pxmitpriv->pallocated_xmitbuf, 4); in _rtw_init_xmit_priv() 121 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv() 124 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv() 126 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv() 127 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv() 128 pxmitbuf->ext_tag = false; in _rtw_init_xmit_priv() 131 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv() 134 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv() [all …]
|
D | rtw_mlme_ext.c | 155 struct xmit_buf *pxmitbuf; in alloc_mgtxmitframe() local 163 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in alloc_mgtxmitframe() 164 if (!pxmitbuf) { in alloc_mgtxmitframe() 170 pmgntframe->pxmitbuf = pxmitbuf; in alloc_mgtxmitframe() 171 pmgntframe->buf_addr = pxmitbuf->pbuf; in alloc_mgtxmitframe() 172 pxmitbuf->priv_data = pmgntframe; in alloc_mgtxmitframe() 237 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local 244 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait() 1104 rtw_free_xmitbuf(pxmitpriv, pmgntframe->pxmitbuf); in issue_assocreq()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | xmit_linux.c | 49 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… in rtw_os_xmit_resource_alloc() argument 52 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 53 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 56 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 62 void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8… in rtw_os_xmit_resource_free() argument 65 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | xmit_osdep.h | 26 struct xmit_buf *pxmitbuf, u32 alloc_sz); 27 void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf);
|
D | rtw_xmit.h | 214 struct xmit_buf *pxmitbuf; member 290 u8 *pxmitbuf; member 304 struct xmit_buf *pxmitbuf); 307 struct xmit_buf *pxmitbuf);
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | xmit_osdep.h | 33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… 34 void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8…
|
D | rtw_xmit.h | 297 struct xmit_buf *pxmitbuf; member 429 u8 *pxmitbuf; member 454 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 457 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 505 void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 506 void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
|