Searched refs:pin_loc (Results 1 – 2 of 2) sorted by relevance
398 int gpi_stat_tmp, pin_loc; in adp5588_report_switch_state() local406 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()
786 int gpi_stat_tmp, pin_loc; in adp5589_report_switch_state() local800 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()