Lines Matching defs:us428ctls
178 struct us428ctls_sharedmem *us428ctls = usx2y->us428ctls_sharedmem;
188 if (us428ctls) {
190 if (-2 == us428ctls->ctl_snapshot_last) {
193 us428ctls->ctl_snapshot_last = -1;
205 int n = us428ctls->ctl_snapshot_last + 1;
208 memcpy(us428ctls->ctl_snapshot + n, usx2y->in04_buf, sizeof(us428ctls->ctl_snapshot[0]));
209 us428ctls->ctl_snapshot_differs_at[n] = diff;
210 us428ctls->ctl_snapshot_last = n;
222 if (us428ctls && us428ctls->p4out_last >= 0 && us428ctls->p4out_last < N_US428_P4OUT_BUFS) {
223 if (us428ctls->p4out_last != us428ctls->p4out_sent) {
224 int j, send = us428ctls->p4out_sent + 1;
229 struct us428_p4out *p4out = us428ctls->p4out + send; // FIXME if more than 1 p4out is new, 1 gets lost.
235 us428ctls->p4out_sent = send;