Lines Matching refs:v4l2_subdev
73 struct v4l2_subdev sd;
102 static void tc358743_enable_interrupts(struct v4l2_subdev *sd,
104 static int tc358743_s_ctrl_detect_tx_5v(struct v4l2_subdev *sd);
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()
232 static void i2c_wr16(struct v4l2_subdev *sd, u16 reg, u16 val) in i2c_wr16()
237 static void i2c_wr16_and_or(struct v4l2_subdev *sd, u16 reg, u16 mask, u16 val) in i2c_wr16_and_or()
242 static u32 i2c_rd32(struct v4l2_subdev *sd, u16 reg) in i2c_rd32()
247 static void i2c_wr32(struct v4l2_subdev *sd, u16 reg, u32 val) in i2c_wr32()
254 static inline bool is_hdmi(struct v4l2_subdev *sd) in is_hdmi()
259 static inline bool tx_5v_power_present(struct v4l2_subdev *sd) in tx_5v_power_present()
264 static inline bool no_signal(struct v4l2_subdev *sd) in no_signal()
269 static inline bool no_sync(struct v4l2_subdev *sd) in no_sync()
274 static inline bool audio_present(struct v4l2_subdev *sd) in audio_present()
279 static int get_audio_sampling_rate(struct v4l2_subdev *sd) in get_audio_sampling_rate()
304 static int tc358743_get_detected_timings(struct v4l2_subdev *sd, in tc358743_get_detected_timings()
361 struct v4l2_subdev *sd = &state->sd; in tc358743_delayed_work_enable_hotplug()
368 static void tc358743_set_hdmi_hdcp(struct v4l2_subdev *sd, bool enable) in tc358743_set_hdmi_hdcp()
390 static void tc358743_disable_edid(struct v4l2_subdev *sd) in tc358743_disable_edid()
403 static void tc358743_enable_edid(struct v4l2_subdev *sd) in tc358743_enable_edid()
423 static void tc358743_erase_bksv(struct v4l2_subdev *sd) in tc358743_erase_bksv()
433 static void print_avi_infoframe(struct v4l2_subdev *sd) in print_avi_infoframe()
457 static int tc358743_s_ctrl_detect_tx_5v(struct v4l2_subdev *sd) in tc358743_s_ctrl_detect_tx_5v()
465 static int tc358743_s_ctrl_audio_sampling_rate(struct v4l2_subdev *sd) in tc358743_s_ctrl_audio_sampling_rate()
473 static int tc358743_s_ctrl_audio_present(struct v4l2_subdev *sd) in tc358743_s_ctrl_audio_present()
481 static int tc358743_update_controls(struct v4l2_subdev *sd) in tc358743_update_controls()
494 static void tc358743_reset_phy(struct v4l2_subdev *sd) in tc358743_reset_phy()
502 static void tc358743_reset(struct v4l2_subdev *sd, uint16_t mask) in tc358743_reset()
510 static inline void tc358743_sleep_mode(struct v4l2_subdev *sd, bool enable) in tc358743_sleep_mode()
516 static inline void enable_stream(struct v4l2_subdev *sd, bool enable) in enable_stream()
544 static void tc358743_set_pll(struct v4l2_subdev *sd) in tc358743_set_pll()
583 static void tc358743_set_ref_clk(struct v4l2_subdev *sd) in tc358743_set_ref_clk()
632 static void tc358743_set_csi_color_space(struct v4l2_subdev *sd) in tc358743_set_csi_color_space()
666 static unsigned tc358743_num_csi_lanes_needed(struct v4l2_subdev *sd) in tc358743_num_csi_lanes_needed()
679 static void tc358743_set_csi(struct v4l2_subdev *sd) in tc358743_set_csi()
743 static void tc358743_set_hdmi_phy(struct v4l2_subdev *sd) in tc358743_set_hdmi_phy()
773 static void tc358743_set_hdmi_audio(struct v4l2_subdev *sd) in tc358743_set_hdmi_audio()
799 static void tc358743_set_hdmi_info_frame_mode(struct v4l2_subdev *sd) in tc358743_set_hdmi_info_frame_mode()
813 static void tc358743_initial_setup(struct v4l2_subdev *sd) in tc358743_initial_setup()
858 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_enable()
872 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_monitor_all_enable()
887 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_log_addr()
902 struct v4l2_subdev *sd = &state->sd; in tc358743_cec_adap_transmit()
922 static void tc358743_cec_handler(struct v4l2_subdev *sd, u16 intstatus, in tc358743_cec_handler()
985 static void tc358743_format_change(struct v4l2_subdev *sd) in tc358743_format_change()
1013 static void tc358743_init_interrupts(struct v4l2_subdev *sd) in tc358743_init_interrupts()
1024 static void tc358743_enable_interrupts(struct v4l2_subdev *sd, in tc358743_enable_interrupts()
1047 static void tc358743_hdmi_audio_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_audio_int_handler()
1061 static void tc358743_csi_err_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_csi_err_int_handler()
1068 static void tc358743_hdmi_misc_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_misc_int_handler()
1100 static void tc358743_hdmi_cbit_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_cbit_int_handler()
1138 static void tc358743_hdmi_clk_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_hdmi_clk_int_handler()
1173 static void tc358743_hdmi_sys_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_hdmi_sys_int_handler()
1241 static int tc358743_log_status(struct v4l2_subdev *sd) in tc358743_log_status()
1336 static void tc358743_print_register_map(struct v4l2_subdev *sd) in tc358743_print_register_map()
1369 static int tc358743_g_register(struct v4l2_subdev *sd, in tc358743_g_register()
1384 static int tc358743_s_register(struct v4l2_subdev *sd, in tc358743_s_register()
1412 static int tc358743_isr(struct v4l2_subdev *sd, u32 status, bool *handled) in tc358743_isr()
1498 static int tc358743_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in tc358743_subscribe_event()
1513 static int tc358743_g_input_status(struct v4l2_subdev *sd, u32 *status) in tc358743_g_input_status()
1524 static int tc358743_s_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in tc358743_s_dv_timings()
1559 static int tc358743_g_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in tc358743_g_dv_timings()
1572 static int tc358743_enum_dv_timings(struct v4l2_subdev *sd, in tc358743_enum_dv_timings()
1582 static int tc358743_query_dv_timings(struct v4l2_subdev *sd, unsigned int pad, in tc358743_query_dv_timings()
1607 static int tc358743_dv_timings_cap(struct v4l2_subdev *sd, in tc358743_dv_timings_cap()
1618 static int tc358743_get_mbus_config(struct v4l2_subdev *sd, in tc358743_get_mbus_config()
1633 static int tc358743_s_stream(struct v4l2_subdev *sd, int enable) in tc358743_s_stream()
1646 static int tc358743_enum_mbus_code(struct v4l2_subdev *sd, in tc358743_enum_mbus_code()
1663 static int tc358743_get_fmt(struct v4l2_subdev *sd, in tc358743_get_fmt()
1699 static int tc358743_set_fmt(struct v4l2_subdev *sd, in tc358743_set_fmt()
1734 static int tc358743_g_edid(struct v4l2_subdev *sd, in tc358743_g_edid()
1765 static int tc358743_s_edid(struct v4l2_subdev *sd, in tc358743_s_edid()
2031 struct v4l2_subdev *sd; in tc358743_probe()
2183 struct v4l2_subdev *sd = i2c_get_clientdata(client); in tc358743_remove()