Searched refs:nctdevp (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/ncthwm/ |
H A D | ncthwm.c | 55 struct ncthwm_device *nctdevp; member 143 KASSERT(sc->nctdevp != NULL, ("Unreachable")); in ncthwm_query_fan_speed() 145 if (sc->nctdevp->fan_count <= arg2) in ncthwm_query_fan_speed() 147 fan = &sc->nctdevp->fan_info[arg2]; in ncthwm_query_fan_speed() 151 ncthwm_write(sc, NCTHWM_BANK_SELECT, sc->nctdevp->fan_bank); in ncthwm_query_fan_speed() 156 fan->name, val, sc->nctdevp->fan_bank, fan->high_byte_offset, fan->low_byte_offset); in ncthwm_query_fan_speed() 164 struct ncthwm_device *nctdevp; in ncthwm_probe() local 178 nctdevp = ncthwm_lookup_device(dev); in ncthwm_probe() 179 if (nctdevp == NULL) { in ncthwm_probe() 183 device_set_desc(dev, nctdevp->descr); in ncthwm_probe() [all …]
|
/freebsd/sys/dev/nctgpio/ |
H A D | nctgpio.c | 118 struct nct_device *nctdevp; member 1092 struct nct_device *nctdevp; in nct_lookup_device() local 1098 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() local 1122 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() 1142 sc->nctdevp = nct_lookup_device(dev); in nct_attach() [all …]
|