Home
last modified time | relevance | path

Searched defs:sd (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/media/i2c/
Dtc358743.c73 struct v4l2_subdev sd; member
106 static inline struct tc358743_state *to_state(struct v4l2_subdev *sd) in to_state()
113 static void i2c_rd(struct v4l2_subdev *sd, u16 reg, u8 *values, u32 n) in i2c_rd()
141 static void i2c_wr(struct v4l2_subdev *sd, u16 reg, u8 *values, u32 n) in i2c_wr()
195 static noinline u32 i2c_rdreg(struct v4l2_subdev *sd, u16 reg, u32 n) in i2c_rdreg()
204 static noinline void i2c_wrreg(struct v4l2_subdev *sd, u16 reg, u32 val, u32 n) in i2c_wrreg()
211 static u8 i2c_rd8(struct v4l2_subdev *sd, u16 reg) in i2c_rd8()
216 static void i2c_wr8(struct v4l2_subdev *sd, u16 reg, u8 val) in i2c_wr8()
221 static void i2c_wr8_and_or(struct v4l2_subdev *sd, u16 reg, in i2c_wr8_and_or()
227 static u16 i2c_rd16(struct v4l2_subdev *sd, u16 reg) in i2c_rd16()
[all …]
Dad9389b.c69 struct v4l2_subdev sd; member
98 static inline struct ad9389b_state *get_ad9389b_state(struct v4l2_subdev *sd) in get_ad9389b_state()
110 static int ad9389b_rd(struct v4l2_subdev *sd, u8 reg) in ad9389b_rd()
117 static int ad9389b_wr(struct v4l2_subdev *sd, u8 reg, u8 val) in ad9389b_wr()
134 static inline void ad9389b_wr_and_or(struct v4l2_subdev *sd, u8 reg, in ad9389b_wr_and_or()
140 static void ad9389b_edid_rd(struct v4l2_subdev *sd, u16 len, u8 *buf) in ad9389b_edid_rd()
151 static inline bool ad9389b_have_hotplug(struct v4l2_subdev *sd) in ad9389b_have_hotplug()
156 static inline bool ad9389b_have_rx_sense(struct v4l2_subdev *sd) in ad9389b_have_rx_sense()
161 static void ad9389b_csc_conversion_mode(struct v4l2_subdev *sd, u8 mode) in ad9389b_csc_conversion_mode()
167 static void ad9389b_csc_coeff(struct v4l2_subdev *sd, in ad9389b_csc_coeff()
[all …]
Dadv7842.c90 struct v4l2_subdev sd; member
247 static inline struct adv7842_state *to_state(struct v4l2_subdev *sd) in to_state()
362 static inline int io_read(struct v4l2_subdev *sd, u8 reg) in io_read()
369 static inline int io_write(struct v4l2_subdev *sd, u8 reg, u8 val) in io_write()
376 static inline int io_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, u8 val) in io_write_and_or()
381 static inline int io_write_clr_set(struct v4l2_subdev *sd, in io_write_clr_set()
387 static inline int avlink_read(struct v4l2_subdev *sd, u8 reg) in avlink_read()
394 static inline int avlink_write(struct v4l2_subdev *sd, u8 reg, u8 val) in avlink_write()
401 static inline int cec_read(struct v4l2_subdev *sd, u8 reg) in cec_read()
408 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write()
[all …]
Dths8200.c41 struct v4l2_subdev sd; member
56 static inline struct ths8200_state *to_state(struct v4l2_subdev *sd) in to_state()
71 static int ths8200_read(struct v4l2_subdev *sd, u8 reg) in ths8200_read()
78 static int ths8200_write(struct v4l2_subdev *sd, u8 reg, u8 val) in ths8200_write()
97 ths8200_write_and_or(struct v4l2_subdev *sd, u8 reg, in ths8200_write_and_or()
105 static int ths8200_g_register(struct v4l2_subdev *sd, in ths8200_g_register()
114 static int ths8200_s_register(struct v4l2_subdev *sd, in ths8200_s_register()
123 static int ths8200_log_status(struct v4l2_subdev *sd) in ths8200_log_status()
145 static int ths8200_s_power(struct v4l2_subdev *sd, int on) in ths8200_s_power()
172 static int ths8200_s_stream(struct v4l2_subdev *sd, int enable) in ths8200_s_stream()
[all …]
Dadv7183.c25 struct v4l2_subdev sd; member
63 static inline struct adv7183 *to_adv7183(struct v4l2_subdev *sd) in to_adv7183()
72 static inline int adv7183_read(struct v4l2_subdev *sd, unsigned char reg) in adv7183_read()
79 static inline int adv7183_write(struct v4l2_subdev *sd, unsigned char reg, in adv7183_write()
87 static int adv7183_writeregs(struct v4l2_subdev *sd, in adv7183_writeregs()
108 static int adv7183_log_status(struct v4l2_subdev *sd) in adv7183_log_status()
189 static int adv7183_g_std(struct v4l2_subdev *sd, v4l2_std_id *std) in adv7183_g_std()
197 static int adv7183_s_std(struct v4l2_subdev *sd, v4l2_std_id std) in adv7183_s_std()
228 static int adv7183_reset(struct v4l2_subdev *sd, u32 val) in adv7183_reset()
239 static int adv7183_s_routing(struct v4l2_subdev *sd, in adv7183_s_routing()
[all …]
Dadv7604.c167 struct v4l2_subdev sd; member
320 static inline struct adv76xx_state *to_state(struct v4l2_subdev *sd) in to_state()
374 static inline int io_read(struct v4l2_subdev *sd, u8 reg) in io_read()
381 static inline int io_write(struct v4l2_subdev *sd, u8 reg, u8 val) in io_write()
388 static inline int io_write_clr_set(struct v4l2_subdev *sd, u8 reg, u8 mask, in io_write_clr_set()
394 static inline int avlink_read(struct v4l2_subdev *sd, u8 reg) in avlink_read()
401 static inline int avlink_write(struct v4l2_subdev *sd, u8 reg, u8 val) in avlink_write()
408 static inline int cec_read(struct v4l2_subdev *sd, u8 reg) in cec_read()
415 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write()
422 static inline int cec_write_clr_set(struct v4l2_subdev *sd, u8 reg, u8 mask, in cec_write_clr_set()
[all …]
Dvpx3220.c33 struct v4l2_subdev sd; member
42 static inline struct vpx3220 *to_vpx3220(struct v4l2_subdev *sd) in to_vpx3220()
56 static inline int vpx3220_write(struct v4l2_subdev *sd, u8 reg, u8 value) in vpx3220_write()
65 static inline int vpx3220_read(struct v4l2_subdev *sd, u8 reg) in vpx3220_read()
72 static int vpx3220_fp_status(struct v4l2_subdev *sd) in vpx3220_fp_status()
92 static int vpx3220_fp_write(struct v4l2_subdev *sd, u8 fpaddr, u16 data) in vpx3220_fp_write()
114 static int vpx3220_fp_read(struct v4l2_subdev *sd, u16 fpaddr) in vpx3220_fp_read()
138 static int vpx3220_write_block(struct v4l2_subdev *sd, const u8 *data, unsigned int len) in vpx3220_write_block()
154 static int vpx3220_write_fp_block(struct v4l2_subdev *sd, in vpx3220_write_fp_block()
265 static int vpx3220_init(struct v4l2_subdev *sd, u32 val) in vpx3220_init()
[all …]
Dadv7511-v4l2.c84 struct v4l2_subdev sd; member
146 static inline struct adv7511_state *get_adv7511_state(struct v4l2_subdev *sd) in get_adv7511_state()
188 static int adv7511_rd(struct v4l2_subdev *sd, u8 reg) in adv7511_rd()
195 static int adv7511_wr(struct v4l2_subdev *sd, u8 reg, u8 val) in adv7511_wr()
212 static inline void adv7511_wr_and_or(struct v4l2_subdev *sd, u8 reg, u8 clr_mask, u8 val_mask) in adv7511_wr_and_or()
234 static void adv7511_edid_rd(struct v4l2_subdev *sd, uint16_t len, uint8_t *buf) in adv7511_edid_rd()
249 static inline int adv7511_cec_read(struct v4l2_subdev *sd, u8 reg) in adv7511_cec_read()
256 static int adv7511_cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in adv7511_cec_write()
271 static inline int adv7511_cec_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, in adv7511_cec_write_and_or()
277 static int adv7511_pktmem_rd(struct v4l2_subdev *sd, u8 reg) in adv7511_pktmem_rd()
[all …]
Dvs6624.c28 struct v4l2_subdev sd; member
473 static inline struct vs6624 *to_vs6624(struct v4l2_subdev *sd) in to_vs6624()
483 static int vs6624_read(struct v4l2_subdev *sd, u16 index) in vs6624_read()
497 static int vs6624_write(struct v4l2_subdev *sd, u16 index, in vs6624_write()
510 static int vs6624_writeregs(struct v4l2_subdev *sd, const u16 *regs) in vs6624_writeregs()
526 struct v4l2_subdev *sd = to_sd(ctrl); in vs6624_s_ctrl() local
548 static int vs6624_enum_mbus_code(struct v4l2_subdev *sd, in vs6624_enum_mbus_code()
559 static int vs6624_set_fmt(struct v4l2_subdev *sd, in vs6624_set_fmt()
639 static int vs6624_get_fmt(struct v4l2_subdev *sd, in vs6624_get_fmt()
652 static int vs6624_g_frame_interval(struct v4l2_subdev *sd, in vs6624_g_frame_interval()
[all …]
Dadv7175.c38 struct v4l2_subdev sd; member
43 static inline struct adv7175 *to_adv7175(struct v4l2_subdev *sd) in to_adv7175()
57 static inline int adv7175_write(struct v4l2_subdev *sd, u8 reg, u8 value) in adv7175_write()
64 static inline int adv7175_read(struct v4l2_subdev *sd, u8 reg) in adv7175_read()
71 static int adv7175_write_block(struct v4l2_subdev *sd, in adv7175_write_block()
112 static void set_subcarrier_freq(struct v4l2_subdev *sd, int pass_through) in set_subcarrier_freq()
183 static int adv7175_init(struct v4l2_subdev *sd, u32 val) in adv7175_init()
192 static int adv7175_s_std_output(struct v4l2_subdev *sd, v4l2_std_id std) in adv7175_s_std_output()
230 static int adv7175_s_routing(struct v4l2_subdev *sd, in adv7175_s_routing()
290 static int adv7175_enum_mbus_code(struct v4l2_subdev *sd, in adv7175_enum_mbus_code()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dsn9c20x.c55 struct sd { struct
56 struct gspca_dev gspca_dev;
58 struct { /* color control cluster */
64 struct { /* blue/red balance control cluster */
68 struct { /* h/vflip control cluster */
72 struct v4l2_ctrl *gamma;
73 struct { /* autogain and exposure or gain control cluster */
78 struct v4l2_ctrl *jpegqual;
80 struct work_struct work;
82 u32 pktsz; /* (used by pkt_scan) */
[all …]
Dsonixj.c22 struct sd { struct
23 struct gspca_dev gspca_dev; /* !! must be the first item */
25 atomic_t avg_lum;
26 struct v4l2_ctrl *brightness;
27 struct v4l2_ctrl *contrast;
28 struct v4l2_ctrl *saturation;
29 struct { /* red/blue balance control cluster */
33 struct { /* hflip/vflip control cluster */
37 struct v4l2_ctrl *gamma;
38 struct v4l2_ctrl *illum;
[all …]
Dw996Xcf.c56 static void w9968cf_write_fsb(struct sd *sd, u16* data) in w9968cf_write_fsb()
83 static void w9968cf_write_sb(struct sd *sd, u16 value) in w9968cf_write_sb()
113 static int w9968cf_read_sb(struct sd *sd) in w9968cf_read_sb()
153 static void w9968cf_upload_quantizationtables(struct sd *sd) in w9968cf_upload_quantizationtables()
177 static void w9968cf_smbus_start(struct sd *sd) in w9968cf_smbus_start()
183 static void w9968cf_smbus_stop(struct sd *sd) in w9968cf_smbus_stop()
190 static void w9968cf_smbus_write_byte(struct sd *sd, u8 v) in w9968cf_smbus_write_byte()
207 static void w9968cf_smbus_read_byte(struct sd *sd, u8 *v) in w9968cf_smbus_read_byte()
224 static void w9968cf_smbus_write_nack(struct sd *sd) in w9968cf_smbus_write_nack()
232 static void w9968cf_smbus_read_ack(struct sd *sd) in w9968cf_smbus_read_ack()
[all …]
Dov519.c50 struct sd { struct
51 struct gspca_dev gspca_dev; /* !! must be the first item */
53 struct v4l2_ctrl *jpegqual;
54 struct v4l2_ctrl *freq;
55 struct { /* h/vflip control cluster */
59 struct { /* autobrightness/brightness control cluster */
64 u8 revision;
66 u8 packet_nr;
68 char bridge;
78 char invert_led;
[all …]
Dov534.c48 struct sd { struct
49 struct gspca_dev gspca_dev; /* !! must be the first item */
51 struct v4l2_ctrl_handler ctrl_handler;
52 struct v4l2_ctrl *hue;
53 struct v4l2_ctrl *saturation;
54 struct v4l2_ctrl *brightness;
55 struct v4l2_ctrl *contrast;
56 struct { /* gain control cluster */
82 static int sd_start(struct gspca_dev *gspca_dev); argument
811 struct sd *sd = (struct sd *) gspca_dev; in set_frame_rate() local
[all …]
Dpac7302.c99 struct sd { struct
100 struct gspca_dev gspca_dev; /* !! must be the first item */
102 struct { /* brightness / contrast cluster */
106 struct v4l2_ctrl *saturation;
107 struct v4l2_ctrl *white_balance;
108 struct v4l2_ctrl *red_balance;
109 struct v4l2_ctrl *blue_balance;
110 struct { /* flip cluster */
114 struct v4l2_ctrl *sharpness;
115 u8 flags;
[all …]
Dse401.c42 struct sd { struct
43 struct gspca_dev gspca_dev; /* !! must be the first item */
44 struct { /* exposure/freq control cluster */
48 bool has_brightness;
49 struct v4l2_pix_format fmts[MAX_MODES];
50 int pixels_read;
51 int packet_read;
52 u8 packet[PACKET_SIZE];
53 u8 restart_stream;
54 u8 button_state;
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
Dvpbe_osd.c48 static inline u32 osd_read(struct osd_state *sd, u32 offset) in osd_read()
55 static inline u32 osd_write(struct osd_state *sd, u32 val, u32 offset) in osd_write()
64 static inline u32 osd_set(struct osd_state *sd, u32 mask, u32 offset) in osd_set()
76 static inline u32 osd_clear(struct osd_state *sd, u32 mask, u32 offset) in osd_clear()
88 static inline u32 osd_modify(struct osd_state *sd, u32 mask, u32 val, in osd_modify()
127 static int _osd_dm6446_vid0_pingpong(struct osd_state *sd, in _osd_dm6446_vid0_pingpong()
163 static void _osd_set_field_inversion(struct osd_state *sd, int enable) in _osd_set_field_inversion()
173 static void _osd_set_blink_attribute(struct osd_state *sd, int enable, in _osd_set_blink_attribute()
187 static void _osd_set_rom_clut(struct osd_state *sd, in _osd_set_rom_clut()
196 static void _osd_set_palette_map(struct osd_state *sd, in _osd_set_palette_map()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-subdev.c27 static int subdev_fh_init(struct v4l2_subdev_fh *fh, struct v4l2_subdev *sd) in subdev_fh_init()
47 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_open() local
98 struct v4l2_subdev *sd = vdev_to_v4l2_subdev(vdev); in subdev_close() local
134 static inline int check_pad(struct v4l2_subdev *sd, u32 pad) in check_pad()
157 static inline int check_format(struct v4l2_subdev *sd, in check_format()
168 static int call_get_fmt(struct v4l2_subdev *sd, in call_get_fmt()
176 static int call_set_fmt(struct v4l2_subdev *sd, in call_set_fmt()
184 static int call_enum_mbus_code(struct v4l2_subdev *sd, in call_enum_mbus_code()
196 static int call_enum_frame_size(struct v4l2_subdev *sd, in call_enum_frame_size()
208 static inline int check_frame_interval(struct v4l2_subdev *sd, in check_frame_interval()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/gl860/
Dgl860.h48 struct sd { struct
51 struct sd_gl860 vcur; argument
52 struct sd_gl860 vold; argument
53 struct sd_gl860 vmax; argument
55 int (*dev_configure_alt) (struct gspca_dev *);
56 int (*dev_init_at_startup)(struct gspca_dev *);
57 int (*dev_init_pre_alt) (struct gspca_dev *);
58 void (*dev_post_unset_alt) (struct gspca_dev *);
59 int (*dev_camera_settings)(struct gspca_dev *);
61 u8 swapRB;
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/
Dstv06xx_st6422.c58 struct sd *sd = (struct sd *)gspca_dev; in st6422_s_ctrl() local
87 static int st6422_init_controls(struct sd *sd) in st6422_init_controls()
104 static int st6422_probe(struct sd *sd) in st6422_probe()
116 static int st6422_init(struct sd *sd) in st6422_init()
201 static int setbrightness(struct sd *sd, s32 val) in setbrightness()
207 static int setcontrast(struct sd *sd, s32 val) in setcontrast()
213 static int setgain(struct sd *sd, u8 gain) in setgain()
238 static int setexposure(struct sd *sd, s16 expo) in setexposure()
249 static int st6422_start(struct sd *sd) in st6422_start()
266 static int st6422_stop(struct sd *sd) in st6422_stop()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c193 int ov7660_probe(struct sd *sd) in ov7660_probe()
246 int ov7660_init(struct sd *sd) in ov7660_init()
273 int ov7660_init_controls(struct sd *sd) in ov7660_init_controls()
306 int ov7660_start(struct sd *sd) in ov7660_start()
311 int ov7660_stop(struct sd *sd) in ov7660_stop()
316 void ov7660_disconnect(struct sd *sd) in ov7660_disconnect()
327 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_gain() local
340 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_white_balance() local
358 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_gain() local
376 struct sd *sd = (struct sd *) gspca_dev; in ov7660_set_auto_exposure() local
[all …]
Dm5602_ov9650.c294 int ov9650_probe(struct sd *sd) in ov9650_probe()
345 int ov9650_init(struct sd *sd) in ov9650_init()
365 int ov9650_init_controls(struct sd *sd) in ov9650_init_controls()
410 int ov9650_start(struct sd *sd) in ov9650_start()
538 int ov9650_stop(struct sd *sd) in ov9650_stop()
544 void ov9650_disconnect(struct sd *sd) in ov9650_disconnect()
553 struct sd *sd = (struct sd *) gspca_dev; in ov9650_set_exposure() local
583 struct sd *sd = (struct sd *) gspca_dev; in ov9650_set_gain() local
611 struct sd *sd = (struct sd *) gspca_dev; in ov9650_set_red_balance() local
624 struct sd *sd = (struct sd *) gspca_dev; in ov9650_set_blue_balance() local
[all …]
Dm5602_s5k83a.c170 int s5k83a_probe(struct sd *sd) in s5k83a_probe()
223 int s5k83a_init(struct sd *sd) in s5k83a_init()
261 int s5k83a_init_controls(struct sd *sd) in s5k83a_init_controls()
295 struct sd *sd = (struct sd *) data; in rotation_thread_function() local
335 int s5k83a_start(struct sd *sd) in s5k83a_start()
367 int s5k83a_stop(struct sd *sd) in s5k83a_stop()
375 void s5k83a_disconnect(struct sd *sd) in s5k83a_disconnect()
386 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_gain() local
413 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_brightness() local
424 struct sd *sd = (struct sd *) gspca_dev; in s5k83a_set_exposure() local
[all …]
Dm5602_po1030.c155 int po1030_probe(struct sd *sd) in po1030_probe()
202 int po1030_init(struct sd *sd) in po1030_init()
237 int po1030_init_controls(struct sd *sd) in po1030_init_controls()
280 int po1030_start(struct sd *sd) in po1030_start()
409 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_exposure() local
435 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_gain() local
448 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_hvflip() local
469 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_red_balance() local
482 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_blue_balance() local
496 struct sd *sd = (struct sd *) gspca_dev; in po1030_set_green_balance() local
[all …]

12345678910>>...21