• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:shpnt

2627 	struct Scsi_Host *shpnt = NULL;
2742 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2743 if (!shpnt)
2746 p = (struct atp_unit *)&shpnt->hostdata;
2748 atpdev->host = shpnt;
2752 if (atp870u_init_tables(shpnt) < 0) {
2757 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp880i", shpnt)) {
2762 spin_lock_irqsave(shpnt->host_lock, flags);
2790 tscam(shpnt);
2794 shpnt->max_id = 16;
2795 shpnt->this_id = host_id;
2796 shpnt->unique_id = base_io;
2797 shpnt->io_port = base_io;
2798 shpnt->n_io_port = 0x60; /* Number of bytes of I/O space used */
2799 shpnt->irq = pdev->irq;
2812 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2813 if (!shpnt)
2816 p = (struct atp_unit *)&shpnt->hostdata;
2818 atpdev->host = shpnt;
2822 if (atp870u_init_tables(shpnt) < 0)
2826 printk("request_irq() shpnt %p hostdata %p\n", shpnt, p);
2828 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870u", shpnt)) {
2833 spin_lock_irqsave(shpnt->host_lock, flags);
2965 shpnt->max_id = 16;
2966 shpnt->max_lun = (p->global_map[0] & 0x07) + 1;
2967 shpnt->max_channel = 1;
2968 shpnt->this_id = p->host_id[0];
2969 shpnt->unique_id = base_io;
2970 shpnt->io_port = base_io;
2971 shpnt->n_io_port = 0xff; /* Number of bytes of I/O space used */
2972 shpnt->irq = pdev->irq;
2997 shpnt = scsi_host_alloc(&atp870u_template, sizeof(struct atp_unit));
2998 if (!shpnt)
3001 p = (struct atp_unit *)&shpnt->hostdata;
3003 atpdev->host = shpnt;
3007 if (atp870u_init_tables(shpnt) < 0)
3010 if (request_irq(pdev->irq, atp870u_intr_handle, IRQF_SHARED, "atp870i", shpnt)) {
3015 spin_lock_irqsave(shpnt->host_lock, flags);
3044 tscam(shpnt);
3051 shpnt->max_id = 16;
3053 shpnt->max_id = 8;
3054 shpnt->this_id = host_id;
3055 shpnt->unique_id = base_io;
3056 shpnt->io_port = base_io;
3057 shpnt->n_io_port = 0x40; /* Number of bytes of I/O space used */
3058 shpnt->irq = pdev->irq;
3060 spin_unlock_irqrestore(shpnt->host_lock, flags);
3072 if (scsi_add_host(shpnt, &pdev->dev))
3074 scsi_scan_host(shpnt);
3091 free_irq(pdev->irq, shpnt);
3094 atp870u_free_tables(shpnt);
3097 scsi_host_put(shpnt);