Lines Matching refs:j
37 int c, i, j, done, line, reg, value, start, what; in smc91111_eeprom() local
167 j = 0; in smc91111_eeprom()
169 j = input[i] - 0x30; in smc91111_eeprom()
170 if (j >= 0xA) { in smc91111_eeprom()
171 j -= 0x07; in smc91111_eeprom()
173 reg = (reg * 0x10) + j; in smc91111_eeprom()
186 j = 0; in smc91111_eeprom()
188 j = input[i] - 0x30; in smc91111_eeprom()
189 if (j >= 0xA) { in smc91111_eeprom()
190 j -= 0x07; in smc91111_eeprom()
192 value = (value * 0x10) + j; in smc91111_eeprom()
252 int i, j, k, mac[6]; in print_macaddr() local
263 for (j = 0x20; j < 0x23; j++) { in print_macaddr()
264 k = read_eeprom_reg (dev, j); in print_macaddr()
279 int j, k; in dump_eeprom() local
282 for (j = 0; j < 8; j++) { in dump_eeprom()
283 printf ("%03x ", j); in dump_eeprom()
294 for (j = 0; j < 0x20; j += 4) { in dump_eeprom()
295 printf ("%02x:%04x ", j + k, in dump_eeprom()
296 read_eeprom_reg (dev, j + k)); in dump_eeprom()
301 for (j = 0x20; j < 0x40; j++) { in dump_eeprom()
302 if ((j & 0x07) == 0) in dump_eeprom()
304 printf ("%02x:%04x ", j, read_eeprom_reg (dev, j)); in dump_eeprom()
357 int i, j; in dump_reg() local
360 for (j = 0; j < 4; j++) { in dump_reg()
361 printf ("Bank%i ", j); in dump_reg()
366 for (j = 0; j < 4; j++) { in dump_reg()
367 SMC_SELECT_BANK (dev, j); in dump_reg()