Lines Matching refs:tda998x_priv
49 struct tda998x_priv { struct
89 container_of(x, struct tda998x_priv, connector) argument
91 container_of(x, struct tda998x_priv, encoder)
93 container_of(x, struct tda998x_priv, bridge)
403 cec_write(struct tda998x_priv *priv, u16 addr, u8 val) in cec_write()
420 cec_read(struct tda998x_priv *priv, u8 addr) in cec_read()
447 static void cec_enamods(struct tda998x_priv *priv, u8 mods, bool enable) in cec_enamods()
462 static void tda998x_cec_set_calibration(struct tda998x_priv *priv, bool enable) in tda998x_cec_set_calibration()
490 static void tda998x_cec_calibration(struct tda998x_priv *priv) in tda998x_cec_calibration()
515 struct tda998x_priv *priv = data; in tda998x_cec_hook_init()
532 struct tda998x_priv *priv = data; in tda998x_cec_hook_exit()
540 struct tda998x_priv *priv = data; in tda998x_cec_hook_open()
550 struct tda998x_priv *priv = data; in tda998x_cec_hook_release()
556 set_page(struct tda998x_priv *priv, u16 reg) in set_page()
576 reg_read_range(struct tda998x_priv *priv, u16 reg, char *buf, int cnt) in reg_read_range()
607 reg_write_range(struct tda998x_priv *priv, u16 reg, u8 *p, int cnt) in reg_write_range()
636 reg_read(struct tda998x_priv *priv, u16 reg) in reg_read()
648 reg_write(struct tda998x_priv *priv, u16 reg, u8 val) in reg_write()
667 reg_write16(struct tda998x_priv *priv, u16 reg, u16 val) in reg_write16()
686 reg_set(struct tda998x_priv *priv, u16 reg, u8 val) in reg_set()
696 reg_clear(struct tda998x_priv *priv, u16 reg, u8 val) in reg_clear()
706 tda998x_reset(struct tda998x_priv *priv) in tda998x_reset()
750 struct tda998x_priv *priv = from_timer(priv, t, edid_delay_timer); in tda998x_edid_delay_done()
757 static void tda998x_edid_delay_start(struct tda998x_priv *priv) in tda998x_edid_delay_start()
763 static int tda998x_edid_delay_wait(struct tda998x_priv *priv) in tda998x_edid_delay_wait()
775 struct tda998x_priv *priv = in tda998x_detect_work()
776 container_of(work, struct tda998x_priv, detect_work); in tda998x_detect_work()
788 struct tda998x_priv *priv = data; in tda998x_irq_thread()
826 tda998x_write_if(struct tda998x_priv *priv, u8 bit, u16 addr, in tda998x_write_if()
845 static void tda998x_write_aif(struct tda998x_priv *priv, in tda998x_write_aif()
856 tda998x_write_avi(struct tda998x_priv *priv, const struct drm_display_mode *mode) in tda998x_write_avi()
869 static void tda998x_write_vsi(struct tda998x_priv *priv, in tda998x_write_vsi()
898 static int tda998x_derive_routing(struct tda998x_priv *priv, in tda998x_derive_routing()
921 static u8 tda998x_get_adiv(struct tda998x_priv *priv, unsigned int fs) in tda998x_get_adiv()
962 static int tda998x_derive_cts_n(struct tda998x_priv *priv, in tda998x_derive_cts_n()
990 static void tda998x_audio_mute(struct tda998x_priv *priv, bool on) in tda998x_audio_mute()
1001 static void tda998x_configure_audio(struct tda998x_priv *priv) in tda998x_configure_audio()
1064 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_hw_params()
1124 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_shutdown()
1136 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_digital_mute()
1149 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_audio_get_eld()
1166 static int tda998x_audio_codec_init(struct tda998x_priv *priv, in tda998x_audio_codec_init()
1191 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_detect()
1214 struct tda998x_priv *priv = data; in read_edid_block()
1278 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_get_modes()
1319 struct tda998x_priv *priv = conn_to_tda998x_priv(connector); in tda998x_connector_best_encoder()
1330 static int tda998x_connector_init(struct tda998x_priv *priv, in tda998x_connector_init()
1360 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_attach()
1367 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_detach()
1376 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_mode_valid()
1389 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_enable()
1407 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_disable()
1423 struct tda998x_priv *priv = bridge_to_tda998x_priv(bridge); in tda998x_bridge_mode_set()
1679 static int tda998x_get_audio_ports(struct tda998x_priv *priv, in tda998x_get_audio_ports()
1734 static int tda998x_set_config(struct tda998x_priv *priv, in tda998x_set_config()
1774 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_destroy()
1802 struct tda998x_priv *priv; in tda998x_create()
2005 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_encoder_init()
2047 struct tda998x_priv *priv = dev_get_drvdata(dev); in tda998x_unbind()