Lines Matching full:scl
71 struct dcss_scaler *scl; member
289 struct dcss_scaler *scl = ch->scl; in dcss_scaler_write() local
291 dcss_ctxld_write(scl->ctxld, scl->ctx_id, val, ch->base_ofs + ofs); in dcss_scaler_write()
294 static int dcss_scaler_ch_init_all(struct dcss_scaler *scl, in dcss_scaler_ch_init_all() argument
301 ch = &scl->ch[i]; in dcss_scaler_ch_init_all()
305 ch->base_reg = devm_ioremap(scl->dev, ch->base_ofs, SZ_4K); in dcss_scaler_ch_init_all()
307 dev_err(scl->dev, "scaler: unable to remap ch base\n"); in dcss_scaler_ch_init_all()
311 ch->scl = scl; in dcss_scaler_ch_init_all()
336 void dcss_scaler_exit(struct dcss_scaler *scl) in dcss_scaler_exit() argument
341 struct dcss_scaler_ch *ch = &scl->ch[ch_no]; in dcss_scaler_exit()
347 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en) in dcss_scaler_ch_enable() argument
349 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable()
561 int dcss_scaler_get_min_max_ratios(struct dcss_scaler *scl, int ch_num, in dcss_scaler_get_min_max_ratios() argument
760 void dcss_scaler_set_filter(struct dcss_scaler *scl, int ch_num, in dcss_scaler_set_filter() argument
763 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_set_filter()
768 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num, in dcss_scaler_setup() argument
773 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_setup()
823 void dcss_scaler_write_sclctrl(struct dcss_scaler *scl) in dcss_scaler_write_sclctrl() argument
827 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
830 struct dcss_scaler_ch *ch = &scl->ch[chnum]; in dcss_scaler_write_sclctrl()
833 dcss_ctxld_write_irqsafe(scl->ctxld, scl->ctx_id, in dcss_scaler_write_sclctrl()