Lines Matching full:j
36 int c, i, j, done, line, reg, value, start, what; in smc91111_eeprom() local
166 j = 0; in smc91111_eeprom()
168 j = input[i] - 0x30; in smc91111_eeprom()
169 if (j >= 0xA) { in smc91111_eeprom()
170 j -= 0x07; in smc91111_eeprom()
172 reg = (reg * 0x10) + j; in smc91111_eeprom()
185 j = 0; in smc91111_eeprom()
187 j = input[i] - 0x30; in smc91111_eeprom()
188 if (j >= 0xA) { in smc91111_eeprom()
189 j -= 0x07; in smc91111_eeprom()
191 value = (value * 0x10) + j; in smc91111_eeprom()
251 int i, j, k, mac[6]; in print_macaddr() local
262 for (j = 0x20; j < 0x23; j++) { in print_macaddr()
263 k = read_eeprom_reg (dev, j); in print_macaddr()
278 int j, k; in dump_eeprom() local
281 for (j = 0; j < 8; j++) { in dump_eeprom()
282 printf ("%03x ", j); in dump_eeprom()
293 for (j = 0; j < 0x20; j += 4) { in dump_eeprom()
294 printf ("%02x:%04x ", j + k, in dump_eeprom()
295 read_eeprom_reg (dev, j + k)); in dump_eeprom()
300 for (j = 0x20; j < 0x40; j++) { in dump_eeprom()
301 if ((j & 0x07) == 0) in dump_eeprom()
303 printf ("%02x:%04x ", j, read_eeprom_reg (dev, j)); in dump_eeprom()
356 int i, j; in dump_reg() local
359 for (j = 0; j < 4; j++) { in dump_reg()
360 printf ("Bank%i ", j); in dump_reg()
365 for (j = 0; j < 4; j++) { in dump_reg()
366 SMC_SELECT_BANK (dev, j); in dump_reg()