Lines Matching refs:pcidev
687 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_release()
691 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n"); in ips_release()
693 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n"); in ips_release()
702 free_irq(ha->pcidev->irq, ha); in ips_release()
756 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_halt()
761 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt()
764 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt()
914 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
929 IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n"); in __ips_eh_reset()
935 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
964 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
1377 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_intr_morpheus()
1539 bigger_buf = pci_alloc_consistent(ha->pcidev, length, &dma_busaddr); in ips_alloc_passthru_buffer()
1542 pci_free_consistent(ha->pcidev, ha->ioctl_len, ha->ioctl_data, in ips_alloc_passthru_buffer()
1631 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && in ips_make_passthru()
1688 ha->flash_data = pci_alloc_consistent(ha->pcidev, in ips_flash_copperhead()
1703 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_flash_copperhead()
1868 pci_map_single(ha->pcidev, ha->flash_data, scb->data_len, in ips_flash_firmware()
1890 pci_free_consistent(ha->pcidev, ha->flash_len, ha->flash_data, in ips_free_flash_copperhead()
2015 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && in ips_cleanup_passthru()
2060 seq_printf(m, "\tIRQ number : %d\n", ha->pcidev->irq); in ips_host_info()
2155 switch (ha->pcidev->device) { in ips_identify_controller()
2157 if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { in ips_identify_controller()
2159 } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { in ips_identify_controller()
2161 } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { in ips_identify_controller()
2163 } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) in ips_identify_controller()
2166 } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && in ips_identify_controller()
2167 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { in ips_identify_controller()
2172 } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && in ips_identify_controller()
2173 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { in ips_identify_controller()
2179 switch (ha->pcidev->subsystem_device) { in ips_identify_controller()
2208 switch (ha->pcidev->subsystem_device) { in ips_identify_controller()
2255 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) { in ips_get_bios_version()
2261 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2268 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2276 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2283 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2289 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2298 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2305 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2313 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2320 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2327 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2422 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2429 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2439 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2447 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
3127 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ipsintr_done()
3135 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ipsintr_done()
4230 pci_free_consistent(ha->pcidev, sizeof(IPS_ENQ), in ips_free()
4239 pci_free_consistent(ha->pcidev, in ips_free()
4247 pci_free_consistent(ha->pcidev, in ips_free()
4261 pci_free_consistent(ha->pcidev, ha->ioctl_len, in ips_free()
4294 pci_free_consistent(ha->pcidev, in ips_deallocatescbs()
4298 pci_free_consistent(ha->pcidev, sizeof (ips_scb_t) * cmds, in ips_deallocatescbs()
4326 pci_alloc_consistent(ha->pcidev, ha->max_cmds * sizeof (ips_scb_t), in ips_allocatescbs()
4331 pci_alloc_consistent(ha->pcidev, in ips_allocatescbs()
4335 pci_free_consistent(ha->pcidev, in ips_allocatescbs()
4464 pci_unmap_single(ha->pcidev, scb->data_busaddr, scb->data_len, in ips_freescb()
4577 scb = pci_alloc_consistent(ha->pcidev, sizeof(ips_scb_t), &command_dma); in ips_flush_and_reset()
4612 pci_free_consistent(ha->pcidev, sizeof(ips_scb_t), scb, command_dma); in ips_flush_and_reset()
4739 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_copperhead()
4784 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_init_copperhead()
4833 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_copperhead_memio()
4878 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_init_copperhead_memio()
4922 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4931 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4947 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4959 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4978 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
5023 ips_name, ha->host_num, ha->io_addr, ha->pcidev->irq); in ips_reset_copperhead()
5068 ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); in ips_reset_copperhead_memio()
5114 ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); in ips_reset_morpheus()
5127 pci_read_config_byte(ha->pcidev, 4, &junk); in ips_reset_morpheus()
5316 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead()
5318 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead()
5369 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead_memio()
5371 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead_memio()
5611 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_write_driver_status()
5649 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_write_driver_status()
6077 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6081 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6086 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6091 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6096 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6102 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios()
6122 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6128 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios()
6158 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6163 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6189 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6193 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6198 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6203 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6208 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6214 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios_memio()
6234 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6240 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios_memio()
6270 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6275 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6304 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6308 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6312 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6318 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_program_bios()
6335 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6339 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6349 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6353 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6362 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6366 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6395 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6399 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6403 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6409 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_program_bios_memio()
6426 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6430 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6440 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6444 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6453 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6457 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6482 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6489 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6498 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6531 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6538 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6547 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6712 IPS_PRINTK(KERN_WARNING, oldha->pcidev, in ips_register_scsi()
6718 free_irq(oldha->pcidev->irq, oldha); in ips_register_scsi()
6720 if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { in ips_register_scsi()
6721 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_register_scsi()
6741 if (scsi_add_host(sh, &ha->pcidev->dev)) in ips_register_scsi()
6752 free_irq(ha->pcidev->irq, ha); in ips_register_scsi()
6973 ha->pcidev = pci_dev; in ips_init_phase1()
6982 !pci_set_dma_mask(ha->pcidev, DMA_BIT_MASK(64))) { in ips_init_phase1()
6985 if (pci_set_dma_mask(ha->pcidev, DMA_BIT_MASK(32)) != 0) { in ips_init_phase1()
7117 if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { in ips_init_phase2()
7118 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7128 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7130 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()
7135 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7137 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()
7145 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7147 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()