Searched refs:coal_intvl (Results 1 – 5 of 5) sorted by relevance
161 coal->rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_get_coalesce()174 u32 coal_intvl = 0; in cpsw_set_coalesce() local177 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 …]
324 u32 coal_intvl; member396 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() local421 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 …]
341 u32 coal_intvl; member
844 if (cpsw->coal_intvl != 0) { in cpsw_ndo_open()847 coal.rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_ndo_open()
895 if (cpsw->coal_intvl != 0) { in cpsw_ndo_open()898 coal.rx_coalesce_usecs = cpsw->coal_intvl; in cpsw_ndo_open()