Searched defs:vc (Results 1 - 25 of 39) sorted by relevance

12

/drivers/video/console/
H A Ddummycon.c37 static void dummycon_init(struct vc_data *vc, int init) argument
39 vc->vc_can_do_color = 1;
41 vc->vc_cols = DUMMY_COLUMNS;
42 vc->vc_rows = DUMMY_ROWS;
44 vc_resize(vc, DUMMY_COLUMNS, DUMMY_ROWS);
H A Dfbcon_rotate.c21 static int fbcon_rotate_font(struct fb_info *info, struct vc_data *vc) argument
29 if (vc->vc_font.data == ops->fontdata &&
33 src = ops->fontdata = vc->vc_font.data;
36 s_cellsize = ((vc->vc_font.width + 7)/8) *
37 vc->vc_font.height;
42 d_cellsize = ((vc->vc_font.height + 7)/8) *
43 vc->vc_font.width;
67 rotate_ud(src, dst, vc->vc_font.width,
68 vc->vc_font.height);
76 rotate_cw(src, dst, vc
[all...]
H A Dtileblit.c19 static void tile_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
34 static void tile_clear(struct vc_data *vc, struct fb_info *info, int sy, argument
38 int bgshift = (vc->vc_hi_font_mask) ? 13 : 12;
39 int fgshift = (vc->vc_hi_font_mask) ? 9 : 8;
41 rect.index = vc->vc_video_erase_char &
42 ((vc->vc_hi_font_mask) ? 0x1ff : 0xff);
43 rect.fg = attr_fgcol_ec(fgshift, vc, info);
44 rect.bg = attr_bgcol_ec(bgshift, vc, info);
54 static void tile_putcs(struct vc_data *vc, struct fb_info *info, argument
59 unsigned short charmask = vc
76 tile_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) argument
82 tile_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
131 fbcon_set_tileops(struct vc_data *vc, struct fb_info *info) argument
[all...]
H A Dbitblit.c26 struct vc_data *vc)
28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = DIV_ROUND_UP(vc->vc_font.width, 8);
30 unsigned int cellsize = vc->vc_font.height * width;
46 static void bit_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
51 area.sx = sx * vc->vc_font.width;
52 area.sy = sy * vc->vc_font.height;
53 area.dx = dx * vc->vc_font.width;
54 area.dy = dy * vc->vc_font.height;
55 area.height = height * vc
25 update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
61 bit_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
77 bit_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
108 bit_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
143 bit_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
205 bit_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) argument
237 bit_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
[all...]
H A Dfbcon_ccw.c26 struct vc_data *vc)
28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
30 int mod = vc->vc_font.height % 8;
39 for (i = 0; i < vc->vc_font.width; i++) {
63 static void ccw_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
70 area.sx = sy * vc->vc_font.height;
71 area.sy = vyres - ((sx + width) * vc->vc_font.width);
72 area.dx = dy * vc->vc_font.height;
73 area.dy = vyres - ((dx + width) * vc
25 ccw_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
80 ccw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
98 ccw_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
129 ccw_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
191 ccw_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) argument
222 ccw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
[all...]
H A Dfbcon_cw.c26 struct vc_data *vc)
28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.height + 7) >> 3;
32 for (i = 0; i < vc->vc_font.width; i++) {
49 static void cw_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
56 area.sx = vxres - ((sy + height) * vc->vc_font.height);
57 area.sy = sx * vc->vc_font.width;
58 area.dx = vxres - ((dy + height) * vc->vc_font.height);
59 area.dy = dx * vc->vc_font.width;
60 area.width = height * vc
25 cw_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
66 cw_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
84 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
115 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
175 cw_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) argument
206 cw_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
[all...]
H A Dfbcon_ud.c26 struct vc_data *vc)
28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2;
29 int width = (vc->vc_font.width + 7) >> 3;
30 unsigned int cellsize = vc->vc_font.height * width;
48 static void ud_bmove(struct vc_data *vc, struct fb_info *info, int sy, argument
56 area.sy = vyres - ((sy + height) * vc->vc_font.height);
57 area.sx = vxres - ((sx + width) * vc->vc_font.width);
58 area.dy = vyres - ((dy + height) * vc->vc_font.height);
59 area.dx = vxres - ((dx + width) * vc->vc_font.width);
60 area.height = height * vc
25 ud_update_attr(u8 *dst, u8 *src, int attribute, struct vc_data *vc) argument
66 ud_clear(struct vc_data *vc, struct fb_info *info, int sy, int sx, int height, int width) argument
85 ud_putcs_aligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
116 ud_putcs_unaligned(struct vc_data *vc, struct fb_info *info, const u16 *s, u32 attr, u32 cnt, u32 d_pitch, u32 s_pitch, u32 cellsize, struct fb_image *image, u8 *buf, u8 *dst) argument
151 ud_putcs(struct vc_data *vc, struct fb_info *info, const unsigned short *s, int count, int yy, int xx, int fg, int bg) argument
222 ud_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) argument
252 ud_cursor(struct vc_data *vc, struct fb_info *info, int mode, int softback_lines, int fg, int bg) argument
[all...]
H A Dfbcon.h55 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);
117 static inline int attr_col_ec(int shift, struct vc_data *vc, argument
125 if (!vc)
128 if (vc->vc_can_do_color)
129 return is_fg ? attr_fgcol(shift,vc
[all...]
/drivers/staging/speakup/
H A Dkeyhelp.c140 int handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key) argument
H A Dselection.c52 struct vc_data *vc = vc_cons[fg_console].d; local
54 xs = limit(xs, vc->vc_cols - 1);
55 ys = limit(ys, vc->vc_rows - 1);
56 xe = limit(xe, vc->vc_cols - 1);
57 ye = limit(ye, vc->vc_rows - 1);
58 ps = ys * vc->vc_size_row + (xs << 1);
59 pe = ye * vc->vc_size_row + (xe << 1);
81 !atedge(new_sel_end, vc->vc_size_row) &&
85 atedge(pe, vc->vc_size_row))
110 if (!((i + 2) % vc
128 struct vc_data *vc = (struct vc_data *) tty->driver_data; local
[all...]
H A Dkobjects.c328 struct vc_data *vc = vc_cons[fg_console].d; local
/drivers/accessibility/braille/
H A Dbraille_console.c123 static void vc_follow_cursor(struct vc_data *vc) argument
125 vc_x = vc->vc_x - (vc->vc_x % WIDTH);
126 vc_y = vc->vc_y;
127 lastvc_x = vc->vc_x;
128 lastvc_y = vc->vc_y;
132 static void vc_maybe_cursor_moved(struct vc_data *vc) argument
134 if (vc->vc_x != lastvc_x || vc->vc_y != lastvc_y)
135 vc_follow_cursor(vc);
139 vc_refresh(struct vc_data *vc) argument
160 struct vc_data *vc = param->vc; local
279 struct vc_data *vc = param->vc; local
[all...]
/drivers/media/radio/
H A Dradio-si4713.c182 struct v4l2_control *vc)
185 g_ctrl, vc);
189 struct v4l2_control *vc)
192 s_ctrl, vc);
181 radio_si4713_g_ctrl(struct file *file, void *p, struct v4l2_control *vc) argument
188 radio_si4713_s_ctrl(struct file *file, void *p, struct v4l2_control *vc) argument
/drivers/media/video/
H A Dhexium_gemini.c285 static int vidioc_g_ctrl(struct file *file, void *fh, struct v4l2_control *vc) argument
292 if (hexium_controls[i].id == vc->id)
297 return dev->ext_vv_data->core_ops->vidioc_g_ctrl(file, fh, vc);
299 if (vc->id == V4L2_CID_PRIVATE_BASE) {
300 vc->value = hexium->cur_bw;
301 DEB_D("VIDIOC_G_CTRL BW:%d\n", vc->value);
307 static int vidioc_s_ctrl(struct file *file, void *fh, struct v4l2_control *vc) argument
314 if (hexium_controls[i].id == vc->id)
319 return dev->ext_vv_data->core_ops->vidioc_s_ctrl(file, fh, vc);
321 if (vc
[all...]
H A Dmxb.c403 static int vidioc_g_ctrl(struct file *file, void *fh, struct v4l2_control *vc) argument
410 if (mxb_controls[i].id == vc->id)
415 return dev->ext_vv_data->core_ops->vidioc_g_ctrl(file, fh, vc);
417 if (vc->id == V4L2_CID_AUDIO_MUTE) {
418 vc->value = mxb->cur_mute;
419 DEB_D("VIDIOC_G_CTRL V4L2_CID_AUDIO_MUTE:%d\n", vc->value);
423 DEB_EE("VIDIOC_G_CTRL V4L2_CID_AUDIO_MUTE:%d\n", vc->value);
427 static int vidioc_s_ctrl(struct file *file, void *fh, struct v4l2_control *vc) argument
434 if (mxb_controls[i].id == vc->id)
439 return dev->ext_vv_data->core_ops->vidioc_s_ctrl(file, fh, vc);
[all...]
H A Dtcm825x.c490 struct v4l2_control *vc)
498 if (vc->id == V4L2_CID_EXPOSURE) {
510 vc->value = ((val_upper & 0x1f) << 8) | (val_lower);
514 lvc = find_vctrl(vc->id);
527 if (vc->id == V4L2_CID_HFLIP || vc->id == V4L2_CID_VFLIP)
530 vc->value = val;
535 struct v4l2_control *vc)
540 int val = vc->value;
543 if (vc
489 ioctl_g_ctrl(struct v4l2_int_device *s, struct v4l2_control *vc) argument
534 ioctl_s_ctrl(struct v4l2_int_device *s, struct v4l2_control *vc) argument
[all...]
/drivers/tty/vt/
H A Dselection.c160 struct vc_data *vc = vc_cons[fg_console].d; local
179 xs = limit(xs, vc->vc_cols - 1);
180 ys = limit(ys, vc->vc_rows - 1);
181 xe = limit(xe, vc->vc_cols - 1);
182 ye = limit(ye, vc->vc_rows - 1);
183 ps = ys * vc->vc_size_row + (xs << 1);
184 pe = ye * vc->vc_size_row + (xe << 1);
229 if (!(ps % vc->vc_size_row))
239 if (!((pe + 2) % vc->vc_size_row))
244 new_sel_start = ps - ps % vc
338 struct vc_data *vc = tty->driver_data; local
[all...]
H A Dconsolemap.c246 unsigned short *set_translate(int m, struct vc_data *vc) argument
248 inv_translate[vc->vc_num] = m;
410 void con_free_unimap(struct vc_data *vc) argument
414 p = (struct uni_pagedir *)*vc->vc_uni_pagedir_loc;
417 *vc->vc_uni_pagedir_loc = 0;
491 int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui) argument
495 p = (struct uni_pagedir *)*vc->vc_uni_pagedir_loc;
504 *vc->vc_uni_pagedir_loc = (unsigned long)q;
514 int con_set_unimap(struct vc_data *vc, ushort ct, struct unipair __user *list) argument
520 p = (struct uni_pagedir *)*vc
610 con_set_default_unimap(struct vc_data *vc) argument
672 con_get_unimap(struct vc_data *vc, ushort ct, ushort __user *uct, struct unipair __user *list) argument
700 con_protect_unimap(struct vc_data *vc, int rdonly) argument
[all...]
H A Dvc_screen.c65 struct vc_data *vc = param->vc; local
77 if (currcons != vc->vc_num)
165 struct vc_data *vc; local
169 vc = vcs_vc(inode, NULL);
170 if (!vc)
173 size = vc->vc_rows * vc->vc_cols;
213 struct vc_data *vc; local
235 vc
391 struct vc_data *vc; local
[all...]
H A Dvt_ioctl.c50 * and the vc start at /dev/ttyX, X >= 1. We maintain that here, so we will
61 static void complete_change_console(struct vc_data *vc);
241 do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, int perm, struct vc_data *vc) argument
255 return con_set_unimap(vc, tmp.entry_ct, tmp.entries);
257 if (!perm && fg_console != vc->vc_num)
259 return con_get_unimap(vc, tmp.entry_ct, &(user_ud->entry_ct), tmp.entries);
273 struct vc_data *vc = tty->driver_data; local
282 console = vc->vc_num;
417 if (vc->vc_mode == (unsigned char) arg)
419 vc
773 struct vc_data *vc; local
1012 reset_vc(struct vc_data *vc) argument
1032 struct vc_data *vc; local
1108 compat_kdfontop_ioctl(struct compat_console_font_op __user *fontop, int perm, struct console_font_op *op, struct vc_data *vc) argument
1133 compat_unimap_ioctl(unsigned int cmd, struct compat_unimapdesc __user *user_ud, int perm, struct vc_data *vc) argument
1162 struct vc_data *vc = tty->driver_data; local
1252 complete_change_console(struct vc_data *vc) argument
1328 struct vc_data *vc; local
[all...]
/drivers/media/video/cpia2/
H A Dcpia2_v4l.c423 static int cpia2_querycap(struct file *file, void *fh, struct v4l2_capability *vc) argument
427 strcpy(vc->driver, "cpia2");
430 strcpy(vc->card, "QX5 Microscope");
432 strcpy(vc->card, "CPiA2 Camera");
435 strcat(vc->card, " (672/");
438 strcat(vc->card, " (676/");
441 strcat(vc->card, " (XXX/");
446 strcat(vc->card, "404)");
449 strcat(vc->card, "407)");
452 strcat(vc
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c600 struct v4l2_queryctrl *vc = (struct v4l2_queryctrl *)arg; local
602 if (vc->id & V4L2_CTRL_FLAG_NEXT_CTRL) {
604 hdw,(vc->id & ~V4L2_CTRL_FLAG_NEXT_CTRL));
605 if (cptr) vc->id = pvr2_ctrl_get_v4lid(cptr);
607 cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id);
612 vc->id);
619 vc->id,pvr2_ctrl_get_name(cptr),
621 strlcpy(vc->name,pvr2_ctrl_get_desc(cptr),sizeof(vc->name));
622 vc
668 struct v4l2_control *vc = (struct v4l2_control *)arg; local
678 struct v4l2_control *vc = (struct v4l2_control *)arg; local
[all...]
/drivers/atm/
H A Dnicstar.c132 static void fill_tst(ns_dev * card, int n, vc_map * vc);
134 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd,
1251 vc_map *vc; local
1261 int inuse; /* tx or rx vc already in use by another vcc */
1273 vc = &(card->vcmap[vpi << card->vcibits | vci]);
1274 vcc->dev_data = vc;
1277 if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx)
1279 if (vcc->qos.rxtp.traffic_class != ATM_NONE && vc->rx)
1301 ("nicstar%d: trying to open a CBR vc with cell rate = 0 \n",
1359 card->scd2vc[frscdi] = vc;
1432 vc_map *vc; local
1593 fill_tst(ns_dev * card, int n, vc_map * vc) argument
1646 vc_map *vc; local
1737 push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, struct sk_buff *skb) argument
1987 vc_map *vc; local
[all...]
/drivers/media/video/usbvision/
H A Dusbvision-video.c501 struct v4l2_capability *vc)
505 strlcpy(vc->driver, "USBVision", sizeof(vc->driver));
506 strlcpy(vc->card,
508 sizeof(vc->card));
509 usb_make_path(usbvision->dev, vc->bus_info, sizeof(vc->bus_info));
510 vc->capabilities = V4L2_CAP_VIDEO_CAPTURE |
500 vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *vc) argument
/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c336 sisusbcon_invert_region(struct vc_data *vc, u16 *p, int count) argument
535 * being called while the vc is using its private buffer
568 /* Save the current screen contents to vc's private
586 /* Save the screen contents to vc's private buffer */
1257 struct vc_data *vc = vc_cons[i].d; local
1259 if (vc && vc->vc_sw == &sisusb_con) {
1260 if (CON_IS_VISIBLE(vc)) {
1261 vc->vc_sw->con_cursor(vc, CM_DRA
1391 sisusbdummycon_init(struct vc_data *vc, int init) argument
[all...]

Completed in 1870 milliseconds

12