Searched refs:intr_per_ms (Results 1 – 1 of 1) sorted by relevance
2609 uint32_t ctrl, intr_per_ms; in cpsw_intr_coalesce() local2630 intr_per_ms = 1000 / sc->coal_us; in cpsw_intr_coalesce()2632 if (intr_per_ms > CPSW_WR_C_IMAX_MAX) in cpsw_intr_coalesce()2633 intr_per_ms = CPSW_WR_C_IMAX_MAX; in cpsw_intr_coalesce()2634 if (intr_per_ms < CPSW_WR_C_IMAX_MIN) in cpsw_intr_coalesce()2635 intr_per_ms = CPSW_WR_C_IMAX_MIN; in cpsw_intr_coalesce()2641 cpsw_write_4(sc, CPSW_WR_C_RX_IMAX(0), intr_per_ms); in cpsw_intr_coalesce()2642 cpsw_write_4(sc, CPSW_WR_C_TX_IMAX(0), intr_per_ms); in cpsw_intr_coalesce()