Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.h19 struct pvr2_ctrl;
30 int pvr2_ctrl_set_value(struct pvr2_ctrl *,int val);
33 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *,int mask,int val);
36 int pvr2_ctrl_get_value(struct pvr2_ctrl *,int *valptr);
39 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *);
42 int pvr2_ctrl_get_max(struct pvr2_ctrl *);
45 int pvr2_ctrl_get_min(struct pvr2_ctrl *);
48 int pvr2_ctrl_get_def(struct pvr2_ctrl *, int *valptr);
51 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *);
54 int pvr2_ctrl_get_mask(struct pvr2_ctrl *);
[all …]
Dpvrusb2-hdw-internal.h58 typedef int (*pvr2_ctlf_is_dirty)(struct pvr2_ctrl *);
59 typedef void (*pvr2_ctlf_clear_dirty)(struct pvr2_ctrl *);
60 typedef int (*pvr2_ctlf_check_value)(struct pvr2_ctrl *,int);
61 typedef int (*pvr2_ctlf_get_value)(struct pvr2_ctrl *,int *);
62 typedef int (*pvr2_ctlf_set_value)(struct pvr2_ctrl *,int msk,int val);
63 typedef int (*pvr2_ctlf_val_to_sym)(struct pvr2_ctrl *,int msk,int val,
65 typedef int (*pvr2_ctlf_sym_to_val)(struct pvr2_ctrl *,
68 typedef unsigned int (*pvr2_ctlf_get_v4lflags)(struct pvr2_ctrl *);
132 struct pvr2_ctrl { struct
382 struct pvr2_ctrl *controls;
Dpvrusb2-ctrl.c24 static int pvr2_ctrl_range_check(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_range_check()
49 int pvr2_ctrl_set_value(struct pvr2_ctrl *cptr,int val) in pvr2_ctrl_set_value()
56 int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *cptr,int mask,int val) in pvr2_ctrl_set_mask_value()
81 int pvr2_ctrl_get_value(struct pvr2_ctrl *cptr,int *valptr) in pvr2_ctrl_get_value()
93 enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_type()
101 int pvr2_ctrl_get_max(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_max()
117 int pvr2_ctrl_get_min(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_min()
133 int pvr2_ctrl_get_def(struct pvr2_ctrl *cptr, int *valptr) in pvr2_ctrl_get_def()
149 int pvr2_ctrl_get_cnt(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_cnt()
163 int pvr2_ctrl_get_mask(struct pvr2_ctrl *cptr) in pvr2_ctrl_get_mask()
[all …]
Dpvrusb2-hdw.c352 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelfreq_get()
363 static int ctrl_channelfreq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelfreq_set()
385 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channelprog_get()
391 static int ctrl_channelprog_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_channelprog_set()
400 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_channel_get()
407 static int ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) in ctrl_channel_set()
425 static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) in ctrl_freq_get()
431 static int ctrl_freq_is_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_is_dirty()
436 static void ctrl_freq_clear_dirty(struct pvr2_ctrl *cptr) in ctrl_freq_clear_dirty()
441 static int ctrl_freq_set(struct pvr2_ctrl *cptr,int m,int v) in ctrl_freq_set()
[all …]
Dpvrusb2-hdw.h145 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_index(struct pvr2_hdw *,unsigned int);
148 struct pvr2_ctrl *pvr2_hdw_get_ctrl_by_id(struct pvr2_hdw *,unsigned int);
151 struct pvr2_ctrl *pvr2_hdw_get_ctrl_v4l(struct pvr2_hdw *,unsigned int ctl_id);
154 struct pvr2_ctrl *pvr2_hdw_get_ctrl_nextv4l(struct pvr2_hdw *,
Dpvrusb2-v4l2.c187 struct pvr2_ctrl *cptr; in pvr2_enum_input()
236 struct pvr2_ctrl *cptr; in pvr2_g_input()
343 struct pvr2_ctrl *ctrlp; in pvr2_s_frequency()
438 struct pvr2_ctrl *hcp, *vcp; in pvr2_try_fmt_vid_cap()
475 struct pvr2_ctrl *hcp, *vcp; in pvr2_s_fmt_vid_cap()
526 struct pvr2_ctrl *cptr; in pvr2_queryctrl()
626 struct pvr2_ctrl *cptr; in pvr2_g_ext_ctrls()
690 struct pvr2_ctrl *pctl; in pvr2_try_ext_ctrls()
Dpvrusb2-sysfs.c69 struct pvr2_ctrl *cptr;
299 struct pvr2_ctrl *cptr; in pvr2_sysfs_add_control()