Lines Matching refs:ax25_dev
39 void ax25_ds_setup_timer(ax25_dev *ax25_dev) in ax25_ds_setup_timer() argument
41 timer_setup(&ax25_dev->dama.slave_timer, ax25_ds_timeout, 0); in ax25_ds_setup_timer()
44 void ax25_ds_del_timer(ax25_dev *ax25_dev) in ax25_ds_del_timer() argument
46 if (ax25_dev) in ax25_ds_del_timer()
47 del_timer(&ax25_dev->dama.slave_timer); in ax25_ds_del_timer()
50 void ax25_ds_set_timer(ax25_dev *ax25_dev) in ax25_ds_set_timer() argument
52 if (ax25_dev == NULL) /* paranoia */ in ax25_ds_set_timer()
55 ax25_dev->dama.slave_timeout = in ax25_ds_set_timer()
56 msecs_to_jiffies(ax25_dev->values[AX25_VALUES_DS_TIMEOUT]) / 10; in ax25_ds_set_timer()
57 mod_timer(&ax25_dev->dama.slave_timer, jiffies + HZ); in ax25_ds_set_timer()
67 ax25_dev *ax25_dev = from_timer(ax25_dev, t, dama.slave_timer); in ax25_ds_timeout() local
70 if (ax25_dev == NULL || !ax25_dev->dama.slave) in ax25_ds_timeout()
73 if (!ax25_dev->dama.slave_timeout || --ax25_dev->dama.slave_timeout) { in ax25_ds_timeout()
74 ax25_ds_set_timer(ax25_dev); in ax25_ds_timeout()
80 if (ax25->ax25_dev != ax25_dev || !(ax25->condition & AX25_COND_DAMA_MODE)) in ax25_ds_timeout()
88 ax25_dev_dama_off(ax25_dev); in ax25_ds_timeout()
198 ax25->window = ax25->ax25_dev->values[AX25_VALUES_WINDOW]; in ax25_ds_t1_timeout()