Lines Matching refs:base
250 u32 base[6];
453 void *s, *d, *base = NULL;
463 base = scsi_kmap_atomic_sg(cmd->request_buffer,
465 if (base == NULL) {
469 d = base + offset;
480 scsi_kunmap_atomic_sg(base);
513 memset(p->base, 0, sizeof(u32)*6);
514 *(unsigned long *)(p->base) = pci_resource_start(hba->pdev, 0);
785 void __iomem *base = hba->mmio_base;
795 hba->status_head = readl(base + OMR1);
874 writel(hba->status_head, base + IMR1);
875 readl(base + IMR1); /* flush */
881 void __iomem *base = hba->mmio_base;
888 data = readl(base + ODBL);
892 writel(data, base + ODBL);
893 readl(base + ODBL); /* flush */
905 void __iomem *base = hba->mmio_base;
911 if (readl(base + OMR0) != MU_HANDSHAKE_SIGNATURE) {
912 writel(MU_INBOUND_DOORBELL_HANDSHAKE, base + IDBL);
913 readl(base + IDBL);
915 while (readl(base + OMR0) != MU_HANDSHAKE_SIGNATURE) {
929 data = readl(base + OMR1);
952 writel(status_phys, base + IMR0);
953 readl(base + IMR0);
954 writel((status_phys >> 16) >> 16, base + IMR1);
955 readl(base + IMR1);
957 writel((status_phys >> 16) >> 16, base + OMR0); /* old fw compatible */
958 readl(base + OMR0);
959 writel(MU_INBOUND_DOORBELL_HANDSHAKE, base + IDBL);
960 readl(base + IDBL); /* flush */
964 while (readl(base + OMR0) != MU_HANDSHAKE_SIGNATURE) {
975 writel(0, base + IMR0);
976 readl(base + IMR0);
977 writel(0, base + OMR0);
978 readl(base + OMR0);
979 writel(0, base + IMR1);
980 readl(base + IMR1);
981 writel(0, base + OMR1);
982 readl(base + OMR1); /* flush */
992 void __iomem *base;
1001 base = hba->mmio_base;
1015 data = readl(base + ODBL);
1019 writel(data, base + ODBL);
1020 readl(base + ODBL); /* flush */