Home
last modified time | relevance | path

Searched full:p_clk (Results 1 – 9 of 9) sorted by relevance

/linux-6.8/drivers/clk/hisilicon/
Dclk-hix5hd2.c260 struct hix5hd2_clk_complex *p_clk; in hix5hd2_clk_register_complex() local
264 p_clk = kzalloc(sizeof(*p_clk), GFP_KERNEL); in hix5hd2_clk_register_complex()
265 if (!p_clk) in hix5hd2_clk_register_complex()
279 p_clk->ctrl_reg = base + clks[i].ctrl_reg; in hix5hd2_clk_register_complex()
280 p_clk->ctrl_clk_mask = clks[i].ctrl_clk_mask; in hix5hd2_clk_register_complex()
281 p_clk->ctrl_rst_mask = clks[i].ctrl_rst_mask; in hix5hd2_clk_register_complex()
282 p_clk->phy_reg = base + clks[i].phy_reg; in hix5hd2_clk_register_complex()
283 p_clk->phy_clk_mask = clks[i].phy_clk_mask; in hix5hd2_clk_register_complex()
284 p_clk->phy_rst_mask = clks[i].phy_rst_mask; in hix5hd2_clk_register_complex()
285 p_clk->hw.init = &init; in hix5hd2_clk_register_complex()
[all …]
Dclk-hi3559a.c459 struct hi3559av100_clk_pll *p_clk = NULL; in hisi_clk_register_pll() local
464 p_clk = devm_kzalloc(dev, sizeof(*p_clk) * nums, GFP_KERNEL); in hisi_clk_register_pll()
466 if (!p_clk) in hisi_clk_register_pll()
477 p_clk->ctrl_reg1 = base + clks[i].ctrl_reg1; in hisi_clk_register_pll()
478 p_clk->frac_shift = clks[i].frac_shift; in hisi_clk_register_pll()
479 p_clk->frac_width = clks[i].frac_width; in hisi_clk_register_pll()
480 p_clk->postdiv1_shift = clks[i].postdiv1_shift; in hisi_clk_register_pll()
481 p_clk->postdiv1_width = clks[i].postdiv1_width; in hisi_clk_register_pll()
482 p_clk->postdiv2_shift = clks[i].postdiv2_shift; in hisi_clk_register_pll()
483 p_clk->postdiv2_width = clks[i].postdiv2_width; in hisi_clk_register_pll()
[all …]
/linux-6.8/drivers/media/platform/cadence/
Dcdns-csi2rx.c86 struct clk *p_clk; member
210 ret = clk_prepare_enable(csi2rx->p_clk); in csi2rx_start()
299 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_start()
312 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_start()
323 clk_prepare_enable(csi2rx->p_clk); in csi2rx_stop()
345 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_stop()
512 csi2rx->p_clk = devm_clk_get(&pdev->dev, "p_clk"); in csi2rx_get_resources()
513 if (IS_ERR(csi2rx->p_clk)) { in csi2rx_get_resources()
515 return PTR_ERR(csi2rx->p_clk); in csi2rx_get_resources()
534 ret = clk_prepare_enable(csi2rx->p_clk); in csi2rx_get_resources()
[all …]
Dcdns-csi2tx.c107 struct clk *p_clk; member
444 csi2tx->p_clk = devm_clk_get(&pdev->dev, "p_clk"); in csi2tx_get_resources()
445 if (IS_ERR(csi2tx->p_clk)) { in csi2tx_get_resources()
446 dev_err(&pdev->dev, "Couldn't get p_clk\n"); in csi2tx_get_resources()
447 return PTR_ERR(csi2tx->p_clk); in csi2tx_get_resources()
456 ret = clk_prepare_enable(csi2tx->p_clk); in csi2tx_get_resources()
458 dev_err(&pdev->dev, "Couldn't prepare and enable p_clk\n"); in csi2tx_get_resources()
463 clk_disable_unprepare(csi2tx->p_clk); in csi2tx_get_resources()
/linux-6.8/Documentation/devicetree/bindings/media/
Dcdns,csi2tx.txt14 * p_clk: register bank clock
49 clock-names = "p_clk", "esc_clk",
Dcdns,csi2rx.yaml39 - const: p_clk
142 clock-names = "sys_clk", "p_clk",
Dti,j721e-csi2rx-shim.yaml78 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
/linux-6.8/arch/arm64/boot/dts/ti/
Dk3-am62a-main.dtsi944 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
Dk3-am62-main.dtsi1011 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",