Lines Matching refs:blkctl
29 void dcss_blkctl_cfg(struct dcss_blkctl *blkctl) in dcss_blkctl_cfg() argument
31 if (blkctl->dcss->hdmi_output) in dcss_blkctl_cfg()
32 dcss_writel(0, blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg()
35 blkctl->base_reg + DCSS_BLKCTL_CONTROL0); in dcss_blkctl_cfg()
38 blkctl->base_reg + DCSS_BLKCTL_RESET_CTRL); in dcss_blkctl_cfg()
43 struct dcss_blkctl *blkctl; in dcss_blkctl_init() local
45 blkctl = kzalloc(sizeof(*blkctl), GFP_KERNEL); in dcss_blkctl_init()
46 if (!blkctl) in dcss_blkctl_init()
49 blkctl->base_reg = ioremap(blkctl_base, SZ_4K); in dcss_blkctl_init()
50 if (!blkctl->base_reg) { in dcss_blkctl_init()
52 kfree(blkctl); in dcss_blkctl_init()
56 dcss->blkctl = blkctl; in dcss_blkctl_init()
57 blkctl->dcss = dcss; in dcss_blkctl_init()
59 dcss_blkctl_cfg(blkctl); in dcss_blkctl_init()
64 void dcss_blkctl_exit(struct dcss_blkctl *blkctl) in dcss_blkctl_exit() argument
66 if (blkctl->base_reg) in dcss_blkctl_exit()
67 iounmap(blkctl->base_reg); in dcss_blkctl_exit()
69 kfree(blkctl); in dcss_blkctl_exit()