Searched refs:ch_cmd (Results 1 – 1 of 1) sorted by relevance
737 u_char ch_cmd[12]; in ch_ioctl() local755 memset(ch_cmd, 0, sizeof(ch_cmd)); in ch_ioctl()756 ch_cmd[0] = READ_ELEMENT_STATUS; in ch_ioctl()757 ch_cmd[1] = (ch->device->lun << 5) | in ch_ioctl()760 ch_cmd[2] = (elem >> 8) & 0xff; in ch_ioctl()761 ch_cmd[3] = elem & 0xff; in ch_ioctl()762 ch_cmd[5] = 1; in ch_ioctl()763 ch_cmd[9] = 255; in ch_ioctl()765 result = ch_do_scsi(ch, ch_cmd, buffer, 256, DMA_FROM_DEVICE); in ch_ioctl()