Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/input/
Dinput_gt911.c357 uint8_t gt911_config_firmware[REG_CONFIG_SIZE + 2] = {(uint8_t)REG_GT911_CONFIG, in gt911_init() local
361 r = gt911_i2c_write_read(dev, &reg_addr, sizeof(reg_addr), gt911_config_firmware + 2, in gt911_init()
366 if (!gt911_verify_firmware(gt911_config_firmware + 2)) { in gt911_init()
370 gt911_config_firmware[REG_CONFIG_TOUCH_NUM_OFFSET + 2] = in gt911_init()
373 gt911_config_firmware[REG_CONFIG_SIZE] = in gt911_init()
374 gt911_get_firmware_checksum(gt911_config_firmware + 2); in gt911_init()
375 gt911_config_firmware[REG_CONFIG_SIZE + 1] = 1; in gt911_init()
377 r = gt911_i2c_write(dev, gt911_config_firmware, sizeof(gt911_config_firmware)); in gt911_init()