Lines Matching defs:chipid
2210 uint8_t chipid;
2213 chipid = (*sc->lm_readreg)(sc, LMD_CHIPID) & LM_ID_MASK;
2214 switch(chipid) {
2223 DPRINTF(("%s: chipid %x\n", __func__, chipid));
2311 uint8_t chipid;
2314 chipid = (*sc->lm_readreg)(sc, LMD_CHIPID) & LM_ID_MASK;
2315 switch(chipid) {
2352 uint8_t chipid;
2354 chipid = (*sc->lm_readreg)(sc, LMD_CHIPID) & LM_ID_MASK;
2357 aprint_error_dev(sc->sc_dev, "Unknown chip (ID 0x%02x)\n", chipid);
2490 uint8_t chipidreg, chipid, banksel;
2501 chipid = (*sc->lm_readreg)(sc, chipidreg);
2502 prod = wb_lookup(sc, wb_products, chipid);
2508 chipid = 0;
2513 return chipid;
2521 uint8_t chipid;
2530 chipid = wb_read_chipid(sc);
2531 DPRINTF(("%s: winbond chip id 0x%x\n", __func__, chipid));
2532 prod = wb_lookup(sc, wb_products, chipid);
2540 DPRINTF(("%s: chipid %02x, sioid = %04x\n", __func__, chipid,
2561 sc->chipid = wb_read_chipid(sc);
2562 DPRINTF(("%s: winbond chip id 0x%x\n", __func__, sc->chipid));
2564 if ((prod = wb_lookup(sc, wb_products, sc->chipid)) != NULL) {
2595 sc->chipid);
2606 switch (sc->chipid) {
2622 switch(sc->chipid) {