Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c42 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-6.6.21/drivers/staging/rtl8712/
Drtl8712_xmit.c249 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 …]
Drtl871x_xmit.c57 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 …]
Dxmit_linux.c108 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()
Drtl8712_xmit.h97 struct xmit_buf *pxmitbuf);
102 void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
104 void r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf,
Dusb_ops_linux.c333 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()
Dxmit_osdep.h40 struct xmit_buf *pxmitbuf);
42 struct xmit_buf *pxmitbuf);
Drtl871x_xmit.h152 struct xmit_buf *pxmitbuf; member
248 u8 *pxmitbuf; member
253 struct xmit_buf *pxmitbuf);
283 struct xmit_buf *pxmitbuf);
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_xmit.c38 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 …]
Drtw_mlme_ext.c1915 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-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dxmit_linux.c47 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-6.6.21/drivers/staging/rtl8723bs/include/
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…
Drtw_xmit.h288 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);