/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 42 #define EEPROM_SIZE 128 macro 56 eeprom = kmalloc(EEPROM_SIZE,GFP_KERNEL); in pvr2_eeprom_fetch() 92 memset(eeprom,0,EEPROM_SIZE); in pvr2_eeprom_fetch() 93 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 95 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 96 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_eeprom_fetch()
|
D | pvrusb2-hdw.c | 3358 #define EEPROM_SIZE 8192 macro 3371 eeprom = kmalloc(EEPROM_SIZE,GFP_KERNEL); in pvr2_full_eeprom_fetch() 3391 eepromSize = (mode16 ? EEPROM_SIZE : 256); in pvr2_full_eeprom_fetch() 3407 memset(eeprom,0,EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3408 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3410 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3411 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3498 hdw->fw_size = EEPROM_SIZE; in pvr2_hdw_cpufw_set_enabled()
|
/drivers/misc/eeprom/ |
D | eeprom.c | 33 #define EEPROM_SIZE 256 macro 46 u8 data[EEPROM_SIZE]; /* Register values */ 92 if (off > EEPROM_SIZE) in eeprom_read() 94 if (off + count > EEPROM_SIZE) in eeprom_read() 95 count = EEPROM_SIZE - off; in eeprom_read() 127 .size = EEPROM_SIZE, 170 memset(data->data, 0xff, EEPROM_SIZE); in eeprom_probe()
|
/drivers/staging/comedi/drivers/ |
D | ni_labpc.h | 27 #define EEPROM_SIZE 256 /* 256 byte eeprom */ macro 91 unsigned int eeprom_data[EEPROM_SIZE];
|
D | cb_pcidda.c | 51 #define EEPROM_SIZE 128 /* number of entries in eeprom */ macro 164 u16 eeprom_data[EEPROM_SIZE]; /* software copy of board's eeprom */ 388 for (i = 0; i < EEPROM_SIZE; i++) in cb_pcidda_auto_attach()
|
D | ni_labpc.c | 1692 s->n_chan = EEPROM_SIZE; in labpc_common_attach()
|
/drivers/power/ |
D | olpc_battery.c | 513 #define EEPROM_SIZE (EEPROM_END - EEPROM_START) macro 522 if (off >= EEPROM_SIZE) in olpc_bat_eeprom_read() 524 if (off + count > EEPROM_SIZE) in olpc_bat_eeprom_read() 525 count = EEPROM_SIZE - off; in olpc_bat_eeprom_read()
|
/drivers/net/ethernet/dec/tulip/ |
D | tulip.h | 361 #define EEPROM_SIZE 512 /* 2 << EEPROM_ADDRLEN */ macro 439 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */
|
/drivers/net/wireless/rt2x00/ |
D | rt2800pci.c | 96 void __iomem *base_addr = ioremap(0x1F040000, EEPROM_SIZE); in rt2800pci_read_eeprom_soc() 101 memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE); in rt2800pci_read_eeprom_soc() 172 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci() 1217 .eeprom_size = EEPROM_SIZE,
|
D | rt2800usb.c | 745 EEPROM_SIZE); in rt2800usb_read_eeprom() 880 .eeprom_size = EEPROM_SIZE, 924 .eeprom_size = EEPROM_SIZE,
|
D | rt2500usb.h | 59 #define EEPROM_SIZE 0x006a macro
|
D | rt2400pci.h | 48 #define EEPROM_SIZE 0x0100 macro
|
D | rt73usb.h | 50 #define EEPROM_SIZE 0x0100 macro
|
D | rt2400pci.c | 185 .word_count = EEPROM_SIZE / sizeof(u16), 1459 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom() 1801 .eeprom_size = EEPROM_SIZE,
|
D | rt2500usb.c | 262 .word_count = EEPROM_SIZE / sizeof(u16), 1348 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom() 1901 .eeprom_size = EEPROM_SIZE,
|
D | rt2500pci.h | 59 #define EEPROM_SIZE 0x0200 macro
|
D | rt2500pci.c | 185 .word_count = EEPROM_SIZE / sizeof(u16), 1585 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom() 2090 .eeprom_size = EEPROM_SIZE,
|
D | rt73usb.c | 168 .word_count = EEPROM_SIZE / sizeof(u16), 1766 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom() 2386 .eeprom_size = EEPROM_SIZE,
|
D | rt61pci.h | 57 #define EEPROM_SIZE 0x0100 macro
|
D | rt61pci.c | 223 .word_count = EEPROM_SIZE / sizeof(u16), 2413 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom() 3052 .eeprom_size = EEPROM_SIZE,
|
D | rt2800.h | 103 #define EEPROM_SIZE 0x0110 macro
|
D | rt2800lib.c | 897 .word_count = EEPROM_SIZE / sizeof(u16), 5335 for (i = 0; i < EEPROM_SIZE / sizeof(u16); i += 8) in rt2800_read_eeprom_efuse()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 89 #define EEPROM_SIZE 32 macro 772 return t1_is_asic(adapter) ? EEPROM_SIZE : 0; in get_eeprom_len() 782 u8 buf[EEPROM_SIZE] __attribute__((aligned(4))); in get_eeprom()
|
/drivers/net/ethernet/qlogic/ |
D | qla3xxx.h | 811 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 5951 #define EEPROM_SIZE 0x40 macro 5953 static u16 eeprom_data[EEPROM_SIZE] = { 0 }; 6263 return EEPROM_SIZE * 2; in netdev_get_eeprom_len() 6311 u16 eeprom_word[EEPROM_SIZE]; in netdev_set_eeprom() 6322 memcpy(eeprom_word, eeprom_data, EEPROM_SIZE * 2); in netdev_set_eeprom() 6324 for (i = 0; i < EEPROM_SIZE; i++) in netdev_set_eeprom()
|