Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_dsi_vbt.c111 static const u8 *mipi_exec_send_packet(struct intel_dsi *intel_dsi, in mipi_exec_send_packet() argument
134 if (intel_dsi->ports == (1 << PORT_C)) in mipi_exec_send_packet()
139 dsi_device = intel_dsi->dsi_hosts[port]->device; in mipi_exec_send_packet()
184 vlv_dsi_wait_for_fifo_empty(intel_dsi, port); in mipi_exec_send_packet()
192 static const u8 *mipi_exec_delay(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_delay() argument
325 static const u8 *mipi_exec_gpio(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_gpio() argument
327 struct drm_device *dev = intel_dsi->base.base.dev; in mipi_exec_gpio()
358 static const u8 *mipi_exec_i2c(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_i2c() argument
365 static const u8 *mipi_exec_spi(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_spi() argument
372 static const u8 *mipi_exec_pmic(struct intel_dsi *intel_dsi, const u8 *data) in mipi_exec_pmic() argument
[all …]
Dvlv_dsi.c72 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port) in vlv_dsi_wait_for_fifo_empty() argument
74 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty()
122 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer()
209 static struct intel_dsi_host *intel_dsi_host_init(struct intel_dsi *intel_dsi, in intel_dsi_host_init() argument
220 host->intel_dsi = intel_dsi; in intel_dsi_host_init()
247 static int dpi_send_cmd(struct intel_dsi *intel_dsi, u32 cmd, bool hs, in dpi_send_cmd() argument
250 struct drm_encoder *encoder = &intel_dsi->base.base; in dpi_send_cmd()
293 static inline bool is_vid_mode(struct intel_dsi *intel_dsi) in is_vid_mode() argument
295 return intel_dsi->operation_mode == INTEL_DSI_VIDEO_MODE; in is_vid_mode()
298 static inline bool is_cmd_mode(struct intel_dsi *intel_dsi) in is_cmd_mode() argument
[all …]
Dintel_dsi_dcs_backlight.c47 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in dcs_get_backlight() local
53 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_get_backlight()
54 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_get_backlight()
65 struct intel_dsi *intel_dsi = enc_to_intel_dsi(conn_state->best_encoder); in dcs_set_backlight() local
71 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_set_backlight()
72 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_set_backlight()
80 struct intel_dsi *intel_dsi = enc_to_intel_dsi(conn_state->best_encoder); in dcs_disable_backlight() local
86 for_each_dsi_port(port, intel_dsi->dcs_cabc_ports) { in dcs_disable_backlight()
89 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight()
94 for_each_dsi_port(port, intel_dsi->dcs_backlight_ports) { in dcs_disable_backlight()
[all …]
Dicl_dsi.c33 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in gen11_dsi_program_esc_clk_div() local
35 u32 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in gen11_dsi_program_esc_clk_div()
39 afe_clk_khz = DIV_ROUND_CLOSEST(intel_dsi->pclk * bpp, in gen11_dsi_program_esc_clk_div()
40 intel_dsi->lane_count); in gen11_dsi_program_esc_clk_div()
44 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_program_esc_clk_div()
50 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_program_esc_clk_div()
60 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in gen11_dsi_enable_io_power() local
64 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_enable_io_power()
70 for_each_dsi_port(port, intel_dsi->ports) { in gen11_dsi_enable_io_power()
80 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in gen11_dsi_power_up_lanes() local
[all …]
Dintel_dsi.h39 struct intel_dsi { struct
113 struct intel_dsi *intel_dsi; argument
127 static inline struct intel_dsi *enc_to_intel_dsi(struct drm_encoder *encoder) in enc_to_intel_dsi()
129 return container_of(encoder, struct intel_dsi, base.base); in enc_to_intel_dsi()
133 void vlv_dsi_wait_for_fifo_empty(struct intel_dsi *intel_dsi, enum port port);
157 bool intel_dsi_vbt_init(struct intel_dsi *intel_dsi, u16 panel_id);
158 int intel_dsi_vbt_get_modes(struct intel_dsi *intel_dsi);
159 void intel_dsi_vbt_exec_sequence(struct intel_dsi *intel_dsi,
Dvlv_dsi_pll.c118 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in vlv_dsi_pll_compute() local
122 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute()
123 intel_dsi->lane_count); in vlv_dsi_pll_compute()
131 if (intel_dsi->ports & (1 << PORT_A)) in vlv_dsi_pll_compute()
134 if (intel_dsi->ports & (1 << PORT_C)) in vlv_dsi_pll_compute()
268 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in vlv_dsi_get_pclk() local
323 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in vlv_dsi_get_pclk()
325 pclk = DIV_ROUND_CLOSEST(dsi_clock * intel_dsi->lane_count, pipe_bpp); in vlv_dsi_get_pclk()
336 struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); in bxt_dsi_get_pclk() local
352 assert_bpp_mismatch(intel_dsi->pixel_format, pipe_bpp); in bxt_dsi_get_pclk()
[all …]