• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/media/video/pvrusb2/

Lines Matching refs:cptr

70 	struct pvr2_ctrl *cptr;
85 struct pvr2_ctrl *cptr;
91 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
92 if (!cptr) return -EINVAL;
94 name = pvr2_ctrl_get_desc(cptr);
104 struct pvr2_ctrl *cptr;
111 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
112 if (!cptr) return -EINVAL;
114 tp = pvr2_ctrl_get_type(cptr);
131 struct pvr2_ctrl *cptr;
137 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
138 if (!cptr) return -EINVAL;
139 val = pvr2_ctrl_get_min(cptr);
148 struct pvr2_ctrl *cptr;
154 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
155 if (!cptr) return -EINVAL;
156 val = pvr2_ctrl_get_max(cptr);
165 struct pvr2_ctrl *cptr;
172 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
173 if (!cptr) return -EINVAL;
175 ret = pvr2_ctrl_get_value(cptr,&val);
178 ret = pvr2_ctrl_value_to_sym(cptr,~0,val,
189 struct pvr2_ctrl *cptr;
196 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
197 if (!cptr) return -EINVAL;
199 ret = pvr2_ctrl_get_value(cptr,&val);
202 ret = pvr2_ctrl_custom_value_to_sym(cptr,~0,val,
213 struct pvr2_ctrl *cptr;
220 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
221 if (!cptr) return -EINVAL;
222 ecnt = pvr2_ctrl_get_cnt(cptr);
225 pvr2_ctrl_get_valname(cptr,val,buf+bcnt,PAGE_SIZE-bcnt,&ccnt);
238 struct pvr2_ctrl *cptr;
245 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
246 if (!cptr) return -EINVAL;
247 valid_bits = pvr2_ctrl_get_mask(cptr);
252 pvr2_ctrl_get_valname(cptr,msk,buf+bcnt,PAGE_SIZE-bcnt,&ccnt);
265 struct pvr2_ctrl *cptr;
269 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,id);
271 ret = pvr2_ctrl_custom_sym_to_value(cptr,buf,count,&mask,&val);
273 ret = pvr2_ctrl_sym_to_value(cptr,buf,count,&mask,&val);
276 ret = pvr2_ctrl_set_mask_value(cptr,mask,val);
482 struct pvr2_ctrl *cptr;
491 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,ctl_id);
492 if (!cptr) return;
498 cip->cptr = cptr;
539 if (pvr2_ctrl_is_writable(cptr)) {
550 if (pvr2_ctrl_has_custom_symbols(cptr)) {
555 switch (pvr2_ctrl_get_type(cptr)) {
573 pvr2_ctrl_get_name(cptr));