Searched refs:intel_dsi (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_dsi_vbt.c | 121 static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi, in mipi_exec_send_packet() argument 124 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet() 145 if (intel_dsi->ports == (1 << PORT_C)) in mipi_exec_send_packet() 150 dsi_device = intel_dsi->dsi_hosts[port]->device; in mipi_exec_send_packet() 196 vlv_dsi_wait_for_fifo_empty(intel_dsi, port); in mipi_exec_send_packet() 204 static const u8 *mipi_exec_delay(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_delay() argument 343 static const u8 *mipi_exec_gpio(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_gpio() argument 345 struct drm_device *dev = intel_dsi->base.base.dev; in mipi_exec_gpio() 378 static const u8 *mipi_exec_i2c(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_i2c() argument 385 static const u8 *mipi_exec_spi(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_spi() argument [all …]
|
D | icl_dsi.c | 79 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in wait_for_cmds_dispatched_to_panel() local 86 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 93 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 94 dsi = intel_dsi->dsi_hosts[port]->device; in wait_for_cmds_dispatched_to_panel() 103 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 109 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel() 120 struct intel_dsi *intel_dsi = host->intel_dsi; in add_payld_to_queue() local 121 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in add_payld_to_queue() 147 struct intel_dsi *intel_dsi = host->intel_dsi; in dsi_send_pkt_hdr() local 148 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in dsi_send_pkt_hdr() [all …]
|
D | vlv_dsi.c | 77 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port) in vlv_dsi_wait_for_fifo_empty() argument 79 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty() 126 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer() 212 static int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs, in dpi_send_cmd() argument 215 struct drm_encoder *encoder = &intel_dsi->base.base; in dpi_send_cmd() 261 struct intel_dsi *intel_dsi = container_of(encoder, struct intel_dsi, in intel_dsi_compute_config() local 263 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config() 289 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB888) in intel_dsi_compute_config() 300 if (intel_dsi->ports == BIT(PORT_C)) in intel_dsi_compute_config() 322 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in glk_dsi_enable_io() local [all …]
|
D | intel_dsi.h | 42 struct intel_dsi { struct 127 struct intel_dsi *intel_dsi; argument 144 static inline struct intel_dsi *enc_to_intel_dsi(struct drm_encoder *encoder) in enc_to_intel_dsi() 146 return container_of(encoder, struct intel_dsi, base.base); in enc_to_intel_dsi() 149 static inline bool is_vid_mode(struct intel_dsi *intel_dsi) in is_vid_mode() argument 151 return intel_dsi->operation_mode == INTEL_DSI_VIDEO_MODE; in is_vid_mode() 154 static inline bool is_cmd_mode(struct intel_dsi *intel_dsi) in is_cmd_mode() argument 156 return intel_dsi->operation_mode == INTEL_DSI_COMMAND_MODE; in is_cmd_mode() 168 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi); 169 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi); [all …]
|
D | intel_dsi_dcs_backlight.c | 49 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in dcs_get_backlight() local 55 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_get_backlight() 56 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_get_backlight() 67 struct intel_dsi *intel_dsi = enc_to_intel_dsi(conn_state->best_encoder); in dcs_set_backlight() local 73 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_set_backlight() 74 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_set_backlight() 82 struct intel_dsi *intel_dsi = enc_to_intel_dsi(conn_state->best_encoder); in dcs_disable_backlight() local 88 for_each_dsi_port(port, intel_dsi->dcs_cabc_ports) { in dcs_disable_backlight() 91 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight() 96 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_disable_backlight() [all …]
|
D | intel_dsi.c | 9 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi) in intel_dsi_bitrate() argument 11 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_bitrate() 16 return intel_dsi->pclk * bpp / intel_dsi->lane_count; in intel_dsi_bitrate() 19 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi) in intel_dsi_tlpx_ns() argument 21 switch (intel_dsi->escape_clk_div) { in intel_dsi_tlpx_ns() 79 struct intel_dsi_host *intel_dsi_host_init(struct intel_dsi *intel_dsi, in intel_dsi_host_init() argument 91 host->intel_dsi = intel_dsi; in intel_dsi_host_init()
|
D | vlv_dsi_pll.c | 120 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in vlv_dsi_pll_compute() local 124 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute() 125 intel_dsi->lane_count); in vlv_dsi_pll_compute() 133 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute() 136 if (intel_dsi->ports & (1 << PORT_C)) in vlv_dsi_pll_compute() 258 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in vlv_dsi_get_pclk() local 259 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_get_pclk() 313 pclk = DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, bpp); in vlv_dsi_get_pclk() 324 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in bxt_dsi_get_pclk() local 326 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in bxt_dsi_get_pclk() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | Makefile | 207 display/intel_dsi.o \
|