Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/serial/
Dio_ti.c647 …IGetDescriptorAddress (struct edgeport_serial *serial, int desc_type, struct ti_i2c_desc *rom_desc) in TIGetDescriptorAddress() argument
658 (__u8 *)rom_desc ); in TIGetDescriptorAddress()
662 if (rom_desc->Type == desc_type) in TIGetDescriptorAddress()
665 start_address = start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size; in TIGetDescriptorAddress()
667 } while ((start_address < TI_MAX_I2C_SIZE) && rom_desc->Type); in TIGetDescriptorAddress()
673 static int ValidChecksum(struct ti_i2c_desc *rom_desc, __u8 *buffer) in ValidChecksum() argument
678 for (i=0; i < rom_desc->Size; i++) { in ValidChecksum()
681 if (cs != rom_desc->CheckSum) { in ValidChecksum()
682 dbg ("%s - Mismatch %x - %x", __FUNCTION__, rom_desc->CheckSum, cs); in ValidChecksum()
692 struct ti_i2c_desc *rom_desc; in TiValidateI2cImage() local
[all …]