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