Lines Matching refs:tc358768_priv

138 struct tc358768_priv {  struct
164 static inline struct tc358768_priv *dsi_host_to_tc358768(struct mipi_dsi_host in dsi_host_to_tc358768() argument
167 return container_of(host, struct tc358768_priv, dsi_host); in dsi_host_to_tc358768()
170 static inline struct tc358768_priv *bridge_to_tc358768(struct drm_bridge in bridge_to_tc358768()
173 return container_of(bridge, struct tc358768_priv, bridge); in bridge_to_tc358768()
176 static int tc358768_clear_error(struct tc358768_priv *priv) in tc358768_clear_error()
184 static void tc358768_write(struct tc358768_priv *priv, u32 reg, u32 val) in tc358768_write()
200 static void tc358768_read(struct tc358768_priv *priv, u32 reg, u32 *val) in tc358768_read()
216 static void tc358768_update_bits(struct tc358768_priv *priv, u32 reg, u32 mask, in tc358768_update_bits()
232 static int tc358768_sw_reset(struct tc358768_priv *priv) in tc358768_sw_reset()
242 static void tc358768_hw_enable(struct tc358768_priv *priv) in tc358768_hw_enable()
272 static void tc358768_hw_disable(struct tc358768_priv *priv) in tc358768_hw_disable()
295 static u32 tc358768_pll_to_pclk(struct tc358768_priv *priv, u32 pll_clk) in tc358768_pll_to_pclk()
300 static u32 tc358768_pclk_to_pll(struct tc358768_priv *priv, u32 pclk) in tc358768_pclk_to_pll()
305 static int tc358768_calc_pll(struct tc358768_priv *priv, in tc358768_calc_pll()
393 struct tc358768_priv *priv = dsi_host_to_tc358768(host); in tc358768_dsi_host_attach()
462 struct tc358768_priv *priv = dsi_host_to_tc358768(host); in tc358768_dsi_host_detach()
474 struct tc358768_priv *priv = dsi_host_to_tc358768(host); in tc358768_dsi_host_transfer()
540 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_attach()
556 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_mode_valid()
566 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_disable()
588 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_post_disable()
593 static int tc358768_setup_pll(struct tc358768_priv *priv, in tc358768_setup_pll()
650 static u32 tc358768_dpi_to_dsi_bytes(struct tc358768_priv *priv, u32 val) in tc358768_dpi_to_dsi_bytes()
658 static u32 tc358768_dsi_bytes_to_ns(struct tc358768_priv *priv, u32 val) in tc358768_dsi_bytes_to_ns()
668 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_pre_enable()
1069 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_bridge_enable()
1101 struct tc358768_priv *priv = bridge_to_tc358768(bridge); in tc358768_atomic_get_input_bus_fmts()
1241 static int tc358768_get_regulators(struct tc358768_priv *priv) in tc358768_get_regulators()
1258 struct tc358768_priv *priv; in tc358768_i2c_probe()
1311 struct tc358768_priv *priv = i2c_get_clientdata(client); in tc358768_i2c_remove()