Lines Matching refs:wreg_addr_p
890 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()
930 for (j = 0; j < wreg_addr_p->read_regs_count; j++) { in __bnx2x_get_preset_regs()
931 addr = *(wreg_addr_p->read_regs); in __bnx2x_get_preset_regs()