Lines Matching defs:val

337 static void trace_stbit(const char *name,int val)
341 name,(val ? "true" : "false"));
521 static int ctrl_get_cropcapbl(struct pvr2_ctrl *cptr, int *val)
528 *val = cap->bounds.left;
532 static int ctrl_get_cropcapbt(struct pvr2_ctrl *cptr, int *val)
539 *val = cap->bounds.top;
543 static int ctrl_get_cropcapbw(struct pvr2_ctrl *cptr, int *val)
550 *val = cap->bounds.width;
554 static int ctrl_get_cropcapbh(struct pvr2_ctrl *cptr, int *val)
561 *val = cap->bounds.height;
565 static int ctrl_get_cropcapdl(struct pvr2_ctrl *cptr, int *val)
572 *val = cap->defrect.left;
576 static int ctrl_get_cropcapdt(struct pvr2_ctrl *cptr, int *val)
583 *val = cap->defrect.top;
587 static int ctrl_get_cropcapdw(struct pvr2_ctrl *cptr, int *val)
594 *val = cap->defrect.width;
598 static int ctrl_get_cropcapdh(struct pvr2_ctrl *cptr, int *val)
605 *val = cap->defrect.height;
609 static int ctrl_get_cropcappan(struct pvr2_ctrl *cptr, int *val)
616 *val = cap->pixelaspect.numerator;
620 static int ctrl_get_cropcappad(struct pvr2_ctrl *cptr, int *val)
627 *val = cap->pixelaspect.denominator;
855 static int ctrl_std_val_to_sym(struct pvr2_ctrl *cptr,int msk,int val,
859 *len = pvr2_std_id_to_str(bufPtr,bufSize,msk & val);
913 int val = 0;
919 val |= (1 << V4L2_TUNER_MODE_MONO);
922 val |= (1 << V4L2_TUNER_MODE_STEREO);
925 val |= (1 << V4L2_TUNER_MODE_LANG1);
928 val |= (1 << V4L2_TUNER_MODE_LANG2);
930 *vp = val;
1311 static void pvr2_hdw_set_cur_freq(struct pvr2_hdw *hdw,unsigned long val)
1319 if (hdw->freqValRadio != val) {
1320 hdw->freqValRadio = val;
1330 if (hdw->freqValTelevision != val) {
1331 hdw->freqValTelevision = val;
2807 const char *name, int val)
2812 pvr2_trace(PVR2_TRACE_CHIPS, "subdev v4l2 %s=%d", name, val);
2815 ctrl.value = val;
2934 u32 val;
2940 val = 48000;
2943 val = 44100;
2946 val = 32000;
2950 audio, s_clock_freq, val);
3961 void pvr2_hdw_cpureset_assert(struct pvr2_hdw *hdw,int val)
3977 pvr2_trace(PVR2_TRACE_INIT,"cpureset_assert(%d)",val);
3979 da[0] = val ? 0x01 : 0x00;
3987 "cpureset_assert(%d) error=%d",val,ret);
4991 int pvr2_hdw_gpio_chg_dir(struct pvr2_hdw *hdw,u32 msk,u32 val)
4998 nval = (cval & ~msk) | (val & msk);
5001 msk,val,cval,nval);
5003 nval = val;
5011 int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val)
5018 nval = (cval & ~msk) | (val & msk);
5021 msk,val,cval,nval);
5023 nval = val;