Lines Matching defs:coal_intvl
488 u32 coal_intvl;
727 coal->rx_coalesce_usecs = priv->coal_intvl;
745 u32 prescale = 0, addnl_dvdr = 1, coal_intvl = 0;
750 coal_intvl = coal->rx_coalesce_usecs;
757 if (coal_intvl < EMAC_DM646X_CMINTMIN_INTVL)
758 coal_intvl = EMAC_DM646X_CMINTMIN_INTVL;
760 if (coal_intvl > EMAC_DM646X_CMINTMAX_INTVL) {
769 if (coal_intvl > (EMAC_DM646X_CMINTMAX_INTVL
771 coal_intvl = (EMAC_DM646X_CMINTMAX_INTVL
775 coal_intvl = EMAC_DM646X_CMINTMAX_INTVL;
779 num_interrupts = (1000 * addnl_dvdr) / coal_intvl;
793 prescale = coal_intvl * priv->bus_freq_mhz;
796 coal_intvl = prescale / priv->bus_freq_mhz;
803 printk(KERN_INFO"Set coalesce to %d usecs.\n", coal_intvl);
804 priv->coal_intvl = coal_intvl;
2556 if (priv->coal_intvl != 0) {
2559 coal.rx_coalesce_usecs = (priv->coal_intvl << 4);
2803 priv->coal_intvl = 0;