Lines Matching refs:pcidev

684 	IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n");  in ips_release()
688 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Incomplete Flush.\n"); in ips_release()
690 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Complete.\n"); in ips_release()
699 free_irq(ha->pcidev->irq, ha); in ips_release()
751 IPS_PRINTK(KERN_WARNING, ha->pcidev, "Flushing Cache.\n"); in ips_halt()
756 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt()
759 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_halt()
891 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
906 IPS_PRINTK(KERN_NOTICE, ha->pcidev, "Resetting controller.\n"); in __ips_eh_reset()
912 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
941 IPS_PRINTK(KERN_NOTICE, ha->pcidev, in __ips_eh_reset()
1355 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_intr_morpheus()
1516 bigger_buf = dma_alloc_coherent(&ha->pcidev->dev, length, &dma_busaddr, in ips_alloc_passthru_buffer()
1520 dma_free_coherent(&ha->pcidev->dev, ha->ioctl_len, in ips_alloc_passthru_buffer()
1609 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && in ips_make_passthru()
1666 ha->flash_data = dma_alloc_coherent(&ha->pcidev->dev, in ips_flash_copperhead()
1680 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_flash_copperhead()
1845 dma_map_single(&ha->pcidev->dev, ha->flash_data, scb->data_len, in ips_flash_firmware()
1867 dma_free_coherent(&ha->pcidev->dev, ha->flash_len, in ips_free_flash_copperhead()
1992 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD && in ips_cleanup_passthru()
2037 seq_printf(m, "\tIRQ number : %d\n", ha->pcidev->irq); in ips_host_info()
2132 switch (ha->pcidev->device) { in ips_identify_controller()
2134 if (ha->pcidev->revision <= IPS_REVID_SERVERAID) { in ips_identify_controller()
2136 } else if (ha->pcidev->revision == IPS_REVID_SERVERAID2) { in ips_identify_controller()
2138 } else if (ha->pcidev->revision == IPS_REVID_NAVAJO) { in ips_identify_controller()
2140 } else if ((ha->pcidev->revision == IPS_REVID_SERVERAID2) in ips_identify_controller()
2143 } else if ((ha->pcidev->revision >= IPS_REVID_CLARINETP1) && in ips_identify_controller()
2144 (ha->pcidev->revision <= IPS_REVID_CLARINETP3)) { in ips_identify_controller()
2149 } else if ((ha->pcidev->revision >= IPS_REVID_TROMBONE32) && in ips_identify_controller()
2150 (ha->pcidev->revision <= IPS_REVID_TROMBONE64)) { in ips_identify_controller()
2156 switch (ha->pcidev->subsystem_device) { in ips_identify_controller()
2185 switch (ha->pcidev->subsystem_device) { in ips_identify_controller()
2229 if (ha->pcidev->device == IPS_DEVICEID_COPPERHEAD) { in ips_get_bios_version()
2235 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2242 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2250 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2257 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2263 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2272 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2279 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2287 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2294 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2301 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_get_bios_version()
2394 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2401 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2411 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
2419 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_hainit()
3096 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ipsintr_done()
3104 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ipsintr_done()
4200 dma_free_coherent(&ha->pcidev->dev, sizeof(IPS_ENQ), in ips_free()
4209 dma_free_coherent(&ha->pcidev->dev, in ips_free()
4217 dma_free_coherent(&ha->pcidev->dev, in ips_free()
4231 dma_free_coherent(&ha->pcidev->dev, ha->ioctl_len, in ips_free()
4264 dma_free_coherent(&ha->pcidev->dev, in ips_deallocatescbs()
4268 dma_free_coherent(&ha->pcidev->dev, sizeof (ips_scb_t) * cmds, in ips_deallocatescbs()
4295 ha->scbs = dma_alloc_coherent(&ha->pcidev->dev, in ips_allocatescbs()
4300 ips_sg.list = dma_alloc_coherent(&ha->pcidev->dev, in ips_allocatescbs()
4304 dma_free_coherent(&ha->pcidev->dev, in ips_allocatescbs()
4433 dma_unmap_single(&ha->pcidev->dev, scb->data_busaddr, in ips_freescb()
4546 scb = dma_alloc_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), in ips_flush_and_reset()
4582 dma_free_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), scb, command_dma); in ips_flush_and_reset()
4708 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_copperhead()
4753 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_init_copperhead()
4801 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_copperhead_memio()
4846 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_init_copperhead_memio()
4890 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4899 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4915 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4927 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4946 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_morpheus()
4991 ips_name, ha->host_num, ha->io_addr, ha->pcidev->irq); in ips_reset_copperhead()
5036 ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); in ips_reset_copperhead_memio()
5082 ips_name, ha->host_num, ha->mem_addr, ha->pcidev->irq); in ips_reset_morpheus()
5095 pci_read_config_byte(ha->pcidev, 4, &junk); in ips_reset_morpheus()
5284 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead()
5286 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead()
5337 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead_memio()
5339 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_issue_copperhead_memio()
5579 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_write_driver_status()
5617 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_write_driver_status()
6007 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6011 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6016 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6021 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6026 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6032 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios()
6052 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6058 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios()
6088 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6093 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios()
6119 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6123 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6128 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6133 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6138 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6144 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios_memio()
6164 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6170 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_erase_bios_memio()
6200 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6205 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_erase_bios_memio()
6234 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6238 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6242 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6248 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_program_bios()
6265 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6269 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6279 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6283 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6292 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6296 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios()
6325 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6329 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6333 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6339 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) { in ips_program_bios_memio()
6356 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6360 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6370 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6374 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6383 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6387 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_program_bios_memio()
6412 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6419 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6428 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios()
6461 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6468 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6477 if (ha->pcidev->revision == IPS_REVID_TROMBONE64) in ips_verify_bios_memio()
6642 IPS_PRINTK(KERN_WARNING, oldha->pcidev, in ips_register_scsi()
6648 free_irq(oldha->pcidev->irq, oldha); in ips_register_scsi()
6650 if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { in ips_register_scsi()
6651 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_register_scsi()
6670 if (scsi_add_host(sh, &ha->pcidev->dev)) in ips_register_scsi()
6681 free_irq(ha->pcidev->irq, ha); in ips_register_scsi()
6896 ha->pcidev = pci_dev; in ips_init_phase1()
6905 !dma_set_mask(&ha->pcidev->dev, DMA_BIT_MASK(64))) { in ips_init_phase1()
6908 if (dma_set_mask(&ha->pcidev->dev, DMA_BIT_MASK(32)) != 0) { in ips_init_phase1()
7042 if (request_irq(ha->pcidev->irq, do_ipsintr, IRQF_SHARED, ips_name, ha)) { in ips_init_phase2()
7043 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7053 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7055 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()
7060 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7062 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()
7070 IPS_PRINTK(KERN_WARNING, ha->pcidev, in ips_init_phase2()
7072 free_irq(ha->pcidev->irq, ha); in ips_init_phase2()