Lines Matching defs:us428ctls
175 struct us428ctls_sharedmem *us428ctls = usx2y->us428ctls_sharedmem;
187 if (us428ctls) {
189 if (us428ctls->ctl_snapshot_last == -2) {
192 us428ctls->ctl_snapshot_last = -1;
203 n = us428ctls->ctl_snapshot_last + 1;
206 memcpy(us428ctls->ctl_snapshot + n, usx2y->in04_buf, sizeof(us428ctls->ctl_snapshot[0]));
207 us428ctls->ctl_snapshot_differs_at[n] = diff;
208 us428ctls->ctl_snapshot_last = n;
220 if (us428ctls && us428ctls->p4out_last >= 0 && us428ctls->p4out_last < N_US428_P4OUT_BUFS) {
221 if (us428ctls->p4out_last != us428ctls->p4out_sent) {
222 send = us428ctls->p4out_sent + 1;
227 p4out = us428ctls->p4out + send; // FIXME if more than 1 p4out is new, 1 gets lost.
233 us428ctls->p4out_sent = send;