Lines Matching refs:tegra_sor
397 struct tegra_sor;
401 int (*probe)(struct tegra_sor *sor);
402 void (*audio_enable)(struct tegra_sor *sor);
403 void (*audio_disable)(struct tegra_sor *sor);
406 struct tegra_sor { struct
475 static inline struct tegra_sor *
478 return container_of(client, struct tegra_sor, client); in host1x_client_to_sor()
481 static inline struct tegra_sor *to_sor(struct tegra_output *output) in to_sor()
483 return container_of(output, struct tegra_sor, output); in to_sor()
486 static inline u32 tegra_sor_readl(struct tegra_sor *sor, unsigned int offset) in tegra_sor_readl()
495 static inline void tegra_sor_writel(struct tegra_sor *sor, u32 value, in tegra_sor_writel()
502 static int tegra_sor_set_parent_clock(struct tegra_sor *sor, struct clk *parent) in tegra_sor_set_parent_clock()
521 struct tegra_sor *sor;
545 struct tegra_sor *sor = pad->sor; in tegra_clk_sor_pad_set_parent()
569 struct tegra_sor *sor = pad->sor; in tegra_clk_sor_pad_get_parent()
596 static struct clk *tegra_clk_sor_pad_register(struct tegra_sor *sor, in tegra_clk_sor_pad_register()
622 static void tegra_sor_filter_rates(struct tegra_sor *sor) in tegra_sor_filter_rates()
646 static int tegra_sor_power_up_lanes(struct tegra_sor *sor, unsigned int lanes) in tegra_sor_power_up_lanes()
697 static int tegra_sor_power_down_lanes(struct tegra_sor *sor) in tegra_sor_power_down_lanes()
729 static void tegra_sor_dp_precharge(struct tegra_sor *sor, unsigned int lanes) in tegra_sor_dp_precharge()
763 static void tegra_sor_dp_term_calibrate(struct tegra_sor *sor) in tegra_sor_dp_term_calibrate()
806 struct tegra_sor *sor = container_of(link, struct tegra_sor, link); in tegra_sor_dp_link_apply_training()
877 struct tegra_sor *sor = container_of(link, struct tegra_sor, link); in tegra_sor_dp_link_configure()
956 static void tegra_sor_super_update(struct tegra_sor *sor) in tegra_sor_super_update()
963 static void tegra_sor_update(struct tegra_sor *sor) in tegra_sor_update()
970 static int tegra_sor_setup_pwm(struct tegra_sor *sor, unsigned long timeout) in tegra_sor_setup_pwm()
999 static int tegra_sor_attach(struct tegra_sor *sor) in tegra_sor_attach()
1029 static int tegra_sor_wakeup(struct tegra_sor *sor) in tegra_sor_wakeup()
1049 static int tegra_sor_power_up(struct tegra_sor *sor, unsigned long timeout) in tegra_sor_power_up()
1085 static int tegra_sor_compute_params(struct tegra_sor *sor, in tegra_sor_compute_params()
1153 static int tegra_sor_compute_config(struct tegra_sor *sor, in tegra_sor_compute_config()
1245 static void tegra_sor_apply_config(struct tegra_sor *sor, in tegra_sor_apply_config()
1285 static void tegra_sor_mode_set(struct tegra_sor *sor, in tegra_sor_mode_set()
1374 static int tegra_sor_detach(struct tegra_sor *sor) in tegra_sor_detach()
1423 static int tegra_sor_power_down(struct tegra_sor *sor) in tegra_sor_power_down()
1473 static int tegra_sor_crc_wait(struct tegra_sor *sor, unsigned long timeout) in tegra_sor_crc_wait()
1493 struct tegra_sor *sor = node->info_ent->data; in tegra_sor_show_crc()
1655 struct tegra_sor *sor = node->info_ent->data; in tegra_sor_show_regs()
1691 struct tegra_sor *sor = to_sor(output); in tegra_sor_late_register()
1710 struct tegra_sor *sor = to_sor(output); in tegra_sor_early_unregister()
1739 struct tegra_sor *sor = to_sor(output); in tegra_sor_connector_detect()
1776 struct tegra_sor *sor = to_sor(output); in tegra_sor_connector_get_modes()
1811 struct tegra_sor *sor = to_sor(output); in tegra_sor_encoder_atomic_check()
1862 static void tegra_sor_hdmi_write_infopack(struct tegra_sor *sor, in tegra_sor_hdmi_write_infopack()
1914 tegra_sor_hdmi_setup_avi_infoframe(struct tegra_sor *sor, in tegra_sor_hdmi_setup_avi_infoframe()
1953 static void tegra_sor_write_eld(struct tegra_sor *sor) in tegra_sor_write_eld()
1971 static void tegra_sor_audio_prepare(struct tegra_sor *sor) in tegra_sor_audio_prepare()
1990 static void tegra_sor_audio_unprepare(struct tegra_sor *sor) in tegra_sor_audio_unprepare()
1997 static void tegra_sor_audio_enable(struct tegra_sor *sor) in tegra_sor_audio_enable()
2021 static int tegra_sor_hdmi_enable_audio_infoframe(struct tegra_sor *sor) in tegra_sor_hdmi_enable_audio_infoframe()
2052 static void tegra_sor_hdmi_audio_enable(struct tegra_sor *sor) in tegra_sor_hdmi_audio_enable()
2109 static void tegra_sor_hdmi_disable_audio_infoframe(struct tegra_sor *sor) in tegra_sor_hdmi_disable_audio_infoframe()
2118 static void tegra_sor_hdmi_audio_disable(struct tegra_sor *sor) in tegra_sor_hdmi_audio_disable()
2124 tegra_sor_hdmi_find_settings(struct tegra_sor *sor, unsigned long frequency) in tegra_sor_hdmi_find_settings()
2135 static void tegra_sor_hdmi_disable_scrambling(struct tegra_sor *sor) in tegra_sor_hdmi_disable_scrambling()
2145 static void tegra_sor_hdmi_scdc_disable(struct tegra_sor *sor) in tegra_sor_hdmi_scdc_disable()
2153 static void tegra_sor_hdmi_scdc_stop(struct tegra_sor *sor) in tegra_sor_hdmi_scdc_stop()
2161 static void tegra_sor_hdmi_enable_scrambling(struct tegra_sor *sor) in tegra_sor_hdmi_enable_scrambling()
2171 static void tegra_sor_hdmi_scdc_enable(struct tegra_sor *sor) in tegra_sor_hdmi_scdc_enable()
2181 struct tegra_sor *sor = container_of(work, struct tegra_sor, scdc.work); in tegra_sor_hdmi_scdc_work()
2191 static void tegra_sor_hdmi_scdc_start(struct tegra_sor *sor) in tegra_sor_hdmi_scdc_start()
2209 struct tegra_sor *sor = to_sor(output); in tegra_sor_hdmi_disable()
2252 struct tegra_sor *sor = to_sor(output); in tegra_sor_hdmi_enable()
2657 struct tegra_sor *sor = to_sor(output); in tegra_sor_dp_disable()
2721 struct tegra_sor *sor = to_sor(output); in tegra_sor_dp_enable()
2950 static int tegra_sor_enable_regulator(struct tegra_sor *sor, struct regulator *reg) in tegra_sor_enable_regulator()
2961 static int tegra_sor_hdmi_probe(struct tegra_sor *sor) in tegra_sor_hdmi_probe()
3012 static int tegra_sor_dp_probe(struct tegra_sor *sor) in tegra_sor_dp_probe()
3044 struct tegra_sor *sor = host1x_client_to_sor(client); in tegra_sor_init()
3177 struct tegra_sor *sor = host1x_client_to_sor(client); in tegra_sor_exit()
3199 struct tegra_sor *sor = host1x_client_to_sor(client); in tegra_sor_runtime_suspend()
3223 struct tegra_sor *sor = host1x_client_to_sor(client); in tegra_sor_runtime_resume()
3640 static int tegra_sor_parse_dt(struct tegra_sor *sor) in tegra_sor_parse_dt()
3683 struct tegra_sor *sor = data; in tegra_sor_irq()
3713 struct tegra_sor *sor; in tegra_sor_probe()
3972 struct tegra_sor *sor = platform_get_drvdata(pdev); in tegra_sor_remove()
3988 struct tegra_sor *sor = dev_get_drvdata(dev); in tegra_sor_suspend()
4010 struct tegra_sor *sor = dev_get_drvdata(dev); in tegra_sor_resume()