Searched refs:addnl_dvdr (Results 1 – 2 of 2) sorted by relevance
173 u32 addnl_dvdr = 1; in cpsw_set_coalesce() local194 addnl_dvdr = CPSW_INTPRESCALE_MASK / prescale; in cpsw_set_coalesce()196 if (addnl_dvdr > 1) { in cpsw_set_coalesce()197 prescale *= addnl_dvdr; in cpsw_set_coalesce()198 if (coal_intvl > (CPSW_CMINTMAX_INTVL * addnl_dvdr)) in cpsw_set_coalesce()200 * addnl_dvdr); in cpsw_set_coalesce()202 addnl_dvdr = 1; in cpsw_set_coalesce()207 num_interrupts = (1000 * addnl_dvdr) / coal_intvl; in cpsw_set_coalesce()
418 u32 prescale = 0, addnl_dvdr = 1, coal_intvl = 0; in emac_set_coalesce() local450 addnl_dvdr = EMAC_DM646X_INTPRESCALE_MASK / prescale; in emac_set_coalesce()452 if (addnl_dvdr > 1) { in emac_set_coalesce()453 prescale *= addnl_dvdr; in emac_set_coalesce()455 * addnl_dvdr)) in emac_set_coalesce()457 * addnl_dvdr); in emac_set_coalesce()459 addnl_dvdr = 1; in emac_set_coalesce()464 num_interrupts = (1000 * addnl_dvdr) / coal_intvl; in emac_set_coalesce()