Lines Matching refs:k
154 u_int k = 0; in ahc_read_seeprom() local
162 for (k = start_addr; k < count + start_addr; k++) { in ahc_read_seeprom()
172 if ((k & (1 << i)) != 0) in ahc_read_seeprom()
178 if ((k & (1 << i)) != 0) in ahc_read_seeprom()
199 buf[k - start_addr] = v; in ahc_read_seeprom()
206 for (k = 0; k < count; k = k + 1) { in ahc_read_seeprom()
207 if (((k % 8) == 0) && (k != 0)) { in ahc_read_seeprom()
210 printf (" 0x%x", buf[k]); in ahc_read_seeprom()
227 int i, k; in ahc_write_seeprom() local
235 for (k = start_addr; k < count + start_addr; k++) { in ahc_write_seeprom()
241 if ((k & (1 << i)) != 0) in ahc_write_seeprom()
247 if ((k & (1 << i)) != 0) in ahc_write_seeprom()
252 v = buf[k - start_addr]; in ahc_write_seeprom()