Lines Matching refs:tc_data
367 struct tc_data { struct
402 static inline struct tc_data *aux_to_tc(struct drm_dp_aux *a) in aux_to_tc() argument
404 return container_of(a, struct tc_data, aux); in aux_to_tc()
407 static inline struct tc_data *bridge_to_tc(struct drm_bridge *b) in bridge_to_tc()
409 return container_of(b, struct tc_data, bridge); in bridge_to_tc()
412 static inline struct tc_data *connector_to_tc(struct drm_connector *c) in connector_to_tc()
414 return container_of(c, struct tc_data, connector); in connector_to_tc()
417 static inline int tc_poll_timeout(struct tc_data *tc, unsigned int addr, in tc_poll_timeout()
429 static int tc_aux_wait_busy(struct tc_data *tc) in tc_aux_wait_busy()
434 static int tc_aux_write_data(struct tc_data *tc, const void *data, in tc_aux_write_data()
449 static int tc_aux_read_data(struct tc_data *tc, void *data, size_t size) in tc_aux_read_data()
478 struct tc_data *tc = aux_to_tc(aux); in tc_aux_transfer()
562 static u32 tc_srcctrl(struct tc_data *tc) in tc_srcctrl()
581 static int tc_pllupdate(struct tc_data *tc, unsigned int pllctrl) in tc_pllupdate()
595 static int tc_pxl_pll_calc(struct tc_data *tc, u32 refclk, u32 pixelclock, in tc_pxl_pll_calc()
705 static int tc_pxl_pll_en(struct tc_data *tc, u32 refclk, u32 pixelclock) in tc_pxl_pll_en()
727 static int tc_pxl_pll_dis(struct tc_data *tc) in tc_pxl_pll_dis()
733 static int tc_stream_clock_calc(struct tc_data *tc) in tc_stream_clock_calc()
753 static int tc_set_syspllparam(struct tc_data *tc) in tc_set_syspllparam()
780 static int tc_aux_link_setup(struct tc_data *tc) in tc_aux_link_setup()
835 static int tc_get_display_props(struct tc_data *tc) in tc_get_display_props()
901 static int tc_set_common_video_mode(struct tc_data *tc, in tc_set_common_video_mode()
971 static int tc_set_dpi_video_mode(struct tc_data *tc, in tc_set_dpi_video_mode()
985 static int tc_set_edp_video_mode(struct tc_data *tc, in tc_set_edp_video_mode()
1068 static int tc_wait_link_training(struct tc_data *tc) in tc_wait_link_training()
1087 static int tc_main_link_enable(struct tc_data *tc) in tc_main_link_enable()
1362 static int tc_main_link_disable(struct tc_data *tc) in tc_main_link_disable()
1381 static int tc_dsi_rx_enable(struct tc_data *tc) in tc_dsi_rx_enable()
1418 static int tc_dpi_rx_enable(struct tc_data *tc) in tc_dpi_rx_enable()
1431 static int tc_dpi_stream_enable(struct tc_data *tc) in tc_dpi_stream_enable()
1471 static int tc_dpi_stream_disable(struct tc_data *tc) in tc_dpi_stream_disable()
1480 static int tc_edp_stream_enable(struct tc_data *tc) in tc_edp_stream_enable()
1544 static int tc_edp_stream_disable(struct tc_data *tc) in tc_edp_stream_disable()
1563 struct tc_data *tc = bridge_to_tc(bridge); in tc_dpi_bridge_atomic_enable()
1577 struct tc_data *tc = bridge_to_tc(bridge); in tc_dpi_bridge_atomic_disable()
1588 struct tc_data *tc = bridge_to_tc(bridge); in tc_edp_bridge_atomic_enable()
1614 struct tc_data *tc = bridge_to_tc(bridge); in tc_edp_bridge_atomic_disable()
1631 struct tc_data *tc = bridge_to_tc(bridge); in tc_dpi_atomic_check()
1655 struct tc_data *tc = bridge_to_tc(bridge); in tc_edp_atomic_check()
1691 struct tc_data *tc = bridge_to_tc(bridge); in tc_edp_mode_valid()
1712 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_mode_set()
1720 struct tc_data *tc = bridge_to_tc(bridge); in tc_edid_read()
1734 struct tc_data *tc = connector_to_tc(connector); in tc_connector_get_modes()
1766 struct tc_data *tc = bridge_to_tc(bridge); in tc_bridge_detect()
1786 struct tc_data *tc = connector_to_tc(connector); in tc_connector_detect()
1810 struct tc_data *tc = bridge_to_tc(bridge); in tc_dpi_bridge_attach()
1824 struct tc_data *tc = bridge_to_tc(bridge); in tc_edp_bridge_attach()
2229 struct tc_data *tc = arg; in tc_irq_handler()
2270 static int tc_mipi_dsi_host_attach(struct tc_data *tc) in tc_mipi_dsi_host_attach()
2317 static int tc_probe_dpi_bridge_endpoint(struct tc_data *tc) in tc_probe_dpi_bridge_endpoint()
2346 static int tc_probe_edp_bridge_endpoint(struct tc_data *tc) in tc_probe_edp_bridge_endpoint()
2419 static int tc_probe_bridge_endpoint(struct tc_data *tc, enum tc_mode mode) in tc_probe_bridge_endpoint()
2460 struct tc_data *tc; in tc_probe()
2467 tc = devm_drm_bridge_alloc(dev, struct tc_data, bridge, funcs); in tc_probe()
2608 struct tc_data *tc = i2c_get_clientdata(client); in tc_remove()