Lines Matching refs:regoff

765 isp_pci_rd_reg_2400(ispsoftc_t *isp, int regoff)  in isp_pci_rd_reg_2400()  argument
767 int block = regoff & _BLK_REG_MASK; in isp_pci_rd_reg_2400()
771 return (BXR4(isp, regoff)); in isp_pci_rd_reg_2400()
773 return (BXR2(isp, regoff)); in isp_pci_rd_reg_2400()
775 isp_prt(isp, ISP_LOGERR, "unknown block read at 0x%x", regoff); in isp_pci_rd_reg_2400()
780 isp_pci_wr_reg_2400(ispsoftc_t *isp, int regoff, uint32_t val) in isp_pci_wr_reg_2400() argument
782 int block = regoff & _BLK_REG_MASK; in isp_pci_wr_reg_2400()
786 BXW4(isp, regoff, val); in isp_pci_wr_reg_2400()
788 if (regoff == BIU2400_REQINP || in isp_pci_wr_reg_2400()
789 regoff == BIU2400_RSPOUTP || in isp_pci_wr_reg_2400()
790 regoff == BIU2400_PRI_REQINP || in isp_pci_wr_reg_2400()
791 regoff == BIU2400_ATIO_RSPOUTP) in isp_pci_wr_reg_2400()
792 MEMORYBARRIERW(isp, SYNC_REG, regoff, 4, -1) in isp_pci_wr_reg_2400()
795 MEMORYBARRIER(isp, SYNC_REG, regoff, 4, -1); in isp_pci_wr_reg_2400()
798 BXW2(isp, regoff, val); in isp_pci_wr_reg_2400()
799 MEMORYBARRIER(isp, SYNC_REG, regoff, 2, -1); in isp_pci_wr_reg_2400()
802 isp_prt(isp, ISP_LOGERR, "unknown block write at 0x%x", regoff); in isp_pci_wr_reg_2400()
806 isp_pci_rd_reg_2600(ispsoftc_t *isp, int regoff) in isp_pci_rd_reg_2600() argument
810 switch (regoff) { in isp_pci_rd_reg_2600()
814 regoff); in isp_pci_rd_reg_2600()
836 rv = isp_pci_rd_reg_2400(isp, regoff); in isp_pci_rd_reg_2600()
843 isp_pci_wr_reg_2600(ispsoftc_t *isp, int regoff, uint32_t val) in isp_pci_wr_reg_2600() argument
847 switch (regoff) { in isp_pci_wr_reg_2600()
851 regoff); in isp_pci_wr_reg_2600()
872 isp_pci_wr_reg_2400(isp, regoff, val); in isp_pci_wr_reg_2600()