Lines Matching refs:v4l2_subdev
78 struct v4l2_subdev sd;
121 static void adv7511_check_monitor_present_status(struct v4l2_subdev *sd);
122 static bool adv7511_check_edid_status(struct v4l2_subdev *sd);
123 static void adv7511_setup(struct v4l2_subdev *sd);
124 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq);
125 static int adv7511_s_clock_freq(struct v4l2_subdev *sd, u32 freq);
140 static inline struct adv7511_state *get_adv7511_state(struct v4l2_subdev *sd) in get_adv7511_state()
145 static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl) in to_sd()
182 static int adv7511_rd(struct v4l2_subdev *sd, u8 reg) in adv7511_rd()
189 static int adv7511_wr(struct v4l2_subdev *sd, u8 reg, u8 val) in adv7511_wr()
206 static inline void adv7511_wr_and_or(struct v4l2_subdev *sd, u8 reg, u8 clr_mask, u8 val_mask) in adv7511_wr_and_or()
211 static int adv7511_edid_rd(struct v4l2_subdev *sd, uint16_t len, uint8_t *buf) in adv7511_edid_rd()
232 static inline int adv7511_cec_read(struct v4l2_subdev *sd, u8 reg) in adv7511_cec_read()
239 static int adv7511_cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in adv7511_cec_write()
254 static inline int adv7511_cec_write_and_or(struct v4l2_subdev *sd, u8 reg, u8 mask, in adv7511_cec_write_and_or()
260 static int adv7511_pktmem_rd(struct v4l2_subdev *sd, u8 reg) in adv7511_pktmem_rd()
267 static inline bool adv7511_have_hotplug(struct v4l2_subdev *sd) in adv7511_have_hotplug()
272 static inline bool adv7511_have_rx_sense(struct v4l2_subdev *sd) in adv7511_have_rx_sense()
277 static void adv7511_csc_conversion_mode(struct v4l2_subdev *sd, u8 mode) in adv7511_csc_conversion_mode()
282 static void adv7511_csc_coeff(struct v4l2_subdev *sd, in adv7511_csc_coeff()
318 static void adv7511_csc_rgb_full2limit(struct v4l2_subdev *sd, bool enable) in adv7511_csc_rgb_full2limit()
339 static void adv7511_set_rgb_quantization_mode(struct v4l2_subdev *sd, struct v4l2_ctrl *ctrl) in adv7511_set_rgb_quantization_mode()
376 struct v4l2_subdev *sd = to_sd(ctrl); in adv7511_s_ctrl()
411 static void adv7511_inv_register(struct v4l2_subdev *sd) in adv7511_inv_register()
420 static int adv7511_g_register(struct v4l2_subdev *sd, struct v4l2_dbg_register *reg) in adv7511_g_register()
443 static int adv7511_s_register(struct v4l2_subdev *sd, const struct v4l2_dbg_register *reg) in adv7511_s_register()
486 static void log_infoframe(struct v4l2_subdev *sd, const struct adv7511_cfg_read_infoframe *cri) in log_infoframe()
527 static void adv7511_log_infoframes(struct v4l2_subdev *sd) in adv7511_log_infoframes()
540 static int adv7511_log_status(struct v4l2_subdev *sd) in adv7511_log_status()
636 static int adv7511_s_power(struct v4l2_subdev *sd, int on) in adv7511_s_power()
692 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_enable()
727 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_log_addr()
782 struct v4l2_subdev *sd = &state->sd; in adv7511_cec_adap_transmit()
814 static void adv_cec_tx_raw_status(struct v4l2_subdev *sd, u8 tx_raw_status) in adv_cec_tx_raw_status()
866 static void adv7511_set_isr(struct v4l2_subdev *sd, bool enable) in adv7511_set_isr()
907 static int adv7511_isr(struct v4l2_subdev *sd, u32 status, bool *handled) in adv7511_isr()
978 static int adv7511_s_stream(struct v4l2_subdev *sd, int enable) in adv7511_s_stream()
993 static int adv7511_s_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in adv7511_s_dv_timings()
1043 static int adv7511_g_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in adv7511_g_dv_timings()
1061 static int adv7511_enum_dv_timings(struct v4l2_subdev *sd, in adv7511_enum_dv_timings()
1070 static int adv7511_dv_timings_cap(struct v4l2_subdev *sd, in adv7511_dv_timings_cap()
1085 static int adv7511_s_audio_stream(struct v4l2_subdev *sd, int enable) in adv7511_s_audio_stream()
1097 static int adv7511_s_clock_freq(struct v4l2_subdev *sd, u32 freq) in adv7511_s_clock_freq()
1121 static int adv7511_s_i2s_clock_freq(struct v4l2_subdev *sd, u32 freq) in adv7511_s_i2s_clock_freq()
1143 static int adv7511_s_routing(struct v4l2_subdev *sd, u32 input, u32 output, u32 config) in adv7511_s_routing()
1165 static int adv7511_get_edid(struct v4l2_subdev *sd, struct v4l2_edid *edid) in adv7511_get_edid()
1194 static int adv7511_enum_mbus_code(struct v4l2_subdev *sd, in adv7511_enum_mbus_code()
1225 static int adv7511_get_fmt(struct v4l2_subdev *sd, in adv7511_get_fmt()
1257 static int adv7511_set_fmt(struct v4l2_subdev *sd, in adv7511_set_fmt()
1421 static void adv7511_dbg_dump_edid(int lvl, int debug, struct v4l2_subdev *sd, int segment, u8 *buf) in adv7511_dbg_dump_edid()
1441 static void adv7511_notify_no_edid(struct v4l2_subdev *sd) in adv7511_notify_no_edid()
1459 struct v4l2_subdev *sd = &state->sd; in adv7511_edid_handler()
1488 static void adv7511_audio_setup(struct v4l2_subdev *sd) in adv7511_audio_setup()
1498 static void adv7511_setup(struct v4l2_subdev *sd) in adv7511_setup()
1531 static void adv7511_notify_monitor_detect(struct v4l2_subdev *sd) in adv7511_notify_monitor_detect()
1540 static void adv7511_check_monitor_present_status(struct v4l2_subdev *sd) in adv7511_check_monitor_present_status()
1598 static bool edid_verify_crc(struct v4l2_subdev *sd, u32 segment) in edid_verify_crc()
1611 static bool edid_verify_header(struct v4l2_subdev *sd, u32 segment) in edid_verify_header()
1624 static bool adv7511_check_edid_status(struct v4l2_subdev *sd) in adv7511_check_edid_status()
1696 static int adv7511_registered(struct v4l2_subdev *sd) in adv7511_registered()
1708 static void adv7511_unregistered(struct v4l2_subdev *sd) in adv7511_unregistered()
1722 static void adv7511_init_setup(struct v4l2_subdev *sd) in adv7511_init_setup()
1772 struct v4l2_subdev *sd; in adv7511_probe()
1929 struct v4l2_subdev *sd = i2c_get_clientdata(client); in adv7511_remove()