Lines Matching refs:mode_pages
1506 store_mode_supported_pages(char *mode_pages, int len, char *pages_buf)
1514 hp = (spc3_mode_param_header10_t *)mode_pages;
1519 pp = (spc3_mode_page_0_t *)(&mode_pages[i]);
1525 next_page = (uint8_t)mode_pages[i] & SPC3_MODE_PC_ALL;
1527 sp = (spc3_mode_subpage_t *)(&mode_pages[i]);
1534 next_page = (uint8_t)mode_pages[i] & SPC3_MODE_PC_ALL;
1543 is_mode_page_supported(int pc, int spc, char *mode_pages, int len)
1548 if ((pc == (uint8_t)mode_pages[i]) &&
1549 (spc == (uint8_t)mode_pages[i + 1]))
1556 print_mode_supported_pages(char *mode_pages, int len, FILE *stream)
1561 dl_fprintf(stream, "%02xh", mode_pages[i]);
1563 if ((uint8_t)mode_pages[i + 1] != 0)
1565 (uint8_t)mode_pages[i + 1]);
1575 char *mode_pages, int len, FILE *stream, dl_flags_t flags)
1580 if ((mode_pages[i] != SPC3_MODE_PC_ALL) &&
1581 ((uint8_t)mode_pages[i + 1] != SPC3_MODE_SPC_ALL))
1583 hp, tp, mode_pages[i], mode_pages[i + 1], stream,
1599 char *mode_pages, int len, FILE *stream, dl_flags_t flags)
1617 extended_page_codes[i].subpage_code, mode_pages, len))
1626 int pc, int spc, char *mode_pages, int len, FILE *stream, dl_flags_t flags)
1631 if (pc == mode_pages[i])
1633 (uint8_t)mode_pages[i + 1], stream, flags);
1637 print_mode_supported_pages(mode_pages, len, stream);