Lines Matching refs:psb
631 struct psb_s *psb; in find_psb_table() local
642 psb = phys_to_virt(i); in find_psb_table()
643 if (memcmp(psb, PSB_ID_STRING, PSB_ID_STRING_LEN) != 0) in find_psb_table()
646 pr_debug("found PSB header at 0x%p\n", psb); in find_psb_table()
648 pr_debug("table vers: 0x%x\n", psb->tableversion); in find_psb_table()
649 if (psb->tableversion != PSB_VERSION_1_4) { in find_psb_table()
654 pr_debug("flags: 0x%x\n", psb->flags1); in find_psb_table()
655 if (psb->flags1) { in find_psb_table()
660 data->vstable = psb->vstable; in find_psb_table()
664 pr_debug("flags2: 0x%x\n", psb->flags2); in find_psb_table()
665 data->rvo = psb->flags2 & 3; in find_psb_table()
666 data->irt = ((psb->flags2) >> 2) & 3; in find_psb_table()
667 mvs = ((psb->flags2) >> 4) & 3; in find_psb_table()
669 data->batps = ((psb->flags2) >> 6) & 3; in find_psb_table()
675 pr_debug("numpst: 0x%x\n", psb->num_tables); in find_psb_table()
676 cpst = psb->num_tables; in find_psb_table()
677 if ((psb->cpuid == 0x00000fc0) || in find_psb_table()
678 (psb->cpuid == 0x00000fe0)) { in find_psb_table()
689 data->plllock = psb->plllocktime; in find_psb_table()
690 pr_debug("plllocktime: 0x%x (units 1us)\n", psb->plllocktime); in find_psb_table()
691 pr_debug("maxfid: 0x%x\n", psb->maxfid); in find_psb_table()
692 pr_debug("maxvid: 0x%x\n", psb->maxvid); in find_psb_table()
693 maxvid = psb->maxvid; in find_psb_table()
695 data->numps = psb->numps; in find_psb_table()
698 (struct pst_s *)(psb+1), maxvid); in find_psb_table()