/linux-master/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 238 struct virt_dma_chan vc; member in struct:tegra_dma_channel 273 return container_of(dc, struct tegra_dma_channel, vc.chan); 283 return tdc->vc.chan.device->dev; 408 spin_lock_irqsave(&tdc->vc.lock, flags); 410 spin_unlock_irqrestore(&tdc->vc.lock, flags); 432 spin_lock_irqsave(&tdc->vc.lock, flags); 434 spin_unlock_irqrestore(&tdc->vc.lock, flags); 512 vdesc = vchan_next_desc(&tdc->vc); 605 spin_lock(&tdc->vc.lock); 631 spin_unlock(&tdc->vc [all...] |
H A D | owl-dma.c | 197 * @vc: wrapped virtual channel 204 struct virt_dma_chan vc; member in struct:owl_dma_vchan 302 return container_of(chan, struct owl_dma_vchan, vc.chan); 388 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); 537 struct owl_dma *od = to_owl_dma(vchan->vc.chan.device); 538 struct virt_dma_desc *vd = vchan_next_desc(&vchan->vc); 576 dev_dbg(chan2dev(&vchan->vc.chan), "starting pchan %d\n", pchan->id); 652 spin_lock(&vchan->vc.lock); 664 if (vchan_next_desc(&vchan->vc)) 670 spin_unlock(&vchan->vc [all...] |
/linux-master/drivers/accessibility/speakup/ |
H A D | main.c | 258 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...] |
/linux-master/include/linux/ |
H A D | vt_kern.h | 28 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 D | selection.h | 26 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 D | console_struct.h | 164 struct vc { struct 172 extern struct vc vc_cons [MAX_NR_CONSOLES]; 193 bool con_is_visible(const struct vc_data *vc);
|
H A D | console.h | 42 * @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/video/fbdev/core/ |
H A D | tileblit.c | 19 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...] |
H A D | fbcon_ud.c | 26 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 D | fbcon_ccw.c | 26 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 D | fbcon_cw.c | 26 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 D | fbcon.h | 55 void (*bmove)(struct vc_data *vc, struct fb_info *info, int sy, 57 void (*clear)(struct vc_data *vc, struct fb_info *info, int sy, 59 void (*putcs)(struct vc_data *vc, struct fb_info *info, 62 void (*clear_margins)(struct vc_data *vc, struct fb_info *info, 64 void (*cursor)(struct vc_data *vc, struct fb_info *info, 67 int (*rotate_font)(struct fb_info *info, struct vc_data *vc); 119 static inline int attr_col_ec(int shift, struct vc_data *vc, argument 127 if (!vc) 130 if (vc->vc_can_do_color) 131 return is_fg ? attr_fgcol(shift,vc [all...] |
H A D | fbcon.c | 166 #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 D | bitblit.c | 26 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...] |
/linux-master/drivers/video/console/ |
H A D | vgacon.c | 649 static void vga_set_palette(struct vc_data *vc, const unsigned char *table) argument 656 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); 657 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); 658 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); 662 static void vgacon_set_palette(struct vc_data *vc, const unsigned char *table) argument 665 || !con_is_visible(vc)) 667 vga_set_palette(vc, table); 985 static int vgacon_adjust_height(struct vc_data *vc, unsigned fontheight) argument 990 rows = vc->vc_scan_lines / fontheight; /* Number of video rows we end up with */ 1188 static void vgacon_clear(struct vc_data *vc, unsigne argument 1190 vgacon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, unsigned int ypos, unsigned int xpos) argument [all...] |
H A D | newport_con.c | 327 static void newport_init(struct vc_data *vc, bool init) argument 333 vc->vc_can_do_color = 1; 335 vc->vc_cols = cols; 336 vc->vc_rows = rows; 338 vc_resize(vc, cols, rows); 349 static void newport_clear(struct vc_data *vc, unsigned int sy, unsigned int sx, argument 361 (vc->state.color & 0xf0) >> 4); 364 (vc->state.color & 0xf0) >> 4); 366 (vc->state.color & 0xf0) >> 4); 370 static void newport_putc(struct vc_data *vc, u1 argument 399 newport_putcs(struct vc_data *vc, const u16 *s, unsigned int count, unsigned int ypos, unsigned int xpos) argument 441 newport_cursor(struct vc_data *vc, bool enable) argument 462 newport_switch(struct vc_data *vc) argument 567 newport_font_default(struct vc_data *vc, struct console_font *op, const char *name) argument 573 newport_font_set(struct vc_data *vc, const struct console_font *font, unsigned int vpitch, unsigned int flags) argument 579 newport_scroll(struct vc_data *vc, unsigned int t, unsigned int b, enum con_scroll dir, unsigned int lines) argument 678 newport_save_screen(struct vc_data *vc) argument [all...] |
H A D | sticon.c | 156 static int sticon_set_font(struct vc_data *vc, const struct console_font *op, argument 161 int unit = vc->vc_num; 227 vc_old_rows = vc->vc_rows; 228 vc_old_cols = vc->vc_cols; 230 vc->vc_video_erase_char, font_data[vc->vc_num]); 240 vc_resize(vc, vc_cols, vc_rows); 244 update_screen(vc); 249 static int sticon_font_default(struct vc_data *vc, struct console_font *op, argument 252 sticon_set_def_font(vc 257 sticon_font_set(struct vc_data *vc, const struct console_font *font, unsigned int vpitch, unsigned int flags) argument [all...] |
H A D | dummycon.c | 53 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/tty/vt/ |
H A D | vt.c | 137 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 D | vt_ioctl.c | 46 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 D | selection.c | 93 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/drivers/vdpa/pds/ |
H A D | vdpa_dev.c | 716 struct virtio_net_config __iomem *vc; local 718 vc = pdsv->vdpa_aux->vd_mdev.device; 719 memcpy_fromio(pdsv->mac, vc->mac, sizeof(pdsv->mac));
|
/linux-master/drivers/media/usb/s2255/ |
H A D | s2255drv.c | 248 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/media/usb/pvrusb2/ |
H A D | pvrusb2-v4l2.c | 501 struct v4l2_queryctrl *vc) 508 if (vc->id & V4L2_CTRL_FLAG_NEXT_CTRL) { 510 hdw, (vc->id & ~V4L2_CTRL_FLAG_NEXT_CTRL)); 512 vc->id = pvr2_ctrl_get_v4lid(cptr); 514 cptr = pvr2_hdw_get_ctrl_v4l(hdw, vc->id); 519 vc->id); 525 vc->id, pvr2_ctrl_get_name(cptr), 527 strscpy(vc->name, pvr2_ctrl_get_desc(cptr), sizeof(vc->name)); 528 vc 500 pvr2_queryctrl(struct file *file, void *priv, struct v4l2_queryctrl *vc) argument 574 pvr2_g_ctrl(struct file *file, void *priv, struct v4l2_control *vc) argument 587 pvr2_s_ctrl(struct file *file, void *priv, struct v4l2_control *vc) argument [all...] |
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-reg.c | 601 const struct fimc_vid_cap *vc = &fimc->vid_cap; local 602 const struct fimc_frame *f = &vc->ctx->s_frame; 615 if (vc->ci_fmt.code == pix_desc[i].pixelcode) { 623 v4l2_err(&vc->ve.vdev, 625 vc->ci_fmt.code);
|