Searched refs:nctdevp (Results 1 – 2 of 2) sorted by relevance
56 struct ncthwm_device *nctdevp; member144 KASSERT(sc->nctdevp != NULL, ("Unreachable")); in ncthwm_query_fan_speed()146 if (sc->nctdevp->fan_count <= arg2) in ncthwm_query_fan_speed()148 fan = &sc->nctdevp->fan_info[arg2]; in ncthwm_query_fan_speed()165 struct ncthwm_device *nctdevp; in ncthwm_probe() local179 nctdevp = ncthwm_lookup_device(dev); in ncthwm_probe()180 if (nctdevp == NULL) { in ncthwm_probe()184 device_set_desc(dev, nctdevp->descr); in ncthwm_probe()198 sc->nctdevp = ncthwm_lookup_device(dev); in ncthwm_attach()199 if (sc->nctdevp == NULL) { in ncthwm_attach()[all …]
118 struct nct_device *nctdevp; member1092 struct nct_device *nctdevp; in nct_lookup_device() local1098 for (i = 0, nctdevp = nct_devices; i < nitems(nct_devices); i++, nctdevp++) { in nct_lookup_device()1099 if (devid == nctdevp->devid && nctdevp->extid == extid) in nct_lookup_device()1100 return (nctdevp); in nct_lookup_device()1108 struct nct_device *nctdevp; in nct_probe() local1122 nctdevp = nct_lookup_device(dev); in nct_probe()1123 if (nctdevp == NULL) { in nct_probe()1127 device_set_desc(dev, nctdevp->descr); in nct_probe()1185 for (g = 0, gp = sc->nctdevp->groups; g < sc->nctdevp->ngroups; g++, gp++) { in nct_attach()[all …]