Home
last modified time | relevance | path

Searched refs:dsi_device (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_dsi_dcs_backlight.c48 struct mipi_dsi_device *dsi_device; in dcs_get_backlight() local
54 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_get_backlight()
55 mipi_dsi_dcs_read(dsi_device, MIPI_DCS_GET_DISPLAY_BRIGHTNESS, in dcs_get_backlight()
66 struct mipi_dsi_device *dsi_device; in dcs_set_backlight() local
72 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_set_backlight()
73 mipi_dsi_dcs_write(dsi_device, MIPI_DCS_SET_DISPLAY_BRIGHTNESS, in dcs_set_backlight()
81 struct mipi_dsi_device *dsi_device; in dcs_disable_backlight() local
89 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight()
90 mipi_dsi_dcs_write(dsi_device, MIPI_DCS_WRITE_POWER_SAVE, in dcs_disable_backlight()
97 dsi_device = intel_dsi->dsi_hosts[port]->device; in dcs_disable_backlight()
[all …]
Dintel_dsi_vbt.c114 struct mipi_dsi_device *dsi_device; in mipi_exec_send_packet() local
139 dsi_device = intel_dsi->dsi_hosts[port]->device; in mipi_exec_send_packet()
140 if (!dsi_device) { in mipi_exec_send_packet()
146 dsi_device->mode_flags &= ~MIPI_DSI_MODE_LPM; in mipi_exec_send_packet()
148 dsi_device->mode_flags |= MIPI_DSI_MODE_LPM; in mipi_exec_send_packet()
150 dsi_device->channel = (flags >> MIPI_VIRTUAL_CHANNEL_SHIFT) & 3; in mipi_exec_send_packet()
154 mipi_dsi_generic_write(dsi_device, NULL, 0); in mipi_exec_send_packet()
157 mipi_dsi_generic_write(dsi_device, data, 1); in mipi_exec_send_packet()
160 mipi_dsi_generic_write(dsi_device, data, 2); in mipi_exec_send_packet()
168 mipi_dsi_generic_write(dsi_device, data, len); in mipi_exec_send_packet()
[all …]