Home
last modified time | relevance | path

Searched refs:EEPROM_SIZE (Results 1 – 25 of 27) 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.c3362 #define EEPROM_SIZE 8192 macro
3375 eeprom = kmalloc(EEPROM_SIZE,GFP_KERNEL); in pvr2_full_eeprom_fetch()
3395 eepromSize = (mode16 ? EEPROM_SIZE : 256); in pvr2_full_eeprom_fetch()
3411 memset(eeprom,0,EEPROM_SIZE); in pvr2_full_eeprom_fetch()
3412 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3414 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3415 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch()
3502 hdw->fw_size = EEPROM_SIZE; in pvr2_hdw_cpufw_set_enabled()
/drivers/misc/eeprom/
Deeprom.c32 #define EEPROM_SIZE 256 macro
45 u8 data[EEPROM_SIZE]; /* Register values */
91 if (off > EEPROM_SIZE) in eeprom_read()
93 if (off + count > EEPROM_SIZE) in eeprom_read()
94 count = EEPROM_SIZE - off; in eeprom_read()
126 .size = EEPROM_SIZE,
168 memset(data->data, 0xff, EEPROM_SIZE); in eeprom_probe()
/drivers/staging/comedi/drivers/
Dni_labpc.h22 #define EEPROM_SIZE 256 /* 256 byte eeprom */ macro
74 unsigned int eeprom_data[EEPROM_SIZE];
Dcb_pcidda.c48 #define EEPROM_SIZE 128 /* number of entries in eeprom */ macro
162 u16 eeprom_data[EEPROM_SIZE]; /* software copy of board's eeprom */
387 for (i = 0; i < EEPROM_SIZE; i++) in cb_pcidda_auto_attach()
Dni_labpc_common.c1359 s->n_chan = EEPROM_SIZE; in labpc_common_attach()
/drivers/net/wireless/rt2x00/
Drt2800soc.c100 void __iomem *base_addr = ioremap(0x1F040000, EEPROM_SIZE); in rt2800soc_read_eeprom()
105 memcpy_fromio(rt2x00dev->eeprom, base_addr, EEPROM_SIZE); in rt2800soc_read_eeprom()
227 .eeprom_size = EEPROM_SIZE,
Drt2800pci.c148 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci()
388 .eeprom_size = EEPROM_SIZE,
Drt2500usb.h57 #define EEPROM_SIZE 0x006a macro
Drt2400pci.h46 #define EEPROM_SIZE 0x0100 macro
Drt2800usb.c795 EEPROM_SIZE); in rt2800usb_read_eeprom()
949 .eeprom_size = EEPROM_SIZE,
Drt73usb.h48 #define EEPROM_SIZE 0x0100 macro
Drt2500usb.c259 .word_count = EEPROM_SIZE / sizeof(u16),
1345 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom()
1915 .eeprom_size = EEPROM_SIZE,
Drt2400pci.c182 .word_count = EEPROM_SIZE / sizeof(u16),
1456 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom()
1810 .eeprom_size = EEPROM_SIZE,
Drt2500pci.h57 #define EEPROM_SIZE 0x0200 macro
Drt2500pci.c182 .word_count = EEPROM_SIZE / sizeof(u16),
1582 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom()
2109 .eeprom_size = EEPROM_SIZE,
Drt73usb.c165 .word_count = EEPROM_SIZE / sizeof(u16),
1763 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom()
2398 .eeprom_size = EEPROM_SIZE,
Drt61pci.h55 #define EEPROM_SIZE 0x0100 macro
Drt61pci.c220 .word_count = EEPROM_SIZE / sizeof(u16),
2410 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom()
3064 .eeprom_size = EEPROM_SIZE,
Drt2800.h106 #define EEPROM_SIZE 0x0200 macro
/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/ethernet/chelsio/cxgb/
Dcxgb2.c87 #define EEPROM_SIZE 32 macro
770 return t1_is_asic(adapter) ? EEPROM_SIZE : 0; in get_eeprom_len()
780 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.c5947 #define EEPROM_SIZE 0x40 macro
5949 static u16 eeprom_data[EEPROM_SIZE] = { 0 };
6259 return EEPROM_SIZE * 2; in netdev_get_eeprom_len()
6307 u16 eeprom_word[EEPROM_SIZE]; in netdev_set_eeprom()
6318 memcpy(eeprom_word, eeprom_data, EEPROM_SIZE * 2); in netdev_set_eeprom()
6320 for (i = 0; i < EEPROM_SIZE; i++) in netdev_set_eeprom()

12