Lines Matching defs:eeprom
9 #include "pvrusb2-eeprom.h"
19 Read and analyze data in the eeprom. Use tveeprom to figure out
34 u8 *eeprom;
42 eeprom = kzalloc(EEPROM_SIZE, GFP_KERNEL);
43 if (!eeprom) {
45 "Failed to allocate memory required to read eeprom");
49 trace_eeprom("Value for eeprom addr from controller was 0x%x",
52 /* Seems that if the high bit is set, then the *real* eeprom
57 /* FX2 documentation states that a 16bit-addressed eeprom is
62 trace_eeprom("Examining %d byte eeprom at location 0x%x using %d bit addressing",
73 /* We have to do the actual eeprom data fetch ourselves, because
74 (1) we're only fetching part of the eeprom, and (2) if we were
88 msg[1].buf = eeprom+tcnt;
92 "eeprom fetch set offs err=%d",ret);
93 kfree(eeprom);
97 return eeprom;
101 /* Directly call eeprom analysis function within tveeprom. */
104 u8 *eeprom;
109 eeprom = pvr2_eeprom_fetch(hdw);
110 if (!eeprom)
113 tveeprom_hauppauge_analog(&tvdata, eeprom);
115 trace_eeprom("eeprom assumed v4l tveeprom module");
116 trace_eeprom("eeprom direct call results:");
130 kfree(eeprom);