Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dadp5588-keys.c398 int gpi_stat_tmp, pin_loc; in adp5588_report_switch_state() local
406 pin_loc = pin - GPI_PIN_ROW_BASE; in adp5588_report_switch_state()
409 pin_loc = pin - GPI_PIN_COL_BASE; in adp5588_report_switch_state()
412 pin_loc = pin - GPI_PIN_COL_BASE - 8; in adp5588_report_switch_state()
424 !(gpi_stat_tmp & (1 << pin_loc))); in adp5588_report_switch_state()
H A Dadp5589-keys.c822 int gpi_stat_tmp, pin_loc; in adp5589_report_switch_state() local
836 pin_loc = pin - kpad->var->gpi_pin_row_base; in adp5589_report_switch_state()
839 pin_loc = pin - kpad->var->gpi_pin_col_base; in adp5589_report_switch_state()
842 pin_loc = pin - kpad->var->gpi_pin_col_base - 8; in adp5589_report_switch_state()
854 !(gpi_stat_tmp & (1 << pin_loc))); in adp5589_report_switch_state()