Lines Matching refs:goodix_i2c_write_u8
93 error = goodix_i2c_write_u8(client, in goodix_enter_upload_mode()
113 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_DSP_CTL, 0x00); in goodix_enter_upload_mode()
118 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_TMR0_EN, 0x00); in goodix_enter_upload_mode()
123 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_CACHE_EN, 0x00); in goodix_enter_upload_mode()
128 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOTCTL, 0x02); in goodix_enter_upload_mode()
133 error = goodix_i2c_write_u8(client, in goodix_enter_upload_mode()
139 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOTCTL, 0x00); in goodix_enter_upload_mode()
144 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_BOOT_OPT, 0x00); in goodix_enter_upload_mode()
149 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_MEM_CD_EN, 0x01); in goodix_enter_upload_mode()
162 error = goodix_i2c_write_u8(client, GOODIX_REG_SW_WDT, 0xaa); in goodix_start_firmware()
167 error = goodix_i2c_write_u8(client, GOODIX_REG_MISCTL_SWRST, 0x00); in goodix_start_firmware()
182 error = goodix_i2c_write_u8(client, GOODIX_REG_SW_WDT, 0xaa); in goodix_start_firmware()
217 error = goodix_i2c_write_u8(ts->client, in goodix_firmware_upload()
229 error = goodix_i2c_write_u8(ts->client, in goodix_firmware_upload()
241 error = goodix_i2c_write_u8(ts->client, in goodix_firmware_upload()
401 goodix_i2c_write_u8(ts->client, in goodix_handle_fw_request()