Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-dsi-cm.c109 static int dsicm_dcs_read_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 *data) in dsicm_dcs_read_1() argument
115 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
125 static int dsicm_dcs_write_0(struct panel_drv_data *ddata, u8 dcs_cmd) in dsicm_dcs_write_0() argument
128 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
131 static int dsicm_dcs_write_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 param) in dsicm_dcs_write_1() argument
134 u8 buf[2] = { dcs_cmd, param }; in dsicm_dcs_write_1()
1043 u8 dcs_cmd = first ? 0x2e : 0x3e; in dsicm_memory_read() local
1046 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, in dsicm_memory_read()
/Linux-v4.19/drivers/gpu/drm/omapdrm/displays/
Dpanel-dsi-cm.c143 static int dsicm_dcs_read_1(struct panel_drv_data *ddata, u8 dcs_cmd, u8 *data) in dsicm_dcs_read_1() argument
149 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
159 static int dsicm_dcs_write_0(struct panel_drv_data *ddata, u8 dcs_cmd) in dsicm_dcs_write_0() argument
162 return in->ops.dsi->dcs_write(in, 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()
1115 u8 dcs_cmd = first ? 0x2e : 0x3e; in dsicm_memory_read() local
1118 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, in dsicm_memory_read()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c2886 int channel, u8 dcs_cmd) in dsi_vc_dcs_send_read_request() argument
2893 channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
2895 r = dsi_vc_send_short(dsidev, channel, MIPI_DSI_DCS_READ, dcs_cmd, 0); in dsi_vc_dcs_send_read_request()
2898 " failed\n", channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
3050 static int dsi_vc_dcs_read(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, in dsi_vc_dcs_read() argument
3056 r = dsi_vc_dcs_send_read_request(dsidev, channel, dcs_cmd); in dsi_vc_dcs_read()
3076 DSSERR("dsi_vc_dcs_read(ch %d, cmd 0x%02x) failed\n", channel, dcs_cmd); in dsi_vc_dcs_read()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddsi.c2913 u8 dcs_cmd) in dsi_vc_dcs_send_read_request() argument
2919 channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
2921 r = dsi_vc_send_short(dsi, channel, MIPI_DSI_DCS_READ, dcs_cmd, 0); in dsi_vc_dcs_send_read_request()
2924 " failed\n", channel, dcs_cmd); in dsi_vc_dcs_send_read_request()
3074 static int dsi_vc_dcs_read(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, in dsi_vc_dcs_read() argument
3080 r = dsi_vc_dcs_send_read_request(dsi, channel, dcs_cmd); in dsi_vc_dcs_read()
3100 DSSERR("dsi_vc_dcs_read(ch %d, cmd 0x%02x) failed\n", channel, dcs_cmd); in dsi_vc_dcs_read()
Domapdss.h443 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd,
/Linux-v4.19/include/video/
Domapfb_dss.h611 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd,