Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c41 struct xmit_buf *pxmitbuf; in rtl8723_dequeue_writeport() local
51 pxmitbuf = dequeue_pending_xmitbuf_under_survey(pxmitpriv); in rtl8723_dequeue_writeport()
53 pxmitbuf = dequeue_pending_xmitbuf(pxmitpriv); in rtl8723_dequeue_writeport()
55 if (!pxmitbuf) in rtl8723_dequeue_writeport()
58 deviceId = ffaddr2deviceId(pdvobjpriv, pxmitbuf->ff_hwaddr); in rtl8723_dequeue_writeport()
77 if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) { in rtl8723_dequeue_writeport()
85 enqueue_pending_xmitbuf_to_head(pxmitpriv, pxmitbuf); in rtl8723_dequeue_writeport()
96 if (rtw_sdio_wait_enough_TxOQT_space(padapter, pxmitbuf->agg_num) == false) in rtl8723_dequeue_writeport()
99 traffic_check_for_leave_lps(padapter, true, pxmitbuf->agg_num); in rtl8723_dequeue_writeport()
101 rtw_write_port(padapter, deviceId, pxmitbuf->len, (u8 *)pxmitbuf); in rtl8723_dequeue_writeport()
[all …]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c37 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local
92 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv()
117 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv()
119 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv()
122 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv()
124 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv()
125 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv()
126 pxmitbuf->buf_tag = XMITBUF_DATA; in _rtw_init_xmit_priv()
129 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv()
132 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv()
[all …]
H A Drtw_mlme_ext.c1891 struct xmit_buf *pxmitbuf; in _alloc_mgtxmitframe() local
1901 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
1902 if (!pxmitbuf) { in _alloc_mgtxmitframe()
1909 pmgntframe->pxmitbuf = pxmitbuf; in _alloc_mgtxmitframe()
1910 pmgntframe->buf_addr = pxmitbuf->pbuf; in _alloc_mgtxmitframe()
1911 pxmitbuf->priv_data = pmgntframe; in _alloc_mgtxmitframe()
1986 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe()
1999 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local
2004 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe_and_wait()
2010 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait()
[all …]
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c49 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 = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
53 if (!pxmitbuf->pallocated_buf) 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/drivers/staging/rtl8723bs/include/
H A Drtw_xmit.h278 struct xmit_buf *pxmitbuf; member
400 u8 *pxmitbuf; member
425 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
428 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
476 void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
477 void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
H A Dxmit_osdep.h33 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…