Lines Matching +full:blk +full:- +full:ctrl
1 // SPDX-License-Identifier: GPL-2.0
10 #include "dcss-dev.h"
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()
45 blkctl = devm_kzalloc(dcss->dev, sizeof(*blkctl), GFP_KERNEL); in dcss_blkctl_init()
47 return -ENOMEM; in dcss_blkctl_init()
49 blkctl->base_reg = devm_ioremap(dcss->dev, blkctl_base, SZ_4K); in dcss_blkctl_init()
50 if (!blkctl->base_reg) { in dcss_blkctl_init()
51 dev_err(dcss->dev, "unable to remap BLK CTRL base\n"); in dcss_blkctl_init()
52 return -ENOMEM; in dcss_blkctl_init()
55 dcss->blkctl = blkctl; in dcss_blkctl_init()
56 blkctl->dcss = dcss; in dcss_blkctl_init()