Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c890 const struct wreg_addr *wreg_addr_p = NULL; in __bnx2x_get_preset_regs() local
893 wreg_addr_p = &wreg_addr_e1; in __bnx2x_get_preset_regs()
895 wreg_addr_p = &wreg_addr_e1h; in __bnx2x_get_preset_regs()
897 wreg_addr_p = &wreg_addr_e2; in __bnx2x_get_preset_regs()
899 wreg_addr_p = &wreg_addr_e3; in __bnx2x_get_preset_regs()
901 wreg_addr_p = &wreg_addr_e3b0; in __bnx2x_get_preset_regs()
922 if (bnx2x_is_wreg_in_chip(bp, wreg_addr_p) && in __bnx2x_get_preset_regs()
923 IS_REG_IN_PRESET(wreg_addr_p->presets, preset)) { in __bnx2x_get_preset_regs()
924 for (i = 0; i < wreg_addr_p->size; i++) { in __bnx2x_get_preset_regs()
925 *p++ = REG_RD(bp, wreg_addr_p->addr + i*4); in __bnx2x_get_preset_regs()
[all …]