Lines Matching refs:ti_i2c_desc
647 …IGetDescriptorAddress (struct edgeport_serial *serial, int desc_type, struct ti_i2c_desc *rom_desc) in TIGetDescriptorAddress()
657 sizeof(struct ti_i2c_desc), in TIGetDescriptorAddress()
665 start_address = start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size; in TIGetDescriptorAddress()
673 static int ValidChecksum(struct ti_i2c_desc *rom_desc, __u8 *buffer) in ValidChecksum()
692 struct ti_i2c_desc *rom_desc; in TiValidateI2cImage()
723 sizeof(struct ti_i2c_desc), in TiValidateI2cImage()
728 if ((start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size) > TI_MAX_I2C_SIZE) { in TiValidateI2cImage()
740 start_address+sizeof(struct ti_i2c_desc), in TiValidateI2cImage()
750 start_address = start_address + sizeof(struct ti_i2c_desc) + rom_desc->Size; in TiValidateI2cImage()
767 struct ti_i2c_desc *rom_desc; in TIReadManufDescriptor()
785 start_address+sizeof(struct ti_i2c_desc), in TIReadManufDescriptor()
813 struct ti_i2c_desc *i2c_header; in BuildI2CFirmwareHeader()
856 i2c_header = (struct ti_i2c_desc *)header; in BuildI2CFirmwareHeader()
1010 struct ti_i2c_desc *rom_desc; in TIDownloadFirmware()
1068 start_address+sizeof(struct ti_i2c_desc), in TIDownloadFirmware()
1165 #define HEADER_SIZE (sizeof(struct ti_i2c_desc) + sizeof(struct ti_i2c_firmware_rec)) in TIDownloadFirmware()