Lines Matching defs:snpsid
383 u32 snpsid;
385 snpsid = ioread32(hsotg->regs + GSNPSID);
386 if ((snpsid & GSNPSID_ID_MASK) == DWC2_OTG_ID ||
387 (snpsid & GSNPSID_ID_MASK) == DWC2_FS_IOT_ID ||
388 (snpsid & GSNPSID_ID_MASK) == DWC2_HS_IOT_ID)
409 hw->snpsid = dwc2_readl(hsotg, GSNPSID);
410 if ((hw->snpsid & GSNPSID_ID_MASK) != DWC2_OTG_ID &&
411 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_FS_IOT_ID &&
412 (hw->snpsid & GSNPSID_ID_MASK) != DWC2_HS_IOT_ID) {
414 hw->snpsid);
418 dev_dbg(hsotg->dev, "Core Release: %1x.%1x%1x%1x (snpsid=%x)\n",
419 hw->snpsid >> 12 & 0xf, hw->snpsid >> 8 & 0xf,
420 hw->snpsid >> 4 & 0xf, hw->snpsid & 0xf, hw->snpsid);