/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-eeprom.c | 28 #define EEPROM_SIZE 128 macro 42 eeprom = kzalloc(EEPROM_SIZE, GFP_KERNEL); in pvr2_eeprom_fetch() 77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 80 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
|
H A D | pvrusb2-hdw.c | 3324 #define EEPROM_SIZE 8192 macro 3337 eeprom = kzalloc(EEPROM_SIZE, GFP_KERNEL); in pvr2_full_eeprom_fetch() 3356 eepromSize = (mode16 ? EEPROM_SIZE : 256); in pvr2_full_eeprom_fetch() 3372 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3374 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3375 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3463 hdw->fw_size = EEPROM_SIZE; in pvr2_hdw_cpufw_set_enabled()
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | eeprom.c | 24 #define EEPROM_SIZE 256 macro 37 u8 data[EEPROM_SIZE]; /* Register values */ 113 .size = EEPROM_SIZE, 154 memset(data->data, 0xff, EEPROM_SIZE); in eeprom_probe()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800soc.c | 95 void __iomem *base_addr = ioremap(0x1F040000, EEPROM_SIZE); in rt2800soc_read_eeprom() 100 memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE); in rt2800soc_read_eeprom() 225 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2800pci.c | 137 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci() 380 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2500usb.h | 46 #define EEPROM_SIZE 0x006e macro
|
H A D | rt2800usb.c | 605 EEPROM_SIZE); in rt2800usb_read_eeprom() 760 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2400pci.h | 35 #define EEPROM_SIZE 0x0100 macro
|
H A D | rt73usb.h | 37 #define EEPROM_SIZE 0x0100 macro
|
H A D | rt2400pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1450 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom() 1803 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2500usb.c | 237 .word_count = EEPROM_SIZE / sizeof(u16), 1323 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom() 1890 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2500pci.h | 46 #define EEPROM_SIZE 0x0200 macro
|
H A D | rt2500pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1576 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom() 2101 .eeprom_size = EEPROM_SIZE,
|
H A D | rt73usb.c | 157 .word_count = EEPROM_SIZE / sizeof(u16), 1755 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom() 2387 .eeprom_size = EEPROM_SIZE,
|
H A D | rt61pci.h | 44 #define EEPROM_SIZE 0x0100 macro
|
H A D | rt61pci.c | 212 .word_count = EEPROM_SIZE / sizeof(u16), 2320 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom() 2971 .eeprom_size = EEPROM_SIZE,
|
H A D | rt2800.h | 100 #define EEPROM_SIZE 0x0200 macro
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | cb_pcidda.c | 33 #define EEPROM_SIZE 128 /* number of entries in eeprom */ macro 147 u16 eeprom_data[EEPROM_SIZE]; /* software copy of board's eeprom */ 374 for (i = 0; i < EEPROM_SIZE; i++) in cb_pcidda_auto_attach()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | tulip.h | 361 #define EEPROM_SIZE 512 /* 2 << EEPROM_ADDRLEN */ macro 439 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */
|
/openbmc/qemu/hw/net/ |
H A D | eepro100.c | 109 #define EEPROM_SIZE 64 macro 570 #if EEPROM_SIZE > 0 in e100_pci_reset() 600 for (i = 0; i < EEPROM_SIZE - 1; i++) { in nic_selective_reset() 603 eeprom_contents[EEPROM_SIZE - 1] = 0xbaba - sum; in nic_selective_reset() 604 TRACE(EEPROM, logout("checksum=0x%04x\n", eeprom_contents[EEPROM_SIZE - 1])); in nic_selective_reset() 1859 s->eeprom = eeprom93xx_new(&pci_dev->qdev, EEPROM_SIZE); in e100_nic_realize() 1993 #if EEPROM_SIZE > 0
|
/openbmc/linux/drivers/power/supply/ |
H A D | olpc_battery.c | 527 #define EEPROM_SIZE (EEPROM_END - EEPROM_START) macro 555 .size = EEPROM_SIZE,
|
/openbmc/u-boot/drivers/net/ |
H A D | natsemi.c | 61 #define EEPROM_SIZE 0xb /*12 16-bit chunks, or 24 bytes*/ macro 359 for (i = 0; i <= EEPROM_SIZE; i++) { in natsemi_initialize()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 87 #define EEPROM_SIZE 32 macro 784 return t1_is_asic(adapter) ? EEPROM_SIZE : 0; in get_eeprom_len() 794 u8 buf[EEPROM_SIZE] __attribute__((aligned(4))); in get_eeprom()
|
/openbmc/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 5542 #define EEPROM_SIZE 0x40 macro 5544 static u16 eeprom_data[EEPROM_SIZE] = { 0 }; 5868 return EEPROM_SIZE * 2; in netdev_get_eeprom_len() 5916 u16 eeprom_word[EEPROM_SIZE]; in netdev_set_eeprom() 5927 memcpy(eeprom_word, eeprom_data, EEPROM_SIZE * 2); in netdev_set_eeprom() 5929 for (i = 0; i < EEPROM_SIZE; i++) in netdev_set_eeprom()
|
/openbmc/linux/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.h | 810 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
|