/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 | 3322 #define EEPROM_SIZE 8192 macro 3335 eeprom = kzalloc(EEPROM_SIZE, GFP_KERNEL); in pvr2_full_eeprom_fetch() 3354 eepromSize = (mode16 ? EEPROM_SIZE : 256); in pvr2_full_eeprom_fetch() 3370 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3372 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3373 offs = tcnt + (eepromSize - EEPROM_SIZE); in pvr2_full_eeprom_fetch() 3461 hdw->fw_size = EEPROM_SIZE; in pvr2_hdw_cpufw_set_enabled()
|
/drivers/misc/eeprom/ |
D | eeprom.c | 24 #define EEPROM_SIZE 256 macro 37 u8 data[EEPROM_SIZE]; /* Register values */ 113 .size = EEPROM_SIZE, 155 memset(data->data, 0xff, EEPROM_SIZE); in eeprom_probe()
|
/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() 224 .eeprom_size = EEPROM_SIZE,
|
D | rt2800pci.c | 137 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci() 379 .eeprom_size = EEPROM_SIZE,
|
D | rt2800usb.c | 605 EEPROM_SIZE); in rt2800usb_read_eeprom() 759 .eeprom_size = EEPROM_SIZE,
|
D | rt2500usb.h | 46 #define EEPROM_SIZE 0x006e macro
|
D | rt2400pci.h | 35 #define EEPROM_SIZE 0x0100 macro
|
D | rt73usb.h | 37 #define EEPROM_SIZE 0x0100 macro
|
D | rt2500usb.c | 237 .word_count = EEPROM_SIZE / sizeof(u16), 1323 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom() 1889 .eeprom_size = EEPROM_SIZE,
|
D | rt2400pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1450 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom() 1802 .eeprom_size = EEPROM_SIZE,
|
D | rt2500pci.h | 46 #define EEPROM_SIZE 0x0200 macro
|
D | rt2500pci.c | 174 .word_count = EEPROM_SIZE / sizeof(u16), 1576 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom() 2100 .eeprom_size = EEPROM_SIZE,
|
D | rt73usb.c | 157 .word_count = EEPROM_SIZE / sizeof(u16), 1755 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom() 2386 .eeprom_size = EEPROM_SIZE,
|
D | rt61pci.h | 44 #define EEPROM_SIZE 0x0100 macro
|
D | rt61pci.c | 212 .word_count = EEPROM_SIZE / sizeof(u16), 2320 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom() 2970 .eeprom_size = EEPROM_SIZE,
|
D | rt2800.h | 100 #define EEPROM_SIZE 0x0200 macro
|
D | rt2800lib.c | 1497 .word_count = EEPROM_SIZE / sizeof(u16), 10813 for (i = 0; i < EEPROM_SIZE / sizeof(u16); i += 8) in rt2800_read_eeprom_efuse()
|
/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()
|
/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/power/supply/ |
D | olpc_battery.c | 527 #define EEPROM_SIZE (EEPROM_END - EEPROM_START) macro 555 .size = EEPROM_SIZE,
|
/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()
|
/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()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 5840 #define EEPROM_SIZE 0x40 macro 5842 static u16 eeprom_data[EEPROM_SIZE] = { 0 }; 6166 return EEPROM_SIZE * 2; in netdev_get_eeprom_len() 6214 u16 eeprom_word[EEPROM_SIZE]; in netdev_set_eeprom() 6225 memcpy(eeprom_word, eeprom_data, EEPROM_SIZE * 2); in netdev_set_eeprom() 6227 for (i = 0; i < EEPROM_SIZE; i++) in netdev_set_eeprom()
|