Lines Matching refs: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()
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()
346 void dcss_scaler_exit(struct dcss_scaler *scl) in dcss_scaler_exit() argument
351 struct dcss_scaler_ch *ch = &scl->ch[ch_no]; in dcss_scaler_exit()
359 kfree(scl); in dcss_scaler_exit()
362 void dcss_scaler_ch_enable(struct dcss_scaler *scl, int ch_num, bool en) in dcss_scaler_ch_enable() argument
364 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_ch_enable()
576 int dcss_scaler_get_min_max_ratios(struct dcss_scaler *scl, int ch_num, in dcss_scaler_get_min_max_ratios() argument
775 void dcss_scaler_set_filter(struct dcss_scaler *scl, int ch_num, in dcss_scaler_set_filter() argument
778 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_set_filter()
783 void dcss_scaler_setup(struct dcss_scaler *scl, int ch_num, in dcss_scaler_setup() argument
788 struct dcss_scaler_ch *ch = &scl->ch[ch_num]; in dcss_scaler_setup()
838 void dcss_scaler_write_sclctrl(struct dcss_scaler *scl) in dcss_scaler_write_sclctrl() argument
842 dcss_ctxld_assert_locked(scl->ctxld); in dcss_scaler_write_sclctrl()
845 struct dcss_scaler_ch *ch = &scl->ch[chnum]; in dcss_scaler_write_sclctrl()
848 dcss_ctxld_write_irqsafe(scl->ctxld, scl->ctx_id, in dcss_scaler_write_sclctrl()