Lines Matching defs:snpsid
355 u32 snpsid;
357 snpsid = ioread32(hsotg->regs + GSNPSID);
358 if ((snpsid & GSNPSID_ID_MASK) == DWC2_OTG_ID ||
359 (snpsid & GSNPSID_ID_MASK) == DWC2_FS_IOT_ID ||
360 (snpsid & GSNPSID_ID_MASK) == DWC2_HS_IOT_ID)
381 hw->snpsid = dwc2_readl(hsotg, GSNPSID);
382 if ((hw->snpsid & GSNPSID_ID_MASK) != DWC2_OTG_ID &&
383 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_FS_IOT_ID &&
384 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_HS_IOT_ID) {
386 hw->snpsid);
390 dev_dbg(hsotg->dev, "Core Release: %1x.%1x%1x%1x (snpsid=%x)\n",
391 hw->snpsid >> 12 & 0xf, hw->snpsid >> 8 & 0xf,
392 hw->snpsid >> 4 & 0xf, hw->snpsid & 0xf, hw->snpsid);