Lines Matching refs:vp

344 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp)
348 *vp = hdw->freqTable[hdw->freqProgSlot-1];
350 *vp = 0;
377 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp)
379 *vp = cptr->hdw->freqProgSlot;
392 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp)
395 *vp = hdw->freqSelector ? hdw->freqSlotRadio : hdw->freqSlotTelevision;
417 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp)
419 *vp = pvr2_hdw_get_cur_freq(cptr->hdw);
631 static int ctrl_vres_max_get(struct pvr2_ctrl *cptr,int *vp)
635 *vp = 480;
637 *vp = 576;
642 static int ctrl_vres_min_get(struct pvr2_ctrl *cptr,int *vp)
646 *vp = 75;
648 *vp = 17;
653 static int ctrl_get_input(struct pvr2_ctrl *cptr,int *vp)
655 *vp = cptr->hdw->input_val;
682 static int ctrl_freq_max_get(struct pvr2_ctrl *cptr, int *vp)
692 *vp = TV_MAX_FREQ;
700 *vp = fv;
704 static int ctrl_freq_min_get(struct pvr2_ctrl *cptr, int *vp)
714 *vp = TV_MIN_FREQ;
722 *vp = fv;
737 static int ctrl_cx2341x_get(struct pvr2_ctrl *cptr,int *vp)
750 *vp = c1.value;
810 static int ctrl_streamingenabled_get(struct pvr2_ctrl *cptr,int *vp)
812 *vp = cptr->hdw->state_pipeline_req;
816 static int ctrl_masterstate_get(struct pvr2_ctrl *cptr,int *vp)
818 *vp = cptr->hdw->master_state;
822 static int ctrl_hsm_get(struct pvr2_ctrl *cptr,int *vp)
825 *vp = PVR2_CVAL_HSM_FULL;
826 if (result < 0) *vp = PVR2_CVAL_HSM_FAIL;
827 if (result) *vp = PVR2_CVAL_HSM_HIGH;
831 static int ctrl_stddetect_get(struct pvr2_ctrl *cptr, int *vp)
833 *vp = pvr2_hdw_get_detected_std(cptr->hdw);
837 static int ctrl_stdavail_get(struct pvr2_ctrl *cptr,int *vp)
839 *vp = cptr->hdw->std_mask_avail;
875 static int ctrl_stdcur_get(struct pvr2_ctrl *cptr,int *vp)
877 *vp = cptr->hdw->std_mask_cur;
903 static int ctrl_signal_get(struct pvr2_ctrl *cptr,int *vp)
907 *vp = hdw->tuner_signal_info.signal;
911 static int ctrl_audio_modes_present_get(struct pvr2_ctrl *cptr,int *vp)
930 *vp = val;
961 static int ctrl_get_##vname(struct pvr2_ctrl *cptr,int *vp) \
962 {*vp = cptr->hdw->vname##_val; return 0;} \