Lines Matching full:col
72 int col = 0; in omap_kp_scan_keypad() local
79 for (col = 0; col < omap_kp->cols; col++) { in omap_kp_scan_keypad()
80 omap_writew(~(1 << col) & 0xff, in omap_kp_scan_keypad()
85 state[col] = ~omap_readw(OMAP1_MPUIO_BASE + in omap_kp_scan_keypad()
98 int col, row; in omap_kp_tasklet() local
104 for (col = 0; col < omap_kp_data->cols; col++) { in omap_kp_tasklet()
105 changed = new_state[col] ^ keypad_state[col]; in omap_kp_tasklet()
106 key_down |= new_state[col]; in omap_kp_tasklet()
115 printk(KERN_INFO "omap-keypad: key %d-%d %s\n", col, in omap_kp_tasklet()
116 row, (new_state[col] & (1 << row)) ? in omap_kp_tasklet()
119 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet()
127 new_state[col] & (1 << row)); in omap_kp_tasklet()