Lines Matching refs:bankp
1395 struct mc_bank *bankp;
1399 bankp = &(mcp->mc_bank[bank]);
1400 retry = bankp->mcb_active;
1401 bankp->mcb_active = NULL;
1402 mc_retry_info_put(&bankp->mcb_retry_freelist, retry);
1405 bankp->mcb_rewrite_count = 0;
1407 while (retry = mc_retry_info_get(&bankp->mcb_retry_pending)) {
1409 mc_retry_info_put(&bankp->mcb_retry_freelist, retry);
1416 if (!bankp->mcb_active && !bankp->mcb_retry_pending) {
1421 bankp = &(mcp->mc_bank[mbank]);
1422 if (!bankp->mcb_active && !bankp->mcb_retry_pending) {
1437 struct mc_bank *bankp;
1439 bankp = &mcp->mc_bank[bank];
1441 retry = mc_retry_info_get(&bankp->mcb_retry_freelist);
1471 ASSERT(bankp->mcb_active == NULL);
1472 bankp->mcb_active = retry;
1474 mc_retry_info_put(&bankp->mcb_retry_pending, retry);
2119 struct mc_bank *bankp;
2121 bankp = &(mcp->mc_bank[bank]);
2122 retry = bankp->mcb_active;
2727 struct mc_bank *bankp;
2736 bankp = &(mcp->mc_bank[bk]);
2737 bankp->mcb_status = BANK_INSTALLED;
2738 bankp->mcb_reg_base = REGS_PA(macaddr, i);
2740 bankp->mcb_retry_freelist = NULL;
2741 bankp->mcb_retry_pending = NULL;
2742 bankp->mcb_active = NULL;
2743 retry = &bankp->mcb_retry_infos[0];
2745 mc_retry_info_put(&bankp->mcb_retry_freelist, retry);
2749 bankp->mcb_ptrl_cntl = (reg & MAC_CNTL_PTRL_PRESERVE_BITS);
2759 bankp->mcb_status |= BANK_MIRROR_MODE;
2785 bankp->mcb_status |= BANK_PTRL_RUNNING;