Lines Matching refs:p
3349 struct scsi_cmnd *p; in doing_srb_done() local
3352 p = srb->cmd; in doing_srb_done()
3353 printk("G:%p(%02i-%i) ", p, in doing_srb_done()
3354 p->device->id, (u8)p->device->lun); in doing_srb_done()
3358 set_host_byte(p, did_flag); in doing_srb_done()
3359 set_status_byte(p, SAM_STAT_GOOD); in doing_srb_done()
3365 scsi_done(p); in doing_srb_done()
3380 p = srb->cmd; in doing_srb_done()
3382 printk("W:%p<%02i-%i>", p, p->device->id, in doing_srb_done()
3383 (u8)p->device->lun); in doing_srb_done()
3385 set_host_byte(p, did_flag); in doing_srb_done()
3386 set_status_byte(p, SAM_STAT_GOOD); in doing_srb_done()
3588 struct DeviceCtlBlk *p = NULL, *iter; in device_alloc() local
3592 p = iter; in device_alloc()
3596 if (!p) { in device_alloc()
3604 p->target_id, p->target_lun); in device_alloc()
3605 dcb->sync_mode = p->sync_mode; in device_alloc()
3606 dcb->sync_period = p->sync_period; in device_alloc()
3607 dcb->min_nego_period = p->min_nego_period; in device_alloc()
3608 dcb->sync_offset = p->sync_offset; in device_alloc()
3609 dcb->inquiry7 = p->inquiry7; in device_alloc()