Lines Matching refs:page_len
139 mode_sense(int fd, uchar_t pc, int dbd, int page_len, uchar_t *buffer) in mode_sense() argument
146 scmd.uscsi_buflen = page_len; in mode_sense()
155 scmd.uscsi_cdb[7] = (page_len >> 8) & 0xff; in mode_sense()
156 scmd.uscsi_cdb[8] = page_len & 0xff; in mode_sense()
170 uint_t header_len, page_len, copy_cnt; in get_mode_page() local
180 page_len = buf[header_len + 1] + 2; in get_mode_page()
182 copy_cnt = (page_len > buf_len) ? buf_len : page_len; in get_mode_page()
186 *plen = page_len; in get_mode_page()
327 int page_len; in get_read_write_speeds() local
334 if (!get_mode_page(fd, 0x2A, 0, sizeof (p), p, &page_len)) { in get_read_write_speeds()
338 if (page_len > 8) { in get_read_write_speeds()
341 if (page_len > 18) { in get_read_write_speeds()
344 if (page_len < 28) { in get_read_write_speeds()
353 if (page_len < 30) { in get_read_write_speeds()