Home
last modified time | relevance | path

Searched refs:pvr2_ctrl (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.h9 struct pvr2_ctrl;
20 int pvr2_ctrl_set_value(struct pvr2_ctrl *,int val);
23 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *,int mask,int val);
26 int pvr2_ctrl_get_value(struct pvr2_ctrl *,int *valptr);
29 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *);
32 int pvr2_ctrl_get_max(struct pvr2_ctrl *);
35 int pvr2_ctrl_get_min(struct pvr2_ctrl *);
38 int pvr2_ctrl_get_def(struct pvr2_ctrl *, int *valptr);
41 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *);
44 int pvr2_ctrl_get_mask(struct pvr2_ctrl *);
[all …]
H A Dpvrusb2-ctrl.c14 static int pvr2_ctrl_range_check(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_range_check()
39 int pvr2_ctrl_set_value(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_set_value()
46 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *cptr,int mask,int val) in pvr2_ctrl_set_mask_value()
71 int pvr2_ctrl_get_value(struct pvr2_ctrl *cptr,int *valptr) in pvr2_ctrl_get_value()
83 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_type()
91 int pvr2_ctrl_get_max(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_max()
107 int pvr2_ctrl_get_min(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_min()
123 int pvr2_ctrl_get_def(struct pvr2_ctrl *cptr, int *valptr) in pvr2_ctrl_get_def()
139 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_cnt()
153 int pvr2_ctrl_get_mask(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_mask()
[all …]
H A Dpvrusb2-hdw-internal.h48 typedef int (*pvr2_ctlf_is_dirty)(struct pvr2_ctrl *);
49 typedef void (*pvr2_ctlf_clear_dirty)(struct pvr2_ctrl *);
50 typedef int (*pvr2_ctlf_check_value)(struct pvr2_ctrl *,int);
51 typedef int (*pvr2_ctlf_get_value)(struct pvr2_ctrl *,int *);
52 typedef int (*pvr2_ctlf_set_value)(struct pvr2_ctrl *,int msk,int val);
53 typedef int (*pvr2_ctlf_val_to_sym)(struct pvr2_ctrl *,int msk,int val,
55 typedef int (*pvr2_ctlf_sym_to_val)(struct pvr2_ctrl *,
58 typedef unsigned int (*pvr2_ctlf_get_v4lflags)(struct pvr2_ctrl *);
122 struct pvr2_ctrl { struct
372 struct pvr2_ctrl *controls;
H A Dpvrusb2-hdw.c344 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelfreq_get()
355 static int ctrl_channelfreq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelfreq_set()
377 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelprog_get()
383 static int ctrl_channelprog_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelprog_set()
392 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channel_get()
399 static int ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) in ctrl_channel_set()
417 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_freq_get()
423 static int ctrl_freq_is_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_is_dirty()
428 static void ctrl_freq_clear_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_clear_dirty()
433 static int ctrl_freq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_freq_set()
[all …]
H A Dpvrusb2-hdw.h136 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw *,unsigned int);
139 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw *,unsigned int);
142 struct pvr2_ctrl *pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw *,unsigned int ctl_id);
145 struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *,
H A Dpvrusb2-v4l2.c166 struct pvr2_ctrl *cptr; in pvr2_enum_input()
215 struct pvr2_ctrl *cptr; in pvr2_g_input()
322 struct pvr2_ctrl *ctrlp; in pvr2_s_frequency()
417 struct pvr2_ctrl *hcp, *vcp; in pvr2_try_fmt_vid_cap()
454 struct pvr2_ctrl *hcp, *vcp; in pvr2_s_fmt_vid_cap()
505 struct pvr2_ctrl *cptr; in pvr2_queryctrl()
605 struct pvr2_ctrl *cptr; in pvr2_g_ext_ctrls()
665 struct pvr2_ctrl *pctl; in pvr2_try_ext_ctrls()
H A Dpvrusb2-sysfs.c59 struct pvr2_ctrl *cptr;
285 struct pvr2_ctrl *cptr; in pvr2_sysfs_add_control()