Lines Matching refs:ti_i2c_desc
585 int desc_type, struct ti_i2c_desc *rom_desc) in get_descriptor_addr()
595 sizeof(struct ti_i2c_desc), in get_descriptor_addr()
603 start_address = start_address + sizeof(struct ti_i2c_desc) + in get_descriptor_addr()
612 static int valid_csum(struct ti_i2c_desc *rom_desc, __u8 *buffer) in valid_csum()
632 struct ti_i2c_desc *rom_desc; in check_i2c_image()
662 sizeof(struct ti_i2c_desc), in check_i2c_image()
667 if ((start_address + sizeof(struct ti_i2c_desc) + in check_i2c_image()
682 sizeof(struct ti_i2c_desc), in check_i2c_image()
692 start_address = start_address + sizeof(struct ti_i2c_desc) + in check_i2c_image()
712 struct ti_i2c_desc *rom_desc; in get_manuf_info()
730 status = read_rom(serial, start_address+sizeof(struct ti_i2c_desc), in get_manuf_info()
758 struct ti_i2c_desc *i2c_header; in build_i2c_fw_hdr()
820 i2c_header = (struct ti_i2c_desc *)header; in build_i2c_fw_hdr()
978 struct ti_i2c_desc *rom_desc; in download_fw()
1036 sizeof(struct ti_i2c_desc), in download_fw()
1147 #define HEADER_SIZE (sizeof(struct ti_i2c_desc) + \ in download_fw()