Lines Matching refs:devid
207 uint16_t mfgid, devid, cap; in sdtemp_match() local
225 sdtemp_read_16(&sc, SDTEMP_REG_DEV_REV, &devid) | in sdtemp_match()
232 i = sdtemp_lookup(mfgid, devid); in sdtemp_match()
236 "rev 0x%02x at address 0x%02x\n", mfgid, devid >> 8, in sdtemp_match()
237 devid & 0xff, sc.sc_address); in sdtemp_match()
256 uint16_t mfgid, devid; in sdtemp_attach() local
268 (error = sdtemp_read_16(sc, SDTEMP_REG_DEV_REV, &devid)) != 0) { in sdtemp_attach()
274 sc->sc_devid = devid; in sdtemp_attach()
275 i = sdtemp_lookup(mfgid, devid); in sdtemp_attach()
276 sc->sc_devid_masked = devid & sdtemp_dev_table[i].sdtemp_mask; in sdtemp_attach()
282 if (SDTEMP_IS_TSE2004AV(devid)) in sdtemp_attach()
285 mfgid, devid & TSE2004AV_REV); in sdtemp_attach()
289 mfgid, devid >> 8, devid & 0xff, ia->ia_addr); in sdtemp_attach()