Lines Matching refs:coal_intvl
381 u32 coal_intvl; member
928 coal->rx_coalesce_usecs = priv->coal_intvl; in cpsw_get_coalesce()
940 u32 coal_intvl = 0; in cpsw_set_coalesce() local
942 coal_intvl = coal->rx_coalesce_usecs; in cpsw_set_coalesce()
952 if (coal_intvl < CPSW_CMINTMIN_INTVL) in cpsw_set_coalesce()
953 coal_intvl = CPSW_CMINTMIN_INTVL; in cpsw_set_coalesce()
955 if (coal_intvl > CPSW_CMINTMAX_INTVL) { in cpsw_set_coalesce()
963 if (coal_intvl > (CPSW_CMINTMAX_INTVL * addnl_dvdr)) in cpsw_set_coalesce()
964 coal_intvl = (CPSW_CMINTMAX_INTVL in cpsw_set_coalesce()
968 coal_intvl = CPSW_CMINTMAX_INTVL; in cpsw_set_coalesce()
972 num_interrupts = (1000 * addnl_dvdr) / coal_intvl; in cpsw_set_coalesce()
983 cpsw_notice(priv, timer, "Set coalesce to %d usecs.\n", coal_intvl); in cpsw_set_coalesce()
989 priv->coal_intvl = coal_intvl; in cpsw_set_coalesce()
992 priv->coal_intvl = coal_intvl; in cpsw_set_coalesce()
1339 if (priv->coal_intvl != 0) { in cpsw_ndo_open()
1342 coal.rx_coalesce_usecs = (priv->coal_intvl << 4); in cpsw_ndo_open()
2150 priv_sl2->coal_intvl = 0; in cpsw_probe_dual_emac()
2313 priv->coal_intvl = 0; in cpsw_probe()