Home
last modified time | relevance | path

Searched refs:EEPROM_SIZE (Results 1 – 25 of 26) sorted by relevance

12

/drivers/media/usb/pvrusb2/
Dpvrusb2-eeprom.c42 #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()
Dpvrusb2-hdw.c3358 #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/
Deeprom.c33 #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/
Dni_labpc.h27 #define EEPROM_SIZE 256 /* 256 byte eeprom */ macro
91 unsigned int eeprom_data[EEPROM_SIZE];
Dcb_pcidda.c51 #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()
Dni_labpc.c1692 s->n_chan = EEPROM_SIZE; in labpc_common_attach()
/drivers/power/
Dolpc_battery.c513 #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/
Dtulip.h361 #define EEPROM_SIZE 512 /* 2 << EEPROM_ADDRLEN */ macro
439 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */
/drivers/net/wireless/rt2x00/
Drt2800pci.c96 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,
Drt2800usb.c745 EEPROM_SIZE); in rt2800usb_read_eeprom()
880 .eeprom_size = EEPROM_SIZE,
924 .eeprom_size = EEPROM_SIZE,
Drt2500usb.h59 #define EEPROM_SIZE 0x006a macro
Drt2400pci.h48 #define EEPROM_SIZE 0x0100 macro
Drt73usb.h50 #define EEPROM_SIZE 0x0100 macro
Drt2400pci.c185 .word_count = EEPROM_SIZE / sizeof(u16),
1459 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom()
1801 .eeprom_size = EEPROM_SIZE,
Drt2500usb.c262 .word_count = EEPROM_SIZE / sizeof(u16),
1348 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom()
1901 .eeprom_size = EEPROM_SIZE,
Drt2500pci.h59 #define EEPROM_SIZE 0x0200 macro
Drt2500pci.c185 .word_count = EEPROM_SIZE / sizeof(u16),
1585 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom()
2090 .eeprom_size = EEPROM_SIZE,
Drt73usb.c168 .word_count = EEPROM_SIZE / sizeof(u16),
1766 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom()
2386 .eeprom_size = EEPROM_SIZE,
Drt61pci.h57 #define EEPROM_SIZE 0x0100 macro
Drt61pci.c223 .word_count = EEPROM_SIZE / sizeof(u16),
2413 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom()
3052 .eeprom_size = EEPROM_SIZE,
Drt2800.h103 #define EEPROM_SIZE 0x0110 macro
Drt2800lib.c897 .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/
Dcxgb2.c89 #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/
Dqla3xxx.h811 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
/drivers/net/ethernet/micrel/
Dksz884x.c5951 #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()

12