Lines Matching refs:row
42 * row lines connected to the gnd (see twl4030_col_xlate()).
74 #define KEYP_FULL_CODE_7_0 0x09 /* row 0 column status */
75 #define KEYP_FULL_CODE_15_8 0x0a /* ... row 1 ... */
153 * If all bits in a row are active for all columns then
154 * we have that row line connected to gnd. Mark this
167 int row;
171 for (row = 0; row < kp->n_rows; row++)
172 state[row] = twl4030_col_xlate(kp, new_state[row]);
198 int col, row;
214 for (row = 0; row < kp->n_rows; row++) {
215 int changed = new_state[row] ^ kp->kp_state[row];
227 dev_dbg(kp->dbg_dev, "key [%d:%d] %s\n", row, col,
228 (new_state[row] & (1 << col)) ?
231 code = MATRIX_SCAN_CODE(row, col, TWL4030_ROW_SHIFT);
234 new_state[row] & (1 << col));
236 kp->kp_state[row] = new_state[row];