Searched refs:eeprom (Results 1 - 25 of 73) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/arch/sparc64/include/
H A Deeprom.h3 #include <sparc/eeprom.h>
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/ppc/
H A Dhw_eeprom.c39 eeprom - JEDEC? compatible electricaly erasable programable device
75 smaller part of the eeprom will not be accessible while if it is
110 Initialize the eeprom using the specified binary file.
115 When ever the eeprom is updated, save the modified image into the
122 Enable tracing of the eeprom:
124 | bash$ psim -t eeprom-device \
130 | -o '/eeprom@0xfff00000/reg 0xfff00000 0x80000' \
131 | -o '/eeprom@0xfff00000/nr-sectors 8' \
132 | -o '/eeprom@0xfff00000/sector-size 0x10000' \
133 | -o '/eeprom
220 hw_eeprom_device *eeprom = (hw_eeprom_device*)device_data(me); local
296 dump_eeprom(device *me, hw_eeprom_device *eeprom) argument
319 start_programming_byte(device *me, hw_eeprom_device *eeprom, unsigned_word address, unsigned8 new_byte) argument
350 finish_programming_byte(device *me, hw_eeprom_device *eeprom) argument
364 start_erasing_chip(device *me, hw_eeprom_device *eeprom) argument
375 finish_erasing_chip(device *me, hw_eeprom_device *eeprom) argument
387 start_erasing_sector(device *me, hw_eeprom_device *eeprom, unsigned_word address) argument
407 finish_erasing_sector(device *me, hw_eeprom_device *eeprom) argument
426 toggle(hw_eeprom_device *eeprom, unsigned8 byte) argument
434 read_byte(device *me, hw_eeprom_device *eeprom, unsigned_word address) argument
525 hw_eeprom_device *eeprom = (hw_eeprom_device*)device_data(me); local
539 write_byte(device *me, hw_eeprom_device *eeprom, unsigned_word address, unsigned8 data) argument
715 hw_eeprom_device *eeprom = (hw_eeprom_device*)device_data(me); local
730 hw_eeprom_device *eeprom; member in struct:_hw_eeprom_instance
799 hw_eeprom_device *eeprom = device_data(me); local
828 hw_eeprom_device *eeprom = ZALLOC(hw_eeprom_device); local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sun3/include/
H A Deeprom.h1 /* $NetBSD: eeprom.h,v 1.17 2005/12/11 12:19:21 christos Exp $ */
35 #include <dev/sun/eeprom.h>
38 extern struct eeprom *eeprom_copy;
/netbsd-6-1-5-RELEASE/sys/arch/sun2/include/
H A Deeprom.h1 /* $NetBSD: eeprom.h,v 1.3 2005/12/11 12:19:16 christos Exp $ */
41 #include <dev/sun/eeprom.h>
H A DMakefile9 eeprom.h elf_machdep.h endian.h endian_machdep.h \
/netbsd-6-1-5-RELEASE/sys/arch/sparc/include/
H A Deeprom.h1 /* $NetBSD: eeprom.h,v 1.8 2006/03/04 03:39:02 uwe Exp $ */
35 #include <dev/sun/eeprom.h>
38 * The size of the eeprom on machines with the old clock is 2k. However,
39 * on machines with the new clock (and the `eeprom' in the nvram area)
42 * with the eeprom in general.
49 #define DEV_EEPROM 11 /* minor device 11 is eeprom */
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/ld/emulparams/
H A Dm68hc11elfb.sh6 EEPROM_MEMORY=eeprom
H A Dm68hc12elfb.sh6 EEPROM_MEMORY=eeprom
H A Dm68hc11elf.sh12 EEPROM_MEMORY=eeprom
H A Dm68hc12elf.sh12 EEPROM_MEMORY=eeprom
/netbsd-6-1-5-RELEASE/usr.sbin/eeprom/
H A DMakefile8 PROG= eeprom
34 MAN= eeprom.8
/netbsd-6-1-5-RELEASE/sys/dev/sun/
H A DMakefile6 INCS= disklabel.h eeprom.h fbio.h idprom.h kbd_reg.h kbio.h vuid_event.h
/netbsd-6-1-5-RELEASE/usr.sbin/eshconfig/
H A Deshconfig.c120 static u_int32_t eeprom[RR_EE_SIZE]; variable
375 * Store the current tuning data into the eeprom.
426 bzero(eeprom, sizeof(eeprom));
430 rr_eeprom.ifr_buffer = eeprom;
431 rr_eeprom.ifr_length = sizeof(eeprom);
438 write(fd, eeprom, sizeof(eeprom));
444 * Download into eeprom the contents of a file. The file is made up
474 /* Clear out eeprom storag
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/cesfic/cesfic/
H A Deeprom.c1 /* $NetBSD: eeprom.c,v 1.5 2009/03/18 17:06:43 cegger Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: eeprom.c,v 1.5 2009/03/18 17:06:43 cegger Exp $");
124 static struct EEPROMData eeprom; variable in typeref:struct:EEPROMData
133 res = GetEEPROMData(&eeprom);
140 memcpy(buf, eeprom.EtherAddr, 6);
/netbsd-6-1-5-RELEASE/sys/dev/isa/
H A Dif_ate.c212 uint8_t eeprom[FE_EEPROM_SIZE]; local
262 mb86965_read_eeprom(iot, ioh, eeprom);
265 if (eeprom[FE_EEPROM_CONF] != bus_space_read_1(iot, ioh, FE_BMPR19)) {
267 printf("%s: incorrect configuration in eeprom and chip\n",
279 switch (eeprom[FE_ATI_EEP_REVISION] & 0xf0) {
289 if (eeprom[FE_ATI_EEP_MAGIC] & 0x04) {
308 uint8_t eeprom[FE_EEPROM_SIZE]; local
312 mb86965_read_eeprom(iot, ioh, eeprom);
313 memcpy(enaddr, eeprom + FE_ATI_EEP_ADDR, ETHER_ADDR_LEN);
325 switch (eeprom[FE_ATI_EEP_MODE
[all...]
/netbsd-6-1-5-RELEASE/etc/etc.sun3/
H A DMAKEDEV.conf15 mkdev eeprom c 3 11 640 $g_kmem
/netbsd-6-1-5-RELEASE/sys/arch/sparc/sparc/
H A Deeprom.c1 /* $NetBSD: eeprom.c,v 1.8 2011/07/01 18:51:51 dyoung Exp $ */
33 * eeprom driver. Sun 4 machines use the old-style (a'la Sun 3) EEPROM.
37 * the 100/200 models, and the eeprom will be attached separately.
38 * On the 300/400 models, the eeprom will be dealt with when the clock
43 __KERNEL_RCSID(0, "$NetBSD: eeprom.c,v 1.8 2011/07/01 18:51:51 dyoung Exp $");
54 #include <machine/eeprom.h>
64 CFATTACH_DECL_NEW(eeprom, 0,
67 /* We support only one eeprom device */
83 /* We support only one eeprom device */
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m68hc11/
H A Ddv-m68hc11eepr.c41 Implements the 68HC11 eeprom device described in the m68hc11
49 Base of eeprom and its length.
53 Path of the EEPROM file. The default is 'm6811.eeprom'.
93 /* Current state of the eeprom programing:
110 located at the end of the EEPROM (eeprom size + 1). It is not mapped
117 uint8* eeprom; member in struct:m68hc11eepr
149 memset (controller->eeprom, 0xFF, size);
151 controller->eeprom[size - 1] = M6811_NOSEC | M6811_NOCOP
160 if (read (fd, controller->eeprom, size) != size)
168 if (write (fd, controller->eeprom, siz
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sun3/dev/
H A Deeprom.c1 /* $NetBSD: eeprom.c,v 1.30 2008/04/28 20:23:37 martin Exp $ */
41 __KERNEL_RCSID(0, "$NetBSD: eeprom.c,v 1.30 2008/04/28 20:23:37 martin Exp $");
54 #include <machine/eeprom.h>
60 struct eeprom *eeprom_copy; /* soft copy. */
72 CFATTACH_DECL_NEW(eeprom, 0,
98 if (sizeof(struct eeprom) != EEPROM_SIZE)
99 panic("eeprom struct wrong");
145 error = tsleep(&ee_busy, PZERO | PCATCH, "eeprom", 0);
166 * This is called by mem.c to handle /dev/eeprom
241 (void)tsleep(eeprom_va, PZERO - 1, "eeprom", h
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/dreamcast/dev/g2/
H A Dif_mbe_g2.c159 uint8_t eeprom[FE_EEPROM_SIZE]; local
168 memset(eeprom, 0, FE_EEPROM_SIZE);
171 mb86965_read_eeprom(iot, ioh, eeprom);
172 memcpy(enaddr, eeprom, ETHER_ADDR_LEN);
/netbsd-6-1-5-RELEASE/sys/dev/pci/ixgbe/
H A Dixgbe_common.c72 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; local
79 eeprom->ops.init_params = &ixgbe_init_eeprom_params_generic;
82 eeprom->ops.read = &ixgbe_read_eerd_generic;
84 eeprom->ops.read = &ixgbe_read_eeprom_bit_bang_generic;
85 eeprom->ops.write = &ixgbe_write_eeprom_generic;
86 eeprom->ops.validate_checksum =
88 eeprom->ops.update_checksum = &ixgbe_update_eeprom_checksum_generic;
89 eeprom->ops.calc_checksum = &ixgbe_calc_eeprom_checksum_generic;
369 ret_val = hw->eeprom
760 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/bktr/
H A Dbktr_card.c500 return -1; /* no eeprom found */
517 * However some makes of card (eg Hauppauge) come with a configuration eeprom
576 u_char eeprom[256]; local
638 if(readEEProm(bktr, 0, 256, (u_char *) &eeprom))
641 byte_252 = (unsigned int)eeprom[252];
642 byte_253 = (unsigned int)eeprom[253];
643 byte_254 = (unsigned int)eeprom[254];
644 byte_255 = (unsigned int)eeprom[255];
757 /* Read the eeprom contents */
761 readEEProm(bktr, 0, 128, (u_char *) &eeprom);
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/
H A Dbwtwo_obio.c94 #include <machine/eeprom.h>
142 struct eeprom *eep = (struct eeprom *)eeprom_va;
H A Dcgsix_obio.c56 #include <machine/eeprom.h>
112 struct eeprom *eep = (struct eeprom *)eeprom_va;
199 * Check to see if this is the console if there's no eeprom info
/netbsd-6-1-5-RELEASE/sys/dev/mca/
H A Dif_ate_mca.c218 uint8_t eeprom[FE_EEPROM_SIZE]; local
221 mb86965_read_eeprom(iot, ioh, eeprom);
222 memcpy(enaddr, eeprom + FE_ATI_EEP_ADDR, ETHER_ADDR_LEN);

Completed in 200 milliseconds

123