Searched refs:rom_desc (Results 1 – 1 of 1) sorted by relevance
631 int desc_type, struct ti_i2c_desc *rom_desc) in get_descriptor_addr() argument642 (u8 *)rom_desc); in get_descriptor_addr()646 if (rom_desc->Type == desc_type) in get_descriptor_addr()650 le16_to_cpu(rom_desc->Size); in get_descriptor_addr()652 } while ((start_address < TI_MAX_I2C_SIZE) && rom_desc->Type); in get_descriptor_addr()658 static int valid_csum(struct ti_i2c_desc *rom_desc, u8 *buffer) in valid_csum() argument663 for (i = 0; i < le16_to_cpu(rom_desc->Size); i++) in valid_csum()666 if (cs != rom_desc->CheckSum) { in valid_csum()667 pr_debug("%s - Mismatch %x - %x", __func__, rom_desc->CheckSum, cs); in valid_csum()678 struct ti_i2c_desc *rom_desc; in check_i2c_image() local[all …]