• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching defs:shpnt

2560 	struct Scsi_Host *shpnt = NULL;
2675 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2676 if (!shpnt)
2679 p = (struct atp_unit *)&shpnt->hostdata;
2681 atpdev->host = shpnt;
2685 if (atp870u_init_tables(shpnt) < 0) {
2690 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp880i", shpnt)) {
2695 spin_lock_irqsave(shpnt->host_lock, flags);
2723 tscam(shpnt);
2727 shpnt->max_id = 16;
2728 shpnt->this_id = host_id;
2729 shpnt->unique_id = base_io;
2730 shpnt->io_port = base_io;
2731 shpnt->n_io_port = 0x60; /* Number of bytes of I/O space used */
2732 shpnt->irq = pdev->irq;
2745 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2746 if (!shpnt)
2749 p = (struct atp_unit *)&shpnt->hostdata;
2751 atpdev->host = shpnt;
2755 if (atp870u_init_tables(shpnt) < 0)
2759 printk("request_irq() shpnt %p hostdata %p\n", shpnt, p);
2761 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870u", shpnt)) {
2766 spin_lock_irqsave(shpnt->host_lock, flags);
2898 shpnt->max_id = 16;
2899 shpnt->max_lun = (p->global_map[0] & 0x07) + 1;
2900 shpnt->max_channel = 1;
2901 shpnt->this_id = p->host_id[0];
2902 shpnt->unique_id = base_io;
2903 shpnt->io_port = base_io;
2904 shpnt->n_io_port = 0xff; /* Number of bytes of I/O space used */
2905 shpnt->irq = pdev->irq;
2930 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2931 if (!shpnt)
2934 p = (struct atp_unit *)&shpnt->hostdata;
2936 atpdev->host = shpnt;
2940 if (atp870u_init_tables(shpnt) < 0)
2943 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870i", shpnt)) {
2948 spin_lock_irqsave(shpnt->host_lock, flags);
2977 tscam(shpnt);
2984 shpnt->max_id = 16;
2986 shpnt->max_id = 8;
2987 shpnt->this_id = host_id;
2988 shpnt->unique_id = base_io;
2989 shpnt->io_port = base_io;
2990 shpnt->n_io_port = 0x40; /* Number of bytes of I/O space used */
2991 shpnt->irq = pdev->irq;
2993 spin_unlock_irqrestore(shpnt->host_lock, flags);
3005 if (scsi_add_host(shpnt, &pdev->dev))
3007 scsi_scan_host(shpnt);
3024 free_irq(pdev->irq, shpnt);
3027 atp870u_free_tables(shpnt);
3030 scsi_host_put(shpnt);