Searched refs:init_crd (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 2473 u32 init_crd, crd; in bnx2x_pbf_update() local 2480 init_crd = REG_RD(bp, PBF_REG_P0_INIT_CRD + port*4); in bnx2x_pbf_update() 2482 DP(NETIF_MSG_LINK, "init_crd 0x%x crd 0x%x\n", init_crd, crd); in bnx2x_pbf_update() 2484 while ((init_crd != crd) && count) { in bnx2x_pbf_update() 2490 if (init_crd != crd) { in bnx2x_pbf_update() 2492 init_crd, crd); in bnx2x_pbf_update() 2505 init_crd = 778; /* (800-18-4) */ in bnx2x_pbf_update() 2516 init_crd = thresh + 553 - 22; in bnx2x_pbf_update() 2524 REG_WR(bp, PBF_REG_P0_INIT_CRD + port*4, init_crd); in bnx2x_pbf_update() 2526 line_speed, init_crd); in bnx2x_pbf_update()
|
D | bnx2x_main.c | 1216 u32 init_crd; member 1231 u32 init_crd, crd, crd_start, crd_freed, crd_freed_start; in bnx2x_pbf_pN_buf_flushed() local 1236 init_crd = REG_RD(bp, regs->init_crd); in bnx2x_pbf_pN_buf_flushed() 1238 DP(BNX2X_MSG_SP, "INIT CREDIT[%d] : %x\n", regs->pN, init_crd); in bnx2x_pbf_pN_buf_flushed() 1242 while ((crd != init_crd) && ((u32)SUB_S32(crd_freed, crd_freed_start) < in bnx2x_pbf_pN_buf_flushed() 1243 (init_crd - crd_start))) { in bnx2x_pbf_pN_buf_flushed()
|