Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c67 FLD_GET(dss_read_reg(idx), start, end)
70 dss_write_reg(idx, FLD_MOD(dss_read_reg(idx), val, start, end))
129 static inline u32 dss_read_reg(const struct dss_reg idx) in dss_read_reg() function
135 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
276 l = dss_read_reg(DSS_SDI_CONTROL); in dss_sdi_init()
282 l = dss_read_reg(DSS_PLL_CONTROL); in dss_sdi_init()
304 while (dss_read_reg(DSS_SDI_STATUS) & (1 << 6)) { in dss_sdi_enable()
316 while (!(dss_read_reg(DSS_SDI_STATUS) & (1 << 5))) { in dss_sdi_enable()
327 while (!(dss_read_reg(DSS_SDI_STATUS) & (1 << 2))) { in dss_sdi_enable()
385 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(r)) in dss_dump_regs()
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
Ddss.c66 FLD_GET(dss_read_reg(dss, idx), start, end)
70 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
111 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() function
117 dss->ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(dss, DSS_##reg)
260 l = dss_read_reg(dss, DSS_SDI_CONTROL); in dss_sdi_init()
266 l = dss_read_reg(dss, DSS_PLL_CONTROL); in dss_sdi_init()
288 while (dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 6)) { in dss_sdi_enable()
300 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 5))) { in dss_sdi_enable()
311 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 2))) { in dss_sdi_enable()
370 #define DUMPREG(dss, r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(dss, r)) in dss_dump_regs()
[all …]