Lines Matching refs:csr_reg
380 void __iomem *csr_reg; in xgene_pmdclk_init() local
397 csr_reg = of_iomap(np, 0); in xgene_pmdclk_init()
398 if (!csr_reg) { in xgene_pmdclk_init()
409 csr_reg, XGENE_CLK_PMD_SHIFT, in xgene_pmdclk_init()
417 if (csr_reg) in xgene_pmdclk_init()
418 iounmap(csr_reg); in xgene_pmdclk_init()
424 void __iomem *csr_reg; /* CSR for IP clock */ member
452 if (pclk->param.csr_reg) { in xgene_clk_enable()
455 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_enable()
458 xgene_clk_write(data, pclk->param.csr_reg + in xgene_clk_enable()
466 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_enable()
469 xgene_clk_write(data, pclk->param.csr_reg + in xgene_clk_enable()
492 if (pclk->param.csr_reg) { in xgene_clk_disable()
495 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_disable()
498 xgene_clk_write(data, pclk->param.csr_reg + in xgene_clk_disable()
502 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_disable()
505 xgene_clk_write(data, pclk->param.csr_reg + in xgene_clk_disable()
518 if (pclk->param.csr_reg) { in xgene_clk_is_enabled()
520 data = xgene_clk_read(pclk->param.csr_reg + in xgene_clk_is_enabled()
527 if (!pclk->param.csr_reg) in xgene_clk_is_enabled()
679 parameters.csr_reg = NULL; in xgene_devclk_init()
699 parameters.csr_reg = map_res; in xgene_devclk_init()
733 if (parameters.csr_reg) in xgene_devclk_init()
734 iounmap(parameters.csr_reg); in xgene_devclk_init()