Lines Matching refs:psb
665 struct psb_s *psb; in find_psb_table() local
676 psb = phys_to_virt(i); in find_psb_table()
677 if (memcmp(psb, PSB_ID_STRING, PSB_ID_STRING_LEN) != 0) in find_psb_table()
680 pr_debug("found PSB header at 0x%p\n", psb); in find_psb_table()
682 pr_debug("table vers: 0x%x\n", psb->tableversion); in find_psb_table()
683 if (psb->tableversion != PSB_VERSION_1_4) { in find_psb_table()
688 pr_debug("flags: 0x%x\n", psb->flags1); in find_psb_table()
689 if (psb->flags1) { in find_psb_table()
694 data->vstable = psb->vstable; in find_psb_table()
698 pr_debug("flags2: 0x%x\n", psb->flags2); in find_psb_table()
699 data->rvo = psb->flags2 & 3; in find_psb_table()
700 data->irt = ((psb->flags2) >> 2) & 3; in find_psb_table()
701 mvs = ((psb->flags2) >> 4) & 3; in find_psb_table()
703 data->batps = ((psb->flags2) >> 6) & 3; in find_psb_table()
709 pr_debug("numpst: 0x%x\n", psb->num_tables); in find_psb_table()
710 cpst = psb->num_tables; in find_psb_table()
711 if ((psb->cpuid == 0x00000fc0) || in find_psb_table()
712 (psb->cpuid == 0x00000fe0)) { in find_psb_table()
723 data->plllock = psb->plllocktime; in find_psb_table()
724 pr_debug("plllocktime: 0x%x (units 1us)\n", psb->plllocktime); in find_psb_table()
725 pr_debug("maxfid: 0x%x\n", psb->maxfid); in find_psb_table()
726 pr_debug("maxvid: 0x%x\n", psb->maxvid); in find_psb_table()
727 maxvid = psb->maxvid; in find_psb_table()
729 data->numps = psb->numps; in find_psb_table()
732 (struct pst_s *)(psb+1), maxvid); in find_psb_table()