Lines Matching refs:w_order
476 int w_order) in bnx2x_init_pxp_arb() argument
485 if (w_order > MAX_WR_ORD) { in bnx2x_init_pxp_arb()
487 w_order, MAX_WR_ORD); in bnx2x_init_pxp_arb()
488 w_order = MAX_WR_ORD; in bnx2x_init_pxp_arb()
492 w_order = 0; in bnx2x_init_pxp_arb()
494 DP(NETIF_MSG_HW, "read order %d write order %d\n", r_order, w_order); in bnx2x_init_pxp_arb()
509 write_arb_data[i][w_order].l); in bnx2x_init_pxp_arb()
512 write_arb_data[i][w_order].add); in bnx2x_init_pxp_arb()
515 write_arb_data[i][w_order].ubound); in bnx2x_init_pxp_arb()
520 val | (write_arb_data[i][w_order].l << 10)); in bnx2x_init_pxp_arb()
524 val | (write_arb_data[i][w_order].add << 10)); in bnx2x_init_pxp_arb()
528 val | (write_arb_data[i][w_order].ubound << 7)); in bnx2x_init_pxp_arb()
532 val = write_arb_data[NUM_WR_Q-1][w_order].add; in bnx2x_init_pxp_arb()
533 val += write_arb_data[NUM_WR_Q-1][w_order].ubound << 10; in bnx2x_init_pxp_arb()
534 val += write_arb_data[NUM_WR_Q-1][w_order].l << 17; in bnx2x_init_pxp_arb()
542 REG_WR(bp, PXP2_REG_RQ_WR_MBS0, w_order); in bnx2x_init_pxp_arb()
543 REG_WR(bp, PXP2_REG_RQ_WR_MBS1, w_order); in bnx2x_init_pxp_arb()
551 REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x4 << w_order)); in bnx2x_init_pxp_arb()
553 REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x8 << w_order)); in bnx2x_init_pxp_arb()
555 REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x18 << w_order)); in bnx2x_init_pxp_arb()
566 val = w_order; in bnx2x_init_pxp_arb()
569 val = ((w_order == 0) ? 2 : 3); in bnx2x_init_pxp_arb()