Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_generic.c179 gt1x_abs_x_max = (gt1x_config[RESOLUTION_LOC + 1] << 8) + gt1x_config[RESOLUTION_LOC]; in gt1x_debug_write_proc()
180 gt1x_abs_y_max = (gt1x_config[RESOLUTION_LOC + 3] << 8) + gt1x_config[RESOLUTION_LOC + 2]; in gt1x_debug_write_proc()
620 gt1x_config[RESOLUTION_LOC] = (u8) GTP_MAX_WIDTH; in gt1x_init_panel()
621 gt1x_config[RESOLUTION_LOC + 1] = (u8) (GTP_MAX_WIDTH >> 8); in gt1x_init_panel()
622 gt1x_config[RESOLUTION_LOC + 2] = (u8) GTP_MAX_HEIGHT; in gt1x_init_panel()
623 gt1x_config[RESOLUTION_LOC + 3] = (u8) (GTP_MAX_HEIGHT >> 8); in gt1x_init_panel()
644 gt1x_abs_x_max = (gt1x_config[RESOLUTION_LOC + 1] << 8) + gt1x_config[RESOLUTION_LOC]; in gt1x_init_panel()
645 gt1x_abs_y_max = (gt1x_config[RESOLUTION_LOC + 3] << 8) + gt1x_config[RESOLUTION_LOC + 2]; in gt1x_init_panel()
649 gt1x_config[RESOLUTION_LOC] = (u8) gt1x_abs_x_max; in gt1x_init_panel()
650 gt1x_config[RESOLUTION_LOC + 1] = (u8) (gt1x_abs_x_max >> 8); in gt1x_init_panel()
[all …]
H A Dgt1x_generic.h349 #define RESOLUTION_LOC (GTP_REG_CONFIG_RESOLUTION - GTP_REG_CONFIG_DATA) macro
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt9xx/
H A Dgt9xx.c1581 config[RESOLUTION_LOC] = (u8)GTP_MAX_WIDTH; in gtp_init_panel()
1582 config[RESOLUTION_LOC + 1] = (u8)(GTP_MAX_WIDTH>>8); in gtp_init_panel()
1583 config[RESOLUTION_LOC + 2] = (u8)GTP_MAX_HEIGHT; in gtp_init_panel()
1584 config[RESOLUTION_LOC + 3] = (u8)(GTP_MAX_HEIGHT>>8); in gtp_init_panel()
1619 ts->abs_x_max = (config[RESOLUTION_LOC + 1] << 8) + config[RESOLUTION_LOC]; in gtp_init_panel()
1620 ts->abs_y_max = (config[RESOLUTION_LOC + 3] << 8) + config[RESOLUTION_LOC + 2]; in gtp_init_panel()
H A Dgt9xx.h346 #define RESOLUTION_LOC 3 macro
H A Dgt9xx_update.c301 config[RESOLUTION_LOC] = (u8)GTP_MAX_WIDTH; in gup_init_panel()
302 config[RESOLUTION_LOC + 1] = (u8)(GTP_MAX_WIDTH>>8); in gup_init_panel()
303 config[RESOLUTION_LOC + 2] = (u8)GTP_MAX_HEIGHT; in gup_init_panel()
304 config[RESOLUTION_LOC + 3] = (u8)(GTP_MAX_HEIGHT>>8); in gup_init_panel()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dgoodix.c62 #define RESOLUTION_LOC 1 macro
947 x_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC]); in goodix_read_config()
948 y_max = get_unaligned_le16(&ts->config[RESOLUTION_LOC + 2]); in goodix_read_config()