Home
last modified time | relevance | path

Searched refs:reg_arr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c630 static int bnxt_map_regs(struct bnxt *bp, u32 *reg_arr, int count, int reg_win) in bnxt_map_regs() argument
632 u32 reg_base = *reg_arr & BNXT_GRC_BASE_MASK; in bnxt_map_regs()
637 if ((reg_arr[i] & BNXT_GRC_BASE_MASK) != reg_base) in bnxt_map_regs()
648 u32 *reg_arr; in bnxt_map_ptp_regs() local
651 reg_arr = ptp->refclk_regs; in bnxt_map_ptp_regs()
653 rc = bnxt_map_regs(bp, reg_arr, 2, BNXT_PTP_GRC_WIN); in bnxt_map_ptp_regs()