max_cos           282 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 					 (bp)->max_cos)
max_cos           342 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h #define MAX_ETH_TXQ_IDX(bp)	(BNX2X_NUM_NON_CNIC_QUEUES(bp) * (bp)->max_cos)
max_cos           562 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	u8			max_cos; /* actual number of active tx coses */
max_cos          1822 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	u8					max_cos;
max_cos          1962 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 	for ((var) = 0; (var) < (fp)->max_cos; (var)++)
max_cos           122 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	old_max_eth_txqs = BNX2X_NUM_ETH_QUEUES(bp) * (bp)->max_cos;
max_cos           124 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 				(bp)->max_cos;
max_cos           177 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for (cos = 1; cos < bp->max_cos; cos++) {
max_cos          1982 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	tx = BNX2X_NUM_ETH_QUEUES(bp) * bp->max_cos;
max_cos          2475 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->max_cos = bp->max_cos;
max_cos          2478 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 		fp->max_cos = 1;
max_cos          2693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	bnx2x_setup_tc(bp->dev, bp->max_cos);
max_cos          4252 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	if (num_tc > bp->max_cos) {
max_cos          4254 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 			  num_tc, bp->max_cos);
max_cos          4287 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c 	for (cos = 0; cos < bp->max_cos; cos++) {
max_cos           661 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u8 max_cos = 0;
max_cos           668 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0;
max_cos           671 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1;
max_cos           674 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	for (i = 0; i < max_cos; i++)
max_cos           693 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	u8 max_cos = 0;
max_cos           728 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		max_cos = DCBX_E3B0_MAX_NUM_COS_PORT0;
max_cos           731 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 		max_cos = DCBX_E3B0_MAX_NUM_COS_PORT1;
max_cos           734 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c 	for (i = 0; i < max_cos; i++)
max_cos          6364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BUG_ON(fp->max_cos > BNX2X_MULTI_TX_COS);
max_cos          6383 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			     fp->max_cos, BP_FUNC(bp), bnx2x_sp(bp, q_rdata),
max_cos          6473 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BUG_ON(fp->max_cos != 1);
max_cos          8754 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	init_params->max_cos = fp->max_cos;
max_cos          8757 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	    fp->index, init_params->max_cos);
max_cos          8760 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	for (cos = FIRST_TX_COS_INDEX; cos < init_params->max_cos; cos++) {
max_cos          8880 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	      tx_index < fp->max_cos;
max_cos          8911 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	     tx_index < fp->max_cos;
max_cos          12508 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bp->max_cos = 1;
max_cos          12510 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bp->max_cos = BNX2X_MULTI_TX_COS_E1X;
max_cos          12512 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bp->max_cos = BNX2X_MULTI_TX_COS_E2_E3A0;
max_cos          12514 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 		bp->max_cos = BNX2X_MULTI_TX_COS_E3B0;
max_cos          12518 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 	BNX2X_DEV_INFO("set bp->max_cos to %d\n", bp->max_cos);
max_cos          4746 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	if (o->next_tx_only >= o->max_cos)
max_cos          4751 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 			   o->next_tx_only, o->max_cos);
max_cos          5032 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	for (cos = 0; cos < o->max_cos; cos++) {
max_cos          5112 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	if (cid_index >= o->max_cos) {
max_cos          5226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	if (cid_index >= o->max_cos) {
max_cos          5364 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	if (cid_idx >= o->max_cos) {
max_cos          5380 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	if (cid_index >= o->max_cos) {
max_cos          5670 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c 	obj->max_cos = cid_cnt;
max_cos           899 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h 	u8 max_cos;
max_cos          1062 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h 	u8 max_cos;
max_cos          2406 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 		     tx_idx < fp->max_cos; tx_idx++) {