Home
last modified time | relevance | path

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

123456789

/openbmc/linux/drivers/tty/vt/
H A Dvt.c836 vc->vc_sw->con_putc(vc, i, vc->state.y, vc->state.x); in add_softcursor()
883 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->state.y + in set_origin()
1276 gotoxy(vc, vc->state.x, vc->state.y); in vc_do_resize()
1432 vc->vc_pos = vc->vc_origin + vc->state.y * vc->vc_size_row + in gotoxy()
1585 vc->vc_sw->con_clear(vc, vc->state.y, vc->state.x, 1, count); in csi_X()
2024 gotoxy(vc, vc->state.x, vc->state.y); in restore_cur()
2368 gotoxy(vc, vc->state.x, vc->state.y - vc->vc_par[0]); in do_con_trol()
2373 gotoxy(vc, vc->state.x, vc->state.y + vc->vc_par[0]); in do_con_trol()
2378 gotoxy(vc, vc->state.x + vc->vc_par[0], vc->state.y); in do_con_trol()
2383 gotoxy(vc, vc->state.x - vc->vc_par[0], vc->state.y); in do_con_trol()
[all …]
H 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()
925 if (vc) { in vt_ioctl()
986 vc = vc_con->d; in vc_SAK()
987 if (vc) { in vc_SAK()
996 reset_vc(vc); in vc_SAK()
1172 if (kill_pid(vc->vt_pid, vc->vt_mode.acqsig, 1) != 0) { in complete_change_console()
1182 reset_vc(vc); in complete_change_console()
1236 if (kill_pid(vc->vt_pid, vc->vt_mode.relsig, 1) == 0) { in change_console()
[all …]
H 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 …]
/openbmc/qemu/ui/
H A Dgtk-egl.c36 vc->gfx.esurface, vc->gfx.ectx); in gtk_egl_set_scanout_mode()
94 gd_egl_scanout_flush(&vc->gfx.dcl, 0, 0, vc->gfx.w, vc->gfx.h); in gd_egl_draw()
135 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_egl_update()
140 vc->gfx.esurface, vc->gfx.ectx); in gd_egl_update()
152 vc, vc->window ? vc->window : vc->gfx.drawing_area); in gd_egl_refresh()
201 vc->gfx.esurface, vc->gfx.ectx); in gd_egl_switch()
330 vc->gfx.cursor_x = pos_x * vc->gfx.scale_x; in gd_egl_cursor_position()
331 vc->gfx.cursor_y = pos_y * vc->gfx.scale_y; in gd_egl_cursor_position()
357 egl_texture_blit(vc->gfx.gls, &vc->gfx.win_fb, &vc->gfx.guest_fb, in gd_egl_scanout_flush()
359 egl_texture_blend(vc->gfx.gls, &vc->gfx.win_fb, &vc->gfx.cursor_fb, in gd_egl_scanout_flush()
[all …]
H A Dgtk-gl-area.c32 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gtk_gl_area_set_scanout_mode()
33 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gtk_gl_area_set_scanout_mode()
75 y1 = vc->gfx.y0_top ? 0 : vc->gfx.h; in gd_gl_area_draw()
76 y2 = vc->gfx.y0_top ? vc->gfx.h : 0; in gd_gl_area_draw()
104 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_gl_area_draw()
105 surface_gl_render_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_draw()
114 if (!vc->gfx.gls || !vc->gfx.ds) { in gd_gl_area_update()
128 gd_update_monitor_refresh_rate(vc, vc->window ? vc->window : vc->gfx.drawing_area); in gd_gl_area_refresh()
143 surface_gl_create_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_refresh()
172 surface_gl_destroy_texture(vc->gfx.gls, vc->gfx.ds); in gd_gl_area_switch()
[all …]
H A Dgtk.c150 vc = &s->vc[i]; in gd_vc_find_by_menu()
165 vc = &s->vc[i]; in gd_vc_find_by_page()
247 VirtualConsole *vc = &s->vc[i]; in gd_update_caption() local
1603 gd_grab_update(vc, true, vc->s->ptr_owner == vc); in gd_grab_keyboard()
1604 vc->s->kbd_owner = vc; in gd_grab_keyboard()
1619 gd_grab_update(vc, false, vc->s->ptr_owner == vc); in gd_ungrab_keyboard()
1636 gd_grab_update(vc, vc->s->kbd_owner == vc, true); in gd_grab_pointer()
1639 vc->s->ptr_owner = vc; in gd_grab_pointer()
1655 gd_grab_update(vc, vc->s->kbd_owner == vc, false); in gd_ungrab_pointer()
1989 vc->focus = vc->vte.terminal; in gd_vc_vte_init()
[all …]
H A Dconsole-vc.c606 vc_put_lf(vc); in vc_put_one()
704 int *param = &vc->esc_params[vc->nb_esc_params]; in vc_putchar()
725 vc_set_cursor(vc, s->x, s->y - vc->esc_params[0]); in vc_putchar()
732 vc_set_cursor(vc, s->x, s->y + vc->esc_params[0]); in vc_putchar()
739 vc_set_cursor(vc, s->x + vc->esc_params[0], s->y); in vc_putchar()
746 vc_set_cursor(vc, s->x - vc->esc_params[0], s->y); in vc_putchar()
750 vc_set_cursor(vc, vc->esc_params[0] - 1, s->y); in vc_putchar()
755 vc_set_cursor(vc, vc->esc_params[1] - 1, vc->esc_params[0] - 1); in vc_putchar()
971 ChardevVC *vc = backend->u.vc.data; in vc_chr_open() local
1023 ChardevVC *vc; in vc_chr_parse() local
[all …]
/openbmc/linux/fs/afs/
H A Dvl_rotate.c20 memset(vc, 0, sizeof(*vc)); in afs_begin_vlserver_operation()
99 vc->untried, vc->index, in afs_select_vlserver()
100 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
180 error = afs_send_vl_probes(vc->cell->net, vc->key, vc->server_list); in afs_select_vlserver()
192 vc->index = vc->server_list->preferred; in afs_select_vlserver()
193 if (test_bit(vc->index, &vc->untried)) in afs_select_vlserver()
215 __clear_bit(vc->index, &vc->untried); in afs_select_vlserver()
233 memset(&vc->ac, 0, sizeof(vc->ac)); in afs_select_vlserver()
308 vc->untried, vc->index, vc->nr_iterations, vc->flags, vc->error); in afs_vl_dump_edestaddrreq()
333 vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error, in afs_vl_dump_edestaddrreq()
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/shadow/files/
H A Dsecuretty177 vc/1
178 vc/2
179 vc/3
180 vc/4
181 vc/5
182 vc/6
183 vc/7
184 vc/8
185 vc/9
186 vc/10
[all …]
/openbmc/linux/drivers/media/pci/tw686x/
H 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()
427 (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_queue_setup()
567 (vc->width * vc->height * vc->format->depth) >> 3; in tw686x_buf_prepare()
731 reg_write(vc->dev, VDMA_WHP[vc->ch], val); in tw686x_set_format()
746 area = vc->width * vc->height; in tw686x_s_fmt_vid_cap()
790 reg_write(vc->dev, SDT[vc->ch], val); in tw686x_set_standard()
829 tw686x_set_framerate(vc, vc->fps); in tw686x_s_std()
1030 vidstat = reg_read(vc->dev, VIDSTAT[vc->ch]); in tw686x_enum_input()
1219 vc->vidq.drv_priv = vc; in tw686x_video_init()
[all …]
/openbmc/linux/drivers/dma/
H A Dvirt-dma.h69 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_prep()
84 list_splice_tail_init(&vc->desc_submitted, &vc->desc_issued); in vchan_issue_pending()
85 return !list_empty(&vc->desc_issued); in vchan_issue_pending()
105 tasklet_schedule(&vc->task); in vchan_cookie_complete()
119 spin_lock_irqsave(&vc->lock, flags); in vchan_vdesc_fini()
123 vc->desc_free(vd); in vchan_vdesc_fini()
135 vc->cyclic = vd; in vchan_cyclic_callback()
136 tasklet_schedule(&vc->task); in vchan_cyclic_callback()
151 if (vc->cyclic == vd) in vchan_terminate_vdesc()
152 vc->cyclic = NULL; in vchan_terminate_vdesc()
[all …]
H 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 …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c237 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
370 if (!vc || !con_is_visible(vc) || in fb_flashcursor()
605 vc->vc_pos += lines * vc->vc_size_row; in fbcon_prepare_logo()
1447 0, 0, 0, vc->vc_rows, vc->vc_cols); in ypan_up()
1495 0, vc->vc_rows, vc->vc_cols); in ypan_down()
2181 vc->vc_origin + vc->vc_size_row * vc->vc_top, in fbcon_switch()
2199 fbcon_clear(vc, 0, 0, vc->vc_rows, vc->vc_cols); in fbcon_generic_blank()
2719 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_set_all_vcs()
2767 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_modechange_possible()
3084 if (vc && vc->vc_mode == KD_TEXT && in fbcon_get_requirement()
[all …]
H 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()
83 u32 idx = vc->vc_font.width >> 3; in bit_putcs_aligned()
118 u32 idx = vc->vc_font.width >> 3; in bit_putcs_unaligned()
250 if (!vc->vc_font.data) in bit_cursor()
255 src = vc->vc_font.data + ((c & charmask) * (w * vc->vc_font.height)); in bit_cursor()
283 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->state.x)) || in bit_cursor()
[all …]
H 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()
75 region.dy = sx * vc->vc_font.width; in cw_clear()
103 vc->vc_font.width); in cw_putcs_aligned()
106 vc->vc_font.width); in cw_putcs_aligned()
136 image.dy = xx * vc->vc_font.width; in cw_putcs()
137 image.width = vc->vc_font.height; in cw_putcs()
260 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
261 dy = vc->state.x * vc->vc_font.width; in cw_cursor()
[all …]
H 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()
92 u32 idx = vc->vc_font.width >> 3; in ud_putcs_aligned()
99 ud_update_attr(buf, src, attr, vc); in ud_putcs_aligned()
127 u32 idx = vc->vc_font.width >> 3; in ud_putcs_unaligned()
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
175 image.height = vc->vc_font.height; in ud_putcs()
270 c = scr_readw((u16 *) vc->vc_pos); in ud_cursor()
308 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
309 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
[all …]
H 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()
118 vc->vc_font.width); in ccw_putcs_aligned()
121 vc->vc_font.width); in ccw_putcs_aligned()
152 image.width = vc->vc_font.height; in ccw_putcs()
198 unsigned int bs = vc->vc_rows*ch; in ccw_clear_margins()
277 dx = y * vc->vc_font.height; in ccw_cursor()
278 dy = vyres - ((vc->state.x + 1) * vc->vc_font.width); in ccw_cursor()
[all …]
/openbmc/linux/drivers/accessibility/speakup/
H 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 …]
/openbmc/linux/drivers/media/usb/s2255/
H A Ds2255drv.c652 sizes[0] = vc->width * vc->height * (vc->fmt->depth >> 3); in queue_setup()
837 if (vc->width > norm_minw(vc)) { in vidioc_s_fmt_vid_cap()
838 if (vc->height > norm_minh(vc)) { in vidioc_s_fmt_vid_cap()
1478 s2255_set_mode(vc, &vc->mode); in s2255_open()
1598 vc = &dev->vc[i]; in s2255_probe_v4l()
1642 vc->vdev.ctrl_handler = &vc->hdl; in s2255_probe_v4l()
1703 vc = &dev->vc[dev->cc]; in save_frame()
1729 vc = &dev->vc[dev->cc]; in save_frame()
1748 vc = &dev->vc[cc]; in save_frame()
1789 vc = &dev->vc[dev->cc]; in save_frame()
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Dvc.c118 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_config_channel() local
128 vc->cfg_channel << vc->cfg_channel_sa_shift, in omap_vc_config_channel()
139 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_pre_scale() local
194 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_bypass_scale() local
207 (vc->volt_reg_addr << vc->common->regaddr_shift) | in omap_vc_bypass_scale()
208 (vc->i2c_slave_addr << vc->common->slaveaddr_shift); in omap_vc_bypass_scale()
334 if (vc.vd) in omap3_vc_init_pmic_signaling()
589 if (vc.vd) in omap4_vc_init_pmic_signaling()
744 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_i2c_init() local
807 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_init_channel() local
[all …]
/openbmc/linux/drivers/accessibility/braille/
H 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 …]
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/raspidmx/raspidmx/
H A D0004-add-libvchostif-to-link.patch39 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
52 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
65 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
78 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
91 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
104 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
117 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
130 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
143 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
156 …INCLUDES+=-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface…
[all …]
/openbmc/linux/drivers/video/console/
H A Ddummycon.c60 static void dummycon_putcs(struct vc_data *vc, const unsigned short *s, in dummycon_putcs() argument
68 if (s[i] != vc->vc_video_erase_char) in dummycon_putcs()
100 static void dummycon_init(struct vc_data *vc, int init) in dummycon_init() argument
102 vc->vc_can_do_color = 1; in dummycon_init()
104 vc->vc_cols = DUMMY_COLUMNS; in dummycon_init()
105 vc->vc_rows = DUMMY_ROWS; in dummycon_init()
107 vc_resize(vc, DUMMY_COLUMNS, DUMMY_ROWS); in dummycon_init()
110 static void dummycon_deinit(struct vc_data *vc) { } in dummycon_deinit() argument
113 static void dummycon_cursor(struct vc_data *vc, int mode) { } in dummycon_cursor() argument
115 static bool dummycon_scroll(struct vc_data *vc, unsigned int top, in dummycon_scroll() argument
[all …]
/openbmc/linux/include/linux/
H A Dconsole.h49 void (*con_init)(struct vc_data *vc, int init);
50 void (*con_deinit)(struct vc_data *vc);
56 void (*con_cursor)(struct vc_data *vc, int mode);
60 int (*con_switch)(struct vc_data *vc);
66 int (*con_font_default)(struct vc_data *vc,
70 void (*con_set_palette)(struct vc_data *vc,
73 int (*con_set_origin)(struct vc_data *vc);
74 void (*con_save_screen)(struct vc_data *vc);
91 int (*con_debug_enter)(struct vc_data *vc);
95 int (*con_debug_leave)(struct vc_data *vc);
[all …]
/openbmc/qemu/target/alpha/
H A Dtranslate.c686 tcg_gen_deposit_i64(vc, vc, tmp, 0, 30); in gen_cvtlq()
717 TCGv vb, vc; in IEEE_ARITH2() local
738 TCGv vb, vc; in gen_ieee_intcvt() local
776 tcg_gen_or_i64(vc, vc, tmp); in IEEE_INTCVT()
783 TCGv va, vb, vc; in gen_ieee_arith3() local
895 gen_zapnoti(vc, vc, byte_mask); in gen_ext_h()
914 gen_zapnoti(vc, vc, byte_mask); in gen_ext_l()
950 tcg_gen_shri_i64(vc, vc, 1); in gen_ins_h()
1491 tcg_gen_ext32s_i64(vc, vc); in translate_one()
1503 tcg_gen_ext32s_i64(vc, vc); in translate_one()
[all …]

123456789