Home
last modified time | relevance | path

Searched refs:dcs_cmd (Results 1 – 5 of 5) sorted by relevance

/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c106 static int dsicm_dcs_read_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 *data) in dsicm_dcs_read_1() argument
112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
122 static int dsicm_dcs_write_0(struct panel_drv_data *ddata, u8 dcs_cmd) in dsicm_dcs_write_0() argument
125 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
128 static int dsicm_dcs_write_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 param) in dsicm_dcs_write_1() argument
131 u8 buf[2] = { dcs_cmd, param }; in dsicm_dcs_write_1()
1040 u8 dcs_cmd = first ? 0x2e : 0x3e; in dsicm_memory_read() local
1043 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, in dsicm_memory_read()
/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c142 static int dsicm_dcs_read_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 *data) in dsicm_dcs_read_1() argument
148 r = src->ops->dsi.dcs_read(src, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
158 static int dsicm_dcs_write_0(struct panel_drv_data *ddata, u8 dcs_cmd) in dsicm_dcs_write_0() argument
162 return src->ops->dsi.dcs_write(src, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
165 static int dsicm_dcs_write_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 param) in dsicm_dcs_write_1() argument
168 u8 buf[2] = { dcs_cmd, param }; in dsicm_dcs_write_1()
1050 u8 dcs_cmd = first ? 0x2e : 0x3e; in dsicm_memory_read() local
1053 r = src->ops->dsi.dcs_read(src, ddata->channel, dcs_cmd, in dsicm_memory_read()
/drivers/gpu/drm/omapdrm/dss/
Domapdss.h322 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd,
Ddsi.c2815 u8 dcs_cmd) in dsi_vc_dcs_send_read_request() argument
2821 channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
2823 r = dsi_vc_send_short(dsi, channel, MIPI_DSI_DCS_READ, dcs_cmd, 0); in dsi_vc_dcs_send_read_request()
2826 " failed\n", channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
2976 static int dsi_vc_dcs_read(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, in dsi_vc_dcs_read() argument
2982 r = dsi_vc_dcs_send_read_request(dsi, channel, dcs_cmd); in dsi_vc_dcs_read()
3002 DSSERR("dsi_vc_dcs_read(ch %d, cmd 0x%02x) failed\n", channel, dcs_cmd); in dsi_vc_dcs_read()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c2878 int channel, u8 dcs_cmd) in dsi_vc_dcs_send_read_request() argument
2885 channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
2887 r = dsi_vc_send_short(dsidev, channel, MIPI_DSI_DCS_READ, dcs_cmd, 0); in dsi_vc_dcs_send_read_request()
2890 " failed\n", channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
3042 static int dsi_vc_dcs_read(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, in dsi_vc_dcs_read() argument
3048 r = dsi_vc_dcs_send_read_request(dsidev, channel, dcs_cmd); in dsi_vc_dcs_read()
3068 DSSERR("dsi_vc_dcs_read(ch %d, cmd 0x%02x) failed\n", channel, dcs_cmd); in dsi_vc_dcs_read()