Searched refs:chipc_dev (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl.c130 sc->chipc_dev = device_get_parent(dev);
131 sc->quirks = bhnd_device_quirks(sc->chipc_dev, pwrctl_devices,
134 bus = device_get_parent(sc->chipc_dev);
139 hostb_dev = bhnd_bus_find_hostb_device(device_get_parent(sc->chipc_dev));
143 cid = bhnd_get_chipid(sc->chipc_dev);
163 chipc_sc = device_get_softc(sc->chipc_dev);
H A Dbhnd_pwrctl_subr.c312 cid = bhnd_get_chipid(sc->chipc_dev);
313 ccaps = BHND_CHIPC_GET_CAPS(sc->chipc_dev);
336 return (bhnd_pwrctl_hostb_get_clksrc(sc->chipc_dev,
504 if (bhnd_get_hwrev(sc->chipc_dev) == 10)
520 bhnd_pwrctl_hostb_ungate_clock(sc->chipc_dev,
548 bhnd_pwrctl_hostb_gate_clock(sc->chipc_dev,
H A Dbhnd_pwrctlvar.h109 device_t chipc_dev; /**< core device */ member in struct:bhnd_pwrctl_softc
/freebsd-13-stable/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c169 sc->chipc_dev = bhnd_retain_provider(dev, BHND_SERVICE_CHIPC);
170 if (sc->chipc_dev == NULL) {
214 if (sc->chipc_dev != NULL) {
215 bhnd_release_provider(sc->dev, sc->chipc_dev,
239 bhnd_release_provider(sc->dev, sc->chipc_dev, BHND_SERVICE_CHIPC);
601 return (BHND_CHIPC_READ_CHIPST(sc->chipc_dev));
H A Dbhnd_pmuvar.h107 device_t chipc_dev; /**< chipcommon device */ member in struct:bhnd_pmu_softc
H A Dbhnd_pmu_subr.c262 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev);
271 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev);
728 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev);
774 if (bhnd_get_attach_type(sc->chipc_dev) == BHND_ATTACH_NATIVE) {
831 chipst = BHND_CHIPC_READ_CHIPST(sc->chipc_dev);
883 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, BHND_NVAR_RMIN, &nval);
894 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, BHND_NVAR_RMAX, &nval);
1029 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, name, &val);
1104 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, name, &val);
2689 error = bhnd_nvram_getvar_uint32(sc->chipc_dev, BHND_NVAR_XTALFRE
[all...]

Completed in 114 milliseconds