Searched refs:ucp (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/device_handler/ |
D | scsi_dh_alua.c | 542 unsigned char *ucp; in alua_rtpg() local 622 for (k = tpg_desc_tbl_off, ucp = h->buff + tpg_desc_tbl_off; in alua_rtpg() 624 k += off, ucp += off) { in alua_rtpg() 626 if (h->group_id == (ucp[2] << 8) + ucp[3]) { in alua_rtpg() 627 h->state = ucp[0] & 0x0f; in alua_rtpg() 628 h->pref = ucp[0] >> 7; in alua_rtpg() 629 valid_states = ucp[1]; in alua_rtpg() 631 off = 8 + (ucp[7] * 4); in alua_rtpg()
|
/drivers/scsi/ |
D | wd33c93.c | 808 uchar asr, sr, phs, id, lun, *ucp, msg; in wd33c93_intr() local 927 ucp = hostdata->outgoing_msg + 1; in wd33c93_intr() 929 ucp[0], ucp[2], ucp[3], ucp[4]); in wd33c93_intr() 1060 ucp = hostdata->incoming_msg; in wd33c93_intr() 1063 printk("%02x", ucp[hostdata->incoming_ptr]); in wd33c93_intr() 1068 (hostdata->incoming_ptr == (ucp[1] + 1))) { in wd33c93_intr() 1070 switch (ucp[2]) { /* what's the EXTENDED code? */ in wd33c93_intr() 1099 if (ucp[4]) /* well, sync transfer */ in wd33c93_intr() 1100 id = calc_sync_xfer(ucp[3], ucp[4], in wd33c93_intr() 1103 else if (ucp[3]) /* very unlikely... */ in wd33c93_intr() [all …]
|
D | in2000.c | 838 uchar asr, sr, phs, id, lun, *ucp, msg; in in2000_intr() local 1237 ucp = hostdata->incoming_msg; in in2000_intr() 1240 printk("%02x", ucp[hostdata->incoming_ptr]); in in2000_intr() 1244 if ((hostdata->incoming_ptr >= 2) && (hostdata->incoming_ptr == (ucp[1] + 1))) { in in2000_intr() 1246 switch (ucp[2]) { /* what's the EXTENDED code? */ in in2000_intr() 1248 id = calc_sync_xfer(ucp[3], ucp[4]); in in2000_intr() 1291 printk("Rejecting Unknown Extended Message(%02x). ", ucp[2]); in in2000_intr()
|
D | scsi_error.c | 2534 const u8 * ucp; in scsi_get_sense_info_fld() local 2551 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld() 2553 if (ucp && (0xa == ucp[1])) { in scsi_get_sense_info_fld() 2558 ull |= ucp[4 + j]; in scsi_get_sense_info_fld()
|
D | st.c | 320 const u8 *ucp; in st_analyze_sense() local 342 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in st_analyze_sense() 343 s->flags = ucp ? (ucp[3] & 0xe0) : 0; in st_analyze_sense()
|
D | osst.c | 205 const u8 *ucp; in osst_analyze_sense() local 227 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in osst_analyze_sense() 228 s->flags = ucp ? (ucp[3] & 0xe0) : 0; in osst_analyze_sense()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 512 struct sym_ucmd *ucp = SYM_UCMD_PTR(cmd); in sym53c8xx_queue_command_lck() local 516 memset(ucp, 0, sizeof(*ucp)); in sym53c8xx_queue_command_lck()
|