Lines Matching refs:apb_pclk
168 struct clk *apb_pclk; member
658 rs->apb_pclk = devm_clk_get(&pdev->dev, "apb_pclk"); in rockchip_spi_probe()
659 if (IS_ERR(rs->apb_pclk)) { in rockchip_spi_probe()
661 ret = PTR_ERR(rs->apb_pclk); in rockchip_spi_probe()
672 ret = clk_prepare_enable(rs->apb_pclk); in rockchip_spi_probe()
760 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_probe()
775 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_remove()
798 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_suspend()
811 ret = clk_prepare_enable(rs->apb_pclk); in rockchip_spi_resume()
817 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_resume()
825 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_resume()
839 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_runtime_suspend()
850 ret = clk_prepare_enable(rs->apb_pclk); in rockchip_spi_runtime_resume()
856 clk_disable_unprepare(rs->apb_pclk); in rockchip_spi_runtime_resume()