Lines Matching +full:16 +full:mv
163 u32 inbound_head = readl(&hba->u.mv.mu->inbound_head); in mv_inbound_write()
169 memcpy_toio(&hba->u.mv.mu->inbound_q[inbound_head], &p, 8); in mv_inbound_write()
170 writel(head, &hba->u.mv.mu->inbound_head); in mv_inbound_write()
172 &hba->u.mv.regs->inbound_doorbell); in mv_inbound_write()
208 status = readl(&hba->u.mv.regs->outbound_doorbell); in iop_intr_mv()
209 writel(~status, &hba->u.mv.regs->outbound_doorbell); in iop_intr_mv()
213 msg = readl(&hba->u.mv.mu->outbound_msg); in iop_intr_mv()
222 while ((tag = mv_outbound_read(hba->u.mv.mu))) in iop_intr_mv()
323 struct hpt_iop_request_header *reqhdr = hba->u.mv.internal_req; in iop_send_sync_request_mv()
328 mv_inbound_write(hba->u.mv.internal_req_phy | in iop_send_sync_request_mv()
368 writel(msg, &hba->u.mv.mu->inbound_msg); in hptiop_post_msg_mv()
369 writel(MVIOP_MU_INBOUND_INT_MSG, &hba->u.mv.regs->inbound_doorbell); in hptiop_post_msg_mv()
370 readl(&hba->u.mv.regs->inbound_doorbell); in hptiop_post_msg_mv()
431 struct hpt_iop_request_get_config *req = hba->u.mv.internal_req; in iop_get_config_mv()
507 struct hpt_iop_request_set_config *req = hba->u.mv.internal_req; in iop_set_config_mv()
558 &hba->u.mv.regs->outbound_intmask); in hptiop_enable_intr_mv()
637 hba->u.mv.regs = hptiop_map_pci_bar(hba, 0); in hptiop_map_pci_bar_mv()
638 if (hba->u.mv.regs == NULL) in hptiop_map_pci_bar_mv()
641 hba->u.mv.mu = hptiop_map_pci_bar(hba, 2); in hptiop_map_pci_bar_mv()
642 if (hba->u.mv.mu == NULL) { in hptiop_map_pci_bar_mv()
643 iounmap(hba->u.mv.regs); in hptiop_map_pci_bar_mv()
667 iounmap(hba->u.mv.regs); in hptiop_unmap_pci_bar_mv()
668 iounmap(hba->u.mv.mu); in hptiop_unmap_pci_bar_mv()
738 scp->result = (DID_OK<<16); in hptiop_finish_scsi_req()
741 scp->result = (DID_BAD_TARGET<<16); in hptiop_finish_scsi_req()
744 scp->result = (DID_BUS_BUSY<<16); in hptiop_finish_scsi_req()
747 scp->result = (DID_RESET<<16); in hptiop_finish_scsi_req()
750 scp->result = (DID_ERROR<<16); in hptiop_finish_scsi_req()
753 scp->result = (DID_ABORT<<16); in hptiop_finish_scsi_req()
763 scp->result = DID_ABORT << 16; in hptiop_finish_scsi_req()
977 writel(cpu_to_le32((hba->u.mvfrey.inlist_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
982 writel(cpu_to_le32((hba->u.mvfrey.outlist_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
987 writel(cpu_to_le32((hba->u.mvfrey.outlist_cptr_phy >> 16) >> 16), in hptiop_reset_comm_mvfrey()
1028 scp->result = DID_BAD_TARGET << 16; in hptiop_queuecommand_lck()
1125 (hba->firmware_version >> 16) & 0xff, in hptiop_show_fw_version()
1184 hba->u.mv.internal_req = dma_alloc_coherent(&hba->pcidev->dev, in hptiop_internal_memalloc_mv()
1185 0x800, &hba->u.mv.internal_req_phy, GFP_KERNEL); in hptiop_internal_memalloc_mv()
1186 if (hba->u.mv.internal_req) in hptiop_internal_memalloc_mv()
1205 list_count >>= 16; in hptiop_internal_memalloc_mvfrey()
1251 if (hba->u.mv.internal_req) { in hptiop_internal_memfree_mv()
1253 hba->u.mv.internal_req, hba->u.mv.internal_req_phy); in hptiop_internal_memfree_mv()
1395 host->max_cmd_len = 16; in hptiop_probe()
1531 writel(0, &hba->u.mv.regs->outbound_intmask); in hptiop_disable_intr_mv()
1532 readl(&hba->u.mv.regs->outbound_intmask); in hptiop_disable_intr_mv()