mvfrey 259 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); mvfrey 261 drivers/scsi/hptiop.c status = readl(&(hba->u.mvfrey.mu->f0_doorbell)); mvfrey 263 drivers/scsi/hptiop.c writel(status, &(hba->u.mvfrey.mu->f0_doorbell)); mvfrey 265 drivers/scsi/hptiop.c u32 msg = readl(&(hba->u.mvfrey.mu->cpu_to_f0_msg_a)); mvfrey 272 drivers/scsi/hptiop.c status = readl(&(hba->u.mvfrey.mu->isr_cause)); mvfrey 274 drivers/scsi/hptiop.c writel(status, &(hba->u.mvfrey.mu->isr_cause)); mvfrey 276 drivers/scsi/hptiop.c cptr = *hba->u.mvfrey.outlist_cptr & 0xff; mvfrey 277 drivers/scsi/hptiop.c cur_rptr = hba->u.mvfrey.outlist_rptr; mvfrey 280 drivers/scsi/hptiop.c if (cur_rptr == hba->u.mvfrey.list_count) mvfrey 283 drivers/scsi/hptiop.c _tag = hba->u.mvfrey.outlist[cur_rptr].val; mvfrey 288 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_rptr = cur_rptr; mvfrey 289 drivers/scsi/hptiop.c } while (cptr != (*hba->u.mvfrey.outlist_cptr & 0xff)); mvfrey 293 drivers/scsi/hptiop.c writel(0x1010, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); mvfrey 344 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt; mvfrey 349 drivers/scsi/hptiop.c hba->ops->post_req(hba, &(hba->u.mvfrey.internal_req)); mvfrey 375 drivers/scsi/hptiop.c writel(msg, &(hba->u.mvfrey.mu->f0_to_cpu_msg_a)); mvfrey 376 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->f0_to_cpu_msg_a)); mvfrey 453 drivers/scsi/hptiop.c struct hpt_iop_request_get_config *info = hba->u.mvfrey.config; mvfrey 530 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt; mvfrey 563 drivers/scsi/hptiop.c writel(CPU_TO_F0_DRBL_MSG_BIT, &(hba->u.mvfrey.mu->f0_doorbell_enable)); mvfrey 564 drivers/scsi/hptiop.c writel(0x1, &(hba->u.mvfrey.mu->isr_enable)); mvfrey 565 drivers/scsi/hptiop.c writel(0x1010, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); mvfrey 652 drivers/scsi/hptiop.c hba->u.mvfrey.config = hptiop_map_pci_bar(hba, 0); mvfrey 653 drivers/scsi/hptiop.c if (hba->u.mvfrey.config == NULL) mvfrey 656 drivers/scsi/hptiop.c hba->u.mvfrey.mu = hptiop_map_pci_bar(hba, 2); mvfrey 657 drivers/scsi/hptiop.c if (hba->u.mvfrey.mu == NULL) { mvfrey 658 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.config); mvfrey 673 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.config); mvfrey 674 drivers/scsi/hptiop.c iounmap(hba->u.mvfrey.mu); mvfrey 939 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr++; mvfrey 940 drivers/scsi/hptiop.c index = hba->u.mvfrey.inlist_wptr & 0x3fff; mvfrey 942 drivers/scsi/hptiop.c if (index == hba->u.mvfrey.list_count) { mvfrey 944 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr &= ~0x3fff; mvfrey 945 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr ^= CL_POINTER_TOGGLE; mvfrey 948 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].addr = mvfrey 950 drivers/scsi/hptiop.c hba->u.mvfrey.inlist[index].intrfc_len = (reqhdr->size + 3) / 4; mvfrey 951 drivers/scsi/hptiop.c writel(hba->u.mvfrey.inlist_wptr, mvfrey 952 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_write_ptr)); mvfrey 953 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->inbound_write_ptr)); mvfrey 968 drivers/scsi/hptiop.c u32 list_count = hba->u.mvfrey.list_count; mvfrey 976 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.inlist_phy & 0xffffffff), mvfrey 977 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_base)); mvfrey 978 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.inlist_phy >> 16) >> 16), mvfrey 979 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->inbound_base_high)); mvfrey 981 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.outlist_phy & 0xffffffff), mvfrey 982 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_base)); mvfrey 983 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.outlist_phy >> 16) >> 16), mvfrey 984 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_base_high)); mvfrey 986 drivers/scsi/hptiop.c writel(cpu_to_le32(hba->u.mvfrey.outlist_cptr_phy & 0xffffffff), mvfrey 987 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_shadow_base)); mvfrey 988 drivers/scsi/hptiop.c writel(cpu_to_le32((hba->u.mvfrey.outlist_cptr_phy >> 16) >> 16), mvfrey 989 drivers/scsi/hptiop.c &(hba->u.mvfrey.mu->outbound_shadow_base_high)); mvfrey 991 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_wptr = (list_count - 1) | CL_POINTER_TOGGLE; mvfrey 992 drivers/scsi/hptiop.c *hba->u.mvfrey.outlist_cptr = (list_count - 1) | CL_POINTER_TOGGLE; mvfrey 993 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_rptr = list_count - 1; mvfrey 1199 drivers/scsi/hptiop.c u32 list_count = readl(&hba->u.mvfrey.mu->inbound_conf_ctl); mvfrey 1212 drivers/scsi/hptiop.c hba->u.mvfrey.list_count = list_count; mvfrey 1213 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size = 0x800 + mvfrey 1219 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size, &phy, GFP_KERNEL); mvfrey 1223 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt = p; mvfrey 1224 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_shifted_phy = phy >> 5; mvfrey 1225 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.scp = NULL; mvfrey 1226 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.next = NULL; mvfrey 1231 drivers/scsi/hptiop.c hba->u.mvfrey.inlist = (struct mvfrey_inlist_entry *)p; mvfrey 1232 drivers/scsi/hptiop.c hba->u.mvfrey.inlist_phy = phy; mvfrey 1237 drivers/scsi/hptiop.c hba->u.mvfrey.outlist = (struct mvfrey_outlist_entry *)p; mvfrey 1238 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_phy = phy; mvfrey 1243 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_cptr = (__le32 *)p; mvfrey 1244 drivers/scsi/hptiop.c hba->u.mvfrey.outlist_cptr_phy = phy; mvfrey 1266 drivers/scsi/hptiop.c if (hba->u.mvfrey.internal_req.req_virt) { mvfrey 1268 drivers/scsi/hptiop.c hba->u.mvfrey.internal_mem_size, mvfrey 1269 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_virt, mvfrey 1271 drivers/scsi/hptiop.c hba->u.mvfrey.internal_req.req_shifted_phy << 5); mvfrey 1542 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->f0_doorbell_enable)); mvfrey 1543 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->f0_doorbell_enable)); mvfrey 1544 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->isr_enable)); mvfrey 1545 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->isr_enable)); mvfrey 1546 drivers/scsi/hptiop.c writel(0, &(hba->u.mvfrey.mu->pcie_f0_int_enable)); mvfrey 1547 drivers/scsi/hptiop.c readl(&(hba->u.mvfrey.mu->pcie_f0_int_enable)); mvfrey 297 drivers/scsi/hptiop.h } mvfrey;