Lines Matching full:scl
71 struct dcss_scaler *scl; member
272 struct dcss_scaler *scl = ch->scl; in dcss_scaler_write() local
274 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write()
277 static int dcss_scaler_ch_init_all(struct dcss_scaler *scl, in dcss_scaler_ch_init_all() argument
284 ch = &scl->ch[i]; in dcss_scaler_ch_init_all()
290 dev_err(scl->dev, "scaler: unable to remap ch base\n"); in dcss_scaler_ch_init_all()
294 ch->scl = scl; in dcss_scaler_ch_init_all()
329 void dcss_scaler_exit(struct dcss_scaler *scl) in dcss_scaler_exit() argument
334 struct dcss_scaler_ch *ch = &scl->ch[ch_no]; in dcss_scaler_exit()
342 kfree(scl); in dcss_scaler_exit()
345 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en) in dcss_scaler_ch_enable() argument
347 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable()
559 int dcss_scaler_get_min_max_ratios(struct dcss_scaler *scl, int ch_num, in dcss_scaler_get_min_max_ratios() argument
754 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num, in dcss_scaler_setup() argument
759 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_setup()
809 void dcss_scaler_write_sclctrl(struct dcss_scaler *scl) in dcss_scaler_write_sclctrl() argument
813 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
816 struct dcss_scaler_ch *ch = &scl->ch[chnum]; in dcss_scaler_write_sclctrl()
819 dcss_ctxld_write_irqsafe(scl->ctxld, scl->ctx_id, in dcss_scaler_write_sclctrl()