/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.c | 624 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 …]
|
H A D | emac.c | 98 struct emac_rx_queue *rx_q = in emac_napi_rtx() local 101 struct emac_irq *irq = rx_q->irq; in emac_napi_rtx() 104 emac_mac_rx_process(adpt, rx_q, &work_done, budget); in emac_napi_rtx() 109 irq->mask |= rx_q->intr; in emac_napi_rtx() 130 struct emac_rx_queue *rx_q = &adpt->rx_q; in emac_isr() local 152 if (status & rx_q->intr) { in emac_isr() 153 if (napi_schedule_prep(&rx_q->napi)) { in emac_isr() 154 irq->mask &= ~rx_q->intr; in emac_isr() 155 __napi_schedule(&rx_q->napi); in emac_isr() 709 netif_napi_del(&adpt->rx_q.napi); in emac_probe() [all …]
|
H A D | emac-mac.h | 228 void emac_mac_rx_process(struct emac_adapter *adpt, struct emac_rx_queue *rx_q,
|
H A D | emac.h | 342 struct emac_rx_queue rx_q; member
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 385 if (rx_q->dirty_rx <= rx_q->cur_rx) in stmmac_rx_dirty() 386 dirty = rx_q->cur_rx - rx_q->dirty_rx; in stmmac_rx_dirty() 1924 rx_q->dma_rx, rx_q->dma_rx_phy); in __free_dma_rx_desc_resources() 1928 rx_q->dma_erx, rx_q->dma_rx_phy); in __free_dma_rx_desc_resources() 2965 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_init_dma_engine() 4727 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_rx_refill() 5075 rx_q->rx_tail_addr = rx_q->dma_rx_phy + in stmmac_rx_refill_zc() 6666 rx_q->dma_rx_phy, rx_q->queue_index); in stmmac_enable_rx_queue() 6668 rx_q->rx_tail_addr = rx_q->dma_rx_phy + (rx_q->buf_alloc_num * in stmmac_enable_rx_queue() 6673 if (rx_q->xsk_pool && rx_q->buf_alloc_num) { in stmmac_enable_rx_queue() [all …]
|
H A D | chain_mode.c | 128 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p) in refill_desc3() argument 130 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3() 137 p->des3 = cpu_to_le32((unsigned int)(rx_q->dma_rx_phy + in refill_desc3() 138 (((rx_q->dirty_rx) + 1) % in refill_desc3()
|
H A D | ring_mode.c | 104 static void refill_desc3(struct stmmac_rx_queue *rx_q, struct dma_desc *p) in refill_desc3() argument 106 struct stmmac_priv *priv = rx_q->priv_data; in refill_desc3()
|
H A D | hwif.h | 575 void (*refill_desc3)(struct stmmac_rx_queue *rx_q, struct dma_desc *p);
|
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A 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() 436 for (i = 0; i < dev->rx_q.entries; i++) { 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() 447 dev->rx_q.dev = dev; in mt7601u_alloc_rx() 448 dev->rx_q.entries = N_RX_ENTRIES; in mt7601u_alloc_rx() [all …]
|
H A D | mt7601u.h | 209 struct mt7601u_rx_queue rx_q; member
|
/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.c | 210 struct dpmaif_rx_queue *rx_q; in t7xx_dpmaif_rxtx_sw_allocs() local 227 rx_q = &dpmaif_ctrl->rxq[rx_idx]; in t7xx_dpmaif_rxtx_sw_allocs() 228 rx_q->index = rx_idx; in t7xx_dpmaif_rxtx_sw_allocs() 229 rx_q->dpmaif_ctrl = dpmaif_ctrl; in t7xx_dpmaif_rxtx_sw_allocs() 230 ret = t7xx_dpmaif_rxq_init(rx_q); in t7xx_dpmaif_rxtx_sw_allocs() 267 rx_q = &dpmaif_ctrl->rxq[i]; in t7xx_dpmaif_rxtx_sw_allocs() 268 t7xx_dpmaif_rxq_free(rx_q); in t7xx_dpmaif_rxtx_sw_allocs() 281 struct dpmaif_rx_queue *rx_q; in t7xx_dpmaif_sw_release() local 294 rx_q = &dpmaif_ctrl->rxq[i]; in t7xx_dpmaif_sw_release() 295 t7xx_dpmaif_rxq_free(rx_q); in t7xx_dpmaif_sw_release()
|
/openbmc/linux/drivers/net/fddi/skfp/h/ |
H A 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) {\
|
H A D | fplustm.h | 192 struct s_smt_rx_queue rx_q[USED_QUEUES] ; member
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A 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()
|
H A D | rsi_usb.h | 70 struct sk_buff_head rx_q; member
|
H A 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()
|
/openbmc/linux/drivers/nfc/nfcmrvl/ |
H A D | fw_dnld.h | 75 struct sk_buff_head rx_q; member
|
H A D | fw_dnld.c | 401 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()
|
/openbmc/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv.h | 202 struct sk_buff_head rx_q; /* RX queue */ member
|
H A D | fmdrv_common.c | 262 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()
|
/openbmc/linux/net/nfc/nci/ |
H A D | core.c | 542 skb_queue_purge(&ndev->rx_q); in nci_open_device() 575 skb_queue_purge(&ndev->rx_q); in nci_close_device() 1257 skb_queue_head_init(&ndev->rx_q); in nci_register_device() 1333 skb_queue_tail(&ndev->rx_q, skb); in nci_recv_frame() 1525 for (; (skb = skb_dequeue(&ndev->rx_q)); kcov_remote_stop()) { in nci_rx_work()
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A 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()
|
H A 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()
|
/openbmc/linux/include/net/nfc/ |
H A D | nci_core.h | 226 struct sk_buff_head rx_q; member
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_core.c | 546 skb_queue_purge(&hdev->rx_q); in hci_dev_do_reset() 2528 skb_queue_head_init(&hdev->rx_q); in hci_alloc_dev_priv() 2909 skb_queue_tail(&hdev->rx_q, skb); in hci_recv_frame() 2925 skb_queue_tail(&hdev->rx_q, skb); in hci_recv_diag() 3957 for (; (skb = skb_dequeue(&hdev->rx_q)); kcov_remote_stop()) { in hci_rx_work()
|