/Linux-v6.6/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_xmit.c | 42 struct xmit_buf *pxmitbuf; in rtl8723_dequeue_writeport() local 52 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport() 54 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport() 56 if (!pxmitbuf) in rtl8723_dequeue_writeport() 59 deviceId = ffaddr2deviceId(pdvobjpriv, pxmitbuf->ff_hwaddr); in rtl8723_dequeue_writeport() 78 if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) { in rtl8723_dequeue_writeport() 86 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport() 97 if (rtw_sdio_wait_enough_TxOQT_space(padapter, pxmitbuf->agg_num) == false) in rtl8723_dequeue_writeport() 100 traffic_check_for_leave_lps(padapter, true, pxmitbuf->agg_num); in rtl8723_dequeue_writeport() 102 rtw_write_port(padapter, deviceId, pxmitbuf->len, (u8 *)pxmitbuf); in rtl8723_dequeue_writeport() [all …]
|
/Linux-v6.6/drivers/staging/rtl8712/ |
D | rtl8712_xmit.c | 249 void r8712_construct_txaggr_cmd_desc(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_desc() argument 251 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_construct_txaggr_cmd_desc() 265 void r8712_construct_txaggr_cmd_hdr(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_hdr() argument 268 pxmitbuf->priv_data; in r8712_construct_txaggr_cmd_hdr() 272 (pxmitbuf->pbuf + TXDESC_SIZE); in r8712_construct_txaggr_cmd_hdr() 281 void r8712_append_mpdu_unit(struct xmit_buf *pxmitbuf, in r8712_append_mpdu_unit() argument 285 struct tx_desc *ptx_desc = (struct tx_desc *)pxmitbuf->pbuf; in r8712_append_mpdu_unit() 320 void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, in r8712_xmitframe_aggr_1st() argument 324 pxmitframe->pxmitbuf = pxmitbuf; in r8712_xmitframe_aggr_1st() 325 pxmitbuf->priv_data = pxmitframe; in r8712_xmitframe_aggr_1st() [all …]
|
D | rtl871x_xmit.c | 57 struct xmit_buf *pxmitbuf; in _r8712_init_xmit_priv() local 96 pxframe->pxmitbuf = NULL; in _r8712_init_xmit_priv() 124 pxmitpriv->pxmitbuf = pxmitpriv->pallocated_xmitbuf + 4 - in _r8712_init_xmit_priv() 126 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _r8712_init_xmit_priv() 128 INIT_LIST_HEAD(&pxmitbuf->list); in _r8712_init_xmit_priv() 129 pxmitbuf->pallocated_buf = in _r8712_init_xmit_priv() 131 if (!pxmitbuf->pallocated_buf) { in _r8712_init_xmit_priv() 135 pxmitbuf->pbuf = pxmitbuf->pallocated_buf + XMITBUF_ALIGN_SZ - in _r8712_init_xmit_priv() 136 ((addr_t) (pxmitbuf->pallocated_buf) & in _r8712_init_xmit_priv() 138 if (r8712_xmit_resource_alloc(padapter, pxmitbuf)) { in _r8712_init_xmit_priv() [all …]
|
D | xmit_linux.c | 108 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_alloc() argument 113 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in r8712_xmit_resource_alloc() 114 if (!pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_alloc() 119 usb_free_urb(pxmitbuf->pxmit_urb[k]); in r8712_xmit_resource_alloc() 124 kmemleak_not_leak(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_alloc() 130 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_free() argument 135 if (pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_free() 136 usb_kill_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free() 137 usb_free_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free()
|
D | rtl8712_xmit.h | 97 struct xmit_buf *pxmitbuf); 102 void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, 104 void r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf,
|
D | usb_ops_linux.c | 333 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in usb_write_port_complete() local 376 r8712_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete() 458 struct xmit_buf *pxmitbuf = (struct xmit_buf *) in r8712_usb_write_port_cancel() local 459 padapter->xmitpriv.pxmitbuf; in r8712_usb_write_port_cancel() 463 if (pxmitbuf->pxmit_urb[j]) in r8712_usb_write_port_cancel() 464 usb_kill_urb(pxmitbuf->pxmit_urb[j]); in r8712_usb_write_port_cancel() 466 pxmitbuf++; in r8712_usb_write_port_cancel()
|
D | xmit_osdep.h | 40 struct xmit_buf *pxmitbuf); 42 struct xmit_buf *pxmitbuf);
|
D | rtl871x_xmit.h | 152 struct xmit_buf *pxmitbuf; member 248 u8 *pxmitbuf; member 253 struct xmit_buf *pxmitbuf); 283 struct xmit_buf *pxmitbuf);
|
/Linux-v6.6/drivers/staging/rtl8723bs/core/ |
D | rtw_xmit.c | 38 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local 93 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv() 118 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv() 120 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv() 123 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv() 125 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv() 126 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv() 127 pxmitbuf->buf_tag = XMITBUF_DATA; in _rtw_init_xmit_priv() 130 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv() 133 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 | 1915 struct xmit_buf *pxmitbuf; in _alloc_mgtxmitframe() local 1925 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe() 1926 if (!pxmitbuf) { in _alloc_mgtxmitframe() 1933 pmgntframe->pxmitbuf = pxmitbuf; in _alloc_mgtxmitframe() 1934 pmgntframe->buf_addr = pxmitbuf->pbuf; in _alloc_mgtxmitframe() 1935 pxmitbuf->priv_data = pmgntframe; in _alloc_mgtxmitframe() 2014 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe() 2027 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local 2032 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe_and_wait() 2038 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait() [all …]
|
/Linux-v6.6/drivers/staging/rtl8723bs/os_dep/ |
D | xmit_linux.c | 47 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… in rtw_os_xmit_resource_alloc() argument 50 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 51 if (!pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_alloc() 54 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 60 void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8… in rtw_os_xmit_resource_free() argument 63 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
|
/Linux-v6.6/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 | 288 struct xmit_buf *pxmitbuf; member 410 u8 *pxmitbuf; member 435 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 438 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 486 void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf); 487 void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
|