Searched refs:ch_cmd (Results 1 – 2 of 2) sorted by relevance
774 u_char ch_cmd[12]; in ch_ioctl() local792 memset(ch_cmd, 0, sizeof(ch_cmd)); in ch_ioctl()793 ch_cmd[0] = READ_ELEMENT_STATUS; in ch_ioctl()794 ch_cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_ioctl()797 ch_cmd[2] = (elem >> 8) & 0xff; in ch_ioctl()798 ch_cmd[3] = elem & 0xff; in ch_ioctl()799 ch_cmd[5] = 1; in ch_ioctl()800 ch_cmd[9] = 255; in ch_ioctl()802 result = ch_do_scsi(ch, ch_cmd, 12, in ch_ioctl()
77 unsigned long nbytes, ch_cmd, cmd; in st_fdma_xfer_desc() local86 ch_cmd = fchan->fdesc->node[0].pdesc | FDMA_CH_CMD_STA_START; in st_fdma_xfer_desc()90 fchan_write(fchan, ch_cmd, FDMA_CH_CMD_OFST); in st_fdma_xfer_desc()