Lines Matching defs:pup
27 /* PBS locked dq (per pup) */
91 static void compare_pattern_v1(u32 uj, u32 *pup, u32 *pattern,
100 if (((sdram_data[uj]) != (pattern[uj])) && (*pup != 0xFF)) {
107 *pup |= (1 << (uk + (PUP_NUM_32BIT *
129 static void compare_pattern_v2(u32 uj, u32 *pup, u32 *pattern)
136 if (((sdram_data[uj]) != (pattern[uj])) && (*pup != 0x3)) {
143 *pup |= (1 << (uk % PUP_NUM_16BIT));
150 * Desc: Execute compare per PUP
206 * Desc: Execute compare per PUP
225 u32 pup = 0;
239 compare_pattern_v1(uj, &pup, pattern, pup_groups, 0);
258 *new_locked_pup |= pup;
269 * Desc: Execute SRAM compare per PUP and DQ.
286 /* bit array failed dq per pup for current compare */
288 u32 update_pup; /* pup as HW convention */
289 u32 max_pup; /* maximal pup index */
291 u32 ui, dq, pup;
339 /* error in low pup group */
340 for (pup = 0; pup < PUP_NUM_32BIT; pup++) {
341 val = CMP_BYTE_SHIFT * pup;
349 tmp_pup = (pup + PUP_NUM_32BIT *
352 tmp_pup = (pup % PUP_NUM_16BIT);
360 * Pup is failed - Go over all DQs and
405 for (pup = 0; pup < max_pup; pup++) {
406 if (pbs_write_pup[dq] & (1 << pup)) {
407 val = pup * (1 - ecc) + ecc * ECC_PUP;
428 * Desc: Execute compare per PUP without DMA (no burst mode)