| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/ |
| H A D | xmit_linux.c | 127 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 134 …pxmitbuf->pallocated_buf = dma_alloc_coherent(&pdev->dev, alloc_sz, &pxmitbuf->dma_bpa, GFP_KERNEL… in rtw_os_xmit_resource_alloc() 136 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 138 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 141 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 187 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 188 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 191 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() [all …]
|
| H A D | recv_linux.c | 274 precvbuf->pallocated_buf = precvbuf->pbuf = NULL; in rtw_os_recvbuf_resource_alloc() 283 precvbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)size, &precvbuf->dma_transfer_addr); in rtw_os_recvbuf_resource_alloc() 284 precvbuf->pbuf = precvbuf->pallocated_buf; in rtw_os_recvbuf_resource_alloc() 285 if (precvbuf->pallocated_buf == NULL) in rtw_os_recvbuf_resource_alloc() 313 …rtw_usb_buffer_free(pusbd, (size_t)precvbuf->alloc_sz, precvbuf->pallocated_buf, precvbuf->dma_tra… in rtw_os_recvbuf_resource_free() 314 precvbuf->pallocated_buf = NULL; in rtw_os_recvbuf_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/ |
| H A D | xmit_linux.c | 123 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 124 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 125 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 129 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 130 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 133 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 174 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 175 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 178 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 179 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| H A D | recv_linux.c | 274 precvbuf->pallocated_buf = precvbuf->pbuf = NULL; in rtw_os_recvbuf_resource_alloc() 283 precvbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)size, &precvbuf->dma_transfer_addr); in rtw_os_recvbuf_resource_alloc() 284 precvbuf->pbuf = precvbuf->pallocated_buf; in rtw_os_recvbuf_resource_alloc() 285 if (precvbuf->pallocated_buf == NULL) in rtw_os_recvbuf_resource_alloc() 313 …rtw_usb_buffer_free(pusbd, (size_t)precvbuf->alloc_sz, precvbuf->pallocated_buf, precvbuf->dma_tra… in rtw_os_recvbuf_resource_free() 314 precvbuf->pallocated_buf = NULL; in rtw_os_recvbuf_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/os_dep/linux/ |
| H A D | xmit_linux.c | 124 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 125 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 126 if(pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 130 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 131 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 136 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 181 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 182 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 185 if(pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 186 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/os_dep/linux/ |
| H A D | xmit_linux.c | 124 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 125 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 126 if(pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 130 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 131 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 136 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 181 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 182 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 185 if(pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 186 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/os_dep/linux/ |
| H A D | xmit_linux.c | 123 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 124 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 125 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 129 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 130 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 133 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 174 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 175 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 178 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 179 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| H A D | recv_linux.c | 230 precvbuf->pallocated_buf = precvbuf->pbuf = NULL; in rtw_os_recvbuf_resource_alloc() 239 …precvbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)precvbuf->alloc_sz, &precvbuf->dma_… in rtw_os_recvbuf_resource_alloc() 240 precvbuf->pbuf = precvbuf->pallocated_buf; in rtw_os_recvbuf_resource_alloc() 241 if (precvbuf->pallocated_buf == NULL) in rtw_os_recvbuf_resource_alloc() 262 …rtw_usb_buffer_free(pusbd, (size_t)precvbuf->alloc_sz, precvbuf->pallocated_buf, precvbuf->dma_tra… in rtw_os_recvbuf_resource_free() 263 precvbuf->pallocated_buf = NULL; in rtw_os_recvbuf_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/os_dep/linux/ |
| H A D | xmit_linux.c | 110 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 111 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 112 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 116 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 117 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 120 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 161 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 162 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 165 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 166 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/ |
| H A D | xmit_linux.c | 123 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 124 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 125 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 129 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 130 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 133 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 174 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 175 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 178 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 179 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/ |
| H A D | xmit_linux.c | 123 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 124 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 125 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 129 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 130 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 133 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 174 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 175 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 178 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 179 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/ |
| H A D | xmit_linux.c | 123 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 124 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 125 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 129 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 130 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 133 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 174 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 175 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 178 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 179 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… in rtw_os_xmit_resource_alloc() 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; in rtw_os_xmit_resource_alloc() 124 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); in rtw_os_xmit_resource_alloc() 129 if (pxmitbuf->pallocated_buf == NULL) in rtw_os_xmit_resource_alloc() 132 pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc() 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); in rtw_os_xmit_resource_free() 174 pxmitbuf->pallocated_buf = NULL; in rtw_os_xmit_resource_free() 177 if (pxmitbuf->pallocated_buf) in rtw_os_xmit_resource_free() 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; 124 if (pxmitbuf->pallocated_buf == NULL) 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); 129 if (pxmitbuf->pallocated_buf == NULL) 132 …pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), SZ_ALIGN_XMITFRAME_EX… 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); 174 pxmitbuf->pallocated_buf = NULL; 177 if (pxmitbuf->pallocated_buf) 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz);
|
| H A D | recv_linux.c | 216 precvbuf->pallocated_buf = precvbuf->pbuf = NULL; 225 …precvbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)precvbuf->alloc_sz, &precvbuf->dma_… 226 precvbuf->pbuf = precvbuf->pallocated_buf; 227 if (precvbuf->pallocated_buf == NULL) 248 …rtw_usb_buffer_free(pusbd, (size_t)precvbuf->alloc_sz, precvbuf->pallocated_buf, precvbuf->dma_tra… 249 precvbuf->pallocated_buf = NULL;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/ |
| H A D | xmit_linux.c | 122 …pxmitbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)alloc_sz, &pxmitbuf->dma_transfer_a… 123 pxmitbuf->pbuf = pxmitbuf->pallocated_buf; 124 if (pxmitbuf->pallocated_buf == NULL) 128 pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz); 129 if (pxmitbuf->pallocated_buf == NULL) 132 …pxmitbuf->pbuf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(pxmitbuf->pallocated_buf), SZ_ALIGN_XMITFRAME_EX… 173 …rtw_usb_buffer_free(pusbd, (size_t)free_sz, pxmitbuf->pallocated_buf, pxmitbuf->dma_transfer_addr); 174 pxmitbuf->pallocated_buf = NULL; 177 if (pxmitbuf->pallocated_buf) 178 rtw_mfree(pxmitbuf->pallocated_buf, free_sz);
|
| H A D | recv_linux.c | 216 precvbuf->pallocated_buf = precvbuf->pbuf = NULL; 225 …precvbuf->pallocated_buf = rtw_usb_buffer_alloc(pusbd, (size_t)precvbuf->alloc_sz, &precvbuf->dma_… 226 precvbuf->pbuf = precvbuf->pallocated_buf; 227 if (precvbuf->pallocated_buf == NULL) 248 …rtw_usb_buffer_free(pusbd, (size_t)precvbuf->alloc_sz, precvbuf->pallocated_buf, precvbuf->dma_tra… 249 precvbuf->pallocated_buf = NULL;
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/os_dep/ |
| H A D | xmit_linux.c | 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() 44 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/os_dep/ |
| H A D | xmit_linux.c | 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() 65 kfree(pxmitbuf->pallocated_buf); in rtw_os_xmit_resource_free()
|