Searched refs:chipc_dev (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl.c | 131 sc->chipc_dev = device_get_parent(dev); in bhnd_pwrctl_attach() 132 sc->quirks = bhnd_device_quirks(sc->chipc_dev, pwrctl_devices, in bhnd_pwrctl_attach() 135 bus = device_get_parent(sc->chipc_dev); in bhnd_pwrctl_attach() 140 hostb_dev = bhnd_bus_find_hostb_device(device_get_parent(sc->chipc_dev)); in bhnd_pwrctl_attach() 144 cid = bhnd_get_chipid(sc->chipc_dev); in bhnd_pwrctl_attach() 164 chipc_sc = device_get_softc(sc->chipc_dev); in bhnd_pwrctl_attach()
|
| H A D | bhnd_pwrctl_subr.c | 312 cid = bhnd_get_chipid(sc->chipc_dev); in bhnd_pwrctl_getclk_speed() 313 ccaps = BHND_CHIPC_GET_CAPS(sc->chipc_dev); in bhnd_pwrctl_getclk_speed() 336 return (bhnd_pwrctl_hostb_get_clksrc(sc->chipc_dev, in bhnd_pwrctl_slowclk_src() 504 if (bhnd_get_hwrev(sc->chipc_dev) == 10) in bhnd_pwrctl_setclk() 520 bhnd_pwrctl_hostb_ungate_clock(sc->chipc_dev, in bhnd_pwrctl_setclk() 548 bhnd_pwrctl_hostb_gate_clock(sc->chipc_dev, in bhnd_pwrctl_setclk()
|
| H A D | bhnd_pwrctlvar.h | 111 device_t chipc_dev; /**< core device */ member
|
| /freebsd-12.1/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu.c | 169 sc->chipc_dev = bhnd_retain_provider(dev, BHND_SERVICE_CHIPC); in bhnd_pmu_attach() 170 if (sc->chipc_dev == NULL) { in bhnd_pmu_attach() 214 if (sc->chipc_dev != NULL) { in bhnd_pmu_attach() 215 bhnd_release_provider(sc->dev, sc->chipc_dev, in bhnd_pmu_attach() 239 bhnd_release_provider(sc->dev, sc->chipc_dev, BHND_SERVICE_CHIPC); in bhnd_pmu_detach() 602 return (BHND_CHIPC_READ_CHIPST(sc->chipc_dev)); in bhnd_pmu_read_chipst()
|
| H A D | bhnd_pmu_subr.c | 262 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_set_ldo_voltage() 271 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_set_ldo_voltage() 728 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_res_masks() 774 if (bhnd_get_attach_type(sc->chipc_dev) == BHND_ATTACH_NATIVE) { in bhnd_pmu_res_masks() 831 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_res_masks() 1029 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, name, &val); in bhnd_pmu_res_init() 1104 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, name, &val); in bhnd_pmu_res_init() 2695 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, BHND_NVAR_XTALFREQ, in bhnd_pmu_init() 2892 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_rcal() 2902 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev); in bhnd_pmu_rcal() [all …]
|
| H A D | bhnd_pmuvar.h | 107 device_t chipc_dev; /**< chipcommon device */ member
|