Searched refs:ch_cmd (Results 1 – 2 of 2) sorted by relevance
754 u_char ch_cmd[12]; in ch_ioctl() local772 memset(ch_cmd, 0, sizeof(ch_cmd)); in ch_ioctl()773 ch_cmd[0] = READ_ELEMENT_STATUS; in ch_ioctl()774 ch_cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_ioctl()777 ch_cmd[2] = (elem >> 8) & 0xff; in ch_ioctl()778 ch_cmd[3] = elem & 0xff; in ch_ioctl()779 ch_cmd[5] = 1; in ch_ioctl()780 ch_cmd[9] = 255; in ch_ioctl()782 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()