Lines Matching refs:shpnt

2570 	struct Scsi_Host *shpnt = NULL;  in atp870u_probe()  local
2685 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit)); in atp870u_probe()
2686 if (!shpnt) in atp870u_probe()
2689 p = (struct atp_unit *)&shpnt->hostdata; in atp870u_probe()
2691 atpdev->host = shpnt; in atp870u_probe()
2695 if (atp870u_init_tables(shpnt) < 0) { in atp870u_probe()
2700 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp880i", shpnt)) { in atp870u_probe()
2705 spin_lock_irqsave(shpnt->host_lock, flags); in atp870u_probe()
2733 tscam(shpnt); in atp870u_probe()
2737 shpnt->max_id = 16; in atp870u_probe()
2738 shpnt->this_id = host_id; in atp870u_probe()
2739 shpnt->unique_id = base_io; in atp870u_probe()
2740 shpnt->io_port = base_io; in atp870u_probe()
2741 shpnt->n_io_port = 0x60; /* Number of bytes of I/O space used */ in atp870u_probe()
2742 shpnt->irq = pdev->irq; in atp870u_probe()
2755 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit)); in atp870u_probe()
2756 if (!shpnt) in atp870u_probe()
2759 p = (struct atp_unit *)&shpnt->hostdata; in atp870u_probe()
2761 atpdev->host = shpnt; in atp870u_probe()
2765 if (atp870u_init_tables(shpnt) < 0) in atp870u_probe()
2769 printk("request_irq() shpnt %p hostdata %p\n", shpnt, p); in atp870u_probe()
2771 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870u", shpnt)) { in atp870u_probe()
2776 spin_lock_irqsave(shpnt->host_lock, flags); in atp870u_probe()
2908 shpnt->max_id = 16; in atp870u_probe()
2909 shpnt->max_lun = (p->global_map[0] & 0x07) + 1; in atp870u_probe()
2910 shpnt->max_channel = 1; in atp870u_probe()
2911 shpnt->this_id = p->host_id[0]; in atp870u_probe()
2912 shpnt->unique_id = base_io; in atp870u_probe()
2913 shpnt->io_port = base_io; in atp870u_probe()
2914 shpnt->n_io_port = 0xff; /* Number of bytes of I/O space used */ in atp870u_probe()
2915 shpnt->irq = pdev->irq; in atp870u_probe()
2940 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit)); in atp870u_probe()
2941 if (!shpnt) in atp870u_probe()
2944 p = (struct atp_unit *)&shpnt->hostdata; in atp870u_probe()
2946 atpdev->host = shpnt; in atp870u_probe()
2950 if (atp870u_init_tables(shpnt) < 0) in atp870u_probe()
2953 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870i", shpnt)) { in atp870u_probe()
2958 spin_lock_irqsave(shpnt->host_lock, flags); in atp870u_probe()
2987 tscam(shpnt); in atp870u_probe()
2994 shpnt->max_id = 16; in atp870u_probe()
2996 shpnt->max_id = 8; in atp870u_probe()
2997 shpnt->this_id = host_id; in atp870u_probe()
2998 shpnt->unique_id = base_io; in atp870u_probe()
2999 shpnt->io_port = base_io; in atp870u_probe()
3000 shpnt->n_io_port = 0x40; /* Number of bytes of I/O space used */ in atp870u_probe()
3001 shpnt->irq = pdev->irq; in atp870u_probe()
3003 spin_unlock_irqrestore(shpnt->host_lock, flags); in atp870u_probe()
3015 if (scsi_add_host(shpnt, &pdev->dev)) in atp870u_probe()
3017 scsi_scan_host(shpnt); in atp870u_probe()
3034 free_irq(pdev->irq, shpnt); in atp870u_probe()
3037 atp870u_free_tables(shpnt); in atp870u_probe()
3040 scsi_host_put(shpnt); in atp870u_probe()