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