Home
last modified time | relevance | path

Searched refs:ucp (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/
Dscsi_common.c272 u8 *ucp, len; in scsi_set_sense_information() local
275 ucp = (char *)scsi_sense_desc_find(buf, len + 8, 0); in scsi_set_sense_information()
276 if (!ucp) { in scsi_set_sense_information()
278 ucp = buf + 8 + len; in scsi_set_sense_information()
285 ucp[0] = 0; in scsi_set_sense_information()
286 ucp[1] = 0xa; in scsi_set_sense_information()
287 ucp[2] = 0x80; /* Valid bit */ in scsi_set_sense_information()
288 ucp[3] = 0; in scsi_set_sense_information()
289 put_unaligned_be64(info, &ucp[4]); in scsi_set_sense_information()
321 u8 *ucp, len; in scsi_set_sense_field_pointer() local
[all …]
Dwd33c93.c799 uchar asr, sr, phs, id, lun, *ucp, msg; in wd33c93_intr() local
918 ucp = hostdata->outgoing_msg + 1; in wd33c93_intr()
920 ucp[0], ucp[2], ucp[3], ucp[4]); in wd33c93_intr()
1051 ucp = hostdata->incoming_msg; in wd33c93_intr()
1054 printk("%02x", ucp[hostdata->incoming_ptr]); in wd33c93_intr()
1059 (hostdata->incoming_ptr == (ucp[1] + 1))) { in wd33c93_intr()
1061 switch (ucp[2]) { /* what's the EXTENDED code? */ in wd33c93_intr()
1090 if (ucp[4]) /* well, sync transfer */ in wd33c93_intr()
1091 id = calc_sync_xfer(ucp[3], ucp[4], in wd33c93_intr()
1094 else if (ucp[3]) /* very unlikely... */ in wd33c93_intr()
[all …]
Dscsi_error.c2541 const u8 * ucp; in scsi_get_sense_info_fld() local
2555 ucp = scsi_sense_desc_find(sense_buffer, sb_len, in scsi_get_sense_info_fld()
2557 if (ucp && (0xa == ucp[1])) { in scsi_get_sense_info_fld()
2558 *info_out = get_unaligned_be64(&ucp[4]); in scsi_get_sense_info_fld()
Dst.c324 const u8 *ucp; in st_analyze_sense() local
348 ucp = scsi_sense_desc_find(sense, SCSI_SENSE_BUFFERSIZE, 4); in st_analyze_sense()
349 s->flags = ucp ? (ucp[3] & 0xe0) : 0; in st_analyze_sense()
/drivers/scsi/sym53c8xx_2/
Dsym_glue.c493 struct sym_ucmd *ucp = SYM_UCMD_PTR(cmd); in sym53c8xx_queue_command_lck() local
497 memset(ucp, 0, sizeof(*ucp)); in sym53c8xx_queue_command_lck()
/drivers/s390/crypto/
Dpkey_api.c1194 struct pkey_clr2protk __user *ucp = (void __user *) arg; in pkey_unlocked_ioctl() local
1197 if (copy_from_user(&kcp, ucp, sizeof(kcp))) in pkey_unlocked_ioctl()
1204 if (copy_to_user(ucp, &kcp, sizeof(kcp))) in pkey_unlocked_ioctl()