Lines Matching refs:w_order
420 static void bnx2x_init_pxp_arb(struct bnx2x *bp, int r_order, int w_order) in bnx2x_init_pxp_arb() argument
429 if (w_order > MAX_WR_ORD) { in bnx2x_init_pxp_arb()
431 w_order, MAX_WR_ORD); in bnx2x_init_pxp_arb()
432 w_order = MAX_WR_ORD; in bnx2x_init_pxp_arb()
436 w_order = 0; in bnx2x_init_pxp_arb()
438 DP(NETIF_MSG_HW, "read order %d write order %d\n", r_order, w_order); in bnx2x_init_pxp_arb()
453 write_arb_data[i][w_order].l); in bnx2x_init_pxp_arb()
456 write_arb_data[i][w_order].add); in bnx2x_init_pxp_arb()
459 write_arb_data[i][w_order].ubound); in bnx2x_init_pxp_arb()
464 val | (write_arb_data[i][w_order].l << 10)); in bnx2x_init_pxp_arb()
468 val | (write_arb_data[i][w_order].add << 10)); in bnx2x_init_pxp_arb()
472 val | (write_arb_data[i][w_order].ubound << 7)); in bnx2x_init_pxp_arb()
476 val = write_arb_data[NUM_WR_Q-1][w_order].add; in bnx2x_init_pxp_arb()
477 val += write_arb_data[NUM_WR_Q-1][w_order].ubound << 10; in bnx2x_init_pxp_arb()
478 val += write_arb_data[NUM_WR_Q-1][w_order].l << 17; in bnx2x_init_pxp_arb()
486 REG_WR(bp, PXP2_REG_RQ_WR_MBS0, w_order); in bnx2x_init_pxp_arb()
487 REG_WR(bp, PXP2_REG_RQ_WR_MBS1, w_order); in bnx2x_init_pxp_arb()
495 REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x8 << w_order)); in bnx2x_init_pxp_arb()
497 REG_WR(bp, PXP2_REG_WR_USDMDP_TH, (0x18 << w_order)); in bnx2x_init_pxp_arb()
508 val = w_order; in bnx2x_init_pxp_arb()
511 val = ((w_order == 0) ? 2 : 3); in bnx2x_init_pxp_arb()