Lines Matching refs:ipg_data

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