Home
last modified time | relevance | path

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

/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddss.c55 FLD_GET(dss_read_reg(dss, idx), start, end)
59 FLD_MOD(dss_read_reg(dss, idx), val, start, end))
100 static inline u32 dss_read_reg(struct dss_device *dss, const struct dss_reg idx) in dss_read_reg() function
106 dss->ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(dss, DSS_##reg)
249 l = dss_read_reg(dss, DSS_SDI_CONTROL); in dss_sdi_init()
255 l = dss_read_reg(dss, DSS_PLL_CONTROL); in dss_sdi_init()
277 while (dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 6)) { in dss_sdi_enable()
289 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 5))) { in dss_sdi_enable()
300 while (!(dss_read_reg(dss, DSS_SDI_STATUS) & (1 << 2))) { in dss_sdi_enable()
359 #define DUMPREG(dss, r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(dss, r)) in dss_dump_regs()
[all …]