Home
last modified time | relevance | path

Searched refs:intel_dsi (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dsi_vbt.c96 struct intel_dsi *intel_dsi; member
130 static enum port intel_dsi_seq_port_to_port(struct intel_dsi *intel_dsi, in intel_dsi_seq_port_to_port() argument
138 if (hweight8(intel_dsi->ports) == 1) in intel_dsi_seq_port_to_port()
139 return ffs(intel_dsi->ports) - 1; in intel_dsi_seq_port_to_port()
142 if (intel_dsi->ports & BIT(PORT_B)) in intel_dsi_seq_port_to_port()
144 else if (intel_dsi->ports & BIT(PORT_C)) in intel_dsi_seq_port_to_port()
151 static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi, in mipi_exec_send_packet() argument
154 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in mipi_exec_send_packet()
170 port = intel_dsi_seq_port_to_port(intel_dsi, seq_port); in mipi_exec_send_packet()
172 if (drm_WARN_ON(&dev_priv->drm, !intel_dsi->dsi_hosts[port])) in mipi_exec_send_packet()
[all …]
Dvlv_dsi.c84 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port) in vlv_dsi_wait_for_fifo_empty() argument
86 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty()
133 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer()
224 static int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs, in dpi_send_cmd() argument
227 struct drm_encoder *encoder = &intel_dsi->base.base; in dpi_send_cmd()
275 struct intel_dsi *intel_dsi = container_of(encoder, struct intel_dsi, in intel_dsi_compute_config() local
277 struct intel_connector *intel_connector = intel_dsi->attached_connector; in intel_dsi_compute_config()
298 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB888) in intel_dsi_compute_config()
309 if (intel_dsi->ports == BIT(PORT_C)) in intel_dsi_compute_config()
331 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in glk_dsi_enable_io() local
[all …]
Dicl_dsi.c99 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in wait_for_cmds_dispatched_to_panel() local
106 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel()
113 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel()
114 dsi = intel_dsi->dsi_hosts[port]->device; in wait_for_cmds_dispatched_to_panel()
124 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel()
130 for_each_dsi_port(port, intel_dsi->ports) { in wait_for_cmds_dispatched_to_panel()
141 struct intel_dsi *intel_dsi = host->intel_dsi; in dsi_send_pkt_payld() local
142 struct drm_i915_private *i915 = to_i915(intel_dsi->base.base.dev); in dsi_send_pkt_payld()
173 struct intel_dsi *intel_dsi = host->intel_dsi; in dsi_send_pkt_hdr() local
174 struct drm_i915_private *dev_priv = to_i915(intel_dsi->base.base.dev); in dsi_send_pkt_hdr()
[all …]
Dintel_dsi_vbt.h12 struct intel_dsi;
14 bool intel_dsi_vbt_init(struct intel_dsi *intel_dsi, u16 panel_id);
15 void intel_dsi_vbt_gpio_init(struct intel_dsi *intel_dsi, bool panel_is_on);
16 void intel_dsi_vbt_gpio_cleanup(struct intel_dsi *intel_dsi);
17 void intel_dsi_vbt_exec_sequence(struct intel_dsi *intel_dsi,
19 void intel_dsi_msleep(struct intel_dsi *intel_dsi, int msec);
20 void intel_dsi_log_params(struct intel_dsi *intel_dsi);
Dintel_dsi.h42 struct intel_dsi { struct
129 struct intel_dsi *intel_dsi; argument
146 static inline struct intel_dsi *enc_to_intel_dsi(struct intel_encoder *encoder) in enc_to_intel_dsi()
148 return container_of(&encoder->base, struct intel_dsi, base.base); in enc_to_intel_dsi()
151 static inline bool is_vid_mode(struct intel_dsi *intel_dsi) in is_vid_mode() argument
153 return intel_dsi->operation_mode == INTEL_DSI_VIDEO_MODE; in is_vid_mode()
156 static inline bool is_cmd_mode(struct intel_dsi *intel_dsi) in is_cmd_mode() argument
158 return intel_dsi->operation_mode == INTEL_DSI_COMMAND_MODE; in is_cmd_mode()
166 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi);
167 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi);
[all …]
Dintel_dsi.c12 int intel_dsi_bitrate(const struct intel_dsi *intel_dsi) in intel_dsi_bitrate() argument
14 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_bitrate()
19 return intel_dsi->pclk * bpp / intel_dsi->lane_count; in intel_dsi_bitrate()
22 int intel_dsi_tlpx_ns(const struct intel_dsi *intel_dsi) in intel_dsi_tlpx_ns() argument
24 switch (intel_dsi->escape_clk_div) { in intel_dsi_tlpx_ns()
65 struct intel_dsi_host *intel_dsi_host_init(struct intel_dsi *intel_dsi, in intel_dsi_host_init() argument
77 host->intel_dsi = intel_dsi; in intel_dsi_host_init()
Dintel_dsi_dcs_backlight.c49 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in dcs_get_backlight() local
57 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_get_backlight()
68 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_set_backlight() local
84 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_set_backlight()
95 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_disable_backlight() local
105 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight()
113 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight()
130 struct intel_dsi *intel_dsi = enc_to_intel_dsi(to_intel_encoder(conn_state->best_encoder)); in dcs_enable_backlight() local
138 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_enable_backlight()
154 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_enable_backlight()
Dvlv_dsi_pll.c120 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in vlv_dsi_pclk() local
121 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_pclk()
168 return DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, bpp); in vlv_dsi_pclk()
179 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in vlv_dsi_pll_compute() local
182 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute()
183 intel_dsi->lane_count); in vlv_dsi_pll_compute()
191 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
194 if (intel_dsi->ports & (1 << PORT_C)) in vlv_dsi_pll_compute()
207 if (intel_dsi->dual_link) in vlv_dsi_pll_compute()
345 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in bxt_dsi_pclk() local
[all …]
Dvlv_dsi.h13 struct intel_dsi;
15 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
Dintel_vdsc.c1070 struct intel_dsi *intel_dsi = enc_to_intel_dsi(encoder); in intel_dsc_dsi_pps_write() local
1080 for_each_dsi_port(port, intel_dsi->ports) { in intel_dsc_dsi_pps_write()
1081 dsi = intel_dsi->dsi_hosts[port]->device; in intel_dsc_dsi_pps_write()
/linux-6.1.9/drivers/gpu/drm/i915/
DMakefile292 display/intel_dsi.o \