Home
last modified time | relevance | path

Searched refs:vc (Results 1 – 25 of 140) sorted by relevance

123456

/drivers/tty/vt/
A Dvt.c695 vc->vc_attr = build_attr(vc, vc->state.color, vc->state.intensity, in update_attr()
882 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->state.y + in set_origin()
1265 gotoxy(vc, vc->state.x, vc->state.y); in vc_do_resize()
1422 vc->vc_pos = vc->vc_origin + vc->state.y * vc->vc_size_row + in gotoxy()
1583 vc->vc_sw->con_clear(vc, vc->state.y, vc->state.x, count); in csi_X()
2107 gotoxy(vc, vc->state.x, vc->state.y); in restore_cur()
2452 gotoxy(vc, vc->state.x, vc->state.y - vc->vc_par[0]); in csi_ECMA()
2458 gotoxy(vc, vc->state.x, vc->state.y + vc->vc_par[0]); in csi_ECMA()
2464 gotoxy(vc, vc->state.x + vc->vc_par[0], vc->state.y); in csi_ECMA()
2469 gotoxy(vc, vc->state.x - vc->vc_par[0], vc->state.y); in csi_ECMA()
[all …]
A Dvt_ioctl.c54 return vc && kref_read(&vc->port.kref) > 1; in vt_in_use()
270 vc->vc_mode = mode; in vt_kdsetmode()
659 vc[i] = NULL; in vt_disallocate_all()
924 if (vc) { in vt_ioctl()
1000 vc = vc_con->d; in vc_SAK()
1001 if (vc) { in vc_SAK()
1010 reset_vc(vc); in vc_SAK()
1184 if (kill_pid(vc->vt_pid, vc->vt_mode.acqsig, 1) != 0) { in complete_change_console()
1194 reset_vc(vc); in complete_change_console()
1248 if (kill_pid(vc->vt_pid, vc->vt_mode.relsig, 1) == 0) { in change_console()
[all …]
A Dvc_screen.c88 struct vc_data *vc = param->vc; in vcs_notifier() local
215 size = vc->vc_rows * vc->vc_cols; in vcs_size()
231 struct vc_data *vc; in vcs_lseek() local
236 if (!vc) { in vcs_lseek()
368 struct vc_data *vc; in vcs_read() local
407 if (!vc) { in vcs_read()
492 vcs_scr_writew(vc, in vcs_write_buf_noattr()
550 vcs_scr_writew(vc, vc_compile_le16(c, vcs_scr_readw(vc, org)), in vcs_write_buf()
583 vcs_scr_writew(vc, vc_compile_le16(vcs_scr_readw(vc, org) >> 8, c), in vcs_write_buf()
619 if (!vc) in vcs_write()
[all …]
A Dkeyboard.c343 puts_queue(vc, buf); in applkey()
356 put_queue(vc, c); in to_utf8()
382 to_utf8(vc, value); in put_queue_utf8()
386 put_queue(vc, c); in put_queue_utf8()
483 put_queue(vc, '\r'); in fn_enter()
485 put_queue(vc, '\n'); in fn_enter()
533 applkey(vc, 'P', 1); in fn_num()
535 fn_bare_num(vc); in fn_num()
598 scrollfront(vc, 0); in fn_scroll_forw()
603 scrollback(vc); in fn_scroll_back()
[all …]
A Dselection.c93 bool vc_is_sel(const struct vc_data *vc) in vc_is_sel() argument
95 return vc == vc_sel.cons; in vc_is_sel()
237 if (!((i + 2) % vc->vc_size_row)) { in vc_selection_store_chars()
270 if (!(ps % vc->vc_size_row)) in vc_do_selection()
280 if (!((pe + 2) % vc->vc_size_row)) in vc_do_selection()
287 vc->vc_size_row - 2; in vc_do_selection()
305 atedge(pe, vc->vc_size_row)) in vc_do_selection()
368 if (vc_sel.cons != vc) { in vc_selection()
370 vc_sel.cons = vc; in vc_selection()
406 bool bp = vc->vc_bracketed_paste; in paste_selection()
[all …]
/drivers/media/pci/tw686x/
A Dtw686x-video.c112 len = (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_memcpy_dma_alloc()
237 buf_len = (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_sg_buf_refill()
428 (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_queue_setup()
568 (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_buf_prepare()
730 reg_write(vc->dev, VDMA_WHP[vc->ch], val); in tw686x_set_format()
745 area = vc->width * vc->height; in tw686x_s_fmt_vid_cap()
789 reg_write(vc->dev, SDT[vc->ch], val); in tw686x_set_standard()
828 tw686x_set_framerate(vc, vc->fps); in tw686x_s_std()
1029 vidstat = reg_read(vc->dev, VIDSTAT[vc->ch]); in tw686x_enum_input()
1218 vc->vidq.drv_priv = vc; in tw686x_video_init()
[all …]
/drivers/video/fbdev/core/
A Dfbcon.c244 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
399 if (!vc || !con_is_visible(vc) || in fb_flashcursor()
640 vc->vc_pos += lines * vc->vc_size_row; in fbcon_prepare_logo()
1483 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1531 0, vc->vc_rows, vc->vc_cols); in ypan_down()
2217 vc->vc_origin + vc->vc_size_row * vc->vc_top, in fbcon_switch()
2235 __fbcon_clear(vc, 0, 0, vc->vc_rows, vc->vc_cols); in fbcon_generic_blank()
2726 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_set_all_vcs()
2774 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_modechange_possible()
3091 if (vc && vc->vc_mode == KD_TEXT && in fbcon_get_requirement()
[all …]
A Dbitblit.c26 struct vc_data *vc) in update_attr() argument
51 area.sx = sx * vc->vc_font.width; in bit_bmove()
52 area.sy = sy * vc->vc_font.height; in bit_bmove()
53 area.dx = dx * vc->vc_font.width; in bit_bmove()
54 area.dy = dy * vc->vc_font.height; in bit_bmove()
82 u32 idx = vc->vc_font.width >> 3; in bit_putcs_aligned()
117 u32 idx = vc->vc_font.width >> 3; in bit_putcs_unaligned()
249 if (!vc->vc_font.data) in bit_cursor()
254 src = vc->vc_font.data + ((c & charmask) * (w * vc->vc_font.height)); in bit_cursor()
282 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->state.x)) || in bit_cursor()
[all …]
A Dfbcon_ccw.c26 struct vc_data *vc) in ccw_update_attr() argument
30 int mod = vc->vc_font.height % 8; in ccw_update_attr()
70 area.sx = sy * vc->vc_font.height; in ccw_bmove()
72 area.dx = dy * vc->vc_font.height; in ccw_bmove()
117 vc->vc_font.width); in ccw_putcs_aligned()
120 vc->vc_font.width); in ccw_putcs_aligned()
151 image.width = vc->vc_font.height; in ccw_putcs()
197 unsigned int bs = vc->vc_rows*ch; in ccw_clear_margins()
276 dx = y * vc->vc_font.height; in ccw_cursor()
277 dy = vyres - ((vc->state.x + 1) * vc->vc_font.width); in ccw_cursor()
[all …]
A Dfbcon_cw.c26 struct vc_data *vc) in cw_update_attr() argument
56 area.sy = sx * vc->vc_font.width; in cw_bmove()
58 area.dy = dx * vc->vc_font.width; in cw_bmove()
74 region.dy = sx * vc->vc_font.width; in cw_clear()
102 vc->vc_font.width); in cw_putcs_aligned()
105 vc->vc_font.width); in cw_putcs_aligned()
135 image.dy = xx * vc->vc_font.width; in cw_putcs()
136 image.width = vc->vc_font.height; in cw_putcs()
259 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
260 dy = vc->state.x * vc->vc_font.width; in cw_cursor()
[all …]
A Dfbcon_ud.c26 struct vc_data *vc) in ud_update_attr() argument
29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr()
91 u32 idx = vc->vc_font.width >> 3; in ud_putcs_aligned()
98 ud_update_attr(buf, src, attr, vc); in ud_putcs_aligned()
126 u32 idx = vc->vc_font.width >> 3; in ud_putcs_unaligned()
172 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
174 image.height = vc->vc_font.height; in ud_putcs()
269 c = scr_readw((u16 *) vc->vc_pos); in ud_cursor()
307 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
308 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
[all …]
A Dtileblit.c39 rect.index = vc->vc_video_erase_char & in tile_clear()
40 ((vc->vc_hi_font_mask) ? 0x1ff : 0xff); in tile_clear()
77 unsigned int cw = vc->vc_font.width; in tile_clear_margins()
78 unsigned int ch = vc->vc_font.height; in tile_clear_margins()
87 rect.index = vc->vc_video_erase_char & in tile_clear_margins()
121 cursor.sx = vc->state.x; in tile_cursor()
122 cursor.sy = vc->state.y; in tile_cursor()
127 switch (vc->vc_cursor_type & 0x0f) { in tile_cursor()
177 map.width = vc->vc_font.width; in fbcon_set_tileops()
178 map.height = vc->vc_font.height; in fbcon_set_tileops()
[all …]
A Dfbcon_rotate.c29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font()
33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font()
35 len = vc->vc_font.charcount; in fbcon_rotate_font()
36 s_cellsize = ((vc->vc_font.width + 7)/8) * in fbcon_rotate_font()
37 vc->vc_font.height; in fbcon_rotate_font()
43 vc->vc_font.width; in fbcon_rotate_font()
67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font()
68 vc->vc_font.height); in fbcon_rotate_font()
76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
77 vc->vc_font.height); in fbcon_rotate_font()
[all …]
/drivers/dma/
A Dvirt-dma.h84 lockdep_assert_held(&vc->lock); in vchan_issue_pending()
86 list_splice_tail_init(&vc->desc_submitted, &vc->desc_issued); in vchan_issue_pending()
101 lockdep_assert_held(&vc->lock); in vchan_cookie_complete()
109 tasklet_schedule(&vc->task); in vchan_cookie_complete()
127 vc->desc_free(vd); in vchan_vdesc_fini()
139 vc->cyclic = vd; in vchan_cyclic_callback()
140 tasklet_schedule(&vc->task); in vchan_cyclic_callback()
153 lockdep_assert_held(&vc->lock); in vchan_terminate_vdesc()
157 if (vc->cyclic == vd) in vchan_terminate_vdesc()
158 vc->cyclic = NULL; in vchan_terminate_vdesc()
[all …]
A Dvirt-dma.c33 vc, vd, cookie); in vchan_tx_submit()
60 vc, vd, vd->tx.cookie); in vchan_tx_desc_free()
61 vc->desc_free(vd); in vchan_tx_desc_free()
85 struct virt_dma_chan *vc = from_tasklet(vc, t, task); in vchan_complete() local
90 spin_lock_irq(&vc->lock); in vchan_complete()
92 vd = vc->cyclic; in vchan_complete()
94 vc->cyclic = NULL; in vchan_complete()
99 spin_unlock_irq(&vc->lock); in vchan_complete()
125 dma_cookie_init(&vc->chan); in vchan_init()
127 spin_lock_init(&vc->lock); in vchan_init()
[all …]
A Dmilbeaut-hdmac.c68 struct virt_dma_chan vc; member
86 return container_of(vc, struct milbeaut_hdmac_chan, vc); in to_milbeaut_hdmac_chan()
177 spin_lock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
203 spin_unlock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
218 spin_lock(&mc->vc.lock); in milbeaut_hdmac_chan_config()
231 spin_lock(&mc->vc.lock); in milbeaut_hdmac_chan_pause()
246 spin_lock(&mc->vc.lock); in milbeaut_hdmac_chan_resume()
325 struct virt_dma_chan *vc; in milbeaut_hdmac_tx_status() local
338 vc = to_virt_chan(chan); in milbeaut_hdmac_tx_status()
407 struct virt_dma_chan *vc; in milbeaut_hdmac_xlate() local
[all …]
A Dpxa_dma.c413 dev_dbg(&chan->vc.chan.dev->device, in pxad_free_phy()
495 dev_dbg(&chan->vc.chan.dev->device, in pxad_launch_chan()
618 spin_lock(&chan->vc.lock); in pxad_chan_handler()
660 spin_unlock(&chan->vc.lock); in pxad_chan_handler()
789 if (list_empty(&vc->desc_submitted) && pxad_try_hotchain(vc, vd)) { in pxad_tx_submit()
840 vchan_issue_pending(&chan->vc); in pxad_issue_pending()
852 struct pxad_chan *chan = container_of(vc, struct pxad_chan, vc); in pxad_tx_prep()
859 vc, vd, vd->tx.cookie, in pxad_tx_prep()
1211 vchan_synchronize(&chan->vc); in pxad_synchronize()
1219 vc.chan.device_node) { in pxad_free_channels()
[all …]
A Duniphier-mdmac.c60 struct virt_dma_chan vc; member
77 return container_of(vc, struct uniphier_mdmac_chan, vc); in to_uniphier_mdmac_chan()
92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc()
182 spin_lock(&mc->vc.lock); in uniphier_mdmac_interrupt()
219 spin_unlock(&mc->vc.lock); in uniphier_mdmac_interrupt()
260 spin_lock_irqsave(&vc->lock, flags); in uniphier_mdmac_terminate_all()
285 struct virt_dma_chan *vc; in uniphier_mdmac_tx_status() local
298 vc = to_virt_chan(chan); in uniphier_mdmac_tx_status()
302 mc = to_uniphier_mdmac_chan(vc); in uniphier_mdmac_tx_status()
312 vd = vchan_find_desc(vc, cookie); in uniphier_mdmac_tx_status()
[all …]
/drivers/accessibility/speakup/
A Dmain.c891 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
892 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
940 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
949 say_screen_from_to(vc, 0, vc->vc_rows); in say_screen()
960 start = vc->vc_origin + (win_top * vc->vc_size_row); in speakup_win_say()
1064 say_screen_from_to(vc, spk_y, vc->vc_rows); in say_to_bottom()
1074 say_line_from_to(vc, spk_x, vc->vc_cols, 1); in say_to_right()
1563 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
1724 say_line_from_to(vc, 0, vc->vc_cols, 0); in cursor_done()
2230 struct vc_data *vc = param->vc; in keyboard_notifier_call() local
[all …]
A Dspk_types.h89 #define spk_x (speakup_console[vc->vc_num]->reading_x)
90 #define spk_cx (speakup_console[vc->vc_num]->cursor_x)
91 #define spk_y (speakup_console[vc->vc_num]->reading_y)
92 #define spk_cy (speakup_console[vc->vc_num]->cursor_y)
94 #define spk_cp (speakup_console[vc->vc_num]->cursor_pos)
95 #define goto_pos (speakup_console[vc->vc_num]->go_pos)
96 #define goto_x (speakup_console[vc->vc_num]->go_x)
97 #define win_top (speakup_console[vc->vc_num]->w_top)
99 #define win_left (speakup_console[vc->vc_num]->w_left)
100 #define win_right (speakup_console[vc->vc_num]->w_right)
[all …]
/drivers/media/usb/s2255/
A Ds2255drv.c652 sizes[0] = vc->width * vc->height * (vc->fmt->depth >> 3); in queue_setup()
835 if (vc->width > norm_minw(vc)) { in vidioc_s_fmt_vid_cap()
836 if (vc->height > norm_minh(vc)) { in vidioc_s_fmt_vid_cap()
1476 s2255_set_mode(vc, &vc->mode); in s2255_open()
1596 vc = &dev->vc[i]; in s2255_probe_v4l()
1640 vc->vdev.ctrl_handler = &vc->hdl; in s2255_probe_v4l()
1701 vc = &dev->vc[dev->cc]; in save_frame()
1727 vc = &dev->vc[dev->cc]; in save_frame()
1746 vc = &dev->vc[cc]; in save_frame()
1787 vc = &dev->vc[dev->cc]; in save_frame()
[all …]
/drivers/accessibility/braille/
A Dbraille_console.c111 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
112 vc_y = vc->state.y; in vc_follow_cursor()
113 lastvc_x = vc->state.x; in vc_follow_cursor()
120 if (vc->state.x != lastvc_x || vc->state.y != lastvc_y) in vc_maybe_cursor_moved()
121 vc_follow_cursor(vc); in vc_maybe_cursor_moved()
146 struct vc_data *vc = param->vc; in keyboard_notifier_call() local
159 vc_refresh(vc); in keyboard_notifier_call()
221 vc_refresh(vc); in keyboard_notifier_call()
267 struct vc_data *vc = param->vc; in vt_notifier_call() local
318 vc_refresh(vc); in vt_notifier_call()
[all …]
/drivers/atm/
A Didt77252.c733 if (vc->lacr < vc->init_er) { in push_on_scq()
734 vc->lacr = vc->init_er; in push_on_scq()
1616 card->name, vc ? vc->index : -1, e); in __fill_tst()
1632 card->soft_tst[e].vc = vc; in __fill_tst()
1683 if (card->soft_tst[e].vc == vc) { in __clear_tst()
2079 struct vc_map *vc = est->vc; in idt77252_est_timer() local
2127 est->vc = vc; in idt77252_init_est()
2234 vc->lacr = vc->init_er; in idt77252_init_ubr()
2236 vc->max_er = vc->init_er; in idt77252_init_ubr()
2280 fill_scd(card, vc->scq, vc->class); in idt77252_init_tx()
[all …]
/drivers/video/console/
A Ddummycon.c70 if (s[i] != vc->vc_video_erase_char) in dummycon_putcs()
89 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() argument
107 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() argument
118 static void dummycon_init(struct vc_data *vc, bool init) in dummycon_init() argument
120 vc->vc_can_do_color = 1; in dummycon_init()
122 vc->vc_cols = DUMMY_COLUMNS; in dummycon_init()
123 vc->vc_rows = DUMMY_ROWS; in dummycon_init()
125 vc_resize(vc, DUMMY_COLUMNS, DUMMY_ROWS); in dummycon_init()
128 static void dummycon_deinit(struct vc_data *vc) { } in dummycon_deinit() argument
131 static void dummycon_cursor(struct vc_data *vc, bool enable) { } in dummycon_cursor() argument
[all …]
A Dnewport_con.c333 vc->vc_can_do_color = 1; in newport_init()
335 vc->vc_cols = cols; in newport_init()
336 vc->vc_rows = rows; in newport_init()
455 xcurs = (vc->vc_pos - vc->vc_visible_origin) / 2; in newport_cursor()
592 vc->vc_rows - 1, in newport_scroll()
610 vc->vc_size_row * t); in newport_scroll()
629 newport_putc(vc, vc->vc_video_erase_char, in newport_scroll()
640 x = vc->vc_cols - 1; in newport_scroll()
654 x = vc->vc_cols - 1; in newport_scroll()
659 vc->vc_size_row * t); in newport_scroll()
[all …]

Completed in 122 milliseconds

123456