Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c52 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) in rtl8723_dequeue_writeport()
69 deviceId = ffaddr2deviceId(pdvobjpriv, pxmitbuf->ff_hwaddr); in rtl8723_dequeue_writeport()
88 if (!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-v5.10/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()
321 void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, in r8712_xmitframe_aggr_1st() argument
325 pxmitframe->pxmitbuf = pxmitbuf; in r8712_xmitframe_aggr_1st()
326 pxmitbuf->priv_data = pxmitframe; in r8712_xmitframe_aggr_1st()
[all …]
Drtl871x_xmit.c56 struct xmit_buf *pxmitbuf; in _r8712_init_xmit_priv() local
94 pxframe->pxmitbuf = NULL; in _r8712_init_xmit_priv()
125 pxmitpriv->pxmitbuf = pxmitpriv->pallocated_xmitbuf + 4 - in _r8712_init_xmit_priv()
127 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _r8712_init_xmit_priv()
129 INIT_LIST_HEAD(&pxmitbuf->list); in _r8712_init_xmit_priv()
130 pxmitbuf->pallocated_buf = in _r8712_init_xmit_priv()
132 if (!pxmitbuf->pallocated_buf) in _r8712_init_xmit_priv()
134 pxmitbuf->pbuf = pxmitbuf->pallocated_buf + XMITBUF_ALIGN_SZ - in _r8712_init_xmit_priv()
135 ((addr_t) (pxmitbuf->pallocated_buf) & in _r8712_init_xmit_priv()
137 if (r8712_xmit_resource_alloc(padapter, pxmitbuf)) in _r8712_init_xmit_priv()
[all …]
Dxmit_linux.c115 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_alloc() argument
120 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in r8712_xmit_resource_alloc()
121 if (!pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_alloc()
125 kmemleak_not_leak(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_alloc()
131 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_free() argument
136 if (pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_free()
137 usb_kill_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free()
138 usb_free_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free()
Drtl8712_xmit.h100 struct xmit_buf *pxmitbuf);
105 void r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
107 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-v5.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c39 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local
89 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv()
113 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv()
115 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv()
118 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv()
120 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv()
121 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv()
122 pxmitbuf->buf_tag = XMITBUF_DATA; in _rtw_init_xmit_priv()
125 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv()
128 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ), true); in _rtw_init_xmit_priv()
[all …]
Drtw_mlme_ext.c2230 struct xmit_buf *pxmitbuf; in _alloc_mgtxmitframe() local
2242 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
2243 if (pxmitbuf == NULL) { in _alloc_mgtxmitframe()
2251 pmgntframe->pxmitbuf = pxmitbuf; in _alloc_mgtxmitframe()
2252 pmgntframe->buf_addr = pxmitbuf->pbuf; in _alloc_mgtxmitframe()
2253 pxmitbuf->priv_data = pmgntframe; in _alloc_mgtxmitframe()
2333 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe()
2346 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local
2351 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe_and_wait()
2357 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c17 int rtw_os_xmit_resource_alloc(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()
28 pxmitbuf->pxmit_urb[i] = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
29 if (!pxmitbuf->pxmit_urb[i]) { in rtw_os_xmit_resource_alloc()
37 void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf) in rtw_os_xmit_resource_free() argument
42 usb_free_urb(pxmitbuf->pxmit_urb[i]); in rtw_os_xmit_resource_free()
44 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
Dusb_ops_linux.c573 struct xmit_buf *pxmitbuf = (struct xmit_buf *)purb->context; in usb_write_port_complete() local
574 struct adapter *padapter = pxmitbuf->padapter; in usb_write_port_complete()
577 switch (pxmitbuf->flags) { in usb_write_port_complete()
608 pxmitbuf->ext_tag); in usb_write_port_complete()
647 rtw_sctx_done_err(&pxmitbuf->sctx, in usb_write_port_complete()
651 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete()
752 struct xmit_buf *pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmitbuf; in usb_write_port_cancel() local
760 if (pxmitbuf->pxmit_urb[j]) in usb_write_port_cancel()
761 usb_kill_urb(pxmitbuf->pxmit_urb[j]); in usb_write_port_cancel()
763 pxmitbuf++; in usb_write_port_cancel()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c337 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in rtw_dump_xframe() local
376 inner_ret = usb_write_port(adapt, ff_hwaddr, w_sz, pxmitbuf); in rtw_dump_xframe()
390 rtw_sctx_done_err(&pxmitbuf->sctx, RTW_SCTX_DONE_UNKNOWN); in rtw_dump_xframe()
418 struct xmit_buf *pxmitbuf; in rtl8188eu_xmitframe_complete() local
440 pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); in rtl8188eu_xmitframe_complete()
441 if (!pxmitbuf) in rtl8188eu_xmitframe_complete()
450 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8188eu_xmitframe_complete()
454 pxmitframe->pxmitbuf = pxmitbuf; in rtl8188eu_xmitframe_complete()
455 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete()
456 pxmitbuf->priv_data = pxmitframe; in rtl8188eu_xmitframe_complete()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_xmit.c41 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local
92 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv()
115 pxmitpriv->pxmitbuf = PTR_ALIGN(pxmitpriv->pallocated_xmitbuf, 4); in _rtw_init_xmit_priv()
117 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv()
120 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv()
122 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv()
123 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv()
124 pxmitbuf->ext_tag = false; in _rtw_init_xmit_priv()
127 res = rtw_os_xmit_resource_alloc(pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv()
130 res = rtw_os_xmit_resource_alloc(pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv()
[all …]
Drtw_mlme_ext.c148 struct xmit_buf *pxmitbuf; in alloc_mgtxmitframe() local
156 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in alloc_mgtxmitframe()
157 if (!pxmitbuf) { in alloc_mgtxmitframe()
163 pmgntframe->pxmitbuf = pxmitbuf; in alloc_mgtxmitframe()
164 pmgntframe->buf_addr = pxmitbuf->pbuf; in alloc_mgtxmitframe()
165 pxmitbuf->priv_data = pmgntframe; in alloc_mgtxmitframe()
230 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local
237 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait()
1097 rtw_free_xmitbuf(pxmitpriv, pmgntframe->pxmitbuf); in issue_assocreq()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
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 = rtw_zmalloc(alloc_sz); 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-v5.10/drivers/staging/rtl8188eu/include/
Dxmit_osdep.h25 int rtw_os_xmit_resource_alloc(struct xmit_buf *pxmitbuf, u32 alloc_sz);
26 void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf);
Drtw_xmit.h208 struct xmit_buf *pxmitbuf; member
284 u8 *pxmitbuf; member
298 struct xmit_buf *pxmitbuf);
301 struct xmit_buf *pxmitbuf);
/Linux-v5.10/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.h295 struct xmit_buf *pxmitbuf; member
426 u8 *pxmitbuf; member
451 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
454 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
502 void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
503 void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);