Lines Matching refs:tegra_dsi

55 struct tegra_dsi {  struct
82 struct tegra_dsi *master; argument
83 struct tegra_dsi *slave; argument
86 static inline struct tegra_dsi *
89 return container_of(client, struct tegra_dsi, client); in host1x_client_to_dsi()
92 static inline struct tegra_dsi *host_to_tegra(struct mipi_dsi_host *host) in host_to_tegra()
94 return container_of(host, struct tegra_dsi, host); in host_to_tegra()
97 static inline struct tegra_dsi *to_dsi(struct tegra_output *output) in to_dsi()
99 return container_of(output, struct tegra_dsi, output); in to_dsi()
102 static struct tegra_dsi_state *tegra_dsi_get_state(struct tegra_dsi *dsi) in tegra_dsi_get_state()
107 static inline u32 tegra_dsi_readl(struct tegra_dsi *dsi, unsigned int offset) in tegra_dsi_readl()
116 static inline void tegra_dsi_writel(struct tegra_dsi *dsi, u32 value, in tegra_dsi_writel()
202 struct tegra_dsi *dsi = node->info_ent->data; in tegra_dsi_show_regs()
237 struct tegra_dsi *dsi = to_dsi(output); in tegra_dsi_late_register()
256 struct tegra_dsi *dsi = to_dsi(output); in tegra_dsi_early_unregister()
358 static void tegra_dsi_set_phy_timing(struct tegra_dsi *dsi, in tegra_dsi_set_phy_timing()
444 static void tegra_dsi_ganged_enable(struct tegra_dsi *dsi, unsigned int start, in tegra_dsi_ganged_enable()
456 static void tegra_dsi_enable(struct tegra_dsi *dsi) in tegra_dsi_enable()
468 static unsigned int tegra_dsi_get_lanes(struct tegra_dsi *dsi) in tegra_dsi_get_lanes()
479 static void tegra_dsi_configure(struct tegra_dsi *dsi, unsigned int pipe, in tegra_dsi_configure()
625 static int tegra_dsi_wait_idle(struct tegra_dsi *dsi, unsigned long timeout) in tegra_dsi_wait_idle()
642 static void tegra_dsi_video_disable(struct tegra_dsi *dsi) in tegra_dsi_video_disable()
654 static void tegra_dsi_ganged_disable(struct tegra_dsi *dsi) in tegra_dsi_ganged_disable()
661 static int tegra_dsi_pad_enable(struct tegra_dsi *dsi) in tegra_dsi_pad_enable()
671 static int tegra_dsi_pad_calibrate(struct tegra_dsi *dsi) in tegra_dsi_pad_calibrate()
705 static void tegra_dsi_set_timeout(struct tegra_dsi *dsi, unsigned long bclk, in tegra_dsi_set_timeout()
728 static void tegra_dsi_disable(struct tegra_dsi *dsi) in tegra_dsi_disable()
747 static void tegra_dsi_soft_reset(struct tegra_dsi *dsi) in tegra_dsi_soft_reset()
825 static void tegra_dsi_unprepare(struct tegra_dsi *dsi) in tegra_dsi_unprepare()
846 struct tegra_dsi *dsi = to_dsi(output); in tegra_dsi_encoder_disable()
881 static int tegra_dsi_prepare(struct tegra_dsi *dsi) in tegra_dsi_prepare()
911 struct tegra_dsi *dsi = to_dsi(output); in tegra_dsi_encoder_enable()
968 struct tegra_dsi *dsi = to_dsi(output); in tegra_dsi_encoder_atomic_check()
1050 struct tegra_dsi *dsi = host1x_client_to_dsi(client); in tegra_dsi_init()
1086 struct tegra_dsi *dsi = host1x_client_to_dsi(client); in tegra_dsi_exit()
1095 struct tegra_dsi *dsi = host1x_client_to_dsi(client); in tegra_dsi_runtime_suspend()
1120 struct tegra_dsi *dsi = host1x_client_to_dsi(client); in tegra_dsi_runtime_resume()
1178 static int tegra_dsi_setup_clocks(struct tegra_dsi *dsi) in tegra_dsi_setup_clocks()
1213 static ssize_t tegra_dsi_read_response(struct tegra_dsi *dsi, in tegra_dsi_read_response()
1278 static int tegra_dsi_transmit(struct tegra_dsi *dsi, unsigned long timeout) in tegra_dsi_transmit()
1296 static int tegra_dsi_wait_for_response(struct tegra_dsi *dsi, in tegra_dsi_wait_for_response()
1315 static void tegra_dsi_writesl(struct tegra_dsi *dsi, unsigned long offset, in tegra_dsi_writesl()
1335 struct tegra_dsi *dsi = host_to_tegra(host); in tegra_dsi_host_transfer()
1460 static int tegra_dsi_ganged_setup(struct tegra_dsi *dsi) in tegra_dsi_ganged_setup()
1480 struct tegra_dsi *dsi = host_to_tegra(host); in tegra_dsi_host_attach()
1521 struct tegra_dsi *dsi = host_to_tegra(host); in tegra_dsi_host_detach()
1540 static int tegra_dsi_ganged_probe(struct tegra_dsi *dsi) in tegra_dsi_ganged_probe()
1566 struct tegra_dsi *dsi; in tegra_dsi_probe()
1689 struct tegra_dsi *dsi = platform_get_drvdata(pdev); in tegra_dsi_remove()