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()
983 static void tc358743_format_change(struct v4l2_subdev *sd) in tc358743_format_change()
1011 static void tc358743_init_interrupts(struct v4l2_subdev *sd) in tc358743_init_interrupts()
1022 static void tc358743_enable_interrupts(struct v4l2_subdev *sd, in tc358743_enable_interrupts()
1045 static void tc358743_hdmi_audio_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_audio_int_handler()
1059 static void tc358743_csi_err_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_csi_err_int_handler()
1066 static void tc358743_hdmi_misc_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_misc_int_handler()
1098 static void tc358743_hdmi_cbit_int_handler(struct v4l2_subdev *sd, in tc358743_hdmi_cbit_int_handler()
1136 static void tc358743_hdmi_clk_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_hdmi_clk_int_handler()
1171 static void tc358743_hdmi_sys_int_handler(struct v4l2_subdev *sd, bool *handled) in tc358743_hdmi_sys_int_handler()
1239 static int tc358743_log_status(struct v4l2_subdev *sd) in tc358743_log_status()
1334 static void tc358743_print_register_map(struct v4l2_subdev *sd) in tc358743_print_register_map()
1367 static int tc358743_g_register(struct v4l2_subdev *sd, in tc358743_g_register()
1382 static int tc358743_s_register(struct v4l2_subdev *sd, in tc358743_s_register()
1410 static int tc358743_isr(struct v4l2_subdev *sd, u32 status, bool *handled) in tc358743_isr()
1496 static int tc358743_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, in tc358743_subscribe_event()
1511 static int tc358743_g_input_status(struct v4l2_subdev *sd, u32 *status) in tc358743_g_input_status()
1522 static int tc358743_s_dv_timings(struct v4l2_subdev *sd, in tc358743_s_dv_timings()
1554 static int tc358743_g_dv_timings(struct v4l2_subdev *sd, in tc358743_g_dv_timings()
1564 static int tc358743_enum_dv_timings(struct v4l2_subdev *sd, in tc358743_enum_dv_timings()
1574 static int tc358743_query_dv_timings(struct v4l2_subdev *sd, in tc358743_query_dv_timings()
1596 static int tc358743_dv_timings_cap(struct v4l2_subdev *sd, in tc358743_dv_timings_cap()
1607 static int tc358743_get_mbus_config(struct v4l2_subdev *sd, in tc358743_get_mbus_config()
1622 static int tc358743_s_stream(struct v4l2_subdev *sd, int enable) in tc358743_s_stream()
1635 static int tc358743_enum_mbus_code(struct v4l2_subdev *sd, in tc358743_enum_mbus_code()
1652 static int tc358743_get_fmt(struct v4l2_subdev *sd, in tc358743_get_fmt()
1688 static int tc358743_set_fmt(struct v4l2_subdev *sd, in tc358743_set_fmt()
1723 static int tc358743_g_edid(struct v4l2_subdev *sd, in tc358743_g_edid()
1754 static int tc358743_s_edid(struct v4l2_subdev *sd, in tc358743_s_edid()
2023 struct v4l2_subdev *sd; in tc358743_probe()
2174 struct v4l2_subdev *sd = i2c_get_clientdata(client); in tc358743_remove()