Lines Matching refs:rx_q
171 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_rx_get_pending_entry()
192 struct mt7601u_rx_queue *q = &dev->rx_q; in mt7601u_complete_rx()
390 for (i = 0; i < dev->rx_q.entries; i++) in mt7601u_kill_rx()
391 usb_poison_urb(dev->rx_q.e[i].urb); in mt7601u_kill_rx()
419 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_submit_rx()
420 ret = mt7601u_submit_rx_buf(dev, &dev->rx_q.e[i], GFP_KERNEL); in mt7601u_submit_rx()
432 for (i = 0; i < dev->rx_q.entries; i++) { in mt7601u_free_rx()
433 __free_pages(dev->rx_q.e[i].p, MT_RX_ORDER); in mt7601u_free_rx()
434 usb_free_urb(dev->rx_q.e[i].urb); in mt7601u_free_rx()
442 memset(&dev->rx_q, 0, sizeof(dev->rx_q)); in mt7601u_alloc_rx()
443 dev->rx_q.dev = dev; in mt7601u_alloc_rx()
444 dev->rx_q.entries = N_RX_ENTRIES; in mt7601u_alloc_rx()
447 dev->rx_q.e[i].urb = usb_alloc_urb(0, GFP_KERNEL); in mt7601u_alloc_rx()
448 dev->rx_q.e[i].p = dev_alloc_pages(MT_RX_ORDER); in mt7601u_alloc_rx()
450 if (!dev->rx_q.e[i].urb || !dev->rx_q.e[i].p) in mt7601u_alloc_rx()