Home
last modified time | relevance | path

Searched full:clkctl (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/dev/bhnd/
H A Dbhnd.c365 struct bhnd_core_clkctl *clkctl; in bhnd_generic_alloc_pmu() local
381 clkctl = bhnd_get_pmu_info(child); in bhnd_generic_alloc_pmu()
385 if (clkctl != NULL) { in bhnd_generic_alloc_pmu()
445 /* Retain a PMU reference for the clkctl instance state */ in bhnd_generic_alloc_pmu()
467 /* Allocate the clkctl instance */ in bhnd_generic_alloc_pmu()
468 clkctl = bhnd_alloc_core_clkctl(child, pmu_dev, r, pmu_regs, in bhnd_generic_alloc_pmu()
470 if (clkctl == NULL) { in bhnd_generic_alloc_pmu()
476 bhnd_set_pmu_info(child, clkctl); in bhnd_generic_alloc_pmu()
486 struct bhnd_core_clkctl *clkctl; in bhnd_generic_release_pmu() local
495 clkctl = bhnd_get_pmu_info(child); in bhnd_generic_release_pmu()
[all …]
H A Dbhnd_private.h57 * bhnd(4) per-core PMU clkctl quirks.
67 * Per-core bhnd(4) PMU clkctl registers.
72 uint32_t cc_quirks; /**< core-specific clkctl quirks */
73 struct bhnd_resource *cc_res; /**< resource mapping core's clkctl register */
74 bus_size_t cc_res_offset; /**< offset to clkctl register */
81 ("reading clkctl on suspended core will trigger system livelock"))
H A Dbhnd_subr.c176 * Device table entries for core-specific CLKCTL quirk lookup.
184 /** ChipCommon CLKCTL quirks */
186 /* HTAVAIL/ALPAVAIL are bitswapped in chipc's CLKCTL */
192 /** PCMCIA CLKCTL quirks */
194 /* HTAVAIL/ALPAVAIL are bitswapped in pcmcia's CLKCTL */
1053 * Allocate and return a new per-core PMU clock control/status (clkctl)
1060 * returned clkctl instance.
1064 * lifetime of the returned clkctl instance.
1078 struct bhnd_core_clkctl *clkctl; in bhnd_alloc_core_clkctl() local
1080 clkctl = malloc(sizeof(*clkctl), M_BHND, M_ZERO | M_NOWAIT); in bhnd_alloc_core_clkctl()
[all …]
H A Dbhndvar.h59 struct bhnd_core_clkctl *clkctl);
61 struct bhnd_core_clkctl *clkctl,
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c151 /* Allocate our own core clkctl state directly; we use this to wait on in bhnd_pmu_attach()
153 * clkctl handling and registration of this device as a PMU */ in bhnd_pmu_attach()
154 sc->clkctl = bhnd_alloc_core_clkctl(core, dev, sc->res, BHND_CLK_CTL_ST, in bhnd_pmu_attach()
156 if (sc->clkctl == NULL) { in bhnd_pmu_attach()
157 device_printf(sc->dev, "failed to allocate clkctl for %s\n", in bhnd_pmu_attach()
206 if (sc->clkctl != NULL) in bhnd_pmu_attach()
207 bhnd_free_core_clkctl(sc->clkctl); in bhnd_pmu_attach()
233 bhnd_free_core_clkctl(sc->clkctl); in bhnd_pmu_detach()
H A Dbhnd_pmuvar.h109 struct bhnd_core_clkctl *clkctl; /**< pmu clkctl register */ member
H A Dbhnd_pmu_subr.c94 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask))
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl_subr.c414 uint32_t clkctl; in bhnd_pwrctl_init() local
423 clkctl = (CHIPC_ILP_DIV_1MHZ << CHIPC_SYCC_CD_SHIFT); in bhnd_pwrctl_init()
424 clkctl &= CHIPC_SYCC_CD_MASK; in bhnd_pwrctl_init()
425 bhnd_bus_write_4(sc->res, CHIPC_SYS_CLK_CTL, clkctl); in bhnd_pwrctl_init()
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dbrcm,bcm63xx-clocks.txt20 clkctl: clock-controller@10000004 {
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-bcm63xx.txt26 clocks = <&clkctl 9>;
H A Dspi-bcm63xx-hsspi.txt26 clocks = <&clkctl 9>, <&hsspi_pll>;
/freebsd/sys/contrib/device-tree/src/mips/brcm/
H A Dbcm3368.dtsi57 clkctl: clock-controller@fff8c004 { label
/freebsd/sys/arm/ti/
H A Dti_sysc.c65 * Documentation/devicetree/clock/ti-clkctl.txt
/freebsd/sys/dev/bhnd/siba/
H A Dsiba.c888 * automatically clearing clkctl in siba_suspend_hw()