Lines Matching refs:ipg_data
1176 del_timer_sync(&lp->ipg_data.ipg_timer);
1214 add_timer(&lp->ipg_data.ipg_timer);
1601 del_timer_sync(&lp->ipg_data.ipg_timer);
1635 mod_timer(&lp->ipg_data.ipg_timer,
1644 struct amd8111e_priv *lp = from_timer(lp, t, ipg_data.ipg_timer);
1645 struct ipg_info *ipg_data = &lp->ipg_data;
1647 unsigned int prev_col_cnt = ipg_data->col_cnt;
1652 ipg_data->ipg = DEFAULT_IPG;
1656 if (ipg_data->ipg_state == SSTATE) {
1658 if (ipg_data->timer_tick == IPG_STABLE_TIME) {
1660 ipg_data->timer_tick = 0;
1661 ipg_data->ipg = MIN_IPG - IPG_STEP;
1662 ipg_data->current_ipg = MIN_IPG;
1663 ipg_data->diff_col_cnt = 0xFFFFFFFF;
1664 ipg_data->ipg_state = CSTATE;
1667 ipg_data->timer_tick++;
1670 if (ipg_data->ipg_state == CSTATE) {
1674 total_col_cnt = ipg_data->col_cnt =
1678 (ipg_data->diff_col_cnt)) {
1680 ipg_data->diff_col_cnt =
1683 ipg_data->ipg = ipg_data->current_ipg;
1686 ipg_data->current_ipg += IPG_STEP;
1688 if (ipg_data->current_ipg <= MAX_IPG)
1689 tmp_ipg = ipg_data->current_ipg;
1691 tmp_ipg = ipg_data->ipg;
1692 ipg_data->ipg_state = SSTATE;
1697 mod_timer(&lp->ipg_data.ipg_timer, jiffies + IPG_CONVERGE_JIFFIES);
1854 timer_setup(&lp->ipg_data.ipg_timer, amd8111e_config_ipg, 0);
1855 lp->ipg_data.ipg_timer.expires = jiffies +
1857 lp->ipg_data.ipg = DEFAULT_IPG;
1858 lp->ipg_data.ipg_state = CSTATE;