Searched refs:clkctl (Results 1 – 11 of 11) sorted by relevance
| /freebsd-14.2/sys/dev/bhnd/ |
| H A D | bhnd.c | 385 if (clkctl != NULL) { in bhnd_generic_alloc_pmu() 470 if (clkctl == NULL) { in bhnd_generic_alloc_pmu() 496 if (clkctl == NULL) in bhnd_generic_release_pmu() 504 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_release_pmu() 518 r = clkctl->cc_res; in bhnd_generic_release_pmu() 611 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_request_clock() 619 BHND_CLKCTL_UNLOCK(clkctl); in bhnd_generic_request_clock() 672 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_enable_clocks() 680 BHND_CLKCTL_UNLOCK(clkctl); in bhnd_generic_enable_clocks() 710 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_request_ext_rsrc() [all …]
|
| H A D | bhnd_subr.c | 1079 struct bhnd_core_clkctl *clkctl; in bhnd_alloc_core_clkctl() local 1081 clkctl = malloc(sizeof(*clkctl), M_BHND, M_ZERO | M_NOWAIT); in bhnd_alloc_core_clkctl() 1082 if (clkctl == NULL) in bhnd_alloc_core_clkctl() 1085 clkctl->cc_dev = dev; in bhnd_alloc_core_clkctl() 1086 clkctl->cc_pmu_dev = pmu_dev; in bhnd_alloc_core_clkctl() 1087 clkctl->cc_res = r; in bhnd_alloc_core_clkctl() 1088 clkctl->cc_res_offset = offset; in bhnd_alloc_core_clkctl() 1093 BHND_CLKCTL_LOCK_INIT(clkctl); in bhnd_alloc_core_clkctl() 1095 return (clkctl); in bhnd_alloc_core_clkctl() 1108 free(clkctl, M_BHND); in bhnd_free_core_clkctl() [all …]
|
| H A D | bhndvar.h | 59 struct bhnd_core_clkctl *clkctl); 61 struct bhnd_core_clkctl *clkctl,
|
| /freebsd-14.2/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu.c | 155 sc->clkctl = bhnd_alloc_core_clkctl(core, dev, sc->res, BHND_CLK_CTL_ST, in bhnd_pmu_attach() 157 if (sc->clkctl == NULL) { in bhnd_pmu_attach() 207 if (sc->clkctl != NULL) in bhnd_pmu_attach() 208 bhnd_free_core_clkctl(sc->clkctl); in bhnd_pmu_attach() 234 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 | 95 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask))
|
| /freebsd-14.2/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl_subr.c | 415 uint32_t clkctl; in bhnd_pwrctl_init() local 424 clkctl = (CHIPC_ILP_DIV_1MHZ << CHIPC_SYCC_CD_SHIFT); in bhnd_pwrctl_init() 425 clkctl &= CHIPC_SYCC_CD_MASK; in bhnd_pwrctl_init() 426 bhnd_bus_write_4(sc->res, CHIPC_SYS_CLK_CTL, clkctl); in bhnd_pwrctl_init()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/clock/ |
| H A D | brcm,bcm63xx-clocks.txt | 20 clkctl: clock-controller@10000004 {
|
| /freebsd-14.2/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-14.2/sys/contrib/device-tree/src/mips/brcm/ |
| H A D | bcm3368.dtsi | 57 clkctl: clock-controller@fff8c004 { label
|