| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | ring_mode.c | 19 struct stmmac_tx_queue *tx_q = (struct stmmac_tx_queue *)p; in jumbo_frm() local 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 27 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() 29 desc = tx_q->dma_tx + entry; in jumbo_frm() 46 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 47 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff_dma[entry].is_jumbo = true; in jumbo_frm() 53 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 57 desc = (struct dma_desc *)(tx_q->dma_etx + entry); in jumbo_frm() [all …]
|
| H A D | chain_mode.c | 19 struct stmmac_tx_queue *tx_q = (struct stmmac_tx_queue *)p; in jumbo_frm() local 21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm() 22 unsigned int entry = tx_q->cur_tx; in jumbo_frm() 27 desc = tx_q->dma_tx + entry; in jumbo_frm() 41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 42 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() 48 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm() 50 desc = tx_q->dma_tx + entry; in jumbo_frm() 59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm() 60 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm() [all …]
|
| H A D | stmmac_main.c | 298 struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; in stmmac_tx_avail() local 301 if (tx_q->dirty_tx > tx_q->cur_tx) in stmmac_tx_avail() 302 avail = tx_q->dirty_tx - tx_q->cur_tx - 1; in stmmac_tx_avail() 304 avail = priv->dma_tx_size - tx_q->cur_tx + tx_q->dirty_tx - 1; in stmmac_tx_avail() 340 struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; in stmmac_enable_eee_mode() local 342 if (tx_q->dirty_tx != tx_q->cur_tx) in stmmac_enable_eee_mode() 1210 struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; in stmmac_display_tx_rings() local 1215 head_tx = (void *)tx_q->dma_etx; in stmmac_display_tx_rings() 1217 } else if (tx_q->tbs & STMMAC_TBS_AVAIL) { in stmmac_display_tx_rings() 1218 head_tx = (void *)tx_q->dma_entx; in stmmac_display_tx_rings() [all …]
|
| H A D | stmmac_uio.c | 143 struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; in uio_free_dma_tx_desc_resources() local 149 addr = tx_q->dma_etx; in uio_free_dma_tx_desc_resources() 150 } else if (tx_q->tbs & STMMAC_TBS_AVAIL) { in uio_free_dma_tx_desc_resources() 152 addr = tx_q->dma_entx; in uio_free_dma_tx_desc_resources() 155 addr = tx_q->dma_tx; in uio_free_dma_tx_desc_resources() 160 dma_free_coherent(priv->device, size, addr, tx_q->dma_tx_phy); in uio_free_dma_tx_desc_resources() 225 struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; in uio_alloc_dma_tx_desc_resources() local 229 tx_q->queue_index = queue; in uio_alloc_dma_tx_desc_resources() 230 tx_q->priv_data = priv; in uio_alloc_dma_tx_desc_resources() 234 else if (tx_q->tbs & STMMAC_TBS_AVAIL) in uio_alloc_dma_tx_desc_resources() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-mac.c | 305 writel(upper_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 308 writel(lower_32_bits(adpt->tx_q.tpd.dma_addr), in emac_mac_dma_rings_config() 311 writel(adpt->tx_q.tpd.count & TPD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 587 struct emac_tx_queue *tx_q = &adpt->tx_q; in emac_tx_q_descs_free() local 592 if (!tx_q->tpd.tpbuff) in emac_tx_q_descs_free() 595 for (i = 0; i < tx_q->tpd.count; i++) { in emac_tx_q_descs_free() 596 struct emac_buffer *tpbuf = GET_TPD_BUFFER(tx_q, i); in emac_tx_q_descs_free() 610 size = sizeof(struct emac_buffer) * tx_q->tpd.count; in emac_tx_q_descs_free() 611 memset(tx_q->tpd.tpbuff, 0, size); in emac_tx_q_descs_free() 614 memset(tx_q->tpd.v_addr, 0, tx_q->tpd.size); in emac_tx_q_descs_free() [all …]
|
| H A D | emac-mac.h | 231 struct emac_tx_queue *tx_q, 233 void emac_mac_tx_process(struct emac_adapter *adpt, struct emac_tx_queue *tx_q);
|
| H A D | emac.c | 123 return emac_mac_tx_buf_send(adpt, &adpt->tx_q, skb); in emac_start_xmit() 161 emac_mac_tx_process(adpt, &adpt->tx_q); in emac_isr()
|
| H A D | emac.h | 341 struct emac_tx_queue tx_q; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_dcb_lib.h | 46 static inline bool ice_find_q_in_range(u16 low, u16 high, unsigned int tx_q) in ice_find_q_in_range() argument 48 return (tx_q >= low) && (tx_q < high); in ice_find_q_in_range()
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel5.10/ |
| H A D | kernel_net_stmmac.diff | 226 + struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; 232 + addr = tx_q->dma_etx; 233 + } else if (tx_q->tbs & STMMAC_TBS_AVAIL) { 235 + addr = tx_q->dma_entx; 238 + addr = tx_q->dma_tx; 243 + dma_free_coherent(priv->device, size, addr, tx_q->dma_tx_phy); 308 + struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; 312 + tx_q->queue_index = queue; 313 + tx_q->priv_data = priv; 317 + else if (tx_q->tbs & STMMAC_TBS_AVAIL) [all …]
|
| /OK3568_Linux_fs/kernel/net/nfc/nci/ |
| H A D | uart.c | 56 skb = skb_dequeue(&nu->tx_q); in nci_uart_dequeue() 68 return skb_queue_empty(&nu->tx_q); in nci_uart_queue_empty() 135 skb_queue_head_init(&nu->tx_q); in nci_uart_set_driver() 198 skb_queue_purge(&nu->tx_q); in nci_uart_tty_close() 316 skb_queue_tail(&nu->tx_q, skb); in nci_uart_send()
|
| H A D | data.c | 146 spin_lock_irqsave(&ndev->tx_q.lock, flags); in nci_queue_tx_data_frags() 149 __skb_queue_tail(&ndev->tx_q, skb_frag); in nci_queue_tx_data_frags() 151 spin_unlock_irqrestore(&ndev->tx_q.lock, flags); in nci_queue_tx_data_frags() 185 skb_queue_tail(&ndev->tx_q, skb); in nci_send_data()
|
| H A D | core.c | 530 skb_queue_purge(&ndev->tx_q); in nci_open_device() 563 skb_queue_purge(&ndev->tx_q); in nci_close_device() 1238 skb_queue_head_init(&ndev->tx_q); in nci_register_device() 1462 skb = skb_dequeue(&ndev->tx_q); in nci_tx_work()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | dma.c | 300 struct mt7601u_tx_queue *q = &dev->tx_q[ep]; in mt7601u_dma_submit_tx() 465 if (!dev->tx_q) in mt7601u_free_tx() 469 mt7601u_free_tx_queue(&dev->tx_q[i]); in mt7601u_free_tx() 493 dev->tx_q = devm_kcalloc(dev->dev, __MT_EP_OUT_MAX, in mt7601u_alloc_tx() 494 sizeof(*dev->tx_q), GFP_KERNEL); in mt7601u_alloc_tx() 495 if (!dev->tx_q) in mt7601u_alloc_tx() 499 if (mt7601u_alloc_tx_queue(dev, &dev->tx_q[i])) in mt7601u_alloc_tx()
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel4.19/ |
| H A D | kernel_net_stmmac.diff | 242 + struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; 248 + tx_q->dma_tx, tx_q->dma_tx_phy); 252 + tx_q->dma_etx, tx_q->dma_tx_phy); 323 + struct stmmac_tx_queue *tx_q = &priv->tx_queue[queue]; 325 + tx_q->queue_index = queue; 326 + tx_q->priv_data = priv; 329 + tx_q->dma_etx = dma_zalloc_coherent(priv->device, 333 + &tx_q->dma_tx_phy, 335 + if (!tx_q->dma_etx) 338 + tx_q->dma_tx = dma_zalloc_coherent(priv->device, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/h/ |
| H A D | hwmtm.h | 242 #define HWM_GET_TX_USED(smc,queue) (int) (smc)->hw.fp.tx_q[queue].tx_used 261 (smc)->hw.fp.tx_q[queue].tx_curr_put
|
| H A D | fplustm.h | 191 struct s_smt_tx_queue tx_q[USED_QUEUES] ; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dbus.c | 101 dbus_irbq_t *tx_q; member 515 args.qdeq.q = dhd_bus->tx_q; in dbus_send_irb() 546 args.qenq.q = dhd_bus->tx_q; in dbus_send_irb() 551 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_send_irb() 1089 args.qenq.q = dhd_bus->tx_q; in dbus_if_send_irb_complete() 1100 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_if_send_irb_complete() 1366 args.qdeq.q = dhd_bus->tx_q; in dbus_if_getirb() 1478 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach() 1479 if (dhd_bus->tx_q == NULL) in dbus_attach() 1482 bzero(dhd_bus->tx_q, sizeof(dbus_irbq_t)); in dbus_attach() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dbus.c | 100 dbus_irbq_t *tx_q; member 514 args.qdeq.q = dhd_bus->tx_q; in dbus_send_irb() 545 args.qenq.q = dhd_bus->tx_q; in dbus_send_irb() 550 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_send_irb() 1079 args.qenq.q = dhd_bus->tx_q; in dbus_if_send_irb_complete() 1090 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_if_send_irb_complete() 1356 args.qdeq.q = dhd_bus->tx_q; in dbus_if_getirb() 1468 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach() 1469 if (dhd_bus->tx_q == NULL) in dbus_attach() 1472 bzero(dhd_bus->tx_q, sizeof(dbus_irbq_t)); in dbus_attach() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dbus.c | 105 dbus_irbq_t *tx_q; member 514 args.qdeq.q = dhd_bus->tx_q; in dbus_send_irb() 545 args.qenq.q = dhd_bus->tx_q; in dbus_send_irb() 550 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_send_irb() 1089 args.qenq.q = dhd_bus->tx_q; in dbus_if_send_irb_complete() 1100 txirb_pending = dhd_bus->pub.ntxq - dhd_bus->tx_q->cnt; in dbus_if_send_irb_complete() 1366 args.qdeq.q = dhd_bus->tx_q; in dbus_if_getirb() 1464 dhd_bus->tx_q = MALLOC(osh, sizeof(dbus_irbq_t)); in dbus_attach() 1465 if (dhd_bus->tx_q == NULL) in dbus_attach() 1468 bzero(dhd_bus->tx_q, sizeof(dbus_irbq_t)); in dbus_attach() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/ |
| H A D | main.c | 34 if (msta && dev->pm.tx_q[i].msta != msta) in mt7615_free_pending_tx_skbs() 37 dev_kfree_skb(dev->pm.tx_q[i].skb); in mt7615_free_pending_tx_skbs() 38 dev->pm.tx_q[i].skb = NULL; in mt7615_free_pending_tx_skbs() 751 if (!dev->pm.tx_q[qid].skb) { in mt7615_tx() 753 dev->pm.tx_q[qid].msta = msta; in mt7615_tx() 754 dev->pm.tx_q[qid].skb = skb; in mt7615_tx()
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | l2cap_core.c | 470 skb_queue_head_init(&chan->tx_q); in l2cap_chan_create() 569 skb_queue_head_init(&chan->tx_q); in l2cap_le_flowctl_init() 690 skb_queue_purge(&chan->tx_q); in l2cap_chan_del() 705 skb_queue_purge(&chan->tx_q); in l2cap_chan_del() 1321 skb_queue_walk(&chan->tx_q, skb) { in l2cap_move_setup() 2073 skb_queue_splice_tail_init(skbs, &chan->tx_q); in l2cap_streaming_send() 2075 while (!skb_queue_empty(&chan->tx_q)) { in l2cap_streaming_send() 2077 skb = skb_dequeue(&chan->tx_q); in l2cap_streaming_send() 2156 if (skb_queue_is_last(&chan->tx_q, skb)) in l2cap_ertm_send() 2159 chan->tx_send_head = skb_queue_next(&chan->tx_q, skb); in l2cap_ertm_send() [all …]
|
| /OK3568_Linux_fs/kernel/include/net/nfc/ |
| H A D | nci_core.h | 227 struct sk_buff_head tx_q; member 454 struct sk_buff_head tx_q; member
|
| /OK3568_Linux_fs/kernel/drivers/media/radio/wl128x/ |
| H A D | fmdrv.h | 205 struct sk_buff_head tx_q; /* TX queue */ member
|
| H A D | fmdrv_common.c | 327 if (!skb_queue_empty(&fmdev->tx_q)) in recv_tasklet() 351 skb = skb_dequeue(&fmdev->tx_q); in send_tasklet() 441 skb_queue_tail(&fmdev->tx_q, skb); in fm_send_cmd() 1541 skb_queue_head_init(&fmdev->tx_q); in fmc_prepare() 1595 skb_queue_purge(&fmdev->tx_q); in fmc_release()
|