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()
319 uinfo->mem[0].addr = (unsigned long)udev->uctrl; in qedi_init_uio()
740 struct qedi_uio_ctrl *uctrl = NULL; in qedi_ll2_process_skb() local
754 uctrl = udev->uctrl; in qedi_ll2_process_skb()
756 ++uctrl->hw_rx_prod_cnt; in qedi_ll2_process_skb()
757 prod = (uctrl->hw_rx_prod + 1) % RX_RING; in qedi_ll2_process_skb()
768 uctrl->hw_rx_bd_prod = (uctrl->hw_rx_bd_prod + 1) % QEDI_NUM_RX_BD; in qedi_ll2_process_skb()
769 rx_bd_prod = uctrl->hw_rx_bd_prod; in qedi_ll2_process_skb()
777 uctrl->hw_rx_prod, prod, uctrl->hw_rx_bd_prod, in qedi_ll2_process_skb()
781 uctrl->host_rx_cons, uctrl->host_rx_bd_cons); in qedi_ll2_process_skb()
783 uctrl->hw_rx_prod = prod; in qedi_ll2_process_skb()