Home
last modified time | relevance | path

Searched refs:vcp (Results 1 – 2 of 2) sorted by relevance

/drivers/tty/vt/
Dvt_ioctl.c702 struct vc_data *vcp; in vt_resizex() local
707 vcp = vc_cons[i].d; in vt_resizex()
708 if (vcp) { in vt_resizex()
710 int save_scan_lines = vcp->vc_scan_lines; in vt_resizex()
711 int save_cell_height = vcp->vc_cell_height; in vt_resizex()
714 vcp->vc_scan_lines = v.v_vlin; in vt_resizex()
716 vcp->vc_cell_height = v.v_clin; in vt_resizex()
717 vcp->vc_resize_user = 1; in vt_resizex()
718 ret = vc_resize(vcp, v.v_cols, v.v_rows); in vt_resizex()
720 vcp->vc_scan_lines = save_scan_lines; in vt_resizex()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c417 struct pvr2_ctrl *hcp, *vcp; in pvr2_try_fmt_vid_cap() local
422 vcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_VRES); in pvr2_try_fmt_vid_cap()
433 lmin = pvr2_ctrl_get_min(vcp); in pvr2_try_fmt_vid_cap()
434 lmax = pvr2_ctrl_get_max(vcp); in pvr2_try_fmt_vid_cap()
435 pvr2_ctrl_get_def(vcp, &ldef); in pvr2_try_fmt_vid_cap()
454 struct pvr2_ctrl *hcp, *vcp; in pvr2_s_fmt_vid_cap() local
460 vcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_VRES); in pvr2_s_fmt_vid_cap()
462 pvr2_ctrl_set_value(vcp, vf->fmt.pix.height); in pvr2_s_fmt_vid_cap()