Lines Matching refs:tda998x_priv
51 struct tda998x_priv { struct
91 container_of(x, struct tda998x_priv, connector) argument
93 container_of(x, struct tda998x_priv, encoder)
95 container_of(x, struct tda998x_priv, bridge)
405 cec_write(struct tda998x_priv *priv, u16 addr, u8 val) in cec_write()
422 cec_read(struct tda998x_priv *priv, u8 addr) in cec_read()
449 static void cec_enamods(struct tda998x_priv *priv, u8 mods, bool enable) in cec_enamods()
464 static void tda998x_cec_set_calibration(struct tda998x_priv *priv, bool enable) in tda998x_cec_set_calibration()
492 static void tda998x_cec_calibration(struct tda998x_priv *priv) in tda998x_cec_calibration()
517 struct tda998x_priv *priv = data; in tda998x_cec_hook_init()
534 struct tda998x_priv *priv = data; in tda998x_cec_hook_exit()
542 struct tda998x_priv *priv = data; in tda998x_cec_hook_open()
552 struct tda998x_priv *priv = data; in tda998x_cec_hook_release()
558 set_page(struct tda998x_priv *priv, u16 reg) in set_page()
578 reg_read_range(struct tda998x_priv *priv, u16 reg, char *buf, int cnt) in reg_read_range()
609 reg_write_range(struct tda998x_priv *priv, u16 reg, u8 *p, int cnt) in reg_write_range()
638 reg_read(struct tda998x_priv *priv, u16 reg) in reg_read()
650 reg_write(struct tda998x_priv *priv, u16 reg, u8 val) in reg_write()
669 reg_write16(struct tda998x_priv *priv, u16 reg, u16 val) in reg_write16()
688 reg_set(struct tda998x_priv *priv, u16 reg, u8 val) in reg_set()
698 reg_clear(struct tda998x_priv *priv, u16 reg, u8 val) in reg_clear()
708 tda998x_reset(struct tda998x_priv *priv) in tda998x_reset()
752 struct tda998x_priv *priv = from_timer(priv, t, edid_delay_timer); in tda998x_edid_delay_done()
759 static void tda998x_edid_delay_start(struct tda998x_priv *priv) in tda998x_edid_delay_start()
765 static int tda998x_edid_delay_wait(struct tda998x_priv *priv) in tda998x_edid_delay_wait()
777 struct tda998x_priv *priv = in tda998x_detect_work()
778 container_of(work, struct tda998x_priv, detect_work); in tda998x_detect_work()
790 struct tda998x_priv *priv = data; in tda998x_irq_thread()
828 tda998x_write_if(struct tda998x_priv *priv, u8 bit, u16 addr, in tda998x_write_if()
847 static void tda998x_write_aif(struct tda998x_priv *priv, in tda998x_write_aif()
858 tda998x_write_avi(struct tda998x_priv *priv, const struct drm_display_mode *mode) in tda998x_write_avi()
871 static void tda998x_write_vsi(struct tda998x_priv *priv, in tda998x_write_vsi()
900 static int tda998x_derive_routing(struct tda998x_priv *priv, in tda998x_derive_routing()
923 static u8 tda998x_get_adiv(struct tda998x_priv *priv, unsigned int fs) in tda998x_get_adiv()
964 static int tda998x_derive_cts_n(struct tda998x_priv *priv, in tda998x_derive_cts_n()
992 static void tda998x_audio_mute(struct tda998x_priv *priv, bool on) in tda998x_audio_mute()
1003 static void tda998x_configure_audio(struct tda998x_priv *priv) in tda998x_configure_audio()
1066 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_hw_params()
1126 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_shutdown()
1139 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_mute_stream()
1152 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_get_eld()
1170 static int tda998x_audio_codec_init(struct tda998x_priv *priv, in tda998x_audio_codec_init()
1195 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_detect()
1218 struct tda998x_priv *priv = data; in read_edid_block()
1282 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_get_modes()
1323 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_best_encoder()
1334 static int tda998x_connector_init(struct tda998x_priv *priv, in tda998x_connector_init()
1365 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_attach()
1377 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_detach()
1387 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_mode_valid()
1400 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_enable()
1418 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_disable()
1434 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_mode_set()
1690 static int tda998x_get_audio_ports(struct tda998x_priv *priv, in tda998x_get_audio_ports()
1745 static int tda998x_set_config(struct tda998x_priv *priv, in tda998x_set_config()
1785 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_destroy()
1812 struct tda998x_priv *priv; in tda998x_create()
2006 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_encoder_init()
2048 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_unbind()