Searched refs:hdp (Results 1 – 7 of 7) sorted by relevance
/original-bsd/sys/netccitt/ |
H A D | hd_input.c | 73 for (hdp = hdcbhead; hdp; hdp = hdp->hd_next) in hdintr() 345 hdp -> hd_vr = (hdp -> hd_vr + 1) % MODULUS; 493 && hdp->hd_timer == 0 && hdp->hd_txq.head == 0) 501 if (hdp->hd_vs != hdp->hd_retxqi) 502 hd_send_iframe (hdp, hdp->hd_retxq[hdp->hd_vs], pollbit); 505 while (hdp->hd_vs != hdp->hd_retxqi) 506 hd_send_iframe (hdp, hdp->hd_retxq[hdp->hd_vs], POLLOFF); 599 while (hdp->hd_vs != hdp->hd_retxqi) 600 hd_send_iframe (hdp, hdp->hd_retxq[hdp->hd_vs], POLLOFF); 638 m_freem (hdp->hd_retxq[hdp->hd_lastrxnr]); [all …]
|
H A D | hd_output.c | 88 if (hdp->hd_vs == (hdp->hd_lastrxnr + hdp->hd_xcp->xc_lwsize) % MODULUS) { 133 hdp->hd_vs = (hdp->hd_vs + 7) % MODULUS; 143 hdp->hd_lasttxnr = hdp->hd_vr; 146 if (hdp->hd_vs == hdp->hd_retxqi) { 149 hdp->hd_retxq[hdp->hd_retxqi] = buf; 150 hdp->hd_retxqi = (hdp->hd_retxqi + 1) % MODULUS; 154 hdp->hd_vs = (hdp->hd_vs + 1) % MODULUS; 164 (*hdp->hd_output)(hdp, m); 204 hdp->hd_xx = hdp->hd_vs; 208 hdp->hd_vs = hdp->hd_lastrxnr; [all …]
|
H A D | hd_timer.c | 52 for (hdp = hdcbhead; hdp; hdp = hdp->hd_next) { in hd_timer() 53 if (hdp->hd_rrtimer && (--hdp->hd_rrtimer == 0)) { in hd_timer() 54 if (hdp->hd_lasttxnr != hdp->hd_vr) in hd_timer() 58 if (!(hdp->hd_timer && --hdp->hd_timer == 0)) in hd_timer() 61 switch (hdp->hd_state) { in hd_timer() 68 if (hdp->hd_lastrxnr != hdp->hd_vs) { /* XXX */ in hd_timer() 69 hdp->hd_timeouts++; in hd_timer() 77 hdp->hd_retxcnt = 0; in hd_timer() 87 hdp->hd_retxcnt = 0; in hd_timer() 96 hdp->hd_retxcnt = 0; in hd_timer() [all …]
|
H A D | hd_subr.c | 56 for (hdp = hdcbhead; hdp; hdp = hdp->hd_next) 65 if (hdp == 0) 67 bzero((caddr_t)hdp, sizeof(*hdp)); 68 hdp->hd_pkp = 85 hdp->hd_pkp = 142 hdp->hd_vs = hdp->hd_vr = 0; 143 hdp->hd_lasttxnr = hdp->hd_lastrxnr = 0; 288 hdp->hd_lasttxnr = hdp->hd_vr; 296 (*hdp->hd_output) (hdp, buf); 360 hdp->hd_vs, hdp->hd_vr, hdp->hd_retxqi); [all …]
|
H A D | hd_debug.c | 44 hd_trace (hdp, direction, frame) 45 struct hdcb *hdp; variable 55 if (hdp -> hd_xcp -> xc_ltrace) { 67 switch (hd_decode (hdp, frame)) { 138 hd_savetrace (hdp, dir, frame) 139 struct hdcb *hdp; variable 153 htp->ht_hdp = hdp; 158 hd_dumptrace (hdp) 159 struct hdcb *hdp; variable 165 hd_status (hdp); [all …]
|
H A D | hd_var.h | 44 #define SET_TIMER(hdp) hdp->hd_timer = hd_t1 argument 45 #define KILL_TIMER(hdp) hdp->hd_timer = 0 argument
|
/original-bsd/sys/news3400/news3400/ |
H A D | autoconf.c | 159 register struct hb_driver *hdp; local 207 i = (*hdp->hd_probe)(hm); 226 hdp->hd_minfo[hm->hm_ctlr] = hm; 228 if (hi->hi_driver != hdp || hi->hi_alive || 234 if ((*hdp->hd_slave)(hi, reg, intr)) { 245 hdp->hd_dinfo[hi->hi_unit] = hi; 247 hdp->hd_dname, hi->hi_unit, 255 (*hdp->hd_attach)(hi); 267 i = (*hdp->hd_probe)(hi); 293 hdp->hd_dinfo[hi->hi_unit] = hi; [all …]
|