Home
last modified time | relevance | path

Searched refs:clkctl (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/sys/dev/bhnd/
H A Dbhnd.c386 if (clkctl != NULL) { in bhnd_generic_alloc_pmu()
471 if (clkctl == NULL) { in bhnd_generic_alloc_pmu()
500 if (clkctl == NULL) in bhnd_generic_release_pmu()
508 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_release_pmu()
522 r = clkctl->cc_res; in bhnd_generic_release_pmu()
618 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_request_clock()
626 BHND_CLKCTL_UNLOCK(clkctl); in bhnd_generic_request_clock()
684 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_enable_clocks()
692 BHND_CLKCTL_UNLOCK(clkctl); in bhnd_generic_enable_clocks()
727 BHND_CLKCTL_LOCK(clkctl); in bhnd_generic_request_ext_rsrc()
[all …]
H A Dbhnd_subr.c1080 struct bhnd_core_clkctl *clkctl; in bhnd_alloc_core_clkctl() local
1082 clkctl = malloc(sizeof(*clkctl), M_BHND, M_ZERO | M_NOWAIT); in bhnd_alloc_core_clkctl()
1083 if (clkctl == NULL) in bhnd_alloc_core_clkctl()
1086 clkctl->cc_dev = dev; in bhnd_alloc_core_clkctl()
1087 clkctl->cc_pmu_dev = pmu_dev; in bhnd_alloc_core_clkctl()
1088 clkctl->cc_res = r; in bhnd_alloc_core_clkctl()
1089 clkctl->cc_res_offset = offset; in bhnd_alloc_core_clkctl()
1094 BHND_CLKCTL_LOCK_INIT(clkctl); in bhnd_alloc_core_clkctl()
1096 return (clkctl); in bhnd_alloc_core_clkctl()
1109 free(clkctl, M_BHND); in bhnd_free_core_clkctl()
[all …]
H A Dbhndvar.h60 struct bhnd_core_clkctl *clkctl);
62 struct bhnd_core_clkctl *clkctl,
/freebsd-13.1/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c159 sc->clkctl = bhnd_alloc_core_clkctl(core, dev, sc->res, BHND_CLK_CTL_ST, in bhnd_pmu_attach()
161 if (sc->clkctl == NULL) { in bhnd_pmu_attach()
211 if (sc->clkctl != NULL) in bhnd_pmu_attach()
212 bhnd_free_core_clkctl(sc->clkctl); in bhnd_pmu_attach()
238 bhnd_free_core_clkctl(sc->clkctl); in bhnd_pmu_detach()
H A Dbhnd_pmuvar.h111 struct bhnd_core_clkctl *clkctl; /**< pmu clkctl register */ member
H A Dbhnd_pmu_subr.c97 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask))
/freebsd-13.1/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl_subr.c417 uint32_t clkctl; in bhnd_pwrctl_init() local
426 clkctl = (CHIPC_ILP_DIV_1MHZ << CHIPC_SYCC_CD_SHIFT); in bhnd_pwrctl_init()
427 clkctl &= CHIPC_SYCC_CD_MASK; in bhnd_pwrctl_init()
428 bhnd_bus_write_4(sc->res, CHIPC_SYS_CLK_CTL, clkctl); in bhnd_pwrctl_init()
/freebsd-13.1/sys/contrib/device-tree/Bindings/clock/
H A Dbrcm,bcm63xx-clocks.txt20 clkctl: clock-controller@10000004 {
/freebsd-13.1/sys/contrib/device-tree/Bindings/spi/
H A Dspi-bcm63xx-hsspi.txt26 clocks = <&clkctl 9>, <&hsspi_pll>;
H A Dspi-bcm63xx.txt26 clocks = <&clkctl 9>;
/freebsd-13.1/sys/contrib/device-tree/src/mips/brcm/
H A Dbcm3368.dtsi54 clkctl: clock-controller@fff8c004 { label
H A Dbcm63268.dtsi54 clkctl: clock-controller@10000004 { label
H A Dbcm6328.dtsi54 clkctl: clock-controller@10000004 { label
H A Dbcm6368.dtsi54 clkctl: clock-controller@10000004 { label
H A Dbcm6362.dtsi54 clkctl: clock-controller@10000004 { label
H A Dbcm6358.dtsi54 clkctl: clock-controller@fffe0004 { label