Lines Matching refs:block
15 void cns3xxx_pwr_clk_en(unsigned int block) in cns3xxx_pwr_clk_en() argument
19 reg |= (block & PM_CLK_GATE_REG_MASK); in cns3xxx_pwr_clk_en()
24 void cns3xxx_pwr_clk_dis(unsigned int block) in cns3xxx_pwr_clk_dis() argument
28 reg &= ~(block & PM_CLK_GATE_REG_MASK); in cns3xxx_pwr_clk_dis()
33 void cns3xxx_pwr_power_up(unsigned int block) in cns3xxx_pwr_power_up() argument
37 reg &= ~(block & CNS3XXX_PWR_PLL_ALL); in cns3xxx_pwr_power_up()
45 void cns3xxx_pwr_power_down(unsigned int block) in cns3xxx_pwr_power_down() argument
50 reg |= (block & CNS3XXX_PWR_PLL_ALL); in cns3xxx_pwr_power_down()
55 static void cns3xxx_pwr_soft_rst_force(unsigned int block) in cns3xxx_pwr_soft_rst_force() argument
63 if (block & 0x30000001) { in cns3xxx_pwr_soft_rst_force()
64 reg &= ~(block & PM_SOFT_RST_REG_MASK); in cns3xxx_pwr_soft_rst_force()
66 reg &= ~(block & PM_SOFT_RST_REG_MASK); in cns3xxx_pwr_soft_rst_force()
68 reg |= (block & PM_SOFT_RST_REG_MASK); in cns3xxx_pwr_soft_rst_force()
74 void cns3xxx_pwr_soft_rst(unsigned int block) in cns3xxx_pwr_soft_rst() argument
78 if (soft_reset & block) { in cns3xxx_pwr_soft_rst()
82 soft_reset |= block; in cns3xxx_pwr_soft_rst()
84 cns3xxx_pwr_soft_rst_force(block); in cns3xxx_pwr_soft_rst()