/linux-6.6.21/drivers/media/usb/pvrusb2/ |
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()
|
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()
|
/linux-6.6.21/drivers/misc/eeprom/ |
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()
|
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ |
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,
|
D | rt2800pci.c | 137 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci() 380 .eeprom_size = EEPROM_SIZE,
|
D | rt2500usb.h | 46 #define EEPROM_SIZE 0x006e macro
|
D | rt2800usb.c | 605 EEPROM_SIZE); in rt2800usb_read_eeprom() 760 .eeprom_size = EEPROM_SIZE,
|
D | rt2400pci.h | 35 #define EEPROM_SIZE 0x0100 macro
|
D | rt73usb.h | 37 #define EEPROM_SIZE 0x0100 macro
|
D | rt2500pci.h | 46 #define EEPROM_SIZE 0x0200 macro
|
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,
|
D | rt2400pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1450 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom() 1803 .eeprom_size = EEPROM_SIZE,
|
D | rt2500pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1576 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom() 2101 .eeprom_size = EEPROM_SIZE,
|
D | rt61pci.h | 44 #define EEPROM_SIZE 0x0100 macro
|
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,
|
D | rt61pci.c | 212 .word_count = EEPROM_SIZE / sizeof(u16), 2320 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom() 2971 .eeprom_size = EEPROM_SIZE,
|
D | rt2800.h | 100 #define EEPROM_SIZE 0x0200 macro
|
D | rt2800lib.c | 1497 .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/ |
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()
|
/linux-6.6.21/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. */
|
/linux-6.6.21/drivers/power/supply/ |
D | olpc_battery.c | 527 #define EEPROM_SIZE (EEPROM_END - EEPROM_START) macro 555 .size = EEPROM_SIZE,
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/ |
D | qla3xxx.h | 810 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
|
D | qla3xxx.c | 538 for (index = 0; index < EEPROM_SIZE; index++) { in ql_get_nvram_params()
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
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()
|