Lines Matching refs:v4l2_subdev
37 struct v4l2_subdev;
189 int (*log_status)(struct v4l2_subdev *sd);
190 int (*s_io_pin_config)(struct v4l2_subdev *sd, size_t n,
192 int (*init)(struct v4l2_subdev *sd, u32 val);
193 int (*load_fw)(struct v4l2_subdev *sd);
194 int (*reset)(struct v4l2_subdev *sd, u32 val);
195 int (*s_gpio)(struct v4l2_subdev *sd, u32 val);
196 long (*ioctl)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
198 long (*compat_ioctl32)(struct v4l2_subdev *sd, unsigned int cmd,
202 int (*g_register)(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg);
203 int (*s_register)(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg);
205 int (*s_power)(struct v4l2_subdev *sd, int on);
206 int (*interrupt_service_routine)(struct v4l2_subdev *sd,
208 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
210 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
265 int (*standby)(struct v4l2_subdev *sd);
266 int (*s_radio)(struct v4l2_subdev *sd);
267 int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq);
268 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
269 int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band);
270 int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
271 int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt);
272 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
273 int (*s_modulator)(struct v4l2_subdev *sd, const struct v4l2_modulator *vm);
274 int (*s_type_addr)(struct v4l2_subdev *sd, struct tuner_setup *type);
275 int (*s_config)(struct v4l2_subdev *sd, const struct v4l2_priv_tun_config *config);
305 int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
306 int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
307 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
308 int (*s_stream)(struct v4l2_subdev *sd, int enable);
410 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
411 int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags);
412 int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm);
413 int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
414 int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
415 int (*g_std_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
416 int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
417 int (*g_tvnorms)(struct v4l2_subdev *sd, v4l2_std_id *std);
418 int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
419 int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
420 int (*s_stream)(struct v4l2_subdev *sd, int enable);
421 int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
422 int (*g_frame_interval)(struct v4l2_subdev *sd,
424 int (*s_frame_interval)(struct v4l2_subdev *sd,
426 int (*s_dv_timings)(struct v4l2_subdev *sd,
428 int (*g_dv_timings)(struct v4l2_subdev *sd,
430 int (*query_dv_timings)(struct v4l2_subdev *sd,
432 int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
472 int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line);
473 int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data);
474 int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data);
475 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
476 int (*s_raw_fmt)(struct v4l2_subdev *sd, struct v4l2_vbi_format *fmt);
477 int (*g_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
478 int (*s_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
492 int (*g_skip_top_lines)(struct v4l2_subdev *sd, u32 *lines);
493 int (*g_skip_frames)(struct v4l2_subdev *sd, u32 *frames);
591 int (*rx_read)(struct v4l2_subdev *sd, u8 *buf, size_t count,
594 int (*rx_g_parameters)(struct v4l2_subdev *sd,
596 int (*rx_s_parameters)(struct v4l2_subdev *sd,
600 int (*tx_write)(struct v4l2_subdev *sd, u8 *buf, size_t count,
603 int (*tx_g_parameters)(struct v4l2_subdev *sd,
605 int (*tx_s_parameters)(struct v4l2_subdev *sd,
689 int (*init_cfg)(struct v4l2_subdev *sd,
691 int (*enum_mbus_code)(struct v4l2_subdev *sd,
694 int (*enum_frame_size)(struct v4l2_subdev *sd,
697 int (*enum_frame_interval)(struct v4l2_subdev *sd,
700 int (*get_fmt)(struct v4l2_subdev *sd,
703 int (*set_fmt)(struct v4l2_subdev *sd,
706 int (*get_selection)(struct v4l2_subdev *sd,
709 int (*set_selection)(struct v4l2_subdev *sd,
712 int (*get_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
713 int (*set_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
714 int (*dv_timings_cap)(struct v4l2_subdev *sd,
716 int (*enum_dv_timings)(struct v4l2_subdev *sd,
719 int (*link_validate)(struct v4l2_subdev *sd, struct media_link *link,
723 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
725 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
727 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
729 int (*set_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
784 int (*registered)(struct v4l2_subdev *sd);
785 void (*unregistered)(struct v4l2_subdev *sd);
786 int (*open)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
787 int (*close)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
788 void (*release)(struct v4l2_subdev *sd);
866 struct v4l2_subdev { struct
904 container_of(__me_sd_ent, struct v4l2_subdev, entity) : \
915 ((struct v4l2_subdev *)video_get_drvdata(vdev))
952 v4l2_subdev_get_try_format(struct v4l2_subdev *sd, in v4l2_subdev_get_try_format()
970 v4l2_subdev_get_try_crop(struct v4l2_subdev *sd, in v4l2_subdev_get_try_crop()
988 v4l2_subdev_get_try_compose(struct v4l2_subdev *sd, in v4l2_subdev_get_try_compose()
1007 static inline void v4l2_set_subdevdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdevdata()
1019 static inline void *v4l2_get_subdevdata(const struct v4l2_subdev *sd) in v4l2_get_subdevdata()
1030 static inline void v4l2_set_subdev_hostdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdev_hostdata()
1042 static inline void *v4l2_get_subdev_hostdata(const struct v4l2_subdev *sd) in v4l2_get_subdev_hostdata()
1077 int v4l2_subdev_link_validate_default(struct v4l2_subdev *sd,
1101 v4l2_subdev_pad_config *v4l2_subdev_alloc_pad_config(struct v4l2_subdev *sd);
1118 void v4l2_subdev_init(struct v4l2_subdev *sd,
1138 struct v4l2_subdev *__sd = (sd); \
1174 void v4l2_subdev_notify_event(struct v4l2_subdev *sd,