Home
last modified time | relevance | path

Searched refs:rx_q (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/net/ethernet/qualcomm/emac/
A Demac-mac.c624 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_rx_q_free_descs() local
650 memset(rx_q->rrd.v_addr, 0, rx_q->rrd.size); in emac_rx_q_free_descs()
654 memset(rx_q->rfd.v_addr, 0, rx_q->rfd.size); in emac_rx_q_free_descs()
699 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_rx_q_bufs_free() local
720 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_rx_descs_alloc() local
728 rx_q->rrd.size = rx_q->rrd.count * (adpt->rrd_size * 4); in emac_rx_descs_alloc()
729 rx_q->rfd.size = rx_q->rfd.count * (adpt->rfd_size * 4); in emac_rx_descs_alloc()
854 if (++rx_q->rfd.produce_idx == rx_q->rfd.count) in emac_mac_rx_rfd_create()
871 curr_rxbuf = GET_RFD_BUFFER(rx_q, rx_q->rfd.produce_idx); in emac_mac_rx_descs_refill()
901 curr_rxbuf = GET_RFD_BUFFER(rx_q, rx_q->rfd.produce_idx); in emac_mac_rx_descs_refill()
[all …]
A Demac.c99 struct emac_rx_queue *rx_q = in emac_napi_rtx() local
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()
711 netif_napi_del(&adpt->rx_q.napi); in emac_probe()
[all …]
A Demac-mac.h228 void emac_mac_rx_process(struct emac_adapter *adpt, struct emac_rx_queue *rx_q,
A Demac.h342 struct emac_rx_queue rx_q; member
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_main.c379 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()
1925 rx_q->dma_rx, rx_q->dma_rx_phy); in __free_dma_rx_desc_resources()
1929 rx_q->dma_erx, rx_q->dma_rx_phy); in __free_dma_rx_desc_resources()
2922 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_init_dma_engine()
4543 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_rx_refill()
4885 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_rx_refill_zc()
4963 rx_q->cur_rx = STMMAC_GET_ENTRY(rx_q->cur_rx, in stmmac_rx_zc()
6397 rx_q->dma_rx_phy, rx_q->queue_index); in stmmac_enable_rx_queue()
6399 rx_q->rx_tail_addr = rx_q->dma_rx_phy + (rx_q->buf_alloc_num * in stmmac_enable_rx_queue()
[all …]
A Dchain_mode.c130 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()
A Dring_mode.c106 struct stmmac_rx_queue *rx_q = priv_ptr; in refill_desc3() local
107 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
/linux/drivers/net/wireless/mediatek/mt7601u/
A Ddma.c172 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_rx_get_pending_entry()
193 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_complete_rx()
393 for (i = 0; i < dev->rx_q.entries; i++) in mt7601u_kill_rx()
394 usb_poison_urb(dev->rx_q.e[i].urb); in mt7601u_kill_rx()
422 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_submit_rx()
435 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_free_rx()
437 usb_free_urb(dev->rx_q.e[i].urb); in mt7601u_free_rx()
445 memset(&dev->rx_q, 0, sizeof(dev->rx_q)); in mt7601u_alloc_rx()
446 dev->rx_q.dev = dev; in mt7601u_alloc_rx()
447 dev->rx_q.entries = N_RX_ENTRIES; in mt7601u_alloc_rx()
[all …]
A Dmt7601u.h209 struct mt7601u_rx_queue rx_q; member
/linux/drivers/net/fddi/skfp/h/
A Dhwmtm.h311 #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) {\
A Dfplustm.h192 struct s_smt_rx_queue rx_q[USED_QUEUES] ; member
/linux/drivers/net/wireless/rsi/
A Drsi_91x_usb_ops.c43 skb = skb_dequeue(&dev->rx_q); in rsi_usb_rx_thread()
58 skb_queue_purge(&dev->rx_q); in rsi_usb_rx_thread()
A Drsi_usb.h68 struct sk_buff_head rx_q; member
A Drsi_91x_usb.c283 if (skb_queue_len(&dev->rx_q) >= RSI_MAX_RX_PKTS) { in rsi_rx_done_handler()
288 skb_queue_tail(&dev->rx_q, rx_cb->rx_skb); in rsi_rx_done_handler()
587 skb_queue_head_init(&dev->rx_q); in rsi_usb_init_rx()
/linux/drivers/nfc/nfcmrvl/
A Dfw_dnld.h75 struct sk_buff_head rx_q; member
A Dfw_dnld.c401 while ((skb = skb_dequeue(&fw_dnld->rx_q))) { in fw_dnld_rx_work()
453 skb_queue_head_init(&priv->fw_dnld.rx_q); in nfcmrvl_fw_dnld_init()
473 skb_queue_tail(&priv->fw_dnld.rx_q, skb); in nfcmrvl_fw_dnld_recv_frame()
/linux/drivers/media/radio/wl128x/
A Dfmdrv.h202 struct sk_buff_head rx_q; /* RX queue */ member
A Dfmdrv_common.c261 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()
/linux/net/nfc/nci/
A Dcore.c541 skb_queue_purge(&ndev->rx_q); in nci_open_device()
570 skb_queue_purge(&ndev->rx_q); in nci_close_device()
1243 skb_queue_head_init(&ndev->rx_q); in nci_register_device()
1319 skb_queue_tail(&ndev->rx_q, skb); in nci_recv_frame()
1496 while ((skb = skb_dequeue(&ndev->rx_q))) { in nci_rx_work()
/linux/drivers/net/fddi/skfp/
A Dhwmtm.c714 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()
A Dfplustm.c275 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()
/linux/include/net/nfc/
A Dnci_core.h226 struct sk_buff_head rx_q; member
/linux/net/bluetooth/
A Dhci_core.c1507 skb_queue_purge(&hdev->rx_q); in hci_dev_do_open()
1699 skb_queue_purge(&hdev->rx_q); in hci_dev_do_close()
1771 skb_queue_purge(&hdev->rx_q); in hci_dev_do_reset()
3752 skb_queue_head_init(&hdev->rx_q); in hci_alloc_dev_priv()
4095 skb_queue_tail(&hdev->rx_q, skb); in hci_recv_frame()
4111 skb_queue_tail(&hdev->rx_q, skb); in hci_recv_diag()
5048 while ((skb = skb_dequeue(&hdev->rx_q))) { in hci_rx_work()
/linux/include/net/bluetooth/
A Dhci_core.h499 struct sk_buff_head rx_q; member

Completed in 86 milliseconds