Lines Matching refs:vp
356 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelfreq_get() argument
360 *vp = hdw->freqTable[hdw->freqProgSlot-1]; in ctrl_channelfreq_get()
362 *vp = 0; in ctrl_channelfreq_get()
389 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelprog_get() argument
391 *vp = cptr->hdw->freqProgSlot; in ctrl_channelprog_get()
404 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channel_get() argument
407 *vp = hdw->freqSelector ? hdw->freqSlotRadio : hdw->freqSlotTelevision; in ctrl_channel_get()
429 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_freq_get() argument
431 *vp = pvr2_hdw_get_cur_freq(cptr->hdw); in ctrl_freq_get()
643 static int ctrl_vres_max_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_vres_max_get() argument
647 *vp = 480; in ctrl_vres_max_get()
649 *vp = 576; in ctrl_vres_max_get()
654 static int ctrl_vres_min_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_vres_min_get() argument
658 *vp = 75; in ctrl_vres_min_get()
660 *vp = 17; in ctrl_vres_min_get()
665 static int ctrl_get_input(struct pvr2_ctrl *cptr,int *vp) in ctrl_get_input() argument
667 *vp = cptr->hdw->input_val; in ctrl_get_input()
692 static int ctrl_freq_max_get(struct pvr2_ctrl *cptr, int *vp) in ctrl_freq_max_get() argument
702 *vp = TV_MAX_FREQ; in ctrl_freq_max_get()
710 *vp = fv; in ctrl_freq_max_get()
714 static int ctrl_freq_min_get(struct pvr2_ctrl *cptr, int *vp) in ctrl_freq_min_get() argument
724 *vp = TV_MIN_FREQ; in ctrl_freq_min_get()
732 *vp = fv; in ctrl_freq_min_get()
747 static int ctrl_cx2341x_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_cx2341x_get() argument
760 *vp = c1.value; in ctrl_cx2341x_get()
820 static int ctrl_streamingenabled_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_streamingenabled_get() argument
822 *vp = cptr->hdw->state_pipeline_req; in ctrl_streamingenabled_get()
826 static int ctrl_masterstate_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_masterstate_get() argument
828 *vp = cptr->hdw->master_state; in ctrl_masterstate_get()
832 static int ctrl_hsm_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_hsm_get() argument
835 *vp = PVR2_CVAL_HSM_FULL; in ctrl_hsm_get()
836 if (result < 0) *vp = PVR2_CVAL_HSM_FAIL; in ctrl_hsm_get()
837 if (result) *vp = PVR2_CVAL_HSM_HIGH; in ctrl_hsm_get()
841 static int ctrl_stddetect_get(struct pvr2_ctrl *cptr, int *vp) in ctrl_stddetect_get() argument
843 *vp = pvr2_hdw_get_detected_std(cptr->hdw); in ctrl_stddetect_get()
847 static int ctrl_stdavail_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_stdavail_get() argument
849 *vp = cptr->hdw->std_mask_avail; in ctrl_stdavail_get()
886 static int ctrl_stdcur_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_stdcur_get() argument
888 *vp = cptr->hdw->std_mask_cur; in ctrl_stdcur_get()
914 static int ctrl_signal_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_signal_get() argument
918 *vp = hdw->tuner_signal_info.signal; in ctrl_signal_get()
922 static int ctrl_audio_modes_present_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_audio_modes_present_get() argument
941 *vp = val; in ctrl_audio_modes_present_get()
972 static int ctrl_get_##vname(struct pvr2_ctrl *cptr,int *vp) \
973 {*vp = cptr->hdw->vname##_val; return 0;} \