Lines Matching refs:cnt
79 int result, cnt; in i1480u_rx_setup() local
89 for (cnt = 0; cnt < i1480u_RX_BUFS; cnt++) { in i1480u_rx_setup()
90 struct i1480u_rx_buf *rx_buf = &i1480u->rx_buf[cnt]; in i1480u_rx_setup()
95 "RX: cannot allocate RX buffer %d\n", cnt); in i1480u_rx_setup()
105 dev_err(dev, "RX: cannot allocate URB %d\n", cnt); in i1480u_rx_setup()
116 cnt, result); in i1480u_rx_setup()
131 int cnt; in i1480u_rx_release() local
132 for (cnt = 0; cnt < i1480u_RX_BUFS; cnt++) { in i1480u_rx_release()
133 if (i1480u->rx_buf[cnt].data) in i1480u_rx_release()
134 dev_kfree_skb(i1480u->rx_buf[cnt].data); in i1480u_rx_release()
135 if (i1480u->rx_buf[cnt].urb) { in i1480u_rx_release()
136 usb_kill_urb(i1480u->rx_buf[cnt].urb); in i1480u_rx_release()
137 usb_free_urb(i1480u->rx_buf[cnt].urb); in i1480u_rx_release()
147 int cnt; in i1480u_rx_unlink_urbs() local
148 for (cnt = 0; cnt < i1480u_RX_BUFS; cnt++) { in i1480u_rx_unlink_urbs()
149 if (i1480u->rx_buf[cnt].urb) in i1480u_rx_unlink_urbs()
150 usb_unlink_urb(i1480u->rx_buf[cnt].urb); in i1480u_rx_unlink_urbs()