• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/shared/

Lines Matching defs:rde

279 static int ipxotp_write_rde_nopc(void *oh, chipcregs_t *cc, int rde, uint bit, uint val);
941 /* Initialize global rde index */
1660 * rde - redundancy entry index (-ve for "next")
1674 /* OTP PMU resource not available, hence use global rde index */
1677 /* OTP PMU resource available, hence calculate rde index */
1685 BCMNMIATTACHFN(ipxotp_write_rde_nopc)(void *oh, chipcregs_t *cc, int rde, uint bit, uint val)
1692 if (rde < 0) {
1693 for (rde = 0; rde < oi->rde_cb.offsets - 1; rde++) {
1694 if ((oi->status & (1 << (oi->rde_cb.stat_shift + rde))) == 0)
1697 OTP_ERR(("%s: Auto rde index %d\n", __FUNCTION__, rde));
1699 else if (rde == OTP_GLOBAL_RDE_IDX) {
1701 /* Hence we need to have a count of the global rde, and populate accordingly. */
1703 /* Find the next available rde location */
1705 OTP_MSG(("%s: rde %d already in use, status 0x%08x\n", __FUNCTION__,
1706 rde, oi->status));
1709 rde = oi->rde_idx++;
1711 if (rde >= MAXNUMRDES) {
1712 OTP_MSG(("%s: No rde location available to fix.\n", __FUNCTION__));
1717 if (oi->status & (1 << (oi->rde_cb.stat_shift + rde))) {
1718 OTP_ERR(("%s: rde %d already in use, status 0x%08x\n", __FUNCTION__,
1719 rde, oi->status));
1726 OTP_MSG(("%s: rde %d bit %d val %d bmp 0x%08x\n", __FUNCTION__, rde, bit, val, temp));
1731 if (ipxotp_write_bit(oi, cc, oi->rde_cb.offset[rde] + i) != 0)
1736 oi->status |= (1 << (oi->rde_cb.stat_shift + rde));
1742 BCMNMIATTACHFN(ipxotp_write_rde)(void *oh, int rde, uint bit, uint val)
1757 err = ipxotp_write_rde_nopc(oh, cc, rde, bit, val);