Lines Matching defs:pun
237 done dynamically and the ldn <-> pun,lun maps can be looked-up at boottime
328 int total_scsi_devices; /* number of physical pun,lun */
339 /* array to convert (pun, lun) into logical device number: */
663 printk("IBM MCA SCSI: Ignoring interrupt from pun=%x, lun=%x.\n", cmd->target, cmd->device->lun);
847 static int immediate_assign(int host_index, unsigned int pun, unsigned int lun, unsigned int ldn, unsigned int operation)
859 imm_cmd |= (unsigned long) ((pun & 7) << 20) | ((pun & 8) << 24);
868 imm_cmd |= (unsigned long) ((pun & 7) << 20);
1118 /* mark the adapter at its pun on all luns */
1192 /* if pun is not the adapter: */
1193 /* set ldn=0 to pun,lun */
1259 /* Map remaining ldns only to NON-existing pun,lun
1274 printk("IBM MCA SCSI: Device order: IBM/ANSI (pun=7 is first).\n");
1276 printk("IBM MCA SCSI: Device order: New Industry Standard (pun=0 is first).\n");
1867 /* map found ldn to pun,lun */
1871 /* unassign all ldns (pun,lun,ldn does not matter for remove) */
1888 /* unassign again all ldns (pun,lun,ldn does not matter for remove) */
1890 /* remap all ldns, as written in the pun/lun table */
2150 printk(KERN_WARNING "IBM MCA SCSI: Sending abort to device pun=%d, lun=%d.\n", target, cmd->device->lun);