Lines Matching full:eeprom
2 * smc911x_eeprom.c - EEPROM interface to SMC911x parts.
37 "MAC/EEPROM Commands:\n" in usage()
39 " D : Dump the EEPROM contents\n" in usage()
41 " C : Copy the MAC address from the EEPROM to the MAC\n" in usage()
42 " W : Write a register in the EEPROM or in the MAC\n" in usage()
47 " E: EEPROM M: MAC\n" in usage()
67 * do_eeprom_cmd - handle eeprom communication
90 * read_eeprom_reg - read specified register in EEPROM
99 * write_eeprom_reg - write specified value into specified register in EEPROM
110 /* erase the eeprom reg */ in write_eeprom_reg()
115 /* write the eeprom reg */ in write_eeprom_reg()
139 * write_stuff - handle writing of MAC registers / eeprom
183 printf("Writing EEPROM register %02x with %02x\n", reg, value); in write_stuff()
192 * copy_from_eeprom - copy MAC address in eeprom to address registers
206 puts("EEPROM contents copied to MAC\n"); in copy_from_eeprom()
210 * print_macaddr - print MAC address registers and MAC address in eeprom
221 puts("Current MAC Address in EEPROM: "); in print_macaddr()
229 * dump_eeprom - dump the whole content of the EEPROM
234 puts("EEPROM:\n"); in dump_eeprom()
240 * smc911x_init - get the MAC/EEPROM up and ready for use
250 /* Make sure we set EEDIO/EECLK to the EEPROM */ in smc911x_init()
333 /* Initialize the MAC/EEPROM somewhat */ in smc911x_eeprom()
347 puts("eeprom> "); in smc911x_eeprom()