Lines Matching full:rows
67 * @max_rows: maximum number of rows supported
69 * @row_gpios: bitmask of gpios which can be used for rows
124 * @rows: bitmask for the rows
135 unsigned int rows; member
210 * {cols,rows}_gpios are bitmasks of which pins on the chip can be used in stmpe_keypad_altfunc_init()
213 * keypad->{cols,rows} are a bitmask of which pins (of the ones useable in stmpe_keypad_altfunc_init()
231 if (keypad->rows & (1 << i)) in stmpe_keypad_altfunc_init()
288 ret = stmpe_reg_write(stmpe, STMPE_KPC_ROW_LSB, keypad->rows); in stmpe_keypad_chip_init()
295 keypad->rows >> 8); in stmpe_keypad_chip_init()
323 keypad->rows |= 1 << row; in stmpe_keypad_fill_used_pins()
336 u32 rows; in stmpe_keypad_probe() local
365 error = matrix_keypad_parse_properties(&pdev->dev, &rows, &cols); in stmpe_keypad_probe()
369 error = matrix_keypad_build_keymap(NULL, NULL, rows, cols, in stmpe_keypad_probe()
378 stmpe_keypad_fill_used_pins(keypad, rows, cols); in stmpe_keypad_probe()