Lines Matching refs:uctrl
169 if (udev->uctrl) { in __qedi_free_uio_rings()
170 free_page((unsigned long)udev->uctrl); in __qedi_free_uio_rings()
171 udev->uctrl = NULL; in __qedi_free_uio_rings()
207 struct qedi_uio_ctrl *uctrl = NULL; in qedi_reset_uio_rings() local
210 uctrl = udev->uctrl; in qedi_reset_uio_rings()
213 uctrl->host_rx_cons = 0; in qedi_reset_uio_rings()
214 uctrl->hw_rx_prod = 0; in qedi_reset_uio_rings()
215 uctrl->hw_rx_bd_prod = 0; in qedi_reset_uio_rings()
216 uctrl->host_rx_bd_cons = 0; in qedi_reset_uio_rings()
231 udev->uctrl = (void *)get_zeroed_page(GFP_KERNEL); in __qedi_alloc_uio_rings()
232 if (!udev->uctrl) in __qedi_alloc_uio_rings()
317 uinfo->mem[0].addr = (unsigned long)udev->uctrl; in qedi_init_uio()
738 struct qedi_uio_ctrl *uctrl = NULL; in qedi_ll2_process_skb() local
752 uctrl = udev->uctrl; in qedi_ll2_process_skb()
754 ++uctrl->hw_rx_prod_cnt; in qedi_ll2_process_skb()
755 prod = (uctrl->hw_rx_prod + 1) % RX_RING; in qedi_ll2_process_skb()
766 uctrl->hw_rx_bd_prod = (uctrl->hw_rx_bd_prod + 1) % QEDI_NUM_RX_BD; in qedi_ll2_process_skb()
767 rx_bd_prod = uctrl->hw_rx_bd_prod; in qedi_ll2_process_skb()
775 uctrl->hw_rx_prod, prod, uctrl->hw_rx_bd_prod, in qedi_ll2_process_skb()
779 uctrl->host_rx_cons, uctrl->host_rx_bd_cons); in qedi_ll2_process_skb()
781 uctrl->hw_rx_prod = prod; in qedi_ll2_process_skb()