Home
last modified time | relevance | path

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

1234567

/linux/drivers/tty/vt/
A Dvt.c888 vc->vc_sw->con_putc(vc, i, vc->state.y, vc->state.x); in add_softcursor()
935 vc->vc_pos = vc->vc_origin + vc->vc_size_row * vc->state.y + in set_origin()
1327 gotoxy(vc, vc->state.x, vc->state.y); in vc_do_resize()
1478 vc->vc_pos = vc->vc_origin + vc->state.y * vc->vc_size_row + in gotoxy()
1631 vc->vc_sw->con_clear(vc, vc->state.y, vc->state.x, 1, count); in csi_X()
2070 gotoxy(vc, vc->state.x, vc->state.y); in restore_cur()
2414 gotoxy(vc, vc->state.x, vc->state.y - vc->vc_par[0]); in do_con_trol()
2419 gotoxy(vc, vc->state.x, vc->state.y + vc->vc_par[0]); in do_con_trol()
2424 gotoxy(vc, vc->state.x + vc->vc_par[0], vc->state.y); in do_con_trol()
2429 gotoxy(vc, vc->state.x - vc->vc_par[0], vc->state.y); in do_con_trol()
[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()
922 if (vc) { in vt_ioctl()
983 vc = vc_con->d; in vc_SAK()
984 if (vc) { in vc_SAK()
993 reset_vc(vc); in vc_SAK()
1169 if (kill_pid(vc->vt_pid, vc->vt_mode.acqsig, 1) != 0) { in complete_change_console()
1179 reset_vc(vc); in complete_change_console()
1233 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
391 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()
593 struct vc_data *vc; in vcs_write() local
[all …]
A Dkeyboard.c342 puts_queue(vc, buf); in applkey()
355 put_queue(vc, c); in to_utf8()
451 to_utf8(vc, d); in handle_diacr()
455 put_queue(vc, c); in handle_diacr()
472 put_queue(vc, c); in fn_enter()
477 put_queue(vc, '\r'); in fn_enter()
529 fn_bare_num(vc); in fn_num()
592 scrollfront(vc, 0); in fn_scroll_forw()
597 scrollback(vc); in fn_scroll_back()
686 put_queue(vc, c); in k_unicode()
[all …]
A Dselection.c90 bool vc_is_sel(struct vc_data *vc) in vc_is_sel() argument
92 return vc == vc_sel.cons; in vc_is_sel()
214 if (!((i + 2) % vc->vc_size_row)) { in vc_selection_store_chars()
247 if (!(ps % vc->vc_size_row)) in vc_do_selection()
257 if (!((pe + 2) % vc->vc_size_row)) in vc_do_selection()
264 vc->vc_size_row - 2; in vc_do_selection()
282 atedge(pe, vc->vc_size_row)) in vc_do_selection()
345 if (vc_sel.cons != vc) { in vc_selection()
347 vc_sel.cons = vc; in vc_selection()
376 struct vc_data *vc = tty->driver_data; in paste_selection() local
[all …]
/linux/fs/afs/
A Dvl_rotate.c20 memset(vc, 0, sizeof(*vc)); in afs_begin_vlserver_operation()
93 vc->untried, vc->index, in afs_select_vlserver()
94 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
174 error = afs_send_vl_probes(vc->cell->net, vc->key, vc->server_list); in afs_select_vlserver()
186 vc->index = vc->server_list->preferred; in afs_select_vlserver()
187 if (test_bit(vc->index, &vc->untried)) in afs_select_vlserver()
209 __clear_bit(vc->index, &vc->untried); in afs_select_vlserver()
227 memset(&vc->ac, 0, sizeof(vc->ac)); in afs_select_vlserver()
298 vc->untried, vc->index, vc->nr_iterations, vc->flags, vc->error); in afs_vl_dump_edestaddrreq()
323 vc->ac.tried, vc->ac.index, vc->ac.abort_code, vc->ac.error, in afs_vl_dump_edestaddrreq()
[all …]
/linux/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()
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()
792 reg_write(vc->dev, SDT[vc->ch], val); in tw686x_set_standard()
831 tw686x_set_framerate(vc, vc->fps); in tw686x_s_std()
1032 vidstat = reg_read(vc->dev, VIDSTAT[vc->ch]); in tw686x_enum_input()
1221 vc->vidq.drv_priv = vc; in tw686x_video_init()
[all …]
/linux/drivers/video/fbdev/core/
A Dfbcon.c237 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
367 if (!vc || !con_is_visible(vc) || in fb_flashcursor()
617 vc->vc_pos += lines * vc->vc_size_row; in fbcon_prepare_logo()
635 vc->vc_pos += logo_lines * vc->vc_size_row; in fbcon_prepare_logo()
1484 fbcon_clear(vc, t, 0, count, vc->vc_cols); in fbcon_scroll()
1685 vc->vc_origin + vc->vc_size_row * vc->vc_top, in fbcon_switch()
1686 vc->vc_size_row * (vc->vc_bottom - in fbcon_switch()
1703 fbcon_clear(vc, 0, 0, vc->vc_rows, vc->vc_cols); in fbcon_generic_blank()
2198 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_set_all_vcs()
2505 if (vc && vc->vc_mode == KD_TEXT && in fbcon_get_requirement()
[all …]
A Dbitblit.c26 struct vc_data *vc) in update_attr() argument
53 region.dx = sx * vc->vc_font.width; in bit_clear()
54 region.dy = sy * vc->vc_font.height; in bit_clear()
68 u32 idx = vc->vc_font.width >> 3; in bit_putcs_aligned()
76 update_attr(buf, src, attr, vc); in bit_putcs_aligned()
103 u32 idx = vc->vc_font.width >> 3; in bit_putcs_unaligned()
111 update_attr(buf, src, attr, vc); in bit_putcs_unaligned()
144 image.dx = xx * vc->vc_font.width; in bit_putcs()
237 src = vc->vc_font.data + ((c & charmask) * (w * vc->vc_font.height)); in bit_cursor()
265 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 region.dx = sy * vc->vc_font.height; in ccw_clear()
99 vc->vc_font.width); in ccw_putcs_aligned()
102 vc->vc_font.width); in ccw_putcs_aligned()
131 image.dx = yy * vc->vc_font.height; in ccw_putcs()
133 image.width = vc->vc_font.height; in ccw_putcs()
179 unsigned int bs = vc->vc_rows*ch; in ccw_clear_margins()
258 dx = y * vc->vc_font.height; in ccw_cursor()
259 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 region.dy = sx * vc->vc_font.width; in cw_clear()
84 vc->vc_font.width); in cw_putcs_aligned()
87 vc->vc_font.width); in cw_putcs_aligned()
89 dst += d_pitch * vc->vc_font.width; in cw_putcs_aligned()
117 image.dy = xx * vc->vc_font.width; in cw_putcs()
118 image.width = vc->vc_font.height; in cw_putcs()
241 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
242 dy = vc->state.x * vc->vc_font.width; in cw_cursor()
301 cur_height = vc->vc_font.height; in cw_cursor()
[all …]
A Dfbcon_ud.c26 struct vc_data *vc) in ud_update_attr() argument
72 u32 idx = vc->vc_font.width >> 3; in ud_putcs_aligned()
79 ud_update_attr(buf, src, attr, vc); in ud_putcs_aligned()
107 u32 idx = vc->vc_font.width >> 3; in ud_putcs_unaligned()
114 ud_update_attr(buf, src, attr, vc); in ud_putcs_unaligned()
153 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
155 image.height = vc->vc_font.height; in ud_putcs()
250 c = scr_readw((u16 *) vc->vc_pos); in ud_cursor()
288 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
289 dx = vxres - ((vc->state.x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
[all …]
A Dtileblit.c26 rect.index = vc->vc_video_erase_char & in tile_clear()
27 ((vc->vc_hi_font_mask) ? 0x1ff : 0xff); in tile_clear()
28 rect.fg = attr_fgcol_ec(fgshift, vc, info); in tile_clear()
29 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear()
71 int use_sw = vc->vc_cursor_type & CUR_SW; in tile_cursor()
73 cursor.sx = vc->state.x; in tile_cursor()
74 cursor.sy = vc->state.y; in tile_cursor()
79 switch (vc->vc_cursor_type & 0x0f) { in tile_cursor()
128 map.width = vc->vc_font.width; in fbcon_set_tileops()
129 map.height = vc->vc_font.height; in fbcon_set_tileops()
[all …]
/linux/drivers/dma/
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 …]
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 …]
/linux/drivers/accessibility/speakup/
A Dmain.c890 start = vc->vc_origin + ((spk_y) * vc->vc_size_row); in get_sentence_buf()
891 end = vc->vc_origin + ((spk_y) * vc->vc_size_row) + vc->vc_cols * 2; in get_sentence_buf()
939 end = vc->vc_origin + (to * vc->vc_size_row); in say_screen_from_to()
948 say_screen_from_to(vc, 0, vc->vc_rows); in say_screen()
959 start = vc->vc_origin + (win_top * vc->vc_size_row); in speakup_win_say()
1063 say_screen_from_to(vc, spk_y, vc->vc_rows); in say_to_bottom()
1073 say_line_from_to(vc, spk_x, vc->vc_cols, 1); in say_to_right()
1553 speakup_console[vc->vc_num]->ht.cy = vc->state.y; in do_handle_cursor()
1714 say_line_from_to(vc, 0, vc->vc_cols, 0); in cursor_done()
2216 struct vc_data *vc = param->vc; in keyboard_notifier_call() local
[all …]
/linux/drivers/media/usb/s2255/
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 …]
/linux/arch/arm/mach-omap2/
A Dvc.c121 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_config_channel() local
131 vc->cfg_channel << vc->cfg_channel_sa_shift, in omap_vc_config_channel()
142 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_pre_scale() local
197 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_bypass_scale() local
210 (vc->volt_reg_addr << vc->common->regaddr_shift) | in omap_vc_bypass_scale()
211 (vc->i2c_slave_addr << vc->common->slaveaddr_shift); in omap_vc_bypass_scale()
337 if (vc.vd) in omap3_vc_init_pmic_signaling()
592 if (vc.vd) in omap4_vc_init_pmic_signaling()
747 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_i2c_init() local
825 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_init_channel() local
[all …]
/linux/drivers/accessibility/braille/
A Dbraille_console.c112 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
113 vc_y = vc->state.y; in vc_follow_cursor()
114 lastvc_x = vc->state.x; in vc_follow_cursor()
121 if (vc->state.x != lastvc_x || vc->state.y != lastvc_y) in vc_maybe_cursor_moved()
122 vc_follow_cursor(vc); in vc_maybe_cursor_moved()
147 struct vc_data *vc = param->vc; in keyboard_notifier_call() local
160 vc_refresh(vc); in keyboard_notifier_call()
222 vc_refresh(vc); in keyboard_notifier_call()
268 struct vc_data *vc = param->vc; in vt_notifier_call() local
319 vc_refresh(vc); in vt_notifier_call()
[all …]
/linux/include/linux/
A Dconsole.h47 void (*con_init)(struct vc_data *vc, int init);
48 void (*con_deinit)(struct vc_data *vc);
54 void (*con_cursor)(struct vc_data *vc, int mode);
58 int (*con_switch)(struct vc_data *vc);
63 int (*con_font_default)(struct vc_data *vc,
67 void (*con_set_palette)(struct vc_data *vc,
70 int (*con_set_origin)(struct vc_data *vc);
71 void (*con_save_screen)(struct vc_data *vc);
88 int (*con_debug_enter)(struct vc_data *vc);
92 int (*con_debug_leave)(struct vc_data *vc);
[all …]
A Dvt_kern.h30 void reset_palette(struct vc_data *vc);
38 void scrollback(struct vc_data *vc);
39 void scrollfront(struct vc_data *vc, int lines);
40 void clear_buffer_attributes(struct vc_data *vc);
42 void redraw_screen(struct vc_data *vc, int is_switch);
58 int con_clear_unimap(struct vc_data *vc);
61 int con_set_default_unimap(struct vc_data *vc);
62 void con_free_unimap(struct vc_data *vc);
82 static inline int con_clear_unimap(struct vc_data *vc) in con_clear_unimap() argument
101 static inline void con_free_unimap(struct vc_data *vc) in con_free_unimap() argument
[all …]
/linux/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()
1613 card->name, vc ? vc->index : -1, e); in __fill_tst()
1629 card->soft_tst[e].vc = vc; in __fill_tst()
1680 if (card->soft_tst[e].vc == vc) { in __clear_tst()
2073 struct vc_map *vc = est->vc; in idt77252_est_timer() local
2121 est->vc = vc; in idt77252_init_est()
2228 vc->lacr = vc->init_er; in idt77252_init_ubr()
2230 vc->max_er = vc->init_er; in idt77252_init_ubr()
2274 fill_scd(card, vc->scq, vc->class); in idt77252_init_tx()
[all …]
/linux/drivers/video/console/
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 …]
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()
457 xcurs = (vc->vc_pos - vc->vc_visible_origin) / 2; in newport_cursor()
590 vc->vc_rows - 1, in newport_scroll()
608 vc->vc_size_row * t); in newport_scroll()
627 newport_putc(vc, vc->vc_video_erase_char, in newport_scroll()
638 x = vc->vc_cols - 1; in newport_scroll()
652 x = vc->vc_cols - 1; in newport_scroll()
657 vc->vc_size_row * t); in newport_scroll()
[all …]
/linux/arch/mips/math-emu/
A Dieee754int.h61 vc = IEEE754_CLASS_INF; \
63 vc = IEEE754_CLASS_QNAN; \
65 vc = IEEE754_CLASS_SNAN; \
69 vc = IEEE754_CLASS_DNORM; \
71 vc = IEEE754_CLASS_ZERO; \
75 vc = IEEE754_CLASS_NORM; \
99 vc = IEEE754_CLASS_INF; \
101 vc = IEEE754_CLASS_QNAN; \
103 vc = IEEE754_CLASS_SNAN; \
109 vc = IEEE754_CLASS_ZERO; \
[all …]

Completed in 71 milliseconds

1234567