Lines Matching refs:v4l2_subdev

37 struct v4l2_subdev;
192 int (*log_status)(struct v4l2_subdev *sd);
193 int (*s_io_pin_config)(struct v4l2_subdev *sd, size_t n,
195 int (*init)(struct v4l2_subdev *sd, u32 val);
196 int (*load_fw)(struct v4l2_subdev *sd);
197 int (*reset)(struct v4l2_subdev *sd, u32 val);
198 int (*s_gpio)(struct v4l2_subdev *sd, u32 val);
199 long (*command)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
200 long (*ioctl)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
202 long (*compat_ioctl32)(struct v4l2_subdev *sd, unsigned int cmd,
206 int (*g_register)(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg);
207 int (*s_register)(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg);
209 int (*s_power)(struct v4l2_subdev *sd, int on);
210 int (*interrupt_service_routine)(struct v4l2_subdev *sd,
212 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
214 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
269 int (*standby)(struct v4l2_subdev *sd);
270 int (*s_radio)(struct v4l2_subdev *sd);
271 int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq);
272 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
273 int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band);
274 int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
275 int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt);
276 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
277 int (*s_modulator)(struct v4l2_subdev *sd, const struct v4l2_modulator *vm);
278 int (*s_type_addr)(struct v4l2_subdev *sd, struct tuner_setup *type);
279 int (*s_config)(struct v4l2_subdev *sd, const struct v4l2_priv_tun_config *config);
309 int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
310 int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
311 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
312 int (*s_stream)(struct v4l2_subdev *sd, int enable);
437 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
438 int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags);
439 int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm);
440 int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
441 int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
442 int (*g_std_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
443 int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
444 int (*g_tvnorms)(struct v4l2_subdev *sd, v4l2_std_id *std);
445 int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
446 int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
447 int (*s_stream)(struct v4l2_subdev *sd, int enable);
448 int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
449 int (*g_frame_interval)(struct v4l2_subdev *sd,
451 int (*s_frame_interval)(struct v4l2_subdev *sd,
453 int (*s_dv_timings)(struct v4l2_subdev *sd,
455 int (*g_dv_timings)(struct v4l2_subdev *sd,
457 int (*query_dv_timings)(struct v4l2_subdev *sd,
459 int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
461 int (*pre_streamon)(struct v4l2_subdev *sd, u32 flags);
462 int (*post_streamoff)(struct v4l2_subdev *sd);
501 int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line);
502 int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data);
503 int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data);
504 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
505 int (*s_raw_fmt)(struct v4l2_subdev *sd, struct v4l2_vbi_format *fmt);
506 int (*g_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
507 int (*s_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
521 int (*g_skip_top_lines)(struct v4l2_subdev *sd, u32 *lines);
522 int (*g_skip_frames)(struct v4l2_subdev *sd, u32 *frames);
620 int (*rx_read)(struct v4l2_subdev *sd, u8 *buf, size_t count,
623 int (*rx_g_parameters)(struct v4l2_subdev *sd,
625 int (*rx_s_parameters)(struct v4l2_subdev *sd,
629 int (*tx_write)(struct v4l2_subdev *sd, u8 *buf, size_t count,
632 int (*tx_g_parameters)(struct v4l2_subdev *sd,
634 int (*tx_s_parameters)(struct v4l2_subdev *sd,
731 int (*init_cfg)(struct v4l2_subdev *sd,
733 int (*enum_mbus_code)(struct v4l2_subdev *sd,
736 int (*enum_frame_size)(struct v4l2_subdev *sd,
739 int (*enum_frame_interval)(struct v4l2_subdev *sd,
742 int (*get_fmt)(struct v4l2_subdev *sd,
745 int (*set_fmt)(struct v4l2_subdev *sd,
748 int (*get_selection)(struct v4l2_subdev *sd,
751 int (*set_selection)(struct v4l2_subdev *sd,
754 int (*get_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
755 int (*set_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
756 int (*dv_timings_cap)(struct v4l2_subdev *sd,
758 int (*enum_dv_timings)(struct v4l2_subdev *sd,
761 int (*link_validate)(struct v4l2_subdev *sd, struct media_link *link,
765 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
767 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
769 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
771 int (*set_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
826 int (*registered)(struct v4l2_subdev *sd);
827 void (*unregistered)(struct v4l2_subdev *sd);
828 int (*open)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
829 int (*close)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
830 void (*release)(struct v4l2_subdev *sd);
908 struct v4l2_subdev { struct
946 container_of(__me_sd_ent, struct v4l2_subdev, entity) : \
957 ((struct v4l2_subdev *)video_get_drvdata(vdev))
994 v4l2_subdev_get_try_format(struct v4l2_subdev *sd, in v4l2_subdev_get_try_format()
1012 v4l2_subdev_get_try_crop(struct v4l2_subdev *sd, in v4l2_subdev_get_try_crop()
1030 v4l2_subdev_get_try_compose(struct v4l2_subdev *sd, in v4l2_subdev_get_try_compose()
1049 static inline void v4l2_set_subdevdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdevdata()
1061 static inline void *v4l2_get_subdevdata(const struct v4l2_subdev *sd) in v4l2_get_subdevdata()
1072 static inline void v4l2_set_subdev_hostdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdev_hostdata()
1084 static inline void *v4l2_get_subdev_hostdata(const struct v4l2_subdev *sd) in v4l2_get_subdev_hostdata()
1119 int v4l2_subdev_link_validate_default(struct v4l2_subdev *sd,
1144 struct v4l2_subdev_state *v4l2_subdev_alloc_state(struct v4l2_subdev *sd);
1161 void v4l2_subdev_init(struct v4l2_subdev *sd,
1181 struct v4l2_subdev *__sd = (sd); \
1217 void v4l2_subdev_notify_event(struct v4l2_subdev *sd,