Lines Matching refs:scaler
319 struct dcss_scaler *scaler; in dcss_scaler_init() local
321 scaler = kzalloc(sizeof(*scaler), GFP_KERNEL); in dcss_scaler_init()
322 if (!scaler) in dcss_scaler_init()
325 dcss->scaler = scaler; in dcss_scaler_init()
326 scaler->dev = dcss->dev; in dcss_scaler_init()
327 scaler->ctxld = dcss->ctxld; in dcss_scaler_init()
328 scaler->ctx_id = CTX_SB_HP; in dcss_scaler_init()
330 if (dcss_scaler_ch_init_all(scaler, scaler_base)) { in dcss_scaler_init()
334 if (scaler->ch[i].base_reg) in dcss_scaler_init()
335 iounmap(scaler->ch[i].base_reg); in dcss_scaler_init()
338 kfree(scaler); in dcss_scaler_init()