/linux/drivers/clk/hisilicon/ |
H A D | clk-hix5hd2.c | 260 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 …]
|
H A D | clk-hi3559a.c | 458 struct hi3559av100_clk_pll *p_clk = NULL; in hisi_clk_register_pll() local 463 p_clk = devm_kcalloc(dev, nums, sizeof(*p_clk), GFP_KERNEL); in hisi_clk_register_pll() 464 if (!p_clk) in hisi_clk_register_pll() 475 p_clk->ctrl_reg1 = base + clks[i].ctrl_reg1; in hisi_clk_register_pll() 476 p_clk->frac_shift = clks[i].frac_shift; in hisi_clk_register_pll() 477 p_clk->frac_width = clks[i].frac_width; in hisi_clk_register_pll() 478 p_clk->postdiv1_shift = clks[i].postdiv1_shift; in hisi_clk_register_pll() 479 p_clk->postdiv1_width = clks[i].postdiv1_width; in hisi_clk_register_pll() 480 p_clk->postdiv2_shift = clks[i].postdiv2_shift; in hisi_clk_register_pll() 481 p_clk->postdiv2_width = clks[i].postdiv2_width; in hisi_clk_register_pll() [all …]
|
/linux/drivers/media/platform/cadence/ |
H A D | cdns-csi2rx.c | 86 struct clk *p_clk; member 214 ret = clk_prepare_enable(csi2rx->p_clk); in csi2rx_start() 301 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_start() 318 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_start() 329 clk_prepare_enable(csi2rx->p_clk); in csi2rx_stop() 351 clk_disable_unprepare(csi2rx->p_clk); in csi2rx_stop() 531 csi2rx->p_clk = devm_clk_get(&pdev->dev, "p_clk"); in csi2rx_get_resources() 532 if (IS_ERR(csi2rx->p_clk)) { in csi2rx_get_resources() 534 return PTR_ERR(csi2rx->p_clk); in csi2rx_get_resources() 553 ret = clk_prepare_enable(csi2rx->p_clk); in csi2rx_get_resources() [all …]
|
H A D | cdns-csi2tx.c | 107 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/Documentation/devicetree/bindings/media/ |
H A D | cdns,csi2tx.txt | 14 * p_clk: register bank clock 49 clock-names = "p_clk", "esc_clk",
|
H A D | cdns,csi2rx.yaml | 39 - const: p_clk 142 clock-names = "sys_clk", "p_clk",
|
H A D | ti,j721e-csi2rx-shim.yaml | 78 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j784s4-main.dtsi | 818 clock-names = "sys_clk", "p_clk", "pixel_if0_clk", 871 clock-names = "sys_clk", "p_clk", "pixel_if0_clk", 923 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
H A D | k3-j721s2-main.dtsi | 1247 clock-names = "sys_clk", "p_clk", "pixel_if0_clk", 1300 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
H A D | k3-am62-main.dtsi | 1012 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
H A D | k3-am62a-main.dtsi | 1022 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
H A D | k3-am62p-j722s-common-main.dtsi | 1011 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
H A D | k3-j721e-main.dtsi | 592 clock-names = "sys_clk", "p_clk", "pixel_if0_clk", 645 clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
|
/linux/arch/riscv/boot/dts/starfive/ |
H A D | jh7110.dtsi | 1131 clock-names = "sys_clk", "p_clk",
|