Home
last modified time | relevance | path

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

12345

/linux/drivers/tty/vt/
H A Dvt.c138 struct vc vc_cons [MAX_NR_CONSOLES];
144 static void vc_init(struct vc_data *vc, int do_clear);
145 static void gotoxy(struct vc_data *vc, int new_x, int new_y);
146 static void restore_cur(struct vc_data *vc);
147 static void save_cur(struct vc_data *vc);
148 static void reset_terminal(struct vc_data *vc, int do_clear);
151 static void set_cursor(struct vc_data *vc);
152 static void hide_cursor(struct vc_data *vc);
156 static void set_palette(struct vc_data *vc);
384 * 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
1144 resize_screen(struct vc_data * vc,int width,int height,bool from_user) resize_screen() argument
1171 vc_do_resize(struct tty_struct * tty,struct vc_data * vc,unsigned int cols,unsigned int lines,bool from_user) vc_do_resize() argument
1330 __vc_resize(struct vc_data * vc,unsigned int cols,unsigned int rows,bool from_user) __vc_resize() argument
1350 struct vc_data *vc = tty->driver_data; vt_resize() local
1358 struct vc_data *vc = NULL; vc_deallocate() local
1390 set_kbd(vc,x) global() argument
1391 clr_kbd(vc,x) global() argument
1392 is_kbd(vc,x) global() argument
1430 gotoxy(struct vc_data * vc,int new_x,int new_y) gotoxy() argument
1462 gotoxay(struct vc_data * vc,int new_x,int new_y) gotoxay() argument
1467 scrollback(struct vc_data * vc) scrollback() argument
1472 scrollfront(struct vc_data * vc,int lines) scrollfront() argument
1479 lf(struct vc_data * vc) lf() argument
1494 ri(struct vc_data * vc) ri() argument
1508 cr(struct vc_data * vc) cr() argument
1515 bs(struct vc_data * vc) bs() argument
1525 del(struct vc_data * vc) del() argument
1537 csi_J(struct vc_data * vc,enum CSI_J vpar) csi_J() argument
1580 csi_K(struct vc_data * vc) csi_K() argument
1610 csi_X(struct vc_data * vc) csi_X() argument
1621 default_attr(struct vc_data * vc) default_attr() argument
1654 rgb_foreground(struct vc_data * vc,const struct rgb * c) rgb_foreground() argument
1676 rgb_background(struct vc_data * vc,const struct rgb * c) rgb_background() argument
1690 vc_t416_color(struct vc_data * vc,int i,void (* set_color)(struct vc_data * vc,const struct rgb * c)) vc_t416_color() argument
1691 vc_t416_color(struct vc_data * vc,int i,void (* set_color)(struct vc_data * vc,const struct rgb * c)) vc_t416_color() argument
1752 csi_m(struct vc_data * vc) csi_m() argument
1864 cursor_report(struct vc_data * vc,struct tty_struct * tty) cursor_report() argument
1909 struct vc_data *vc = tty->driver_data; get_bracketed_paste() local
1915 enter_alt_screen(struct vc_data * vc) enter_alt_screen() argument
1934 leave_alt_screen(struct vc_data * vc) leave_alt_screen() argument
1990 csi_DEC_hl(struct vc_data * vc,bool on_off) csi_DEC_hl() argument
2058 csi_hl(struct vc_data * vc,bool on_off) csi_hl() argument
2100 csi_RSB(struct vc_data * vc) csi_RSB() argument
2165 csi_at(struct vc_data * vc,unsigned int nr) csi_at() argument
2172 csi_L(struct vc_data * vc) csi_L() argument
2181 csi_P(struct vc_data * vc) csi_P() argument
2189 csi_M(struct vc_data * vc) csi_M() argument
2198 save_cur(struct vc_data * vc) save_cur() argument
2204 restore_cur(struct vc_data * vc) restore_cur() argument
2261 reset_terminal(struct vc_data * vc,int do_clear) reset_terminal() argument
2319 vc_setGx(struct vc_data * vc,unsigned int which,u8 c) vc_setGx() argument
2375 handle_ascii(struct tty_struct * tty,struct vc_data * vc,u8 c) handle_ascii() argument
2444 handle_esc(struct tty_struct * tty,struct vc_data * vc,u8 c) handle_esc() argument
2514 csi_DEC(struct tty_struct * tty,struct vc_data * vc,u8 c) csi_DEC() argument
2552 csi_ECMA(struct tty_struct * tty,struct vc_data * vc,u8 c) csi_ECMA() argument
2684 vc_reset_params(struct vc_data * vc) vc_reset_params() argument
2691 do_con_trol(struct tty_struct * tty,struct vc_data * vc,u8 c) do_con_trol() argument
2895 con_flush(struct vc_data * vc,struct vc_draw_region * draw) con_flush() argument
2906 vc_translate_ascii(const struct vc_data * vc,int c) vc_translate_ascii() argument
2950 vc_translate_unicode(struct vc_data * vc,int c,bool * rescan) vc_translate_unicode() argument
3009 vc_translate(struct vc_data * vc,int * c,bool * rescan) vc_translate() argument
3022 vc_invert_attr(const struct vc_data * vc) vc_invert_attr() argument
3037 vc_is_control(struct vc_data * vc,int tc,int c) vc_is_control() argument
3084 vc_con_rewind(struct vc_data * vc) vc_con_rewind() argument
3097 vc_process_ucs(struct vc_data * vc,int * c,int * tc) vc_process_ucs() argument
3156 vc_get_glyph(struct vc_data * vc,int tc) vc_get_glyph() argument
3195 vc_con_write_normal(struct vc_data * vc,int tc,int c,struct vc_draw_region * draw) vc_con_write_normal() argument
3286 struct vc_data *vc = tty->driver_data; do_con_write() local
3373 struct vc_data *vc = vc_cons[fg_console].d; console_callback() local
3388 struct vc_data *vc = vc_cons[fg_console].d; set_console() local
3453 struct vc_data *vc = vc_cons[fg_console].d; vt_console_print() local
3693 struct vc_data *vc = tty->driver_data; con_unthrottle() local
3728 struct vc_data *vc = tty->driver_data; con_flush_chars() local
3743 struct vc_data *vc; con_install() local
3791 struct vc_data *vc = tty->driver_data; con_shutdown() local
3800 struct vc_data *vc = tty->driver_data; con_cleanup() local
3821 vc_init(struct vc_data * vc,int do_clear) vc_init() argument
3850 struct vc_data *vc; con_init() local
4037 struct vc_data *vc = vc_cons[i].d; do_bind_con_driver() local
4073 struct vc_data *vc = vc_cons[j].d; do_bind_con_driver() local
4369 con_is_visible(const struct vc_data * vc) con_is_visible() argument
4385 con_debug_enter(struct vc_data * vc) con_debug_enter() argument
4667 struct vc_data *vc = vc_cons[fg_console].d; do_blank_screen() local
4729 struct vc_data *vc; do_unblank_screen() local
4825 set_palette(struct vc_data * vc) set_palette() argument
4884 reset_palette(struct vc_data * vc) reset_palette() argument
4913 con_font_get(struct vc_data * vc,struct console_font_op * op) con_font_get() argument
4958 con_font_set(struct vc_data * vc,const struct console_font_op * op) con_font_set() argument
4998 con_font_default(struct vc_data * vc,struct console_font_op * op) con_font_default() argument
5031 con_font_op(struct vc_data * vc,struct console_font_op * op) con_font_op() argument
5054 screen_glyph(const struct vc_data * vc,int offset) screen_glyph() argument
5065 screen_glyph_unicode(const struct vc_data * vc,int n) screen_glyph_unicode() argument
5077 screen_pos(const struct vc_data * vc,int w_offset,bool viewed) screen_pos() argument
5083 getconsxy(const struct vc_data * vc,unsigned char xy[static2]) getconsxy() argument
5090 putconsxy(struct vc_data * vc,unsigned char xy[static const2]) putconsxy() argument
5097 vcs_scr_readw(const struct vc_data * vc,const u16 * org) vcs_scr_readw() argument
5104 vcs_scr_writew(struct vc_data * vc,u16 val,u16 * org) vcs_scr_writew() argument
5113 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);
329 static void put_queue(struct vc_data *vc, int ch) in put_queue()
331 guard(spinlock_irqsave)(&vc->port.lock);
332 tty_insert_flip_char(&vc->port, ch, 0); in puts_queue() argument
333 tty_flip_buffer_push(&vc->port); in puts_queue()
336 static void puts_queue(struct vc_data *vc, const char *cp) in puts_queue()
338 guard(spinlock_irqsave)(&vc->port.lock); in applkey() argument
339 tty_insert_flip_string(&vc->port, cp, strlen(cp)); in applkey()
340 tty_flip_buffer_push(&vc in applkey()
326 put_queue(struct vc_data * vc,int ch) put_queue() argument
353 to_utf8(struct vc_data * vc,uint c) to_utf8() argument
380 put_queue_utf8(struct vc_data * vc,u32 value) put_queue_utf8() argument
447 handle_diacr(struct vc_data * vc,unsigned int ch) handle_diacr() argument
474 fn_enter(struct vc_data * vc) fn_enter() argument
486 fn_caps_toggle(struct vc_data * vc) fn_caps_toggle() argument
494 fn_caps_on(struct vc_data * vc) fn_caps_on() argument
502 fn_show_ptregs(struct vc_data * vc) fn_show_ptregs() argument
510 fn_hold(struct vc_data * vc) fn_hold() argument
528 fn_num(struct vc_data * vc) fn_num() argument
542 fn_bare_num(struct vc_data * vc) fn_bare_num() argument
548 fn_lastcons(struct vc_data * vc) fn_lastcons() argument
554 fn_dec_console(struct vc_data * vc) fn_dec_console() argument
571 fn_inc_console(struct vc_data * vc) fn_inc_console() argument
588 fn_send_intr(struct vc_data * vc) fn_send_intr() argument
594 fn_scroll_forw(struct vc_data * vc) fn_scroll_forw() argument
599 fn_scroll_back(struct vc_data * vc) fn_scroll_back() argument
604 fn_show_mem(struct vc_data * vc) fn_show_mem() argument
609 fn_show_state(struct vc_data * vc) fn_show_state() argument
614 fn_boot_it(struct vc_data * vc) fn_boot_it() argument
619 fn_compose(struct vc_data * vc) fn_compose() argument
624 fn_spawn_con(struct vc_data * vc) fn_spawn_con() argument
634 fn_SAK(struct vc_data * vc) fn_SAK() argument
640 fn_null(struct vc_data * vc) fn_null() argument
648 k_spec(struct vc_data * vc,unsigned char value,char up_flag) k_spec() argument
662 k_lowercase(struct vc_data * vc,unsigned char value,char up_flag) k_lowercase() argument
667 k_unicode(struct vc_data * vc,unsigned int value,char up_flag) k_unicode() argument
688 k_deadunicode(struct vc_data * vc,unsigned int value,char up_flag) k_deadunicode() argument
696 k_self(struct vc_data * vc,unsigned char value,char up_flag) k_self() argument
701 k_dead2(struct vc_data * vc,unsigned char value,char up_flag) k_dead2() argument
709 k_dead(struct vc_data * vc,unsigned char value,char up_flag) k_dead() argument
744 k_cons(struct vc_data * vc,unsigned char value,char up_flag) k_cons() argument
752 k_fn(struct vc_data * vc,unsigned char value,char up_flag) k_fn() argument
788 k_cur(struct vc_data * vc,unsigned char value,char up_flag) k_cur() argument
806 k_pad(struct vc_data * vc,unsigned char value,char up_flag) k_pad() argument
865 k_shift(struct vc_data * vc,unsigned char value,char up_flag) k_shift() argument
906 k_meta(struct vc_data * vc,unsigned char value,char up_flag) k_meta() argument
918 k_ascii(struct vc_data * vc,unsigned char value,char up_flag) k_ascii() argument
942 k_lock(struct vc_data * vc,unsigned char value,char up_flag) k_lock() argument
950 k_slock(struct vc_data * vc,unsigned char value,char up_flag) k_slock() argument
973 k_brlcommit(struct vc_data * vc,unsigned int pattern,char up_flag) k_brlcommit() argument
991 k_brl(struct vc_data * vc,unsigned char value,char up_flag) k_brl() argument
1040 k_csi(struct vc_data * vc,unsigned char value,char up_flag) k_csi() argument
1344 emulate_raw(struct vc_data * vc,unsigned int keycode,unsigned char up_flag) emulate_raw() argument
1410 emulate_raw(struct vc_data * vc,unsigned int keycode,unsigned char up_flag) emulate_raw() argument
1422 struct vc_data *vc = vc_cons[fg_console].d; kbd_rawcode() local
1431 struct vc_data *vc = vc_cons[fg_console].d; kbd_keycode() local
[all...]
H A Dvc_screen.c87 struct vc_data *vc = param->vc; in vcs_notifier() local
108 if (currcons != vc->vc_num) in vcs_notifier()
208 static int vcs_size(const struct vc_data *vc, bool attr, bool unicode) in vcs_size() argument
214 size = vc->vc_rows * vc->vc_cols; in vcs_size()
230 struct vc_data *vc; in vcs_lseek() local
234 vc = vcs_vc(inode, NULL); in vcs_lseek()
235 if (!vc) in vcs_lseek()
238 size = vcs_size(vc, use_attributes(inode), use_unicode(inode)); in vcs_lseek()
245 static int vcs_read_buf_uni(struct vc_data *vc, char *con_buf, in vcs_read_buf_uni() argument
248 unsigned int nr, row, col, maxcol = vc->vc_cols; in vcs_read_buf_uni()
[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->vc_size_row - 2; in vc_do_selection()
[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()
536 static int con_allocate_new(struct vc_data *vc) in con_insert_unipair()
538 struct uni_pagedict *new, *old = *vc->uni_pagedict_loc; in con_allocate_new() argument
545 *vc->uni_pagedict_loc = new; in con_allocate_new()
554 static int con_do_clear_unimap(struct vc_data *vc)
556 struct uni_pagedict *old = *vc argument
569 con_clear_unimap(struct vc_data * vc) con_clear_unimap() argument
575 con_unshare_unimap(struct vc_data * vc,struct uni_pagedict * old) con_unshare_unimap() argument
632 con_set_unimap(struct vc_data * vc,ushort ct,struct unipair __user * list) con_set_unimap() argument
693 con_set_default_unimap(struct vc_data * vc) con_set_default_unimap() argument
772 con_get_unimap(struct vc_data * vc,ushort ct,ushort __user * uct,struct unipair __user * list) con_get_unimap() argument
[all...]
/linux/drivers/video/fbdev/core/
H A Dfbcon.c174 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row)
184 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only);
185 static void fbcon_set_palette(struct vc_data *vc, const unsigned char *table);
192 static void fbcon_redraw_move(struct vc_data *vc, struct fbcon_display *p,
236 struct vc_data *vc; in fbcon_rotate_all()
244 vc = vc_cons[i].d; in fbcon_rotate_all()
245 if (!vc || vc->vc_mode != KD_TEXT || in fbcon_rotate_all()
249 p = &fb_display[vc->vc_num]; in fbcon_rotate_all()
306 static inline bool fbcon_is_active(struct vc_data *vc, struc in fbcon_skip_panic()
237 struct vc_data *vc; fbcon_rotate_all() local
307 fbcon_is_active(struct vc_data * vc,struct fb_info * info) fbcon_is_active() argument
315 get_color(struct vc_data * vc,struct fb_info * info,u16 c,bool is_fg) get_color() argument
382 get_fg_color(struct vc_data * vc,struct fb_info * info,u16 c) get_fg_color() argument
387 get_bg_color(struct vc_data * vc,struct fb_info * info,u16 c) get_bg_color() argument
396 struct vc_data *vc = NULL; fb_flashcursor() local
448 fbcon_fill_cursor_mask(struct fbcon_par * par,struct vc_data * vc,unsigned char * mask) fbcon_fill_cursor_mask() argument
635 fbcon_prepare_logo(struct vc_data * vc,struct fb_info * info,int cols,int rows,int new_cols,int new_rows) fbcon_prepare_logo() argument
641 fbcon_prepare_logo(struct vc_data * vc,struct fb_info * info,int cols,int rows,int new_cols,int new_rows) fbcon_prepare_logo() argument
738 set_blitting_type(struct vc_data * vc,struct fb_info * info) set_blitting_type() argument
763 set_blitting_type(struct vc_data * vc,struct fb_info * info) set_blitting_type() argument
834 con2fb_acquire_newinfo(struct vc_data * vc,struct fb_info * info,int unit) con2fb_acquire_newinfo() argument
849 con2fb_release_oldinfo(struct vc_data * vc,struct fb_info * oldinfo,struct fb_info * newinfo) con2fb_release_oldinfo() argument
873 con2fb_init_display(struct vc_data * vc,struct fb_info * info,int unit,int show_logo) con2fb_init_display() argument
921 struct vc_data *vc = vc_cons[unit].d; set_con2fb_map() local
1025 struct vc_data *vc = vc_cons[fg_console].d; fbcon_startup() local
1095 fbcon_init(struct vc_data * vc,bool init) fbcon_init() argument
1275 fbcon_deinit(struct vc_data * vc) fbcon_deinit() argument
1345 __fbcon_clear(struct vc_data * vc,unsigned int sy,unsigned int sx,unsigned int height,unsigned int width) __fbcon_clear() argument
1385 fbcon_clear(struct vc_data * vc,unsigned int sy,unsigned int sx,unsigned int width) fbcon_clear() argument
1391 fbcon_putcs(struct vc_data * vc,const u16 * s,unsigned int count,unsigned int ypos,unsigned int xpos) fbcon_putcs() argument
1404 fbcon_clear_margins(struct vc_data * vc,int bottom_only) fbcon_clear_margins() argument
1413 fbcon_cursor(struct vc_data * vc,bool enable) fbcon_cursor() argument
1447 struct vc_data **default_mode, *vc; fbcon_set_disp() local
1506 ywrap_up(struct vc_data * vc,int count) ywrap_up() argument
1525 ywrap_down(struct vc_data * vc,int count) ywrap_down() argument
1544 ypan_up(struct vc_data * vc,int count) ypan_up() argument
1568 ypan_up_redraw(struct vc_data * vc,int t,int count) ypan_up_redraw() argument
1592 ypan_down(struct vc_data * vc,int count) ypan_down() argument
1616 ypan_down_redraw(struct vc_data * vc,int t,int count) ypan_down_redraw() argument
1640 fbcon_redraw_move(struct vc_data * vc,struct fbcon_display * p,int line,int count,int dy) fbcon_redraw_move() argument
1672 fbcon_redraw_blit(struct vc_data * vc,struct fb_info * info,struct fbcon_display * p,int line,int count,int ycount) fbcon_redraw_blit() argument
1720 fbcon_redraw(struct vc_data * vc,int line,int count,int offset) fbcon_redraw() argument
1772 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) fbcon_bmove_rec() argument
1814 fbcon_bmove(struct vc_data * vc,int sy,int sx,int dy,int dx,int height,int width) fbcon_bmove() argument
1837 fbcon_scroll(struct vc_data * vc,unsigned int t,unsigned int b,enum con_scroll dir,unsigned int count) fbcon_scroll() argument
2035 updatescrollmode_accel(struct fbcon_display * p,struct fb_info * info,struct vc_data * vc) updatescrollmode_accel() argument
2075 updatescrollmode(struct fbcon_display * p,struct fb_info * info,struct vc_data * vc) updatescrollmode() argument
2092 fbcon_resize(struct vc_data * vc,unsigned int width,unsigned int height,bool from_user) fbcon_resize() argument
2150 fbcon_switch(struct vc_data * vc) fbcon_switch() argument
2276 fbcon_generic_blank(struct vc_data * vc,struct fb_info * info,int blank) fbcon_generic_blank() argument
2291 fbcon_blank(struct vc_data * vc,enum vesa_blank_mode blank,bool mode_switch) fbcon_blank() argument
2333 fbcon_get_font(struct vc_data * vc,struct console_font * font,unsigned int vpitch) fbcon_get_font() argument
2347 set_vc_hi_font(struct vc_data * vc,bool set) set_vc_hi_font() argument
2407 fbcon_do_set_font(struct vc_data * vc,int w,int h,int charcount,font_data_t * data) fbcon_do_set_font() argument
2479 fbcon_set_font(struct vc_data * vc,const struct console_font * font,unsigned int vpitch,unsigned int flags) fbcon_set_font() argument
2531 fbcon_set_def_font(struct vc_data * vc,struct console_font * font,const char * name) fbcon_set_def_font() argument
2556 fbcon_set_palette(struct vc_data * vc,const unsigned char * table) fbcon_set_palette() argument
2593 fbcon_invert_region(struct vc_data * vc,u16 * p,int cnt) fbcon_invert_region() argument
2611 struct vc_data *vc = NULL; fbcon_suspended() local
2625 struct vc_data *vc; fbcon_resumed() local
2640 struct vc_data *vc; fbcon_modechanged() local
2700 struct vc_data *vc; fbcon_set_all_vcs() local
2748 struct vc_data *vc; fbcon_modechange_possible() local
3051 struct vc_data *vc; fbcon_fb_blanked() local
3072 struct vc_data *vc; fbcon_new_modelist() local
3093 struct vc_data *vc; fbcon_get_requirement() local
[all...]
H A Dbitblit.c26 static void update_attr(u8 *dst, const u8 *src, int attribute, struct vc_data *vc) in update_attr()
28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr()
29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr()
30 unsigned int cellsize = vc->vc_font.height * width; in update_attr()
46 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, in bit_bmove()
51 area.sx = sx * vc->vc_font.width; in bit_bmove()
52 area.sy = sy * vc->vc_font.height; in bit_bmove()
53 area.dx = dx * vc->vc_font.width; in bit_bmove()
54 area.dy = dy * vc->vc_font.height; in bit_bmove()
55 area.height = height * vc in bit_bmove()
25 update_attr(u8 * dst,const u8 * src,int attribute,struct vc_data * vc) update_attr() argument
45 bit_bmove(struct vc_data * vc,struct fb_info * info,int sy,int sx,int dy,int dx,int height,int width) bit_bmove() argument
60 bit_clear(struct vc_data * vc,struct fb_info * info,int sy,int sx,int height,int width,int fg,int bg) bit_clear() argument
75 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) bit_putcs_aligned() argument
110 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) bit_putcs_unaligned() argument
149 bit_putcs(struct vc_data * vc,struct fb_info * info,const unsigned short * s,int count,int yy,int xx,int fg,int bg) bit_putcs() argument
228 bit_clear_margins(struct vc_data * vc,struct fb_info * info,int color,int bottom_only) bit_clear_margins() argument
259 bit_cursor(struct vc_data * vc,struct fb_info * info,bool enable,int fg,int bg) bit_cursor() argument
[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()
95 /* mc->vc.lock must be held by caller */
101 vd = vchan_next_desc(&mc->vc); in milbeaut_hdmac_next_desc()
114 /* mc->vc.lock must be held by caller */
161 /* mc->vc.lock must be held by caller */
177 spin_lock(&mc->vc.lock); in milbeaut_hdmac_interrupt()
203 spin_unlock(&mc->vc in milbeaut_hdmac_interrupt()
215 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_chan_config() local
227 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_chan_pause() local
242 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_chan_resume() local
261 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_prep_slave_sg() local
289 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_terminate_all() local
325 struct virt_dma_chan *vc; milbeaut_hdmac_tx_status() local
382 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_hdmac_issue_pending() local
407 struct virt_dma_chan *vc; milbeaut_hdmac_xlate() local
[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()
86 /* mc->vc.lock must be held by caller */
92 vd = vchan_next_desc(&mc->vc); in uniphier_mdmac_next_desc()
105 /* mc->vc.lock must be held by caller */
144 /* mc->vc.lock must be held by caller */
154 /* mc->vc.lock must be held by caller */
182 spin_lock(&mc->vc in uniphier_mdmac_interrupt()
235 struct virt_dma_chan *vc = to_virt_chan(chan); uniphier_mdmac_prep_slave_sg() local
254 struct virt_dma_chan *vc = to_virt_chan(chan); uniphier_mdmac_terminate_all() local
285 struct virt_dma_chan *vc; uniphier_mdmac_tx_status() local
330 struct virt_dma_chan *vc = to_virt_chan(chan); uniphier_mdmac_issue_pending() local
[all...]
H A Dpxa_dma.c105 struct virt_dma_chan vc; /* Virtual channel */ member
116 /* protected by vc->lock */
140 container_of(dchan, struct pxad_chan, vc.chan)
152 dev_vdbg(vchan_chan_dev(&phy->vchan->vc), \
160 dev_vdbg(vchan_chan_dev(&phy->vchan->vc), \
167 dev_vdbg(vchan_chan_dev(&phy->vchan->vc), \
371 struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); in lookup_phy()
399 dev_dbg(vchan_chan_dev(&pchan->vc), in lookup_phy()
408 struct pxad_device *pdev = to_pxad_dev(chan->vc.chan.device); in pxad_free_phy()
412 dev_dbg(vchan_chan_dev(&chan->vc), in pxad_free_phy()
553 pxad_try_hotchain(struct virt_dma_chan * vc,struct virt_dma_desc * vd) pxad_try_hotchain() argument
776 struct virt_dma_chan *vc = to_virt_chan(tx->chan); pxad_tx_submit() local
847 pxad_tx_prep(struct virt_dma_chan * vc,struct virt_dma_desc * vd,unsigned long tx_flags) pxad_tx_prep() argument
[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()
92 /* mc->vc.lock must be held by caller */
98 vd = vchan_next_desc(&mc->vc); in milbeaut_xdmac_next_desc()
111 /* mc->vc.lock must be held by caller */
149 /* mc->vc.lock must be held by caller */
165 spin_lock(&mc->vc.lock); in milbeaut_xdmac_interrupt()
179 spin_unlock(&mc->vc in milbeaut_xdmac_interrupt()
192 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_xdmac_prep_memcpy() local
208 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_xdmac_terminate_all() local
244 struct virt_dma_chan *vc = to_virt_chan(chan); milbeaut_xdmac_issue_pending() local
[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 vc_follow_cursor() argument
164 vc_x = vc->state.x - (vc->state.x % WIDTH); in vc_follow_cursor()
165 vc_y = vc->state.y; in vc_follow_cursor()
166 lastvc_x = vc->state.x; in vc_follow_cursor()
167 lastvc_y = vc->state.y; in vc_follow_cursor()
171 static void vc_maybe_cursor_moved(struct vc_data *vc) in vc_maybe_cursor_moved() argument
173 if (vc->state.x != lastvc_x || vc->state.y != lastvc_y) in vc_maybe_cursor_moved()
174 vc_follow_cursor(vc); in vc_maybe_cursor_moved()
178 static void vc_refresh(struct vc_data *vc) in vc_refresh() argument
184 u16 glyph = screen_glyph(vc, in vc_refresh()
[all …]
/linux/kernel/time/
H A Dvsyscall.c20 static __always_inline void __arch_update_vdso_clock(struct vdso_clock *vc) in fill_clock_configuration()
31 static inline void fill_clock_configuration(struct vdso_clock *vc, const struct tk_read_base *base) in update_vdso_time_data() local
33 vc->cycle_last = base->cycle_last; in update_vdso_time_data()
35 vc->max_cycles = base->clock->max_cycles; in update_vdso_time_data()
37 vc->mask = base->mask; in update_vdso_time_data()
38 vc->mult = base->mult; in update_vdso_time_data()
39 vc->shift = base->shift; in update_vdso_time_data()
44 struct vdso_clock *vc = vdata->clock_data; in update_vdso_time_data()
48 fill_clock_configuration(&vc[CS_HRES_COARSE], &tk->tkr_mono); in update_vdso_time_data()
49 fill_clock_configuration(&vc[CS_RA in update_vdso_time_data()
18 fill_clock_configuration(struct vdso_clock * vc,const struct tk_read_base * base) fill_clock_configuration() argument
80 struct vdso_clock *vc = vdata->clock_data; update_vsyscall() local
144 struct vdso_clock *vc; vdso_time_update_aux() local
[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.
64 * @con_font_set: set console @vc font to @font with height @vpitch. @flags can
66 * @con_font_get: fetch the current font on @vc of height @vpitch into @font.
68 * @con_font_default: set default font on @vc. @name can be %NULL or font name
70 * @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_unblank(struct vc_data *vc, bool mode_switch) in dummycon_switch() argument
94 static bool dummycon_switch(struct vc_data *vc) in dummycon_switch()
103 static void dummycon_putc(struct vc_data *vc, u16 c, unsigned int y, in dummycon_blank()
105 static void dummycon_putcs(struct vc_data *vc, const u16 *s, unsigned int count, in dummycon_blank()
107 static bool dummycon_blank(struct vc_data *vc, enum vesa_blank_mode blank, in dummycon_switch() argument
113 static bool dummycon_unblank(struct vc_data *vc, boo
98 dummycon_putc(struct vc_data * vc,u16 c,unsigned int y,unsigned int x) dummycon_putc() argument
100 dummycon_putcs(struct vc_data * vc,const u16 * s,unsigned int count,unsigned int ypos,unsigned int xpos) dummycon_putcs() argument
102 dummycon_blank(struct vc_data * vc,enum vesa_blank_mode blank,bool mode_switch) dummycon_blank() argument
118 dummycon_init(struct vc_data * vc,bool init) dummycon_init() argument
128 dummycon_deinit(struct vc_data * vc) dummycon_deinit() argument
129 dummycon_clear(struct vc_data * vc,unsigned int sy,unsigned int sx,unsigned int width) dummycon_clear() argument
131 dummycon_cursor(struct vc_data * vc,bool enable) dummycon_cursor() argument
133 dummycon_scroll(struct vc_data * vc,unsigned int top,unsigned int bottom,enum con_scroll dir,unsigned int lines) dummycon_scroll() 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/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
3190 kvmppc_remove_runnable(struct kvmppc_vcore * vc,struct kvm_vcpu * vcpu,u64 tb) kvmppc_remove_runnable() argument
3349 kvmppc_start_thread(struct kvm_vcpu * vcpu,struct kvmppc_vcore * vc) kvmppc_start_thread() argument
3459 kvmppc_vcore_preempt(struct kvmppc_vcore * vc) kvmppc_vcore_preempt() argument
3477 kvmppc_vcore_end_preempt(struct kvmppc_vcore * vc) kvmppc_vcore_end_preempt() argument
3502 struct kvmppc_vcore *vc[MAX_SUBCORES]; global() member
3511 init_core_info(struct core_info * cip,struct kvmppc_vcore * vc) init_core_info() argument
3545 init_vcore_to_run(struct kvmppc_vcore * vc) init_vcore_to_run() argument
3554 can_dynamic_split(struct kvmppc_vcore * vc,struct core_info * cip) can_dynamic_split() argument
3596 prepare_threads(struct kvmppc_vcore * vc) prepare_threads() argument
3650 struct kvmppc_vcore *vc; recheck_signals_and_mmu() local
3663 post_guest_process(struct kvmppc_vcore * vc,bool is_master) post_guest_process() argument
3792 kvmppc_run_core(struct kvmppc_vcore * vc) kvmppc_run_core() argument
4537 kvmppc_wait_for_exec(struct kvmppc_vcore * vc,struct kvm_vcpu * vcpu,int wait_state) kvmppc_wait_for_exec() argument
4551 grow_halt_poll_ns(struct kvmppc_vcore * vc) grow_halt_poll_ns() argument
4561 shrink_halt_poll_ns(struct kvmppc_vcore * vc) shrink_halt_poll_ns() argument
4604 kvmppc_vcore_check_block(struct kvmppc_vcore * vc) kvmppc_vcore_check_block() argument
4621 kvmppc_vcore_blocked(struct kvmppc_vcore * vc) kvmppc_vcore_blocked() argument
4758 struct kvmppc_vcore *vc; kvmppc_run_vcpu() local
4897 struct kvmppc_vcore *vc; kvmhv_run_single_vcpu() local
5450 struct kvmppc_vcore *vc = kvm->arch.vcores[i]; kvmppc_update_lpcr() local
[all...]
/linux/drivers/dma/mediatek/
H A Dmtk-hsdma.c193 * @vc: An instance for struct virt_dma_chan
197 * which is protected by vc.lock
200 struct virt_dma_chan vc; member
224 * @vc: The pointer to all available VCs
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 in mtk_hsdma_free_rooms_in_ring()
739 struct virt_dma_chan *vc = to_virt_chan(c); mtk_hsdma_free_inactive_desc() local
896 struct mtk_hsdma_vchan *vc; mtk_hsdma_probe() local
1015 struct mtk_hsdma_vchan *vc; mtk_hsdma_remove() local
[all...]
H A Dmtk-cqdma.c116 * @vc: An instance for struct virt_dma_chan
122 struct virt_dma_chan vc; member
135 * @vc: The pointer to all available VCs
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 in mtk_cqdma_find_active_desc()
550 struct virt_dma_chan *vc = to_virt_chan(c); mtk_cqdma_free_inactive_desc() local
613 struct mtk_cqdma_vchan *vc = to_cqdma_vchan(c); mtk_cqdma_alloc_chan_resources() local
749 struct mtk_cqdma_vchan *vc; mtk_cqdma_probe() local
889 struct mtk_cqdma_vchan *vc; mtk_cqdma_remove() local
[all...]

12345