/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 42 #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()
|
D | pvrusb2-hdw.c | 3362 #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/ |
D | eeprom.c | 32 #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/ |
D | ni_labpc.h | 22 #define EEPROM_SIZE 256 /* 256 byte eeprom */ macro 74 unsigned int eeprom_data[EEPROM_SIZE];
|
D | cb_pcidda.c | 48 #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()
|
D | ni_labpc_common.c | 1359 s->n_chan = EEPROM_SIZE; in labpc_common_attach()
|
/drivers/net/wireless/rt2x00/ |
D | rt2800soc.c | 100 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,
|
D | rt2800pci.c | 148 EEPROM_SIZE / sizeof(u16)); in rt2800pci_read_eeprom_pci() 388 .eeprom_size = EEPROM_SIZE,
|
D | rt2500usb.h | 57 #define EEPROM_SIZE 0x006a macro
|
D | rt2400pci.h | 46 #define EEPROM_SIZE 0x0100 macro
|
D | rt2800usb.c | 795 EEPROM_SIZE); in rt2800usb_read_eeprom() 949 .eeprom_size = EEPROM_SIZE,
|
D | rt73usb.h | 48 #define EEPROM_SIZE 0x0100 macro
|
D | rt2500usb.c | 259 .word_count = EEPROM_SIZE / sizeof(u16), 1345 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt2500usb_validate_eeprom() 1915 .eeprom_size = EEPROM_SIZE,
|
D | rt2400pci.c | 182 .word_count = EEPROM_SIZE / sizeof(u16), 1456 EEPROM_SIZE / sizeof(u16)); in rt2400pci_validate_eeprom() 1810 .eeprom_size = EEPROM_SIZE,
|
D | rt2500pci.h | 57 #define EEPROM_SIZE 0x0200 macro
|
D | rt2500pci.c | 182 .word_count = EEPROM_SIZE / sizeof(u16), 1582 EEPROM_SIZE / sizeof(u16)); in rt2500pci_validate_eeprom() 2109 .eeprom_size = EEPROM_SIZE,
|
D | rt73usb.c | 165 .word_count = EEPROM_SIZE / sizeof(u16), 1763 rt2x00usb_eeprom_read(rt2x00dev, rt2x00dev->eeprom, EEPROM_SIZE); in rt73usb_validate_eeprom() 2398 .eeprom_size = EEPROM_SIZE,
|
D | rt61pci.h | 55 #define EEPROM_SIZE 0x0100 macro
|
D | rt61pci.c | 220 .word_count = EEPROM_SIZE / sizeof(u16), 2410 EEPROM_SIZE / sizeof(u16)); in rt61pci_validate_eeprom() 3064 .eeprom_size = EEPROM_SIZE,
|
D | rt2800.h | 106 #define EEPROM_SIZE 0x0200 macro
|
/drivers/power/ |
D | olpc_battery.c | 513 #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/ |
D | tulip.h | 361 #define EEPROM_SIZE 512 /* 2 << EEPROM_ADDRLEN */ macro 439 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 87 #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/ |
D | qla3xxx.h | 811 enum {EEPROM_SIZE = FM93C86A_SIZE_16, enumerator
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 5947 #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()
|