Searched refs:vc (Results 1 - 25 of 156) sorted by relevance

1234567

/linux-master/drivers/tty/vt/
H A Dvt.c137 struct vc vc_cons [MAX_NR_CONSOLES];
143 static void vc_init(struct vc_data *vc, int do_clear);
144 static void gotoxy(struct vc_data *vc, int new_x, int new_y);
145 static void save_cur(struct vc_data *vc);
146 static void reset_terminal(struct vc_data *vc, int do_clear);
149 static void set_cursor(struct vc_data *vc);
150 static void hide_cursor(struct vc_data *vc);
154 static void set_palette(struct vc_data *vc);
242 * the attribute 'active' contains the name of the current vc
243 * console and it supports poll() to detect vc switche
264 notify_write(struct vc_data *vc, unsigned int unicode) argument
270 notify_update(struct vc_data *vc) argument
279 con_is_fg(const struct vc_data *vc) argument
284 con_should_update(const struct vc_data *vc) argument
289 screenpos(const struct vc_data *vc, unsigned int offset, bool viewed) argument
297 con_putc(struct vc_data *vc, u16 ca, unsigned int y, unsigned int x) argument
357 vc_uniscr_set(struct vc_data *vc, u32 **new_uni_lines) argument
363 vc_uniscr_putc(struct vc_data *vc, u32 uc) argument
369 vc_uniscr_insert(struct vc_data *vc, unsigned int nr) argument
380 vc_uniscr_delete(struct vc_data *vc, unsigned int nr) argument
391 vc_uniscr_clear_line(struct vc_data *vc, unsigned int x, unsigned int nr) argument
398 vc_uniscr_clear_lines(struct vc_data *vc, unsigned int y, unsigned int nr) argument
428 vc_uniscr_scroll(struct vc_data *vc, unsigned int top, unsigned int bottom, enum con_scroll dir, unsigned int nr) argument
484 vc_uniscr_check(struct vc_data *vc) argument
528 vc_uniscr_copy_line(const struct vc_data *vc, void *dest, bool viewed, unsigned int row, unsigned int col, unsigned int nr) argument
565 con_scroll(struct vc_data *vc, unsigned int top, unsigned int bottom, enum con_scroll dir, unsigned int nr) argument
593 do_update_region(struct vc_data *vc, unsigned long start, int count) argument
627 update_region(struct vc_data *vc, unsigned long start, int count) argument
641 build_attr(struct vc_data *vc, u8 _color, enum vc_intensity _intensity, bool _blink, bool _underline, bool _reverse, bool _italic) argument
685 update_attr(struct vc_data *vc) argument
696 invert_screen(struct vc_data *vc, int offset, int count, bool viewed) argument
745 complement_pos(struct vc_data *vc, int offset) argument
779 insert_char(struct vc_data *vc, unsigned int nr) argument
792 delete_char(struct vc_data *vc, unsigned int nr) argument
808 add_softcursor(struct vc_data *vc) argument
830 hide_softcursor(struct vc_data *vc) argument
841 hide_cursor(struct vc_data *vc) argument
850 set_cursor(struct vc_data *vc) argument
864 set_origin(struct vc_data *vc) argument
878 save_screen(struct vc_data *vc) argument
886 flush_scrollback(struct vc_data *vc) argument
909 clear_buffer_attributes(struct vc_data *vc) argument
920 redraw_screen(struct vc_data *vc, int is_switch) argument
990 visual_init(struct vc_data *vc, int num, bool init) argument
1020 visual_deinit(struct vc_data *vc) argument
1028 struct vc_data *vc = container_of(port, struct vc_data, port); local
1048 struct vc_data *vc; local
1105 resize_screen(struct vc_data *vc, int width, int height, bool from_user) argument
1132 vc_do_resize(struct tty_struct *tty, struct vc_data *vc, unsigned int cols, unsigned int lines, bool from_user) argument
1291 __vc_resize(struct vc_data *vc, unsigned int cols, unsigned int rows, bool from_user) argument
1311 struct vc_data *vc = tty->driver_data; local
1322 struct vc_data *vc = NULL; local
1388 gotoxy(struct vc_data *vc, int new_x, int new_y) argument
1420 gotoxay(struct vc_data *vc, int new_x, int new_y) argument
1425 scrollback(struct vc_data *vc) argument
1430 scrollfront(struct vc_data *vc, int lines) argument
1437 lf(struct vc_data *vc) argument
1452 ri(struct vc_data *vc) argument
1466 cr(struct vc_data *vc) argument
1473 bs(struct vc_data *vc) argument
1483 del(struct vc_data *vc) argument
1495 csi_J(struct vc_data *vc, enum CSI_J vpar) argument
1538 csi_K(struct vc_data *vc) argument
1568 csi_X(struct vc_data *vc) argument
1579 default_attr(struct vc_data *vc) argument
1612 rgb_foreground(struct vc_data *vc, const struct rgb *c) argument
1634 rgb_background(struct vc_data *vc, const struct rgb *c) argument
1650 vc_t416_color(struct vc_data *vc, int i, void(*set_color)(struct vc_data *vc, const struct rgb *c)) argument
1711 csi_m(struct vc_data *vc) argument
1823 cursor_report(struct vc_data *vc, struct tty_struct *tty) argument
1878 csi_DEC_hl(struct vc_data *vc, bool on_off) argument
1937 csi_hl(struct vc_data *vc, bool on_off) argument
1979 csi_RSB(struct vc_data *vc) argument
2044 csi_at(struct vc_data *vc, unsigned int nr) argument
2051 csi_L(struct vc_data *vc) argument
2060 csi_P(struct vc_data *vc) argument
2068 csi_M(struct vc_data *vc) argument
2077 save_cur(struct vc_data *vc) argument
2083 restore_cur(struct vc_data *vc) argument
2138 reset_terminal(struct vc_data *vc, int do_clear) argument
2186 vc_setGx(struct vc_data *vc, unsigned int which, u8 c) argument
2242 handle_ascii(struct tty_struct *tty, struct vc_data *vc, u8 c) argument
2311 handle_esc(struct tty_struct *tty, struct vc_data *vc, u8 c) argument
2381 csi_DEC(struct tty_struct *tty, struct vc_data *vc, u8 c) argument
2419 csi_ECMA(struct tty_struct *tty, struct vc_data *vc, u8 c) argument
2551 vc_reset_params(struct vc_data *vc) argument
2558 do_con_trol(struct tty_struct *tty, struct vc_data *vc, u8 c) argument
2757 con_flush(struct vc_data *vc, struct vc_draw_region *draw) argument
2768 vc_translate_ascii(const struct vc_data *vc, int c) argument
2812 vc_translate_unicode(struct vc_data *vc, int c, bool *rescan) argument
2868 vc_translate(struct vc_data *vc, int *c, bool *rescan) argument
2881 vc_invert_attr(const struct vc_data *vc) argument
2896 vc_is_control(struct vc_data *vc, int tc, int c) argument
2943 vc_con_write_normal(struct vc_data *vc, int tc, int c, struct vc_draw_region *draw) argument
3049 struct vc_data *vc = tty->driver_data; local
3138 struct vc_data *vc = vc_cons[fg_console].d; local
3155 struct vc_data *vc = vc_cons[fg_console].d; local
3220 struct vc_data *vc = vc_cons[fg_console].d; local
3463 struct vc_data *vc = tty->driver_data; local
3498 struct vc_data *vc = tty->driver_data; local
3514 struct vc_data *vc; local
3565 struct vc_data *vc = tty->driver_data; local
3574 struct vc_data *vc = tty->driver_data; local
3586 vc_init(struct vc_data *vc, int do_clear) argument
3615 struct vc_data *vc; local
3803 struct vc_data *vc = vc_cons[i].d; local
3839 struct vc_data *vc = vc_cons[j].d; local
4138 con_is_visible(const struct vc_data *vc) argument
4154 con_debug_enter(struct vc_data *vc) argument
4205 struct vc_data *vc; local
4461 struct vc_data *vc = vc_cons[fg_console].d; local
4523 struct vc_data *vc; local
4618 set_palette(struct vc_data *vc) argument
4679 reset_palette(struct vc_data *vc) argument
4708 con_font_get(struct vc_data *vc, struct console_font_op *op) argument
4758 con_font_set(struct vc_data *vc, const struct console_font_op *op) argument
4802 con_font_default(struct vc_data *vc, struct console_font_op *op) argument
4836 con_font_op(struct vc_data *vc, struct console_font_op *op) argument
4859 screen_glyph(const struct vc_data *vc, int offset) argument
4870 screen_glyph_unicode(const struct vc_data *vc, int n) argument
4882 screen_pos(const struct vc_data *vc, int w_offset, bool viewed) argument
4888 getconsxy(const struct vc_data *vc, unsigned char xy[static 2]) argument
4895 putconsxy(struct vc_data *vc, unsigned char xy[static const 2]) argument
4902 vcs_scr_readw(const struct vc_data *vc, const u16 *org) argument
4909 vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org) argument
4918 vcs_scr_updated(struct vc_data *vc) argument
[all...]
H A Dvc_screen.c88 struct vc_data *vc = param->vc; local
109 if (currcons != vc->vc_num)
202 * vcs_size - return size for a VC in @vc
203 * @vc: which VC
209 static int vcs_size(const struct vc_data *vc, bool attr, bool unicode) argument
215 size = vc->vc_rows * vc->vc_cols;
231 struct vc_data *vc; local
235 vc
248 vcs_read_buf_uni(struct vc_data *vc, char *con_buf, unsigned int pos, unsigned int count, bool viewed) argument
276 vcs_read_buf_noattr(const struct vc_data *vc, char *con_buf, unsigned int pos, unsigned int count, bool viewed) argument
296 vcs_read_buf(const struct vc_data *vc, char *con_buf, unsigned int pos, unsigned int count, bool viewed, unsigned int *skip) argument
368 struct vc_data *vc; local
478 vcs_write_buf_noattr(struct vc_data *vc, const char *con_buf, unsigned int pos, unsigned int count, bool viewed, u16 **org0) argument
518 vcs_write_buf(struct vc_data *vc, const char *con_buf, unsigned int pos, unsigned int count, bool viewed, u16 **org0) argument
593 struct vc_data *vc; local
[all...]
H A Dvt_ioctl.c46 const struct vc_data *vc = vc_cons[i].d; local
49 * console_lock must be held to prevent the vc from being deallocated
54 return vc && kref_read(&vc->port.kref) > 1;
75 * and the vc start at /dev/ttyX, X >= 1. We maintain that here, so we will
86 static void complete_change_console(struct vc_data *vc);
252 static int vt_kdsetmode(struct vc_data *vc, unsigned long mode) argument
267 if (vc->vc_mode == mode)
270 vc->vc_mode = mode;
271 if (vc
286 struct vc_data *vc = tty->driver_data; local
489 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, bool perm, struct vc_data *vc) argument
510 vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, bool perm) argument
555 vt_reldisp(struct vc_data *vc, unsigned int swtch) argument
632 struct vc_data *vc = NULL; local
651 struct vc_data *vc[MAX_NR_CONSOLES]; local
668 vt_resizex(struct vc_data *vc, struct vt_consize __user *cs) argument
738 struct vc_data *vc = tty->driver_data; local
911 struct vc_data *vc; local
961 reset_vc(struct vc_data *vc) argument
980 struct vc_data *vc; local
1010 compat_kdfontop_ioctl(struct compat_console_font_op __user *fontop, int perm, struct console_font_op *op, struct vc_data *vc) argument
1035 compat_unimap_ioctl(unsigned int cmd, struct compat_unimapdesc __user *user_ud, int perm, struct vc_data *vc) argument
1060 struct vc_data *vc = tty->driver_data; local
1127 complete_change_console(struct vc_data *vc) argument
1203 struct vc_data *vc; local
[all...]
H A Dselection.c93 bool vc_is_sel(const struct vc_data *vc) argument
95 return vc == vc_sel.cons;
198 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) argument
224 if (!((i + 2) % vc->vc_size_row)) {
239 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, argument
257 if (!(ps % vc->vc_size_row))
267 if (!((pe + 2) % vc->vc_size_row))
272 new_sel_start = rounddown(ps, vc->vc_size_row);
273 new_sel_end = rounddown(pe, vc->vc_size_row) +
274 vc
326 vc_selection(struct vc_data *vc, struct tiocl_selection *v, struct tty_struct *tty) argument
386 struct vc_data *vc = tty->driver_data; local
[all...]
/linux-master/fs/afs/
H A Dvl_rotate.c17 bool afs_begin_vlserver_operation(struct afs_vl_cursor *vc, struct afs_cell *cell, argument
22 memset(vc, 0, sizeof(*vc));
23 vc->cell = cell;
24 vc->key = key;
25 vc->cumul_error.error = -EDESTADDRREQ;
26 vc->nr_iterations = -1;
29 vc->cumul_error.error = -EINTR;
30 vc->flags |= AFS_VL_CURSOR_STOP;
34 vc
42 afs_start_vl_iteration(struct afs_vl_cursor *vc) argument
93 afs_select_vlserver(struct afs_vl_cursor *vc) argument
324 afs_vl_dump_edestaddrreq(const struct afs_vl_cursor *vc) argument
374 afs_end_vlserver_operation(struct afs_vl_cursor *vc) argument
[all...]
/linux-master/drivers/dma/
H A Dvirt-dma.h18 /* protected by vc.lock */
29 /* protected by vc.lock */
44 void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head);
45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev);
52 * @vc: virtual channel allocating this descriptor
56 static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc, argument
61 dma_async_tx_descriptor_init(&vd->tx, &vc->chan);
69 spin_lock_irqsave(&vc->lock, flags);
70 list_add_tail(&vd->node, &vc->desc_allocated);
71 spin_unlock_irqrestore(&vc
82 vchan_issue_pending(struct virt_dma_chan *vc) argument
96 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); local
114 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); local
133 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); local
147 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); local
161 vchan_next_desc(struct virt_dma_chan *vc) argument
177 vchan_get_all_descriptors(struct virt_dma_chan *vc, struct list_head *head) argument
187 vchan_free_chan_resources(struct virt_dma_chan *vc) argument
211 vchan_synchronize(struct virt_dma_chan *vc) argument
[all...]
H A Dvirt-dma.c21 struct virt_dma_chan *vc = to_virt_chan(tx->chan); local
26 spin_lock_irqsave(&vc->lock, flags);
29 list_move_tail(&vd->node, &vc->desc_submitted);
30 spin_unlock_irqrestore(&vc->lock, flags);
32 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: submitted\n",
33 vc, vd, cookie);
51 struct virt_dma_chan *vc = to_virt_chan(tx->chan); local
55 spin_lock_irqsave(&vc->lock, flags);
57 spin_unlock_irqrestore(&vc->lock, flags);
59 dev_dbg(vc
66 vchan_find_desc(struct virt_dma_chan *vc, dma_cookie_t cookie) argument
85 struct virt_dma_chan *vc = from_tasklet(vc, t, task); local
112 vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head) argument
123 vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev) argument
[all...]
/linux-master/include/linux/
H A Dselection.h26 bool vc_is_sel(const struct vc_data *vc);
35 unsigned short *screen_pos(const struct vc_data *vc, int w_offset, bool viewed);
36 u16 screen_glyph(const struct vc_data *vc, int offset);
37 u32 screen_glyph_unicode(const struct vc_data *vc, int offset);
38 void complement_pos(struct vc_data *vc, int offset);
39 void invert_screen(struct vc_data *vc, int offset, int count, bool viewed);
41 void getconsxy(const struct vc_data *vc, unsigned char xy[static 2]);
42 void putconsxy(struct vc_data *vc, unsigned char xy[static const 2]);
44 u16 vcs_scr_readw(const struct vc_data *vc, const u16 *org);
45 void vcs_scr_writew(struct vc_data *vc, u1
[all...]
H A Dvt_kern.h28 int __vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines,
31 void reset_palette(struct vc_data *vc);
35 int con_font_op(struct vc_data *vc, struct console_font_op *op);
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);
41 void update_region(struct vc_data *vc, unsigned long start, int count);
42 void redraw_screen(struct vc_data *vc, int is_switch);
46 static inline int vc_resize(struct vc_data *vc, unsigned int cols, argument
49 return __vc_resize(vc, col
88 con_clear_unimap(struct vc_data *vc) argument
93 con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) argument
98 con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list) argument
103 con_set_default_unimap(struct vc_data *vc) argument
107 con_free_unimap(struct vc_data *vc) argument
110 con_protect_unimap(struct vc_data *vc, int rdonly) argument
146 struct vc_data *vc; /* VC on which the update happened */ member in struct:vt_notifier_param
[all...]
H A Dconsole.h42 * @con_init: initialize the console on @vc. @init is true for the very first
43 * call on this @vc.
44 * @con_deinit: deinitialize the console from @vc.
45 * @con_clear: erase @count characters at [@x, @y] on @vc. @count >= 1.
46 * @con_putc: emit one character with attributes @ca to [@x, @y] on @vc.
48 * @con_putcs: emit @count characters with attributes @s to [@x, @y] on @vc.
58 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can
60 * @con_font_get: fetch the current font on @vc of height @vpitch into @font.
62 * @con_font_default: set default font on @vc. @name can be %NULL or font name
64 * @con_resize: resize the @vc consol
148 con_debug_enter(struct vc_data *vc) argument
[all...]
/linux-master/drivers/media/pci/tw686x/
H A Dtw686x-video.c49 static void tw686x_buf_done(struct tw686x_video_channel *vc, argument
52 struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
53 struct tw686x_dev *dev = vc->dev;
57 if (vc->curr_bufs[pb]) {
58 vb = &vc->curr_bufs[pb]->vb;
61 vb->sequence = vc->sequence++;
71 vc->pb = !pb;
77 static void tw686x_memcpy_dma_free(struct tw686x_video_channel *vc, argument
80 struct tw686x_dma_desc *desc = &vc->dma_descs[pb];
81 struct tw686x_dev *dev = vc
101 tw686x_memcpy_dma_alloc(struct tw686x_video_channel *vc, unsigned int pb) argument
128 tw686x_memcpy_buf_refill(struct tw686x_video_channel *vc, unsigned int pb) argument
154 tw686x_contig_buf_refill(struct tw686x_video_channel *vc, unsigned int pb) argument
224 tw686x_sg_buf_refill(struct tw686x_video_channel *vc, unsigned int pb) argument
254 tw686x_sg_dma_free(struct tw686x_video_channel *vc, unsigned int pb) argument
269 tw686x_sg_dma_alloc(struct tw686x_video_channel *vc, unsigned int pb) argument
320 struct tw686x_video_channel *vc = &dev->video_channels[ch]; local
401 tw686x_set_framerate(struct tw686x_video_channel *vc, unsigned int fps) argument
425 struct tw686x_video_channel *vc = vb2_get_drv_priv(vq); local
450 struct tw686x_video_channel *vc = vb2_get_drv_priv(vb->vb2_queue); local
472 tw686x_clear_queue(struct tw686x_video_channel *vc, enum vb2_buffer_state state) argument
495 struct tw686x_video_channel *vc = vb2_get_drv_priv(vq); local
547 struct tw686x_video_channel *vc = vb2_get_drv_priv(vq); local
566 struct tw686x_video_channel *vc = vb2_get_drv_priv(vb->vb2_queue); local
588 struct tw686x_video_channel *vc; local
626 struct tw686x_video_channel *vc = video_drvdata(file); local
642 struct tw686x_video_channel *vc = video_drvdata(file); local
671 tw686x_set_format(struct tw686x_video_channel *vc, unsigned int pixelformat, unsigned int width, unsigned int height, bool realloc) argument
739 struct tw686x_video_channel *vc = video_drvdata(file); local
761 struct tw686x_video_channel *vc = video_drvdata(file); local
769 tw686x_set_standard(struct tw686x_video_channel *vc, v4l2_std_id id) argument
805 struct tw686x_video_channel *vc = video_drvdata(file); local
836 struct tw686x_video_channel *vc = video_drvdata(file); local
894 struct tw686x_video_channel *vc = video_drvdata(file); local
903 struct tw686x_video_channel *vc = video_drvdata(file); local
920 struct tw686x_video_channel *vc = video_drvdata(file); local
939 struct tw686x_video_channel *vc = video_drvdata(file); local
955 struct tw686x_video_channel *vc = video_drvdata(file); local
979 tw686x_set_input(struct tw686x_video_channel *vc, unsigned int i) argument
993 struct tw686x_video_channel *vc = video_drvdata(file); local
1011 struct tw686x_video_channel *vc = video_drvdata(file); local
1020 struct tw686x_video_channel *vc = video_drvdata(file); local
1089 struct tw686x_video_channel *vc; local
1150 struct tw686x_video_channel *vc = &dev->video_channels[ch]; local
1186 struct tw686x_video_channel *vc = &dev->video_channels[ch]; local
1193 struct tw686x_video_channel *vc = &dev->video_channels[ch]; local
[all...]
/linux-master/drivers/video/console/
H A Ddummycon.c53 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, argument
62 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, argument
70 if (s[i] != vc->vc_video_erase_char)
82 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, argument
89 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, argument
91 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, argument
93 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, argument
105 static void dummycon_init(struct vc_data *vc, bool init) argument
107 vc->vc_can_do_color = 1;
109 vc
115 dummycon_deinit(struct vc_data *vc) argument
116 dummycon_clear(struct vc_data *vc, unsigned int sy, unsigned int sx, unsigned int width) argument
118 dummycon_cursor(struct vc_data *vc, bool enable) argument
120 dummycon_scroll(struct vc_data *vc, unsigned int top, unsigned int bottom, enum con_scroll dir, unsigned int lines) argument
127 dummycon_switch(struct vc_data *vc) argument
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dfbcon.c166 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
176 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
177 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
184 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
228 struct vc_data *vc; local
236 vc = vc_cons[i].d;
237 if (!vc || vc->vc_mode != KD_TEXT ||
241 p = &fb_display[vc->vc_num];
273 static inline int fbcon_is_inactive(struct vc_data *vc, struc argument
281 get_color(struct vc_data *vc, struct fb_info *info, u16 c, int is_fg) argument
352 struct vc_data *vc = NULL; local
546 fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, int cols, int rows, int new_cols, int new_rows) argument
552 fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, int cols, int rows, int new_cols, int new_rows) argument
642 set_blitting_type(struct vc_data *vc, struct fb_info *info) argument
667 set_blitting_type(struct vc_data *vc, struct fb_info *info) argument
736 con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info, int unit) argument
751 con2fb_release_oldinfo(struct vc_data *vc, struct fb_info *oldinfo, struct fb_info *newinfo) argument
775 con2fb_init_display(struct vc_data *vc, struct fb_info *info, int unit, int show_logo) argument
822 struct vc_data *vc = vc_cons[unit].d; local
924 struct vc_data *vc = vc_cons[fg_console].d; local
989 fbcon_init(struct vc_data *vc, bool init) argument
1167 fbcon_deinit(struct vc_data *vc) argument
1236 __fbcon_clear(struct vc_data *vc, unsigned int sy, unsigned int sx, unsigned int height, unsigned int width) argument
1274 fbcon_clear(struct vc_data *vc, unsigned int sy, unsigned int sx, unsigned int width) argument
1280 fbcon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, unsigned int ypos, unsigned int xpos) argument
1293 fbcon_clear_margins(struct vc_data *vc, int bottom_only) argument
1302 fbcon_cursor(struct vc_data *vc, bool enable) argument
1335 struct vc_data **default_mode, *vc; local
1396 ywrap_up(struct vc_data *vc, int count) argument
1415 ywrap_down(struct vc_data *vc, int count) argument
1434 ypan_up(struct vc_data *vc, int count) argument
1458 ypan_up_redraw(struct vc_data *vc, int t, int count) argument
1482 ypan_down(struct vc_data *vc, int count) argument
1506 ypan_down_redraw(struct vc_data *vc, int t, int count) argument
1530 fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p, int line, int count, int dy) argument
1564 fbcon_redraw_blit(struct vc_data *vc, struct fb_info *info, struct fbcon_display *p, int line, int count, int ycount) argument
1614 fbcon_redraw(struct vc_data *vc, int line, int count, int offset) argument
1668 fbcon_bmove_rec(struct vc_data *vc, struct fbcon_display *p, int sy, int sx, int dy, int dx, int height, int width, u_int y_break) argument
1710 fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx, int height, int width) argument
1733 fbcon_scroll(struct vc_data *vc, unsigned int t, unsigned int b, enum con_scroll dir, unsigned int count) argument
1929 updatescrollmode_accel(struct fbcon_display *p, struct fb_info *info, struct vc_data *vc) argument
1971 updatescrollmode(struct fbcon_display *p, struct fb_info *info, struct vc_data *vc) argument
1994 fbcon_resize(struct vc_data *vc, unsigned int width, unsigned int height, bool from_user) argument
2058 fbcon_switch(struct vc_data *vc) argument
2185 fbcon_generic_blank(struct vc_data *vc, struct fb_info *info, int blank) argument
2200 fbcon_blank(struct vc_data *vc, enum vesa_blank_mode blank, bool mode_switch) argument
2243 fbcon_debug_enter(struct vc_data *vc) argument
2255 fbcon_debug_leave(struct vc_data *vc) argument
2265 fbcon_get_font(struct vc_data *vc, struct console_font *font, unsigned int vpitch) argument
2331 set_vc_hi_font(struct vc_data *vc, bool set) argument
2391 fbcon_do_set_font(struct vc_data *vc, int w, int h, int charcount, const u8 * data, int userfont) argument
2460 fbcon_set_font(struct vc_data *vc, const struct console_font *font, unsigned int vpitch, unsigned int flags) argument
2533 fbcon_set_def_font(struct vc_data *vc, struct console_font *font, const char *name) argument
2558 fbcon_set_palette(struct vc_data *vc, const unsigned char *table) argument
2595 fbcon_invert_region(struct vc_data *vc, u16 * p, int cnt) argument
2613 struct vc_data *vc = NULL; local
2626 struct vc_data *vc; local
2639 struct vc_data *vc; local
2677 struct vc_data *vc; local
2723 struct vc_data *vc; local
3001 struct vc_data *vc; local
3023 struct vc_data *vc; local
3044 struct vc_data *vc; local
[all...]
H A Dfbcon_rotate.c21 static int fbcon_rotate_font(struct fb_info *info, struct vc_data *vc) argument
29 if (vc->vc_font.data == ops->fontdata &&
33 src = ops->fontdata = vc->vc_font.data;
35 len = vc->vc_font.charcount;
36 s_cellsize = ((vc->vc_font.width + 7)/8) *
37 vc->vc_font.height;
42 d_cellsize = ((vc->vc_font.height + 7)/8) *
43 vc->vc_font.width;
67 rotate_ud(src, dst, vc->vc_font.width,
68 vc
[all...]
H A Dbitblit.c26 struct vc_data *vc)
28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = DIV_ROUND_UP(vc->vc_font.width, 8);
30 unsigned int cellsize = vc->vc_font.height * width;
46 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
51 area.sx = sx * vc->vc_font.width;
52 area.sy = sy * vc->vc_font.height;
53 area.dx = dx * vc->vc_font.width;
54 area.dy = dy * vc->vc_font.height;
55 area.height = height * vc
25 update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
61 bit_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
77 bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
108 bit_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
143 bit_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
205 bit_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
236 bit_cursor(struct vc_data *vc, struct fb_info *info, bool enable, int fg, int bg) argument
[all...]
H A Dfbcon_ud.c26 struct vc_data *vc)
28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.width + 7) >> 3;
30 unsigned int cellsize = vc->vc_font.height * width;
48 static void ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
56 area.sy = vyres - ((sy + height) * vc->vc_font.height);
57 area.sx = vxres - ((sx + width) * vc->vc_font.width);
58 area.dy = vyres - ((dy + height) * vc->vc_font.height);
59 area.dx = vxres - ((dx + width) * vc->vc_font.width);
60 area.height = height * vc
25 ud_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
66 ud_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
85 ud_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
116 ud_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
151 ud_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
222 ud_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
251 ud_cursor(struct vc_data *vc, struct fb_info *info, bool enable, int fg, int bg) argument
[all...]
H A Dfbcon_ccw.c26 struct vc_data *vc)
28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
30 int mod = vc->vc_font.height % 8;
39 for (i = 0; i < vc->vc_font.width; i++) {
63 static void ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
70 area.sx = sy * vc->vc_font.height;
71 area.sy = vyres - ((sx + width) * vc->vc_font.width);
72 area.dx = dy * vc->vc_font.height;
73 area.dy = vyres - ((dx + width) * vc
25 ccw_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
80 ccw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
98 ccw_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
129 ccw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
191 ccw_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
221 ccw_cursor(struct vc_data *vc, struct fb_info *info, bool enable, int fg, int bg) argument
[all...]
H A Dfbcon_cw.c26 struct vc_data *vc)
28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
32 for (i = 0; i < vc->vc_font.width; i++) {
48 static void cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
55 area.sx = vxres - ((sy + height) * vc->vc_font.height);
56 area.sy = sx * vc->vc_font.width;
57 area.dx = vxres - ((dy + height) * vc->vc_font.height);
58 area.dy = dx * vc->vc_font.width;
59 area.width = height * vc
25 cw_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
65 cw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
83 cw_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
114 cw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
174 cw_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
204 cw_cursor(struct vc_data *vc, struct fb_info *info, bool enable, int fg, int bg) argument
[all...]
H A Dtileblit.c19 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
34 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, argument
38 int bgshift = (vc->vc_hi_font_mask) ? 13 : 12;
39 int fgshift = (vc->vc_hi_font_mask) ? 9 : 8;
41 rect.index = vc->vc_video_erase_char &
42 ((vc->vc_hi_font_mask) ? 0x1ff : 0xff);
43 rect.fg = attr_fgcol_ec(fgshift, vc, info);
44 rect.bg = attr_bgcol_ec(bgshift, vc, info);
54 static void tile_putcs(struct vc_data *vc, struct fb_info *info, argument
59 unsigned short charmask = vc
76 tile_clear_margins(struct vc_data *vc, struct fb_info *info, int color, int bottom_only) argument
82 tile_cursor(struct vc_data *vc, struct fb_info *info, bool enable, int fg, int bg) argument
131 fbcon_set_tileops(struct vc_data *vc, struct fb_info *info) argument
[all...]
/linux-master/drivers/accessibility/braille/
H A Dbraille_console.c109 static void vc_follow_cursor(struct vc_data *vc) argument
111 vc_x = vc->state.x - (vc->state.x % WIDTH);
112 vc_y = vc->state.y;
113 lastvc_x = vc->state.x;
114 lastvc_y = vc->state.y;
118 static void vc_maybe_cursor_moved(struct vc_data *vc) argument
120 if (vc->state.x != lastvc_x || vc->state.y != lastvc_y)
121 vc_follow_cursor(vc);
125 vc_refresh(struct vc_data *vc) argument
146 struct vc_data *vc = param->vc; local
267 struct vc_data *vc = param->vc; local
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dvc.c18 #include "vc.h"
118 struct omap_vc_channel *vc = voltdm->vc; local
124 if (vc->flags & OMAP_VC_CHANNEL_DEFAULT)
125 vc->cfg_channel &= vc_cfg_bits->racen;
127 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift,
128 vc->cfg_channel << vc->cfg_channel_sa_shift,
129 vc->cfg_channel_reg);
139 struct omap_vc_channel *vc local
194 struct omap_vc_channel *vc = voltdm->vc; local
257 static struct omap3_vc vc; variable in typeref:struct:omap3_vc
744 struct omap_vc_channel *vc = voltdm->vc; local
807 struct omap_vc_channel *vc = voltdm->vc; local
[all...]
/linux-master/arch/mips/math-emu/
H A Dieee754int.h54 #define EXPLODESP(v, vc, vs, ve, vm) \
61 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; \
92 #define EXPLODEDP(v, vc, vs, ve, vm) \
99 vc = IEEE754_CLASS_INF; \
101 vc
[all...]
/linux-master/drivers/media/usb/s2255/
H A Ds2255drv.c248 struct s2255_vc vc[MAX_CHANNELS]; member in struct:s2255_dev
337 static int s2255_start_acquire(struct s2255_vc *vc);
338 static int s2255_stop_acquire(struct s2255_vc *vc);
339 static void s2255_fillbuff(struct s2255_vc *vc, struct s2255_buffer *buf,
341 static int s2255_set_mode(struct s2255_vc *vc, struct s2255_mode *mode);
409 static int norm_maxw(struct s2255_vc *vc) argument
411 return (vc->std & V4L2_STD_525_60) ?
415 static int norm_maxh(struct s2255_vc *vc) argument
417 return (vc->std & V4L2_STD_525_60) ?
421 static int norm_minw(struct s2255_vc *vc) argument
427 norm_minh(struct s2255_vc *vc) argument
543 s2255_got_frame(struct s2255_vc *vc, int jpgsize) argument
592 s2255_fillbuff(struct s2255_vc *vc, struct s2255_buffer *buf, int jpgsize) argument
648 struct s2255_vc *vc = vb2_get_drv_priv(vq); local
658 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); local
690 struct s2255_vc *vc = vb2_get_drv_priv(vb->vb2_queue); local
714 struct s2255_vc *vc = video_drvdata(file); local
740 struct s2255_vc *vc = video_drvdata(file); local
762 struct s2255_vc *vc = video_drvdata(file); local
811 struct s2255_vc *vc = video_drvdata(file); local
981 s2255_set_mode(struct s2255_vc *vc, struct s2255_mode *mode) argument
1031 s2255_cmd_status(struct s2255_vc *vc, u32 *pstatus) argument
1063 struct s2255_vc *vc = vb2_get_drv_priv(vq); local
1080 struct s2255_vc *vc = vb2_get_drv_priv(vq); local
1096 struct s2255_vc *vc = video_drvdata(file); local
1137 struct s2255_vc *vc = video_drvdata(file); local
1153 struct s2255_vc *vc = video_drvdata(file); local
1198 struct s2255_vc *vc = local
1238 struct s2255_vc *vc = video_drvdata(file); local
1249 struct s2255_vc *vc = video_drvdata(file); local
1262 struct s2255_vc *vc = video_drvdata(file); local
1298 struct s2255_vc *vc = video_drvdata(file); local
1352 struct s2255_vc *vc = video_drvdata(file); local
1370 struct s2255_vc *vc = video_drvdata(file); local
1404 struct s2255_vc *vc = video_drvdata(file); local
1549 struct s2255_vc *vc = local
1589 struct s2255_vc *vc; local
1701 struct s2255_vc *vc; local
1924 s2255_create_sys_buffers(struct s2255_vc *vc) argument
1957 s2255_release_sys_buffers(struct s2255_vc *vc) argument
1996 struct s2255_vc *vc = &dev->vc[j]; local
2114 s2255_start_acquire(struct s2255_vc *vc) argument
2145 s2255_stop_acquire(struct s2255_vc *vc) argument
2260 struct s2255_vc *vc = &dev->vc[i]; local
[all...]
/linux-master/drivers/accessibility/speakup/
H A Dmain.c258 static unsigned char get_attributes(struct vc_data *vc, u16 *pos) argument
260 pos = screen_pos(vc, pos - (u16 *)vc->vc_origin, true);
261 return (scr_readw(pos) & ~vc->vc_hi_font_mask) >> 8;
264 static void speakup_date(struct vc_data *vc) argument
266 spk_x = spk_cx = vc->state.x;
267 spk_y = spk_cy = vc->state.y;
268 spk_pos = spk_cp = vc->vc_pos;
270 spk_attr = get_attributes(vc, (u_short *)spk_pos);
290 static void speakup_shut_up(struct vc_data *vc) argument
301 speech_kill(struct vc_data *vc) argument
319 speakup_off(struct vc_data *vc) argument
331 speakup_parked(struct vc_data *vc) argument
342 speakup_cut(struct vc_data *vc) argument
377 speakup_paste(struct vc_data *vc) argument
388 say_attributes(struct vc_data *vc) argument
413 announce_edge(struct vc_data *vc, enum edge msg_id) argument
457 get_char(struct vc_data *vc, u16 *pos, u_char *attribs) argument
480 say_char(struct vc_data *vc) argument
495 say_phonetic_char(struct vc_data *vc) argument
511 say_prev_char(struct vc_data *vc) argument
523 say_next_char(struct vc_data *vc) argument
544 get_word(struct vc_data *vc) argument
591 say_word(struct vc_data *vc) argument
604 say_prev_word(struct vc_data *vc) argument
659 say_next_word(struct vc_data *vc) argument
701 spell_word(struct vc_data *vc) argument
751 get_line(struct vc_data *vc) argument
769 say_line(struct vc_data *vc) argument
791 say_prev_line(struct vc_data *vc) argument
803 say_next_line(struct vc_data *vc) argument
815 say_from_to(struct vc_data *vc, u_long from, u_long to, int read_punc) argument
845 say_line_from_to(struct vc_data *vc, u_long from, u_long to, int read_punc) argument
881 get_sentence_buf(struct vc_data *vc, int read_punc) argument
932 say_screen_from_to(struct vc_data *vc, u_long from, u_long to) argument
947 say_screen(struct vc_data *vc) argument
952 speakup_win_say(struct vc_data *vc) argument
970 top_edge(struct vc_data *vc) argument
978 bottom_edge(struct vc_data *vc) argument
986 left_edge(struct vc_data *vc) argument
994 right_edge(struct vc_data *vc) argument
1002 say_first_char(struct vc_data *vc) argument
1022 say_last_char(struct vc_data *vc) argument
1039 say_position(struct vc_data *vc) argument
1047 say_char_num(struct vc_data *vc) argument
1057 say_from_top(struct vc_data *vc) argument
1062 say_to_bottom(struct vc_data *vc) argument
1067 say_from_left(struct vc_data *vc) argument
1072 say_to_right(struct vc_data *vc) argument
1165 do_handle_shift(struct vc_data *vc, u_char value, char up_flag) argument
1196 do_handle_latin(struct vc_data *vc, u_char value, char up_flag) argument
1298 toggle_cursoring(struct vc_data *vc) argument
1328 edit_bits(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
1350 speakup_allocate(struct vc_data *vc, gfp_t gfp_flags) argument
1368 speakup_deallocate(struct vc_data *vc) argument
1400 kbd_fakekey2(struct vc_data *vc, enum read_all_command command) argument
1407 read_all_doc(struct vc_data *vc) argument
1429 stop_read_all(struct vc_data *vc) argument
1437 start_read_all_timer(struct vc_data *vc, enum read_all_command command) argument
1448 handle_cursor_read_all(struct vc_data *vc, enum read_all_command command) argument
1520 pre_handle_cursor(struct vc_data *vc, u_char value, char up_flag) argument
1542 do_handle_cursor(struct vc_data *vc, u_char value, char up_flag) argument
1573 update_color_buffer(struct vc_data *vc, const u16 *ic, int len) argument
1604 reset_highlight_buffers(struct vc_data *vc) argument
1613 count_highlight_color(struct vc_data *vc) argument
1643 get_highlight_color(struct vc_data *vc) argument
1665 speak_highlight(struct vc_data *vc) argument
1692 struct vc_data *vc = vc_cons[cursor_con].d; local
1738 speakup_bs(struct vc_data *vc) argument
1762 speakup_con_write(struct vc_data *vc, u16 *str, int len) argument
1791 speakup_con_update(struct vc_data *vc) argument
1808 do_handle_spec(struct vc_data *vc, u_char value, char up_flag) argument
1879 speakup_win_set(struct vc_data *vc) argument
1914 speakup_win_clear(struct vc_data *vc) argument
1924 speakup_win_enable(struct vc_data *vc) argument
1937 speakup_bits(struct vc_data *vc) argument
1950 handle_goto(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
2035 speakup_goto(struct vc_data *vc) argument
2045 speakup_help(struct vc_data *vc) argument
2050 do_nothing(struct vc_data *vc) argument
2057 speakup_lock(struct vc_data *vc) argument
2088 do_spkup(struct vc_data *vc, u_char value) argument
2108 speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym, int up_flag) argument
2230 struct vc_data *vc = param->vc; local
2300 struct vc_data *vc = param->vc; local
2367 struct vc_data *vc = vc_cons[fg_console].d; local
[all...]
H A Dspk_types.h55 typedef int (*special_func)(struct vc_data *vc, u_char type, u_char ch,
87 #define spk_shut_up (speakup_console[vc->vc_num]->shut_up)
88 #define spk_killed (speakup_console[vc->vc_num]->shut_up & 0x40)
89 #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)
93 #define spk_pos (speakup_console[vc->vc_num]->reading_pos)
94 #define spk_cp (speakup_console[vc->vc_num]->cursor_pos)
95 #define goto_pos (speakup_console[vc
[all...]

Completed in 228 milliseconds

1234567