Searched refs:reg_arr (Results 1 – 1 of 1) sorted by relevance
637 static int bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) in bnxt_map_regs() argument639 u32 reg_base = *reg_arr & BNXT_GRC_BASE_MASK; in bnxt_map_regs()644 if ((reg_arr[i] & BNXT_GRC_BASE_MASK) != reg_base) in bnxt_map_regs()655 u32 *reg_arr; in bnxt_map_ptp_regs() local658 reg_arr = ptp->refclk_regs; in bnxt_map_ptp_regs()660 rc = bnxt_map_regs(bp, reg_arr, 2, BNXT_PTP_GRC_WIN); in bnxt_map_ptp_regs()670 if (reg_arr[i] & BNXT_GRC_BASE_MASK) in bnxt_map_ptp_regs()672 ptp->refclk_mapped_regs[i] = reg_arr[i]; in bnxt_map_ptp_regs()