Lines Matching refs:ipg_data

1184 		del_timer_sync(&lp->ipg_data.ipg_timer);  in amd8111e_close()
1222 add_timer(&lp->ipg_data.ipg_timer); in amd8111e_open()
1609 del_timer_sync(&lp->ipg_data.ipg_timer); in amd8111e_suspend()
1644 mod_timer(&lp->ipg_data.ipg_timer, in amd8111e_resume()
1653 struct amd8111e_priv *lp = from_timer(lp, t, ipg_data.ipg_timer); in amd8111e_config_ipg()
1654 struct ipg_info *ipg_data = &lp->ipg_data; in amd8111e_config_ipg() local
1656 unsigned int prev_col_cnt = ipg_data->col_cnt; in amd8111e_config_ipg()
1661 ipg_data->ipg = DEFAULT_IPG; in amd8111e_config_ipg()
1665 if(ipg_data->ipg_state == SSTATE){ in amd8111e_config_ipg()
1667 if(ipg_data->timer_tick == IPG_STABLE_TIME){ in amd8111e_config_ipg()
1669 ipg_data->timer_tick = 0; in amd8111e_config_ipg()
1670 ipg_data->ipg = MIN_IPG - IPG_STEP; in amd8111e_config_ipg()
1671 ipg_data->current_ipg = MIN_IPG; in amd8111e_config_ipg()
1672 ipg_data->diff_col_cnt = 0xFFFFFFFF; in amd8111e_config_ipg()
1673 ipg_data->ipg_state = CSTATE; in amd8111e_config_ipg()
1676 ipg_data->timer_tick++; in amd8111e_config_ipg()
1679 if(ipg_data->ipg_state == CSTATE){ in amd8111e_config_ipg()
1683 total_col_cnt = ipg_data->col_cnt = in amd8111e_config_ipg()
1687 (ipg_data->diff_col_cnt)){ in amd8111e_config_ipg()
1689 ipg_data->diff_col_cnt = in amd8111e_config_ipg()
1692 ipg_data->ipg = ipg_data->current_ipg; in amd8111e_config_ipg()
1695 ipg_data->current_ipg += IPG_STEP; in amd8111e_config_ipg()
1697 if (ipg_data->current_ipg <= MAX_IPG) in amd8111e_config_ipg()
1698 tmp_ipg = ipg_data->current_ipg; in amd8111e_config_ipg()
1700 tmp_ipg = ipg_data->ipg; in amd8111e_config_ipg()
1701 ipg_data->ipg_state = SSTATE; in amd8111e_config_ipg()
1706 mod_timer(&lp->ipg_data.ipg_timer, jiffies + IPG_CONVERGE_JIFFIES); in amd8111e_config_ipg()
1865 timer_setup(&lp->ipg_data.ipg_timer, amd8111e_config_ipg, 0); in amd8111e_probe_one()
1866 lp->ipg_data.ipg_timer.expires = jiffies + in amd8111e_probe_one()
1868 lp->ipg_data.ipg = DEFAULT_IPG; in amd8111e_probe_one()
1869 lp->ipg_data.ipg_state = CSTATE; in amd8111e_probe_one()