Lines Matching refs:row
80 int row)
82 return gpio_get_value_cansleep(pdata->row_gpios[row]) ?
123 int row, col, code;
130 for (row = 0; row < pdata->num_row_gpios; row++)
131 gpio_direction_input(pdata->row_gpios[row]);
133 /* assert each column and read the row status out */
138 for (row = 0; row < pdata->num_row_gpios; row++)
140 row_asserted(pdata, row) ? (1 << row) : 0;
152 for (row = 0; row < pdata->num_row_gpios; row++) {
153 if ((bits_changed & (1 << row)) == 0)
156 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift);
160 new_state[col] & (1 << row));
421 pdata->num_row_gpios = nrow = gpiod_count(dev, "row");
452 ret = of_get_named_gpio(np, "row-gpios", i);