Lines Matching refs:pcdp
3599 const struct page_code_desc *pcdp; in find_page_code_desc() local
3601 pcdp = find_mode_page_table(scsi_ptype, &num); in find_page_code_desc()
3602 if (pcdp) { in find_page_code_desc()
3603 for (k = 0; k < num; ++k, ++pcdp) { in find_page_code_desc()
3604 if (page_num == pcdp->page_code) in find_page_code_desc()
3605 return pcdp->desc; in find_page_code_desc()
3606 else if (page_num < pcdp->page_code) in find_page_code_desc()
3610 pcdp = &pc_desc_all[0]; in find_page_code_desc()
3612 for (k = 0; k < num; ++k, ++pcdp) { in find_page_code_desc()
3613 if (page_num == pcdp->page_code) in find_page_code_desc()
3614 return pcdp->desc; in find_page_code_desc()
3615 else if (page_num < pcdp->page_code) in find_page_code_desc()
3625 const struct page_code_desc *pcdp = &pc_desc_all[0]; in list_page_codes() local
3644 if (pcdp && (num > 0)) { in list_page_codes()
3645 if (k == pcdp->page_code) { in list_page_codes()
3646 printf(" 0x%02x %s\n", pcdp->page_code, in list_page_codes()
3647 pcdp->desc); in list_page_codes()
3648 ++pcdp; in list_page_codes()
3651 } else if (k > pcdp->page_code) { in list_page_codes()
3652 pcdp++; in list_page_codes()