/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/drivers/ |
H A D | eeprom.c | 74 *! 2.4 port of eeprom driver 120 /* This one defines how many times to try when eeprom fails. */ 131 * This structure describes the attached eeprom chip. 169 static const char eeprom_name[] = "eeprom"; 172 static struct eeprom_type eeprom; variable in typeref:struct:eeprom_type 184 /* eeprom init call. Probes for different eeprom models. */ 188 init_waitqueue_head(&eeprom.wait_q); 189 eeprom.busy = 0; 198 printk(KERN_INFO "%s: unable to get major %d for eeprom devic [all...] |
H A D | Makefile | 7 obj-$(CONFIG_ETRAX_I2C_EEPROM) += eeprom.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/pvrusb2/ |
H A D | pvrusb2-eeprom.c | 3 * $Id: pvrusb2-eeprom.c,v 1.1.1.1 2007/08/03 18:52:41 Exp $ 23 #include "pvrusb2-eeprom.h" 33 Read and analyze data in the eeprom. Use tveeprom to figure out 48 u8 *eeprom; local 56 eeprom = kmalloc(EEPROM_SIZE,GFP_KERNEL); 57 if (!eeprom) { 60 " required to read eeprom"); 64 trace_eeprom("Value for eeprom addr from controller was 0x%x", 67 /* Seems that if the high bit is set, then the *real* eeprom 72 /* FX2 documentation states that a 16bit-addressed eeprom i 120 u8 *eeprom; local [all...] |
H A D | Makefile | 7 pvrusb2-eeprom.o pvrusb2-tuner.o \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/ |
H A D | Makefile | 8 obj-$(CONFIG_DVB_BUDGET) += budget-core.o budget.o ttpci-eeprom.o 9 obj-$(CONFIG_DVB_BUDGET_AV) += budget-core.o budget-av.o ttpci-eeprom.o 10 obj-$(CONFIG_DVB_BUDGET_CI) += budget-core.o budget-ci.o ttpci-eeprom.o 11 obj-$(CONFIG_DVB_BUDGET_PATCH) += budget-core.o budget-patch.o ttpci-eeprom.o 12 obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o ttpci-eeprom.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ |
H A D | myri_sbus.c | 181 for (i = 0; i < mp->eeprom.ramsz; i++) 184 if (mp->eeprom.cpuvers >= CPUVERS_3_0) 185 sbus_writel(mp->eeprom.cval, mp->lregs + LANAI_CVAL); 226 if (mp->eeprom.cpuvers == CPUVERS_4_0) 820 mp->eeprom.id[0] = 0; 821 mp->eeprom.id[1] = idprom->id_machtype; 822 mp->eeprom.id[2] = (idprom->id_sernum >> 16) & 0xff; 823 mp->eeprom.id[3] = (idprom->id_sernum >> 8) & 0xff; 824 mp->eeprom.id[4] = (idprom->id_sernum >> 0) & 0xff; 825 mp->eeprom [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/ |
H A D | ethtool.c | 46 struct ethtool_eeprom *eeprom, u8 * bytes) 55 regctrl.offset = eeprom->offset; 56 regctrl.NOB = eeprom->len; 58 if (eeprom->offset + eeprom->len > LIBERTAS_EEPROM_LEN) 64 (char *)kmalloc(eeprom->len+sizeof(regctrl), GFP_KERNEL); 96 memcpy(bytes, ptr, eeprom->len); 45 libertas_ethtool_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, u8 * bytes) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/ |
H A D | Makefile | 16 tulip-objs := eeprom.o interrupt.o media.o \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixgb/ |
H A D | ixgb_ee.c | 377 struct ixgb_ee_map_type *ee_map = (struct ixgb_ee_map_type *)hw->eeprom; 426 * The 16-bit value read from the eeprom 454 * Reads eeprom and stores data in shared structure. 455 * Validates eeprom checksum and eeprom signature. 460 * TRUE: if eeprom read is successful 472 ee_map = (struct ixgb_ee_map_type *)hw->eeprom; 474 DEBUGOUT("ixgb_ee: Reading eeprom data\n"); 479 hw->eeprom[i] = le16_to_cpu(ee_data); 500 * Local function to check if the eeprom signatur [all...] |
H A D | ixgb_ethtool.c | 422 struct ethtool_eeprom *eeprom, uint8_t *bytes) 430 if(eeprom->len == 0) { 435 eeprom->magic = hw->vendor_id | (hw->device_id << 16); 439 if(eeprom->offset > eeprom->offset + eeprom->len) { 444 if((eeprom->offset + eeprom->len) > max_len) 445 eeprom->len = (max_len - eeprom 421 ixgb_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, uint8_t *bytes) argument 469 ixgb_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, uint8_t *bytes) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/chips/ |
H A D | Makefile | 7 obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/ |
H A D | ethtool.c | 284 struct ethtool_eeprom eeprom; local 292 if (copy_from_user(&eeprom, useraddr, sizeof(eeprom))) 296 if (eeprom.offset + eeprom.len <= eeprom.offset) 299 /* Check for exceeding total eeprom len */ 300 if (eeprom.offset + eeprom.len > ops->get_eeprom_len(dev)) 303 data = kmalloc(eeprom 329 struct ethtool_eeprom eeprom; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/b2c2/ |
H A D | Makefile | 2 flexcop-sram.o flexcop-eeprom.o flexcop-misc.o flexcop-hw-filter.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/ |
H A D | ice1724.c | 391 if (ice->eeprom.data[ICE_EEP2_ACLINK] & VT1724_CFG_PRO_I2S) { 392 if ((ice->eeprom.data[ICE_EEP2_I2S] & 0x08) && !ice->vt1720) 456 if (ice->eeprom.data[ICE_EEP2_ACLINK] & VT1724_CFG_PRO_I2S) { 717 if (ice->eeprom.data[ICE_EEP2_ACLINK] & VT1724_CFG_PRO_I2S) { 720 if ((ice->eeprom.data[ICE_EEP2_I2S] & 0x08) && !ice->vt1720) 1024 (ice->eeprom.data[ICE_EEP2_SPDIF] & VT1724_CFG_SPDIF_OUT_INT)) { 1030 (ice->eeprom.data[ICE_EEP2_SPDIF] & VT1724_CFG_SPDIF_IN)) { 1189 if (! (ice->eeprom.data[ICE_EEP2_ACLINK] & VT1724_CFG_PRO_I2S)) { 1222 return (unsigned int)ice->eeprom.data[idx] | \ 1223 ((unsigned int)ice->eeprom [all...] |
H A D | ice1712.c | 1534 if (! (ice->eeprom.data[ICE_EEP1_ACLINK] & ICE1712_CFG_PRO_I2S)) { 1556 return (unsigned int)ice->eeprom.data[idx] | ((unsigned int)ice->eeprom.data[idx + 1] << 8); 1568 snd_iprintf(buffer, " Subvendor : 0x%x\n", ice->eeprom.subvendor); 1569 snd_iprintf(buffer, " Size : %i bytes\n", ice->eeprom.size); 1570 snd_iprintf(buffer, " Version : %i\n", ice->eeprom.version); 1571 snd_iprintf(buffer, " Codec : 0x%x\n", ice->eeprom.data[ICE_EEP1_CODEC]); 1572 snd_iprintf(buffer, " ACLink : 0x%x\n", ice->eeprom.data[ICE_EEP1_ACLINK]); 1573 snd_iprintf(buffer, " I2S ID : 0x%x\n", ice->eeprom.data[ICE_EEP1_I2SID]); 1574 snd_iprintf(buffer, " S/PDIF : 0x%x\n", ice->eeprom [all...] |
H A D | amp.c | 61 if (ice->eeprom.subvendor == VT1724_SUBDEVICE_AV710) {
|
H A D | delta.c | 89 switch (ice->eeprom.subvendor) { 112 switch (ice->eeprom.subvendor) { 546 switch (ice->eeprom.subvendor) { 576 switch (ice->eeprom.subvendor) { 610 switch (ice->eeprom.subvendor) { 623 switch (ice->eeprom.subvendor) { 670 switch (ice->eeprom.subvendor) { 696 switch (ice->eeprom.subvendor) { 708 switch (ice->eeprom.subvendor) { 720 switch (ice->eeprom [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/e1000/ |
H A D | e1000_hw.c | 1467 /* Wait 15ms for MAC to configure PHY from eeprom settings */ 4406 * Sets up eeprom variables in the hw struct. Must be called after mac_type 4415 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 4427 eeprom->type = e1000_eeprom_microwire; 4428 eeprom->word_size = 64; 4429 eeprom->opcode_bits = 3; 4430 eeprom->address_bits = 6; 4431 eeprom->delay_usec = 50; 4432 eeprom 4646 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 4741 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 4800 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 4949 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 5297 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 5354 struct e1000_eeprom_info *eeprom = &hw->eeprom; local 5420 struct e1000_eeprom_info *eeprom = &hw->eeprom; local [all...] |
H A D | e1000_ethtool.c | 479 return adapter->hw.eeprom.word_size * 2; 484 struct ethtool_eeprom *eeprom, uint8_t *bytes) 493 if (eeprom->len == 0) 496 eeprom->magic = hw->vendor_id | (hw->device_id << 16); 498 first_word = eeprom->offset >> 1; 499 last_word = (eeprom->offset + eeprom->len - 1) >> 1; 506 if (hw->eeprom.type == e1000_eeprom_spi) 517 /* Device's eeprom is always little-endian, word addressable */ 521 memcpy(bytes, (uint8_t *)eeprom_buff + (eeprom 483 e1000_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, uint8_t *bytes) argument 529 e1000_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, uint8_t *bytes) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | dc395x.c | 334 struct NvRamType eeprom; /* eeprom settings for this adapter */ member in struct:AdapterCtlBlk 619 * Mapping from the eeprom delay index value (index into this array) 627 * eeprom_index_to_delay - Take the eeprom delay setting and convert it 630 * @eeprom: The eeprom structure in which we find the delay index to map. 632 static void __devinit eeprom_index_to_delay(struct NvRamType *eeprom) argument 634 eeprom->delay_time = eeprom_index_to_delay_map[eeprom->delay_time]; 640 * closest eeprom inde 661 eeprom_override(struct NvRamType *eeprom) argument 1285 struct NvRamType *eeprom = &acb->eeprom; local 3670 struct NvRamType *eeprom = &acb->eeprom; local 3993 trms1040_write_all(struct NvRamType *eeprom, unsigned long io_port) argument 4071 trms1040_read_all(struct NvRamType *eeprom, unsigned long io_port) argument 4101 check_eeprom(struct NvRamType *eeprom, unsigned long io_port) argument 4171 print_eeprom_settings(struct NvRamType *eeprom) argument 4291 struct NvRamType *eeprom = &acb->eeprom; local 4354 struct NvRamType *eeprom = &acb->eeprom; local 4394 struct NvRamType *eeprom = &acb->eeprom; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/netxen/ |
H A D | netxen_nic_ethtool.c | 418 netxen_nic_get_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, argument 425 if (eeprom->len == 0) 428 eeprom->magic = (adapter->pdev)->vendor | 430 offset = eeprom->offset; 433 eeprom->len); 441 netxen_nic_set_eeprom(struct net_device *dev, struct ethtool_eeprom *eeprom, argument 445 int offset = eeprom->offset; 508 return netxen_rom_fast_write_words(adapter, offset, bytes, eeprom->len);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/lasat/ |
H A D | prom.c | 17 #include <asm/lasat/eeprom.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/ |
H A D | sc-ip22.c | 150 unsigned int size = ip22_eeprom_read(&sgimc->eeprom, 17);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/ |
H A D | asix.c | 672 struct ethtool_eeprom *eeprom, u8 *data) 681 if (eeprom->len % 2) 684 eeprom->magic = AX_EEPROM_MAGIC; 686 /* ax8817x returns 2 bytes from eeprom on read */ 687 for (i=0; i < eeprom->len / 2; i++) { 689 eeprom->offset + i, 0, 2, &ebuf[i]) < 0) 1199 u16 eeprom; local 1212 eeprom = 0; 1213 asix_read_cmd(dev, AX_CMD_READ_GPIOS, 0, 0, 1, &eeprom); 1214 dbg("GPIO Status: 0x%04x", eeprom); 671 asix_get_eeprom(struct net_device *net, struct ethtool_eeprom *eeprom, u8 *data) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/powermac/ |
H A D | cpufreq_64.c | 544 const u8 *eeprom = NULL; local 563 /* Lookup the cpuid eeprom node */ 566 eeprom = of_get_property(cpuid, "cpuid", NULL); 567 if (eeprom == NULL) { 654 ih = *((u32 *)(eeprom + 0x10)); 655 il = *((u32 *)(eeprom + 0x20));
|