Lines Matching refs:ipg_data
1185 del_timer_sync(&lp->ipg_data.ipg_timer); in amd8111e_close()
1215 add_timer(&lp->ipg_data.ipg_timer); in amd8111e_open()
1683 del_timer_sync(&lp->ipg_data.ipg_timer); in amd8111e_suspend()
1728 mod_timer(&lp->ipg_data.ipg_timer, in amd8111e_resume()
1751 struct ipg_info* ipg_data = &lp->ipg_data; in amd8111e_config_ipg() local
1753 unsigned int prev_col_cnt = ipg_data->col_cnt; in amd8111e_config_ipg()
1758 ipg_data->ipg = DEFAULT_IPG; in amd8111e_config_ipg()
1762 if(ipg_data->ipg_state == SSTATE){ in amd8111e_config_ipg()
1764 if(ipg_data->timer_tick == IPG_STABLE_TIME){ in amd8111e_config_ipg()
1766 ipg_data->timer_tick = 0; in amd8111e_config_ipg()
1767 ipg_data->ipg = MIN_IPG - IPG_STEP; in amd8111e_config_ipg()
1768 ipg_data->current_ipg = MIN_IPG; in amd8111e_config_ipg()
1769 ipg_data->diff_col_cnt = 0xFFFFFFFF; in amd8111e_config_ipg()
1770 ipg_data->ipg_state = CSTATE; in amd8111e_config_ipg()
1773 ipg_data->timer_tick++; in amd8111e_config_ipg()
1776 if(ipg_data->ipg_state == CSTATE){ in amd8111e_config_ipg()
1780 total_col_cnt = ipg_data->col_cnt = in amd8111e_config_ipg()
1784 (ipg_data->diff_col_cnt)){ in amd8111e_config_ipg()
1786 ipg_data->diff_col_cnt = in amd8111e_config_ipg()
1789 ipg_data->ipg = ipg_data->current_ipg; in amd8111e_config_ipg()
1792 ipg_data->current_ipg += IPG_STEP; in amd8111e_config_ipg()
1794 if (ipg_data->current_ipg <= MAX_IPG) in amd8111e_config_ipg()
1795 tmp_ipg = ipg_data->current_ipg; in amd8111e_config_ipg()
1797 tmp_ipg = ipg_data->ipg; in amd8111e_config_ipg()
1798 ipg_data->ipg_state = SSTATE; in amd8111e_config_ipg()
1803 mod_timer(&lp->ipg_data.ipg_timer, jiffies + (IPG_CONVERGE_TIME * HZ)); in amd8111e_config_ipg()
1937 init_timer(&lp->ipg_data.ipg_timer); in amd8111e_probe_one()
1938 lp->ipg_data.ipg_timer.data = (unsigned long) dev; in amd8111e_probe_one()
1939 lp->ipg_data.ipg_timer.function = (void *)&amd8111e_config_ipg; in amd8111e_probe_one()
1940 lp->ipg_data.ipg_timer.expires = jiffies + in amd8111e_probe_one()
1942 lp->ipg_data.ipg = DEFAULT_IPG; in amd8111e_probe_one()
1943 lp->ipg_data.ipg_state = CSTATE; in amd8111e_probe_one()