Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/input/keyboard/
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()
Dadp5589-keys.c786 int gpi_stat_tmp, pin_loc; in adp5589_report_switch_state() local
800 pin_loc = pin - kpad->var->gpi_pin_row_base; in adp5589_report_switch_state()
803 pin_loc = pin - kpad->var->gpi_pin_col_base; in adp5589_report_switch_state()
806 pin_loc = pin - kpad->var->gpi_pin_col_base - 8; in adp5589_report_switch_state()
818 !(gpi_stat_tmp & BIT(pin_loc))); in adp5589_report_switch_state()