| /OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_ib.c | 275 int ipoib_dma_map_tx(struct ib_device *ca, struct ipoib_tx_buf *tx_req) in ipoib_dma_map_tx() argument 277 struct sk_buff *skb = tx_req->skb; in ipoib_dma_map_tx() 278 u64 *mapping = tx_req->mapping; in ipoib_dma_map_tx() 318 struct ipoib_tx_buf *tx_req) in ipoib_dma_unmap_tx() argument 320 struct sk_buff *skb = tx_req->skb; in ipoib_dma_unmap_tx() 321 u64 *mapping = tx_req->mapping; in ipoib_dma_unmap_tx() 389 struct ipoib_tx_buf *tx_req; in ipoib_ib_handle_tx_wc() local 400 tx_req = &priv->tx_ring[wr_id]; in ipoib_ib_handle_tx_wc() 402 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_ib_handle_tx_wc() 405 dev->stats.tx_bytes += tx_req->skb->len; in ipoib_ib_handle_tx_wc() [all …]
|
| H A D | ipoib_cm.c | 699 struct ipoib_tx_buf *tx_req) in post_send() argument 701 ipoib_build_sge(priv, tx_req); in post_send() 711 struct ipoib_tx_buf *tx_req; in ipoib_cm_send() local 750 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send() 751 tx_req->skb = skb; in ipoib_cm_send() 753 if (unlikely(ipoib_dma_map_tx(priv->ca, tx_req))) { in ipoib_cm_send() 778 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), tx_req); in ipoib_cm_send() 782 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_cm_send() 799 struct ipoib_tx_buf *tx_req; in ipoib_cm_handle_tx_wc() local 811 tx_req = &tx->tx_ring[wr_id]; in ipoib_cm_handle_tx_wc() [all …]
|
| H A D | ipoib.h | 535 int ipoib_dma_map_tx(struct ib_device *ca, struct ipoib_tx_buf *tx_req); 537 struct ipoib_tx_buf *tx_req); 542 struct ipoib_tx_buf *tx_req) in ipoib_build_sge() argument 545 struct sk_buff *skb = tx_req->skb; in ipoib_build_sge() 548 u64 *mapping = tx_req->mapping; in ipoib_build_sge()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hci/ |
| H A D | phl_trx_sdio.c | 282 struct rtw_xmit_req *tx_req, in _phl_prepare_tx_sdio() argument 302 total_len = used_len + wd_len + tx_req->total_len; in _phl_prepare_tx_sdio() 309 __FUNCTION__, tx_req->total_len, wd_len); in _phl_prepare_tx_sdio() 316 hstatus = rtw_hal_fill_txdesc(phl_info->hal, tx_req, tx_buf_data, &wd_len); in _phl_prepare_tx_sdio() 327 pkt_buf = (struct rtw_pkt_buf_list *)tx_req->pkt_list; in _phl_prepare_tx_sdio() 328 for (i = 0; i < tx_req->pkt_cnt; i++, pkt_buf++) { in _phl_prepare_tx_sdio() 334 txbuf->used_len = used_len + wd_len + tx_req->total_len; in _phl_prepare_tx_sdio() 335 txbuf->pkt_len[txbuf->agg_cnt] = tx_req->mdata.pktlen; in _phl_prepare_tx_sdio() 336 txbuf->wp_offset[txbuf->agg_cnt] = tx_req->mdata.wp_offset; in _phl_prepare_tx_sdio() 339 txbuf->dma_ch = tx_req->mdata.dma_ch; in _phl_prepare_tx_sdio() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap1/ |
| H A D | devices.c | 133 unsigned rx_req, unsigned tx_req, in omap_mmc_add() argument 153 res[3].start = tx_req; in omap_mmc_add() 190 unsigned rx_req, tx_req; in omap1_init_mmc() local 203 tx_req = 21; in omap1_init_mmc() 211 tx_req = 54; in omap1_init_mmc() 219 rx_req, tx_req, mmc_data[i]); in omap1_init_mmc()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hci/ |
| H A D | phl_trx_pcie.c | 2166 struct rtw_xmit_req *tx_req = NULL; in _phl_handle_xmit_ring_pcie() local 2173 tx_req = (struct rtw_xmit_req *)tring->entry[rptr]; in _phl_handle_xmit_ring_pcie() 2174 if (NULL == tx_req) { in _phl_handle_xmit_ring_pcie() 2178 tx_req->mdata.macid = ring_sts->macid; in _phl_handle_xmit_ring_pcie() 2179 tx_req->mdata.band = ring_sts->band; in _phl_handle_xmit_ring_pcie() 2180 tx_req->mdata.wmm = ring_sts->wmm; in _phl_handle_xmit_ring_pcie() 2181 tx_req->mdata.hal_port = ring_sts->port; in _phl_handle_xmit_ring_pcie() 2183 tx_req->mdata.tid = tring->tid; in _phl_handle_xmit_ring_pcie() 2184 tx_req->mdata.dma_ch = tring->dma_ch; in _phl_handle_xmit_ring_pcie() 2185 pstatus = hci_trx_ops->prepare_tx(phl_info, tx_req); in _phl_handle_xmit_ring_pcie() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_tx.c | 349 struct rtw_xmit_req *tx_req, in rtw_hal_fill_wd() argument 357 if (tx_req->mdata.spe_rpt) { in rtw_hal_fill_wd() 358 if (tx_req->mdata.data_tx_cnt_lmt_en) in rtw_hal_fill_wd() 359 hal_info->hal_com->spe_pkt_cnt_lmt = tx_req->mdata.data_tx_cnt_lmt; in rtw_hal_fill_wd() 362 hstatus = trx_ops->hal_fill_wd(hal_info, tx_req, wd_buf, wd_len); in rtw_hal_fill_wd()
|
| H A D | hal_struct.h | 108 (*hal_fill_wd)(struct hal_info_t *hal, struct rtw_xmit_req *tx_req, 145 (*hal_fill_wd)(struct hal_info_t *hal, struct rtw_xmit_req *tx_req,
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_tx.c | 349 struct rtw_xmit_req *tx_req, in rtw_hal_fill_wd() argument 357 if (tx_req->mdata.spe_rpt) { in rtw_hal_fill_wd() 358 if (tx_req->mdata.data_tx_cnt_lmt_en) in rtw_hal_fill_wd() 359 hal_info->hal_com->spe_pkt_cnt_lmt = tx_req->mdata.data_tx_cnt_lmt; in rtw_hal_fill_wd() 362 hstatus = trx_ops->hal_fill_wd(hal_info, tx_req, wd_buf, wd_len); in rtw_hal_fill_wd()
|
| H A D | hal_struct.h | 107 (*hal_fill_wd)(struct hal_info_t *hal, struct rtw_xmit_req *tx_req, 144 (*hal_fill_wd)(struct hal_info_t *hal, struct rtw_xmit_req *tx_req,
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/rtl8852b/pci/ |
| H A D | hal_trx_8852be.c | 561 struct rtw_xmit_req *tx_req = req ? req->tx_req : NULL; in _hal_txsc_update_wd() local 566 if (NULL == tx_req) in _hal_txsc_update_wd() 570 rtw_hal_mac_ax_fill_txdesc(hal->mac, tx_req, req->wd_page, in _hal_txsc_update_wd() 574 mdata = &tx_req->mdata; in _hal_txsc_update_wd() 624 struct rtw_xmit_req *tx_req = NULL; in hal_update_wd_8852be() local 634 tx_req = req->tx_req; in hal_update_wd_8852be() 635 pkt_list = (struct rtw_pkt_buf_list *)tx_req->pkt_list; in hal_update_wd_8852be() 641 rtw_hal_mac_ax_fill_txdesc(hal->mac, tx_req, req->wd_page, in hal_update_wd_8852be() 644 tid_indic = _hal_get_tid_indic_8852be(tx_req->mdata.tid); in hal_update_wd_8852be() 652 for (i = 0; i < tx_req->mdata.addr_info_num; i++) { in hal_update_wd_8852be() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/ |
| H A D | hfi_venus.c | 68 u32 tx_req; member 197 qhdr->tx_req = 1; in venus_write_queue() 203 qhdr->tx_req = 0; in venus_write_queue() 233 struct iface_queue *queue, void *pkt, u32 *tx_req) in venus_read_queue() argument 269 *tx_req = 0; in venus_read_queue() 315 *tx_req = qhdr->tx_req ? 1 : 0; in venus_read_queue() 607 u32 tx_req; in venus_iface_msgq_read_nolock() local 615 ret = venus_read_queue(hdev, queue, pkt, &tx_req); in venus_iface_msgq_read_nolock() 619 if (tx_req) in venus_iface_msgq_read_nolock() 640 u32 tx_req; in venus_iface_dbgq_read_nolock() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/ |
| H A D | fsl_qe_udc.c | 1134 if (ep->tx_req != NULL) { in txcomplete() 1135 struct qe_req *req = ep->tx_req; in txcomplete() 1160 if (((ep->tx_req->req.length - ep->sent) <= 0) && !zlp) { in txcomplete() 1161 done(ep, ep->tx_req, 0); in txcomplete() 1162 ep->tx_req = NULL; in txcomplete() 1169 if (ep->tx_req == NULL) { in txcomplete() 1171 ep->tx_req = list_entry(ep->queue.next, struct qe_req, in txcomplete() 1188 size = min_t(u32, (ep->tx_req->req.length - ep->sent), in qe_usb_senddata() 1190 buf = (u8 *)ep->tx_req->req.buf + ep->sent; in qe_usb_senddata() 1193 ep->tx_req->req.actual += size; in qe_usb_senddata() [all …]
|
| H A D | fsl_qe_udc.h | 285 struct qe_req *tx_req; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_tx.c | 203 void phl_update_tx_stats(struct rtw_stats *stats, struct rtw_xmit_req *tx_req) in phl_update_tx_stats() argument 209 stats->tx_byte_total += tx_req->total_len; in phl_update_tx_stats() 212 if (tx_req->mdata.bc == 0 && tx_req->mdata.mc == 0) in phl_update_tx_stats() 213 stats->tx_byte_uni += tx_req->total_len; in phl_update_tx_stats() 237 void phl_tx_statistics(struct phl_info_t *phl_info, struct rtw_xmit_req *tx_req) in phl_tx_statistics() argument 243 u16 macid = tx_req->mdata.macid; in phl_tx_statistics() 254 phl_update_tx_stats(sta_stats, tx_req); in phl_tx_statistics() 256 phl_update_tx_stats(phl_stats, tx_req); in phl_tx_statistics() 267 struct rtw_xmit_req *tx_req; in _phl_free_phl_tring_list() local 279 tx_req = (struct rtw_xmit_req *)ring->entry[rptr]; in _phl_free_phl_tring_list() [all …]
|
| H A D | phl_trx_def.h | 560 struct rtw_xmit_req *tx_req; member 596 struct rtw_xmit_req *tx_req; member
|
| H A D | phl_struct.h | 101 struct rtw_xmit_req *tx_req);
|
| H A D | phl_api.h | 82 enum rtw_phl_status rtw_phl_add_tx_req(void *phl, struct rtw_xmit_req *tx_req);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_tx.c | 203 void phl_update_tx_stats(struct rtw_stats *stats, struct rtw_xmit_req *tx_req) in phl_update_tx_stats() argument 209 stats->tx_byte_total += tx_req->total_len; in phl_update_tx_stats() 212 if (tx_req->mdata.bc == 0 && tx_req->mdata.mc == 0) in phl_update_tx_stats() 213 stats->tx_byte_uni += tx_req->total_len; in phl_update_tx_stats() 237 void phl_tx_statistics(struct phl_info_t *phl_info, struct rtw_xmit_req *tx_req) in phl_tx_statistics() argument 243 u16 macid = tx_req->mdata.macid; in phl_tx_statistics() 254 phl_update_tx_stats(sta_stats, tx_req); in phl_tx_statistics() 256 phl_update_tx_stats(phl_stats, tx_req); in phl_tx_statistics() 267 struct rtw_xmit_req *tx_req; in _phl_free_phl_tring_list() local 279 tx_req = (struct rtw_xmit_req *)ring->entry[rptr]; in _phl_free_phl_tring_list() [all …]
|
| H A D | phl_trx_def.h | 562 struct rtw_xmit_req *tx_req; member 598 struct rtw_xmit_req *tx_req; member
|
| H A D | phl_struct.h | 98 struct rtw_xmit_req *tx_req);
|
| H A D | phl_api.h | 82 enum rtw_phl_status rtw_phl_add_tx_req(void *phl, struct rtw_xmit_req *tx_req);
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | ether.c | 114 struct usb_request *tx_req, *rx_req; member 1025 if (dev->tx_req) { in eth_reset_config() 1026 usb_ep_free_request(dev->in_ep, dev->tx_req); in eth_reset_config() 1027 dev->tx_req = NULL; in eth_reset_config() 1609 dev->tx_req = usb_ep_alloc_request(dev->in_ep, 0); in alloc_requests() 1611 if (!dev->tx_req) in alloc_requests() 1622 usb_ep_free_request(dev->in_ep, dev->tx_req); in alloc_requests() 1788 if (dev->tx_req) { in eth_unbind() 1789 usb_ep_free_request(dev->in_ep, dev->tx_req); in eth_unbind() 1790 dev->tx_req = NULL; in eth_unbind() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rapidio/ |
| H A D | rio_cm.c | 138 struct tx_req { struct 672 struct tx_req *req, *_req; in rio_txcq_handler() 707 struct tx_req *treq; in riocm_queue_req()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_xmit.c | 7564 struct rtw_xmit_req *tx_req = NULL; in core_migrate_to_coherent_buf() local 7571 tx_req = pxframe->phl_txreq; in core_migrate_to_coherent_buf() 7575 tx_data = pci_alloc_noncache_mem(pdev, &phy_addr, tx_req->total_len); in core_migrate_to_coherent_buf() 7582 pkt_frag = (struct rtw_pkt_buf_list *)tx_req->pkt_list; in core_migrate_to_coherent_buf() 7584 for (j = 0; j < tx_req->pkt_cnt; j++) { in core_migrate_to_coherent_buf() 7588 (dma_addr_t *)&phy_addr, tx_req->total_len); in core_migrate_to_coherent_buf() 7605 tx_req->pkt_cnt = 1; in core_migrate_to_coherent_buf() 7606 pkt_frag = (struct rtw_pkt_buf_list *)tx_req->pkt_list; in core_migrate_to_coherent_buf() 7607 pkt_frag->length = tx_req->total_len; in core_migrate_to_coherent_buf() 7615 tx_req->cache = DMA_ADDR; in core_migrate_to_coherent_buf() [all …]
|