/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 315 writel(upper_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config() 318 writel(lower_32_bits(adpt->rx_q.rfd.dma_addr), in emac_mac_dma_rings_config() 320 writel(lower_32_bits(adpt->rx_q.rrd.dma_addr), in emac_mac_dma_rings_config() 323 writel(adpt->rx_q.rfd.count & RFD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 325 writel(adpt->rx_q.rrd.count & RRD_RING_SIZE_BMSK, in emac_mac_dma_rings_config() 624 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_rx_q_free_descs() local 629 if (!rx_q->rfd.rfbuff) in emac_rx_q_free_descs() 632 for (i = 0; i < rx_q->rfd.count; i++) { in emac_rx_q_free_descs() 633 struct emac_buffer *rfbuf = GET_RFD_BUFFER(rx_q, i); in emac_rx_q_free_descs() 646 size = sizeof(struct emac_buffer) * rx_q->rfd.count; in emac_rx_q_free_descs() [all …]
|
D | emac.c | 99 struct emac_rx_queue *rx_q = in emac_napi_rtx() local 101 struct emac_adapter *adpt = netdev_priv(rx_q->netdev); in emac_napi_rtx() 102 struct emac_irq *irq = rx_q->irq; in emac_napi_rtx() 105 emac_mac_rx_process(adpt, rx_q, &work_done, budget); in emac_napi_rtx() 110 irq->mask |= rx_q->intr; in emac_napi_rtx() 131 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_isr() local 153 if (status & rx_q->intr) { in emac_isr() 154 if (napi_schedule_prep(&rx_q->napi)) { in emac_isr() 155 irq->mask &= ~rx_q->intr; in emac_isr() 156 __napi_schedule(&rx_q->napi); in emac_isr() [all …]
|
D | emac-mac.h | 228 void emac_mac_rx_process(struct emac_adapter *adpt, struct emac_rx_queue *rx_q,
|
D | emac.h | 342 struct emac_rx_queue rx_q; member
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 227 struct stmmac_rx_queue *rx_q; in stmmac_disable_all_queues() local 232 rx_q = &priv->rx_queue[queue]; in stmmac_disable_all_queues() 233 if (rx_q->xsk_pool) { in stmmac_disable_all_queues() 376 struct stmmac_rx_queue *rx_q = &priv->rx_queue[queue]; in stmmac_rx_dirty() local 379 if (rx_q->dirty_rx <= rx_q->cur_rx) in stmmac_rx_dirty() 380 dirty = rx_q->cur_rx - rx_q->dirty_rx; in stmmac_rx_dirty() 382 dirty = priv->dma_rx_size - rx_q->dirty_rx + rx_q->cur_rx; in stmmac_rx_dirty() 1310 struct stmmac_rx_queue *rx_q = &priv->rx_queue[queue]; in stmmac_display_rx_rings() local 1315 head_rx = (void *)rx_q->dma_erx; in stmmac_display_rx_rings() 1318 head_rx = (void *)rx_q->dma_rx; in stmmac_display_rx_rings() [all …]
|
D | chain_mode.c | 130 struct stmmac_rx_queue *rx_q = (struct stmmac_rx_queue *)priv_ptr; in refill_desc3() local 131 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3() 138 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy + in refill_desc3() 139 (((rx_q->dirty_rx) + 1) % in refill_desc3()
|
D | ring_mode.c | 106 struct stmmac_rx_queue *rx_q = priv_ptr; in refill_desc3() local 107 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.c | 173 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_rx_get_pending_entry() 194 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_complete_rx() 394 for (i = 0; i < dev->rx_q.entries; i++) in mt7601u_kill_rx() 395 usb_poison_urb(dev->rx_q.e[i].urb); in mt7601u_kill_rx() 423 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_submit_rx() 424 ret = mt7601u_submit_rx_buf(dev, &dev->rx_q.e[i], GFP_KERNEL); in mt7601u_submit_rx() 436 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_free_rx() 437 __free_pages(dev->rx_q.e[i].p, MT_RX_ORDER); in mt7601u_free_rx() 438 usb_free_urb(dev->rx_q.e[i].urb); in mt7601u_free_rx() 446 memset(&dev->rx_q, 0, sizeof(dev->rx_q)); in mt7601u_alloc_rx() [all …]
|
D | mt7601u.h | 209 struct mt7601u_rx_queue rx_q; member
|
/drivers/net/fddi/skfp/h/ |
D | hwmtm.h | 311 #define HWM_GET_RX_USED(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_used) 325 #define HWM_GET_RX_FREE(smc) ((int)(smc)->hw.fp.rx_q[QUEUE_R1].rx_free-1) 341 (smc)->hw.fp.rx_q[QUEUE_R1].rx_curr_put 359 if ((low_water) >= (smc)->hw.fp.rx_q[QUEUE_R1].rx_used) {\
|
D | fplustm.h | 192 struct s_smt_rx_queue rx_q[USED_QUEUES] ; member
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb_ops.c | 43 skb = skb_dequeue(&dev->rx_q); in rsi_usb_rx_thread() 58 skb_queue_purge(&dev->rx_q); in rsi_usb_rx_thread()
|
D | rsi_usb.h | 70 struct sk_buff_head rx_q; member
|
D | rsi_91x_usb.c | 287 if (skb_queue_len(&dev->rx_q) >= RSI_MAX_RX_PKTS) { in rsi_rx_done_handler() 292 skb_queue_tail(&dev->rx_q, rx_cb->rx_skb); in rsi_rx_done_handler() 592 skb_queue_head_init(&dev->rx_q); in rsi_usb_init_rx()
|
/drivers/nfc/nfcmrvl/ |
D | fw_dnld.h | 75 struct sk_buff_head rx_q; member
|
D | fw_dnld.c | 403 while ((skb = skb_dequeue(&fw_dnld->rx_q))) { in fw_dnld_rx_work() 455 skb_queue_head_init(&priv->fw_dnld.rx_q); in nfcmrvl_fw_dnld_init() 475 skb_queue_tail(&priv->fw_dnld.rx_q, skb); in nfcmrvl_fw_dnld_recv_frame()
|
/drivers/media/radio/wl128x/ |
D | fmdrv.h | 202 struct sk_buff_head rx_q; /* RX queue */ member
|
D | fmdrv_common.c | 261 while ((skb = skb_dequeue(&fmdev->rx_q))) { in recv_tasklet() 1457 skb_queue_tail(&fmdev->rx_q, skb); in fm_st_receive() 1545 skb_queue_head_init(&fmdev->rx_q); in fmc_prepare() 1596 skb_queue_purge(&fmdev->rx_q); in fmc_release()
|
/drivers/net/fddi/skfp/ |
D | hwmtm.c | 714 if (smc->hw.fp.rx_q[QUEUE_R1].rx_used > 0) { in fddi_isr() 1415 r = smc->hw.fp.rx_q[QUEUE_R1].rx_curr_put ; in hwm_rx_frag() 1426 smc->hw.fp.rx_q[QUEUE_R1].rx_free-- ; in hwm_rx_frag() 1427 smc->hw.fp.rx_q[QUEUE_R1].rx_used++ ; in hwm_rx_frag() 1428 smc->hw.fp.rx_q[QUEUE_R1].rx_curr_put = r->rxd_next ; in hwm_rx_frag()
|
D | fplustm.c | 275 smc->hw.fp.rx[QUEUE_R1] = queue = &smc->hw.fp.rx_q[QUEUE_R1] ; in init_rx() 282 smc->hw.fp.rx[QUEUE_R2] = queue = &smc->hw.fp.rx_q[QUEUE_R2] ; in init_rx()
|