Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/staging/r8188eu/os_dep/
Dusb_ops_linux.c40 struct xmit_buf *pxmitbuf = (struct xmit_buf *)purb->context; in usb_write_port_complete() local
41 struct adapter *padapter = pxmitbuf->padapter; in usb_write_port_complete()
44 switch (pxmitbuf->flags) { in usb_write_port_complete()
86 rtw_sctx_done_err(&pxmitbuf->sctx, in usb_write_port_complete()
90 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in usb_write_port_complete()
105 struct xmit_buf *pxmitbuf = (struct xmit_buf *)wmem; in rtw_write_port() local
106 struct xmit_frame *pxmitframe = (struct xmit_frame *)pxmitbuf->priv_data; in rtw_write_port()
110 rtw_sctx_done_err(&pxmitbuf->sctx, RTW_SCTX_DONE_TX_DENY); in rtw_write_port()
119 pxmitbuf->flags = VO_QUEUE_INX; in rtw_write_port()
123 pxmitbuf->flags = VI_QUEUE_INX; in rtw_write_port()
[all …]
Dxmit_linux.c68 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc() argument
70 pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
71 if (!pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_alloc()
74 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((size_t)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
75 pxmitbuf->dma_transfer_addr = 0; in rtw_os_xmit_resource_alloc()
77 pxmitbuf->pxmit_urb = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_xmit_resource_alloc()
78 if (!pxmitbuf->pxmit_urb) in rtw_os_xmit_resource_alloc()
85 struct xmit_buf *pxmitbuf, u32 free_sz) in rtw_os_xmit_resource_free() argument
87 usb_free_urb(pxmitbuf->pxmit_urb); in rtw_os_xmit_resource_free()
89 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
/linux-5.19.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()
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.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.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()
118 kmemleak_not_leak(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_alloc()
124 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_free() argument
129 if (pxmitbuf->pxmit_urb[i]) { in r8712_xmit_resource_free()
130 usb_kill_urb(pxmitbuf->pxmit_urb[i]); in r8712_xmit_resource_free()
131 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-5.19.10/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.c1917 struct xmit_buf *pxmitbuf; in _alloc_mgtxmitframe() local
1927 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in _alloc_mgtxmitframe()
1928 if (!pxmitbuf) { in _alloc_mgtxmitframe()
1935 pmgntframe->pxmitbuf = pxmitbuf; in _alloc_mgtxmitframe()
1936 pmgntframe->buf_addr = pxmitbuf->pbuf; in _alloc_mgtxmitframe()
1937 pxmitbuf->priv_data = pmgntframe; in _alloc_mgtxmitframe()
2016 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe()
2029 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local
2034 rtw_free_xmitbuf(&padapter->xmitpriv, pmgntframe->pxmitbuf); in dump_mgntframe_and_wait()
2040 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait()
[all …]
/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c309 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in rtw_dump_xframe() local
344 inner_ret = rtw_write_port(adapt, ff_hwaddr, w_sz, (unsigned char *)pxmitbuf); in rtw_dump_xframe()
356 rtw_sctx_done_err(&pxmitbuf->sctx, RTW_SCTX_DONE_UNKNOWN); in rtw_dump_xframe()
379 …u_xmitframe_complete(struct adapter *adapt, struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) in rtl8188eu_xmitframe_complete() argument
408 if (!pxmitbuf) { in rtl8188eu_xmitframe_complete()
409 pxmitbuf = rtw_alloc_xmitbuf(pxmitpriv); in rtl8188eu_xmitframe_complete()
410 if (!pxmitbuf) in rtl8188eu_xmitframe_complete()
420 rtw_free_xmitbuf(pxmitpriv, pxmitbuf); in rtl8188eu_xmitframe_complete()
424 pxmitframe->pxmitbuf = pxmitbuf; in rtl8188eu_xmitframe_complete()
425 pxmitframe->buf_addr = pxmitbuf->pbuf; in rtl8188eu_xmitframe_complete()
[all …]
/linux-5.19.10/drivers/staging/r8188eu/core/
Drtw_xmit.c43 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv() local
96 pxframe->pxmitbuf = NULL; in _rtw_init_xmit_priv()
118 pxmitpriv->pxmitbuf = (u8 *)N_BYTE_ALIGMENT((size_t)(pxmitpriv->pallocated_xmitbuf), 4); in _rtw_init_xmit_priv()
122 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv()
125 INIT_LIST_HEAD(&pxmitbuf->list); in _rtw_init_xmit_priv()
127 pxmitbuf->priv_data = NULL; in _rtw_init_xmit_priv()
128 pxmitbuf->padapter = padapter; in _rtw_init_xmit_priv()
129 pxmitbuf->ext_tag = false; in _rtw_init_xmit_priv()
132 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv()
135 res = rtw_os_xmit_resource_alloc(padapter, pxmitbuf, (MAX_XMITBUF_SZ + XMITBUF_ALIGN_SZ)); in _rtw_init_xmit_priv()
[all …]
Drtw_iol.c24 xmit_frame->pxmitbuf = xmitbuf; in rtw_IOL_accquire_xmit_frame()
Drtw_mlme_ext.c3888 struct xmit_buf *pxmitbuf; in alloc_mgtxmitframe() local
3894 pxmitbuf = rtw_alloc_xmitbuf_ext(pxmitpriv); in alloc_mgtxmitframe()
3895 if (!pxmitbuf) { in alloc_mgtxmitframe()
3900 pmgntframe->pxmitbuf = pxmitbuf; in alloc_mgtxmitframe()
3901 pmgntframe->buf_addr = pxmitbuf->pbuf; in alloc_mgtxmitframe()
3902 pxmitbuf->priv_data = pmgntframe; in alloc_mgtxmitframe()
3963 struct xmit_buf *pxmitbuf = pmgntframe->pxmitbuf; in dump_mgntframe_and_wait() local
3970 pxmitbuf->sctx = &sctx; in dump_mgntframe_and_wait()
4857 rtw_free_xmitbuf(pxmitpriv, pmgntframe->pxmitbuf); in issue_assocreq()
/linux-5.19.10/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-5.19.10/drivers/staging/r8188eu/include/
Dxmit_osdep.h36 struct xmit_buf *pxmitbuf, u32 alloc_sz);
38 struct xmit_buf *pxmitbuf, u32 free_sz);
Drtw_xmit.h214 struct xmit_buf *pxmitbuf; member
295 u8 *pxmitbuf; member
309 struct xmit_buf *pxmitbuf);
312 struct xmit_buf *pxmitbuf);
Drtl8188e_xmit.h148 struct xmit_buf *pxmitbuf);
/linux-5.19.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.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);