Searched refs:init_crd (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 2481 u32 init_crd, crd; bnx2x_pbf_update() local 2488 init_crd = REG_RD(bp, PBF_REG_P0_INIT_CRD + port*4); bnx2x_pbf_update() 2490 DP(NETIF_MSG_LINK, "init_crd 0x%x crd 0x%x\n", init_crd, crd); bnx2x_pbf_update() 2492 while ((init_crd != crd) && count) { bnx2x_pbf_update() 2498 if (init_crd != crd) { bnx2x_pbf_update() 2499 DP(NETIF_MSG_LINK, "BUG! init_crd 0x%x != crd 0x%x\n", bnx2x_pbf_update() 2500 init_crd, crd); bnx2x_pbf_update() 2513 init_crd = 778; /* (800-18-4) */ bnx2x_pbf_update() 2524 init_crd = thresh + 553 - 22; bnx2x_pbf_update() 2532 REG_WR(bp, PBF_REG_P0_INIT_CRD + port*4, init_crd); bnx2x_pbf_update() 2534 line_speed, init_crd); bnx2x_pbf_update()
|
H A D | bnx2x_main.c | 1192 u32 init_crd; member in struct:pbf_pN_buf_regs 1207 u32 init_crd, crd, crd_start, crd_freed, crd_freed_start; bnx2x_pbf_pN_buf_flushed() local 1212 init_crd = REG_RD(bp, regs->init_crd); bnx2x_pbf_pN_buf_flushed() 1214 DP(BNX2X_MSG_SP, "INIT CREDIT[%d] : %x\n", regs->pN, init_crd); bnx2x_pbf_pN_buf_flushed() 1218 while ((crd != init_crd) && ((u32)SUB_S32(crd_freed, crd_freed_start) < bnx2x_pbf_pN_buf_flushed() 1219 (init_crd - crd_start))) { bnx2x_pbf_pN_buf_flushed()
|
Completed in 224 milliseconds