Lines Matching refs:iop

52 		req = readl(&hba->u.itl.iop->inbound_queue);  in iop_wait_ready_itl()
59 writel(req, &hba->u.itl.iop->outbound_queue); in iop_wait_ready_itl()
60 readl(&hba->u.itl.iop->outbound_intstatus); in iop_wait_ready_itl()
90 while ((req = readl(&hba->u.itl.iop->outbound_queue)) != in hptiop_drain_outbound_queue_itl()
99 ((char __iomem *)hba->u.itl.iop + req); in hptiop_drain_outbound_queue_itl()
115 struct hpt_iopmu_itl __iomem *iop = hba->u.itl.iop; in iop_intr_itl() local
123 status = readl(&iop->outbound_intstatus); in iop_intr_itl()
126 u32 msg = readl(&iop->outbound_msgaddr0); in iop_intr_itl()
129 writel(IOPMU_OUTBOUND_INT_MSG0, &iop->outbound_intstatus); in iop_intr_itl()
306 writel((unsigned long)req - (unsigned long)hba->u.itl.iop, in iop_send_sync_request_itl()
307 &hba->u.itl.iop->inbound_queue); in iop_send_sync_request_itl()
308 readl(&hba->u.itl.iop->outbound_intstatus); in iop_send_sync_request_itl()
362 writel(msg, &hba->u.itl.iop->inbound_msgaddr0); in hptiop_post_msg_itl()
363 readl(&hba->u.itl.iop->outbound_intstatus); in hptiop_post_msg_itl()
406 req32 = readl(&hba->u.itl.iop->inbound_queue); in iop_get_config_itl()
411 ((unsigned long)hba->u.itl.iop + req32); in iop_get_config_itl()
424 writel(req32, &hba->u.itl.iop->outbound_queue); in iop_get_config_itl()
478 req32 = readl(&hba->u.itl.iop->inbound_queue); in iop_set_config_itl()
483 ((unsigned long)hba->u.itl.iop + req32); in iop_set_config_itl()
500 writel(req32, &hba->u.itl.iop->outbound_queue); in iop_set_config_itl()
552 &hba->u.itl.iop->outbound_intmask); in hptiop_enable_intr_itl()
614 hba->u.itl.iop = hptiop_map_pci_bar(hba, 0); in hptiop_map_pci_bar_itl()
615 if (hba->u.itl.iop == NULL) in hptiop_map_pci_bar_itl()
618 hba->u.itl.plx = hba->u.itl.iop; in hptiop_map_pci_bar_itl()
619 hba->u.itl.iop = hptiop_map_pci_bar(hba, 2); in hptiop_map_pci_bar_itl()
620 if (hba->u.itl.iop == NULL) { in hptiop_map_pci_bar_itl()
632 iounmap(hba->u.itl.iop); in hptiop_unmap_pci_bar_itl()
801 ((unsigned long)hba->u.itl.iop + tag); in hptiop_iop_request_callback_itl()
830 writel(tag, &hba->u.itl.iop->outbound_queue); in hptiop_iop_request_callback_itl()
894 &hba->u.itl.iop->inbound_queue); in hptiop_post_req_itl()
897 &hba->u.itl.iop->inbound_queue); in hptiop_post_req_itl()
1524 int_mask = readl(&hba->u.itl.iop->outbound_intmask); in hptiop_disable_intr_itl()
1527 &hba->u.itl.iop->outbound_intmask); in hptiop_disable_intr_itl()
1528 readl(&hba->u.itl.iop->outbound_intmask); in hptiop_disable_intr_itl()