mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
drm/dsi: Export mipi_dsi_device_transfer()
Change-Id: I66cff30b42700c7aaf69ac7cdb8a92129244c6d7 Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
@@ -350,8 +350,8 @@ int mipi_dsi_detach(struct mipi_dsi_device *dsi)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(mipi_dsi_detach);
|
EXPORT_SYMBOL(mipi_dsi_detach);
|
||||||
|
|
||||||
static ssize_t mipi_dsi_device_transfer(struct mipi_dsi_device *dsi,
|
ssize_t mipi_dsi_device_transfer(struct mipi_dsi_device *dsi,
|
||||||
struct mipi_dsi_msg *msg)
|
struct mipi_dsi_msg *msg)
|
||||||
{
|
{
|
||||||
const struct mipi_dsi_host_ops *ops = dsi->host->ops;
|
const struct mipi_dsi_host_ops *ops = dsi->host->ops;
|
||||||
|
|
||||||
@@ -363,6 +363,7 @@ static ssize_t mipi_dsi_device_transfer(struct mipi_dsi_device *dsi,
|
|||||||
|
|
||||||
return ops->transfer(dsi->host, msg);
|
return ops->transfer(dsi->host, msg);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(mipi_dsi_device_transfer);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mipi_dsi_packet_format_is_short - check if a packet is of the short format
|
* mipi_dsi_packet_format_is_short - check if a packet is of the short format
|
||||||
|
|||||||
@@ -247,6 +247,8 @@ enum mipi_dsi_dcs_tear_mode {
|
|||||||
#define MIPI_DSI_DCS_POWER_MODE_PARTIAL (1 << 5)
|
#define MIPI_DSI_DCS_POWER_MODE_PARTIAL (1 << 5)
|
||||||
#define MIPI_DSI_DCS_POWER_MODE_IDLE (1 << 6)
|
#define MIPI_DSI_DCS_POWER_MODE_IDLE (1 << 6)
|
||||||
|
|
||||||
|
ssize_t mipi_dsi_device_transfer(struct mipi_dsi_device *dsi,
|
||||||
|
struct mipi_dsi_msg *msg);
|
||||||
ssize_t mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi,
|
ssize_t mipi_dsi_dcs_write_buffer(struct mipi_dsi_device *dsi,
|
||||||
const void *data, size_t len);
|
const void *data, size_t len);
|
||||||
ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd,
|
ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd,
|
||||||
|
|||||||
Reference in New Issue
Block a user