Lines Matching refs:counter_val
1297 for (i = 0; i < ARRAY_SIZE(s->counter_val); i++) { in csio_closest_thresh()
1298 delta = cnt - s->counter_val[i]; in csio_closest_thresh()
1508 sge->counter_val[0] = THRESHOLD_0_G(ingress_rx_threshold); in csio_wr_get_sge()
1509 sge->counter_val[1] = THRESHOLD_1_G(ingress_rx_threshold); in csio_wr_get_sge()
1510 sge->counter_val[2] = THRESHOLD_2_G(ingress_rx_threshold); in csio_wr_get_sge()
1511 sge->counter_val[3] = THRESHOLD_3_G(ingress_rx_threshold); in csio_wr_get_sge()
1578 sge->counter_val[0] = CSIO_SGE_INT_CNT_VAL_0; in csio_wr_set_sge()
1579 sge->counter_val[1] = CSIO_SGE_INT_CNT_VAL_1; in csio_wr_set_sge()
1580 sge->counter_val[2] = CSIO_SGE_INT_CNT_VAL_2; in csio_wr_set_sge()
1581 sge->counter_val[3] = CSIO_SGE_INT_CNT_VAL_3; in csio_wr_set_sge()
1583 csio_wr_reg32(hw, THRESHOLD_0_V(sge->counter_val[0]) | in csio_wr_set_sge()
1584 THRESHOLD_1_V(sge->counter_val[1]) | in csio_wr_set_sge()
1585 THRESHOLD_2_V(sge->counter_val[2]) | in csio_wr_set_sge()
1586 THRESHOLD_3_V(sge->counter_val[3]), in csio_wr_set_sge()