Home
last modified time | relevance | path

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

/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.h23 struct pvr2_ctrl;
34 int pvr2_ctrl_set_value(struct pvr2_ctrl *,int val);
37 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *,int mask,int val);
40 int pvr2_ctrl_get_value(struct pvr2_ctrl *,int *valptr);
43 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *);
46 int pvr2_ctrl_get_max(struct pvr2_ctrl *);
49 int pvr2_ctrl_get_min(struct pvr2_ctrl *);
52 int pvr2_ctrl_get_def(struct pvr2_ctrl *, int *valptr);
55 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *);
58 int pvr2_ctrl_get_mask(struct pvr2_ctrl *);
[all …]
Dpvrusb2-ctrl.c28 static int pvr2_ctrl_range_check(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_range_check()
53 int pvr2_ctrl_set_value(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_set_value()
60 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *cptr,int mask,int val) in pvr2_ctrl_set_mask_value()
85 int pvr2_ctrl_get_value(struct pvr2_ctrl *cptr,int *valptr) in pvr2_ctrl_get_value()
97 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_type()
105 int pvr2_ctrl_get_max(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_max()
121 int pvr2_ctrl_get_min(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_min()
137 int pvr2_ctrl_get_def(struct pvr2_ctrl *cptr, int *valptr) in pvr2_ctrl_get_def()
153 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_cnt()
167 int pvr2_ctrl_get_mask(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_mask()
[all …]
Dpvrusb2-hdw-internal.h62 typedef int (*pvr2_ctlf_is_dirty)(struct pvr2_ctrl *);
63 typedef void (*pvr2_ctlf_clear_dirty)(struct pvr2_ctrl *);
64 typedef int (*pvr2_ctlf_check_value)(struct pvr2_ctrl *,int);
65 typedef int (*pvr2_ctlf_get_value)(struct pvr2_ctrl *,int *);
66 typedef int (*pvr2_ctlf_set_value)(struct pvr2_ctrl *,int msk,int val);
67 typedef int (*pvr2_ctlf_val_to_sym)(struct pvr2_ctrl *,int msk,int val,
69 typedef int (*pvr2_ctlf_sym_to_val)(struct pvr2_ctrl *,
72 typedef unsigned int (*pvr2_ctlf_get_v4lflags)(struct pvr2_ctrl *);
136 struct pvr2_ctrl { struct
387 struct pvr2_ctrl *controls;
Dpvrusb2-hdw.c356 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelfreq_get()
367 static int ctrl_channelfreq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelfreq_set()
389 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelprog_get()
395 static int ctrl_channelprog_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelprog_set()
404 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channel_get()
411 static int ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) in ctrl_channel_set()
429 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_freq_get()
435 static int ctrl_freq_is_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_is_dirty()
440 static void ctrl_freq_clear_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_clear_dirty()
445 static int ctrl_freq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_freq_set()
[all …]
Dpvrusb2-hdw.h150 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw *,unsigned int);
153 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw *,unsigned int);
156 struct pvr2_ctrl *pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw *,unsigned int ctl_id);
159 struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *,
Dpvrusb2-v4l2.c204 struct pvr2_ctrl *cptr; in pvr2_enum_input()
253 struct pvr2_ctrl *cptr; in pvr2_g_input()
354 struct pvr2_ctrl *ctrlp; in pvr2_s_frequency()
447 struct pvr2_ctrl *hcp, *vcp; in pvr2_try_fmt_vid_cap()
484 struct pvr2_ctrl *hcp, *vcp; in pvr2_s_fmt_vid_cap()
534 struct pvr2_ctrl *cptr; in pvr2_queryctrl()
681 struct pvr2_ctrl *pctl; in pvr2_try_ext_ctrls()
Dpvrusb2-sysfs.c73 struct pvr2_ctrl *cptr;
304 struct pvr2_ctrl *cptr; in pvr2_sysfs_add_control()