Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-eeprom.c28 #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()
Dpvrusb2-hdw.c3324 #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()
/linux-6.6.21/drivers/misc/eeprom/
Deeprom.c24 #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()
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/
Drt2800soc.c95 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,
Drt2800pci.c137 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci()
380 .eeprom_size = EEPROM_SIZE,
Drt2500usb.h46 #define EEPROM_SIZE 0x006e macro
Drt2800usb.c605 EEPROM_SIZE); in rt2800usb_read_eeprom()
760 .eeprom_size = EEPROM_SIZE,
Drt2400pci.h35 #define EEPROM_SIZE 0x0100 macro
Drt73usb.h37 #define EEPROM_SIZE 0x0100 macro
Drt2500pci.h46 #define EEPROM_SIZE 0x0200 macro
Drt2500usb.c237 .word_count = EEPROM_SIZE / sizeof(u16),
1323 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom()
1890 .eeprom_size = EEPROM_SIZE,
Drt2400pci.c174 .word_count = EEPROM_SIZE / sizeof(u16),
1450 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom()
1803 .eeprom_size = EEPROM_SIZE,
Drt2500pci.c174 .word_count = EEPROM_SIZE / sizeof(u16),
1576 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom()
2101 .eeprom_size = EEPROM_SIZE,
Drt61pci.h44 #define EEPROM_SIZE 0x0100 macro
Drt73usb.c157 .word_count = EEPROM_SIZE / sizeof(u16),
1755 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom()
2387 .eeprom_size = EEPROM_SIZE,
Drt61pci.c212 .word_count = EEPROM_SIZE / sizeof(u16),
2320 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom()
2971 .eeprom_size = EEPROM_SIZE,
Drt2800.h100 #define EEPROM_SIZE 0x0200 macro
Drt2800lib.c1497 .word_count = EEPROM_SIZE / sizeof(u16),
10834 for (i = 0; i < EEPROM_SIZE / sizeof(u16); i += 8) in rt2800_read_eeprom_efuse()
/linux-6.6.21/drivers/comedi/drivers/
Dcb_pcidda.c33 #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()
/linux-6.6.21/drivers/net/ethernet/dec/tulip/
Dtulip.h361 #define EEPROM_SIZE 512 /* 2 << EEPROM_ADDRLEN */ macro
439 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */
/linux-6.6.21/drivers/power/supply/
Dolpc_battery.c527 #define EEPROM_SIZE (EEPROM_END - EEPROM_START) macro
555 .size = EEPROM_SIZE,
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c87 #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()
/linux-6.6.21/drivers/net/ethernet/qlogic/
Dqla3xxx.h810 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
Dqla3xxx.c538 for (index = 0; index < EEPROM_SIZE; index++) { in ql_get_nvram_params()
/linux-6.6.21/drivers/net/ethernet/micrel/
Dksz884x.c5542 #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()