/linux-4.4.14/drivers/tty/vt/ |
D | vt.c | 141 struct vc vc_cons [MAX_NR_CONSOLES]; 148 static void vc_init(struct vc_data *vc, unsigned int rows, 150 static void gotoxy(struct vc_data *vc, int new_x, int new_y); 151 static void save_cur(struct vc_data *vc); 152 static void reset_terminal(struct vc_data *vc, int do_clear); 155 static void set_cursor(struct vc_data *vc); 156 static void hide_cursor(struct vc_data *vc); 160 static void set_palette(struct vc_data *vc); 265 static void notify_write(struct vc_data *vc, unsigned int unicode) in notify_write() argument 267 struct vt_notifier_param param = { .vc = vc, .c = unicode }; in notify_write() [all …]
|
D | vt_ioctl.c | 62 static void complete_change_console(struct vc_data *vc); 263 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) in do_unimap_ioctl() argument 277 return con_set_unimap(vc, tmp.entry_ct, tmp.entries); in do_unimap_ioctl() 279 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl() 281 return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries); in do_unimap_ioctl() 289 struct vc_data *vc = NULL; in vt_disallocate() local 296 vc = vc_deallocate(vc_num); in vt_disallocate() 299 if (vc && vc_num >= MIN_NR_CONSOLES) { in vt_disallocate() 300 tty_port_destroy(&vc->port); in vt_disallocate() 301 kfree(vc); in vt_disallocate() [all …]
|
D | keyboard.c | 78 typedef void (k_handler_fn)(struct vc_data *vc, unsigned char value, 90 typedef void (fn_handler_fn)(struct vc_data *vc); 303 static void put_queue(struct vc_data *vc, int ch) in put_queue() argument 305 tty_insert_flip_char(&vc->port, ch, 0); in put_queue() 306 tty_schedule_flip(&vc->port); in put_queue() 309 static void puts_queue(struct vc_data *vc, char *cp) in puts_queue() argument 312 tty_insert_flip_char(&vc->port, *cp, 0); in puts_queue() 315 tty_schedule_flip(&vc->port); in puts_queue() 318 static void applkey(struct vc_data *vc, int key, char mode) in applkey() argument 324 puts_queue(vc, buf); in applkey() [all …]
|
D | vc_screen.c | 65 struct vc_data *vc = param->vc; in vcs_notifier() local 77 if (currcons != vc->vc_num) in vcs_notifier() 167 struct vc_data *vc; in vcs_size() local 171 vc = vcs_vc(inode, NULL); in vcs_size() 172 if (!vc) in vcs_size() 175 size = vc->vc_rows * vc->vc_cols; in vcs_size() 200 struct vc_data *vc; in vcs_read() local 222 vc = vcs_vc(inode, &viewed); in vcs_read() 223 if (!vc) in vcs_read() 267 maxcol = vc->vc_cols; in vcs_read() [all …]
|
D | selection.c | 161 struct vc_data *vc = vc_cons[fg_console].d; in set_selection() local 180 xs = limit(xs, vc->vc_cols - 1); in set_selection() 181 ys = limit(ys, vc->vc_rows - 1); in set_selection() 182 xe = limit(xe, vc->vc_cols - 1); in set_selection() 183 ye = limit(ye, vc->vc_rows - 1); in set_selection() 184 ps = ys * vc->vc_size_row + (xs << 1); in set_selection() 185 pe = ye * vc->vc_size_row + (xe << 1); in set_selection() 230 if (!(ps % vc->vc_size_row)) in set_selection() 240 if (!((pe + 2) % vc->vc_size_row)) in set_selection() 245 new_sel_start = ps - ps % vc->vc_size_row; in set_selection() [all …]
|
D | consolemap.c | 245 unsigned short *set_translate(int m, struct vc_data *vc) in set_translate() argument 247 inv_translate[vc->vc_num] = m; in set_translate() 420 void con_free_unimap(struct vc_data *vc) in con_free_unimap() argument 424 p = *vc->vc_uni_pagedir_loc; in con_free_unimap() 427 *vc->vc_uni_pagedir_loc = NULL; in con_free_unimap() 504 static int con_do_clear_unimap(struct vc_data *vc, struct unimapinit *ui) in con_do_clear_unimap() argument 508 p = *vc->vc_uni_pagedir_loc; in con_do_clear_unimap() 517 *vc->vc_uni_pagedir_loc = q; in con_do_clear_unimap() 527 int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui) in con_clear_unimap() argument 531 ret = con_do_clear_unimap(vc, ui); in con_clear_unimap() [all …]
|
/linux-4.4.14/drivers/video/console/ |
D | fbcon.c | 145 #define advance_row(p, delta) (unsigned short *)((unsigned long)(p) + (delta) * vc->vc_size_row) 158 static void fbcon_init(struct vc_data *vc, int init); 159 static void fbcon_deinit(struct vc_data *vc); 160 static void fbcon_clear(struct vc_data *vc, int sy, int sx, int height, 162 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos); 163 static void fbcon_putcs(struct vc_data *vc, const unsigned short *s, 165 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only); 166 static void fbcon_cursor(struct vc_data *vc, int mode); 167 static int fbcon_scroll(struct vc_data *vc, int t, int b, int dir, 169 static void fbcon_bmove(struct vc_data *vc, int sy, int sx, int dy, int dx, [all …]
|
D | bitblit.c | 26 struct vc_data *vc) in update_attr() argument 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() argument 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->vc_font.height; in bit_bmove() [all …]
|
D | fbcon_ccw.c | 26 struct vc_data *vc) in ccw_update_attr() argument 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in ccw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() 30 int mod = vc->vc_font.height % 8; in ccw_update_attr() 39 for (i = 0; i < vc->vc_font.width; i++) { in ccw_update_attr() 63 static void ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, in ccw_bmove() argument 70 area.sx = sy * vc->vc_font.height; in ccw_bmove() 71 area.sy = vyres - ((sx + width) * vc->vc_font.width); in ccw_bmove() 72 area.dx = dy * vc->vc_font.height; in ccw_bmove() 73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove() [all …]
|
D | fbcon_cw.c | 26 struct vc_data *vc) in cw_update_attr() argument 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in cw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() 32 for (i = 0; i < vc->vc_font.width; i++) { in cw_update_attr() 48 static void cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, in cw_bmove() argument 55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove() 56 area.sy = sx * vc->vc_font.width; in cw_bmove() 57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove() 58 area.dy = dx * vc->vc_font.width; in cw_bmove() 59 area.width = height * vc->vc_font.height; in cw_bmove() [all …]
|
D | fbcon_ud.c | 26 struct vc_data *vc) in ud_update_attr() argument 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in ud_update_attr() 29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr() 48 static void ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, in ud_bmove() argument 56 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove() 57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove() 58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove() 59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove() 60 area.height = height * vc->vc_font.height; in ud_bmove() [all …]
|
D | newport_con.c | 328 static void newport_init(struct vc_data *vc, int init) in newport_init() argument 334 vc->vc_can_do_color = 1; in newport_init() 336 vc->vc_cols = cols; in newport_init() 337 vc->vc_rows = rows; in newport_init() 339 vc_resize(vc, cols, rows); in newport_init() 350 static void newport_clear(struct vc_data *vc, int sy, int sx, int height, in newport_clear() argument 362 (vc->vc_color & 0xf0) >> 4); in newport_clear() 365 (vc->vc_color & 0xf0) >> 4); in newport_clear() 367 (vc->vc_color & 0xf0) >> 4); in newport_clear() 371 static void newport_putc(struct vc_data *vc, int charattr, int ypos, in newport_putc() argument [all …]
|
D | tileblit.c | 19 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, in tile_bmove() argument 34 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, in tile_clear() argument 38 int bgshift = (vc->vc_hi_font_mask) ? 13 : 12; in tile_clear() 39 int fgshift = (vc->vc_hi_font_mask) ? 9 : 8; in tile_clear() 41 rect.index = vc->vc_video_erase_char & in tile_clear() 42 ((vc->vc_hi_font_mask) ? 0x1ff : 0xff); in tile_clear() 43 rect.fg = attr_fgcol_ec(fgshift, vc, info); in tile_clear() 44 rect.bg = attr_bgcol_ec(bgshift, vc, info); in tile_clear() 54 static void tile_putcs(struct vc_data *vc, struct fb_info *info, in tile_putcs() argument 59 unsigned short charmask = vc->vc_hi_font_mask ? 0x1ff : 0xff; in tile_putcs() [all …]
|
D | fbcon_rotate.c | 21 static int fbcon_rotate_font(struct fb_info *info, struct vc_data *vc) in fbcon_rotate_font() argument 29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font() 33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font() 36 s_cellsize = ((vc->vc_font.width + 7)/8) * in fbcon_rotate_font() 37 vc->vc_font.height; in fbcon_rotate_font() 42 d_cellsize = ((vc->vc_font.height + 7)/8) * in fbcon_rotate_font() 43 vc->vc_font.width; in fbcon_rotate_font() 67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font() 68 vc->vc_font.height); in fbcon_rotate_font() 76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font() [all …]
|
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, int mode, 67 int (*rotate_font)(struct fb_info *info, struct vc_data *vc); 118 static inline int attr_col_ec(int shift, struct vc_data *vc, in attr_col_ec() argument 126 if (!vc) in attr_col_ec() 129 if (vc->vc_can_do_color) in attr_col_ec() 130 return is_fg ? attr_fgcol(shift,vc->vc_video_erase_char) in attr_col_ec() [all …]
|
D | dummycon.c | 34 static void dummycon_init(struct vc_data *vc, int init) in dummycon_init() argument 36 vc->vc_can_do_color = 1; in dummycon_init() 38 vc->vc_cols = DUMMY_COLUMNS; in dummycon_init() 39 vc->vc_rows = DUMMY_ROWS; in dummycon_init() 41 vc_resize(vc, DUMMY_COLUMNS, DUMMY_ROWS); in dummycon_init()
|
D | vgacon.c | 83 static int vgacon_set_palette(struct vc_data *vc, unsigned char *table); 850 static void vga_set_palette(struct vc_data *vc, unsigned char *table) in vga_set_palette() argument 857 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 858 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 859 vga_w(vgastate.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); in vga_set_palette() 863 static int vgacon_set_palette(struct vc_data *vc, unsigned char *table) in vgacon_set_palette() argument 867 || !CON_IS_VISIBLE(vc)) in vgacon_set_palette() 869 vga_set_palette(vc, table); in vgacon_set_palette() 1214 static int vgacon_adjust_height(struct vc_data *vc, unsigned fontheight) in vgacon_adjust_height() argument 1219 rows = vc->vc_scan_lines / fontheight; /* Number of video rows we end up with */ in vgacon_adjust_height()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | main.c | 272 static void speakup_date(struct vc_data *vc) in speakup_date() argument 274 spk_x = spk_cx = vc->vc_x; in speakup_date() 275 spk_y = spk_cy = vc->vc_y; in speakup_date() 276 spk_pos = spk_cp = vc->vc_pos; in speakup_date() 298 static void speakup_shut_up(struct vc_data *vc) in speakup_shut_up() argument 304 speakup_date(vc); in speakup_shut_up() 309 static void speech_kill(struct vc_data *vc) in speech_kill() argument 327 static void speakup_off(struct vc_data *vc) in speakup_off() argument 336 speakup_date(vc); in speakup_off() 339 static void speakup_parked(struct vc_data *vc) in speakup_parked() argument [all …]
|
D | spk_types.h | 51 typedef int (*special_func)(struct vc_data *vc, u_char type, u_char ch, 83 #define spk_shut_up (speakup_console[vc->vc_num]->shut_up) 84 #define spk_killed (speakup_console[vc->vc_num]->shut_up & 0x40) 85 #define spk_x (speakup_console[vc->vc_num]->reading_x) 86 #define spk_cx (speakup_console[vc->vc_num]->cursor_x) 87 #define spk_y (speakup_console[vc->vc_num]->reading_y) 88 #define spk_cy (speakup_console[vc->vc_num]->cursor_y) 89 #define spk_pos (speakup_console[vc->vc_num]->reading_pos) 90 #define spk_cp (speakup_console[vc->vc_num]->cursor_pos) 91 #define goto_pos (speakup_console[vc->vc_num]->go_pos) [all …]
|
D | selection.c | 57 struct vc_data *vc = vc_cons[fg_console].d; in speakup_set_selection() local 59 spk_xs = limit(spk_xs, vc->vc_cols - 1); in speakup_set_selection() 60 spk_ys = limit(spk_ys, vc->vc_rows - 1); in speakup_set_selection() 61 spk_xe = limit(spk_xe, vc->vc_cols - 1); in speakup_set_selection() 62 spk_ye = limit(spk_ye, vc->vc_rows - 1); in speakup_set_selection() 63 ps = spk_ys * vc->vc_size_row + (spk_xs << 1); in speakup_set_selection() 64 pe = spk_ye * vc->vc_size_row + (spk_xe << 1); in speakup_set_selection() 87 !atedge(new_sel_end, vc->vc_size_row) && in speakup_set_selection() 91 atedge(pe, vc->vc_size_row)) in speakup_set_selection() 115 if (!((i + 2) % vc->vc_size_row)) { in speakup_set_selection() [all …]
|
D | speakup.h | 67 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key);
|
D | keyhelp.c | 145 int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) in spk_handle_help() argument
|
D | kobjects.c | 331 struct vc_data *vc = vc_cons[fg_console].d; in silent_store() local
|
/linux-4.4.14/drivers/dma/ |
D | virt-dma.h | 44 void vchan_dma_desc_free_list(struct virt_dma_chan *vc, struct list_head *head); 45 void vchan_init(struct virt_dma_chan *vc, struct dma_device *dmadev); 54 static inline struct dma_async_tx_descriptor *vchan_tx_prep(struct virt_dma_chan *vc, in vchan_tx_prep() argument 59 dma_async_tx_descriptor_init(&vd->tx, &vc->chan); in vchan_tx_prep() 72 static inline bool vchan_issue_pending(struct virt_dma_chan *vc) in vchan_issue_pending() argument 74 list_splice_tail_init(&vc->desc_submitted, &vc->desc_issued); in vchan_issue_pending() 75 return !list_empty(&vc->desc_issued); in vchan_issue_pending() 86 struct virt_dma_chan *vc = to_virt_chan(vd->tx.chan); in vchan_cookie_complete() local 91 dev_vdbg(vc->chan.device->dev, "txd %p[%x]: marked complete\n", in vchan_cookie_complete() 93 list_add_tail(&vd->node, &vc->desc_completed); in vchan_cookie_complete() [all …]
|
D | virt-dma.c | 24 struct virt_dma_chan *vc = to_virt_chan(tx->chan); in vchan_tx_submit() local 29 spin_lock_irqsave(&vc->lock, flags); in vchan_tx_submit() 32 list_add_tail(&vd->node, &vc->desc_submitted); in vchan_tx_submit() 33 spin_unlock_irqrestore(&vc->lock, flags); in vchan_tx_submit() 35 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: submitted\n", in vchan_tx_submit() 36 vc, vd, cookie); in vchan_tx_submit() 42 struct virt_dma_desc *vchan_find_desc(struct virt_dma_chan *vc, in vchan_find_desc() argument 47 list_for_each_entry(vd, &vc->desc_issued, node) in vchan_find_desc() 61 struct virt_dma_chan *vc = (struct virt_dma_chan *)arg; in vchan_complete() local 67 spin_lock_irq(&vc->lock); in vchan_complete() [all …]
|
D | pxa_dma.c | 106 struct virt_dma_chan vc; /* Virtual channel */ member 139 container_of(dchan, struct pxad_chan, vc.chan) 151 dev_vdbg(&phy->vchan->vc.chan.dev->device, \ 159 dev_vdbg(&phy->vchan->vc.chan.dev->device, \ 166 dev_vdbg(&phy->vchan->vc.chan.dev->device, \ 425 struct pxad_device *pdev = to_pxad_dev(pchan->vc.chan.device); in lookup_phy() 457 dev_dbg(&pchan->vc.chan.dev->device, in lookup_phy() 466 struct pxad_device *pdev = to_pxad_dev(chan->vc.chan.device); in pxad_free_phy() 471 dev_dbg(&chan->vc.chan.dev->device, in pxad_free_phy() 519 dev_dbg(&phy->vchan->vc.chan.dev->device, in phy_enable() [all …]
|
D | k3dma.c | 78 struct virt_dma_chan vc; member 111 return container_of(chan, struct k3_dma_chan, vc.chan); in to_k3_chan() 208 spin_lock_irqsave(&c->vc.lock, flags); in k3_dma_int_handler() 211 spin_unlock_irqrestore(&c->vc.lock, flags); in k3_dma_int_handler() 232 struct k3_dma_dev *d = to_k3_dma(c->vc.chan.device); in k3_dma_start_txd() 233 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in k3_dma_start_txd() 268 list_for_each_entry_safe(c, cn, &d->slave.channels, vc.chan.device_node) { in k3_dma_tasklet() 269 spin_lock_irq(&c->vc.lock); in k3_dma_tasklet() 280 spin_unlock_irq(&c->vc.lock); in k3_dma_tasklet() 297 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in k3_dma_tasklet() [all …]
|
D | sa11x0-dma.c | 91 struct virt_dma_chan vc; member 132 return container_of(chan, struct sa11x0_dma_chan, vc.chan); in to_sa11x0_dma_chan() 142 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in sa11x0_dma_next_desc() 283 spin_lock_irqsave(&c->vc.lock, flags); in sa11x0_dma_irq() 297 spin_unlock_irqrestore(&c->vc.lock, flags); in sa11x0_dma_irq() 339 list_for_each_entry(c, &d->slave.channels, vc.chan.device_node) { in sa11x0_dma_tasklet() 340 spin_lock_irq(&c->vc.lock); in sa11x0_dma_tasklet() 353 spin_unlock_irq(&c->vc.lock); in sa11x0_dma_tasklet() 370 dev_dbg(d->slave.dev, "pchan %u: alloc vchan %p\n", pch, &c->vc); in sa11x0_dma_tasklet() 380 spin_lock_irq(&c->vc.lock); in sa11x0_dma_tasklet() [all …]
|
D | moxart-dma.c | 134 struct virt_dma_chan vc; member 171 return container_of(c, struct moxart_chan, vc.chan); in to_moxart_dma_chan() 194 spin_lock_irqsave(&ch->vc.lock, flags); in moxart_terminate_all() 205 vchan_get_all_descriptors(&ch->vc, &head); in moxart_terminate_all() 206 spin_unlock_irqrestore(&ch->vc.lock, flags); in moxart_terminate_all() 207 vchan_dma_desc_free_list(&ch->vc, &head); in moxart_terminate_all() 328 return vchan_tx_prep(&ch->vc, &d->vd, tx_flags); in moxart_prep_slave_sg() 363 vchan_free_chan_resources(&ch->vc); in moxart_free_chan_resources() 390 dev_dbg(chan2dev(&ch->vc.chan), "%s: set %u DMA cycles (len=%u)\n", in moxart_set_transfer_params() 423 vd = vchan_next_desc(&ch->vc); in moxart_dma_start_desc() [all …]
|
D | bcm2835-dma.c | 72 struct virt_dma_chan vc; member 140 return container_of(c, struct bcm2835_chan, vc.chan); in to_bcm2835_dma_chan() 199 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in bcm2835_dma_start_desc() 221 spin_lock_irqsave(&c->vc.lock, flags); in bcm2835_dma_callback() 236 spin_unlock_irqrestore(&c->vc.lock, flags); in bcm2835_dma_callback() 244 struct device *dev = c->vc.chan.device->dev; in bcm2835_dma_alloc_chan_resources() 263 vchan_free_chan_resources(&c->vc); in bcm2835_dma_free_chan_resources() 267 dev_dbg(c->vc.chan.device->dev, "Freeing DMA channel %u\n", c->ch); in bcm2835_dma_free_chan_resources() 311 spin_lock_irqsave(&c->vc.lock, flags); in bcm2835_dma_tx_status() 312 vd = vchan_find_desc(&c->vc, cookie); in bcm2835_dma_tx_status() [all …]
|
D | sun6i-dma.c | 144 struct virt_dma_chan vc; member 179 return container_of(chan, struct sun6i_vchan, vc.chan); in to_sun6i_vchan() 323 dev_dbg(chan2dev(&vchan->vc.chan), in sun6i_dma_dump_lli() 360 struct sun6i_dma_dev *sdev = to_sun6i_dma_dev(vchan->vc.chan.device); in sun6i_dma_start_desc() 361 struct virt_dma_desc *desc = vchan_next_desc(&vchan->vc); in sun6i_dma_start_desc() 406 list_for_each_entry(vchan, &sdev->slave.channels, vc.chan.device_node) { in sun6i_dma_tasklet() 407 spin_lock_irq(&vchan->vc.lock); in sun6i_dma_tasklet() 424 spin_unlock_irq(&vchan->vc.lock); in sun6i_dma_tasklet() 445 pchan->idx, &vchan->vc); in sun6i_dma_tasklet() 456 spin_lock_irq(&vchan->vc.lock); in sun6i_dma_tasklet() [all …]
|
D | qcom_bam_dma.c | 348 struct virt_dma_chan vc; member 377 return container_of(common, struct bam_chan, vc.chan); in to_bam_chan() 427 lockdep_assert_held(&bchan->vc.lock); in bam_reset_channel() 537 spin_lock_irqsave(&bchan->vc.lock, flags); in bam_free_chan() 539 spin_unlock_irqrestore(&bchan->vc.lock, flags); in bam_free_chan() 568 spin_lock_irqsave(&bchan->vc.lock, flag); in bam_slave_config() 571 spin_unlock_irqrestore(&bchan->vc.lock, flag); in bam_slave_config() 651 return vchan_tx_prep(&bchan->vc, &async_desc->vd, flags); in bam_prep_slave_sg() 673 spin_lock_irqsave(&bchan->vc.lock, flag); in bam_dma_terminate_all() 675 list_add(&bchan->curr_txd->vd.node, &bchan->vc.desc_issued); in bam_dma_terminate_all() [all …]
|
D | zx296702_dma.c | 105 struct virt_dma_chan vc; member 138 return container_of(chan, struct zx_dma_chan, vc.chan); in to_zx_chan() 192 struct zx_dma_dev *d = to_zx_dma(c->vc.chan.device); in zx_dma_start_txd() 193 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in zx_dma_start_txd() 229 vc.chan.device_node) { in zx_dma_task() 230 spin_lock_irqsave(&c->vc.lock, flags); in zx_dma_task() 239 spin_unlock_irqrestore(&c->vc.lock, flags); in zx_dma_task() 266 spin_lock_irqsave(&c->vc.lock, flags); in zx_dma_task() 268 spin_unlock_irqrestore(&c->vc.lock, flags); in zx_dma_task() 293 spin_lock_irqsave(&c->vc.lock, flags); in zx_dma_int_handler() [all …]
|
D | sun4i-dma.c | 139 struct virt_dma_chan vc; member 183 return container_of(chan, struct sun4i_dma_vchan, vc.chan); in to_sun4i_dma_vchan() 218 vchan_free_chan_resources(&vchan->vc); in sun4i_dma_free_chan_resources() 332 lockdep_assert_held(&vchan->vc.lock); in __execute_vchan_pending() 344 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 352 vd = vchan_next_desc(&vchan->vc); in __execute_vchan_pending() 354 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 365 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 661 return vchan_tx_prep(&vchan->vc, &contract->vd, flags); in sun4i_dma_prep_dma_memcpy() 767 return vchan_tx_prep(&vchan->vc, &contract->vd, flags); in sun4i_dma_prep_dma_cyclic() [all …]
|
D | omap-dma.c | 44 struct virt_dma_chan vc; member 172 return container_of(c, struct omap_chan, vc.chan); in to_omap_dma_chan() 286 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_start() 304 struct omap_dmadev *od = to_omap_dma_dev(c->vc.chan.device); in omap_dma_stop() 339 dev_err(c->vc.chan.device->dev, in omap_dma_stop() 390 struct virt_dma_desc *vd = vchan_next_desc(&c->vc); in omap_dma_start_desc() 440 spin_lock_irqsave(&c->vc.lock, flags); in omap_dma_callback() 454 spin_unlock_irqrestore(&c->vc.lock, flags); in omap_dma_callback() 477 spin_lock_irq(&c->vc.lock); in omap_dma_sched() 480 spin_unlock_irq(&c->vc.lock); in omap_dma_sched() [all …]
|
D | s3c24xx-dma.c | 220 struct virt_dma_chan vc; member 375 return container_of(chan, struct s3c24xx_dma_chan, vc.chan); in to_s3c24xx_dma_chan() 399 spin_lock_irqsave(&s3cchan->vc.lock, flags); in s3c24xx_dma_set_runtime_config() 409 spin_unlock_irqrestore(&s3cchan->vc.lock, flags); in s3c24xx_dma_set_runtime_config() 514 struct virt_dma_desc *vd = vchan_next_desc(&s3cchan->vc); in s3c24xx_dma_start_next_txd() 535 vchan_get_all_descriptors(&s3cchan->vc, &head); in s3c24xx_dma_free_txd_list() 536 vchan_dma_desc_free_list(&s3cchan->vc, &head); in s3c24xx_dma_free_txd_list() 598 list_for_each_entry(p, &s3cdma->memcpy.channels, vc.chan.device_node) in s3c24xx_dma_phy_free() 606 vc.chan.device_node) in s3c24xx_dma_phy_free() 624 spin_lock(&next->vc.lock); in s3c24xx_dma_phy_free() [all …]
|
D | img-mdc-dma.c | 121 struct virt_dma_chan vc; member 173 return container_of(to_virt_chan(c), struct mdc_chan, vc); in to_mdc_chan() 335 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_dma_memcpy() 443 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_dma_cyclic() 521 return vchan_tx_prep(&mchan->vc, &mdesc->vd, flags); in mdc_prep_slave_sg() 536 vd = vchan_next_desc(&mchan->vc); in mdc_issue_desc() 570 spin_lock_irqsave(&mchan->vc.lock, flags); in mdc_issue_pending() 571 if (vchan_issue_pending(&mchan->vc) && !mchan->desc) in mdc_issue_pending() 573 spin_unlock_irqrestore(&mchan->vc.lock, flags); in mdc_issue_pending() 593 spin_lock_irqsave(&mchan->vc.lock, flags); in mdc_tx_status() [all …]
|
D | amba-pl08x.c | 235 struct virt_dma_chan vc; member 301 return container_of(chan, struct pl08x_dma_chan, vc.chan); in to_pl08x_chan() 400 struct virt_dma_desc *vd = vchan_next_desc(&plchan->vc); in pl08x_start_next_txd() 696 list_for_each_entry(p, &pl08x->memcpy.channels, vc.chan.device_node) in pl08x_phy_free() 703 list_for_each_entry(p, &pl08x->slave.channels, vc.chan.device_node) in pl08x_phy_free() 720 spin_lock(&next->vc.lock); in pl08x_phy_free() 725 spin_unlock(&next->vc.lock); in pl08x_phy_free() 1189 vchan_get_all_descriptors(&plchan->vc, &head); in pl08x_free_txd_list() 1190 vchan_dma_desc_free_list(&plchan->vc, &head); in pl08x_free_txd_list() 1238 spin_lock_irqsave(&plchan->vc.lock, flags); in pl08x_dma_tx_status() [all …]
|
/linux-4.4.14/drivers/media/usb/s2255/ |
D | s2255drv.c | 261 struct s2255_vc vc[MAX_CHANNELS]; member 351 static int s2255_start_acquire(struct s2255_vc *vc); 352 static int s2255_stop_acquire(struct s2255_vc *vc); 353 static void s2255_fillbuff(struct s2255_vc *vc, struct s2255_buffer *buf, 355 static int s2255_set_mode(struct s2255_vc *vc, struct s2255_mode *mode); 429 static int norm_maxw(struct s2255_vc *vc) in norm_maxw() argument 431 return (vc->std & V4L2_STD_525_60) ? in norm_maxw() 435 static int norm_maxh(struct s2255_vc *vc) in norm_maxh() argument 437 return (vc->std & V4L2_STD_525_60) ? in norm_maxh() 441 static int norm_minw(struct s2255_vc *vc) in norm_minw() argument [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | vc.c | 96 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_config_channel() local 102 if (vc->flags & OMAP_VC_CHANNEL_DEFAULT) in omap_vc_config_channel() 103 vc->cfg_channel &= vc_cfg_bits->racen; in omap_vc_config_channel() 105 voltdm->rmw(CFG_CHANNEL_MASK << vc->cfg_channel_sa_shift, in omap_vc_config_channel() 106 vc->cfg_channel << vc->cfg_channel_sa_shift, in omap_vc_config_channel() 107 vc->cfg_channel_reg); in omap_vc_config_channel() 117 struct omap_vc_channel *vc = voltdm->vc; in omap_vc_pre_scale() local 143 vc_cmdval = voltdm->read(vc->cmdval_reg); in omap_vc_pre_scale() 144 vc_cmdval &= ~vc->common->cmd_on_mask; in omap_vc_pre_scale() 145 vc_cmdval |= (*target_vsel << vc->common->cmd_on_shift); in omap_vc_pre_scale() [all …]
|
D | voltagedomains54xx_data.c | 42 .vc = &omap4_vc_mpu, 53 .vc = &omap4_vc_iva, 64 .vc = &omap4_vc_core,
|
D | voltagedomains44xx_data.c | 56 .vc = &omap4_vc_mpu, 67 .vc = &omap4_vc_iva, 78 .vc = &omap4_vc_core,
|
D | voltagedomains3xxx_data.c | 57 .vc = &omap3_vc_mpu, 68 .vc = &omap3_vc_core,
|
D | voltage.h | 69 struct omap_vc_channel *vc; member
|
D | voltage.c | 258 if (voltdm->vc) { in omap_voltage_late_init()
|
D | Makefile | 127 voltagedomain-common := voltage.o vc.o vp.o
|
/linux-4.4.14/drivers/accessibility/braille/ |
D | braille_console.c | 123 static void vc_follow_cursor(struct vc_data *vc) in vc_follow_cursor() argument 125 vc_x = vc->vc_x - (vc->vc_x % WIDTH); in vc_follow_cursor() 126 vc_y = vc->vc_y; in vc_follow_cursor() 127 lastvc_x = vc->vc_x; in vc_follow_cursor() 128 lastvc_y = vc->vc_y; in vc_follow_cursor() 132 static void vc_maybe_cursor_moved(struct vc_data *vc) in vc_maybe_cursor_moved() argument 134 if (vc->vc_x != lastvc_x || vc->vc_y != lastvc_y) in vc_maybe_cursor_moved() 135 vc_follow_cursor(vc); in vc_maybe_cursor_moved() 139 static void vc_refresh(struct vc_data *vc) in vc_refresh() argument 145 u16 glyph = screen_glyph(vc, in vc_refresh() [all …]
|
/linux-4.4.14/include/linux/ |
D | vt_kern.h | 38 int vc_resize(struct vc_data *vc, unsigned int cols, unsigned int lines); 40 void reset_palette(struct vc_data *vc); 45 int con_font_op(struct vc_data *vc, struct console_font_op *op); 48 void scrollback(struct vc_data *vc, int lines); 49 void scrollfront(struct vc_data *vc, int lines); 50 void clear_buffer_attributes(struct vc_data *vc); 51 void update_region(struct vc_data *vc, unsigned long start, int count); 52 void redraw_screen(struct vc_data *vc, int is_switch); 69 int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui); 70 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list); [all …]
|
D | selection.h | 32 extern unsigned short *screen_pos(struct vc_data *vc, int w_offset, int viewed); 33 extern u16 screen_glyph(struct vc_data *vc, int offset); 34 extern void complement_pos(struct vc_data *vc, int offset); 35 extern void invert_screen(struct vc_data *vc, int offset, int count, int shift); 37 extern void getconsxy(struct vc_data *vc, unsigned char *p); 38 extern void putconsxy(struct vc_data *vc, unsigned char *p); 40 extern u16 vcs_scr_readw(struct vc_data *vc, const u16 *org); 41 extern void vcs_scr_writew(struct vc_data *vc, u16 val, u16 *org); 42 extern void vcs_scr_updated(struct vc_data *vc);
|
D | consolemap.h | 20 extern unsigned short *set_translate(int m, struct vc_data *vc); 27 #define set_translate(m, vc) ((unsigned short *)NULL) argument
|
D | console_struct.h | 115 struct vc { struct 124 extern struct vc vc_cons [MAX_NR_CONSOLES]; argument
|
D | console.h | 82 int con_debug_enter(struct vc_data *vc); 85 static inline int con_debug_enter(struct vc_data *vc) in con_debug_enter() argument
|
D | keyboard.h | 11 struct vc_data *vc; /* VC on which the keyboard press was done */ member
|
/linux-4.4.14/arch/mips/math-emu/ |
D | ieee754int.h | 58 #define EXPLODESP(v, vc, vs, ve, vm) \ argument 65 vc = IEEE754_CLASS_INF; \ 67 vc = IEEE754_CLASS_SNAN; \ 69 vc = IEEE754_CLASS_QNAN; \ 73 vc = IEEE754_CLASS_DNORM; \ 75 vc = IEEE754_CLASS_ZERO; \ 79 vc = IEEE754_CLASS_NORM; \ 92 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument 99 vc = IEEE754_CLASS_INF; \ 101 vc = IEEE754_CLASS_SNAN; \ [all …]
|
/linux-4.4.14/drivers/atm/ |
D | idt77252.c | 550 struct vc_map *vc; in idt77252_tx_dump() local 555 vc = card->vcs[i]; in idt77252_tx_dump() 556 if (!vc) in idt77252_tx_dump() 560 if (vc->rx_vcc) in idt77252_tx_dump() 561 vcc = vc->rx_vcc; in idt77252_tx_dump() 562 else if (vc->tx_vcc) in idt77252_tx_dump() 563 vcc = vc->tx_vcc; in idt77252_tx_dump() 568 printk("%s: Connection %d:\n", card->name, vc->index); in idt77252_tx_dump() 569 dump_tct(card, vc->index); in idt77252_tx_dump() 703 push_on_scq(struct idt77252_dev *card, struct vc_map *vc, struct sk_buff *skb) in push_on_scq() argument [all …]
|
D | nicstar.c | 130 static void fill_tst(ns_dev * card, int n, vc_map * vc); 132 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, 1229 vc_map *vc; in ns_open() local 1251 vc = &(card->vcmap[vpi << card->vcibits | vci]); in ns_open() 1252 vcc->dev_data = vc; in ns_open() 1255 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx) in ns_open() 1257 if (vcc->qos.rxtp.traffic_class != ATM_NONE && vc->rx) in ns_open() 1337 card->scd2vc[frscdi] = vc; in ns_open() 1351 vc->cbr_scd = NS_FRSCD + frscdi * NS_FRSCD_SIZE; in ns_open() 1353 scq = get_scq(card, CBR_SCQSIZE, vc->cbr_scd); in ns_open() [all …]
|
D | ambassador.h | 368 __be32 vc; member 373 __be32 vc; member 377 __be32 vc; member 381 __be32 vc; member 428 u16 vc; member 454 __be16 vc; member 473 __be16 vc; member
|
D | ambassador.c | 401 static inline void dump_skb (char * prefix, unsigned int vc, struct sk_buff * skb) { in dump_skb() argument 405 PRINTDB (DBG_DATA, "%s(%u) ", prefix, vc); in dump_skb() 411 (void) vc; in dump_skb() 473 u16 vc = be16_to_cpu (rx->vc); in rx_complete() local 482 struct atm_vcc * atm_vcc = dev->rxer[vc]; in rx_complete() 495 dump_skb ("<<<", vc, skb); in rx_complete() 506 … PRINTD (DBG_INFO|DBG_RX, "dropped thanks to atm_charge (vc %hu, truesize %u)", vc, skb->truesize); in rx_complete() 517 PRINTD (DBG_WARN|DBG_RX, "got frame but RX closed for channel %hu", vc); in rx_complete() 1161 cmd.args.modify_rate.vc = cpu_to_be32 (vci); // vpi 0 in amb_open() 1167 cmd.args.modify_flags.vc = cpu_to_be32 (vci); // vpi 0 in amb_open() [all …]
|
D | horizon.c | 463 static inline void dump_skb (char * prefix, unsigned int vc, struct sk_buff * skb) { in dump_skb() argument 467 PRINTDB (DBG_DATA, "%s(%u) ", prefix, vc); in dump_skb() 473 (void) vc; in dump_skb() 794 static void hrz_close_rx (hrz_dev * dev, u16 vc) { in hrz_close_rx() argument 801 rx_ch_desc * rx_desc = &memmap->rx_descs[vc]; in hrz_close_rx() 811 PRINTD (DBG_VCC, "closing VC: RX channel %u already disabled", vc); in hrz_close_rx() 861 u16 other = vc^(RX_CHANS/2); in hrz_close_rx() 871 SELECT_RX_CHANNEL (dev, vc); in hrz_close_rx() 876 FLUSH_RX_CHANNEL (dev, vc); in hrz_close_rx() 904 if (vc == rx_q_entry_to_rx_channel (x)) { in hrz_close_rx()
|
D | iphase.c | 1749 struct main_vc *vc; local 1811 vc = (struct main_vc *)iadev->MAIN_VC_TABLE_ADDR; 1813 vc += vcc->vci; 1815 memset((caddr_t)vc, 0, sizeof(*vc)); 1829 vc->type = UBR; 1830 vc->status = CRC_APPEND; 1831 vc->acr = cellrate_to_float(iadev->LineRate); 1833 vc->acr = cellrate_to_float(vcc->qos.txtp.pcr); 1835 vcc->qos.txtp.max_pcr,vc->acr);) 1883 vc->type = CBR; [all …]
|
D | idt77252.h | 311 struct vc_map *vc; member
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_hv.c | 167 static void kvmppc_core_start_stolen(struct kvmppc_vcore *vc) in kvmppc_core_start_stolen() argument 171 spin_lock_irqsave(&vc->stoltb_lock, flags); in kvmppc_core_start_stolen() 172 vc->preempt_tb = mftb(); in kvmppc_core_start_stolen() 173 spin_unlock_irqrestore(&vc->stoltb_lock, flags); in kvmppc_core_start_stolen() 176 static void kvmppc_core_end_stolen(struct kvmppc_vcore *vc) in kvmppc_core_end_stolen() argument 180 spin_lock_irqsave(&vc->stoltb_lock, flags); in kvmppc_core_end_stolen() 181 if (vc->preempt_tb != TB_NIL) { in kvmppc_core_end_stolen() 182 vc->stolen_tb += mftb() - vc->preempt_tb; in kvmppc_core_end_stolen() 183 vc->preempt_tb = TB_NIL; in kvmppc_core_end_stolen() 185 spin_unlock_irqrestore(&vc->stoltb_lock, flags); in kvmppc_core_end_stolen() [all …]
|
D | book3s_hv_builtin.c | 113 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmppc_rm_h_confer() local 121 set_bit(ptid, &vc->conferring_threads); in kvmppc_rm_h_confer() 122 while ((get_tb() < stop) && !VCORE_IS_EXITING(vc)) { in kvmppc_rm_h_confer() 123 threads_running = VCORE_ENTRY_MAP(vc); in kvmppc_rm_h_confer() 124 threads_ceded = vc->napping_threads; in kvmppc_rm_h_confer() 125 threads_conferring = vc->conferring_threads; in kvmppc_rm_h_confer() 131 clear_bit(ptid, &vc->conferring_threads); in kvmppc_rm_h_confer() 227 static void kvmhv_interrupt_vcore(struct kvmppc_vcore *vc, int active) in kvmhv_interrupt_vcore() argument 229 int cpu = vc->pcpu; in kvmhv_interrupt_vcore() 240 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmhv_commence_exit() local [all …]
|
D | trace_hv.h | 388 TP_PROTO(struct kvmppc_vcore *vc, int where), 390 TP_ARGS(vc, where), 400 __entry->runner_vcpu = vc->runner->vcpu_id; 401 __entry->n_runnable = vc->n_runnable; 412 TP_PROTO(struct kvmppc_vcore *vc, int where), 414 TP_ARGS(vc, where), 424 __entry->runner_vcpu = vc->runner->vcpu_id; 425 __entry->n_runnable = vc->n_runnable;
|
/linux-4.4.14/arch/powerpc/math-emu/ |
D | math_efp.c | 186 union dw_union vc, va, vb; in do_spe_mathemu() local 203 vc.wp[0] = current->thread.evr[fc]; in do_spe_mathemu() 204 vc.wp[1] = regs->gpr[fc]; in do_spe_mathemu() 213 pr_debug("vc: %08x %08x\n", vc.wp[0], vc.wp[1]); in do_spe_mathemu() 238 vc.wp[1] = va.wp[1] & ~SIGN_BIT_S; in do_spe_mathemu() 242 vc.wp[1] = va.wp[1] | SIGN_BIT_S; in do_spe_mathemu() 246 vc.wp[1] = va.wp[1] ^ SIGN_BIT_S; in do_spe_mathemu() 280 vc.wp[1] = 0; in do_spe_mathemu() 284 FP_TO_INT_ROUND_S(vc.wp[1], SB, 32, in do_spe_mathemu() 304 vc.wp[1] = 0; in do_spe_mathemu() [all …]
|
/linux-4.4.14/arch/alpha/math-emu/ |
D | math.c | 105 unsigned long res, va, vb, vc, swcr, fpcr; in alpha_fp_emul() local 174 vc = 0x4000000000000000UL; in alpha_fp_emul() 184 case FOP_FNC_CMPxUN: if (res != 3) vc = 0; break; in alpha_fp_emul() 185 case FOP_FNC_CMPxEQ: if (res) vc = 0; break; in alpha_fp_emul() 186 case FOP_FNC_CMPxLT: if (res != -1) vc = 0; break; in alpha_fp_emul() 187 case FOP_FNC_CMPxLE: if ((long)res > 0) vc = 0; break; in alpha_fp_emul() 237 vc = 0; in alpha_fp_emul() 239 FP_TO_INT_ROUND_D(vc, DB, 64, 2); in alpha_fp_emul() 253 vc = ((vb & 0xc0000000) << 32 | /* sign and msb */ in alpha_fp_emul() 271 FP_PACK_SP(&vc, SR); in alpha_fp_emul() [all …]
|
/linux-4.4.14/fs/coda/ |
D | inode.c | 155 struct venus_comm *vc; in coda_fill_super() local 171 vc = &coda_comms[idx]; in coda_fill_super() 172 mutex_lock(&vc->vc_mutex); in coda_fill_super() 174 if (!vc->vc_inuse) { in coda_fill_super() 180 if (vc->vc_sb) { in coda_fill_super() 186 error = bdi_setup_and_register(&vc->bdi, "coda"); in coda_fill_super() 190 vc->vc_sb = sb; in coda_fill_super() 191 mutex_unlock(&vc->vc_mutex); in coda_fill_super() 193 sb->s_fs_info = vc; in coda_fill_super() 200 sb->s_bdi = &vc->bdi; in coda_fill_super() [all …]
|
D | upcall.c | 41 static int coda_upcall(struct venus_comm *vc, int inSize, int *outSize,
|
/linux-4.4.14/drivers/dma/sh/ |
D | usb-dmac.c | 80 struct virt_dma_chan vc; member 90 #define to_usb_dmac_chan(c) container_of(c, struct usb_dmac_chan, vc.chan) 210 dev_dbg(chan->vc.chan.device->dev, in usb_dmac_chan_start_sg() 229 vd = vchan_next_desc(&chan->vc); in usb_dmac_chan_start_desc() 279 spin_lock_irqsave(&chan->vc.lock, flags); in usb_dmac_desc_alloc() 281 spin_unlock_irqrestore(&chan->vc.lock, flags); in usb_dmac_desc_alloc() 308 spin_lock_irqsave(&chan->vc.lock, flags); in usb_dmac_desc_get() 312 spin_unlock_irqrestore(&chan->vc.lock, flags); in usb_dmac_desc_get() 316 spin_unlock_irqrestore(&chan->vc.lock, flags); in usb_dmac_desc_get() 321 spin_lock_irqsave(&chan->vc.lock, flags); in usb_dmac_desc_get() [all …]
|
/linux-4.4.14/net/netrom/ |
D | nr_subr.c | 91 unsigned short vc = nrom->va; in nr_validate_nr() local 93 while (vc != nrom->vs) { in nr_validate_nr() 94 if (nr == vc) return 1; in nr_validate_nr() 95 vc = (vc + 1) % NR_MODULUS; in nr_validate_nr() 107 unsigned short vc = nr->vr; in nr_in_rx_window() local 110 while (vc != vt) { in nr_in_rx_window() 111 if (ns == vc) return 1; in nr_in_rx_window() 112 vc = (vc + 1) % NR_MODULUS; in nr_in_rx_window()
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
D | fimc-capture.c | 475 struct fimc_vid_cap *vc = &fimc->vid_cap; in fimc_capture_open() local 476 struct exynos_video_entity *ve = &vc->ve; in fimc_capture_open() 502 if (ret == 0 && vc->user_subdev_api && vc->inh_sensor_ctrls) { in fimc_capture_open() 507 fimc_ctrls_delete(vc->ctx); in fimc_capture_open() 509 ret = fimc_ctrls_create(vc->ctx); in fimc_capture_open() 511 vc->inh_sensor_ctrls = false; in fimc_capture_open() 535 struct fimc_vid_cap *vc = &fimc->vid_cap; in fimc_capture_release() local 543 if (close && vc->streaming) { in fimc_capture_release() 544 media_entity_pipeline_stop(&vc->ve.vdev.entity); in fimc_capture_release() 545 vc->streaming = false; in fimc_capture_release() [all …]
|
D | fimc-reg.c | 604 struct fimc_vid_cap *vc = &fimc->vid_cap; in fimc_hw_set_camera_source() local 605 struct fimc_frame *f = &vc->ctx->s_frame; in fimc_hw_set_camera_source() 613 if (vc->ci_fmt.code == pix_desc[i].pixelcode) { in fimc_hw_set_camera_source() 621 v4l2_err(&vc->ve.vdev, in fimc_hw_set_camera_source() 623 vc->ci_fmt.code); in fimc_hw_set_camera_source()
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 530 struct v4l2_queryctrl *vc) in pvr2_queryctrl() argument 537 if (vc->id & V4L2_CTRL_FLAG_NEXT_CTRL) { in pvr2_queryctrl() 539 hdw, (vc->id & ~V4L2_CTRL_FLAG_NEXT_CTRL)); in pvr2_queryctrl() 541 vc->id = pvr2_ctrl_get_v4lid(cptr); in pvr2_queryctrl() 543 cptr = pvr2_hdw_get_ctrl_v4l(hdw, vc->id); in pvr2_queryctrl() 548 vc->id); in pvr2_queryctrl() 554 vc->id, pvr2_ctrl_get_name(cptr), in pvr2_queryctrl() 556 strlcpy(vc->name, pvr2_ctrl_get_desc(cptr), sizeof(vc->name)); in pvr2_queryctrl() 557 vc->flags = pvr2_ctrl_get_v4lflags(cptr); in pvr2_queryctrl() 559 vc->default_value = val; in pvr2_queryctrl() [all …]
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fb_ili9325.c | 39 static unsigned vc = 0x03; /* Vci1=Vci*0.80 */ variable 40 module_param(vc, uint, 0); 41 MODULE_PARM_DESC(vc, 104 vc &= 0x07; in init_display() 133 write_reg(par, 0x0011, 0x220 | vc); /* DC1[2:0], DC0[2:0], VC[2:0] */ in init_display()
|
/linux-4.4.14/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 222 static int cpia2_querycap(struct file *file, void *fh, struct v4l2_capability *vc) in cpia2_querycap() argument 226 strcpy(vc->driver, "cpia2"); in cpia2_querycap() 229 strcpy(vc->card, "QX5 Microscope"); in cpia2_querycap() 231 strcpy(vc->card, "CPiA2 Camera"); in cpia2_querycap() 234 strcat(vc->card, " (672/"); in cpia2_querycap() 237 strcat(vc->card, " (676/"); in cpia2_querycap() 240 strcat(vc->card, " (XXX/"); in cpia2_querycap() 245 strcat(vc->card, "404)"); in cpia2_querycap() 248 strcat(vc->card, "407)"); in cpia2_querycap() 251 strcat(vc->card, "409)"); in cpia2_querycap() [all …]
|
/linux-4.4.14/net/ax25/ |
D | ax25_subr.c | 84 unsigned short vc = ax25->va; in ax25_validate_nr() local 86 while (vc != ax25->vs) { in ax25_validate_nr() 87 if (nr == vc) return 1; in ax25_validate_nr() 88 vc = (vc + 1) % ax25->modulus; in ax25_validate_nr()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | vecemu.c | 262 unsigned int va, vb, vc, vd; in emulate_altivec() local 272 vc = (instr >> 6) & 0x1f; in emulate_altivec() 277 switch (vc) { in emulate_altivec() 335 vmaddfp(&vrs[vd], &vrs[va], &vrs[vb], &vrs[vc]); in emulate_altivec() 338 vnmsubfp(&vrs[vd], &vrs[va], &vrs[vb], &vrs[vc]); in emulate_altivec()
|
/linux-4.4.14/net/lapb/ |
D | lapb_subr.c | 93 unsigned short vc = lapb->va; in lapb_validate_nr() local 98 while (vc != lapb->vs) { in lapb_validate_nr() 99 if (nr == vc) in lapb_validate_nr() 101 vc = (vc + 1) % modulus; in lapb_validate_nr()
|
/linux-4.4.14/net/x25/ |
D | x25_subr.c | 98 unsigned short vc = x25->va; in x25_validate_nr() local 101 while (vc != x25->vs) { in x25_validate_nr() 102 if (nr == vc) in x25_validate_nr() 104 vc = (vc + 1) % modulus; in x25_validate_nr()
|
/linux-4.4.14/drivers/usb/misc/sisusbvga/ |
D | sisusb_con.c | 339 sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count) in sisusbcon_invert_region() argument 1273 struct vc_data *vc = vc_cons[i].d; in sisusbcon_do_font_op() local 1275 if (vc && vc->vc_sw == &sisusb_con) { in sisusbcon_do_font_op() 1276 if (CON_IS_VISIBLE(vc)) { in sisusbcon_do_font_op() 1277 vc->vc_sw->con_cursor(vc, CM_DRAW); in sisusbcon_do_font_op() 1279 vc->vc_font.height = fh; in sisusbcon_do_font_op() 1280 vc_resize(vc, 0, rows); in sisusbcon_do_font_op() 1409 static void sisusbdummycon_init(struct vc_data *vc, int init) in sisusbdummycon_init() argument 1411 vc->vc_can_do_color = 1; in sisusbdummycon_init() 1413 vc->vc_cols = 80; in sisusbdummycon_init() [all …]
|
/linux-4.4.14/Documentation/arm/ |
D | CCN.txt | 23 "port" (device port number) and "vc" (virtual channel ID) and 48 ccn/xp_valid_flit,xp=?,port=?,vc=?,dir=?/ [Kernel PMU event] 51 / # perf stat -a -e ccn/cycles/,ccn/xp_valid_flit,xp=1,port=0,vc=1,dir=1/ \
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_host.h | 303 #define VCORE_ENTRY_MAP(vc) ((vc)->entry_exit_map & 0xff) argument 304 #define VCORE_EXIT_MAP(vc) ((vc)->entry_exit_map >> 8) argument 305 #define VCORE_IS_EXITING(vc) (VCORE_EXIT_MAP(vc) != 0) argument
|
/linux-4.4.14/net/rose/ |
D | rose_subr.c | 88 unsigned short vc = rose->va; in rose_validate_nr() local 90 while (vc != rose->vs) { in rose_validate_nr() 91 if (nr == vc) return 1; in rose_validate_nr() 92 vc = (vc + 1) % ROSE_MODULUS; in rose_validate_nr()
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | dsi.c | 332 } vc[4]; member 914 static void _omap_dsi_set_irqs_vc(struct platform_device *dsidev, int vc) in _omap_dsi_set_irqs_vc() argument 918 _omap_dsi_configure_irqs(dsidev, dsi->isr_tables.isr_table_vc[vc], in _omap_dsi_set_irqs_vc() 919 ARRAY_SIZE(dsi->isr_tables.isr_table_vc[vc]), in _omap_dsi_set_irqs_vc() 921 DSI_VC_IRQENABLE(vc), DSI_VC_IRQSTATUS(vc)); in _omap_dsi_set_irqs_vc() 939 int vc; in _dsi_initialize_irq() local 946 for (vc = 0; vc < 4; ++vc) in _dsi_initialize_irq() 947 _omap_dsi_set_irqs_vc(dsidev, vc); in _dsi_initialize_irq() 2217 dsi->vc[0].tx_fifo_size = size1; in dsi_config_tx_fifo() 2218 dsi->vc[1].tx_fifo_size = size2; in dsi_config_tx_fifo() [all …]
|
/linux-4.4.14/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 487 struct v4l2_capability *vc) in vidioc_querycap() argument 492 strlcpy(vc->driver, "USBVision", sizeof(vc->driver)); in vidioc_querycap() 493 strlcpy(vc->card, in vidioc_querycap() 495 sizeof(vc->card)); in vidioc_querycap() 496 usb_make_path(usbvision->dev, vc->bus_info, sizeof(vc->bus_info)); in vidioc_querycap() 497 vc->device_caps = usbvision->have_tuner ? V4L2_CAP_TUNER : 0; in vidioc_querycap() 499 vc->device_caps |= V4L2_CAP_VIDEO_CAPTURE | in vidioc_querycap() 502 vc->device_caps |= V4L2_CAP_RADIO; in vidioc_querycap() 504 vc->capabilities = vc->device_caps | V4L2_CAP_VIDEO_CAPTURE | in vidioc_querycap() 507 vc->capabilities |= V4L2_CAP_RADIO; in vidioc_querycap()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-video.c | 1350 struct v4l2_ctrl *vc; in cx8800_initdev() local 1352 vc = v4l2_ctrl_new_std(&core->audio_hdl, &cx8800_ctrl_aud_ops, in cx8800_initdev() 1354 if (vc == NULL) { in cx8800_initdev() 1358 vc->priv = (void *)cc; in cx8800_initdev() 1363 struct v4l2_ctrl *vc; in cx8800_initdev() local 1365 vc = v4l2_ctrl_new_std(&core->video_hdl, &cx8800_ctrl_vid_ops, in cx8800_initdev() 1367 if (vc == NULL) { in cx8800_initdev() 1371 vc->priv = (void *)cc; in cx8800_initdev() 1372 if (vc->id == V4L2_CID_CHROMA_AGC) in cx8800_initdev() 1373 core->chroma_agc = vc; in cx8800_initdev()
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-csi.c | 562 int ipu_csi_set_mipi_datatype(struct ipu_csi *csi, u32 vc, in ipu_csi_set_mipi_datatype() argument 569 if (vc > 3) in ipu_csi_set_mipi_datatype() 577 temp &= ~(0xff << (vc * 8)); in ipu_csi_set_mipi_datatype() 578 temp |= (cfg.mipi_dt << (vc * 8)); in ipu_csi_set_mipi_datatype()
|
/linux-4.4.14/drivers/pci/ |
D | Makefile | 7 irq.o vpd.o setup-bus.o vc.o
|
/linux-4.4.14/Documentation/input/ |
D | notifier.txt | 7 - 'vc' always provide the VC for which the keyboard event applies;
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 86 #define FMT_8_BIT(fmt, vc) [fmt] = { 1, 1, 1, vc, CHIP_R600 } argument 87 #define FMT_16_BIT(fmt, vc) [fmt] = { 1, 1, 2, vc, CHIP_R600 } argument 89 #define FMT_32_BIT(fmt, vc) [fmt] = { 1, 1, 4, vc, CHIP_R600 } argument 91 #define FMT_64_BIT(fmt, vc) [fmt] = { 1, 1, 8, vc, CHIP_R600 } argument 93 #define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16,vc, CHIP_R600 } argument
|
/linux-4.4.14/arch/arm/include/asm/ |
D | assembler.h | 189 .irp c,,eq,ne,cs,cc,mi,pl,vs,vc,hi,ls,ge,lt,gt,le,hs,lo 494 .irp c,,eq,ne,cs,cc,mi,pl,vs,vc,hi,ls,ge,lt,gt,le,hs,lo
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 256 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_gddr5() local 270 if (vc == 1 && ram_have(fuc, gpio2E)) { in gk104_ram_calc_gddr5() 599 if (vc == 0 && ram_have(fuc, gpio2E)) { in gk104_ram_calc_gddr5() 703 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_sddr3() local 711 if (vc == 1 && ram_have(fuc, gpio2E)) { in gk104_ram_calc_sddr3() 920 if (vc == 0 && ram_have(fuc, gpio2E)) { in gk104_ram_calc_sddr3()
|
/linux-4.4.14/net/ipx/ |
D | Kconfig | 12 <ftp://platan.vc.cvut.cz/pub/linux/ncpfs/>) or from
|
/linux-4.4.14/include/video/ |
D | imx-ipu-v3.h | 279 int ipu_csi_set_mipi_datatype(struct ipu_csi *csi, u32 vc,
|
/linux-4.4.14/drivers/bus/ |
D | arm-ccn.c | 242 static CCN_FORMAT_ATTR(vc, "config:26-28"); 786 u32 vc = CCN_CONFIG_VC(event->attr.config); in arm_ccn_pmu_event_init() local 797 if (e->num_vcs && vc >= e->num_vcs) { in arm_ccn_pmu_event_init() 799 vc, node_xp); in arm_ccn_pmu_event_init()
|
/linux-4.4.14/kernel/trace/ |
D | trace_events_filter.c | 2323 #define DATA_REC(m, va, vb, vc, vd, ve, vf, vg, vh, nvisit) \ argument 2326 .rec = { .a = va, .b = vb, .c = vc, .d = vd, \
|
/linux-4.4.14/Documentation/fb/ |
D | fbcon.txt | 115 4. fbcon=vc:<n1>-<n2>
|
D | matroxfb.txt | 413 Petr Vandrovec <vandrove@vc.cvut.cz>
|
/linux-4.4.14/drivers/video/fbdev/ |
D | Kconfig | 1266 (available at <ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/>) to 1317 <ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/>) to switch it to
|
/linux-4.4.14/Documentation/ |
D | devices.txt | 261 0 = /dev/vcs Current vc text contents 265 128 = /dev/vcsa Current vc text/attribute contents
|