Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddss.c56 FLD_GET(dss_read_reg(idx), start, end)
59 dss_write_reg(idx, FLD_MOD(dss_read_reg(idx), val, start, end))
118 static inline u32 dss_read_reg(const struct dss_reg idx) in dss_read_reg() function
124 dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg)
265 l = dss_read_reg(DSS_SDI_CONTROL); in dss_sdi_init()
271 l = dss_read_reg(DSS_PLL_CONTROL); in dss_sdi_init()
293 while (dss_read_reg(DSS_SDI_STATUS) & (1 << 6)) { in dss_sdi_enable()
305 while (!(dss_read_reg(DSS_SDI_STATUS) & (1 << 5))) { in dss_sdi_enable()
316 while (!(dss_read_reg(DSS_SDI_STATUS) & (1 << 2))) { in dss_sdi_enable()
374 #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(r)) in dss_dump_regs()
[all …]
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddss.c56 FLD_GET(dss_read_reg(dss, idx), start, end)
60 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
101 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() function
107 dss->ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(dss, DSS_##reg)
250 l = dss_read_reg(dss, DSS_SDI_CONTROL); in dss_sdi_init()
256 l = dss_read_reg(dss, DSS_PLL_CONTROL); in dss_sdi_init()
278 while (dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 6)) { in dss_sdi_enable()
290 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 5))) { in dss_sdi_enable()
301 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 2))) { in dss_sdi_enable()
360 #define DUMPREG(dss, r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(dss, r)) in dss_dump_regs()
[all …]