Home
last modified time | relevance | path

Searched refs:clkset (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns-usb2.c25 struct regmap *clkset; member
69 if (usb2->clkset) in bcm_ns_usb2_phy_init()
70 regmap_write(usb2->clkset, 0, 0x0000ea68); in bcm_ns_usb2_phy_init()
83 if (usb2->clkset) in bcm_ns_usb2_phy_init()
84 regmap_write(usb2->clkset, 0, 0x00000000); in bcm_ns_usb2_phy_init()
117 usb2->clkset = syscon_regmap_lookup_by_phandle(dev->of_node, in bcm_ns_usb2_probe()
119 if (IS_ERR(usb2->clkset)) { in bcm_ns_usb2_probe()
121 return PTR_ERR(usb2->clkset); in bcm_ns_usb2_probe()
/openbmc/u-boot/arch/arm/cpu/arm920t/ep93xx/
H A Dspeed.c29 const uint32_t clkset = readl(pllreg); in get_PLLCLK() local
31 rate *= ((clkset >> SYSCON_CLKSET_PLL_X1FBD1_SHIFT) & 0x1f) + 1; in get_PLLCLK()
32 rate *= ((clkset >> SYSCON_CLKSET_PLL_X2FBD2_SHIFT) & 0x3f) + 1; in get_PLLCLK()
33 do_div(rate, (clkset & 0x1f) + 1); /* X2IPD */ in get_PLLCLK()
34 for (i = 0; i < ((clkset >> SYSCON_CLKSET_PLL_PS_SHIFT) & 3); i++) in get_PLLCLK()
/openbmc/linux/Documentation/devicetree/bindings/phy/
H A Dbcm-ns-usb2-phy.yaml32 brcm,syscon-clkset:
33 description: phandle to syscon for clkset register
56 - brcm,syscon-clkset
68 brcm,syscon-clkset = <&clkset>;
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dbrcm,cru.yaml86 brcm,syscon-clkset = <&clkset>;
92 clkset: syscon@180 {
93 compatible = "brcm,cru-clkset", "syscon";
H A Dsyscon.yaml42 - brcm,cru-clkset
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_mipi_dsi.c86 const struct dsi_clk_config *clkset; member
363 if (fout < setup_info->clkset->min_freq || in rcar_mipi_dsi_pll_calc()
364 fout > setup_info->clkset->max_freq) in rcar_mipi_dsi_pll_calc()
406 setup_info->clkset = clk_cfg; in rcar_mipi_dsi_parameters_calc()
566 | CLOCKSET2_VCO_CNTRL(setup_info.clkset->vco_cntrl); in rcar_mipi_dsi_startup()
567 clockset3 = CLOCKSET3_PROP_CNTRL(setup_info.clkset->prop_cntrl) in rcar_mipi_dsi_startup()
568 | CLOCKSET3_INT_CNTRL(setup_info.clkset->int_cntrl) in rcar_mipi_dsi_startup()
569 | CLOCKSET3_CPBIAS_CNTRL(setup_info.clkset->cpbias_cntrl) in rcar_mipi_dsi_startup()
570 | CLOCKSET3_GMP_CNTRL(setup_info.clkset->gmp_cntrl); in rcar_mipi_dsi_startup()
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-ns.dtsi405 brcm,syscon-clkset = <&cru_clkset>;
412 compatible = "brcm,cru-clkset", "syscon";
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c3847 u8 clkval, clkset; in brcmf_sdio_buscoreprep() local
3850 clkset = SBSDIO_FORCE_HW_CLKREQ_OFF | SBSDIO_ALP_AVAIL_REQ; in brcmf_sdio_buscoreprep()
3851 brcmf_sdiod_writeb(sdiodev, SBSDIO_FUNC1_CHIPCLKCSR, clkset, &err); in brcmf_sdio_buscoreprep()
3861 if ((clkval & ~SBSDIO_AVBITS) != clkset) { in brcmf_sdio_buscoreprep()
3863 clkset, clkval); in brcmf_sdio_buscoreprep()
3878 clkset = SBSDIO_FORCE_HW_CLKREQ_OFF | SBSDIO_FORCE_ALP; in brcmf_sdio_buscoreprep()
3879 brcmf_sdiod_writeb(sdiodev, SBSDIO_FUNC1_CHIPCLKCSR, clkset, &err); in brcmf_sdio_buscoreprep()