Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_ethtool.c161 coal->rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_get_coalesce()
174 u32 coal_intvl = 0; in cpsw_set_coalesce() local
177 coal_intvl = coal->rx_coalesce_usecs; in cpsw_set_coalesce()
187 if (coal_intvl < CPSW_CMINTMIN_INTVL) in cpsw_set_coalesce()
188 coal_intvl = CPSW_CMINTMIN_INTVL; in cpsw_set_coalesce()
190 if (coal_intvl > CPSW_CMINTMAX_INTVL) { in cpsw_set_coalesce()
198 if (coal_intvl > (CPSW_CMINTMAX_INTVL * addnl_dvdr)) in cpsw_set_coalesce()
199 coal_intvl = (CPSW_CMINTMAX_INTVL in cpsw_set_coalesce()
203 coal_intvl = CPSW_CMINTMAX_INTVL; in cpsw_set_coalesce()
207 num_interrupts = (1000 * addnl_dvdr) / coal_intvl; in cpsw_set_coalesce()
[all …]
Ddavinci_emac.c324 u32 coal_intvl; member
396 coal->rx_coalesce_usecs = priv->coal_intvl; in emac_get_coalesce()
418 u32 prescale = 0, addnl_dvdr = 1, coal_intvl = 0; in emac_set_coalesce() local
421 priv->coal_intvl = 0; in emac_set_coalesce()
435 coal_intvl = coal->rx_coalesce_usecs; in emac_set_coalesce()
442 if (coal_intvl < EMAC_DM646X_CMINTMIN_INTVL) in emac_set_coalesce()
443 coal_intvl = EMAC_DM646X_CMINTMIN_INTVL; in emac_set_coalesce()
445 if (coal_intvl > EMAC_DM646X_CMINTMAX_INTVL) { in emac_set_coalesce()
454 if (coal_intvl > (EMAC_DM646X_CMINTMAX_INTVL in emac_set_coalesce()
456 coal_intvl = (EMAC_DM646X_CMINTMAX_INTVL in emac_set_coalesce()
[all …]
Dcpsw_priv.h341 u32 coal_intvl; member
Dcpsw.c844 if (cpsw->coal_intvl != 0) { in cpsw_ndo_open()
847 coal.rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_ndo_open()
Dcpsw_new.c895 if (cpsw->coal_intvl != 0) { in cpsw_ndo_open()
898 coal.rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_ndo_open()