Home
last modified time | relevance | path

Searched full:col (Results 1 – 25 of 173) sorted by relevance

1234567

/linux/drivers/input/keyboard/
H A Domap-keypad.c68 int col = 0; in omap_kp_scan_keypad() local
75 for (col = 0; col < omap_kp->cols; col++) { in omap_kp_scan_keypad()
76 omap_writew(~(1 << col) & 0xff, in omap_kp_scan_keypad()
81 state[col] = ~omap_readw(OMAP1_MPUIO_BASE + in omap_kp_scan_keypad()
94 int col, row; in omap_kp_tasklet() local
100 for (col = 0; col < omap_kp_data->cols; col++) { in omap_kp_tasklet()
101 changed = new_state[col] ^ keypad_state[col]; in omap_kp_tasklet()
102 key_down |= new_state[col]; in omap_kp_tasklet()
111 printk(KERN_INFO "omap-keypad: key %d-%d %s\n", col, in omap_kp_tasklet()
112 row, (new_state[col] & (1 << row)) ? in omap_kp_tasklet()
[all …]
H A Dclps711x-keypad.c38 int col, row; in clps711x_keypad_poll() local
40 for (col = 0; col < CLPS711X_KEYPAD_COL_COUNT; col++) { in clps711x_keypad_poll()
44 SYSCON1_KBDSCAN(8 + col)); in clps711x_keypad_poll()
58 if (test_bit(col, data->last_state) != state) { in clps711x_keypad_poll()
59 int code = MATRIX_SCAN_CODE(row, col, in clps711x_keypad_poll()
63 set_bit(col, data->last_state); in clps711x_keypad_poll()
67 clear_bit(col, data->last_state); in clps711x_keypad_poll()
H A Dlocomokbd.c87 static inline void locomokbd_activate_col(unsigned long membase, int col) in locomokbd_activate_col() argument
92 nset = 0xFF & ~(1 << col); in locomokbd_activate_col()
97 static inline void locomokbd_reset_col(unsigned long membase, int col) in locomokbd_reset_col() argument
101 nbset = ((0xFF & ~(1 << col)) << 8) + 0xFF; in locomokbd_reset_col()
114 unsigned int row, col, rowd; in locomokbd_scankeyboard() local
123 for (col = 0; col < KB_COLS; col++) { in locomokbd_scankeyboard()
125 locomokbd_activate_col(membase, col); in locomokbd_scankeyboard()
132 scancode = SCANCODE(col, row); in locomokbd_scankeyboard()
158 locomokbd_reset_col(membase, col); in locomokbd_scankeyboard()
H A Dmt6779-keypad.c37 unsigned int *row, unsigned int *col);
55 unsigned int row, col; in mt6779_keypad_irq_handler() local
74 keypad->calc_row_col(key, &row, &col); in mt6779_keypad_irq_handler()
76 scancode = MATRIX_SCAN_CODE(row, col, row_shift); in mt6779_keypad_irq_handler()
97 unsigned int *col) in mt6779_keypad_calc_row_col_single() argument
100 *col = key % 9; in mt6779_keypad_calc_row_col_single()
105 unsigned int *col) in mt6779_keypad_calc_row_col_double() argument
108 *col = (key % 13) / 2; in mt6779_keypad_calc_row_col_double()
H A Dnspire-keypad.c56 int row, col; in nspire_keypad_irq() local
78 for (col = 0; col < KEYPAD_BITMASK_COLS; col++) { in nspire_keypad_irq()
79 if (!(changed & (1U << col))) in nspire_keypad_irq()
82 code = MATRIX_SCAN_CODE(row, col, keypad->row_shift); in nspire_keypad_irq()
85 bits & (1U << col)); in nspire_keypad_irq()
H A Dstmpe-keypad.c179 int col = data & STMPE_KPC_DATA_COL; in stmpe_keypad_irq() local
180 int code = MATRIX_SCAN_CODE(row, col, STMPE_KEYPAD_ROW_SHIFT); in stmpe_keypad_irq()
317 int row, col; in stmpe_keypad_fill_used_pins() local
320 for (col = 0; col < used_cols; col++) { in stmpe_keypad_fill_used_pins()
321 int code = MATRIX_SCAN_CODE(row, col, in stmpe_keypad_fill_used_pins()
325 keypad->cols |= 1 << col; in stmpe_keypad_fill_used_pins()
H A Dadp5585-keys.c46 u32 row, col; in adp5585_keys_validate_events() local
58 col = (events[ev] - 1) % kpad->info->max_cols; in adp5585_keys_validate_events()
61 test_bit(col + kpad->info->max_rows, &kpad->keypad)) in adp5585_keys_validate_events()
155 * number of rows/cols as the maximum row/col used plus 1. This in adp5585_keys_parse_fw()
230 unsigned int row, col, code; in adp5585_keys_ev_handle() local
245 col = (key - 1) % (kpad->info->max_cols); in adp5585_keys_ev_handle()
246 code = MATRIX_SCAN_CODE(row, col, kpad->row_shift); in adp5585_keys_ev_handle()
249 key, row, col, kpad->keycode[code]); in adp5585_keys_ev_handle()
H A Dpinephone-keyboard.c212 int col, crc, ret, row; in ppkb_update() local
230 for (col = 0; col < PPKB_COLS; ++col) { in ppkb_update()
231 u8 old = old_buf[1 + col]; in ppkb_update()
232 u8 new = new_buf[1 + col]; in ppkb_update()
251 fn_state = value ? ppkb->fn_pressed : ppkb->fn_state[col] & mask; in ppkb_update()
253 ppkb->fn_state[col] ^= mask; in ppkb_update()
257 col, row_shift); in ppkb_update()
H A Dtca8418_keypad.c163 int error, col, row; in tca8418_read_keypad() local
182 col = code % TCA8418_MAX_COLS; in tca8418_read_keypad()
184 row = (col) ? row : row - 1; in tca8418_read_keypad()
185 col = (col) ? col - 1 : TCA8418_MAX_COLS - 1; in tca8418_read_keypad()
187 code = MATRIX_SCAN_CODE(row, col, keypad_data->row_shift); in tca8418_read_keypad()
/linux/scripts/kconfig/
H A Dgconf.c418 GtkTreeViewColumn *col; in on_show_name1_activate() local
421 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_NAME); in on_show_name1_activate()
422 if (col) in on_show_name1_activate()
423 gtk_tree_view_column_set_visible(col, show_name); in on_show_name1_activate()
428 GtkTreeViewColumn *col; in on_show_range1_activate() local
431 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_NO); in on_show_range1_activate()
432 if (col) in on_show_range1_activate()
433 gtk_tree_view_column_set_visible(col, show_range); in on_show_range1_activate()
434 col = gtk_tree_view_get_column(GTK_TREE_VIEW(tree2_w), COL_MOD); in on_show_range1_activate()
435 if (col) in on_show_range1_activate()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dcolorspaces-defs.rst49 - See :ref:`col-smpte-170m`.
51 - See :ref:`col-rec709`.
53 - See :ref:`col-srgb`.
55 - See :ref:`col-oprgb`.
57 - See :ref:`col-bt2020`.
59 - See :ref:`col-dcip3`.
61 - See :ref:`col-smpte-240m`.
63 - See :ref:`col-sysm`.
65 - See :ref:`col-sysbg`.
67 - See :ref:`col-jpeg`.
/linux/sound/pci/cs46xx/
H A Ddsp_spos.c545 int i, j, col; in cs46xx_dsp_proc_task_tree_read() local
553 for (col = 0,j = 0;j < ins->tasks[i].size; j++,col++) { in cs46xx_dsp_proc_task_tree_read()
555 if (col == 4) { in cs46xx_dsp_proc_task_tree_read()
557 col = 0; in cs46xx_dsp_proc_task_tree_read()
604 unsigned int i, col = 0; in cs46xx_dsp_proc_parameter_dump_read() local
608 for (i = 0;i < DSP_PARAMETER_BYTE_SIZE; i += sizeof(u32),col ++) { in cs46xx_dsp_proc_parameter_dump_read()
609 if (col == 4) { in cs46xx_dsp_proc_parameter_dump_read()
611 col = 0; in cs46xx_dsp_proc_parameter_dump_read()
616 col = 0; in cs46xx_dsp_proc_parameter_dump_read()
620 if (col == 0) { in cs46xx_dsp_proc_parameter_dump_read()
[all …]
/linux/drivers/edac/
H A Dversalnet_edac.c82 * @col: Column number.
95 u32 col:11; member
333 pinf.col >>= 1; in convert_to_physical()
334 err_addr |= (pinf.col & 1) << col_bit_0; in convert_to_physical()
337 err_addr |= (pinf.col & 1) << cols.col1; in convert_to_physical()
338 pinf.col >>= 1; in convert_to_physical()
339 err_addr |= (pinf.col & 1) << cols.col2; in convert_to_physical()
340 pinf.col >>= 1; in convert_to_physical()
341 err_addr |= (pinf.col & 1) << cols.col3; in convert_to_physical()
342 pinf.col >> in convert_to_physical()
[all...]
H A Docteon_edac-lmc.c35 unsigned long col; member
49 "DIMM %d rank %d bank %d row %d col %d", in octeon_lmc_edac_poll()
97 fadr.cn61xx.fcol = pvt->col; in octeon_lmc_edac_poll_o2()
100 "DIMM %d rank %d bank %d row %d col %d", in octeon_lmc_edac_poll_o2()
164 TEMPLATE_SHOW(col);
165 TEMPLATE_STORE(col);
209 static DEVICE_ATTR(col, S_IRUGO | S_IWUSR,
/linux/drivers/hid/
H A Dhid-picolcd_core.c33 KEY_BACK, /* col 4 + row 1 */
34 KEY_HOMEPAGE, /* col 3 + row 1 */
35 KEY_RESERVED, /* col 2 + row 1 */
36 KEY_RESERVED, /* col 1 + row 1 */
37 KEY_SCROLLUP, /* col 4 + row 2 */
38 KEY_OK, /* col 3 + row 2 */
39 KEY_SCROLLDOWN, /* col 2 + row 2 */
40 KEY_RESERVED, /* col 1 + row 2 */
41 KEY_RESERVED, /* col 4 + row 3 */
42 KEY_RESERVED, /* col 3 + row 3 */
[all …]
/linux/drivers/gpu/ipu-v3/
H A Dipu-image-convert.c652 unsigned int col, in fill_tile_column() argument
662 tile_idx = in->num_cols * row + col; in fill_tile_column()
690 unsigned int col, tile_idx; in fill_tile_row() local
693 for (col = 0; col < in->num_cols; col++) { in fill_tile_row()
694 tile_idx = in->num_cols * row + col; in fill_tile_row()
723 unsigned int col; in find_seams() local
752 for (col = in->num_cols - 1; col > 0; col--) { in find_seams()
755 bool allow_out_overshoot = (col < in->num_cols - 1) && in find_seams()
765 find_best_seam(ctx, col, in find_seams()
778 fill_tile_column(ctx, col, in, in_left, in_right - in_left, in find_seams()
[all …]
/linux/include/linux/input/
H A Dmatrix_keypad.h13 #define KEY(row, col, val) ((((row) & (MATRIX_MAX_ROWS - 1)) << 24) |\ argument
14 (((col) & (MATRIX_MAX_COLS - 1)) << 16) |\
21 #define MATRIX_SCAN_CODE(row, col, row_shift) (((row) << (row_shift)) + (col)) argument
/linux/tools/perf/ui/gtk/
H A Dhists.c98 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_flat() argument
125 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
146 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_flat()
161 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_folded() argument
214 gtk_tree_store_set(store, &iter, col, str, -1); in perf_gtk__add_callchain_folded()
221 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain_graph() argument
247 gtk_tree_store_set(store, &iter, col, buf, -1); in perf_gtk__add_callchain_graph()
265 perf_gtk__add_callchain_graph(&node->rb_root, store, &iter, col, in perf_gtk__add_callchain_graph()
271 GtkTreeIter *parent, int col, u64 total) in perf_gtk__add_callchain() argument
274 perf_gtk__add_callchain_flat(root, store, parent, col, total); in perf_gtk__add_callchain()
[all …]
/linux/include/linux/mtd/
H A Dndfc.h35 #define NDFC_CCR_ARAC0 0x00000000 /* 3 Addr, 1 Col 2 Row 512b page */
36 #define NDFC_CCR_ARAC1 0x00001000 /* 4 Addr, 1 Col 3 Row 512b page */
37 #define NDFC_CCR_ARAC2 0x00002000 /* 4 Addr, 2 Col 2 Row 2K page */
38 #define NDFC_CCR_ARAC3 0x00003000 /* 5 Addr, 2 Col 3 Row 2K page */
/linux/drivers/input/
H A Dmatrix-keymap.c28 unsigned int col = KEY_COL(key); in matrix_keypad_map_key() local
31 if (row >= rows || col >= cols) { in matrix_keypad_map_key()
33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key()
34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key()
38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; in matrix_keypad_map_key()
129 * keyboard driver that uses row and col as indices.
/linux/tools/testing/selftests/bpf/progs/
H A Diters.c481 int sum, row, col; in iter_nested_iters() local
486 bpf_for( col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters()
487 arr2d[row][col] = row * col; in iter_nested_iters()
496 bpf_for(col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters()
497 arr2d_col_sums[col] = 0; in iter_nested_iters()
502 bpf_for(col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters()
503 sum += arr2d[row][col]; in iter_nested_iters()
504 arr2d_row_sums[row] += arr2d[row][col]; in iter_nested_iters()
505 arr2d_col_sums[col] += arr2d[row][col]; in iter_nested_iters()
513 bpf_for(col, 0, ARRAY_SIZE(arr2d[0])) { in iter_nested_iters()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,kirkwood-pinctrl.txt33 mii(col)
41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
71 mii(col), mii-1(rxerr)
79 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
93 mpp28 28 gpio, ge1(col)
115 mii(col), mii-1(rxerr), sata1(prsnt)
123 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col), sata1(prsnt)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
164 mii(col), mii-1(rxerr), sata1(prsnt)
172 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col), sata1(prsnt)
[all …]
/linux/drivers/media/usb/pwc/
H A Dpwc-uncompress.c23 int n, line, col; in pwc_decompress() local
64 for (col = 0; col < pdev->width; col += 4) { in pwc_decompress()
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-debayer.c41 unsigned int lin, unsigned int col,
296 unsigned int col, in vimc_debayer_process_rgb_frame() argument
303 index = VIMC_FRAME_INDEX(lin, col, vdebayer->hw.size.width, 3); in vimc_debayer_process_rgb_frame()
406 const unsigned int col, in vimc_debayer_calc_rgb_sink() argument
426 vdebayer->sd.name, lin, col, vdebayer->hw.size.height, seek); in vimc_debayer_calc_rgb_sink()
444 for (wcol = seek > col ? 0 : col - seek; in vimc_debayer_calc_rgb_sink()
445 wcol < col + seek + 1 && wcol < vdebayer->hw.size.width; in vimc_debayer_calc_rgb_sink()
478 vdebayer->sd.name, lin, col, i, rgb[i], n_rgb[i]); in vimc_debayer_calc_rgb_sink()
485 vdebayer->sd.name, lin, col, i, rgb[i]); in vimc_debayer_calc_rgb_sink()
/linux/include/uapi/linux/dvb/
H A Dosd.h46 * Sets all pixel to color <col>
73 * sets pixel <x>,<y> to color number <col>
92 * fills pixels x0,y through x1,y with the color <col>
97 * fills pixels x0,y0 through x1,y1 with the color <col>
102 * draw a line from x0,y0 to x1,y1 with the color <col>

1234567