Searched refs:clkctl (Results 1 – 16 of 16) sorted by relevance
| /freebsd-13.1/sys/dev/bhnd/ |
| H A D | bhnd.c | 386 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 D | bhnd_subr.c | 1080 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 D | bhndvar.h | 60 struct bhnd_core_clkctl *clkctl); 62 struct bhnd_core_clkctl *clkctl,
|
| /freebsd-13.1/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu.c | 159 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 D | bhnd_pmuvar.h | 111 struct bhnd_core_clkctl *clkctl; /**< pmu clkctl register */ member
|
| H A D | bhnd_pmu_subr.c | 97 bhnd_core_clkctl_wait((_sc)->clkctl, (_val), (_mask))
|
| /freebsd-13.1/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl_subr.c | 417 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 D | brcm,bcm63xx-clocks.txt | 20 clkctl: clock-controller@10000004 {
|
| /freebsd-13.1/sys/contrib/device-tree/Bindings/spi/ |
| H A D | spi-bcm63xx-hsspi.txt | 26 clocks = <&clkctl 9>, <&hsspi_pll>;
|
| H A D | spi-bcm63xx.txt | 26 clocks = <&clkctl 9>;
|
| /freebsd-13.1/sys/contrib/device-tree/src/mips/brcm/ |
| H A D | bcm3368.dtsi | 54 clkctl: clock-controller@fff8c004 { label
|
| H A D | bcm63268.dtsi | 54 clkctl: clock-controller@10000004 { label
|
| H A D | bcm6328.dtsi | 54 clkctl: clock-controller@10000004 { label
|
| H A D | bcm6368.dtsi | 54 clkctl: clock-controller@10000004 { label
|
| H A D | bcm6362.dtsi | 54 clkctl: clock-controller@10000004 { label
|
| H A D | bcm6358.dtsi | 54 clkctl: clock-controller@fffe0004 { label
|