Searched full:clkctl (Results 1 – 14 of 14) sorted by relevance
| /freebsd/sys/dev/bhnd/ |
| H A D | bhnd.c | 365 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 D | bhnd_private.h | 57 * 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 D | bhnd_subr.c | 176 * 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 D | bhndvar.h | 59 struct bhnd_core_clkctl *clkctl); 61 struct bhnd_core_clkctl *clkctl,
|
| /freebsd/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu.c | 151 /* 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 D | bhnd_pmuvar.h | 109 struct bhnd_core_clkctl *clkctl; /**< pmu clkctl register */ member
|
| H A D | bhnd_pmu_subr.c | 94 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask))
|
| /freebsd/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl_subr.c | 414 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 D | brcm,bcm63xx-clocks.txt | 20 clkctl: clock-controller@10000004 {
|
| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | spi-bcm63xx.txt | 26 clocks = <&clkctl 9>;
|
| H A D | spi-bcm63xx-hsspi.txt | 26 clocks = <&clkctl 9>, <&hsspi_pll>;
|
| /freebsd/sys/contrib/device-tree/src/mips/brcm/ |
| H A D | bcm3368.dtsi | 57 clkctl: clock-controller@fff8c004 { label
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_sysc.c | 65 * Documentation/devicetree/clock/ti-clkctl.txt
|
| /freebsd/sys/dev/bhnd/siba/ |
| H A D | siba.c | 888 * automatically clearing clkctl in siba_suspend_hw()
|