Lines Matching refs:dev
140 adapter->una_mbox64 = dma_alloc_coherent(&adapter->dev->dev, in mega_setup_mailbox()
229 ext_inq = dma_alloc_coherent(&adapter->dev->dev, in mega_query_adapter()
251 dma_free_coherent(&adapter->dev->dev, in mega_query_adapter()
262 prod_info_dma_handle = dma_map_single(&adapter->dev->dev, in mega_query_adapter()
273 dev_warn(&adapter->dev->dev, in mega_query_adapter()
277 dma_unmap_single(&adapter->dev->dev, prod_info_dma_handle, in mega_query_adapter()
341 dev_notice(&adapter->dev->dev, "[%s:%s] detected %d logical drives\n", in mega_query_adapter()
349 dev_notice(&adapter->dev->dev, "supports extended CDBs\n"); in mega_query_adapter()
680 dev_notice(&adapter->dev->dev, in mega_build_cmd()
985 dev_notice(&adapter->dev->dev, in mega_prepare_passthru()
1048 dev_notice(&adapter->dev->dev, in mega_prepare_extpassthru()
1244 dev_warn(&adapter->dev->dev, "Blocked mailbox......!!\n"); in issue_scb_block()
1458 dev_crit(&adapter->dev->dev, "invalid command " in mega_cmd_done()
1470 dev_warn(&adapter->dev->dev, in mega_cmd_done()
1489 dev_warn(&adapter->dev->dev, in mega_cmd_done()
1556 dev_warn(&adapter->dev->dev, "invalid sg\n"); in mega_cmd_done()
1808 dma_free_coherent(&adapter->dev->dev, in mega_free_sgl()
1816 dma_free_coherent(&adapter->dev->dev, in mega_free_sgl()
1824 dma_free_coherent(&adapter->dev->dev, in mega_free_sgl()
1892 dev_warn(&adapter->dev->dev, "reservation reset failed\n"); in megaraid_reset()
1895 dev_info(&adapter->dev->dev, "reservation reset\n"); in megaraid_reset()
1928 dev_warn(&adapter->dev->dev, "%s cmd=%x <c=%d t=%d l=%d>\n", in megaraid_abort_and_reset()
1952 dev_warn(&adapter->dev->dev, in megaraid_abort_and_reset()
1965 dev_warn(&adapter->dev->dev, in megaraid_abort_and_reset()
1997 memcpy(*pdev, adapter->dev, sizeof(struct pci_dev)); in make_local_pdev()
1999 if (dma_set_mask(&(*pdev)->dev, DMA_BIT_MASK(32)) != 0) { in make_local_pdev()
2023 return dma_alloc_coherent(&pdev->dev, sizeof(mega_inquiry3), in mega_allocate_inquiry()
2031 dma_free_coherent(&pdev->dev, sizeof(mega_inquiry3), inquiry, in mega_free_inquiry()
2188 dev_warn(&adapter->dev->dev, "inquiry failed\n"); in proc_show_rebuild_rate()
2232 dev_warn(&adapter->dev->dev, "inquiry failed\n"); in proc_show_battery()
2341 dev_warn(&adapter->dev->dev, "inquiry failed\n"); in proc_show_pdrv()
2346 scsi_inq = dma_alloc_coherent(&pdev->dev, 256, &scsi_inq_dma_handle, in proc_show_pdrv()
2420 dma_free_coherent(&pdev->dev, 256, scsi_inq, scsi_inq_dma_handle); in proc_show_pdrv()
2517 dev_warn(&adapter->dev->dev, "inquiry failed\n"); in proc_show_rdrv()
2540 disk_array = dma_alloc_coherent(&pdev->dev, array_sz, in proc_show_rdrv()
2660 dma_free_coherent(&pdev->dev, array_sz, disk_array, in proc_show_rdrv()
2741 dev_warn(&adapter->dev->dev, "proc_mkdir failed\n"); in mega_create_proc_entry()
2824 dev_info(&adapter->dev->dev, in megaraid_biosparam()
2879 scb->sgl64 = dma_alloc_coherent(&adapter->dev->dev, in mega_init_scb()
2886 dev_warn(&adapter->dev->dev, "RAID: Can't allocate sglist\n"); in mega_init_scb()
2891 scb->pthru = dma_alloc_coherent(&adapter->dev->dev, in mega_init_scb()
2896 dev_warn(&adapter->dev->dev, "RAID: Can't allocate passthru\n"); in mega_init_scb()
2901 scb->epthru = dma_alloc_coherent(&adapter->dev->dev, in mega_init_scb()
2906 dev_warn(&adapter->dev->dev, in mega_init_scb()
3102 dev_warn(&adapter->dev->dev, "logdrv " in megadev_ioctl()
3127 dev_warn(&adapter->dev->dev, "rejected passthru\n"); in megadev_ioctl()
3143 pthru = dma_alloc_coherent(&pdev->dev, in megadev_ioctl()
3163 dma_free_coherent(&pdev->dev, in megadev_ioctl()
3176 data = dma_alloc_coherent(&pdev->dev, in megadev_ioctl()
3182 dma_free_coherent(&pdev->dev, in megadev_ioctl()
3250 dma_free_coherent(&pdev->dev, in megadev_ioctl()
3255 dma_free_coherent(&pdev->dev, sizeof(mega_passthru), in megadev_ioctl()
3269 data = dma_alloc_coherent(&pdev->dev, in megadev_ioctl()
3292 dma_free_coherent(&pdev->dev, in megadev_ioctl()
3315 dma_free_coherent(&pdev->dev, in megadev_ioctl()
3337 dma_free_coherent(&pdev->dev, uioc.xferlen, in megadev_ioctl()
3627 dev_info(&adapter->dev->dev, "channel[%d] is raid\n", in mega_enum_raid_scsi()
3631 dev_info(&adapter->dev->dev, "channel[%d] is scsi\n", in mega_enum_raid_scsi()
3831 dev_warn(&adapter->dev->dev, "Delete LD-%d failed", logdrv); in mega_do_del_logdrv()
3990 pthru = dma_alloc_coherent(&pdev->dev, sizeof(mega_passthru), in mega_internal_dev_inquiry()
4027 dma_free_coherent(&pdev->dev, sizeof(mega_passthru), pthru, in mega_internal_dev_inquiry()
4096 dev_info(&adapter->dev->dev, "cmd [%x, %x, %x] status:[%x]\n", in mega_internal_command()
4182 dev_notice(&pdev->dev, "found 0x%4.04x:0x%4.04x\n", in megaraid_probe_one()
4194 dev_warn(&pdev->dev, "mem region busy!\n"); in megaraid_probe_one()
4200 dev_warn(&pdev->dev, "could not map hba memory\n"); in megaraid_probe_one()
4219 dev_notice(&pdev->dev, in megaraid_probe_one()
4237 adapter->dev = pdev; in megaraid_probe_one()
4254 adapter->mega_buffer = dma_alloc_coherent(&adapter->dev->dev, in megaraid_probe_one()
4259 dev_warn(&pdev->dev, "out of RAM\n"); in megaraid_probe_one()
4266 dev_warn(&pdev->dev, "out of RAM\n"); in megaraid_probe_one()
4273 dev_warn(&pdev->dev, "Couldn't register IRQ %d!\n", irq); in megaraid_probe_one()
4293 dev_warn(&pdev->dev, in megaraid_probe_one()
4326 dev_warn(&pdev->dev, in megaraid_probe_one()
4416 dma_set_mask(&pdev->dev, DMA_BIT_MASK(64)); in megaraid_probe_one()
4419 dma_set_mask(&pdev->dev, DMA_BIT_MASK(32)); in megaraid_probe_one()
4439 dev_notice(&pdev->dev, in megaraid_probe_one()
4449 error = scsi_add_host(host, &pdev->dev); in megaraid_probe_one()
4458 dma_free_coherent(&adapter->dev->dev, sizeof(mbox64_t), in megaraid_probe_one()
4465 dma_free_coherent(&adapter->dev->dev, MEGA_BUFFER_SIZE, in megaraid_probe_one()
4507 dev_warn(&adapter->dev->dev, "pending commands!!\n"); in __megaraid_shutdown()
4540 dma_free_coherent(&adapter->dev->dev, MEGA_BUFFER_SIZE, in megaraid_remove_one()
4543 dma_free_coherent(&adapter->dev->dev, sizeof(mbox64_t), in megaraid_remove_one()