Lines Matching refs:cur
146 u64 cur, end, inc; in __udelay() local
148 cur = read_c0_cvmcount(); in __udelay()
151 end = cur + inc; in __udelay()
153 while (end > cur) in __udelay()
154 cur = read_c0_cvmcount(); in __udelay()
160 u64 cur, end, inc; in __ndelay() local
162 cur = read_c0_cvmcount(); in __ndelay()
165 end = cur + inc; in __ndelay()
167 while (end > cur) in __ndelay()
168 cur = read_c0_cvmcount(); in __ndelay()
174 u64 cur, end; in __delay() local
176 cur = read_c0_cvmcount(); in __delay()
177 end = cur + loops; in __delay()
179 while (end > cur) in __delay()
180 cur = read_c0_cvmcount(); in __delay()
195 u64 cur, end; in octeon_io_clk_delay() local
197 cur = read_c0_cvmcount(); in octeon_io_clk_delay()
207 end = cur + end; in octeon_io_clk_delay()
209 end = cur + count; in octeon_io_clk_delay()
211 while (end > cur) in octeon_io_clk_delay()
212 cur = read_c0_cvmcount(); in octeon_io_clk_delay()