Home
last modified time | relevance | path

Searched refs:intr_per_ms (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/arm/ti/cpsw/
H A Dif_cpsw.c2609 uint32_t ctrl, intr_per_ms; in cpsw_intr_coalesce() local
2630 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()