Lines Matching full: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 in twl4030_col_xlate()
154 * we have that row line connected to gnd. Mark this in twl4030_col_xlate()
167 int row; in twl4030_read_kp_matrix_state() local
171 for (row = 0; row < kp->n_rows; row++) in twl4030_read_kp_matrix_state()
172 state[row] = twl4030_col_xlate(kp, new_state[row]); in twl4030_read_kp_matrix_state()
198 int col, row; in twl4030_kp_scan() local
214 for (row = 0; row < kp->n_rows; row++) { in twl4030_kp_scan()
215 int changed = new_state[row] ^ kp->kp_state[row]; in twl4030_kp_scan()
227 dev_dbg(kp->dbg_dev, "key [%d:%d] %s\n", row, col, in twl4030_kp_scan()
228 (new_state[row] & (1 << col)) ? in twl4030_kp_scan()
231 code = MATRIX_SCAN_CODE(row, col, TWL4030_ROW_SHIFT); in twl4030_kp_scan()
234 new_state[row] & (1 << col)); in twl4030_kp_scan()
236 kp->kp_state[row] = new_state[row]; in twl4030_kp_scan()