Home
last modified time | relevance | path

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

12345

/linux/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 restore_cur(struct vc_data *vc);
146 static void save_cur(struct vc_data *vc);
147 static void reset_terminal(struct vc_data *vc, int do_clear);
150 static void set_cursor(struct vc_data *vc);
151 static void hide_cursor(struct vc_data *vc);
155 static void set_palette(struct vc_data *vc);
270 * the attribute 'active' contains the name of the current vc
292 notify_write(struct vc_data * vc,unsigned int unicode) notify_write() argument
298 notify_update(struct vc_data * vc) notify_update() argument
307 con_is_fg(const struct vc_data * vc) con_is_fg() argument
312 con_should_update(const struct vc_data * vc) con_should_update() argument
317 screenpos(const struct vc_data * vc,unsigned int offset,bool viewed) screenpos() argument
325 con_putc(struct vc_data * vc,u16 ca,unsigned int y,unsigned int x) con_putc() argument
385 vc_uniscr_set(struct vc_data * vc,u32 ** new_uni_lines) vc_uniscr_set() argument
391 vc_uniscr_putc(struct vc_data * vc,u32 uc) vc_uniscr_putc() argument
397 vc_uniscr_insert(struct vc_data * vc,unsigned int nr) vc_uniscr_insert() argument
408 vc_uniscr_delete(struct vc_data * vc,unsigned int nr) vc_uniscr_delete() argument
419 vc_uniscr_clear_line(struct vc_data * vc,unsigned int x,unsigned int nr) vc_uniscr_clear_line() argument
426 vc_uniscr_clear_lines(struct vc_data * vc,unsigned int y,unsigned int nr) vc_uniscr_clear_lines() argument
456 vc_uniscr_scroll(struct vc_data * vc,unsigned int top,unsigned int bottom,enum con_scroll dir,unsigned int nr) vc_uniscr_scroll() argument
475 vc_uniscr_getc(struct vc_data * vc,int relative_pos) vc_uniscr_getc() argument
521 vc_uniscr_check(struct vc_data * vc) vc_uniscr_check() argument
565 vc_uniscr_copy_line(const struct vc_data * vc,void * dest,bool viewed,unsigned int row,unsigned int col,unsigned int nr) vc_uniscr_copy_line() argument
602 con_scroll(struct vc_data * vc,unsigned int top,unsigned int bottom,enum con_scroll dir,unsigned int nr) con_scroll() argument
630 do_update_region(struct vc_data * vc,unsigned long start,int count) do_update_region() argument
664 update_region(struct vc_data * vc,unsigned long start,int count) update_region() argument
678 build_attr(struct vc_data * vc,u8 _color,enum vc_intensity _intensity,bool _blink,bool _underline,bool _reverse,bool _italic) build_attr() argument
722 update_attr(struct vc_data * vc) update_attr() argument
733 invert_screen(struct vc_data * vc,int offset,int count,bool viewed) invert_screen() argument
782 complement_pos(struct vc_data * vc,int offset) complement_pos() argument
816 insert_char(struct vc_data * vc,unsigned int nr) insert_char() argument
829 delete_char(struct vc_data * vc,unsigned int nr) delete_char() argument
845 add_softcursor(struct vc_data * vc) add_softcursor() argument
867 hide_softcursor(struct vc_data * vc) hide_softcursor() argument
878 hide_cursor(struct vc_data * vc) hide_cursor() argument
887 set_cursor(struct vc_data * vc) set_cursor() argument
901 set_origin(struct vc_data * vc) set_origin() argument
915 save_screen(struct vc_data * vc) save_screen() argument
923 flush_scrollback(struct vc_data * vc) flush_scrollback() argument
946 clear_buffer_attributes(struct vc_data * vc) clear_buffer_attributes() argument
957 redraw_screen(struct vc_data * vc,int is_switch) redraw_screen() argument
1027 visual_init(struct vc_data * vc,int num,bool init) visual_init() argument
1057 visual_deinit(struct vc_data * vc) visual_deinit() argument
1065 struct vc_data *vc = container_of(port, struct vc_data, port); vc_port_destruct() local
1085 struct vc_data *vc; vc_allocate() local
1142 resize_screen(struct vc_data * vc,int width,int height,bool from_user) resize_screen() argument
1169 vc_do_resize(struct tty_struct * tty,struct vc_data * vc,unsigned int cols,unsigned int lines,bool from_user) vc_do_resize() argument
1328 __vc_resize(struct vc_data * vc,unsigned int cols,unsigned int rows,bool from_user) __vc_resize() argument
1348 struct vc_data *vc = tty->driver_data; vt_resize() local
1356 struct vc_data *vc = NULL; vc_deallocate() local
1388 set_kbd(vc,x) global() argument
1389 clr_kbd(vc,x) global() argument
1390 is_kbd(vc,x) global() argument
1428 gotoxy(struct vc_data * vc,int new_x,int new_y) gotoxy() argument
1460 gotoxay(struct vc_data * vc,int new_x,int new_y) gotoxay() argument
1465 scrollback(struct vc_data * vc) scrollback() argument
1470 scrollfront(struct vc_data * vc,int lines) scrollfront() argument
1477 lf(struct vc_data * vc) lf() argument
1492 ri(struct vc_data * vc) ri() argument
1506 cr(struct vc_data * vc) cr() argument
1513 bs(struct vc_data * vc) bs() argument
1523 del(struct vc_data * vc) del() argument
1535 csi_J(struct vc_data * vc,enum CSI_J vpar) csi_J() argument
1578 csi_K(struct vc_data * vc) csi_K() argument
1608 csi_X(struct vc_data * vc) csi_X() argument
1619 default_attr(struct vc_data * vc) default_attr() argument
1652 rgb_foreground(struct vc_data * vc,const struct rgb * c) rgb_foreground() argument
1674 rgb_background(struct vc_data * vc,const struct rgb * c) rgb_background() argument
1688 vc_t416_color(struct vc_data * vc,int i,void (* set_color)(struct vc_data * vc,const struct rgb * c)) vc_t416_color() argument
1689 vc_t416_color(struct vc_data * vc,int i,void (* set_color)(struct vc_data * vc,const struct rgb * c)) vc_t416_color() argument
1750 csi_m(struct vc_data * vc) csi_m() argument
1862 cursor_report(struct vc_data * vc,struct tty_struct * tty) cursor_report() argument
1907 struct vc_data *vc = tty->driver_data; get_bracketed_paste() local
1913 enter_alt_screen(struct vc_data * vc) enter_alt_screen() argument
1932 leave_alt_screen(struct vc_data * vc) leave_alt_screen() argument
1988 csi_DEC_hl(struct vc_data * vc,bool on_off) csi_DEC_hl() argument
2056 csi_hl(struct vc_data * vc,bool on_off) csi_hl() argument
2098 csi_RSB(struct vc_data * vc) csi_RSB() argument
2163 csi_at(struct vc_data * vc,unsigned int nr) csi_at() argument
2170 csi_L(struct vc_data * vc) csi_L() argument
2179 csi_P(struct vc_data * vc) csi_P() argument
2187 csi_M(struct vc_data * vc) csi_M() argument
2196 save_cur(struct vc_data * vc) save_cur() argument
2202 restore_cur(struct vc_data * vc) restore_cur() argument
2259 reset_terminal(struct vc_data * vc,int do_clear) reset_terminal() argument
2317 vc_setGx(struct vc_data * vc,unsigned int which,u8 c) vc_setGx() argument
2373 handle_ascii(struct tty_struct * tty,struct vc_data * vc,u8 c) handle_ascii() argument
2442 handle_esc(struct tty_struct * tty,struct vc_data * vc,u8 c) handle_esc() argument
2512 csi_DEC(struct tty_struct * tty,struct vc_data * vc,u8 c) csi_DEC() argument
2550 csi_ECMA(struct tty_struct * tty,struct vc_data * vc,u8 c) csi_ECMA() argument
2682 vc_reset_params(struct vc_data * vc) vc_reset_params() argument
2689 do_con_trol(struct tty_struct * tty,struct vc_data * vc,u8 c) do_con_trol() argument
2892 con_flush(struct vc_data * vc,struct vc_draw_region * draw) con_flush() argument
2903 vc_translate_ascii(const struct vc_data * vc,int c) vc_translate_ascii() argument
2947 vc_translate_unicode(struct vc_data * vc,int c,bool * rescan) vc_translate_unicode() argument
3006 vc_translate(struct vc_data * vc,int * c,bool * rescan) vc_translate() argument
3019 vc_invert_attr(const struct vc_data * vc) vc_invert_attr() argument
3034 vc_is_control(struct vc_data * vc,int tc,int c) vc_is_control() argument
3081 vc_con_rewind(struct vc_data * vc) vc_con_rewind() argument
3094 vc_process_ucs(struct vc_data * vc,int * c,int * tc) vc_process_ucs() argument
3153 vc_get_glyph(struct vc_data * vc,int tc) vc_get_glyph() argument
3192 vc_con_write_normal(struct vc_data * vc,int tc,int c,struct vc_draw_region * draw) vc_con_write_normal() argument
3283 struct vc_data *vc = tty->driver_data; do_con_write() local
3370 struct vc_data *vc = vc_cons[fg_console].d; console_callback() local
3385 struct vc_data *vc = vc_cons[fg_console].d; set_console() local
3450 struct vc_data *vc = vc_cons[fg_console].d; vt_console_print() local
3690 struct vc_data *vc = tty->driver_data; con_unthrottle() local
3725 struct vc_data *vc = tty->driver_data; con_flush_chars() local
3740 struct vc_data *vc; con_install() local
3788 struct vc_data *vc = tty->driver_data; con_shutdown() local
3797 struct vc_data *vc = tty->driver_data; con_cleanup() local
3818 vc_init(struct vc_data * vc,int do_clear) vc_init() argument
3847 struct vc_data *vc; con_init() local
4034 struct vc_data *vc = vc_cons[i].d; do_bind_con_driver() local
4070 struct vc_data *vc = vc_cons[j].d; do_bind_con_driver() local
4366 con_is_visible(const struct vc_data * vc) con_is_visible() argument
4382 con_debug_enter(struct vc_data * vc) con_debug_enter() argument
4664 struct vc_data *vc = vc_cons[fg_console].d; do_blank_screen() local
4726 struct vc_data *vc; do_unblank_screen() local
4822 set_palette(struct vc_data * vc) set_palette() argument
4881 reset_palette(struct vc_data * vc) reset_palette() argument
4910 con_font_get(struct vc_data * vc,struct console_font_op * op) con_font_get() argument
4955 con_font_set(struct vc_data * vc,const struct console_font_op * op) con_font_set() argument
4995 con_font_default(struct vc_data * vc,struct console_font_op * op) con_font_default() argument
5028 con_font_op(struct vc_data * vc,struct console_font_op * op) con_font_op() argument
5051 screen_glyph(const struct vc_data * vc,int offset) screen_glyph() argument
5062 screen_glyph_unicode(const struct vc_data * vc,int n) screen_glyph_unicode() argument
5074 screen_pos(const struct vc_data * vc,int w_offset,bool viewed) screen_pos() argument
5080 getconsxy(const struct vc_data * vc,unsigned char xy[static2]) getconsxy() argument
5087 putconsxy(struct vc_data * vc,unsigned char xy[static const2]) putconsxy() argument
5094 vcs_scr_readw(const struct vc_data * vc,const u16 * org) vcs_scr_readw() argument
5101 vcs_scr_writew(struct vc_data * vc,u16 val,u16 * org) vcs_scr_writew() argument
5110 vcs_scr_updated(struct vc_data * vc) vcs_scr_updated() argument
[all...]
H A Dkeyboard.c79 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value,
91 typedef void (fn_handler_fn)(struct vc_data *vc);
326 static void put_queue(struct vc_data *vc, int ch) in put_queue() argument
328 tty_insert_flip_char(&vc->port, ch, 0); in put_queue()
329 tty_flip_buffer_push(&vc->port); in put_queue()
332 static void puts_queue(struct vc_data *vc, const char *cp) in puts_queue() argument
334 tty_insert_flip_string(&vc->port, cp, strlen(cp)); in puts_queue()
335 tty_flip_buffer_push(&vc->port); in puts_queue()
338 static void applkey(struct vc_data *vc, int key, char mode) in applkey() argument
344 puts_queue(vc, buf); in applkey()
[all …]
H 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()
210 static int vc_selection_store_chars(struct vc_data *vc, bool unicode) in vc_selection_store_chars() argument
236 if (!((i + 2) % vc->vc_size_row)) { in vc_selection_store_chars()
251 static int vc_do_selection(struct vc_data *vc, unsigned short mode, int ps, in vc_do_selection() argument
269 if (!(ps % vc->vc_size_row)) in vc_do_selection()
279 if (!((pe + 2) % vc->vc_size_row)) in vc_do_selection()
284 new_sel_start = rounddown(ps, vc->vc_size_row); in vc_do_selection()
285 new_sel_end = rounddown(pe, vc->vc_size_row) + in vc_do_selection()
286 vc in vc_do_selection()
338 vc_selection(struct vc_data * vc,struct tiocl_selection * v,struct tty_struct * tty) vc_selection() argument
393 struct vc_data *vc = tty->driver_data; paste_selection() local
[all...]
H A Dconsolemap.c287 unsigned short *set_translate(enum translation_map m, struct vc_data *vc) in set_translate() argument
289 inv_translate[vc->vc_num] = m; in set_translate()
450 void con_free_unimap(struct vc_data *vc) in con_free_unimap() argument
454 p = *vc->uni_pagedict_loc; in con_free_unimap()
457 *vc->uni_pagedict_loc = NULL; in con_free_unimap()
538 static int con_allocate_new(struct vc_data *vc) in con_allocate_new() argument
540 struct uni_pagedict *new, *old = *vc->uni_pagedict_loc; in con_allocate_new()
547 *vc->uni_pagedict_loc = new; in con_allocate_new()
556 static int con_do_clear_unimap(struct vc_data *vc) in con_do_clear_unimap() argument
558 struct uni_pagedict *old = *vc->uni_pagedict_loc; in con_do_clear_unimap()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfbcon.c175 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
185 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
186 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
193 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
237 struct vc_data *vc; in fbcon_rotate_all() local
245 vc = vc_cons[i].d; in fbcon_rotate_all()
246 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
250 p = &fb_display[vc->vc_num]; in fbcon_rotate_all()
307 static inline bool fbcon_is_active(struct vc_data *vc, struct fb_info *info) in fbcon_is_active() argument
312 vc->vc_mode == KD_TEXT && !par->graphics && !fbcon_skip_panic(info); in fbcon_is_active()
[all …]
H A Dbitblit.c25 static void update_attr(u8 *dst, const u8 *src, int attribute, struct vc_data *vc) in update_attr() argument
27 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr()
28 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr()
29 unsigned int cellsize = vc->vc_font.height * width; in update_attr()
45 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, in bit_bmove() argument
50 area.sx = sx * vc->vc_font.width; in bit_bmove()
51 area.sy = sy * vc->vc_font.height; in bit_bmove()
52 area.dx = dx * vc->vc_font.width; in bit_bmove()
53 area.dy = dy * vc->vc_font.height; in bit_bmove()
54 area.height = height * vc->vc_font.height; in bit_bmove()
[all …]
/linux/drivers/dma/
H A Dvirt-dma.c21 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_submit() local
26 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_submit()
29 list_move_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit()
30 spin_unlock_irqrestore(&vc->lock, flags); in vchan_tx_submit()
32 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: submitted\n", in vchan_tx_submit()
33 vc, vd, cookie); in vchan_tx_submit()
51 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_desc_free() local
55 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_desc_free()
57 spin_unlock_irqrestore(&vc->lock, flags); in vchan_tx_desc_free()
59 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: freeing\n", in vchan_tx_desc_free()
[all …]
H A Dmilbeaut-hdmac.c68 struct virt_dma_chan vc; member
84 to_milbeaut_hdmac_chan(struct virt_dma_chan *vc) in to_milbeaut_hdmac_chan() argument
86 return container_of(vc, struct milbeaut_hdmac_chan, vc); in to_milbeaut_hdmac_chan()
101 vd = vchan_next_desc(&mc->vc); in milbeaut_hdmac_next_desc()
177 spin_lock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
203 spin_unlock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
215 struct virt_dma_chan *vc = to_virt_chan(chan); in milbeaut_hdmac_chan_config() local
216 struct milbeaut_hdmac_chan *mc = to_milbeaut_hdmac_chan(vc); in milbeaut_hdmac_chan_config()
218 spin_lock(&mc->vc.lock); in milbeaut_hdmac_chan_config()
220 spin_unlock(&mc->vc.lock); in milbeaut_hdmac_chan_config()
[all …]
H A Duniphier-mdmac.c60 struct virt_dma_chan vc; member
75 to_uniphier_mdmac_chan(struct virt_dma_chan *vc) in to_uniphier_mdmac_chan() argument
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()
235 struct virt_dma_chan *vc = to_virt_chan(chan); in uniphier_mdmac_prep_slave_sg() local
249 return vchan_tx_prep(vc, &md->vd, flags); in uniphier_mdmac_prep_slave_sg()
254 struct virt_dma_chan *vc = to_virt_chan(chan); in uniphier_mdmac_terminate_all() local
255 struct uniphier_mdmac_chan *mc = to_uniphier_mdmac_chan(vc); in uniphier_mdmac_terminate_all()
[all …]
H A Dpxa_dma.c105 struct virt_dma_chan vc; /* Virtual channel */ member
140 container_of(dchan, struct pxad_chan, vc.chan)
152 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
160 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
167 dev_vdbg(&phy->vchan->vc.chan.dev->device, \
371 struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); in lookup_phy()
399 dev_dbg(&pchan->vc.chan.dev->device, in lookup_phy()
408 struct pxad_device *pdev = to_pxad_dev(chan->vc.chan.device); in pxad_free_phy()
412 dev_dbg(&chan->vc.chan.dev->device, in pxad_free_phy()
457 dev_dbg(&phy->vchan->vc.chan.dev->device, in phy_enable()
[all …]
H A Dmilbeaut-xdmac.c69 struct virt_dma_chan vc; member
81 to_milbeaut_xdmac_chan(struct virt_dma_chan *vc) in to_milbeaut_xdmac_chan() argument
83 return container_of(vc, struct milbeaut_xdmac_chan, vc); in to_milbeaut_xdmac_chan()
98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
165 spin_lock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
179 spin_unlock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
192 struct virt_dma_chan *vc = to_virt_chan(chan); in milbeaut_xdmac_prep_memcpy() local
203 return vchan_tx_prep(vc, &md->vd, flags); in milbeaut_xdmac_prep_memcpy()
208 struct virt_dma_chan *vc = to_virt_chan(chan); in milbeaut_xdmac_terminate_all() local
209 struct milbeaut_xdmac_chan *mc = to_milbeaut_xdmac_chan(vc); in milbeaut_xdmac_terminate_all()
[all …]
/linux/arch/arm/mach-omap2/
H A Dvc.c118 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_config_channel() local
124 if (vc->flags & OMAP_VC_CHANNEL_DEFAULT) in omap_vc_config_channel()
125 vc->cfg_channel &= vc_cfg_bits->racen; in omap_vc_config_channel()
127 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift, in omap_vc_config_channel()
128 vc->cfg_channel << vc->cfg_channel_sa_shift, in omap_vc_config_channel()
129 vc->cfg_channel_reg); in omap_vc_config_channel()
139 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_pre_scale() local
165 vc_cmdval = voltdm->read(vc->cmdval_reg); in omap_vc_pre_scale()
166 vc_cmdval &= ~vc->common->cmd_on_mask; in omap_vc_pre_scale()
167 vc_cmdval |= (*target_vsel << vc->common->cmd_on_shift); in omap_vc_pre_scale()
[all …]
/linux/drivers/accessibility/braille/
H A Dbraille_console.c162 static void vc_follow_cursor(struct vc_data *vc) in keyboard_notifier_call()
164 vc_x = vc->state.x - (vc->state.x % WIDTH); in keyboard_notifier_call()
165 vc_y = vc->state.y; in keyboard_notifier_call()
166 lastvc_x = vc->state.x; in keyboard_notifier_call()
167 lastvc_y = vc->state.y; in keyboard_notifier_call()
171 static void vc_maybe_cursor_moved(struct vc_data *vc) in keyboard_notifier_call()
173 if (vc->state.x != lastvc_x || vc->state.y != lastvc_y) in keyboard_notifier_call()
174 vc_follow_cursor(vc); in keyboard_notifier_call()
109 vc_follow_cursor(struct vc_data * vc) vc_follow_cursor() argument
118 vc_maybe_cursor_moved(struct vc_data * vc) vc_maybe_cursor_moved() argument
125 vc_refresh(struct vc_data * vc) vc_refresh() argument
146 struct vc_data *vc = param->vc; keyboard_notifier_call() local
267 struct vc_data *vc = param->vc; vt_notifier_call() local
[all...]
/linux/kernel/time/
H A Dvsyscall.c18 static inline void fill_clock_configuration(struct vdso_clock *vc, const struct tk_read_base *base) in fill_clock_configuration() argument
20 vc->cycle_last = base->cycle_last; in fill_clock_configuration()
22 vc->max_cycles = base->clock->max_cycles; in fill_clock_configuration()
24 vc->mask = base->mask; in fill_clock_configuration()
25 vc->mult = base->mult; in fill_clock_configuration()
26 vc->shift = base->shift; in fill_clock_configuration()
31 struct vdso_clock *vc = vdata->clock_data; in update_vdso_time_data() local
35 fill_clock_configuration(&vc[CS_HRES_COARSE], &tk->tkr_mono); in update_vdso_time_data()
36 fill_clock_configuration(&vc[CS_RAW], &tk->tkr_raw); in update_vdso_time_data()
39 vdso_ts = &vc[CS_HRES_COARSE].basetime[CLOCK_MONOTONIC]; in update_vdso_time_data()
[all …]
/linux/include/linux/
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, in vc_resize() argument
49 return __vc_resize(vc, cols, lines, false); in vc_resize()
[all …]
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, u16 val, u16 *org);
[all …]
H A Dconsole.h45 * @con_init: initialize the console on @vc. @init is true for the very first
46 * call on this @vc.
47 * @con_deinit: deinitialize the console from @vc.
48 * @con_clear: erase @count characters at [@x, @y] on @vc. @count >= 1.
49 * @con_putc: emit one character with attributes @ca to [@x, @y] on @vc.
51 * @con_putcs: emit @count characters with attributes @s to [@x, @y] on @vc.
61 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can
63 * @con_font_get: fetch the current font on @vc of height @vpitch into @font.
65 * @con_font_default: set default font on @vc. @name can be %NULL or font name
67 * @con_resize: resize the @vc consol
143 con_debug_enter(struct vc_data * vc) con_debug_enter() argument
[all...]
/linux/drivers/video/console/
H A Ddummycon.c53 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() argument
62 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() argument
70 if (s[i] != vc->vc_video_erase_char) in dummycon_putcs()
82 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() argument
89 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch() argument
98 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_putc() argument
100 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_putcs() argument
102 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_blank() 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
[all …]
/linux/arch/mips/math-emu/
H A Dieee754int.h54 #define EXPLODESP(v, vc, vs, ve, vm) \ argument
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) \ argument
99 vc = IEEE754_CLASS_INF; \
101 vc = IEEE754_CLASS_QNAN; \
[all …]
/linux/arch/powerpc/math-emu/
H A Dmath_efp.c183 union dw_union vc, va, vb; in do_spe_mathemu() local
200 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu()
201 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu()
210 pr_debug("vc: %08x %08x\n", vc.wp[0], vc.wp[1]); in do_spe_mathemu()
236 vc.wp[1] = va.wp[1] & ~SIGN_BIT_S; in do_spe_mathemu()
240 vc.wp[1] = va.wp[1] | SIGN_BIT_S; in do_spe_mathemu()
244 vc.wp[1] = va.wp[1] ^ SIGN_BIT_S; in do_spe_mathemu()
278 vc.wp[1] = 0; in do_spe_mathemu()
282 FP_TO_INT_ROUND_S(vc.wp[1], SB, 32, in do_spe_mathemu()
302 vc.wp[1] = 0; in do_spe_mathemu()
[all …]
/linux/fs/afs/
H A Dvlclient.c110 struct afs_vldb_entry *afs_vl_get_entry_by_name_u(struct afs_vl_cursor *vc, in afs_vl_get_entry_by_name_u() argument
116 struct afs_net *net = vc->cell->net; in afs_vl_get_entry_by_name_u()
136 call->key = vc->key; in afs_vl_get_entry_by_name_u()
139 call->peer = rxrpc_kernel_get_peer(vc->alist->addrs[vc->addr_index].peer); in afs_vl_get_entry_by_name_u()
140 call->service_id = vc->server->service_id; in afs_vl_get_entry_by_name_u()
153 vc->call_abort_code = call->abort_code; in afs_vl_get_entry_by_name_u()
154 vc->call_error = call->error; in afs_vl_get_entry_by_name_u()
155 vc->call_responded = call->responded; in afs_vl_get_entry_by_name_u()
157 if (vc->call_error) { in afs_vl_get_entry_by_name_u()
159 return ERR_PTR(vc->call_error); in afs_vl_get_entry_by_name_u()
[all …]
/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c200 struct virt_dma_chan vc; member
238 struct mtk_hsdma_vchan *vc; member
255 return container_of(chan, struct mtk_hsdma_vchan, vc.chan); in to_hsdma_vchan()
500 lockdep_assert_held(&hvc->vc.lock); in mtk_hsdma_issue_vchan_pending()
502 list_for_each_entry_safe(vd, vd2, &hvc->vc.desc_issued, node) { in mtk_hsdma_issue_vchan_pending()
585 spin_lock(&hvc->vc.lock); in mtk_hsdma_free_rooms_in_ring()
598 spin_unlock(&hvc->vc.lock); in mtk_hsdma_free_rooms_in_ring()
633 hvc = &hsdma->vc[i]; in mtk_hsdma_free_rooms_in_ring()
634 spin_lock(&hvc->vc.lock); in mtk_hsdma_free_rooms_in_ring()
636 spin_unlock(&hvc->vc.lock); in mtk_hsdma_free_rooms_in_ring()
[all …]
H A Dmtk-cqdma.c122 struct virt_dma_chan vc; member
144 struct mtk_cqdma_vchan *vc; member
155 return container_of(chan, struct mtk_cqdma_vchan, vc.chan); in to_cqdma_vchan()
272 lockdep_assert_held(&cvc->vc.lock); in mtk_cqdma_issue_vchan_pending()
275 list_for_each_entry_safe(vd, vd2, &cvc->vc.desc_issued, node) { in mtk_cqdma_issue_vchan_pending()
333 spin_lock(&cvc->vc.lock); in mtk_cqdma_consume_work_queue()
347 spin_unlock(&cvc->vc.lock); in mtk_cqdma_consume_work_queue()
429 list_for_each_entry(vd, &cvc->vc.desc_issued, node) in mtk_cqdma_find_active_desc()
452 spin_lock(&cvc->vc.lock); in mtk_cqdma_tx_status()
454 spin_unlock(&cvc->vc.lock); in mtk_cqdma_tx_status()
[all …]
/linux/arch/powerpc/kvm/
H A Dbook3s_hv.c162 static inline struct kvm_vcpu *next_runnable_thread(struct kvmppc_vcore *vc, in next_runnable_thread() argument
169 vcpu = READ_ONCE(vc->runnable_threads[i]); in next_runnable_thread()
179 #define for_each_runnable_thread(i, vcpu, vc) \ argument
180 for (i = -1; (vcpu = next_runnable_thread(vc, &i)); )
266 * a vcore using vc->stolen_tb, and the stolen time when the vcpu
280 * updates to vc->stolen_tb are protected by the vcore->stoltb_lock
292 static void kvmppc_core_start_stolen(struct kvmppc_vcore *vc, u64 tb) in kvmppc_core_start_stolen() argument
298 spin_lock_irqsave(&vc->stoltb_lock, flags); in kvmppc_core_start_stolen()
299 vc->preempt_tb = tb; in kvmppc_core_start_stolen()
300 spin_unlock_irqrestore(&vc in kvmppc_core_start_stolen()
303 kvmppc_core_end_stolen(struct kvmppc_vcore * vc,u64 tb) kvmppc_core_end_stolen() argument
319 struct kvmppc_vcore *vc = vcpu->arch.vcore; kvmppc_core_vcpu_load_hv() local
354 struct kvmppc_vcore *vc = vcpu->arch.vcore; kvmppc_core_vcpu_put_hv() local
417 struct kvmppc_vcore *vc = vcpu->arch.vcore; kvmppc_set_arch_compat() local
793 vcore_stolen_time(struct kvmppc_vcore * vc,u64 now) vcore_stolen_time() argument
844 kvmppc_update_vpa_dispatch(struct kvm_vcpu * vcpu,struct kvmppc_vcore * vc) kvmppc_update_vpa_dispatch() argument
874 kvmppc_update_vpa_dispatch_p9(struct kvm_vcpu * vcpu,struct kvmppc_vcore * vc,u64 now) kvmppc_update_vpa_dispatch_p9() argument
900 struct kvmppc_vcore *vc; kvmppc_doorbell_pending() local
2202 struct kvmppc_vcore *vc = vcpu->arch.vcore; kvmppc_set_lpcr() local
3192 kvmppc_remove_runnable(struct kvmppc_vcore * vc,struct kvm_vcpu * vcpu,u64 tb) kvmppc_remove_runnable() argument
3351 kvmppc_start_thread(struct kvm_vcpu * vcpu,struct kvmppc_vcore * vc) kvmppc_start_thread() argument
3461 kvmppc_vcore_preempt(struct kvmppc_vcore * vc) kvmppc_vcore_preempt() argument
3479 kvmppc_vcore_end_preempt(struct kvmppc_vcore * vc) kvmppc_vcore_end_preempt() argument
3504 struct kvmppc_vcore *vc[MAX_SUBCORES]; global() member
3513 init_core_info(struct core_info * cip,struct kvmppc_vcore * vc) init_core_info() argument
3547 init_vcore_to_run(struct kvmppc_vcore * vc) init_vcore_to_run() argument
3556 can_dynamic_split(struct kvmppc_vcore * vc,struct core_info * cip) can_dynamic_split() argument
3598 prepare_threads(struct kvmppc_vcore * vc) prepare_threads() argument
3652 struct kvmppc_vcore *vc; recheck_signals_and_mmu() local
3665 post_guest_process(struct kvmppc_vcore * vc,bool is_master) post_guest_process() argument
3794 kvmppc_run_core(struct kvmppc_vcore * vc) kvmppc_run_core() argument
4539 kvmppc_wait_for_exec(struct kvmppc_vcore * vc,struct kvm_vcpu * vcpu,int wait_state) kvmppc_wait_for_exec() argument
4553 grow_halt_poll_ns(struct kvmppc_vcore * vc) grow_halt_poll_ns() argument
4563 shrink_halt_poll_ns(struct kvmppc_vcore * vc) shrink_halt_poll_ns() argument
4606 kvmppc_vcore_check_block(struct kvmppc_vcore * vc) kvmppc_vcore_check_block() argument
4623 kvmppc_vcore_blocked(struct kvmppc_vcore * vc) kvmppc_vcore_blocked() argument
4760 struct kvmppc_vcore *vc; kvmppc_run_vcpu() local
4899 struct kvmppc_vcore *vc; kvmhv_run_single_vcpu() local
5452 struct kvmppc_vcore *vc = kvm->arch.vcores[i]; kvmppc_update_lpcr() local
[all...]
/linux/drivers/vhost/
H A Dscsi.c1110 struct vhost_scsi_ctx *vc, u8 status) in vhost_scsi_send_status() argument
1119 iov_iter_init(&iov_iter, ITER_DEST, &vq->iov[vc->out], vc->in, in vhost_scsi_send_status()
1125 vhost_add_used_and_signal(&vs->dev, vq, vc->head, 0); in vhost_scsi_send_status()
1137 struct vhost_scsi_ctx *vc, int type) in vhost_scsi_send_bad_target() argument
1161 iov_iter_init(&iov_iter, ITER_DEST, &vq->iov[vc->out], vc->in, in vhost_scsi_send_bad_target()
1167 vhost_add_used_and_signal(&vs->dev, vq, vc->head, 0); in vhost_scsi_send_bad_target()
1174 struct vhost_scsi_ctx *vc, in vhost_scsi_get_desc() argument
1182 vc->head = vhost_get_vq_desc(vq, vq->iov, in vhost_scsi_get_desc()
1183 ARRAY_SIZE(vq->iov), &vc->out, &vc->in, in vhost_scsi_get_desc()
1187 vc->head, vc->out, vc->in); in vhost_scsi_get_desc()
[all …]

12345