Lines Matching refs:v4l2_subdev

37 struct v4l2_subdev;
196 int (*log_status)(struct v4l2_subdev *sd);
197 int (*s_io_pin_config)(struct v4l2_subdev *sd, size_t n,
199 int (*init)(struct v4l2_subdev *sd, u32 val);
200 int (*load_fw)(struct v4l2_subdev *sd);
201 int (*reset)(struct v4l2_subdev *sd, u32 val);
202 int (*s_gpio)(struct v4l2_subdev *sd, u32 val);
203 long (*command)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
204 long (*ioctl)(struct v4l2_subdev *sd, unsigned int cmd, void *arg);
206 long (*compat_ioctl32)(struct v4l2_subdev *sd, unsigned int cmd,
210 int (*g_register)(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg);
211 int (*s_register)(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg);
213 int (*s_power)(struct v4l2_subdev *sd, int on);
214 int (*interrupt_service_routine)(struct v4l2_subdev *sd,
216 int (*subscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
218 int (*unsubscribe_event)(struct v4l2_subdev *sd, struct v4l2_fh *fh,
273 int (*standby)(struct v4l2_subdev *sd);
274 int (*s_radio)(struct v4l2_subdev *sd);
275 int (*s_frequency)(struct v4l2_subdev *sd, const struct v4l2_frequency *freq);
276 int (*g_frequency)(struct v4l2_subdev *sd, struct v4l2_frequency *freq);
277 int (*enum_freq_bands)(struct v4l2_subdev *sd, struct v4l2_frequency_band *band);
278 int (*g_tuner)(struct v4l2_subdev *sd, struct v4l2_tuner *vt);
279 int (*s_tuner)(struct v4l2_subdev *sd, const struct v4l2_tuner *vt);
280 int (*g_modulator)(struct v4l2_subdev *sd, struct v4l2_modulator *vm);
281 int (*s_modulator)(struct v4l2_subdev *sd, const struct v4l2_modulator *vm);
282 int (*s_type_addr)(struct v4l2_subdev *sd, struct tuner_setup *type);
283 int (*s_config)(struct v4l2_subdev *sd, const struct v4l2_priv_tun_config *config);
313 int (*s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
314 int (*s_i2s_clock_freq)(struct v4l2_subdev *sd, u32 freq);
315 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
316 int (*s_stream)(struct v4l2_subdev *sd, int enable);
482 int (*s_routing)(struct v4l2_subdev *sd, u32 input, u32 output, u32 config);
483 int (*s_crystal_freq)(struct v4l2_subdev *sd, u32 freq, u32 flags);
484 int (*g_std)(struct v4l2_subdev *sd, v4l2_std_id *norm);
485 int (*s_std)(struct v4l2_subdev *sd, v4l2_std_id norm);
486 int (*s_std_output)(struct v4l2_subdev *sd, v4l2_std_id std);
487 int (*g_std_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
488 int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
489 int (*g_tvnorms)(struct v4l2_subdev *sd, v4l2_std_id *std);
490 int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
491 int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
492 int (*s_stream)(struct v4l2_subdev *sd, int enable);
493 int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
494 int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
496 int (*pre_streamon)(struct v4l2_subdev *sd, u32 flags);
497 int (*post_streamoff)(struct v4l2_subdev *sd);
536 int (*decode_vbi_line)(struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi_line);
537 int (*s_vbi_data)(struct v4l2_subdev *sd, const struct v4l2_sliced_vbi_data *vbi_data);
538 int (*g_vbi_data)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_data *vbi_data);
539 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap);
540 int (*s_raw_fmt)(struct v4l2_subdev *sd, struct v4l2_vbi_format *fmt);
541 int (*g_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
542 int (*s_sliced_fmt)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt);
556 int (*g_skip_top_lines)(struct v4l2_subdev *sd, u32 *lines);
557 int (*g_skip_frames)(struct v4l2_subdev *sd, u32 *frames);
655 int (*rx_read)(struct v4l2_subdev *sd, u8 *buf, size_t count,
658 int (*rx_g_parameters)(struct v4l2_subdev *sd,
660 int (*rx_s_parameters)(struct v4l2_subdev *sd,
664 int (*tx_write)(struct v4l2_subdev *sd, u8 *buf, size_t count,
667 int (*tx_g_parameters)(struct v4l2_subdev *sd,
669 int (*tx_s_parameters)(struct v4l2_subdev *sd,
756 struct v4l2_subdev *sd;
843 int (*enum_mbus_code)(struct v4l2_subdev *sd,
846 int (*enum_frame_size)(struct v4l2_subdev *sd,
849 int (*enum_frame_interval)(struct v4l2_subdev *sd,
852 int (*get_fmt)(struct v4l2_subdev *sd,
855 int (*set_fmt)(struct v4l2_subdev *sd,
858 int (*get_selection)(struct v4l2_subdev *sd,
861 int (*set_selection)(struct v4l2_subdev *sd,
864 int (*get_frame_interval)(struct v4l2_subdev *sd,
867 int (*set_frame_interval)(struct v4l2_subdev *sd,
870 int (*get_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
871 int (*set_edid)(struct v4l2_subdev *sd, struct v4l2_edid *edid);
872 int (*s_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
874 int (*g_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
876 int (*query_dv_timings)(struct v4l2_subdev *sd, unsigned int pad,
878 int (*dv_timings_cap)(struct v4l2_subdev *sd,
880 int (*enum_dv_timings)(struct v4l2_subdev *sd,
883 int (*link_validate)(struct v4l2_subdev *sd, struct media_link *link,
887 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
889 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
891 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad,
893 int (*set_routing)(struct v4l2_subdev *sd,
897 int (*enable_streams)(struct v4l2_subdev *sd,
900 int (*disable_streams)(struct v4l2_subdev *sd,
958 int (*init_state)(struct v4l2_subdev *sd,
960 int (*registered)(struct v4l2_subdev *sd);
961 void (*unregistered)(struct v4l2_subdev *sd);
962 int (*open)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
963 int (*close)(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh);
964 void (*release)(struct v4l2_subdev *sd);
1065 struct v4l2_subdev { struct
1121 container_of(__me_sd_ent, struct v4l2_subdev, entity) : \
1132 ((struct v4l2_subdev *)video_get_drvdata(vdev))
1168 static inline void v4l2_set_subdevdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdevdata()
1180 static inline void *v4l2_get_subdevdata(const struct v4l2_subdev *sd) in v4l2_get_subdevdata()
1191 static inline void v4l2_set_subdev_hostdata(struct v4l2_subdev *sd, void *p) in v4l2_set_subdev_hostdata()
1203 static inline void *v4l2_get_subdev_hostdata(const struct v4l2_subdev *sd) in v4l2_get_subdev_hostdata()
1238 int v4l2_subdev_link_validate_default(struct v4l2_subdev *sd,
1291 struct v4l2_subdev_state *__v4l2_subdev_state_alloc(struct v4l2_subdev *sd,
1326 int __v4l2_subdev_init_finalize(struct v4l2_subdev *sd, const char *name,
1337 void v4l2_subdev_cleanup(struct v4l2_subdev *sd);
1473 int v4l2_subdev_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *state,
1490 int v4l2_subdev_get_frame_interval(struct v4l2_subdev *sd,
1506 int v4l2_subdev_set_routing(struct v4l2_subdev *sd,
1534 int v4l2_subdev_set_routing_with_fmt(struct v4l2_subdev *sd,
1655 int v4l2_subdev_routing_validate(struct v4l2_subdev *sd,
1686 int v4l2_subdev_enable_streams(struct v4l2_subdev *sd, u32 pad,
1716 int v4l2_subdev_disable_streams(struct v4l2_subdev *sd, u32 pad,
1734 int v4l2_subdev_s_stream_helper(struct v4l2_subdev *sd, int enable);
1817 v4l2_subdev_get_unlocked_active_state(struct v4l2_subdev *sd) in v4l2_subdev_get_unlocked_active_state()
1838 v4l2_subdev_get_locked_active_state(struct v4l2_subdev *sd) in v4l2_subdev_get_locked_active_state()
1856 v4l2_subdev_lock_and_get_active_state(struct v4l2_subdev *sd) in v4l2_subdev_lock_and_get_active_state()
1869 void v4l2_subdev_init(struct v4l2_subdev *sd,
1889 struct v4l2_subdev *__sd = (sd); \
1989 void v4l2_subdev_notify_event(struct v4l2_subdev *sd,
2003 bool v4l2_subdev_is_streaming(struct v4l2_subdev *sd);