Lines Matching full:dcss
12 #include "dcss-dev.h"
91 struct dcss_dev *dcss = dcss_drv_dev_to_dcss(ctxld->dev); in dcss_ctxld_irq_handler() local
100 if (dcss && dcss->disable_callback) in dcss_ctxld_irq_handler()
101 dcss->disable_callback(dcss); in dcss_ctxld_irq_handler()
200 int dcss_ctxld_init(struct dcss_dev *dcss, unsigned long ctxld_base) in dcss_ctxld_init() argument
205 ctxld = devm_kzalloc(dcss->dev, sizeof(*ctxld), GFP_KERNEL); in dcss_ctxld_init()
209 dcss->ctxld = ctxld; in dcss_ctxld_init()
210 ctxld->dev = dcss->dev; in dcss_ctxld_init()
216 dev_err(dcss->dev, "ctxld: cannot allocate context memory.\n"); in dcss_ctxld_init()
220 ctxld->ctxld_reg = devm_ioremap(dcss->dev, ctxld_base, SZ_4K); in dcss_ctxld_init()
222 dev_err(dcss->dev, "ctxld: unable to remap ctxld base\n"); in dcss_ctxld_init()
227 ret = dcss_ctxld_irq_config(ctxld, to_platform_device(dcss->dev)); in dcss_ctxld_init()
253 struct dcss_dev *dcss = dcss_drv_dev_to_dcss(ctxld->dev); in dcss_ctxld_enable_locked() local
255 if (!dcss) in dcss_ctxld_enable_locked()
258 dcss_dpr_write_sysctrl(dcss->dpr); in dcss_ctxld_enable_locked()
260 dcss_scaler_write_sclctrl(dcss->scaler); in dcss_ctxld_enable_locked()