1# 1 "ldv/08_1/drivers/tty/synclink_gt.ko/unsafe.cil.out.i"
2# 1 "<built-in>"
3# 1 "<command-line>"
4# 1 "ldv/08_1/drivers/tty/synclink_gt.ko/unsafe.cil.out.i"
5# 19 "include/asm-generic/int-ll64.h"
6typedef signed char __s8;
7# 20 "include/asm-generic/int-ll64.h"
8typedef unsigned char __u8;
9# 22 "include/asm-generic/int-ll64.h"
10typedef short __s16;
11# 23 "include/asm-generic/int-ll64.h"
12typedef unsigned short __u16;
13# 25 "include/asm-generic/int-ll64.h"
14typedef int __s32;
15# 26 "include/asm-generic/int-ll64.h"
16typedef unsigned int __u32;
17# 29 "include/asm-generic/int-ll64.h"
18typedef long long __s64;
19# 30 "include/asm-generic/int-ll64.h"
20typedef unsigned long long __u64;
21# 43 "include/asm-generic/int-ll64.h"
22typedef unsigned char u8;
23# 46 "include/asm-generic/int-ll64.h"
24typedef unsigned short u16;
25# 48 "include/asm-generic/int-ll64.h"
26typedef int s32;
27# 49 "include/asm-generic/int-ll64.h"
28typedef unsigned int u32;
29# 51 "include/asm-generic/int-ll64.h"
30typedef long long s64;
31# 52 "include/asm-generic/int-ll64.h"
32typedef unsigned long long u64;
33# 11 "include/asm-generic/types.h"
34typedef unsigned short umode_t;
35# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
36typedef unsigned int __kernel_mode_t;
37# 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
38typedef unsigned long __kernel_nlink_t;
39# 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
40typedef long __kernel_off_t;
41# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
42typedef int __kernel_pid_t;
43# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
44typedef unsigned int __kernel_uid_t;
45# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
46typedef unsigned int __kernel_gid_t;
47# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
48typedef unsigned long __kernel_size_t;
49# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
50typedef long __kernel_ssize_t;
51# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
52typedef long __kernel_time_t;
53# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
54typedef long __kernel_clock_t;
55# 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
56typedef int __kernel_timer_t;
57# 25 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
58typedef int __kernel_clockid_t;
59# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
60typedef long long __kernel_loff_t;
61# 41 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
62typedef __kernel_uid_t __kernel_uid32_t;
63# 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/posix_types_64.h"
64typedef __kernel_gid_t __kernel_gid32_t;
65# 21 "include/linux/types.h"
66typedef __u32 __kernel_dev_t;
67# 24 "include/linux/types.h"
68typedef __kernel_dev_t dev_t;
69# 26 "include/linux/types.h"
70typedef __kernel_mode_t mode_t;
71# 27 "include/linux/types.h"
72typedef __kernel_nlink_t nlink_t;
73# 28 "include/linux/types.h"
74typedef __kernel_off_t off_t;
75# 29 "include/linux/types.h"
76typedef __kernel_pid_t pid_t;
77# 34 "include/linux/types.h"
78typedef __kernel_clockid_t clockid_t;
79# 37 "include/linux/types.h"
80typedef _Bool bool;
81# 39 "include/linux/types.h"
82typedef __kernel_uid32_t uid_t;
83# 40 "include/linux/types.h"
84typedef __kernel_gid32_t gid_t;
85# 53 "include/linux/types.h"
86typedef __kernel_loff_t loff_t;
87# 62 "include/linux/types.h"
88typedef __kernel_size_t size_t;
89# 67 "include/linux/types.h"
90typedef __kernel_ssize_t ssize_t;
91# 77 "include/linux/types.h"
92typedef __kernel_time_t time_t;
93# 110 "include/linux/types.h"
94typedef __s32 int32_t;
95# 116 "include/linux/types.h"
96typedef __u32 uint32_t;
97# 141 "include/linux/types.h"
98typedef unsigned long sector_t;
99# 142 "include/linux/types.h"
100typedef unsigned long blkcnt_t;
101# 154 "include/linux/types.h"
102typedef u64 dma_addr_t;
103# 177 "include/linux/types.h"
104typedef __u16 __le16;
105# 178 "include/linux/types.h"
106typedef __u16 __be16;
107# 179 "include/linux/types.h"
108typedef __u32 __le32;
109# 180 "include/linux/types.h"
110typedef __u32 __be32;
111# 185 "include/linux/types.h"
112typedef __u32 __wsum;
113# 201 "include/linux/types.h"
114typedef unsigned int gfp_t;
115# 202 "include/linux/types.h"
116typedef unsigned int fmode_t;
117# 205 "include/linux/types.h"
118typedef u64 phys_addr_t;
119# 210 "include/linux/types.h"
120typedef phys_addr_t resource_size_t;
121# 214 "include/linux/types.h"
122struct __anonstruct_atomic_t_6 {
123 int counter ;
124};
125# 214 "include/linux/types.h"
126typedef struct __anonstruct_atomic_t_6 atomic_t;
127# 219 "include/linux/types.h"
128struct __anonstruct_atomic64_t_7 {
129 long counter ;
130};
131# 219 "include/linux/types.h"
132typedef struct __anonstruct_atomic64_t_7 atomic64_t;
133# 220 "include/linux/types.h"
134struct list_head {
135 struct list_head *next ;
136 struct list_head *prev ;
137};
138# 225 "include/linux/types.h"
139struct hlist_node;
140# 225 "include/linux/types.h"
141struct hlist_node;
142# 225 "include/linux/types.h"
143struct hlist_head {
144 struct hlist_node *first ;
145};
146# 229 "include/linux/types.h"
147struct hlist_node {
148 struct hlist_node *next ;
149 struct hlist_node **pprev ;
150};
151# 58 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
152struct module;
153# 58 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
154struct module;
155# 58 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/alternative.h"
156struct module;
157# 145 "include/linux/init.h"
158typedef void (*ctor_fn_t)(void);
159# 48 "include/linux/dynamic_debug.h"
160struct bug_entry {
161 int bug_addr_disp ;
162 int file_disp ;
163 unsigned short line ;
164 unsigned short flags ;
165};
166# 70 "include/asm-generic/bug.h"
167struct completion;
168# 70 "include/asm-generic/bug.h"
169struct completion;
170# 70 "include/asm-generic/bug.h"
171struct completion;
172# 71 "include/asm-generic/bug.h"
173struct pt_regs;
174# 71 "include/asm-generic/bug.h"
175struct pt_regs;
176# 71 "include/asm-generic/bug.h"
177struct pt_regs;
178# 321 "include/linux/kernel.h"
179struct pid;
180# 321 "include/linux/kernel.h"
181struct pid;
182# 321 "include/linux/kernel.h"
183struct pid;
184# 671 "include/linux/kernel.h"
185struct timespec;
186# 671 "include/linux/kernel.h"
187struct timespec;
188# 671 "include/linux/kernel.h"
189struct timespec;
190# 672 "include/linux/kernel.h"
191struct compat_timespec;
192# 672 "include/linux/kernel.h"
193struct compat_timespec;
194# 672 "include/linux/kernel.h"
195struct compat_timespec;
196# 673 "include/linux/kernel.h"
197struct __anonstruct_futex_9 {
198 u32 *uaddr ;
199 u32 val ;
200 u32 flags ;
201 u32 bitset ;
202 u64 time ;
203 u32 *uaddr2 ;
204};
205# 673 "include/linux/kernel.h"
206struct __anonstruct_nanosleep_10 {
207 clockid_t clockid ;
208 struct timespec *rmtp ;
209 struct compat_timespec *compat_rmtp ;
210 u64 expires ;
211};
212# 673 "include/linux/kernel.h"
213struct pollfd;
214# 673 "include/linux/kernel.h"
215struct pollfd;
216# 673 "include/linux/kernel.h"
217struct __anonstruct_poll_11 {
218 struct pollfd *ufds ;
219 int nfds ;
220 int has_timeout ;
221 unsigned long tv_sec ;
222 unsigned long tv_nsec ;
223};
224# 673 "include/linux/kernel.h"
225union __anonunion_ldv_2052_8 {
226 struct __anonstruct_futex_9 futex ;
227 struct __anonstruct_nanosleep_10 nanosleep ;
228 struct __anonstruct_poll_11 poll ;
229};
230# 673 "include/linux/kernel.h"
231struct restart_block {
232 long (*fn)(struct restart_block * ) ;
233 union __anonunion_ldv_2052_8 ldv_2052 ;
234};
235# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
236struct page;
237# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
238struct page;
239# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/page_types.h"
240struct page;
241# 21 "include/asm-generic/getorder.h"
242struct task_struct;
243# 21 "include/asm-generic/getorder.h"
244struct task_struct;
245# 21 "include/asm-generic/getorder.h"
246struct task_struct;
247# 22 "include/asm-generic/getorder.h"
248struct exec_domain;
249# 22 "include/asm-generic/getorder.h"
250struct exec_domain;
251# 22 "include/asm-generic/getorder.h"
252struct exec_domain;
253# 23 "include/asm-generic/getorder.h"
254struct mm_struct;
255# 23 "include/asm-generic/getorder.h"
256struct mm_struct;
257# 23 "include/asm-generic/getorder.h"
258struct mm_struct;
259# 215 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/segment.h"
260struct pt_regs {
261 unsigned long r15 ;
262 unsigned long r14 ;
263 unsigned long r13 ;
264 unsigned long r12 ;
265 unsigned long bp ;
266 unsigned long bx ;
267 unsigned long r11 ;
268 unsigned long r10 ;
269 unsigned long r9 ;
270 unsigned long r8 ;
271 unsigned long ax ;
272 unsigned long cx ;
273 unsigned long dx ;
274 unsigned long si ;
275 unsigned long di ;
276 unsigned long orig_ax ;
277 unsigned long ip ;
278 unsigned long cs ;
279 unsigned long flags ;
280 unsigned long sp ;
281 unsigned long ss ;
282};
283# 282 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/ptrace.h"
284struct kernel_vm86_regs {
285 struct pt_regs pt ;
286 unsigned short es ;
287 unsigned short __esh ;
288 unsigned short ds ;
289 unsigned short __dsh ;
290 unsigned short fs ;
291 unsigned short __fsh ;
292 unsigned short gs ;
293 unsigned short __gsh ;
294};
295# 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
296union __anonunion_ldv_2292_12 {
297 struct pt_regs *regs ;
298 struct kernel_vm86_regs *vm86 ;
299};
300# 203 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/vm86.h"
301struct math_emu_info {
302 long ___orig_eip ;
303 union __anonunion_ldv_2292_12 ldv_2292 ;
304};
305# 13 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
306typedef unsigned long pgdval_t;
307# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
308typedef unsigned long pgprotval_t;
309# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_64_types.h"
310struct pgprot {
311 pgprotval_t pgprot ;
312};
313# 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
314typedef struct pgprot pgprot_t;
315# 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
316struct __anonstruct_pgd_t_15 {
317 pgdval_t pgd ;
318};
319# 192 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
320typedef struct __anonstruct_pgd_t_15 pgd_t;
321# 280 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
322typedef struct page *pgtable_t;
323# 288 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
324struct file;
325# 288 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
326struct file;
327# 288 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
328struct file;
329# 303 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
330struct seq_file;
331# 303 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
332struct seq_file;
333# 303 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
334struct seq_file;
335# 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
336struct __anonstruct_ldv_2526_19 {
337 unsigned int a ;
338 unsigned int b ;
339};
340# 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
341struct __anonstruct_ldv_2541_20 {
342 u16 limit0 ;
343 u16 base0 ;
344 unsigned char base1 ;
345 unsigned char type : 4 ;
346 unsigned char s : 1 ;
347 unsigned char dpl : 2 ;
348 unsigned char p : 1 ;
349 unsigned char limit : 4 ;
350 unsigned char avl : 1 ;
351 unsigned char l : 1 ;
352 unsigned char d : 1 ;
353 unsigned char g : 1 ;
354 unsigned char base2 ;
355};
356# 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
357union __anonunion_ldv_2542_18 {
358 struct __anonstruct_ldv_2526_19 ldv_2526 ;
359 struct __anonstruct_ldv_2541_20 ldv_2541 ;
360};
361# 335 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/pgtable_types.h"
362struct desc_struct {
363 union __anonunion_ldv_2542_18 ldv_2542 ;
364};
365# 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
366struct thread_struct;
367# 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
368struct thread_struct;
369# 122 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
370struct thread_struct;
371# 124 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
372struct cpumask;
373# 124 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
374struct cpumask;
375# 124 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
376struct cpumask;
377# 125 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/desc_defs.h"
378struct paravirt_callee_save {
379 void *func ;
380};
381# 190 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
382struct pv_irq_ops {
383 struct paravirt_callee_save save_fl ;
384 struct paravirt_callee_save restore_fl ;
385 struct paravirt_callee_save irq_disable ;
386 struct paravirt_callee_save irq_enable ;
387 void (*safe_halt)(void) ;
388 void (*halt)(void) ;
389 void (*adjust_exception_frame)(void) ;
390};
391# 320 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
392struct arch_spinlock;
393# 320 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
394struct arch_spinlock;
395# 320 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
396struct arch_spinlock;
397# 304 "include/linux/bitmap.h"
398struct cpumask {
399 unsigned long bits[64U] ;
400};
401# 13 "include/linux/cpumask.h"
402typedef struct cpumask cpumask_t;
403# 622 "include/linux/cpumask.h"
404typedef struct cpumask *cpumask_var_t;
405# 90 "include/linux/personality.h"
406struct map_segment;
407# 90 "include/linux/personality.h"
408struct map_segment;
409# 90 "include/linux/personality.h"
410struct exec_domain {
411 char const *name ;
412 void (*handler)(int , struct pt_regs * ) ;
413 unsigned char pers_low ;
414 unsigned char pers_high ;
415 unsigned long *signal_map ;
416 unsigned long *signal_invmap ;
417 struct map_segment *err_map ;
418 struct map_segment *socktype_map ;
419 struct map_segment *sockopt_map ;
420 struct map_segment *af_map ;
421 struct module *module ;
422 struct exec_domain *next ;
423};
424# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
425struct seq_operations;
426# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
427struct seq_operations;
428# 277 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
429struct i387_fsave_struct {
430 u32 cwd ;
431 u32 swd ;
432 u32 twd ;
433 u32 fip ;
434 u32 fcs ;
435 u32 foo ;
436 u32 fos ;
437 u32 st_space[20U] ;
438 u32 status ;
439};
440# 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
441struct __anonstruct_ldv_5171_24 {
442 u64 rip ;
443 u64 rdp ;
444};
445# 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
446struct __anonstruct_ldv_5177_25 {
447 u32 fip ;
448 u32 fcs ;
449 u32 foo ;
450 u32 fos ;
451};
452# 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
453union __anonunion_ldv_5178_23 {
454 struct __anonstruct_ldv_5171_24 ldv_5171 ;
455 struct __anonstruct_ldv_5177_25 ldv_5177 ;
456};
457# 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
458union __anonunion_ldv_5187_26 {
459 u32 padding1[12U] ;
460 u32 sw_reserved[12U] ;
461};
462# 295 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
463struct i387_fxsave_struct {
464 u16 cwd ;
465 u16 swd ;
466 u16 twd ;
467 u16 fop ;
468 union __anonunion_ldv_5178_23 ldv_5178 ;
469 u32 mxcsr ;
470 u32 mxcsr_mask ;
471 u32 st_space[32U] ;
472 u32 xmm_space[64U] ;
473 u32 padding[12U] ;
474 union __anonunion_ldv_5187_26 ldv_5187 ;
475};
476# 329 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
477struct i387_soft_struct {
478 u32 cwd ;
479 u32 swd ;
480 u32 twd ;
481 u32 fip ;
482 u32 fcs ;
483 u32 foo ;
484 u32 fos ;
485 u32 st_space[20U] ;
486 u8 ftop ;
487 u8 changed ;
488 u8 lookahead ;
489 u8 no_update ;
490 u8 rm ;
491 u8 alimit ;
492 struct math_emu_info *info ;
493 u32 entry_eip ;
494};
495# 350 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
496struct ymmh_struct {
497 u32 ymmh_space[64U] ;
498};
499# 355 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
500struct xsave_hdr_struct {
501 u64 xstate_bv ;
502 u64 reserved1[2U] ;
503 u64 reserved2[5U] ;
504};
505# 361 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
506struct xsave_struct {
507 struct i387_fxsave_struct i387 ;
508 struct xsave_hdr_struct xsave_hdr ;
509 struct ymmh_struct ymmh ;
510};
511# 367 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
512union thread_xstate {
513 struct i387_fsave_struct fsave ;
514 struct i387_fxsave_struct fxsave ;
515 struct i387_soft_struct soft ;
516 struct xsave_struct xsave ;
517};
518# 375 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
519struct fpu {
520 union thread_xstate *state ;
521};
522# 421 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
523struct kmem_cache;
524# 421 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
525struct kmem_cache;
526# 422 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
527struct perf_event;
528# 422 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
529struct perf_event;
530# 422 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
531struct perf_event;
532# 423 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
533struct thread_struct {
534 struct desc_struct tls_array[3U] ;
535 unsigned long sp0 ;
536 unsigned long sp ;
537 unsigned long usersp ;
538 unsigned short es ;
539 unsigned short ds ;
540 unsigned short fsindex ;
541 unsigned short gsindex ;
542 unsigned long fs ;
543 unsigned long gs ;
544 struct perf_event *ptrace_bps[4U] ;
545 unsigned long debugreg6 ;
546 unsigned long ptrace_dr7 ;
547 unsigned long cr2 ;
548 unsigned long trap_no ;
549 unsigned long error_code ;
550 struct fpu fpu ;
551 unsigned long *io_bitmap_ptr ;
552 unsigned long iopl ;
553 unsigned int io_bitmap_max ;
554};
555# 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
556struct __anonstruct_mm_segment_t_28 {
557 unsigned long seg ;
558};
559# 622 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/processor.h"
560typedef struct __anonstruct_mm_segment_t_28 mm_segment_t;
561# 23 "include/asm-generic/atomic-long.h"
562typedef atomic64_t atomic_long_t;
563# 131 "include/asm-generic/atomic-long.h"
564struct thread_info {
565 struct task_struct *task ;
566 struct exec_domain *exec_domain ;
567 __u32 flags ;
568 __u32 status ;
569 __u32 cpu ;
570 int preempt_count ;
571 mm_segment_t addr_limit ;
572 struct restart_block restart_block ;
573 void *sysenter_return ;
574 int uaccess_err ;
575};
576# 8 "include/linux/bottom_half.h"
577struct arch_spinlock {
578 unsigned int slock ;
579};
580# 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
581typedef struct arch_spinlock arch_spinlock_t;
582# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
583struct __anonstruct_arch_rwlock_t_29 {
584 unsigned int lock ;
585};
586# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
587typedef struct __anonstruct_arch_rwlock_t_29 arch_rwlock_t;
588# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
589struct lockdep_map;
590# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
591struct lockdep_map;
592# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/spinlock_types.h"
593struct lockdep_map;
594# 55 "include/linux/debug_locks.h"
595struct stack_trace {
596 unsigned int nr_entries ;
597 unsigned int max_entries ;
598 unsigned long *entries ;
599 int skip ;
600};
601# 26 "include/linux/stacktrace.h"
602struct lockdep_subclass_key {
603 char __one_byte ;
604};
605# 53 "include/linux/lockdep.h"
606struct lock_class_key {
607 struct lockdep_subclass_key subkeys[8U] ;
608};
609# 59 "include/linux/lockdep.h"
610struct lock_class {
611 struct list_head hash_entry ;
612 struct list_head lock_entry ;
613 struct lockdep_subclass_key *key ;
614 unsigned int subclass ;
615 unsigned int dep_gen_id ;
616 unsigned long usage_mask ;
617 struct stack_trace usage_traces[13U] ;
618 struct list_head locks_after ;
619 struct list_head locks_before ;
620 unsigned int version ;
621 unsigned long ops ;
622 char const *name ;
623 int name_version ;
624 unsigned long contention_point[4U] ;
625 unsigned long contending_point[4U] ;
626};
627# 144 "include/linux/lockdep.h"
628struct lockdep_map {
629 struct lock_class_key *key ;
630 struct lock_class *class_cache[2U] ;
631 char const *name ;
632 int cpu ;
633 unsigned long ip ;
634};
635# 187 "include/linux/lockdep.h"
636struct held_lock {
637 u64 prev_chain_key ;
638 unsigned long acquire_ip ;
639 struct lockdep_map *instance ;
640 struct lockdep_map *nest_lock ;
641 u64 waittime_stamp ;
642 u64 holdtime_stamp ;
643 unsigned short class_idx : 13 ;
644 unsigned char irq_context : 2 ;
645 unsigned char trylock : 1 ;
646 unsigned char read : 2 ;
647 unsigned char check : 2 ;
648 unsigned char hardirqs_off : 1 ;
649 unsigned short references : 11 ;
650};
651# 552 "include/linux/lockdep.h"
652struct raw_spinlock {
653 arch_spinlock_t raw_lock ;
654 unsigned int magic ;
655 unsigned int owner_cpu ;
656 void *owner ;
657 struct lockdep_map dep_map ;
658};
659# 32 "include/linux/spinlock_types.h"
660typedef struct raw_spinlock raw_spinlock_t;
661# 33 "include/linux/spinlock_types.h"
662struct __anonstruct_ldv_6059_31 {
663 u8 __padding[24U] ;
664 struct lockdep_map dep_map ;
665};
666# 33 "include/linux/spinlock_types.h"
667union __anonunion_ldv_6060_30 {
668 struct raw_spinlock rlock ;
669 struct __anonstruct_ldv_6059_31 ldv_6059 ;
670};
671# 33 "include/linux/spinlock_types.h"
672struct spinlock {
673 union __anonunion_ldv_6060_30 ldv_6060 ;
674};
675# 76 "include/linux/spinlock_types.h"
676typedef struct spinlock spinlock_t;
677# 23 "include/linux/rwlock_types.h"
678struct __anonstruct_rwlock_t_32 {
679 arch_rwlock_t raw_lock ;
680 unsigned int magic ;
681 unsigned int owner_cpu ;
682 void *owner ;
683 struct lockdep_map dep_map ;
684};
685# 23 "include/linux/rwlock_types.h"
686typedef struct __anonstruct_rwlock_t_32 rwlock_t;
687# 36 "include/linux/seqlock.h"
688struct __anonstruct_seqlock_t_33 {
689 unsigned int sequence ;
690 spinlock_t lock ;
691};
692# 36 "include/linux/seqlock.h"
693typedef struct __anonstruct_seqlock_t_33 seqlock_t;
694# 110 "include/linux/seqlock.h"
695struct seqcount {
696 unsigned int sequence ;
697};
698# 121 "include/linux/seqlock.h"
699typedef struct seqcount seqcount_t;
700# 233 "include/linux/seqlock.h"
701struct timespec {
702 __kernel_time_t tv_sec ;
703 long tv_nsec ;
704};
705# 286 "include/linux/time.h"
706struct kstat {
707 u64 ino ;
708 dev_t dev ;
709 umode_t mode ;
710 unsigned int nlink ;
711 uid_t uid ;
712 gid_t gid ;
713 dev_t rdev ;
714 loff_t size ;
715 struct timespec atime ;
716 struct timespec mtime ;
717 struct timespec ctime ;
718 unsigned long blksize ;
719 unsigned long long blocks ;
720};
721# 28 "include/linux/wait.h"
722struct __wait_queue;
723# 28 "include/linux/wait.h"
724struct __wait_queue;
725# 28 "include/linux/wait.h"
726typedef struct __wait_queue wait_queue_t;
727# 31 "include/linux/wait.h"
728struct __wait_queue {
729 unsigned int flags ;
730 void *private ;
731 int (*func)(wait_queue_t * , unsigned int , int , void * ) ;
732 struct list_head task_list ;
733};
734# 49 "include/linux/wait.h"
735struct __wait_queue_head {
736 spinlock_t lock ;
737 struct list_head task_list ;
738};
739# 54 "include/linux/wait.h"
740typedef struct __wait_queue_head wait_queue_head_t;
741# 96 "include/linux/nodemask.h"
742struct __anonstruct_nodemask_t_34 {
743 unsigned long bits[16U] ;
744};
745# 96 "include/linux/nodemask.h"
746typedef struct __anonstruct_nodemask_t_34 nodemask_t;
747# 640 "include/linux/mmzone.h"
748struct mutex {
749 atomic_t count ;
750 spinlock_t wait_lock ;
751 struct list_head wait_list ;
752 struct task_struct *owner ;
753 char const *name ;
754 void *magic ;
755 struct lockdep_map dep_map ;
756};
757# 63 "include/linux/mutex.h"
758struct mutex_waiter {
759 struct list_head list ;
760 struct task_struct *task ;
761 void *magic ;
762};
763# 171 "include/linux/mutex.h"
764struct rw_semaphore;
765# 171 "include/linux/mutex.h"
766struct rw_semaphore;
767# 171 "include/linux/mutex.h"
768struct rw_semaphore;
769# 172 "include/linux/mutex.h"
770struct rw_semaphore {
771 long count ;
772 spinlock_t wait_lock ;
773 struct list_head wait_list ;
774 struct lockdep_map dep_map ;
775};
776# 763 "include/linux/mmzone.h"
777struct ctl_table;
778# 763 "include/linux/mmzone.h"
779struct ctl_table;
780# 763 "include/linux/mmzone.h"
781struct ctl_table;
782# 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/e820.h"
783struct resource {
784 resource_size_t start ;
785 resource_size_t end ;
786 char const *name ;
787 unsigned long flags ;
788 struct resource *parent ;
789 struct resource *sibling ;
790 struct resource *child ;
791};
792# 25 "include/linux/ioport.h"
793struct pci_dev;
794# 25 "include/linux/ioport.h"
795struct pci_dev;
796# 175 "include/linux/ioport.h"
797struct device;
798# 175 "include/linux/ioport.h"
799struct device;
800# 175 "include/linux/ioport.h"
801struct device;
802# 312 "include/linux/jiffies.h"
803union ktime {
804 s64 tv64 ;
805};
806# 59 "include/linux/ktime.h"
807typedef union ktime ktime_t;
808# 99 "include/linux/debugobjects.h"
809struct tvec_base;
810# 99 "include/linux/debugobjects.h"
811struct tvec_base;
812# 99 "include/linux/debugobjects.h"
813struct tvec_base;
814# 100 "include/linux/debugobjects.h"
815struct timer_list {
816 struct list_head entry ;
817 unsigned long expires ;
818 struct tvec_base *base ;
819 void (*function)(unsigned long ) ;
820 unsigned long data ;
821 int slack ;
822 int start_pid ;
823 void *start_site ;
824 char start_comm[16U] ;
825 struct lockdep_map lockdep_map ;
826};
827# 289 "include/linux/timer.h"
828struct hrtimer;
829# 289 "include/linux/timer.h"
830struct hrtimer;
831# 289 "include/linux/timer.h"
832struct hrtimer;
833# 290 "include/linux/timer.h"
834enum hrtimer_restart;
835# 290 "include/linux/timer.h"
836enum hrtimer_restart;
837# 302 "include/linux/timer.h"
838struct work_struct;
839# 302 "include/linux/timer.h"
840struct work_struct;
841# 302 "include/linux/timer.h"
842struct work_struct;
843# 45 "include/linux/workqueue.h"
844struct work_struct {
845 atomic_long_t data ;
846 struct list_head entry ;
847 void (*func)(struct work_struct * ) ;
848 struct lockdep_map lockdep_map ;
849};
850# 86 "include/linux/workqueue.h"
851struct delayed_work {
852 struct work_struct work ;
853 struct timer_list timer ;
854};
855# 443 "include/linux/workqueue.h"
856struct completion {
857 unsigned int done ;
858 wait_queue_head_t wait ;
859};
860# 46 "include/linux/pm.h"
861struct pm_message {
862 int event ;
863};
864# 52 "include/linux/pm.h"
865typedef struct pm_message pm_message_t;
866# 53 "include/linux/pm.h"
867struct dev_pm_ops {
868 int (*prepare)(struct device * ) ;
869 void (*complete)(struct device * ) ;
870 int (*suspend)(struct device * ) ;
871 int (*resume)(struct device * ) ;
872 int (*freeze)(struct device * ) ;
873 int (*thaw)(struct device * ) ;
874 int (*poweroff)(struct device * ) ;
875 int (*restore)(struct device * ) ;
876 int (*suspend_noirq)(struct device * ) ;
877 int (*resume_noirq)(struct device * ) ;
878 int (*freeze_noirq)(struct device * ) ;
879 int (*thaw_noirq)(struct device * ) ;
880 int (*poweroff_noirq)(struct device * ) ;
881 int (*restore_noirq)(struct device * ) ;
882 int (*runtime_suspend)(struct device * ) ;
883 int (*runtime_resume)(struct device * ) ;
884 int (*runtime_idle)(struct device * ) ;
885};
886# 272 "include/linux/pm.h"
887enum rpm_status {
888 RPM_ACTIVE = 0,
889 RPM_RESUMING = 1,
890 RPM_SUSPENDED = 2,
891 RPM_SUSPENDING = 3
892} ;
893# 279 "include/linux/pm.h"
894enum rpm_request {
895 RPM_REQ_NONE = 0,
896 RPM_REQ_IDLE = 1,
897 RPM_REQ_SUSPEND = 2,
898 RPM_REQ_AUTOSUSPEND = 3,
899 RPM_REQ_RESUME = 4
900} ;
901# 287 "include/linux/pm.h"
902struct wakeup_source;
903# 287 "include/linux/pm.h"
904struct wakeup_source;
905# 287 "include/linux/pm.h"
906struct wakeup_source;
907# 288 "include/linux/pm.h"
908struct dev_pm_info {
909 pm_message_t power_state ;
910 unsigned char can_wakeup : 1 ;
911 unsigned char async_suspend : 1 ;
912 bool is_prepared ;
913 bool is_suspended ;
914 spinlock_t lock ;
915 struct list_head entry ;
916 struct completion completion ;
917 struct wakeup_source *wakeup ;
918 struct timer_list suspend_timer ;
919 unsigned long timer_expires ;
920 struct work_struct work ;
921 wait_queue_head_t wait_queue ;
922 atomic_t usage_count ;
923 atomic_t child_count ;
924 unsigned char disable_depth : 3 ;
925 unsigned char ignore_children : 1 ;
926 unsigned char idle_notification : 1 ;
927 unsigned char request_pending : 1 ;
928 unsigned char deferred_resume : 1 ;
929 unsigned char run_wake : 1 ;
930 unsigned char runtime_auto : 1 ;
931 unsigned char no_callbacks : 1 ;
932 unsigned char irq_safe : 1 ;
933 unsigned char use_autosuspend : 1 ;
934 unsigned char timer_autosuspends : 1 ;
935 enum rpm_request request ;
936 enum rpm_status runtime_status ;
937 int runtime_error ;
938 int autosuspend_delay ;
939 unsigned long last_busy ;
940 unsigned long active_jiffies ;
941 unsigned long suspended_jiffies ;
942 unsigned long accounting_timestamp ;
943 void *subsys_data ;
944};
945# 469 "include/linux/pm.h"
946struct dev_power_domain {
947 struct dev_pm_ops ops ;
948};
949# 175 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/topology.h"
950struct pci_bus;
951# 175 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/topology.h"
952struct pci_bus;
953# 175 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/topology.h"
954struct pci_bus;
955# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
956struct __anonstruct_mm_context_t_99 {
957 void *ldt ;
958 int size ;
959 unsigned short ia32_compat ;
960 struct mutex lock ;
961 void *vdso ;
962};
963# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/mmu.h"
964typedef struct __anonstruct_mm_context_t_99 mm_context_t;
965# 71 "include/asm-generic/iomap.h"
966struct vm_area_struct;
967# 71 "include/asm-generic/iomap.h"
968struct vm_area_struct;
969# 71 "include/asm-generic/iomap.h"
970struct vm_area_struct;
971# 53 "include/linux/rcupdate.h"
972struct rcu_head {
973 struct rcu_head *next ;
974 void (*func)(struct rcu_head * ) ;
975};
976# 841 "include/linux/rcupdate.h"
977struct nsproxy;
978# 841 "include/linux/rcupdate.h"
979struct nsproxy;
980# 841 "include/linux/rcupdate.h"
981struct nsproxy;
982# 842 "include/linux/rcupdate.h"
983struct ctl_table_root;
984# 842 "include/linux/rcupdate.h"
985struct ctl_table_root;
986# 842 "include/linux/rcupdate.h"
987struct ctl_table_root;
988# 843 "include/linux/rcupdate.h"
989struct ctl_table_set {
990 struct list_head list ;
991 struct ctl_table_set *parent ;
992 int (*is_seen)(struct ctl_table_set * ) ;
993};
994# 947 "include/linux/sysctl.h"
995struct ctl_table_header;
996# 947 "include/linux/sysctl.h"
997struct ctl_table_header;
998# 947 "include/linux/sysctl.h"
999struct ctl_table_header;
1000# 965 "include/linux/sysctl.h"
1001typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
1002# 985 "include/linux/sysctl.h"
1003struct ctl_table {
1004 char const *procname ;
1005 void *data ;
1006 int maxlen ;
1007 mode_t mode ;
1008 struct ctl_table *child ;
1009 struct ctl_table *parent ;
1010 proc_handler *proc_handler ;
1011 void *extra1 ;
1012 void *extra2 ;
1013};
1014# 1027 "include/linux/sysctl.h"
1015struct ctl_table_root {
1016 struct list_head root_list ;
1017 struct ctl_table_set default_set ;
1018 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
1019 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
1020};
1021# 1035 "include/linux/sysctl.h"
1022struct __anonstruct_ldv_12193_124 {
1023 struct ctl_table *ctl_table ;
1024 struct list_head ctl_entry ;
1025 int used ;
1026 int count ;
1027};
1028# 1035 "include/linux/sysctl.h"
1029union __anonunion_ldv_12195_123 {
1030 struct __anonstruct_ldv_12193_124 ldv_12193 ;
1031 struct rcu_head rcu ;
1032};
1033# 1035 "include/linux/sysctl.h"
1034struct ctl_table_header {
1035 union __anonunion_ldv_12195_123 ldv_12195 ;
1036 struct completion *unregistering ;
1037 struct ctl_table *ctl_table_arg ;
1038 struct ctl_table_root *root ;
1039 struct ctl_table_set *set ;
1040 struct ctl_table *attached_by ;
1041 struct ctl_table *attached_to ;
1042 struct ctl_table_header *parent ;
1043};
1044# 36 "include/linux/kmod.h"
1045struct cred;
1046# 36 "include/linux/kmod.h"
1047struct cred;
1048# 36 "include/linux/kmod.h"
1049struct cred;
1050# 27 "include/linux/elf.h"
1051typedef __u64 Elf64_Addr;
1052# 28 "include/linux/elf.h"
1053typedef __u16 Elf64_Half;
1054# 32 "include/linux/elf.h"
1055typedef __u32 Elf64_Word;
1056# 33 "include/linux/elf.h"
1057typedef __u64 Elf64_Xword;
1058# 202 "include/linux/elf.h"
1059struct elf64_sym {
1060 Elf64_Word st_name ;
1061 unsigned char st_info ;
1062 unsigned char st_other ;
1063 Elf64_Half st_shndx ;
1064 Elf64_Addr st_value ;
1065 Elf64_Xword st_size ;
1066};
1067# 210 "include/linux/elf.h"
1068typedef struct elf64_sym Elf64_Sym;
1069# 444 "include/linux/elf.h"
1070struct sock;
1071# 444 "include/linux/elf.h"
1072struct sock;
1073# 444 "include/linux/elf.h"
1074struct sock;
1075# 445 "include/linux/elf.h"
1076struct kobject;
1077# 445 "include/linux/elf.h"
1078struct kobject;
1079# 445 "include/linux/elf.h"
1080struct kobject;
1081# 446 "include/linux/elf.h"
1082enum kobj_ns_type {
1083 KOBJ_NS_TYPE_NONE = 0,
1084 KOBJ_NS_TYPE_NET = 1,
1085 KOBJ_NS_TYPES = 2
1086} ;
1087# 452 "include/linux/elf.h"
1088struct kobj_ns_type_operations {
1089 enum kobj_ns_type type ;
1090 void *(*grab_current_ns)(void) ;
1091 void const *(*netlink_ns)(struct sock * ) ;
1092 void const *(*initial_ns)(void) ;
1093 void (*drop_ns)(void * ) ;
1094};
1095# 57 "include/linux/kobject_ns.h"
1096struct attribute {
1097 char const *name ;
1098 mode_t mode ;
1099 struct lock_class_key *key ;
1100 struct lock_class_key skey ;
1101};
1102# 33 "include/linux/sysfs.h"
1103struct attribute_group {
1104 char const *name ;
1105 mode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1106 struct attribute **attrs ;
1107};
1108# 62 "include/linux/sysfs.h"
1109struct bin_attribute {
1110 struct attribute attr ;
1111 size_t size ;
1112 void *private ;
1113 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1114 loff_t , size_t ) ;
1115 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1116 loff_t , size_t ) ;
1117 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1118};
1119# 98 "include/linux/sysfs.h"
1120struct sysfs_ops {
1121 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1122 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1123};
1124# 116 "include/linux/sysfs.h"
1125struct sysfs_dirent;
1126# 116 "include/linux/sysfs.h"
1127struct sysfs_dirent;
1128# 116 "include/linux/sysfs.h"
1129struct sysfs_dirent;
1130# 181 "include/linux/sysfs.h"
1131struct kref {
1132 atomic_t refcount ;
1133};
1134# 49 "include/linux/kobject.h"
1135struct kset;
1136# 49 "include/linux/kobject.h"
1137struct kset;
1138# 49 "include/linux/kobject.h"
1139struct kobj_type;
1140# 49 "include/linux/kobject.h"
1141struct kobj_type;
1142# 49 "include/linux/kobject.h"
1143struct kobject {
1144 char const *name ;
1145 struct list_head entry ;
1146 struct kobject *parent ;
1147 struct kset *kset ;
1148 struct kobj_type *ktype ;
1149 struct sysfs_dirent *sd ;
1150 struct kref kref ;
1151 unsigned char state_initialized : 1 ;
1152 unsigned char state_in_sysfs : 1 ;
1153 unsigned char state_add_uevent_sent : 1 ;
1154 unsigned char state_remove_uevent_sent : 1 ;
1155 unsigned char uevent_suppress : 1 ;
1156};
1157# 109 "include/linux/kobject.h"
1158struct kobj_type {
1159 void (*release)(struct kobject * ) ;
1160 struct sysfs_ops const *sysfs_ops ;
1161 struct attribute **default_attrs ;
1162 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1163 void const *(*namespace)(struct kobject * ) ;
1164};
1165# 117 "include/linux/kobject.h"
1166struct kobj_uevent_env {
1167 char *envp[32U] ;
1168 int envp_idx ;
1169 char buf[2048U] ;
1170 int buflen ;
1171};
1172# 124 "include/linux/kobject.h"
1173struct kset_uevent_ops {
1174 int (* const filter)(struct kset * , struct kobject * ) ;
1175 char const *(* const name)(struct kset * , struct kobject * ) ;
1176 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1177};
1178# 141 "include/linux/kobject.h"
1179struct kset {
1180 struct list_head list ;
1181 spinlock_t list_lock ;
1182 struct kobject kobj ;
1183 struct kset_uevent_ops const *uevent_ops ;
1184};
1185# 219 "include/linux/kobject.h"
1186struct kernel_param;
1187# 219 "include/linux/kobject.h"
1188struct kernel_param;
1189# 219 "include/linux/kobject.h"
1190struct kernel_param;
1191# 220 "include/linux/kobject.h"
1192struct kernel_param_ops {
1193 int (*set)(char const * , struct kernel_param const * ) ;
1194 int (*get)(char * , struct kernel_param const * ) ;
1195 void (*free)(void * ) ;
1196};
1197# 44 "include/linux/moduleparam.h"
1198struct kparam_string;
1199# 44 "include/linux/moduleparam.h"
1200struct kparam_string;
1201# 44 "include/linux/moduleparam.h"
1202struct kparam_array;
1203# 44 "include/linux/moduleparam.h"
1204struct kparam_array;
1205# 44 "include/linux/moduleparam.h"
1206union __anonunion_ldv_12924_129 {
1207 void *arg ;
1208 struct kparam_string const *str ;
1209 struct kparam_array const *arr ;
1210};
1211# 44 "include/linux/moduleparam.h"
1212struct kernel_param {
1213 char const *name ;
1214 struct kernel_param_ops const *ops ;
1215 u16 perm ;
1216 u16 flags ;
1217 union __anonunion_ldv_12924_129 ldv_12924 ;
1218};
1219# 59 "include/linux/moduleparam.h"
1220struct kparam_string {
1221 unsigned int maxlen ;
1222 char *string ;
1223};
1224# 65 "include/linux/moduleparam.h"
1225struct kparam_array {
1226 unsigned int max ;
1227 unsigned int elemsize ;
1228 unsigned int *num ;
1229 struct kernel_param_ops const *ops ;
1230 void *elem ;
1231};
1232# 404 "include/linux/moduleparam.h"
1233struct jump_label_key {
1234 atomic_t enabled ;
1235};
1236# 99 "include/linux/jump_label.h"
1237struct tracepoint;
1238# 99 "include/linux/jump_label.h"
1239struct tracepoint;
1240# 99 "include/linux/jump_label.h"
1241struct tracepoint;
1242# 100 "include/linux/jump_label.h"
1243struct tracepoint_func {
1244 void *func ;
1245 void *data ;
1246};
1247# 29 "include/linux/tracepoint.h"
1248struct tracepoint {
1249 char const *name ;
1250 struct jump_label_key key ;
1251 void (*regfunc)(void) ;
1252 void (*unregfunc)(void) ;
1253 struct tracepoint_func *funcs ;
1254};
1255# 84 "include/linux/tracepoint.h"
1256struct mod_arch_specific {
1257
1258};
1259# 127 "include/trace/events/module.h"
1260struct kernel_symbol {
1261 unsigned long value ;
1262 char const *name ;
1263};
1264# 48 "include/linux/module.h"
1265struct module_attribute {
1266 struct attribute attr ;
1267 ssize_t (*show)(struct module_attribute * , struct module * , char * ) ;
1268 ssize_t (*store)(struct module_attribute * , struct module * , char const * ,
1269 size_t ) ;
1270 void (*setup)(struct module * , char const * ) ;
1271 int (*test)(struct module * ) ;
1272 void (*free)(struct module * ) ;
1273};
1274# 68 "include/linux/module.h"
1275struct module_param_attrs;
1276# 68 "include/linux/module.h"
1277struct module_param_attrs;
1278# 68 "include/linux/module.h"
1279struct module_kobject {
1280 struct kobject kobj ;
1281 struct module *mod ;
1282 struct kobject *drivers_dir ;
1283 struct module_param_attrs *mp ;
1284};
1285# 81 "include/linux/module.h"
1286struct exception_table_entry;
1287# 81 "include/linux/module.h"
1288struct exception_table_entry;
1289# 81 "include/linux/module.h"
1290struct exception_table_entry;
1291# 218 "include/linux/module.h"
1292enum module_state {
1293 MODULE_STATE_LIVE = 0,
1294 MODULE_STATE_COMING = 1,
1295 MODULE_STATE_GOING = 2
1296} ;
1297# 224 "include/linux/module.h"
1298struct module_ref {
1299 unsigned int incs ;
1300 unsigned int decs ;
1301};
1302# 418 "include/linux/module.h"
1303struct module_sect_attrs;
1304# 418 "include/linux/module.h"
1305struct module_sect_attrs;
1306# 418 "include/linux/module.h"
1307struct module_notes_attrs;
1308# 418 "include/linux/module.h"
1309struct module_notes_attrs;
1310# 418 "include/linux/module.h"
1311struct ftrace_event_call;
1312# 418 "include/linux/module.h"
1313struct ftrace_event_call;
1314# 418 "include/linux/module.h"
1315struct module {
1316 enum module_state state ;
1317 struct list_head list ;
1318 char name[56U] ;
1319 struct module_kobject mkobj ;
1320 struct module_attribute *modinfo_attrs ;
1321 char const *version ;
1322 char const *srcversion ;
1323 struct kobject *holders_dir ;
1324 struct kernel_symbol const *syms ;
1325 unsigned long const *crcs ;
1326 unsigned int num_syms ;
1327 struct kernel_param *kp ;
1328 unsigned int num_kp ;
1329 unsigned int num_gpl_syms ;
1330 struct kernel_symbol const *gpl_syms ;
1331 unsigned long const *gpl_crcs ;
1332 struct kernel_symbol const *unused_syms ;
1333 unsigned long const *unused_crcs ;
1334 unsigned int num_unused_syms ;
1335 unsigned int num_unused_gpl_syms ;
1336 struct kernel_symbol const *unused_gpl_syms ;
1337 unsigned long const *unused_gpl_crcs ;
1338 struct kernel_symbol const *gpl_future_syms ;
1339 unsigned long const *gpl_future_crcs ;
1340 unsigned int num_gpl_future_syms ;
1341 unsigned int num_exentries ;
1342 struct exception_table_entry *extable ;
1343 int (*init)(void) ;
1344 void *module_init ;
1345 void *module_core ;
1346 unsigned int init_size ;
1347 unsigned int core_size ;
1348 unsigned int init_text_size ;
1349 unsigned int core_text_size ;
1350 unsigned int init_ro_size ;
1351 unsigned int core_ro_size ;
1352 struct mod_arch_specific arch ;
1353 unsigned int taints ;
1354 unsigned int num_bugs ;
1355 struct list_head bug_list ;
1356 struct bug_entry *bug_table ;
1357 Elf64_Sym *symtab ;
1358 Elf64_Sym *core_symtab ;
1359 unsigned int num_symtab ;
1360 unsigned int core_num_syms ;
1361 char *strtab ;
1362 char *core_strtab ;
1363 struct module_sect_attrs *sect_attrs ;
1364 struct module_notes_attrs *notes_attrs ;
1365 char *args ;
1366 void *percpu ;
1367 unsigned int percpu_size ;
1368 unsigned int num_tracepoints ;
1369 struct tracepoint * const *tracepoints_ptrs ;
1370 unsigned int num_trace_bprintk_fmt ;
1371 char const **trace_bprintk_fmt_start ;
1372 struct ftrace_event_call **trace_events ;
1373 unsigned int num_trace_events ;
1374 unsigned int num_ftrace_callsites ;
1375 unsigned long *ftrace_callsites ;
1376 struct list_head source_list ;
1377 struct list_head target_list ;
1378 struct task_struct *waiter ;
1379 void (*exit)(void) ;
1380 struct module_ref *refptr ;
1381 ctor_fn_t (**ctors)(void) ;
1382 unsigned int num_ctors ;
1383};
1384# 8 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
1385struct siginfo;
1386# 8 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
1387struct siginfo;
1388# 8 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
1389struct siginfo;
1390# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
1391struct __anonstruct_sigset_t_130 {
1392 unsigned long sig[1U] ;
1393};
1394# 32 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
1395typedef struct __anonstruct_sigset_t_130 sigset_t;
1396# 17 "include/asm-generic/signal-defs.h"
1397typedef void __signalfn_t(int );
1398# 18 "include/asm-generic/signal-defs.h"
1399typedef __signalfn_t *__sighandler_t;
1400# 20 "include/asm-generic/signal-defs.h"
1401typedef void __restorefn_t(void);
1402# 21 "include/asm-generic/signal-defs.h"
1403typedef __restorefn_t *__sigrestore_t;
1404# 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
1405struct sigaction {
1406 __sighandler_t sa_handler ;
1407 unsigned long sa_flags ;
1408 __sigrestore_t sa_restorer ;
1409 sigset_t sa_mask ;
1410};
1411# 173 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
1412struct k_sigaction {
1413 struct sigaction sa ;
1414};
1415# 185 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/signal.h"
1416union sigval {
1417 int sival_int ;
1418 void *sival_ptr ;
1419};
1420# 10 "include/asm-generic/siginfo.h"
1421typedef union sigval sigval_t;
1422# 11 "include/asm-generic/siginfo.h"
1423struct __anonstruct__kill_132 {
1424 __kernel_pid_t _pid ;
1425 __kernel_uid32_t _uid ;
1426};
1427# 11 "include/asm-generic/siginfo.h"
1428struct __anonstruct__timer_133 {
1429 __kernel_timer_t _tid ;
1430 int _overrun ;
1431 char _pad[0U] ;
1432 sigval_t _sigval ;
1433 int _sys_private ;
1434};
1435# 11 "include/asm-generic/siginfo.h"
1436struct __anonstruct__rt_134 {
1437 __kernel_pid_t _pid ;
1438 __kernel_uid32_t _uid ;
1439 sigval_t _sigval ;
1440};
1441# 11 "include/asm-generic/siginfo.h"
1442struct __anonstruct__sigchld_135 {
1443 __kernel_pid_t _pid ;
1444 __kernel_uid32_t _uid ;
1445 int _status ;
1446 __kernel_clock_t _utime ;
1447 __kernel_clock_t _stime ;
1448};
1449# 11 "include/asm-generic/siginfo.h"
1450struct __anonstruct__sigfault_136 {
1451 void *_addr ;
1452 short _addr_lsb ;
1453};
1454# 11 "include/asm-generic/siginfo.h"
1455struct __anonstruct__sigpoll_137 {
1456 long _band ;
1457 int _fd ;
1458};
1459# 11 "include/asm-generic/siginfo.h"
1460union __anonunion__sifields_131 {
1461 int _pad[28U] ;
1462 struct __anonstruct__kill_132 _kill ;
1463 struct __anonstruct__timer_133 _timer ;
1464 struct __anonstruct__rt_134 _rt ;
1465 struct __anonstruct__sigchld_135 _sigchld ;
1466 struct __anonstruct__sigfault_136 _sigfault ;
1467 struct __anonstruct__sigpoll_137 _sigpoll ;
1468};
1469# 11 "include/asm-generic/siginfo.h"
1470struct siginfo {
1471 int si_signo ;
1472 int si_errno ;
1473 int si_code ;
1474 union __anonunion__sifields_131 _sifields ;
1475};
1476# 94 "include/asm-generic/siginfo.h"
1477typedef struct siginfo siginfo_t;
1478# 14 "include/linux/signal.h"
1479struct user_struct;
1480# 14 "include/linux/signal.h"
1481struct user_struct;
1482# 24 "include/linux/signal.h"
1483struct sigpending {
1484 struct list_head list ;
1485 sigset_t signal ;
1486};
1487# 93 "include/linux/capability.h"
1488struct kernel_cap_struct {
1489 __u32 cap[2U] ;
1490};
1491# 96 "include/linux/capability.h"
1492typedef struct kernel_cap_struct kernel_cap_t;
1493# 104 "include/linux/capability.h"
1494struct dentry;
1495# 104 "include/linux/capability.h"
1496struct dentry;
1497# 104 "include/linux/capability.h"
1498struct dentry;
1499# 105 "include/linux/capability.h"
1500struct user_namespace;
1501# 105 "include/linux/capability.h"
1502struct user_namespace;
1503# 105 "include/linux/capability.h"
1504struct user_namespace;
1505# 553 "include/linux/capability.h"
1506struct rb_node {
1507 unsigned long rb_parent_color ;
1508 struct rb_node *rb_right ;
1509 struct rb_node *rb_left ;
1510};
1511# 108 "include/linux/rbtree.h"
1512struct rb_root {
1513 struct rb_node *rb_node ;
1514};
1515# 176 "include/linux/rbtree.h"
1516struct prio_tree_node;
1517# 176 "include/linux/rbtree.h"
1518struct prio_tree_node;
1519# 176 "include/linux/rbtree.h"
1520struct raw_prio_tree_node {
1521 struct prio_tree_node *left ;
1522 struct prio_tree_node *right ;
1523 struct prio_tree_node *parent ;
1524};
1525# 19 "include/linux/prio_tree.h"
1526struct prio_tree_node {
1527 struct prio_tree_node *left ;
1528 struct prio_tree_node *right ;
1529 struct prio_tree_node *parent ;
1530 unsigned long start ;
1531 unsigned long last ;
1532};
1533# 27 "include/linux/prio_tree.h"
1534struct prio_tree_root {
1535 struct prio_tree_node *prio_tree_node ;
1536 unsigned short index_bits ;
1537 unsigned short raw ;
1538};
1539# 115 "include/linux/prio_tree.h"
1540struct address_space;
1541# 115 "include/linux/prio_tree.h"
1542struct address_space;
1543# 115 "include/linux/prio_tree.h"
1544struct address_space;
1545# 116 "include/linux/prio_tree.h"
1546struct __anonstruct_ldv_14221_142 {
1547 u16 inuse ;
1548 u16 objects ;
1549};
1550# 116 "include/linux/prio_tree.h"
1551union __anonunion_ldv_14222_141 {
1552 atomic_t _mapcount ;
1553 struct __anonstruct_ldv_14221_142 ldv_14221 ;
1554};
1555# 116 "include/linux/prio_tree.h"
1556struct __anonstruct_ldv_14227_144 {
1557 unsigned long private ;
1558 struct address_space *mapping ;
1559};
1560# 116 "include/linux/prio_tree.h"
1561union __anonunion_ldv_14230_143 {
1562 struct __anonstruct_ldv_14227_144 ldv_14227 ;
1563 struct kmem_cache *slab ;
1564 struct page *first_page ;
1565};
1566# 116 "include/linux/prio_tree.h"
1567union __anonunion_ldv_14234_145 {
1568 unsigned long index ;
1569 void *freelist ;
1570};
1571# 116 "include/linux/prio_tree.h"
1572struct page {
1573 unsigned long flags ;
1574 atomic_t _count ;
1575 union __anonunion_ldv_14222_141 ldv_14222 ;
1576 union __anonunion_ldv_14230_143 ldv_14230 ;
1577 union __anonunion_ldv_14234_145 ldv_14234 ;
1578 struct list_head lru ;
1579};
1580# 124 "include/linux/mm_types.h"
1581struct __anonstruct_vm_set_147 {
1582 struct list_head list ;
1583 void *parent ;
1584 struct vm_area_struct *head ;
1585};
1586# 124 "include/linux/mm_types.h"
1587union __anonunion_shared_146 {
1588 struct __anonstruct_vm_set_147 vm_set ;
1589 struct raw_prio_tree_node prio_tree_node ;
1590};
1591# 124 "include/linux/mm_types.h"
1592struct anon_vma;
1593# 124 "include/linux/mm_types.h"
1594struct anon_vma;
1595# 124 "include/linux/mm_types.h"
1596struct vm_operations_struct;
1597# 124 "include/linux/mm_types.h"
1598struct vm_operations_struct;
1599# 124 "include/linux/mm_types.h"
1600struct mempolicy;
1601# 124 "include/linux/mm_types.h"
1602struct mempolicy;
1603# 124 "include/linux/mm_types.h"
1604struct vm_area_struct {
1605 struct mm_struct *vm_mm ;
1606 unsigned long vm_start ;
1607 unsigned long vm_end ;
1608 struct vm_area_struct *vm_next ;
1609 struct vm_area_struct *vm_prev ;
1610 pgprot_t vm_page_prot ;
1611 unsigned long vm_flags ;
1612 struct rb_node vm_rb ;
1613 union __anonunion_shared_146 shared ;
1614 struct list_head anon_vma_chain ;
1615 struct anon_vma *anon_vma ;
1616 struct vm_operations_struct const *vm_ops ;
1617 unsigned long vm_pgoff ;
1618 struct file *vm_file ;
1619 void *vm_private_data ;
1620 struct mempolicy *vm_policy ;
1621};
1622# 187 "include/linux/mm_types.h"
1623struct core_thread {
1624 struct task_struct *task ;
1625 struct core_thread *next ;
1626};
1627# 193 "include/linux/mm_types.h"
1628struct core_state {
1629 atomic_t nr_threads ;
1630 struct core_thread dumper ;
1631 struct completion startup ;
1632};
1633# 206 "include/linux/mm_types.h"
1634struct mm_rss_stat {
1635 atomic_long_t count[3U] ;
1636};
1637# 219 "include/linux/mm_types.h"
1638struct linux_binfmt;
1639# 219 "include/linux/mm_types.h"
1640struct linux_binfmt;
1641# 219 "include/linux/mm_types.h"
1642struct mmu_notifier_mm;
1643# 219 "include/linux/mm_types.h"
1644struct mmu_notifier_mm;
1645# 219 "include/linux/mm_types.h"
1646struct mm_struct {
1647 struct vm_area_struct *mmap ;
1648 struct rb_root mm_rb ;
1649 struct vm_area_struct *mmap_cache ;
1650 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
1651 unsigned long , unsigned long ) ;
1652 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
1653 unsigned long mmap_base ;
1654 unsigned long task_size ;
1655 unsigned long cached_hole_size ;
1656 unsigned long free_area_cache ;
1657 pgd_t *pgd ;
1658 atomic_t mm_users ;
1659 atomic_t mm_count ;
1660 int map_count ;
1661 spinlock_t page_table_lock ;
1662 struct rw_semaphore mmap_sem ;
1663 struct list_head mmlist ;
1664 unsigned long hiwater_rss ;
1665 unsigned long hiwater_vm ;
1666 unsigned long total_vm ;
1667 unsigned long locked_vm ;
1668 unsigned long shared_vm ;
1669 unsigned long exec_vm ;
1670 unsigned long stack_vm ;
1671 unsigned long reserved_vm ;
1672 unsigned long def_flags ;
1673 unsigned long nr_ptes ;
1674 unsigned long start_code ;
1675 unsigned long end_code ;
1676 unsigned long start_data ;
1677 unsigned long end_data ;
1678 unsigned long start_brk ;
1679 unsigned long brk ;
1680 unsigned long start_stack ;
1681 unsigned long arg_start ;
1682 unsigned long arg_end ;
1683 unsigned long env_start ;
1684 unsigned long env_end ;
1685 unsigned long saved_auxv[44U] ;
1686 struct mm_rss_stat rss_stat ;
1687 struct linux_binfmt *binfmt ;
1688 cpumask_var_t cpu_vm_mask_var ;
1689 mm_context_t context ;
1690 unsigned int faultstamp ;
1691 unsigned int token_priority ;
1692 unsigned int last_interval ;
1693 atomic_t oom_disable_count ;
1694 unsigned long flags ;
1695 struct core_state *core_state ;
1696 spinlock_t ioctx_lock ;
1697 struct hlist_head ioctx_list ;
1698 struct task_struct *owner ;
1699 struct file *exe_file ;
1700 unsigned long num_exe_file_vmas ;
1701 struct mmu_notifier_mm *mmu_notifier_mm ;
1702 pgtable_t pmd_huge_pte ;
1703 struct cpumask cpumask_allocation ;
1704};
1705# 7 "include/asm-generic/cputime.h"
1706typedef unsigned long cputime_t;
1707# 118 "include/linux/sem.h"
1708struct sem_undo_list;
1709# 118 "include/linux/sem.h"
1710struct sem_undo_list;
1711# 131 "include/linux/sem.h"
1712struct sem_undo_list {
1713 atomic_t refcnt ;
1714 spinlock_t lock ;
1715 struct list_head list_proc ;
1716};
1717# 140 "include/linux/sem.h"
1718struct sysv_sem {
1719 struct sem_undo_list *undo_list ;
1720};
1721# 149 "include/linux/sem.h"
1722enum pid_type {
1723 PIDTYPE_PID = 0,
1724 PIDTYPE_PGID = 1,
1725 PIDTYPE_SID = 2,
1726 PIDTYPE_MAX = 3
1727} ;
1728# 156 "include/linux/sem.h"
1729struct pid_namespace;
1730# 156 "include/linux/sem.h"
1731struct pid_namespace;
1732# 156 "include/linux/sem.h"
1733struct upid {
1734 int nr ;
1735 struct pid_namespace *ns ;
1736 struct hlist_node pid_chain ;
1737};
1738# 56 "include/linux/pid.h"
1739struct pid {
1740 atomic_t count ;
1741 unsigned int level ;
1742 struct hlist_head tasks[3U] ;
1743 struct rcu_head rcu ;
1744 struct upid numbers[1U] ;
1745};
1746# 68 "include/linux/pid.h"
1747struct pid_link {
1748 struct hlist_node node ;
1749 struct pid *pid ;
1750};
1751# 175 "include/linux/pid.h"
1752struct percpu_counter {
1753 spinlock_t lock ;
1754 s64 count ;
1755 struct list_head list ;
1756 s32 *counters ;
1757};
1758# 90 "include/linux/proportions.h"
1759struct prop_local_single {
1760 unsigned long events ;
1761 unsigned long period ;
1762 int shift ;
1763 spinlock_t lock ;
1764};
1765# 10 "include/linux/seccomp.h"
1766struct __anonstruct_seccomp_t_148 {
1767 int mode ;
1768};
1769# 10 "include/linux/seccomp.h"
1770typedef struct __anonstruct_seccomp_t_148 seccomp_t;
1771# 427 "include/linux/rculist.h"
1772struct plist_head {
1773 struct list_head node_list ;
1774 raw_spinlock_t *rawlock ;
1775 spinlock_t *spinlock ;
1776};
1777# 88 "include/linux/plist.h"
1778struct plist_node {
1779 int prio ;
1780 struct list_head prio_list ;
1781 struct list_head node_list ;
1782};
1783# 38 "include/linux/rtmutex.h"
1784struct rt_mutex_waiter;
1785# 38 "include/linux/rtmutex.h"
1786struct rt_mutex_waiter;
1787# 38 "include/linux/rtmutex.h"
1788struct rt_mutex_waiter;
1789# 41 "include/linux/resource.h"
1790struct rlimit {
1791 unsigned long rlim_cur ;
1792 unsigned long rlim_max ;
1793};
1794# 85 "include/linux/resource.h"
1795struct timerqueue_node {
1796 struct rb_node node ;
1797 ktime_t expires ;
1798};
1799# 12 "include/linux/timerqueue.h"
1800struct timerqueue_head {
1801 struct rb_root head ;
1802 struct timerqueue_node *next ;
1803};
1804# 50 "include/linux/timerqueue.h"
1805struct hrtimer_clock_base;
1806# 50 "include/linux/timerqueue.h"
1807struct hrtimer_clock_base;
1808# 50 "include/linux/timerqueue.h"
1809struct hrtimer_clock_base;
1810# 51 "include/linux/timerqueue.h"
1811struct hrtimer_cpu_base;
1812# 51 "include/linux/timerqueue.h"
1813struct hrtimer_cpu_base;
1814# 51 "include/linux/timerqueue.h"
1815struct hrtimer_cpu_base;
1816# 60 "include/linux/timerqueue.h"
1817enum hrtimer_restart {
1818 HRTIMER_NORESTART = 0,
1819 HRTIMER_RESTART = 1
1820} ;
1821# 65 "include/linux/timerqueue.h"
1822struct hrtimer {
1823 struct timerqueue_node node ;
1824 ktime_t _softexpires ;
1825 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1826 struct hrtimer_clock_base *base ;
1827 unsigned long state ;
1828 int start_pid ;
1829 void *start_site ;
1830 char start_comm[16U] ;
1831};
1832# 132 "include/linux/hrtimer.h"
1833struct hrtimer_clock_base {
1834 struct hrtimer_cpu_base *cpu_base ;
1835 int index ;
1836 clockid_t clockid ;
1837 struct timerqueue_head active ;
1838 ktime_t resolution ;
1839 ktime_t (*get_time)(void) ;
1840 ktime_t softirq_time ;
1841 ktime_t offset ;
1842};
1843# 162 "include/linux/hrtimer.h"
1844struct hrtimer_cpu_base {
1845 raw_spinlock_t lock ;
1846 unsigned long active_bases ;
1847 ktime_t expires_next ;
1848 int hres_active ;
1849 int hang_detected ;
1850 unsigned long nr_events ;
1851 unsigned long nr_retries ;
1852 unsigned long nr_hangs ;
1853 ktime_t max_hang_time ;
1854 struct hrtimer_clock_base clock_base[3U] ;
1855};
1856# 452 "include/linux/hrtimer.h"
1857struct task_io_accounting {
1858 u64 rchar ;
1859 u64 wchar ;
1860 u64 syscr ;
1861 u64 syscw ;
1862 u64 read_bytes ;
1863 u64 write_bytes ;
1864 u64 cancelled_write_bytes ;
1865};
1866# 45 "include/linux/task_io_accounting.h"
1867struct latency_record {
1868 unsigned long backtrace[12U] ;
1869 unsigned int count ;
1870 unsigned long time ;
1871 unsigned long max ;
1872};
1873# 29 "include/linux/key.h"
1874typedef int32_t key_serial_t;
1875# 32 "include/linux/key.h"
1876typedef uint32_t key_perm_t;
1877# 33 "include/linux/key.h"
1878struct key;
1879# 33 "include/linux/key.h"
1880struct key;
1881# 33 "include/linux/key.h"
1882struct key;
1883# 34 "include/linux/key.h"
1884struct signal_struct;
1885# 34 "include/linux/key.h"
1886struct signal_struct;
1887# 34 "include/linux/key.h"
1888struct signal_struct;
1889# 35 "include/linux/key.h"
1890struct key_type;
1891# 35 "include/linux/key.h"
1892struct key_type;
1893# 35 "include/linux/key.h"
1894struct key_type;
1895# 37 "include/linux/key.h"
1896struct keyring_list;
1897# 37 "include/linux/key.h"
1898struct keyring_list;
1899# 37 "include/linux/key.h"
1900struct keyring_list;
1901# 115 "include/linux/key.h"
1902struct key_user;
1903# 115 "include/linux/key.h"
1904struct key_user;
1905# 115 "include/linux/key.h"
1906union __anonunion_ldv_15180_149 {
1907 time_t expiry ;
1908 time_t revoked_at ;
1909};
1910# 115 "include/linux/key.h"
1911union __anonunion_type_data_150 {
1912 struct list_head link ;
1913 unsigned long x[2U] ;
1914 void *p[2U] ;
1915 int reject_error ;
1916};
1917# 115 "include/linux/key.h"
1918union __anonunion_payload_151 {
1919 unsigned long value ;
1920 void *rcudata ;
1921 void *data ;
1922 struct keyring_list *subscriptions ;
1923};
1924# 115 "include/linux/key.h"
1925struct key {
1926 atomic_t usage ;
1927 key_serial_t serial ;
1928 struct rb_node serial_node ;
1929 struct key_type *type ;
1930 struct rw_semaphore sem ;
1931 struct key_user *user ;
1932 void *security ;
1933 union __anonunion_ldv_15180_149 ldv_15180 ;
1934 uid_t uid ;
1935 gid_t gid ;
1936 key_perm_t perm ;
1937 unsigned short quotalen ;
1938 unsigned short datalen ;
1939 unsigned long flags ;
1940 char *description ;
1941 union __anonunion_type_data_150 type_data ;
1942 union __anonunion_payload_151 payload ;
1943};
1944# 310 "include/linux/key.h"
1945struct audit_context;
1946# 310 "include/linux/key.h"
1947struct audit_context;
1948# 310 "include/linux/key.h"
1949struct audit_context;
1950# 27 "include/linux/selinux.h"
1951struct inode;
1952# 27 "include/linux/selinux.h"
1953struct inode;
1954# 27 "include/linux/selinux.h"
1955struct inode;
1956# 28 "include/linux/selinux.h"
1957struct group_info {
1958 atomic_t usage ;
1959 int ngroups ;
1960 int nblocks ;
1961 gid_t small_block[32U] ;
1962 gid_t *blocks[0U] ;
1963};
1964# 77 "include/linux/cred.h"
1965struct thread_group_cred {
1966 atomic_t usage ;
1967 pid_t tgid ;
1968 spinlock_t lock ;
1969 struct key *session_keyring ;
1970 struct key *process_keyring ;
1971 struct rcu_head rcu ;
1972};
1973# 91 "include/linux/cred.h"
1974struct cred {
1975 atomic_t usage ;
1976 atomic_t subscribers ;
1977 void *put_addr ;
1978 unsigned int magic ;
1979 uid_t uid ;
1980 gid_t gid ;
1981 uid_t suid ;
1982 gid_t sgid ;
1983 uid_t euid ;
1984 gid_t egid ;
1985 uid_t fsuid ;
1986 gid_t fsgid ;
1987 unsigned int securebits ;
1988 kernel_cap_t cap_inheritable ;
1989 kernel_cap_t cap_permitted ;
1990 kernel_cap_t cap_effective ;
1991 kernel_cap_t cap_bset ;
1992 unsigned char jit_keyring ;
1993 struct key *thread_keyring ;
1994 struct key *request_key_auth ;
1995 struct thread_group_cred *tgcred ;
1996 void *security ;
1997 struct user_struct *user ;
1998 struct user_namespace *user_ns ;
1999 struct group_info *group_info ;
2000 struct rcu_head rcu ;
2001};
2002# 264 "include/linux/cred.h"
2003struct futex_pi_state;
2004# 264 "include/linux/cred.h"
2005struct futex_pi_state;
2006# 264 "include/linux/cred.h"
2007struct futex_pi_state;
2008# 265 "include/linux/cred.h"
2009struct robust_list_head;
2010# 265 "include/linux/cred.h"
2011struct robust_list_head;
2012# 265 "include/linux/cred.h"
2013struct robust_list_head;
2014# 266 "include/linux/cred.h"
2015struct bio_list;
2016# 266 "include/linux/cred.h"
2017struct bio_list;
2018# 266 "include/linux/cred.h"
2019struct bio_list;
2020# 267 "include/linux/cred.h"
2021struct fs_struct;
2022# 267 "include/linux/cred.h"
2023struct fs_struct;
2024# 267 "include/linux/cred.h"
2025struct fs_struct;
2026# 268 "include/linux/cred.h"
2027struct perf_event_context;
2028# 268 "include/linux/cred.h"
2029struct perf_event_context;
2030# 268 "include/linux/cred.h"
2031struct perf_event_context;
2032# 269 "include/linux/cred.h"
2033struct blk_plug;
2034# 269 "include/linux/cred.h"
2035struct blk_plug;
2036# 269 "include/linux/cred.h"
2037struct blk_plug;
2038# 149 "include/linux/sched.h"
2039struct cfs_rq;
2040# 149 "include/linux/sched.h"
2041struct cfs_rq;
2042# 149 "include/linux/sched.h"
2043struct cfs_rq;
2044# 44 "include/linux/aio_abi.h"
2045struct io_event {
2046 __u64 data ;
2047 __u64 obj ;
2048 __s64 res ;
2049 __s64 res2 ;
2050};
2051# 106 "include/linux/aio_abi.h"
2052struct iovec {
2053 void *iov_base ;
2054 __kernel_size_t iov_len ;
2055};
2056# 54 "include/linux/uio.h"
2057struct kioctx;
2058# 54 "include/linux/uio.h"
2059struct kioctx;
2060# 54 "include/linux/uio.h"
2061struct kioctx;
2062# 55 "include/linux/uio.h"
2063union __anonunion_ki_obj_152 {
2064 void *user ;
2065 struct task_struct *tsk ;
2066};
2067# 55 "include/linux/uio.h"
2068struct eventfd_ctx;
2069# 55 "include/linux/uio.h"
2070struct eventfd_ctx;
2071# 55 "include/linux/uio.h"
2072struct kiocb {
2073 struct list_head ki_run_list ;
2074 unsigned long ki_flags ;
2075 int ki_users ;
2076 unsigned int ki_key ;
2077 struct file *ki_filp ;
2078 struct kioctx *ki_ctx ;
2079 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
2080 ssize_t (*ki_retry)(struct kiocb * ) ;
2081 void (*ki_dtor)(struct kiocb * ) ;
2082 union __anonunion_ki_obj_152 ki_obj ;
2083 __u64 ki_user_data ;
2084 loff_t ki_pos ;
2085 void *private ;
2086 unsigned short ki_opcode ;
2087 size_t ki_nbytes ;
2088 char *ki_buf ;
2089 size_t ki_left ;
2090 struct iovec ki_inline_vec ;
2091 struct iovec *ki_iovec ;
2092 unsigned long ki_nr_segs ;
2093 unsigned long ki_cur_seg ;
2094 struct list_head ki_list ;
2095 struct eventfd_ctx *ki_eventfd ;
2096};
2097# 161 "include/linux/aio.h"
2098struct aio_ring_info {
2099 unsigned long mmap_base ;
2100 unsigned long mmap_size ;
2101 struct page **ring_pages ;
2102 spinlock_t ring_lock ;
2103 long nr_pages ;
2104 unsigned int nr ;
2105 unsigned int tail ;
2106 struct page *internal_pages[8U] ;
2107};
2108# 177 "include/linux/aio.h"
2109struct kioctx {
2110 atomic_t users ;
2111 int dead ;
2112 struct mm_struct *mm ;
2113 unsigned long user_id ;
2114 struct hlist_node list ;
2115 wait_queue_head_t wait ;
2116 spinlock_t ctx_lock ;
2117 int reqs_active ;
2118 struct list_head active_reqs ;
2119 struct list_head run_list ;
2120 unsigned int max_reqs ;
2121 struct aio_ring_info ring_info ;
2122 struct delayed_work wq ;
2123 struct rcu_head rcu_head ;
2124};
2125# 404 "include/linux/sched.h"
2126struct sighand_struct {
2127 atomic_t count ;
2128 struct k_sigaction action[64U] ;
2129 spinlock_t siglock ;
2130 wait_queue_head_t signalfd_wqh ;
2131};
2132# 447 "include/linux/sched.h"
2133struct pacct_struct {
2134 int ac_flag ;
2135 long ac_exitcode ;
2136 unsigned long ac_mem ;
2137 cputime_t ac_utime ;
2138 cputime_t ac_stime ;
2139 unsigned long ac_minflt ;
2140 unsigned long ac_majflt ;
2141};
2142# 455 "include/linux/sched.h"
2143struct cpu_itimer {
2144 cputime_t expires ;
2145 cputime_t incr ;
2146 u32 error ;
2147 u32 incr_error ;
2148};
2149# 462 "include/linux/sched.h"
2150struct task_cputime {
2151 cputime_t utime ;
2152 cputime_t stime ;
2153 unsigned long long sum_exec_runtime ;
2154};
2155# 479 "include/linux/sched.h"
2156struct thread_group_cputimer {
2157 struct task_cputime cputime ;
2158 int running ;
2159 spinlock_t lock ;
2160};
2161# 515 "include/linux/sched.h"
2162struct autogroup;
2163# 515 "include/linux/sched.h"
2164struct autogroup;
2165# 515 "include/linux/sched.h"
2166struct autogroup;
2167# 516 "include/linux/sched.h"
2168struct tty_struct;
2169# 516 "include/linux/sched.h"
2170struct tty_struct;
2171# 516 "include/linux/sched.h"
2172struct taskstats;
2173# 516 "include/linux/sched.h"
2174struct taskstats;
2175# 516 "include/linux/sched.h"
2176struct tty_audit_buf;
2177# 516 "include/linux/sched.h"
2178struct tty_audit_buf;
2179# 516 "include/linux/sched.h"
2180struct signal_struct {
2181 atomic_t sigcnt ;
2182 atomic_t live ;
2183 int nr_threads ;
2184 wait_queue_head_t wait_chldexit ;
2185 struct task_struct *curr_target ;
2186 struct sigpending shared_pending ;
2187 int group_exit_code ;
2188 int notify_count ;
2189 struct task_struct *group_exit_task ;
2190 int group_stop_count ;
2191 unsigned int flags ;
2192 struct list_head posix_timers ;
2193 struct hrtimer real_timer ;
2194 struct pid *leader_pid ;
2195 ktime_t it_real_incr ;
2196 struct cpu_itimer it[2U] ;
2197 struct thread_group_cputimer cputimer ;
2198 struct task_cputime cputime_expires ;
2199 struct list_head cpu_timers[3U] ;
2200 struct pid *tty_old_pgrp ;
2201 int leader ;
2202 struct tty_struct *tty ;
2203 struct autogroup *autogroup ;
2204 cputime_t utime ;
2205 cputime_t stime ;
2206 cputime_t cutime ;
2207 cputime_t cstime ;
2208 cputime_t gtime ;
2209 cputime_t cgtime ;
2210 cputime_t prev_utime ;
2211 cputime_t prev_stime ;
2212 unsigned long nvcsw ;
2213 unsigned long nivcsw ;
2214 unsigned long cnvcsw ;
2215 unsigned long cnivcsw ;
2216 unsigned long min_flt ;
2217 unsigned long maj_flt ;
2218 unsigned long cmin_flt ;
2219 unsigned long cmaj_flt ;
2220 unsigned long inblock ;
2221 unsigned long oublock ;
2222 unsigned long cinblock ;
2223 unsigned long coublock ;
2224 unsigned long maxrss ;
2225 unsigned long cmaxrss ;
2226 struct task_io_accounting ioac ;
2227 unsigned long long sum_sched_runtime ;
2228 struct rlimit rlim[16U] ;
2229 struct pacct_struct pacct ;
2230 struct taskstats *stats ;
2231 unsigned int audit_tty ;
2232 struct tty_audit_buf *tty_audit_buf ;
2233 struct rw_semaphore threadgroup_fork_lock ;
2234 int oom_adj ;
2235 int oom_score_adj ;
2236 int oom_score_adj_min ;
2237 struct mutex cred_guard_mutex ;
2238};
2239# 683 "include/linux/sched.h"
2240struct user_struct {
2241 atomic_t __count ;
2242 atomic_t processes ;
2243 atomic_t files ;
2244 atomic_t sigpending ;
2245 atomic_t inotify_watches ;
2246 atomic_t inotify_devs ;
2247 atomic_t fanotify_listeners ;
2248 atomic_long_t epoll_watches ;
2249 unsigned long mq_bytes ;
2250 unsigned long locked_shm ;
2251 struct key *uid_keyring ;
2252 struct key *session_keyring ;
2253 struct hlist_node uidhash_node ;
2254 uid_t uid ;
2255 struct user_namespace *user_ns ;
2256 atomic_long_t locked_vm ;
2257};
2258# 728 "include/linux/sched.h"
2259struct backing_dev_info;
2260# 728 "include/linux/sched.h"
2261struct backing_dev_info;
2262# 728 "include/linux/sched.h"
2263struct backing_dev_info;
2264# 729 "include/linux/sched.h"
2265struct reclaim_state;
2266# 729 "include/linux/sched.h"
2267struct reclaim_state;
2268# 729 "include/linux/sched.h"
2269struct reclaim_state;
2270# 730 "include/linux/sched.h"
2271struct sched_info {
2272 unsigned long pcount ;
2273 unsigned long long run_delay ;
2274 unsigned long long last_arrival ;
2275 unsigned long long last_queued ;
2276};
2277# 744 "include/linux/sched.h"
2278struct task_delay_info {
2279 spinlock_t lock ;
2280 unsigned int flags ;
2281 struct timespec blkio_start ;
2282 struct timespec blkio_end ;
2283 u64 blkio_delay ;
2284 u64 swapin_delay ;
2285 u32 blkio_count ;
2286 u32 swapin_count ;
2287 struct timespec freepages_start ;
2288 struct timespec freepages_end ;
2289 u64 freepages_delay ;
2290 u32 freepages_count ;
2291};
2292# 1037 "include/linux/sched.h"
2293struct io_context;
2294# 1037 "include/linux/sched.h"
2295struct io_context;
2296# 1037 "include/linux/sched.h"
2297struct io_context;
2298# 1059 "include/linux/sched.h"
2299struct pipe_inode_info;
2300# 1059 "include/linux/sched.h"
2301struct pipe_inode_info;
2302# 1059 "include/linux/sched.h"
2303struct pipe_inode_info;
2304# 1061 "include/linux/sched.h"
2305struct rq;
2306# 1061 "include/linux/sched.h"
2307struct rq;
2308# 1061 "include/linux/sched.h"
2309struct rq;
2310# 1062 "include/linux/sched.h"
2311struct sched_class {
2312 struct sched_class const *next ;
2313 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
2314 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
2315 void (*yield_task)(struct rq * ) ;
2316 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
2317 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
2318 struct task_struct *(*pick_next_task)(struct rq * ) ;
2319 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
2320 int (*select_task_rq)(struct task_struct * , int , int ) ;
2321 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
2322 void (*post_schedule)(struct rq * ) ;
2323 void (*task_waking)(struct task_struct * ) ;
2324 void (*task_woken)(struct rq * , struct task_struct * ) ;
2325 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
2326 void (*rq_online)(struct rq * ) ;
2327 void (*rq_offline)(struct rq * ) ;
2328 void (*set_curr_task)(struct rq * ) ;
2329 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
2330 void (*task_fork)(struct task_struct * ) ;
2331 void (*switched_from)(struct rq * , struct task_struct * ) ;
2332 void (*switched_to)(struct rq * , struct task_struct * ) ;
2333 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
2334 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
2335 void (*task_move_group)(struct task_struct * , int ) ;
2336};
2337# 1127 "include/linux/sched.h"
2338struct load_weight {
2339 unsigned long weight ;
2340 unsigned long inv_weight ;
2341};
2342# 1132 "include/linux/sched.h"
2343struct sched_statistics {
2344 u64 wait_start ;
2345 u64 wait_max ;
2346 u64 wait_count ;
2347 u64 wait_sum ;
2348 u64 iowait_count ;
2349 u64 iowait_sum ;
2350 u64 sleep_start ;
2351 u64 sleep_max ;
2352 s64 sum_sleep_runtime ;
2353 u64 block_start ;
2354 u64 block_max ;
2355 u64 exec_max ;
2356 u64 slice_max ;
2357 u64 nr_migrations_cold ;
2358 u64 nr_failed_migrations_affine ;
2359 u64 nr_failed_migrations_running ;
2360 u64 nr_failed_migrations_hot ;
2361 u64 nr_forced_migrations ;
2362 u64 nr_wakeups ;
2363 u64 nr_wakeups_sync ;
2364 u64 nr_wakeups_migrate ;
2365 u64 nr_wakeups_local ;
2366 u64 nr_wakeups_remote ;
2367 u64 nr_wakeups_affine ;
2368 u64 nr_wakeups_affine_attempts ;
2369 u64 nr_wakeups_passive ;
2370 u64 nr_wakeups_idle ;
2371};
2372# 1167 "include/linux/sched.h"
2373struct sched_entity {
2374 struct load_weight load ;
2375 struct rb_node run_node ;
2376 struct list_head group_node ;
2377 unsigned int on_rq ;
2378 u64 exec_start ;
2379 u64 sum_exec_runtime ;
2380 u64 vruntime ;
2381 u64 prev_sum_exec_runtime ;
2382 u64 nr_migrations ;
2383 struct sched_statistics statistics ;
2384 struct sched_entity *parent ;
2385 struct cfs_rq *cfs_rq ;
2386 struct cfs_rq *my_q ;
2387};
2388# 1193 "include/linux/sched.h"
2389struct rt_rq;
2390# 1193 "include/linux/sched.h"
2391struct rt_rq;
2392# 1193 "include/linux/sched.h"
2393struct sched_rt_entity {
2394 struct list_head run_list ;
2395 unsigned long timeout ;
2396 unsigned int time_slice ;
2397 int nr_cpus_allowed ;
2398 struct sched_rt_entity *back ;
2399 struct sched_rt_entity *parent ;
2400 struct rt_rq *rt_rq ;
2401 struct rt_rq *my_q ;
2402};
2403# 1217 "include/linux/sched.h"
2404struct mem_cgroup;
2405# 1217 "include/linux/sched.h"
2406struct mem_cgroup;
2407# 1217 "include/linux/sched.h"
2408struct memcg_batch_info {
2409 int do_batch ;
2410 struct mem_cgroup *memcg ;
2411 unsigned long nr_pages ;
2412 unsigned long memsw_nr_pages ;
2413};
2414# 1569 "include/linux/sched.h"
2415struct files_struct;
2416# 1569 "include/linux/sched.h"
2417struct files_struct;
2418# 1569 "include/linux/sched.h"
2419struct irqaction;
2420# 1569 "include/linux/sched.h"
2421struct irqaction;
2422# 1569 "include/linux/sched.h"
2423struct css_set;
2424# 1569 "include/linux/sched.h"
2425struct css_set;
2426# 1569 "include/linux/sched.h"
2427struct compat_robust_list_head;
2428# 1569 "include/linux/sched.h"
2429struct compat_robust_list_head;
2430# 1569 "include/linux/sched.h"
2431struct ftrace_ret_stack;
2432# 1569 "include/linux/sched.h"
2433struct ftrace_ret_stack;
2434# 1569 "include/linux/sched.h"
2435struct task_struct {
2436 long volatile state ;
2437 void *stack ;
2438 atomic_t usage ;
2439 unsigned int flags ;
2440 unsigned int ptrace ;
2441 struct task_struct *wake_entry ;
2442 int on_cpu ;
2443 int on_rq ;
2444 int prio ;
2445 int static_prio ;
2446 int normal_prio ;
2447 unsigned int rt_priority ;
2448 struct sched_class const *sched_class ;
2449 struct sched_entity se ;
2450 struct sched_rt_entity rt ;
2451 struct hlist_head preempt_notifiers ;
2452 unsigned char fpu_counter ;
2453 unsigned int btrace_seq ;
2454 unsigned int policy ;
2455 cpumask_t cpus_allowed ;
2456 struct sched_info sched_info ;
2457 struct list_head tasks ;
2458 struct plist_node pushable_tasks ;
2459 struct mm_struct *mm ;
2460 struct mm_struct *active_mm ;
2461 unsigned char brk_randomized : 1 ;
2462 int exit_state ;
2463 int exit_code ;
2464 int exit_signal ;
2465 int pdeath_signal ;
2466 unsigned int group_stop ;
2467 unsigned int personality ;
2468 unsigned char did_exec : 1 ;
2469 unsigned char in_execve : 1 ;
2470 unsigned char in_iowait : 1 ;
2471 unsigned char sched_reset_on_fork : 1 ;
2472 unsigned char sched_contributes_to_load : 1 ;
2473 pid_t pid ;
2474 pid_t tgid ;
2475 unsigned long stack_canary ;
2476 struct task_struct *real_parent ;
2477 struct task_struct *parent ;
2478 struct list_head children ;
2479 struct list_head sibling ;
2480 struct task_struct *group_leader ;
2481 struct list_head ptraced ;
2482 struct list_head ptrace_entry ;
2483 struct pid_link pids[3U] ;
2484 struct list_head thread_group ;
2485 struct completion *vfork_done ;
2486 int *set_child_tid ;
2487 int *clear_child_tid ;
2488 cputime_t utime ;
2489 cputime_t stime ;
2490 cputime_t utimescaled ;
2491 cputime_t stimescaled ;
2492 cputime_t gtime ;
2493 cputime_t prev_utime ;
2494 cputime_t prev_stime ;
2495 unsigned long nvcsw ;
2496 unsigned long nivcsw ;
2497 struct timespec start_time ;
2498 struct timespec real_start_time ;
2499 unsigned long min_flt ;
2500 unsigned long maj_flt ;
2501 struct task_cputime cputime_expires ;
2502 struct list_head cpu_timers[3U] ;
2503 struct cred const *real_cred ;
2504 struct cred const *cred ;
2505 struct cred *replacement_session_keyring ;
2506 char comm[16U] ;
2507 int link_count ;
2508 int total_link_count ;
2509 struct sysv_sem sysvsem ;
2510 unsigned long last_switch_count ;
2511 struct thread_struct thread ;
2512 struct fs_struct *fs ;
2513 struct files_struct *files ;
2514 struct nsproxy *nsproxy ;
2515 struct signal_struct *signal ;
2516 struct sighand_struct *sighand ;
2517 sigset_t blocked ;
2518 sigset_t real_blocked ;
2519 sigset_t saved_sigmask ;
2520 struct sigpending pending ;
2521 unsigned long sas_ss_sp ;
2522 size_t sas_ss_size ;
2523 int (*notifier)(void * ) ;
2524 void *notifier_data ;
2525 sigset_t *notifier_mask ;
2526 struct audit_context *audit_context ;
2527 uid_t loginuid ;
2528 unsigned int sessionid ;
2529 seccomp_t seccomp ;
2530 u32 parent_exec_id ;
2531 u32 self_exec_id ;
2532 spinlock_t alloc_lock ;
2533 struct irqaction *irqaction ;
2534 raw_spinlock_t pi_lock ;
2535 struct plist_head pi_waiters ;
2536 struct rt_mutex_waiter *pi_blocked_on ;
2537 struct mutex_waiter *blocked_on ;
2538 unsigned int irq_events ;
2539 unsigned long hardirq_enable_ip ;
2540 unsigned long hardirq_disable_ip ;
2541 unsigned int hardirq_enable_event ;
2542 unsigned int hardirq_disable_event ;
2543 int hardirqs_enabled ;
2544 int hardirq_context ;
2545 unsigned long softirq_disable_ip ;
2546 unsigned long softirq_enable_ip ;
2547 unsigned int softirq_disable_event ;
2548 unsigned int softirq_enable_event ;
2549 int softirqs_enabled ;
2550 int softirq_context ;
2551 u64 curr_chain_key ;
2552 int lockdep_depth ;
2553 unsigned int lockdep_recursion ;
2554 struct held_lock held_locks[48U] ;
2555 gfp_t lockdep_reclaim_gfp ;
2556 void *journal_info ;
2557 struct bio_list *bio_list ;
2558 struct blk_plug *plug ;
2559 struct reclaim_state *reclaim_state ;
2560 struct backing_dev_info *backing_dev_info ;
2561 struct io_context *io_context ;
2562 unsigned long ptrace_message ;
2563 siginfo_t *last_siginfo ;
2564 struct task_io_accounting ioac ;
2565 u64 acct_rss_mem1 ;
2566 u64 acct_vm_mem1 ;
2567 cputime_t acct_timexpd ;
2568 nodemask_t mems_allowed ;
2569 int mems_allowed_change_disable ;
2570 int cpuset_mem_spread_rotor ;
2571 int cpuset_slab_spread_rotor ;
2572 struct css_set *cgroups ;
2573 struct list_head cg_list ;
2574 struct robust_list_head *robust_list ;
2575 struct compat_robust_list_head *compat_robust_list ;
2576 struct list_head pi_state_list ;
2577 struct futex_pi_state *pi_state_cache ;
2578 struct perf_event_context *perf_event_ctxp[2U] ;
2579 struct mutex perf_event_mutex ;
2580 struct list_head perf_event_list ;
2581 struct mempolicy *mempolicy ;
2582 short il_next ;
2583 short pref_node_fork ;
2584 atomic_t fs_excl ;
2585 struct rcu_head rcu ;
2586 struct pipe_inode_info *splice_pipe ;
2587 struct task_delay_info *delays ;
2588 int make_it_fail ;
2589 struct prop_local_single dirties ;
2590 int latency_record_count ;
2591 struct latency_record latency_record[32U] ;
2592 unsigned long timer_slack_ns ;
2593 unsigned long default_timer_slack_ns ;
2594 struct list_head *scm_work_list ;
2595 int curr_ret_stack ;
2596 struct ftrace_ret_stack *ret_stack ;
2597 unsigned long long ftrace_timestamp ;
2598 atomic_t trace_overrun ;
2599 atomic_t tracing_graph_pause ;
2600 unsigned long trace ;
2601 unsigned long trace_recursion ;
2602 struct memcg_batch_info memcg_batch ;
2603 atomic_t ptrace_bp_refcnt ;
2604};
2605# 2698 "include/linux/sched.h"
2606enum irqreturn {
2607 IRQ_NONE = 0,
2608 IRQ_HANDLED = 1,
2609 IRQ_WAKE_THREAD = 2
2610} ;
2611# 16 "include/linux/irqreturn.h"
2612typedef enum irqreturn irqreturn_t;
2613# 331 "include/linux/irq.h"
2614struct proc_dir_entry;
2615# 331 "include/linux/irq.h"
2616struct proc_dir_entry;
2617# 331 "include/linux/irq.h"
2618struct proc_dir_entry;
2619# 41 "include/asm-generic/sections.h"
2620struct exception_table_entry {
2621 unsigned long insn ;
2622 unsigned long fixup ;
2623};
2624# 91 "include/linux/interrupt.h"
2625struct irqaction {
2626 irqreturn_t (*handler)(int , void * ) ;
2627 unsigned long flags ;
2628 void *dev_id ;
2629 struct irqaction *next ;
2630 int irq ;
2631 irqreturn_t (*thread_fn)(int , void * ) ;
2632 struct task_struct *thread ;
2633 unsigned long thread_flags ;
2634 unsigned long thread_mask ;
2635 char const *name ;
2636 struct proc_dir_entry *dir ;
2637};
2638# 12 "include/linux/mod_devicetable.h"
2639typedef unsigned long kernel_ulong_t;
2640# 13 "include/linux/mod_devicetable.h"
2641struct pci_device_id {
2642 __u32 vendor ;
2643 __u32 device ;
2644 __u32 subvendor ;
2645 __u32 subdevice ;
2646 __u32 class ;
2647 __u32 class_mask ;
2648 kernel_ulong_t driver_data ;
2649};
2650# 215 "include/linux/mod_devicetable.h"
2651struct of_device_id {
2652 char name[32U] ;
2653 char type[32U] ;
2654 char compatible[128U] ;
2655 void *data ;
2656};
2657# 535 "include/linux/mod_devicetable.h"
2658struct klist_node;
2659# 535 "include/linux/mod_devicetable.h"
2660struct klist_node;
2661# 535 "include/linux/mod_devicetable.h"
2662struct klist_node;
2663# 37 "include/linux/klist.h"
2664struct klist_node {
2665 void *n_klist ;
2666 struct list_head n_node ;
2667 struct kref n_ref ;
2668};
2669# 67 "include/linux/klist.h"
2670struct dma_map_ops;
2671# 67 "include/linux/klist.h"
2672struct dma_map_ops;
2673# 67 "include/linux/klist.h"
2674struct dev_archdata {
2675 void *acpi_handle ;
2676 struct dma_map_ops *dma_ops ;
2677 void *iommu ;
2678};
2679# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2680struct device_private;
2681# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2682struct device_private;
2683# 17 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2684struct device_private;
2685# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2686struct device_driver;
2687# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2688struct device_driver;
2689# 18 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2690struct device_driver;
2691# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2692struct driver_private;
2693# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2694struct driver_private;
2695# 19 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2696struct driver_private;
2697# 20 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2698struct class;
2699# 20 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2700struct class;
2701# 20 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2702struct class;
2703# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2704struct subsys_private;
2705# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2706struct subsys_private;
2707# 21 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2708struct subsys_private;
2709# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2710struct bus_type;
2711# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2712struct bus_type;
2713# 22 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2714struct bus_type;
2715# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2716struct device_node;
2717# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2718struct device_node;
2719# 23 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2720struct device_node;
2721# 24 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/device.h"
2722struct bus_attribute {
2723 struct attribute attr ;
2724 ssize_t (*show)(struct bus_type * , char * ) ;
2725 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
2726};
2727# 49 "include/linux/device.h"
2728struct device_attribute;
2729# 49 "include/linux/device.h"
2730struct device_attribute;
2731# 49 "include/linux/device.h"
2732struct driver_attribute;
2733# 49 "include/linux/device.h"
2734struct driver_attribute;
2735# 49 "include/linux/device.h"
2736struct bus_type {
2737 char const *name ;
2738 struct bus_attribute *bus_attrs ;
2739 struct device_attribute *dev_attrs ;
2740 struct driver_attribute *drv_attrs ;
2741 int (*match)(struct device * , struct device_driver * ) ;
2742 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2743 int (*probe)(struct device * ) ;
2744 int (*remove)(struct device * ) ;
2745 void (*shutdown)(struct device * ) ;
2746 int (*suspend)(struct device * , pm_message_t ) ;
2747 int (*resume)(struct device * ) ;
2748 struct dev_pm_ops const *pm ;
2749 struct subsys_private *p ;
2750};
2751# 153 "include/linux/device.h"
2752struct device_driver {
2753 char const *name ;
2754 struct bus_type *bus ;
2755 struct module *owner ;
2756 char const *mod_name ;
2757 bool suppress_bind_attrs ;
2758 struct of_device_id const *of_match_table ;
2759 int (*probe)(struct device * ) ;
2760 int (*remove)(struct device * ) ;
2761 void (*shutdown)(struct device * ) ;
2762 int (*suspend)(struct device * , pm_message_t ) ;
2763 int (*resume)(struct device * ) ;
2764 struct attribute_group const **groups ;
2765 struct dev_pm_ops const *pm ;
2766 struct driver_private *p ;
2767};
2768# 218 "include/linux/device.h"
2769struct driver_attribute {
2770 struct attribute attr ;
2771 ssize_t (*show)(struct device_driver * , char * ) ;
2772 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
2773};
2774# 248 "include/linux/device.h"
2775struct class_attribute;
2776# 248 "include/linux/device.h"
2777struct class_attribute;
2778# 248 "include/linux/device.h"
2779struct class {
2780 char const *name ;
2781 struct module *owner ;
2782 struct class_attribute *class_attrs ;
2783 struct device_attribute *dev_attrs ;
2784 struct bin_attribute *dev_bin_attrs ;
2785 struct kobject *dev_kobj ;
2786 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
2787 char *(*devnode)(struct device * , mode_t * ) ;
2788 void (*class_release)(struct class * ) ;
2789 void (*dev_release)(struct device * ) ;
2790 int (*suspend)(struct device * , pm_message_t ) ;
2791 int (*resume)(struct device * ) ;
2792 struct kobj_ns_type_operations const *ns_type ;
2793 void const *(*namespace)(struct device * ) ;
2794 struct dev_pm_ops const *pm ;
2795 struct subsys_private *p ;
2796};
2797# 305 "include/linux/device.h"
2798struct device_type;
2799# 305 "include/linux/device.h"
2800struct device_type;
2801# 344 "include/linux/device.h"
2802struct class_attribute {
2803 struct attribute attr ;
2804 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
2805 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
2806};
2807# 395 "include/linux/device.h"
2808struct device_type {
2809 char const *name ;
2810 struct attribute_group const **groups ;
2811 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
2812 char *(*devnode)(struct device * , mode_t * ) ;
2813 void (*release)(struct device * ) ;
2814 struct dev_pm_ops const *pm ;
2815};
2816# 422 "include/linux/device.h"
2817struct device_attribute {
2818 struct attribute attr ;
2819 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
2820 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
2821 size_t ) ;
2822};
2823# 483 "include/linux/device.h"
2824struct device_dma_parameters {
2825 unsigned int max_segment_size ;
2826 unsigned long segment_boundary_mask ;
2827};
2828# 492 "include/linux/device.h"
2829struct dma_coherent_mem;
2830# 492 "include/linux/device.h"
2831struct dma_coherent_mem;
2832# 492 "include/linux/device.h"
2833struct device {
2834 struct device *parent ;
2835 struct device_private *p ;
2836 struct kobject kobj ;
2837 char const *init_name ;
2838 struct device_type const *type ;
2839 struct mutex mutex ;
2840 struct bus_type *bus ;
2841 struct device_driver *driver ;
2842 void *platform_data ;
2843 struct dev_pm_info power ;
2844 struct dev_power_domain *pwr_domain ;
2845 int numa_node ;
2846 u64 *dma_mask ;
2847 u64 coherent_dma_mask ;
2848 struct device_dma_parameters *dma_parms ;
2849 struct list_head dma_pools ;
2850 struct dma_coherent_mem *dma_mem ;
2851 struct dev_archdata archdata ;
2852 struct device_node *of_node ;
2853 dev_t devt ;
2854 spinlock_t devres_lock ;
2855 struct list_head devres_head ;
2856 struct klist_node knode_class ;
2857 struct class *class ;
2858 struct attribute_group const **groups ;
2859 void (*release)(struct device * ) ;
2860};
2861# 604 "include/linux/device.h"
2862struct wakeup_source {
2863 char *name ;
2864 struct list_head entry ;
2865 spinlock_t lock ;
2866 struct timer_list timer ;
2867 unsigned long timer_expires ;
2868 ktime_t total_time ;
2869 ktime_t max_time ;
2870 ktime_t last_time ;
2871 unsigned long event_count ;
2872 unsigned long active_count ;
2873 unsigned long relax_count ;
2874 unsigned long hit_count ;
2875 unsigned char active : 1 ;
2876};
2877# 69 "include/linux/io.h"
2878struct hotplug_slot;
2879# 69 "include/linux/io.h"
2880struct hotplug_slot;
2881# 69 "include/linux/io.h"
2882struct pci_slot {
2883 struct pci_bus *bus ;
2884 struct list_head list ;
2885 struct hotplug_slot *hotplug ;
2886 unsigned char number ;
2887 struct kobject kobj ;
2888};
2889# 117 "include/linux/pci.h"
2890typedef int pci_power_t;
2891# 143 "include/linux/pci.h"
2892typedef unsigned int pci_channel_state_t;
2893# 144 "include/linux/pci.h"
2894enum pci_channel_state {
2895 pci_channel_io_normal = 1,
2896 pci_channel_io_frozen = 2,
2897 pci_channel_io_perm_failure = 3
2898} ;
2899# 169 "include/linux/pci.h"
2900typedef unsigned short pci_dev_flags_t;
2901# 184 "include/linux/pci.h"
2902typedef unsigned short pci_bus_flags_t;
2903# 227 "include/linux/pci.h"
2904struct pcie_link_state;
2905# 227 "include/linux/pci.h"
2906struct pcie_link_state;
2907# 227 "include/linux/pci.h"
2908struct pcie_link_state;
2909# 228 "include/linux/pci.h"
2910struct pci_vpd;
2911# 228 "include/linux/pci.h"
2912struct pci_vpd;
2913# 228 "include/linux/pci.h"
2914struct pci_vpd;
2915# 229 "include/linux/pci.h"
2916struct pci_sriov;
2917# 229 "include/linux/pci.h"
2918struct pci_sriov;
2919# 229 "include/linux/pci.h"
2920struct pci_sriov;
2921# 230 "include/linux/pci.h"
2922struct pci_ats;
2923# 230 "include/linux/pci.h"
2924struct pci_ats;
2925# 230 "include/linux/pci.h"
2926struct pci_ats;
2927# 231 "include/linux/pci.h"
2928struct pci_driver;
2929# 231 "include/linux/pci.h"
2930struct pci_driver;
2931# 231 "include/linux/pci.h"
2932union __anonunion_ldv_19516_156 {
2933 struct pci_sriov *sriov ;
2934 struct pci_dev *physfn ;
2935};
2936# 231 "include/linux/pci.h"
2937struct pci_dev {
2938 struct list_head bus_list ;
2939 struct pci_bus *bus ;
2940 struct pci_bus *subordinate ;
2941 void *sysdata ;
2942 struct proc_dir_entry *procent ;
2943 struct pci_slot *slot ;
2944 unsigned int devfn ;
2945 unsigned short vendor ;
2946 unsigned short device ;
2947 unsigned short subsystem_vendor ;
2948 unsigned short subsystem_device ;
2949 unsigned int class ;
2950 u8 revision ;
2951 u8 hdr_type ;
2952 u8 pcie_cap ;
2953 u8 pcie_type ;
2954 u8 rom_base_reg ;
2955 u8 pin ;
2956 struct pci_driver *driver ;
2957 u64 dma_mask ;
2958 struct device_dma_parameters dma_parms ;
2959 pci_power_t current_state ;
2960 int pm_cap ;
2961 unsigned char pme_support : 5 ;
2962 unsigned char pme_interrupt : 1 ;
2963 unsigned char d1_support : 1 ;
2964 unsigned char d2_support : 1 ;
2965 unsigned char no_d1d2 : 1 ;
2966 unsigned char mmio_always_on : 1 ;
2967 unsigned char wakeup_prepared : 1 ;
2968 unsigned int d3_delay ;
2969 struct pcie_link_state *link_state ;
2970 pci_channel_state_t error_state ;
2971 struct device dev ;
2972 int cfg_size ;
2973 unsigned int irq ;
2974 struct resource resource[18U] ;
2975 resource_size_t fw_addr[18U] ;
2976 unsigned char transparent : 1 ;
2977 unsigned char multifunction : 1 ;
2978 unsigned char is_added : 1 ;
2979 unsigned char is_busmaster : 1 ;
2980 unsigned char no_msi : 1 ;
2981 unsigned char block_ucfg_access : 1 ;
2982 unsigned char broken_parity_status : 1 ;
2983 unsigned char irq_reroute_variant : 2 ;
2984 unsigned char msi_enabled : 1 ;
2985 unsigned char msix_enabled : 1 ;
2986 unsigned char ari_enabled : 1 ;
2987 unsigned char is_managed : 1 ;
2988 unsigned char is_pcie : 1 ;
2989 unsigned char needs_freset : 1 ;
2990 unsigned char state_saved : 1 ;
2991 unsigned char is_physfn : 1 ;
2992 unsigned char is_virtfn : 1 ;
2993 unsigned char reset_fn : 1 ;
2994 unsigned char is_hotplug_bridge : 1 ;
2995 unsigned char __aer_firmware_first_valid : 1 ;
2996 unsigned char __aer_firmware_first : 1 ;
2997 pci_dev_flags_t dev_flags ;
2998 atomic_t enable_cnt ;
2999 u32 saved_config_space[16U] ;
3000 struct hlist_head saved_cap_space ;
3001 struct bin_attribute *rom_attr ;
3002 int rom_attr_enabled ;
3003 struct bin_attribute *res_attr[18U] ;
3004 struct bin_attribute *res_attr_wc[18U] ;
3005 struct list_head msi_list ;
3006 struct pci_vpd *vpd ;
3007 union __anonunion_ldv_19516_156 ldv_19516 ;
3008 struct pci_ats *ats ;
3009};
3010# 406 "include/linux/pci.h"
3011struct pci_ops;
3012# 406 "include/linux/pci.h"
3013struct pci_ops;
3014# 406 "include/linux/pci.h"
3015struct pci_bus {
3016 struct list_head node ;
3017 struct pci_bus *parent ;
3018 struct list_head children ;
3019 struct list_head devices ;
3020 struct pci_dev *self ;
3021 struct list_head slots ;
3022 struct resource *resource[4U] ;
3023 struct list_head resources ;
3024 struct pci_ops *ops ;
3025 void *sysdata ;
3026 struct proc_dir_entry *procdir ;
3027 unsigned char number ;
3028 unsigned char primary ;
3029 unsigned char secondary ;
3030 unsigned char subordinate ;
3031 unsigned char max_bus_speed ;
3032 unsigned char cur_bus_speed ;
3033 char name[48U] ;
3034 unsigned short bridge_ctl ;
3035 pci_bus_flags_t bus_flags ;
3036 struct device *bridge ;
3037 struct device dev ;
3038 struct bin_attribute *legacy_io ;
3039 struct bin_attribute *legacy_mem ;
3040 unsigned char is_added : 1 ;
3041};
3042# 458 "include/linux/pci.h"
3043struct pci_ops {
3044 int (*read)(struct pci_bus * , unsigned int , int , int , u32 * ) ;
3045 int (*write)(struct pci_bus * , unsigned int , int , int , u32 ) ;
3046};
3047# 493 "include/linux/pci.h"
3048struct pci_dynids {
3049 spinlock_t lock ;
3050 struct list_head list ;
3051};
3052# 506 "include/linux/pci.h"
3053typedef unsigned int pci_ers_result_t;
3054# 515 "include/linux/pci.h"
3055struct pci_error_handlers {
3056 pci_ers_result_t (*error_detected)(struct pci_dev * , enum pci_channel_state ) ;
3057 pci_ers_result_t (*mmio_enabled)(struct pci_dev * ) ;
3058 pci_ers_result_t (*link_reset)(struct pci_dev * ) ;
3059 pci_ers_result_t (*slot_reset)(struct pci_dev * ) ;
3060 void (*resume)(struct pci_dev * ) ;
3061};
3062# 543 "include/linux/pci.h"
3063struct pci_driver {
3064 struct list_head node ;
3065 char const *name ;
3066 struct pci_device_id const *id_table ;
3067 int (*probe)(struct pci_dev * , struct pci_device_id const * ) ;
3068 void (*remove)(struct pci_dev * ) ;
3069 int (*suspend)(struct pci_dev * , pm_message_t ) ;
3070 int (*suspend_late)(struct pci_dev * , pm_message_t ) ;
3071 int (*resume_early)(struct pci_dev * ) ;
3072 int (*resume)(struct pci_dev * ) ;
3073 void (*shutdown)(struct pci_dev * ) ;
3074 struct pci_error_handlers *err_handler ;
3075 struct device_driver driver ;
3076 struct pci_dynids dynids ;
3077};
3078# 948 "include/linux/pci.h"
3079struct scatterlist {
3080 unsigned long sg_magic ;
3081 unsigned long page_link ;
3082 unsigned int offset ;
3083 unsigned int length ;
3084 dma_addr_t dma_address ;
3085 unsigned int dma_length ;
3086};
3087# 92 "include/linux/bit_spinlock.h"
3088struct file_ra_state;
3089# 92 "include/linux/bit_spinlock.h"
3090struct file_ra_state;
3091# 92 "include/linux/bit_spinlock.h"
3092struct file_ra_state;
3093# 93 "include/linux/bit_spinlock.h"
3094struct writeback_control;
3095# 93 "include/linux/bit_spinlock.h"
3096struct writeback_control;
3097# 93 "include/linux/bit_spinlock.h"
3098struct writeback_control;
3099# 175 "include/linux/mm.h"
3100struct vm_fault {
3101 unsigned int flags ;
3102 unsigned long pgoff ;
3103 void *virtual_address ;
3104 struct page *page ;
3105};
3106# 192 "include/linux/mm.h"
3107struct vm_operations_struct {
3108 void (*open)(struct vm_area_struct * ) ;
3109 void (*close)(struct vm_area_struct * ) ;
3110 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
3111 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
3112 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
3113 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
3114 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
3115 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
3116 unsigned long ) ;
3117};
3118# 118 "include/linux/kmemleak.h"
3119struct kmem_cache_cpu {
3120 void **freelist ;
3121 unsigned long tid ;
3122 struct page *page ;
3123 int node ;
3124 unsigned int stat[19U] ;
3125};
3126# 46 "include/linux/slub_def.h"
3127struct kmem_cache_node {
3128 spinlock_t list_lock ;
3129 unsigned long nr_partial ;
3130 struct list_head partial ;
3131 atomic_long_t nr_slabs ;
3132 atomic_long_t total_objects ;
3133 struct list_head full ;
3134};
3135# 57 "include/linux/slub_def.h"
3136struct kmem_cache_order_objects {
3137 unsigned long x ;
3138};
3139# 67 "include/linux/slub_def.h"
3140struct kmem_cache {
3141 struct kmem_cache_cpu *cpu_slab ;
3142 unsigned long flags ;
3143 unsigned long min_partial ;
3144 int size ;
3145 int objsize ;
3146 int offset ;
3147 struct kmem_cache_order_objects oo ;
3148 struct kmem_cache_order_objects max ;
3149 struct kmem_cache_order_objects min ;
3150 gfp_t allocflags ;
3151 int refcount ;
3152 void (*ctor)(void * ) ;
3153 int inuse ;
3154 int align ;
3155 int reserved ;
3156 char const *name ;
3157 struct list_head list ;
3158 struct kobject kobj ;
3159 int remote_node_defrag_ratio ;
3160 struct kmem_cache_node *node[1024U] ;
3161};
3162# 34 "include/linux/bug.h"
3163struct dma_attrs {
3164 unsigned long flags[1U] ;
3165};
3166# 266 "include/linux/scatterlist.h"
3167enum dma_data_direction {
3168 DMA_BIDIRECTIONAL = 0,
3169 DMA_TO_DEVICE = 1,
3170 DMA_FROM_DEVICE = 2,
3171 DMA_NONE = 3
3172} ;
3173# 273 "include/linux/scatterlist.h"
3174struct dma_map_ops {
3175 void *(*alloc_coherent)(struct device * , size_t , dma_addr_t * , gfp_t ) ;
3176 void (*free_coherent)(struct device * , size_t , void * , dma_addr_t ) ;
3177 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
3178 enum dma_data_direction , struct dma_attrs * ) ;
3179 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
3180 struct dma_attrs * ) ;
3181 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
3182 struct dma_attrs * ) ;
3183 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
3184 struct dma_attrs * ) ;
3185 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
3186 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
3187 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
3188 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
3189 int (*mapping_error)(struct device * , dma_addr_t ) ;
3190 int (*dma_supported)(struct device * , u64 ) ;
3191 int (*set_dma_mask)(struct device * , u64 ) ;
3192 int is_phys ;
3193};
3194# 1593 "include/linux/pci.h"
3195struct block_device;
3196# 1593 "include/linux/pci.h"
3197struct block_device;
3198# 1593 "include/linux/pci.h"
3199struct block_device;
3200# 89 "include/linux/kdev_t.h"
3201struct hlist_bl_node;
3202# 89 "include/linux/kdev_t.h"
3203struct hlist_bl_node;
3204# 89 "include/linux/kdev_t.h"
3205struct hlist_bl_head {
3206 struct hlist_bl_node *first ;
3207};
3208# 36 "include/linux/list_bl.h"
3209struct hlist_bl_node {
3210 struct hlist_bl_node *next ;
3211 struct hlist_bl_node **pprev ;
3212};
3213# 114 "include/linux/rculist_bl.h"
3214struct nameidata;
3215# 114 "include/linux/rculist_bl.h"
3216struct nameidata;
3217# 114 "include/linux/rculist_bl.h"
3218struct nameidata;
3219# 115 "include/linux/rculist_bl.h"
3220struct path;
3221# 115 "include/linux/rculist_bl.h"
3222struct path;
3223# 115 "include/linux/rculist_bl.h"
3224struct path;
3225# 116 "include/linux/rculist_bl.h"
3226struct vfsmount;
3227# 116 "include/linux/rculist_bl.h"
3228struct vfsmount;
3229# 116 "include/linux/rculist_bl.h"
3230struct vfsmount;
3231# 117 "include/linux/rculist_bl.h"
3232struct qstr {
3233 unsigned int hash ;
3234 unsigned int len ;
3235 unsigned char const *name ;
3236};
3237# 100 "include/linux/dcache.h"
3238struct dentry_operations;
3239# 100 "include/linux/dcache.h"
3240struct dentry_operations;
3241# 100 "include/linux/dcache.h"
3242struct super_block;
3243# 100 "include/linux/dcache.h"
3244struct super_block;
3245# 100 "include/linux/dcache.h"
3246union __anonunion_d_u_157 {
3247 struct list_head d_child ;
3248 struct rcu_head d_rcu ;
3249};
3250# 100 "include/linux/dcache.h"
3251struct dentry {
3252 unsigned int d_flags ;
3253 seqcount_t d_seq ;
3254 struct hlist_bl_node d_hash ;
3255 struct dentry *d_parent ;
3256 struct qstr d_name ;
3257 struct inode *d_inode ;
3258 unsigned char d_iname[32U] ;
3259 unsigned int d_count ;
3260 spinlock_t d_lock ;
3261 struct dentry_operations const *d_op ;
3262 struct super_block *d_sb ;
3263 unsigned long d_time ;
3264 void *d_fsdata ;
3265 struct list_head d_lru ;
3266 union __anonunion_d_u_157 d_u ;
3267 struct list_head d_subdirs ;
3268 struct list_head d_alias ;
3269};
3270# 151 "include/linux/dcache.h"
3271struct dentry_operations {
3272 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
3273 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
3274 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
3275 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
3276 int (*d_delete)(struct dentry const * ) ;
3277 void (*d_release)(struct dentry * ) ;
3278 void (*d_iput)(struct dentry * , struct inode * ) ;
3279 char *(*d_dname)(struct dentry * , char * , int ) ;
3280 struct vfsmount *(*d_automount)(struct path * ) ;
3281 int (*d_manage)(struct dentry * , bool ) ;
3282};
3283# 422 "include/linux/dcache.h"
3284struct path {
3285 struct vfsmount *mnt ;
3286 struct dentry *dentry ;
3287};
3288# 51 "include/linux/radix-tree.h"
3289struct radix_tree_node;
3290# 51 "include/linux/radix-tree.h"
3291struct radix_tree_node;
3292# 51 "include/linux/radix-tree.h"
3293struct radix_tree_root {
3294 unsigned int height ;
3295 gfp_t gfp_mask ;
3296 struct radix_tree_node *rnode ;
3297};
3298# 45 "include/linux/semaphore.h"
3299struct fiemap_extent {
3300 __u64 fe_logical ;
3301 __u64 fe_physical ;
3302 __u64 fe_length ;
3303 __u64 fe_reserved64[2U] ;
3304 __u32 fe_flags ;
3305 __u32 fe_reserved[3U] ;
3306};
3307# 38 "include/linux/fiemap.h"
3308struct export_operations;
3309# 38 "include/linux/fiemap.h"
3310struct export_operations;
3311# 38 "include/linux/fiemap.h"
3312struct export_operations;
3313# 40 "include/linux/fiemap.h"
3314struct poll_table_struct;
3315# 40 "include/linux/fiemap.h"
3316struct poll_table_struct;
3317# 40 "include/linux/fiemap.h"
3318struct poll_table_struct;
3319# 41 "include/linux/fiemap.h"
3320struct kstatfs;
3321# 41 "include/linux/fiemap.h"
3322struct kstatfs;
3323# 41 "include/linux/fiemap.h"
3324struct kstatfs;
3325# 426 "include/linux/fs.h"
3326struct iattr {
3327 unsigned int ia_valid ;
3328 umode_t ia_mode ;
3329 uid_t ia_uid ;
3330 gid_t ia_gid ;
3331 loff_t ia_size ;
3332 struct timespec ia_atime ;
3333 struct timespec ia_mtime ;
3334 struct timespec ia_ctime ;
3335 struct file *ia_file ;
3336};
3337# 119 "include/linux/quota.h"
3338struct if_dqinfo {
3339 __u64 dqi_bgrace ;
3340 __u64 dqi_igrace ;
3341 __u32 dqi_flags ;
3342 __u32 dqi_valid ;
3343};
3344# 152 "include/linux/quota.h"
3345struct fs_disk_quota {
3346 __s8 d_version ;
3347 __s8 d_flags ;
3348 __u16 d_fieldmask ;
3349 __u32 d_id ;
3350 __u64 d_blk_hardlimit ;
3351 __u64 d_blk_softlimit ;
3352 __u64 d_ino_hardlimit ;
3353 __u64 d_ino_softlimit ;
3354 __u64 d_bcount ;
3355 __u64 d_icount ;
3356 __s32 d_itimer ;
3357 __s32 d_btimer ;
3358 __u16 d_iwarns ;
3359 __u16 d_bwarns ;
3360 __s32 d_padding2 ;
3361 __u64 d_rtb_hardlimit ;
3362 __u64 d_rtb_softlimit ;
3363 __u64 d_rtbcount ;
3364 __s32 d_rtbtimer ;
3365 __u16 d_rtbwarns ;
3366 __s16 d_padding3 ;
3367 char d_padding4[8U] ;
3368};
3369# 75 "include/linux/dqblk_xfs.h"
3370struct fs_qfilestat {
3371 __u64 qfs_ino ;
3372 __u64 qfs_nblks ;
3373 __u32 qfs_nextents ;
3374};
3375# 150 "include/linux/dqblk_xfs.h"
3376typedef struct fs_qfilestat fs_qfilestat_t;
3377# 151 "include/linux/dqblk_xfs.h"
3378struct fs_quota_stat {
3379 __s8 qs_version ;
3380 __u16 qs_flags ;
3381 __s8 qs_pad ;
3382 fs_qfilestat_t qs_uquota ;
3383 fs_qfilestat_t qs_gquota ;
3384 __u32 qs_incoredqs ;
3385 __s32 qs_btimelimit ;
3386 __s32 qs_itimelimit ;
3387 __s32 qs_rtbtimelimit ;
3388 __u16 qs_bwarnlimit ;
3389 __u16 qs_iwarnlimit ;
3390};
3391# 165 "include/linux/dqblk_xfs.h"
3392struct dquot;
3393# 165 "include/linux/dqblk_xfs.h"
3394struct dquot;
3395# 165 "include/linux/dqblk_xfs.h"
3396struct dquot;
3397# 185 "include/linux/quota.h"
3398typedef __kernel_uid32_t qid_t;
3399# 186 "include/linux/quota.h"
3400typedef long long qsize_t;
3401# 189 "include/linux/quota.h"
3402struct mem_dqblk {
3403 qsize_t dqb_bhardlimit ;
3404 qsize_t dqb_bsoftlimit ;
3405 qsize_t dqb_curspace ;
3406 qsize_t dqb_rsvspace ;
3407 qsize_t dqb_ihardlimit ;
3408 qsize_t dqb_isoftlimit ;
3409 qsize_t dqb_curinodes ;
3410 time_t dqb_btime ;
3411 time_t dqb_itime ;
3412};
3413# 211 "include/linux/quota.h"
3414struct quota_format_type;
3415# 211 "include/linux/quota.h"
3416struct quota_format_type;
3417# 211 "include/linux/quota.h"
3418struct quota_format_type;
3419# 212 "include/linux/quota.h"
3420struct mem_dqinfo {
3421 struct quota_format_type *dqi_format ;
3422 int dqi_fmt_id ;
3423 struct list_head dqi_dirty_list ;
3424 unsigned long dqi_flags ;
3425 unsigned int dqi_bgrace ;
3426 unsigned int dqi_igrace ;
3427 qsize_t dqi_maxblimit ;
3428 qsize_t dqi_maxilimit ;
3429 void *dqi_priv ;
3430};
3431# 271 "include/linux/quota.h"
3432struct dquot {
3433 struct hlist_node dq_hash ;
3434 struct list_head dq_inuse ;
3435 struct list_head dq_free ;
3436 struct list_head dq_dirty ;
3437 struct mutex dq_lock ;
3438 atomic_t dq_count ;
3439 wait_queue_head_t dq_wait_unused ;
3440 struct super_block *dq_sb ;
3441 unsigned int dq_id ;
3442 loff_t dq_off ;
3443 unsigned long dq_flags ;
3444 short dq_type ;
3445 struct mem_dqblk dq_dqb ;
3446};
3447# 299 "include/linux/quota.h"
3448struct quota_format_ops {
3449 int (*check_quota_file)(struct super_block * , int ) ;
3450 int (*read_file_info)(struct super_block * , int ) ;
3451 int (*write_file_info)(struct super_block * , int ) ;
3452 int (*free_file_info)(struct super_block * , int ) ;
3453 int (*read_dqblk)(struct dquot * ) ;
3454 int (*commit_dqblk)(struct dquot * ) ;
3455 int (*release_dqblk)(struct dquot * ) ;
3456};
3457# 310 "include/linux/quota.h"
3458struct dquot_operations {
3459 int (*write_dquot)(struct dquot * ) ;
3460 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
3461 void (*destroy_dquot)(struct dquot * ) ;
3462 int (*acquire_dquot)(struct dquot * ) ;
3463 int (*release_dquot)(struct dquot * ) ;
3464 int (*mark_dirty)(struct dquot * ) ;
3465 int (*write_info)(struct super_block * , int ) ;
3466 qsize_t *(*get_reserved_space)(struct inode * ) ;
3467};
3468# 324 "include/linux/quota.h"
3469struct quotactl_ops {
3470 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
3471 int (*quota_on_meta)(struct super_block * , int , int ) ;
3472 int (*quota_off)(struct super_block * , int ) ;
3473 int (*quota_sync)(struct super_block * , int , int ) ;
3474 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
3475 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
3476 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
3477 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
3478 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
3479 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
3480};
3481# 340 "include/linux/quota.h"
3482struct quota_format_type {
3483 int qf_fmt_id ;
3484 struct quota_format_ops const *qf_ops ;
3485 struct module *qf_owner ;
3486 struct quota_format_type *qf_next ;
3487};
3488# 386 "include/linux/quota.h"
3489struct quota_info {
3490 unsigned int flags ;
3491 struct mutex dqio_mutex ;
3492 struct mutex dqonoff_mutex ;
3493 struct rw_semaphore dqptr_sem ;
3494 struct inode *files[2U] ;
3495 struct mem_dqinfo info[2U] ;
3496 struct quota_format_ops const *ops[2U] ;
3497};
3498# 576 "include/linux/fs.h"
3499union __anonunion_arg_159 {
3500 char *buf ;
3501 void *data ;
3502};
3503# 576 "include/linux/fs.h"
3504struct __anonstruct_read_descriptor_t_158 {
3505 size_t written ;
3506 size_t count ;
3507 union __anonunion_arg_159 arg ;
3508 int error ;
3509};
3510# 576 "include/linux/fs.h"
3511typedef struct __anonstruct_read_descriptor_t_158 read_descriptor_t;
3512# 579 "include/linux/fs.h"
3513struct address_space_operations {
3514 int (*writepage)(struct page * , struct writeback_control * ) ;
3515 int (*readpage)(struct file * , struct page * ) ;
3516 int (*writepages)(struct address_space * , struct writeback_control * ) ;
3517 int (*set_page_dirty)(struct page * ) ;
3518 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
3519 unsigned int ) ;
3520 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
3521 unsigned int , struct page ** , void ** ) ;
3522 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
3523 unsigned int , struct page * , void * ) ;
3524 sector_t (*bmap)(struct address_space * , sector_t ) ;
3525 void (*invalidatepage)(struct page * , unsigned long ) ;
3526 int (*releasepage)(struct page * , gfp_t ) ;
3527 void (*freepage)(struct page * ) ;
3528 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
3529 unsigned long ) ;
3530 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
3531 int (*migratepage)(struct address_space * , struct page * , struct page * ) ;
3532 int (*launder_page)(struct page * ) ;
3533 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
3534 int (*error_remove_page)(struct address_space * , struct page * ) ;
3535};
3536# 630 "include/linux/fs.h"
3537struct address_space {
3538 struct inode *host ;
3539 struct radix_tree_root page_tree ;
3540 spinlock_t tree_lock ;
3541 unsigned int i_mmap_writable ;
3542 struct prio_tree_root i_mmap ;
3543 struct list_head i_mmap_nonlinear ;
3544 struct mutex i_mmap_mutex ;
3545 unsigned long nrpages ;
3546 unsigned long writeback_index ;
3547 struct address_space_operations const *a_ops ;
3548 unsigned long flags ;
3549 struct backing_dev_info *backing_dev_info ;
3550 spinlock_t private_lock ;
3551 struct list_head private_list ;
3552 struct address_space *assoc_mapping ;
3553};
3554# 652 "include/linux/fs.h"
3555struct hd_struct;
3556# 652 "include/linux/fs.h"
3557struct hd_struct;
3558# 652 "include/linux/fs.h"
3559struct gendisk;
3560# 652 "include/linux/fs.h"
3561struct gendisk;
3562# 652 "include/linux/fs.h"
3563struct block_device {
3564 dev_t bd_dev ;
3565 int bd_openers ;
3566 struct inode *bd_inode ;
3567 struct super_block *bd_super ;
3568 struct mutex bd_mutex ;
3569 struct list_head bd_inodes ;
3570 void *bd_claiming ;
3571 void *bd_holder ;
3572 int bd_holders ;
3573 bool bd_write_holder ;
3574 struct list_head bd_holder_disks ;
3575 struct block_device *bd_contains ;
3576 unsigned int bd_block_size ;
3577 struct hd_struct *bd_part ;
3578 unsigned int bd_part_count ;
3579 int bd_invalidated ;
3580 struct gendisk *bd_disk ;
3581 struct list_head bd_list ;
3582 unsigned long bd_private ;
3583 int bd_fsfreeze_count ;
3584 struct mutex bd_fsfreeze_mutex ;
3585};
3586# 723 "include/linux/fs.h"
3587struct posix_acl;
3588# 723 "include/linux/fs.h"
3589struct posix_acl;
3590# 723 "include/linux/fs.h"
3591struct posix_acl;
3592# 724 "include/linux/fs.h"
3593struct inode_operations;
3594# 724 "include/linux/fs.h"
3595struct inode_operations;
3596# 724 "include/linux/fs.h"
3597union __anonunion_ldv_25093_160 {
3598 struct list_head i_dentry ;
3599 struct rcu_head i_rcu ;
3600};
3601# 724 "include/linux/fs.h"
3602struct file_operations;
3603# 724 "include/linux/fs.h"
3604struct file_operations;
3605# 724 "include/linux/fs.h"
3606struct file_lock;
3607# 724 "include/linux/fs.h"
3608struct file_lock;
3609# 724 "include/linux/fs.h"
3610struct cdev;
3611# 724 "include/linux/fs.h"
3612struct cdev;
3613# 724 "include/linux/fs.h"
3614union __anonunion_ldv_25120_161 {
3615 struct pipe_inode_info *i_pipe ;
3616 struct block_device *i_bdev ;
3617 struct cdev *i_cdev ;
3618};
3619# 724 "include/linux/fs.h"
3620struct inode {
3621 umode_t i_mode ;
3622 uid_t i_uid ;
3623 gid_t i_gid ;
3624 struct inode_operations const *i_op ;
3625 struct super_block *i_sb ;
3626 spinlock_t i_lock ;
3627 unsigned int i_flags ;
3628 unsigned long i_state ;
3629 void *i_security ;
3630 struct mutex i_mutex ;
3631 unsigned long dirtied_when ;
3632 struct hlist_node i_hash ;
3633 struct list_head i_wb_list ;
3634 struct list_head i_lru ;
3635 struct list_head i_sb_list ;
3636 union __anonunion_ldv_25093_160 ldv_25093 ;
3637 unsigned long i_ino ;
3638 atomic_t i_count ;
3639 unsigned int i_nlink ;
3640 dev_t i_rdev ;
3641 unsigned int i_blkbits ;
3642 u64 i_version ;
3643 loff_t i_size ;
3644 struct timespec i_atime ;
3645 struct timespec i_mtime ;
3646 struct timespec i_ctime ;
3647 blkcnt_t i_blocks ;
3648 unsigned short i_bytes ;
3649 struct rw_semaphore i_alloc_sem ;
3650 struct file_operations const *i_fop ;
3651 struct file_lock *i_flock ;
3652 struct address_space *i_mapping ;
3653 struct address_space i_data ;
3654 struct dquot *i_dquot[2U] ;
3655 struct list_head i_devices ;
3656 union __anonunion_ldv_25120_161 ldv_25120 ;
3657 __u32 i_generation ;
3658 __u32 i_fsnotify_mask ;
3659 struct hlist_head i_fsnotify_marks ;
3660 atomic_t i_readcount ;
3661 atomic_t i_writecount ;
3662 struct posix_acl *i_acl ;
3663 struct posix_acl *i_default_acl ;
3664 void *i_private ;
3665};
3666# 902 "include/linux/fs.h"
3667struct fown_struct {
3668 rwlock_t lock ;
3669 struct pid *pid ;
3670 enum pid_type pid_type ;
3671 uid_t uid ;
3672 uid_t euid ;
3673 int signum ;
3674};
3675# 910 "include/linux/fs.h"
3676struct file_ra_state {
3677 unsigned long start ;
3678 unsigned int size ;
3679 unsigned int async_size ;
3680 unsigned int ra_pages ;
3681 unsigned int mmap_miss ;
3682 loff_t prev_pos ;
3683};
3684# 933 "include/linux/fs.h"
3685union __anonunion_f_u_162 {
3686 struct list_head fu_list ;
3687 struct rcu_head fu_rcuhead ;
3688};
3689# 933 "include/linux/fs.h"
3690struct file {
3691 union __anonunion_f_u_162 f_u ;
3692 struct path f_path ;
3693 struct file_operations const *f_op ;
3694 spinlock_t f_lock ;
3695 int f_sb_list_cpu ;
3696 atomic_long_t f_count ;
3697 unsigned int f_flags ;
3698 fmode_t f_mode ;
3699 loff_t f_pos ;
3700 struct fown_struct f_owner ;
3701 struct cred const *f_cred ;
3702 struct file_ra_state f_ra ;
3703 u64 f_version ;
3704 void *f_security ;
3705 void *private_data ;
3706 struct list_head f_ep_links ;
3707 struct address_space *f_mapping ;
3708 unsigned long f_mnt_write_state ;
3709};
3710# 1064 "include/linux/fs.h"
3711typedef struct files_struct *fl_owner_t;
3712# 1065 "include/linux/fs.h"
3713struct file_lock_operations {
3714 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3715 void (*fl_release_private)(struct file_lock * ) ;
3716};
3717# 1070 "include/linux/fs.h"
3718struct lock_manager_operations {
3719 int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
3720 void (*fl_notify)(struct file_lock * ) ;
3721 int (*fl_grant)(struct file_lock * , struct file_lock * , int ) ;
3722 void (*fl_release_private)(struct file_lock * ) ;
3723 void (*fl_break)(struct file_lock * ) ;
3724 int (*fl_change)(struct file_lock ** , int ) ;
3725};
3726# 163 "include/linux/nfs.h"
3727struct nlm_lockowner;
3728# 163 "include/linux/nfs.h"
3729struct nlm_lockowner;
3730# 163 "include/linux/nfs.h"
3731struct nlm_lockowner;
3732# 164 "include/linux/nfs.h"
3733struct nfs_lock_info {
3734 u32 state ;
3735 struct nlm_lockowner *owner ;
3736 struct list_head list ;
3737};
3738# 18 "include/linux/nfs_fs_i.h"
3739struct nfs4_lock_state;
3740# 18 "include/linux/nfs_fs_i.h"
3741struct nfs4_lock_state;
3742# 18 "include/linux/nfs_fs_i.h"
3743struct nfs4_lock_state;
3744# 19 "include/linux/nfs_fs_i.h"
3745struct nfs4_lock_info {
3746 struct nfs4_lock_state *owner ;
3747};
3748# 23 "include/linux/nfs_fs_i.h"
3749struct fasync_struct;
3750# 23 "include/linux/nfs_fs_i.h"
3751struct fasync_struct;
3752# 23 "include/linux/nfs_fs_i.h"
3753struct __anonstruct_afs_164 {
3754 struct list_head link ;
3755 int state ;
3756};
3757# 23 "include/linux/nfs_fs_i.h"
3758union __anonunion_fl_u_163 {
3759 struct nfs_lock_info nfs_fl ;
3760 struct nfs4_lock_info nfs4_fl ;
3761 struct __anonstruct_afs_164 afs ;
3762};
3763# 23 "include/linux/nfs_fs_i.h"
3764struct file_lock {
3765 struct file_lock *fl_next ;
3766 struct list_head fl_link ;
3767 struct list_head fl_block ;
3768 fl_owner_t fl_owner ;
3769 unsigned char fl_flags ;
3770 unsigned char fl_type ;
3771 unsigned int fl_pid ;
3772 struct pid *fl_nspid ;
3773 wait_queue_head_t fl_wait ;
3774 struct file *fl_file ;
3775 loff_t fl_start ;
3776 loff_t fl_end ;
3777 struct fasync_struct *fl_fasync ;
3778 unsigned long fl_break_time ;
3779 struct file_lock_operations const *fl_ops ;
3780 struct lock_manager_operations const *fl_lmops ;
3781 union __anonunion_fl_u_163 fl_u ;
3782};
3783# 1171 "include/linux/fs.h"
3784struct fasync_struct {
3785 spinlock_t fa_lock ;
3786 int magic ;
3787 int fa_fd ;
3788 struct fasync_struct *fa_next ;
3789 struct file *fa_file ;
3790 struct rcu_head fa_rcu ;
3791};
3792# 1363 "include/linux/fs.h"
3793struct file_system_type;
3794# 1363 "include/linux/fs.h"
3795struct file_system_type;
3796# 1363 "include/linux/fs.h"
3797struct super_operations;
3798# 1363 "include/linux/fs.h"
3799struct super_operations;
3800# 1363 "include/linux/fs.h"
3801struct xattr_handler;
3802# 1363 "include/linux/fs.h"
3803struct xattr_handler;
3804# 1363 "include/linux/fs.h"
3805struct mtd_info;
3806# 1363 "include/linux/fs.h"
3807struct mtd_info;
3808# 1363 "include/linux/fs.h"
3809struct super_block {
3810 struct list_head s_list ;
3811 dev_t s_dev ;
3812 unsigned char s_dirt ;
3813 unsigned char s_blocksize_bits ;
3814 unsigned long s_blocksize ;
3815 loff_t s_maxbytes ;
3816 struct file_system_type *s_type ;
3817 struct super_operations const *s_op ;
3818 struct dquot_operations const *dq_op ;
3819 struct quotactl_ops const *s_qcop ;
3820 struct export_operations const *s_export_op ;
3821 unsigned long s_flags ;
3822 unsigned long s_magic ;
3823 struct dentry *s_root ;
3824 struct rw_semaphore s_umount ;
3825 struct mutex s_lock ;
3826 int s_count ;
3827 atomic_t s_active ;
3828 void *s_security ;
3829 struct xattr_handler const **s_xattr ;
3830 struct list_head s_inodes ;
3831 struct hlist_bl_head s_anon ;
3832 struct list_head *s_files ;
3833 struct list_head s_dentry_lru ;
3834 int s_nr_dentry_unused ;
3835 struct block_device *s_bdev ;
3836 struct backing_dev_info *s_bdi ;
3837 struct mtd_info *s_mtd ;
3838 struct list_head s_instances ;
3839 struct quota_info s_dquot ;
3840 int s_frozen ;
3841 wait_queue_head_t s_wait_unfrozen ;
3842 char s_id[32U] ;
3843 u8 s_uuid[16U] ;
3844 void *s_fs_info ;
3845 fmode_t s_mode ;
3846 u32 s_time_gran ;
3847 struct mutex s_vfs_rename_mutex ;
3848 char *s_subtype ;
3849 char *s_options ;
3850 struct dentry_operations const *s_d_op ;
3851 int cleancache_poolid ;
3852};
3853# 1495 "include/linux/fs.h"
3854struct fiemap_extent_info {
3855 unsigned int fi_flags ;
3856 unsigned int fi_extents_mapped ;
3857 unsigned int fi_extents_max ;
3858 struct fiemap_extent *fi_extents_start ;
3859};
3860# 1534 "include/linux/fs.h"
3861struct file_operations {
3862 struct module *owner ;
3863 loff_t (*llseek)(struct file * , loff_t , int ) ;
3864 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3865 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3866 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3867 loff_t ) ;
3868 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3869 loff_t ) ;
3870 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3871 loff_t , u64 , unsigned int ) ) ;
3872 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3873 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3874 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3875 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3876 int (*open)(struct inode * , struct file * ) ;
3877 int (*flush)(struct file * , fl_owner_t ) ;
3878 int (*release)(struct inode * , struct file * ) ;
3879 int (*fsync)(struct file * , int ) ;
3880 int (*aio_fsync)(struct kiocb * , int ) ;
3881 int (*fasync)(int , struct file * , int ) ;
3882 int (*lock)(struct file * , int , struct file_lock * ) ;
3883 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3884 int ) ;
3885 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3886 unsigned long , unsigned long ) ;
3887 int (*check_flags)(int ) ;
3888 int (*flock)(struct file * , int , struct file_lock * ) ;
3889 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3890 unsigned int ) ;
3891 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3892 unsigned int ) ;
3893 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3894 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
3895};
3896# 1574 "include/linux/fs.h"
3897struct inode_operations {
3898 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3899 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3900 int (*permission)(struct inode * , int , unsigned int ) ;
3901 int (*check_acl)(struct inode * , int , unsigned int ) ;
3902 int (*readlink)(struct dentry * , char * , int ) ;
3903 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3904 int (*create)(struct inode * , struct dentry * , int , struct nameidata * ) ;
3905 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3906 int (*unlink)(struct inode * , struct dentry * ) ;
3907 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3908 int (*mkdir)(struct inode * , struct dentry * , int ) ;
3909 int (*rmdir)(struct inode * , struct dentry * ) ;
3910 int (*mknod)(struct inode * , struct dentry * , int , dev_t ) ;
3911 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3912 void (*truncate)(struct inode * ) ;
3913 int (*setattr)(struct dentry * , struct iattr * ) ;
3914 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
3915 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3916 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3917 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3918 int (*removexattr)(struct dentry * , char const * ) ;
3919 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3920 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
3921};
3922# 1620 "include/linux/fs.h"
3923struct super_operations {
3924 struct inode *(*alloc_inode)(struct super_block * ) ;
3925 void (*destroy_inode)(struct inode * ) ;
3926 void (*dirty_inode)(struct inode * , int ) ;
3927 int (*write_inode)(struct inode * , struct writeback_control * ) ;
3928 int (*drop_inode)(struct inode * ) ;
3929 void (*evict_inode)(struct inode * ) ;
3930 void (*put_super)(struct super_block * ) ;
3931 void (*write_super)(struct super_block * ) ;
3932 int (*sync_fs)(struct super_block * , int ) ;
3933 int (*freeze_fs)(struct super_block * ) ;
3934 int (*unfreeze_fs)(struct super_block * ) ;
3935 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3936 int (*remount_fs)(struct super_block * , int * , char * ) ;
3937 void (*umount_begin)(struct super_block * ) ;
3938 int (*show_options)(struct seq_file * , struct vfsmount * ) ;
3939 int (*show_devname)(struct seq_file * , struct vfsmount * ) ;
3940 int (*show_path)(struct seq_file * , struct vfsmount * ) ;
3941 int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
3942 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3943 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3944 loff_t ) ;
3945 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3946};
3947# 1801 "include/linux/fs.h"
3948struct file_system_type {
3949 char const *name ;
3950 int fs_flags ;
3951 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3952 void (*kill_sb)(struct super_block * ) ;
3953 struct module *owner ;
3954 struct file_system_type *next ;
3955 struct list_head fs_supers ;
3956 struct lock_class_key s_lock_key ;
3957 struct lock_class_key s_umount_key ;
3958 struct lock_class_key s_vfs_rename_key ;
3959 struct lock_class_key i_lock_key ;
3960 struct lock_class_key i_mutex_key ;
3961 struct lock_class_key i_mutex_dir_key ;
3962 struct lock_class_key i_alloc_sem_key ;
3963};
3964# 6 "include/asm-generic/termbits.h"
3965typedef unsigned char cc_t;
3966# 7 "include/asm-generic/termbits.h"
3967typedef unsigned int speed_t;
3968# 8 "include/asm-generic/termbits.h"
3969typedef unsigned int tcflag_t;
3970# 30 "include/asm-generic/termbits.h"
3971struct ktermios {
3972 tcflag_t c_iflag ;
3973 tcflag_t c_oflag ;
3974 tcflag_t c_cflag ;
3975 tcflag_t c_lflag ;
3976 cc_t c_line ;
3977 cc_t c_cc[19U] ;
3978 speed_t c_ispeed ;
3979 speed_t c_ospeed ;
3980};
3981# 41 "include/asm-generic/termbits.h"
3982struct winsize {
3983 unsigned short ws_row ;
3984 unsigned short ws_col ;
3985 unsigned short ws_xpixel ;
3986 unsigned short ws_ypixel ;
3987};
3988# 138 "include/asm-generic/termios.h"
3989struct termiox {
3990 __u16 x_hflag ;
3991 __u16 x_cflag ;
3992 __u16 x_rflag[5U] ;
3993 __u16 x_sflag ;
3994};
3995# 16 "include/linux/termios.h"
3996struct cdev {
3997 struct kobject kobj ;
3998 struct module *owner ;
3999 struct file_operations const *ops ;
4000 struct list_head list ;
4001 dev_t dev ;
4002 unsigned int count ;
4003};
4004# 34 "include/linux/cdev.h"
4005struct tty_driver;
4006# 34 "include/linux/cdev.h"
4007struct tty_driver;
4008# 34 "include/linux/cdev.h"
4009struct tty_driver;
4010# 35 "include/linux/cdev.h"
4011struct serial_icounter_struct;
4012# 35 "include/linux/cdev.h"
4013struct serial_icounter_struct;
4014# 35 "include/linux/cdev.h"
4015struct serial_icounter_struct;
4016# 36 "include/linux/cdev.h"
4017struct tty_operations {
4018 struct tty_struct *(*lookup)(struct tty_driver * , struct inode * , int ) ;
4019 int (*install)(struct tty_driver * , struct tty_struct * ) ;
4020 void (*remove)(struct tty_driver * , struct tty_struct * ) ;
4021 int (*open)(struct tty_struct * , struct file * ) ;
4022 void (*close)(struct tty_struct * , struct file * ) ;
4023 void (*shutdown)(struct tty_struct * ) ;
4024 void (*cleanup)(struct tty_struct * ) ;
4025 int (*write)(struct tty_struct * , unsigned char const * , int ) ;
4026 int (*put_char)(struct tty_struct * , unsigned char ) ;
4027 void (*flush_chars)(struct tty_struct * ) ;
4028 int (*write_room)(struct tty_struct * ) ;
4029 int (*chars_in_buffer)(struct tty_struct * ) ;
4030 int (*ioctl)(struct tty_struct * , unsigned int , unsigned long ) ;
4031 long (*compat_ioctl)(struct tty_struct * , unsigned int , unsigned long ) ;
4032 void (*set_termios)(struct tty_struct * , struct ktermios * ) ;
4033 void (*throttle)(struct tty_struct * ) ;
4034 void (*unthrottle)(struct tty_struct * ) ;
4035 void (*stop)(struct tty_struct * ) ;
4036 void (*start)(struct tty_struct * ) ;
4037 void (*hangup)(struct tty_struct * ) ;
4038 int (*break_ctl)(struct tty_struct * , int ) ;
4039 void (*flush_buffer)(struct tty_struct * ) ;
4040 void (*set_ldisc)(struct tty_struct * ) ;
4041 void (*wait_until_sent)(struct tty_struct * , int ) ;
4042 void (*send_xchar)(struct tty_struct * , char ) ;
4043 int (*tiocmget)(struct tty_struct * ) ;
4044 int (*tiocmset)(struct tty_struct * , unsigned int , unsigned int ) ;
4045 int (*resize)(struct tty_struct * , struct winsize * ) ;
4046 int (*set_termiox)(struct tty_struct * , struct termiox * ) ;
4047 int (*get_icount)(struct tty_struct * , struct serial_icounter_struct * ) ;
4048 int (*poll_init)(struct tty_driver * , int , char * ) ;
4049 int (*poll_get_char)(struct tty_driver * , int ) ;
4050 void (*poll_put_char)(struct tty_driver * , int , char ) ;
4051 struct file_operations const *proc_fops ;
4052};
4053# 287 "include/linux/tty_driver.h"
4054struct tty_driver {
4055 int magic ;
4056 struct kref kref ;
4057 struct cdev cdev ;
4058 struct module *owner ;
4059 char const *driver_name ;
4060 char const *name ;
4061 int name_base ;
4062 int major ;
4063 int minor_start ;
4064 int minor_num ;
4065 int num ;
4066 short type ;
4067 short subtype ;
4068 struct ktermios init_termios ;
4069 int flags ;
4070 struct proc_dir_entry *proc_entry ;
4071 struct tty_driver *other ;
4072 struct tty_struct **ttys ;
4073 struct ktermios **termios ;
4074 struct ktermios **termios_locked ;
4075 void *driver_state ;
4076 struct tty_operations const *ops ;
4077 struct list_head tty_drivers ;
4078};
4079# 48 "include/linux/pps_kernel.h"
4080struct pps_event_time {
4081 struct timespec ts_real ;
4082};
4083# 116 "include/linux/pps_kernel.h"
4084struct tty_ldisc_ops {
4085 int magic ;
4086 char *name ;
4087 int num ;
4088 int flags ;
4089 int (*open)(struct tty_struct * ) ;
4090 void (*close)(struct tty_struct * ) ;
4091 void (*flush_buffer)(struct tty_struct * ) ;
4092 ssize_t (*chars_in_buffer)(struct tty_struct * ) ;
4093 ssize_t (*read)(struct tty_struct * , struct file * , unsigned char * , size_t ) ;
4094 ssize_t (*write)(struct tty_struct * , struct file * , unsigned char const * ,
4095 size_t ) ;
4096 int (*ioctl)(struct tty_struct * , struct file * , unsigned int , unsigned long ) ;
4097 long (*compat_ioctl)(struct tty_struct * , struct file * , unsigned int , unsigned long ) ;
4098 void (*set_termios)(struct tty_struct * , struct ktermios * ) ;
4099 unsigned int (*poll)(struct tty_struct * , struct file * , struct poll_table_struct * ) ;
4100 int (*hangup)(struct tty_struct * ) ;
4101 void (*receive_buf)(struct tty_struct * , unsigned char const * , char * , int ) ;
4102 void (*write_wakeup)(struct tty_struct * ) ;
4103 void (*dcd_change)(struct tty_struct * , unsigned int , struct pps_event_time * ) ;
4104 struct module *owner ;
4105 int refcount ;
4106};
4107# 153 "include/linux/tty_ldisc.h"
4108struct tty_ldisc {
4109 struct tty_ldisc_ops *ops ;
4110 atomic_t users ;
4111};
4112# 158 "include/linux/tty_ldisc.h"
4113struct tty_buffer {
4114 struct tty_buffer *next ;
4115 char *char_buf_ptr ;
4116 unsigned char *flag_buf_ptr ;
4117 int used ;
4118 int size ;
4119 int commit ;
4120 int read ;
4121 unsigned long data[0U] ;
4122};
4123# 74 "include/linux/tty.h"
4124struct tty_bufhead {
4125 struct work_struct work ;
4126 spinlock_t lock ;
4127 struct tty_buffer *head ;
4128 struct tty_buffer *tail ;
4129 struct tty_buffer *free ;
4130 int memory_used ;
4131};
4132# 94 "include/linux/tty.h"
4133struct tty_port;
4134# 94 "include/linux/tty.h"
4135struct tty_port;
4136# 94 "include/linux/tty.h"
4137struct tty_port;
4138# 95 "include/linux/tty.h"
4139struct tty_port_operations {
4140 int (*carrier_raised)(struct tty_port * ) ;
4141 void (*dtr_rts)(struct tty_port * , int ) ;
4142 void (*shutdown)(struct tty_port * ) ;
4143 void (*drop)(struct tty_port * ) ;
4144 int (*activate)(struct tty_port * , struct tty_struct * ) ;
4145 void (*destruct)(struct tty_port * ) ;
4146};
4147# 221 "include/linux/tty.h"
4148struct tty_port {
4149 struct tty_struct *tty ;
4150 struct tty_port_operations const *ops ;
4151 spinlock_t lock ;
4152 int blocked_open ;
4153 int count ;
4154 wait_queue_head_t open_wait ;
4155 wait_queue_head_t close_wait ;
4156 wait_queue_head_t delta_msr_wait ;
4157 unsigned long flags ;
4158 unsigned char console : 1 ;
4159 struct mutex mutex ;
4160 struct mutex buf_mutex ;
4161 unsigned char *xmit_buf ;
4162 unsigned int close_delay ;
4163 unsigned int closing_wait ;
4164 int drain_delay ;
4165 struct kref kref ;
4166};
4167# 243 "include/linux/tty.h"
4168struct tty_struct {
4169 int magic ;
4170 struct kref kref ;
4171 struct device *dev ;
4172 struct tty_driver *driver ;
4173 struct tty_operations const *ops ;
4174 int index ;
4175 struct mutex ldisc_mutex ;
4176 struct tty_ldisc *ldisc ;
4177 struct mutex termios_mutex ;
4178 spinlock_t ctrl_lock ;
4179 struct ktermios *termios ;
4180 struct ktermios *termios_locked ;
4181 struct termiox *termiox ;
4182 char name[64U] ;
4183 struct pid *pgrp ;
4184 struct pid *session ;
4185 unsigned long flags ;
4186 int count ;
4187 struct winsize winsize ;
4188 unsigned char stopped : 1 ;
4189 unsigned char hw_stopped : 1 ;
4190 unsigned char flow_stopped : 1 ;
4191 unsigned char packet : 1 ;
4192 unsigned char low_latency : 1 ;
4193 unsigned char warned : 1 ;
4194 unsigned char ctrl_status ;
4195 unsigned int receive_room ;
4196 struct tty_struct *link ;
4197 struct fasync_struct *fasync ;
4198 struct tty_bufhead buf ;
4199 int alt_speed ;
4200 wait_queue_head_t write_wait ;
4201 wait_queue_head_t read_wait ;
4202 struct work_struct hangup_work ;
4203 void *disc_data ;
4204 void *driver_data ;
4205 struct list_head tty_files ;
4206 unsigned int column ;
4207 unsigned char lnext : 1 ;
4208 unsigned char erasing : 1 ;
4209 unsigned char raw : 1 ;
4210 unsigned char real_raw : 1 ;
4211 unsigned char icanon : 1 ;
4212 unsigned char closing : 1 ;
4213 unsigned char echo_overrun : 1 ;
4214 unsigned short minimum_to_wake ;
4215 unsigned long overrun_time ;
4216 int num_overrun ;
4217 unsigned long process_char_map[4U] ;
4218 char *read_buf ;
4219 int read_head ;
4220 int read_tail ;
4221 int read_cnt ;
4222 unsigned long read_flags[64U] ;
4223 unsigned char *echo_buf ;
4224 unsigned int echo_pos ;
4225 unsigned int echo_cnt ;
4226 int canon_data ;
4227 unsigned long canon_head ;
4228 unsigned int canon_column ;
4229 struct mutex atomic_read_lock ;
4230 struct mutex atomic_write_lock ;
4231 struct mutex output_lock ;
4232 struct mutex echo_lock ;
4233 unsigned char *write_buf ;
4234 int write_cnt ;
4235 spinlock_t read_lock ;
4236 struct work_struct SAK_work ;
4237 struct tty_port *port ;
4238};
4239# 188 "include/linux/serial.h"
4240struct serial_icounter_struct {
4241 int cts ;
4242 int dsr ;
4243 int rng ;
4244 int dcd ;
4245 int rx ;
4246 int tx ;
4247 int frame ;
4248 int overrun ;
4249 int parity ;
4250 int brk ;
4251 int buf_overrun ;
4252 int reserved[9U] ;
4253};
4254# 360 "include/linux/ptrace.h"
4255struct seq_file {
4256 char *buf ;
4257 size_t size ;
4258 size_t from ;
4259 size_t count ;
4260 loff_t index ;
4261 loff_t read_pos ;
4262 u64 version ;
4263 struct mutex lock ;
4264 struct seq_operations const *op ;
4265 void *private ;
4266};
4267# 28 "include/linux/seq_file.h"
4268struct seq_operations {
4269 void *(*start)(struct seq_file * , loff_t * ) ;
4270 void (*stop)(struct seq_file * , void * ) ;
4271 void *(*next)(struct seq_file * , void * , loff_t * ) ;
4272 int (*show)(struct seq_file * , void * ) ;
4273};
4274# 38 "include/linux/socket.h"
4275typedef unsigned short sa_family_t;
4276# 39 "include/linux/socket.h"
4277struct sockaddr {
4278 sa_family_t sa_family ;
4279 char sa_data[14U] ;
4280};
4281# 41 "include/linux/hdlc/ioctl.h"
4282struct __anonstruct_sync_serial_settings_165 {
4283 unsigned int clock_rate ;
4284 unsigned int clock_type ;
4285 unsigned short loopback ;
4286};
4287# 41 "include/linux/hdlc/ioctl.h"
4288typedef struct __anonstruct_sync_serial_settings_165 sync_serial_settings;
4289# 48 "include/linux/hdlc/ioctl.h"
4290struct __anonstruct_te1_settings_166 {
4291 unsigned int clock_rate ;
4292 unsigned int clock_type ;
4293 unsigned short loopback ;
4294 unsigned int slot_map ;
4295};
4296# 48 "include/linux/hdlc/ioctl.h"
4297typedef struct __anonstruct_te1_settings_166 te1_settings;
4298# 53 "include/linux/hdlc/ioctl.h"
4299struct __anonstruct_raw_hdlc_proto_167 {
4300 unsigned short encoding ;
4301 unsigned short parity ;
4302};
4303# 53 "include/linux/hdlc/ioctl.h"
4304typedef struct __anonstruct_raw_hdlc_proto_167 raw_hdlc_proto;
4305# 63 "include/linux/hdlc/ioctl.h"
4306struct __anonstruct_fr_proto_168 {
4307 unsigned int t391 ;
4308 unsigned int t392 ;
4309 unsigned int n391 ;
4310 unsigned int n392 ;
4311 unsigned int n393 ;
4312 unsigned short lmi ;
4313 unsigned short dce ;
4314};
4315# 63 "include/linux/hdlc/ioctl.h"
4316typedef struct __anonstruct_fr_proto_168 fr_proto;
4317# 67 "include/linux/hdlc/ioctl.h"
4318struct __anonstruct_fr_proto_pvc_169 {
4319 unsigned int dlci ;
4320};
4321# 67 "include/linux/hdlc/ioctl.h"
4322typedef struct __anonstruct_fr_proto_pvc_169 fr_proto_pvc;
4323# 72 "include/linux/hdlc/ioctl.h"
4324struct __anonstruct_fr_proto_pvc_info_170 {
4325 unsigned int dlci ;
4326 char master[16U] ;
4327};
4328# 72 "include/linux/hdlc/ioctl.h"
4329typedef struct __anonstruct_fr_proto_pvc_info_170 fr_proto_pvc_info;
4330# 77 "include/linux/hdlc/ioctl.h"
4331struct __anonstruct_cisco_proto_171 {
4332 unsigned int interval ;
4333 unsigned int timeout ;
4334};
4335# 77 "include/linux/hdlc/ioctl.h"
4336typedef struct __anonstruct_cisco_proto_171 cisco_proto;
4337# 93 "include/linux/hdlc/ioctl.h"
4338struct ifmap {
4339 unsigned long mem_start ;
4340 unsigned long mem_end ;
4341 unsigned short base_addr ;
4342 unsigned char irq ;
4343 unsigned char dma ;
4344 unsigned char port ;
4345};
4346# 142 "include/linux/if.h"
4347union __anonunion_ifs_ifsu_172 {
4348 raw_hdlc_proto *raw_hdlc ;
4349 cisco_proto *cisco ;
4350 fr_proto *fr ;
4351 fr_proto_pvc *fr_pvc ;
4352 fr_proto_pvc_info *fr_pvc_info ;
4353 sync_serial_settings *sync ;
4354 te1_settings *te1 ;
4355};
4356# 142 "include/linux/if.h"
4357struct if_settings {
4358 unsigned int type ;
4359 unsigned int size ;
4360 union __anonunion_ifs_ifsu_172 ifs_ifsu ;
4361};
4362# 160 "include/linux/if.h"
4363union __anonunion_ifr_ifrn_173 {
4364 char ifrn_name[16U] ;
4365};
4366# 160 "include/linux/if.h"
4367union __anonunion_ifr_ifru_174 {
4368 struct sockaddr ifru_addr ;
4369 struct sockaddr ifru_dstaddr ;
4370 struct sockaddr ifru_broadaddr ;
4371 struct sockaddr ifru_netmask ;
4372 struct sockaddr ifru_hwaddr ;
4373 short ifru_flags ;
4374 int ifru_ivalue ;
4375 int ifru_mtu ;
4376 struct ifmap ifru_map ;
4377 char ifru_slave[16U] ;
4378 char ifru_newname[16U] ;
4379 void *ifru_data ;
4380 struct if_settings ifru_settings ;
4381};
4382# 160 "include/linux/if.h"
4383struct ifreq {
4384 union __anonunion_ifr_ifrn_173 ifr_ifrn ;
4385 union __anonunion_ifr_ifru_174 ifr_ifru ;
4386};
4387# 224 "include/linux/if.h"
4388struct ethhdr {
4389 unsigned char h_dest[6U] ;
4390 unsigned char h_source[6U] ;
4391 __be16 h_proto ;
4392};
4393# 104 "include/linux/random.h"
4394struct net;
4395# 104 "include/linux/random.h"
4396struct net;
4397# 104 "include/linux/random.h"
4398struct net;
4399# 108 "include/net/checksum.h"
4400struct sk_buff;
4401# 108 "include/net/checksum.h"
4402struct sk_buff;
4403# 108 "include/net/checksum.h"
4404struct sk_buff;
4405# 33 "include/linux/dmaengine.h"
4406typedef s32 dma_cookie_t;
4407# 874 "include/linux/dmaengine.h"
4408struct net_device;
4409# 874 "include/linux/dmaengine.h"
4410struct net_device;
4411# 874 "include/linux/dmaengine.h"
4412struct net_device;
4413# 875 "include/linux/dmaengine.h"
4414struct nf_conntrack {
4415 atomic_t use ;
4416};
4417# 102 "include/linux/skbuff.h"
4418struct nf_bridge_info {
4419 atomic_t use ;
4420 struct net_device *physindev ;
4421 struct net_device *physoutdev ;
4422 unsigned int mask ;
4423 unsigned long data[4U] ;
4424};
4425# 112 "include/linux/skbuff.h"
4426struct sk_buff_head {
4427 struct sk_buff *next ;
4428 struct sk_buff *prev ;
4429 __u32 qlen ;
4430 spinlock_t lock ;
4431};
4432# 259 "include/linux/skbuff.h"
4433typedef unsigned int sk_buff_data_t;
4434# 260 "include/linux/skbuff.h"
4435struct sec_path;
4436# 260 "include/linux/skbuff.h"
4437struct sec_path;
4438# 260 "include/linux/skbuff.h"
4439struct __anonstruct_ldv_29530_178 {
4440 __u16 csum_start ;
4441 __u16 csum_offset ;
4442};
4443# 260 "include/linux/skbuff.h"
4444union __anonunion_ldv_29531_177 {
4445 __wsum csum ;
4446 struct __anonstruct_ldv_29530_178 ldv_29530 ;
4447};
4448# 260 "include/linux/skbuff.h"
4449union __anonunion_ldv_29561_179 {
4450 __u32 mark ;
4451 __u32 dropcount ;
4452};
4453# 260 "include/linux/skbuff.h"
4454struct sk_buff {
4455 struct sk_buff *next ;
4456 struct sk_buff *prev ;
4457 ktime_t tstamp ;
4458 struct sock *sk ;
4459 struct net_device *dev ;
4460 char cb[48U] ;
4461 unsigned long _skb_refdst ;
4462 struct sec_path *sp ;
4463 unsigned int len ;
4464 unsigned int data_len ;
4465 __u16 mac_len ;
4466 __u16 hdr_len ;
4467 union __anonunion_ldv_29531_177 ldv_29531 ;
4468 __u32 priority ;
4469 unsigned char local_df : 1 ;
4470 unsigned char cloned : 1 ;
4471 unsigned char ip_summed : 2 ;
4472 unsigned char nohdr : 1 ;
4473 unsigned char nfctinfo : 3 ;
4474 unsigned char pkt_type : 3 ;
4475 unsigned char fclone : 2 ;
4476 unsigned char ipvs_property : 1 ;
4477 unsigned char peeked : 1 ;
4478 unsigned char nf_trace : 1 ;
4479 __be16 protocol ;
4480 void (*destructor)(struct sk_buff * ) ;
4481 struct nf_conntrack *nfct ;
4482 struct sk_buff *nfct_reasm ;
4483 struct nf_bridge_info *nf_bridge ;
4484 int skb_iif ;
4485 __u16 tc_index ;
4486 __u16 tc_verd ;
4487 __u32 rxhash ;
4488 __u16 queue_mapping ;
4489 unsigned char ndisc_nodetype : 2 ;
4490 unsigned char ooo_okay : 1 ;
4491 dma_cookie_t dma_cookie ;
4492 __u32 secmark ;
4493 union __anonunion_ldv_29561_179 ldv_29561 ;
4494 __u16 vlan_tci ;
4495 sk_buff_data_t transport_header ;
4496 sk_buff_data_t network_header ;
4497 sk_buff_data_t mac_header ;
4498 sk_buff_data_t tail ;
4499 sk_buff_data_t end ;
4500 unsigned char *head ;
4501 unsigned char *data ;
4502 unsigned int truesize ;
4503 atomic_t users ;
4504};
4505# 450 "include/linux/skbuff.h"
4506struct dst_entry;
4507# 450 "include/linux/skbuff.h"
4508struct dst_entry;
4509# 113 "include/linux/netlink.h"
4510struct nlattr {
4511 __u16 nla_len ;
4512 __u16 nla_type ;
4513};
4514# 39 "include/linux/if_link.h"
4515struct rtnl_link_stats64 {
4516 __u64 rx_packets ;
4517 __u64 tx_packets ;
4518 __u64 rx_bytes ;
4519 __u64 tx_bytes ;
4520 __u64 rx_errors ;
4521 __u64 tx_errors ;
4522 __u64 rx_dropped ;
4523 __u64 tx_dropped ;
4524 __u64 multicast ;
4525 __u64 collisions ;
4526 __u64 rx_length_errors ;
4527 __u64 rx_over_errors ;
4528 __u64 rx_crc_errors ;
4529 __u64 rx_frame_errors ;
4530 __u64 rx_fifo_errors ;
4531 __u64 rx_missed_errors ;
4532 __u64 tx_aborted_errors ;
4533 __u64 tx_carrier_errors ;
4534 __u64 tx_fifo_errors ;
4535 __u64 tx_heartbeat_errors ;
4536 __u64 tx_window_errors ;
4537 __u64 rx_compressed ;
4538 __u64 tx_compressed ;
4539};
4540# 302 "include/linux/if_link.h"
4541struct ifla_vf_info {
4542 __u32 vf ;
4543 __u8 mac[32U] ;
4544 __u32 vlan ;
4545 __u32 qos ;
4546 __u32 tx_rate ;
4547};
4548# 60 "include/linux/miscdevice.h"
4549struct pm_qos_request_list {
4550 struct plist_node list ;
4551 int pm_qos_class ;
4552};
4553# 16 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4554typedef s32 compat_time_t;
4555# 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4556typedef s32 compat_long_t;
4557# 40 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4558typedef u32 compat_ulong_t;
4559# 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4560struct compat_timespec {
4561 compat_time_t tv_sec ;
4562 s32 tv_nsec ;
4563};
4564# 196 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
4565typedef u32 compat_uptr_t;
4566# 205 "include/linux/compat.h"
4567struct compat_robust_list {
4568 compat_uptr_t next ;
4569};
4570# 209 "include/linux/compat.h"
4571struct compat_robust_list_head {
4572 struct compat_robust_list list ;
4573 compat_long_t futex_offset ;
4574 compat_uptr_t list_op_pending ;
4575};
4576# 563 "include/linux/compat.h"
4577struct ethtool_cmd {
4578 __u32 cmd ;
4579 __u32 supported ;
4580 __u32 advertising ;
4581 __u16 speed ;
4582 __u8 duplex ;
4583 __u8 port ;
4584 __u8 phy_address ;
4585 __u8 transceiver ;
4586 __u8 autoneg ;
4587 __u8 mdio_support ;
4588 __u32 maxtxpkt ;
4589 __u32 maxrxpkt ;
4590 __u16 speed_hi ;
4591 __u8 eth_tp_mdix ;
4592 __u8 reserved2 ;
4593 __u32 lp_advertising ;
4594 __u32 reserved[2U] ;
4595};
4596# 61 "include/linux/ethtool.h"
4597struct ethtool_drvinfo {
4598 __u32 cmd ;
4599 char driver[32U] ;
4600 char version[32U] ;
4601 char fw_version[32U] ;
4602 char bus_info[32U] ;
4603 char reserved1[32U] ;
4604 char reserved2[12U] ;
4605 __u32 n_priv_flags ;
4606 __u32 n_stats ;
4607 __u32 testinfo_len ;
4608 __u32 eedump_len ;
4609 __u32 regdump_len ;
4610};
4611# 87 "include/linux/ethtool.h"
4612struct ethtool_wolinfo {
4613 __u32 cmd ;
4614 __u32 supported ;
4615 __u32 wolopts ;
4616 __u8 sopass[6U] ;
4617};
4618# 102 "include/linux/ethtool.h"
4619struct ethtool_regs {
4620 __u32 cmd ;
4621 __u32 version ;
4622 __u32 len ;
4623 __u8 data[0U] ;
4624};
4625# 110 "include/linux/ethtool.h"
4626struct ethtool_eeprom {
4627 __u32 cmd ;
4628 __u32 magic ;
4629 __u32 offset ;
4630 __u32 len ;
4631 __u8 data[0U] ;
4632};
4633# 119 "include/linux/ethtool.h"
4634struct ethtool_coalesce {
4635 __u32 cmd ;
4636 __u32 rx_coalesce_usecs ;
4637 __u32 rx_max_coalesced_frames ;
4638 __u32 rx_coalesce_usecs_irq ;
4639 __u32 rx_max_coalesced_frames_irq ;
4640 __u32 tx_coalesce_usecs ;
4641 __u32 tx_max_coalesced_frames ;
4642 __u32 tx_coalesce_usecs_irq ;
4643 __u32 tx_max_coalesced_frames_irq ;
4644 __u32 stats_block_coalesce_usecs ;
4645 __u32 use_adaptive_rx_coalesce ;
4646 __u32 use_adaptive_tx_coalesce ;
4647 __u32 pkt_rate_low ;
4648 __u32 rx_coalesce_usecs_low ;
4649 __u32 rx_max_coalesced_frames_low ;
4650 __u32 tx_coalesce_usecs_low ;
4651 __u32 tx_max_coalesced_frames_low ;
4652 __u32 pkt_rate_high ;
4653 __u32 rx_coalesce_usecs_high ;
4654 __u32 rx_max_coalesced_frames_high ;
4655 __u32 tx_coalesce_usecs_high ;
4656 __u32 tx_max_coalesced_frames_high ;
4657 __u32 rate_sample_interval ;
4658};
4659# 215 "include/linux/ethtool.h"
4660struct ethtool_ringparam {
4661 __u32 cmd ;
4662 __u32 rx_max_pending ;
4663 __u32 rx_mini_max_pending ;
4664 __u32 rx_jumbo_max_pending ;
4665 __u32 tx_max_pending ;
4666 __u32 rx_pending ;
4667 __u32 rx_mini_pending ;
4668 __u32 rx_jumbo_pending ;
4669 __u32 tx_pending ;
4670};
4671# 237 "include/linux/ethtool.h"
4672struct ethtool_channels {
4673 __u32 cmd ;
4674 __u32 max_rx ;
4675 __u32 max_tx ;
4676 __u32 max_other ;
4677 __u32 max_combined ;
4678 __u32 rx_count ;
4679 __u32 tx_count ;
4680 __u32 other_count ;
4681 __u32 combined_count ;
4682};
4683# 265 "include/linux/ethtool.h"
4684struct ethtool_pauseparam {
4685 __u32 cmd ;
4686 __u32 autoneg ;
4687 __u32 rx_pause ;
4688 __u32 tx_pause ;
4689};
4690# 314 "include/linux/ethtool.h"
4691struct ethtool_test {
4692 __u32 cmd ;
4693 __u32 flags ;
4694 __u32 reserved ;
4695 __u32 len ;
4696 __u64 data[0U] ;
4697};
4698# 326 "include/linux/ethtool.h"
4699struct ethtool_stats {
4700 __u32 cmd ;
4701 __u32 n_stats ;
4702 __u64 data[0U] ;
4703};
4704# 347 "include/linux/ethtool.h"
4705struct ethtool_tcpip4_spec {
4706 __be32 ip4src ;
4707 __be32 ip4dst ;
4708 __be16 psrc ;
4709 __be16 pdst ;
4710 __u8 tos ;
4711};
4712# 380 "include/linux/ethtool.h"
4713struct ethtool_ah_espip4_spec {
4714 __be32 ip4src ;
4715 __be32 ip4dst ;
4716 __be32 spi ;
4717 __u8 tos ;
4718};
4719# 396 "include/linux/ethtool.h"
4720struct ethtool_usrip4_spec {
4721 __be32 ip4src ;
4722 __be32 ip4dst ;
4723 __be32 l4_4_bytes ;
4724 __u8 tos ;
4725 __u8 ip_ver ;
4726 __u8 proto ;
4727};
4728# 416 "include/linux/ethtool.h"
4729union ethtool_flow_union {
4730 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4731 struct ethtool_tcpip4_spec udp_ip4_spec ;
4732 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4733 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4734 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4735 struct ethtool_usrip4_spec usr_ip4_spec ;
4736 struct ethhdr ether_spec ;
4737 __u8 hdata[60U] ;
4738};
4739# 427 "include/linux/ethtool.h"
4740struct ethtool_flow_ext {
4741 __be16 vlan_etype ;
4742 __be16 vlan_tci ;
4743 __be32 data[2U] ;
4744};
4745# 433 "include/linux/ethtool.h"
4746struct ethtool_rx_flow_spec {
4747 __u32 flow_type ;
4748 union ethtool_flow_union h_u ;
4749 struct ethtool_flow_ext h_ext ;
4750 union ethtool_flow_union m_u ;
4751 struct ethtool_flow_ext m_ext ;
4752 __u64 ring_cookie ;
4753 __u32 location ;
4754};
4755# 456 "include/linux/ethtool.h"
4756struct ethtool_rxnfc {
4757 __u32 cmd ;
4758 __u32 flow_type ;
4759 __u64 data ;
4760 struct ethtool_rx_flow_spec fs ;
4761 __u32 rule_cnt ;
4762 __u32 rule_locs[0U] ;
4763};
4764# 526 "include/linux/ethtool.h"
4765struct ethtool_rxfh_indir {
4766 __u32 cmd ;
4767 __u32 size ;
4768 __u32 ring_index[0U] ;
4769};
4770# 542 "include/linux/ethtool.h"
4771union __anonunion_h_u_185 {
4772 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4773 struct ethtool_tcpip4_spec udp_ip4_spec ;
4774 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4775 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4776 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4777 struct ethtool_usrip4_spec usr_ip4_spec ;
4778 struct ethhdr ether_spec ;
4779 __u8 hdata[72U] ;
4780};
4781# 542 "include/linux/ethtool.h"
4782union __anonunion_m_u_186 {
4783 struct ethtool_tcpip4_spec tcp_ip4_spec ;
4784 struct ethtool_tcpip4_spec udp_ip4_spec ;
4785 struct ethtool_tcpip4_spec sctp_ip4_spec ;
4786 struct ethtool_ah_espip4_spec ah_ip4_spec ;
4787 struct ethtool_ah_espip4_spec esp_ip4_spec ;
4788 struct ethtool_usrip4_spec usr_ip4_spec ;
4789 struct ethhdr ether_spec ;
4790 __u8 hdata[72U] ;
4791};
4792# 542 "include/linux/ethtool.h"
4793struct ethtool_rx_ntuple_flow_spec {
4794 __u32 flow_type ;
4795 union __anonunion_h_u_185 h_u ;
4796 union __anonunion_m_u_186 m_u ;
4797 __u16 vlan_tag ;
4798 __u16 vlan_tag_mask ;
4799 __u64 data ;
4800 __u64 data_mask ;
4801 __s32 action ;
4802};
4803# 579 "include/linux/ethtool.h"
4804struct ethtool_rx_ntuple {
4805 __u32 cmd ;
4806 struct ethtool_rx_ntuple_flow_spec fs ;
4807};
4808# 595 "include/linux/ethtool.h"
4809struct ethtool_flash {
4810 __u32 cmd ;
4811 __u32 region ;
4812 char data[128U] ;
4813};
4814# 603 "include/linux/ethtool.h"
4815struct ethtool_dump {
4816 __u32 cmd ;
4817 __u32 version ;
4818 __u32 flag ;
4819 __u32 len ;
4820 __u8 data[0U] ;
4821};
4822# 721 "include/linux/ethtool.h"
4823struct ethtool_rx_ntuple_list {
4824 struct list_head list ;
4825 unsigned int count ;
4826};
4827# 728 "include/linux/ethtool.h"
4828enum ethtool_phys_id_state {
4829 ETHTOOL_ID_INACTIVE = 0,
4830 ETHTOOL_ID_ACTIVE = 1,
4831 ETHTOOL_ID_ON = 2,
4832 ETHTOOL_ID_OFF = 3
4833} ;
4834# 763 "include/linux/ethtool.h"
4835struct ethtool_ops {
4836 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
4837 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
4838 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
4839 int (*get_regs_len)(struct net_device * ) ;
4840 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
4841 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4842 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
4843 u32 (*get_msglevel)(struct net_device * ) ;
4844 void (*set_msglevel)(struct net_device * , u32 ) ;
4845 int (*nway_reset)(struct net_device * ) ;
4846 u32 (*get_link)(struct net_device * ) ;
4847 int (*get_eeprom_len)(struct net_device * ) ;
4848 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4849 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
4850 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4851 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
4852 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4853 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
4854 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4855 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
4856 u32 (*get_rx_csum)(struct net_device * ) ;
4857 int (*set_rx_csum)(struct net_device * , u32 ) ;
4858 u32 (*get_tx_csum)(struct net_device * ) ;
4859 int (*set_tx_csum)(struct net_device * , u32 ) ;
4860 u32 (*get_sg)(struct net_device * ) ;
4861 int (*set_sg)(struct net_device * , u32 ) ;
4862 u32 (*get_tso)(struct net_device * ) ;
4863 int (*set_tso)(struct net_device * , u32 ) ;
4864 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
4865 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
4866 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
4867 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
4868 int (*begin)(struct net_device * ) ;
4869 void (*complete)(struct net_device * ) ;
4870 u32 (*get_ufo)(struct net_device * ) ;
4871 int (*set_ufo)(struct net_device * , u32 ) ;
4872 u32 (*get_flags)(struct net_device * ) ;
4873 int (*set_flags)(struct net_device * , u32 ) ;
4874 u32 (*get_priv_flags)(struct net_device * ) ;
4875 int (*set_priv_flags)(struct net_device * , u32 ) ;
4876 int (*get_sset_count)(struct net_device * , int ) ;
4877 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , void * ) ;
4878 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
4879 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
4880 int (*reset)(struct net_device * , u32 * ) ;
4881 int (*set_rx_ntuple)(struct net_device * , struct ethtool_rx_ntuple * ) ;
4882 int (*get_rx_ntuple)(struct net_device * , u32 , void * ) ;
4883 int (*get_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir * ) ;
4884 int (*set_rxfh_indir)(struct net_device * , struct ethtool_rxfh_indir const * ) ;
4885 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
4886 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
4887 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
4888 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
4889 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
4890};
4891# 972 "include/linux/ethtool.h"
4892struct prot_inuse;
4893# 972 "include/linux/ethtool.h"
4894struct prot_inuse;
4895# 972 "include/linux/ethtool.h"
4896struct prot_inuse;
4897# 973 "include/linux/ethtool.h"
4898struct netns_core {
4899 struct ctl_table_header *sysctl_hdr ;
4900 int sysctl_somaxconn ;
4901 struct prot_inuse *inuse ;
4902};
4903# 38 "include/net/snmp.h"
4904struct u64_stats_sync {
4905
4906};
4907# 138 "include/linux/u64_stats_sync.h"
4908struct ipstats_mib {
4909 u64 mibs[31U] ;
4910 struct u64_stats_sync syncp ;
4911};
4912# 61 "include/net/snmp.h"
4913struct icmp_mib {
4914 unsigned long mibs[27U] ;
4915};
4916# 67 "include/net/snmp.h"
4917struct icmpmsg_mib {
4918 unsigned long mibs[512U] ;
4919};
4920# 72 "include/net/snmp.h"
4921struct icmpv6_mib {
4922 unsigned long mibs[5U] ;
4923};
4924# 83 "include/net/snmp.h"
4925struct icmpv6msg_mib {
4926 unsigned long mibs[512U] ;
4927};
4928# 93 "include/net/snmp.h"
4929struct tcp_mib {
4930 unsigned long mibs[15U] ;
4931};
4932# 100 "include/net/snmp.h"
4933struct udp_mib {
4934 unsigned long mibs[7U] ;
4935};
4936# 106 "include/net/snmp.h"
4937struct linux_mib {
4938 unsigned long mibs[80U] ;
4939};
4940# 112 "include/net/snmp.h"
4941struct linux_xfrm_mib {
4942 unsigned long mibs[27U] ;
4943};
4944# 118 "include/net/snmp.h"
4945struct netns_mib {
4946 struct tcp_mib *tcp_statistics[2U] ;
4947 struct ipstats_mib *ip_statistics[2U] ;
4948 struct linux_mib *net_statistics[2U] ;
4949 struct udp_mib *udp_statistics[2U] ;
4950 struct udp_mib *udplite_statistics[2U] ;
4951 struct icmp_mib *icmp_statistics[2U] ;
4952 struct icmpmsg_mib *icmpmsg_statistics[2U] ;
4953 struct proc_dir_entry *proc_net_devsnmp6 ;
4954 struct udp_mib *udp_stats_in6[2U] ;
4955 struct udp_mib *udplite_stats_in6[2U] ;
4956 struct ipstats_mib *ipv6_statistics[2U] ;
4957 struct icmpv6_mib *icmpv6_statistics[2U] ;
4958 struct icmpv6msg_mib *icmpv6msg_statistics[2U] ;
4959 struct linux_xfrm_mib *xfrm_statistics[2U] ;
4960};
4961# 26 "include/net/netns/mib.h"
4962struct netns_unix {
4963 int sysctl_max_dgram_qlen ;
4964 struct ctl_table_header *ctl ;
4965};
4966# 12 "include/net/netns/unix.h"
4967struct netns_packet {
4968 spinlock_t sklist_lock ;
4969 struct hlist_head sklist ;
4970};
4971# 14 "include/net/netns/packet.h"
4972struct netns_frags {
4973 int nqueues ;
4974 atomic_t mem ;
4975 struct list_head lru_list ;
4976 int timeout ;
4977 int high_thresh ;
4978 int low_thresh ;
4979};
4980# 73 "include/net/inet_frag.h"
4981struct ipv4_devconf;
4982# 73 "include/net/inet_frag.h"
4983struct ipv4_devconf;
4984# 73 "include/net/inet_frag.h"
4985struct ipv4_devconf;
4986# 74 "include/net/inet_frag.h"
4987struct fib_rules_ops;
4988# 74 "include/net/inet_frag.h"
4989struct fib_rules_ops;
4990# 74 "include/net/inet_frag.h"
4991struct fib_rules_ops;
4992# 75 "include/net/inet_frag.h"
4993struct xt_table;
4994# 75 "include/net/inet_frag.h"
4995struct xt_table;
4996# 75 "include/net/inet_frag.h"
4997struct netns_ipv4 {
4998 struct ctl_table_header *forw_hdr ;
4999 struct ctl_table_header *frags_hdr ;
5000 struct ctl_table_header *ipv4_hdr ;
5001 struct ctl_table_header *route_hdr ;
5002 struct ipv4_devconf *devconf_all ;
5003 struct ipv4_devconf *devconf_dflt ;
5004 struct fib_rules_ops *rules_ops ;
5005 struct hlist_head *fib_table_hash ;
5006 struct sock *fibnl ;
5007 struct sock **icmp_sk ;
5008 struct sock *tcp_sock ;
5009 struct netns_frags frags ;
5010 struct xt_table *iptable_filter ;
5011 struct xt_table *iptable_mangle ;
5012 struct xt_table *iptable_raw ;
5013 struct xt_table *arptable_filter ;
5014 struct xt_table *iptable_security ;
5015 struct xt_table *nat_table ;
5016 struct hlist_head *nat_bysource ;
5017 unsigned int nat_htable_size ;
5018 int sysctl_icmp_echo_ignore_all ;
5019 int sysctl_icmp_echo_ignore_broadcasts ;
5020 int sysctl_icmp_ignore_bogus_error_responses ;
5021 int sysctl_icmp_ratelimit ;
5022 int sysctl_icmp_ratemask ;
5023 int sysctl_icmp_errors_use_inbound_ifaddr ;
5024 int sysctl_rt_cache_rebuild_count ;
5025 int current_rt_cache_rebuild_count ;
5026 unsigned int sysctl_ping_group_range[2U] ;
5027 atomic_t rt_genid ;
5028 atomic_t dev_addr_genid ;
5029 struct list_head mr_tables ;
5030 struct fib_rules_ops *mr_rules_ops ;
5031};
5032# 70 "include/net/netns/ipv4.h"
5033struct dst_ops {
5034 unsigned short family ;
5035 __be16 protocol ;
5036 unsigned int gc_thresh ;
5037 int (*gc)(struct dst_ops * ) ;
5038 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
5039 unsigned int (*default_advmss)(struct dst_entry const * ) ;
5040 unsigned int (*default_mtu)(struct dst_entry const * ) ;
5041 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
5042 void (*destroy)(struct dst_entry * ) ;
5043 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
5044 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
5045 void (*link_failure)(struct sk_buff * ) ;
5046 void (*update_pmtu)(struct dst_entry * , u32 ) ;
5047 int (*local_out)(struct sk_buff * ) ;
5048 struct kmem_cache *kmem_cachep ;
5049 struct percpu_counter pcpuc_entries ;
5050};
5051# 66 "include/net/dst_ops.h"
5052struct netns_sysctl_ipv6 {
5053 struct ctl_table_header *table ;
5054 struct ctl_table_header *frags_hdr ;
5055 int bindv6only ;
5056 int flush_delay ;
5057 int ip6_rt_max_size ;
5058 int ip6_rt_gc_min_interval ;
5059 int ip6_rt_gc_timeout ;
5060 int ip6_rt_gc_interval ;
5061 int ip6_rt_gc_elasticity ;
5062 int ip6_rt_mtu_expires ;
5063 int ip6_rt_min_advmss ;
5064 int icmpv6_time ;
5065};
5066# 29 "include/net/netns/ipv6.h"
5067struct ipv6_devconf;
5068# 29 "include/net/netns/ipv6.h"
5069struct ipv6_devconf;
5070# 29 "include/net/netns/ipv6.h"
5071struct rt6_info;
5072# 29 "include/net/netns/ipv6.h"
5073struct rt6_info;
5074# 29 "include/net/netns/ipv6.h"
5075struct rt6_statistics;
5076# 29 "include/net/netns/ipv6.h"
5077struct rt6_statistics;
5078# 29 "include/net/netns/ipv6.h"
5079struct fib6_table;
5080# 29 "include/net/netns/ipv6.h"
5081struct fib6_table;
5082# 29 "include/net/netns/ipv6.h"
5083struct netns_ipv6 {
5084 struct netns_sysctl_ipv6 sysctl ;
5085 struct ipv6_devconf *devconf_all ;
5086 struct ipv6_devconf *devconf_dflt ;
5087 struct netns_frags frags ;
5088 struct xt_table *ip6table_filter ;
5089 struct xt_table *ip6table_mangle ;
5090 struct xt_table *ip6table_raw ;
5091 struct xt_table *ip6table_security ;
5092 struct rt6_info *ip6_null_entry ;
5093 struct rt6_statistics *rt6_stats ;
5094 struct timer_list ip6_fib_timer ;
5095 struct hlist_head *fib_table_hash ;
5096 struct fib6_table *fib6_main_tbl ;
5097 struct dst_ops ip6_dst_ops ;
5098 unsigned int ip6_rt_gc_expire ;
5099 unsigned long ip6_rt_last_gc ;
5100 struct rt6_info *ip6_prohibit_entry ;
5101 struct rt6_info *ip6_blk_hole_entry ;
5102 struct fib6_table *fib6_local_tbl ;
5103 struct fib_rules_ops *fib6_rules_ops ;
5104 struct sock **icmp_sk ;
5105 struct sock *ndisc_sk ;
5106 struct sock *tcp_sk ;
5107 struct sock *igmp_sk ;
5108 struct list_head mr6_tables ;
5109 struct fib_rules_ops *mr6_rules_ops ;
5110};
5111# 68 "include/net/netns/ipv6.h"
5112struct netns_dccp {
5113 struct sock *v4_ctl_sk ;
5114 struct sock *v6_ctl_sk ;
5115};
5116# 46 "include/linux/proc_fs.h"
5117typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
5118# 48 "include/linux/proc_fs.h"
5119typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
5120# 49 "include/linux/proc_fs.h"
5121struct proc_dir_entry {
5122 unsigned int low_ino ;
5123 unsigned int namelen ;
5124 char const *name ;
5125 mode_t mode ;
5126 nlink_t nlink ;
5127 uid_t uid ;
5128 gid_t gid ;
5129 loff_t size ;
5130 struct inode_operations const *proc_iops ;
5131 struct file_operations const *proc_fops ;
5132 struct proc_dir_entry *next ;
5133 struct proc_dir_entry *parent ;
5134 struct proc_dir_entry *subdir ;
5135 void *data ;
5136 read_proc_t *read_proc ;
5137 write_proc_t *write_proc ;
5138 atomic_t count ;
5139 int pde_users ;
5140 spinlock_t pde_unload_lock ;
5141 struct completion *pde_unload_completion ;
5142 struct list_head pde_openers ;
5143};
5144# 376 "include/linux/netfilter.h"
5145struct ebt_table;
5146# 376 "include/linux/netfilter.h"
5147struct ebt_table;
5148# 376 "include/linux/netfilter.h"
5149struct ebt_table;
5150# 377 "include/linux/netfilter.h"
5151struct netns_xt {
5152 struct list_head tables[13U] ;
5153 struct ebt_table *broute_table ;
5154 struct ebt_table *frame_filter ;
5155 struct ebt_table *frame_nat ;
5156};
5157# 17 "include/net/netns/x_tables.h"
5158struct hlist_nulls_node;
5159# 17 "include/net/netns/x_tables.h"
5160struct hlist_nulls_node;
5161# 17 "include/net/netns/x_tables.h"
5162struct hlist_nulls_head {
5163 struct hlist_nulls_node *first ;
5164};
5165# 20 "include/linux/list_nulls.h"
5166struct hlist_nulls_node {
5167 struct hlist_nulls_node *next ;
5168 struct hlist_nulls_node **pprev ;
5169};
5170# 86 "include/linux/list_nulls.h"
5171struct ip_conntrack_stat;
5172# 86 "include/linux/list_nulls.h"
5173struct ip_conntrack_stat;
5174# 86 "include/linux/list_nulls.h"
5175struct netns_ct {
5176 atomic_t count ;
5177 unsigned int expect_count ;
5178 unsigned int htable_size ;
5179 struct kmem_cache *nf_conntrack_cachep ;
5180 struct hlist_nulls_head *hash ;
5181 struct hlist_head *expect_hash ;
5182 struct hlist_nulls_head unconfirmed ;
5183 struct hlist_nulls_head dying ;
5184 struct ip_conntrack_stat *stat ;
5185 int sysctl_events ;
5186 unsigned int sysctl_events_retry_timeout ;
5187 int sysctl_acct ;
5188 int sysctl_tstamp ;
5189 int sysctl_checksum ;
5190 unsigned int sysctl_log_invalid ;
5191 struct ctl_table_header *sysctl_header ;
5192 struct ctl_table_header *acct_sysctl_header ;
5193 struct ctl_table_header *tstamp_sysctl_header ;
5194 struct ctl_table_header *event_sysctl_header ;
5195 char *slabname ;
5196};
5197# 484 "include/linux/xfrm.h"
5198struct xfrm_policy_hash {
5199 struct hlist_head *table ;
5200 unsigned int hmask ;
5201};
5202# 16 "include/net/netns/xfrm.h"
5203struct netns_xfrm {
5204 struct list_head state_all ;
5205 struct hlist_head *state_bydst ;
5206 struct hlist_head *state_bysrc ;
5207 struct hlist_head *state_byspi ;
5208 unsigned int state_hmask ;
5209 unsigned int state_num ;
5210 struct work_struct state_hash_work ;
5211 struct hlist_head state_gc_list ;
5212 struct work_struct state_gc_work ;
5213 wait_queue_head_t km_waitq ;
5214 struct list_head policy_all ;
5215 struct hlist_head *policy_byidx ;
5216 unsigned int policy_idx_hmask ;
5217 struct hlist_head policy_inexact[6U] ;
5218 struct xfrm_policy_hash policy_bydst[6U] ;
5219 unsigned int policy_count[6U] ;
5220 struct work_struct policy_hash_work ;
5221 struct sock *nlsk ;
5222 struct sock *nlsk_stash ;
5223 u32 sysctl_aevent_etime ;
5224 u32 sysctl_aevent_rseqth ;
5225 int sysctl_larval_drop ;
5226 u32 sysctl_acq_expires ;
5227 struct ctl_table_header *sysctl_hdr ;
5228 struct dst_ops xfrm4_dst_ops ;
5229 struct dst_ops xfrm6_dst_ops ;
5230};
5231# 62 "include/net/netns/xfrm.h"
5232struct net_generic;
5233# 62 "include/net/netns/xfrm.h"
5234struct net_generic;
5235# 62 "include/net/netns/xfrm.h"
5236struct net_generic;
5237# 63 "include/net/netns/xfrm.h"
5238struct netns_ipvs;
5239# 63 "include/net/netns/xfrm.h"
5240struct netns_ipvs;
5241# 63 "include/net/netns/xfrm.h"
5242struct netns_ipvs;
5243# 64 "include/net/netns/xfrm.h"
5244struct net {
5245 atomic_t passive ;
5246 atomic_t count ;
5247 spinlock_t rules_mod_lock ;
5248 struct list_head list ;
5249 struct list_head cleanup_list ;
5250 struct list_head exit_list ;
5251 struct proc_dir_entry *proc_net ;
5252 struct proc_dir_entry *proc_net_stat ;
5253 struct ctl_table_set sysctls ;
5254 struct sock *rtnl ;
5255 struct sock *genl_sock ;
5256 struct list_head dev_base_head ;
5257 struct hlist_head *dev_name_head ;
5258 struct hlist_head *dev_index_head ;
5259 struct list_head rules_ops ;
5260 struct net_device *loopback_dev ;
5261 struct netns_core core ;
5262 struct netns_mib mib ;
5263 struct netns_packet packet ;
5264 struct netns_unix unx ;
5265 struct netns_ipv4 ipv4 ;
5266 struct netns_ipv6 ipv6 ;
5267 struct netns_dccp dccp ;
5268 struct netns_xt xt ;
5269 struct netns_ct ct ;
5270 struct sock *nfnl ;
5271 struct sock *nfnl_stash ;
5272 struct sk_buff_head wext_nlevents ;
5273 struct net_generic *gen ;
5274 struct netns_xfrm xfrm ;
5275 struct netns_ipvs *ipvs ;
5276};
5277# 59 "include/net/dsa.h"
5278struct ieee_ets {
5279 __u8 willing ;
5280 __u8 ets_cap ;
5281 __u8 cbs ;
5282 __u8 tc_tx_bw[8U] ;
5283 __u8 tc_rx_bw[8U] ;
5284 __u8 tc_tsa[8U] ;
5285 __u8 prio_tc[8U] ;
5286 __u8 tc_reco_bw[8U] ;
5287 __u8 tc_reco_tsa[8U] ;
5288 __u8 reco_prio_tc[8U] ;
5289};
5290# 69 "include/linux/dcbnl.h"
5291struct ieee_pfc {
5292 __u8 pfc_cap ;
5293 __u8 pfc_en ;
5294 __u8 mbc ;
5295 __u16 delay ;
5296 __u64 requests[8U] ;
5297 __u64 indications[8U] ;
5298};
5299# 89 "include/linux/dcbnl.h"
5300struct cee_pg {
5301 __u8 willing ;
5302 __u8 error ;
5303 __u8 pg_en ;
5304 __u8 tcs_supported ;
5305 __u8 pg_bw[8U] ;
5306 __u8 prio_pg[8U] ;
5307};
5308# 112 "include/linux/dcbnl.h"
5309struct cee_pfc {
5310 __u8 willing ;
5311 __u8 error ;
5312 __u8 pfc_en ;
5313 __u8 tcs_supported ;
5314};
5315# 127 "include/linux/dcbnl.h"
5316struct dcb_app {
5317 __u8 selector ;
5318 __u8 priority ;
5319 __u16 protocol ;
5320};
5321# 156 "include/linux/dcbnl.h"
5322struct dcb_peer_app_info {
5323 __u8 willing ;
5324 __u8 error ;
5325};
5326# 33 "include/net/dcbnl.h"
5327struct dcbnl_rtnl_ops {
5328 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
5329 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
5330 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5331 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
5332 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
5333 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
5334 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
5335 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5336 u8 (*getstate)(struct net_device * ) ;
5337 u8 (*setstate)(struct net_device * , u8 ) ;
5338 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
5339 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5340 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
5341 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5342 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
5343 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5344 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
5345 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5346 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
5347 void (*setpfccfg)(struct net_device * , int , u8 ) ;
5348 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
5349 u8 (*setall)(struct net_device * ) ;
5350 u8 (*getcap)(struct net_device * , int , u8 * ) ;
5351 u8 (*getnumtcs)(struct net_device * , int , u8 * ) ;
5352 u8 (*setnumtcs)(struct net_device * , int , u8 ) ;
5353 u8 (*getpfcstate)(struct net_device * ) ;
5354 void (*setpfcstate)(struct net_device * , u8 ) ;
5355 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
5356 void (*setbcncfg)(struct net_device * , int , u32 ) ;
5357 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
5358 void (*setbcnrp)(struct net_device * , int , u8 ) ;
5359 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
5360 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
5361 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
5362 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
5363 u8 (*getdcbx)(struct net_device * ) ;
5364 u8 (*setdcbx)(struct net_device * , u8 ) ;
5365 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
5366 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
5367 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
5368 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
5369};
5370# 91 "include/net/dcbnl.h"
5371struct vlan_group;
5372# 91 "include/net/dcbnl.h"
5373struct vlan_group;
5374# 91 "include/net/dcbnl.h"
5375struct vlan_group;
5376# 92 "include/net/dcbnl.h"
5377struct netpoll_info;
5378# 92 "include/net/dcbnl.h"
5379struct netpoll_info;
5380# 92 "include/net/dcbnl.h"
5381struct netpoll_info;
5382# 93 "include/net/dcbnl.h"
5383struct phy_device;
5384# 93 "include/net/dcbnl.h"
5385struct phy_device;
5386# 93 "include/net/dcbnl.h"
5387struct phy_device;
5388# 94 "include/net/dcbnl.h"
5389struct wireless_dev;
5390# 94 "include/net/dcbnl.h"
5391struct wireless_dev;
5392# 94 "include/net/dcbnl.h"
5393struct wireless_dev;
5394# 95 "include/net/dcbnl.h"
5395enum netdev_tx {
5396 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
5397 NETDEV_TX_OK = 0,
5398 NETDEV_TX_BUSY = 16,
5399 NETDEV_TX_LOCKED = 32
5400} ;
5401# 117 "include/linux/netdevice.h"
5402typedef enum netdev_tx netdev_tx_t;
5403# 136 "include/linux/netdevice.h"
5404struct net_device_stats {
5405 unsigned long rx_packets ;
5406 unsigned long tx_packets ;
5407 unsigned long rx_bytes ;
5408 unsigned long tx_bytes ;
5409 unsigned long rx_errors ;
5410 unsigned long tx_errors ;
5411 unsigned long rx_dropped ;
5412 unsigned long tx_dropped ;
5413 unsigned long multicast ;
5414 unsigned long collisions ;
5415 unsigned long rx_length_errors ;
5416 unsigned long rx_over_errors ;
5417 unsigned long rx_crc_errors ;
5418 unsigned long rx_frame_errors ;
5419 unsigned long rx_fifo_errors ;
5420 unsigned long rx_missed_errors ;
5421 unsigned long tx_aborted_errors ;
5422 unsigned long tx_carrier_errors ;
5423 unsigned long tx_fifo_errors ;
5424 unsigned long tx_heartbeat_errors ;
5425 unsigned long tx_window_errors ;
5426 unsigned long rx_compressed ;
5427 unsigned long tx_compressed ;
5428};
5429# 211 "include/linux/netdevice.h"
5430struct neighbour;
5431# 211 "include/linux/netdevice.h"
5432struct neighbour;
5433# 211 "include/linux/netdevice.h"
5434struct neighbour;
5435# 212 "include/linux/netdevice.h"
5436struct neigh_parms;
5437# 212 "include/linux/netdevice.h"
5438struct neigh_parms;
5439# 212 "include/linux/netdevice.h"
5440struct neigh_parms;
5441# 239 "include/linux/netdevice.h"
5442struct netdev_hw_addr_list {
5443 struct list_head list ;
5444 int count ;
5445};
5446# 244 "include/linux/netdevice.h"
5447struct hh_cache {
5448 struct hh_cache *hh_next ;
5449 atomic_t hh_refcnt ;
5450 __be16 hh_type ;
5451 u16 hh_len ;
5452 int (*hh_output)(struct sk_buff * ) ;
5453 seqlock_t hh_lock ;
5454 unsigned long hh_data[16U] ;
5455};
5456# 292 "include/linux/netdevice.h"
5457struct header_ops {
5458 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
5459 void const * , unsigned int ) ;
5460 int (*parse)(struct sk_buff const * , unsigned char * ) ;
5461 int (*rebuild)(struct sk_buff * ) ;
5462 int (*cache)(struct neighbour const * , struct hh_cache * ) ;
5463 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
5464};
5465# 392 "include/linux/netdevice.h"
5466enum rx_handler_result {
5467 RX_HANDLER_CONSUMED = 0,
5468 RX_HANDLER_ANOTHER = 1,
5469 RX_HANDLER_EXACT = 2,
5470 RX_HANDLER_PASS = 3
5471} ;
5472# 440 "include/linux/netdevice.h"
5473typedef enum rx_handler_result rx_handler_result_t;
5474# 441 "include/linux/netdevice.h"
5475typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
5476# 548 "include/linux/netdevice.h"
5477struct Qdisc;
5478# 548 "include/linux/netdevice.h"
5479struct Qdisc;
5480# 548 "include/linux/netdevice.h"
5481struct netdev_queue {
5482 struct net_device *dev ;
5483 struct Qdisc *qdisc ;
5484 unsigned long state ;
5485 struct Qdisc *qdisc_sleeping ;
5486 struct kobject kobj ;
5487 int numa_node ;
5488 spinlock_t _xmit_lock ;
5489 int xmit_lock_owner ;
5490 unsigned long trans_start ;
5491};
5492# 590 "include/linux/netdevice.h"
5493struct rps_map {
5494 unsigned int len ;
5495 struct rcu_head rcu ;
5496 u16 cpus[0U] ;
5497};
5498# 602 "include/linux/netdevice.h"
5499struct rps_dev_flow {
5500 u16 cpu ;
5501 u16 filter ;
5502 unsigned int last_qtail ;
5503};
5504# 614 "include/linux/netdevice.h"
5505struct rps_dev_flow_table {
5506 unsigned int mask ;
5507 struct rcu_head rcu ;
5508 struct work_struct free_work ;
5509 struct rps_dev_flow flows[0U] ;
5510};
5511# 666 "include/linux/netdevice.h"
5512struct netdev_rx_queue {
5513 struct rps_map *rps_map ;
5514 struct rps_dev_flow_table *rps_flow_table ;
5515 struct kobject kobj ;
5516 struct net_device *dev ;
5517};
5518# 676 "include/linux/netdevice.h"
5519struct xps_map {
5520 unsigned int len ;
5521 unsigned int alloc_len ;
5522 struct rcu_head rcu ;
5523 u16 queues[0U] ;
5524};
5525# 689 "include/linux/netdevice.h"
5526struct xps_dev_maps {
5527 struct rcu_head rcu ;
5528 struct xps_map *cpu_map[0U] ;
5529};
5530# 700 "include/linux/netdevice.h"
5531struct netdev_tc_txq {
5532 u16 count ;
5533 u16 offset ;
5534};
5535# 711 "include/linux/netdevice.h"
5536struct net_device_ops {
5537 int (*ndo_init)(struct net_device * ) ;
5538 void (*ndo_uninit)(struct net_device * ) ;
5539 int (*ndo_open)(struct net_device * ) ;
5540 int (*ndo_stop)(struct net_device * ) ;
5541 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
5542 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
5543 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
5544 void (*ndo_set_rx_mode)(struct net_device * ) ;
5545 void (*ndo_set_multicast_list)(struct net_device * ) ;
5546 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
5547 int (*ndo_validate_addr)(struct net_device * ) ;
5548 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
5549 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
5550 int (*ndo_change_mtu)(struct net_device * , int ) ;
5551 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
5552 void (*ndo_tx_timeout)(struct net_device * ) ;
5553 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
5554 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
5555 void (*ndo_vlan_rx_register)(struct net_device * , struct vlan_group * ) ;
5556 void (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
5557 void (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
5558 void (*ndo_poll_controller)(struct net_device * ) ;
5559 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
5560 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
5561 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
5562 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
5563 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
5564 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
5565 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
5566 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
5567 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
5568 int (*ndo_fcoe_enable)(struct net_device * ) ;
5569 int (*ndo_fcoe_disable)(struct net_device * ) ;
5570 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
5571 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
5572 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
5573 unsigned int ) ;
5574 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
5575 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
5576 u32 ) ;
5577 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
5578 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
5579 u32 (*ndo_fix_features)(struct net_device * , u32 ) ;
5580 int (*ndo_set_features)(struct net_device * , u32 ) ;
5581};
5582# 995 "include/linux/netdevice.h"
5583struct iw_handler_def;
5584# 995 "include/linux/netdevice.h"
5585struct iw_handler_def;
5586# 995 "include/linux/netdevice.h"
5587struct iw_public_data;
5588# 995 "include/linux/netdevice.h"
5589struct iw_public_data;
5590# 995 "include/linux/netdevice.h"
5591struct in_device;
5592# 995 "include/linux/netdevice.h"
5593struct in_device;
5594# 995 "include/linux/netdevice.h"
5595struct dn_dev;
5596# 995 "include/linux/netdevice.h"
5597struct dn_dev;
5598# 995 "include/linux/netdevice.h"
5599struct inet6_dev;
5600# 995 "include/linux/netdevice.h"
5601struct inet6_dev;
5602# 995 "include/linux/netdevice.h"
5603struct cpu_rmap;
5604# 995 "include/linux/netdevice.h"
5605struct cpu_rmap;
5606# 995 "include/linux/netdevice.h"
5607struct pcpu_lstats;
5608# 995 "include/linux/netdevice.h"
5609struct pcpu_lstats;
5610# 995 "include/linux/netdevice.h"
5611struct pcpu_tstats;
5612# 995 "include/linux/netdevice.h"
5613struct pcpu_tstats;
5614# 995 "include/linux/netdevice.h"
5615struct pcpu_dstats;
5616# 995 "include/linux/netdevice.h"
5617struct pcpu_dstats;
5618# 995 "include/linux/netdevice.h"
5619union __anonunion_ldv_34794_194 {
5620 void *ml_priv ;
5621 struct pcpu_lstats *lstats ;
5622 struct pcpu_tstats *tstats ;
5623 struct pcpu_dstats *dstats ;
5624};
5625# 995 "include/linux/netdevice.h"
5626struct garp_port;
5627# 995 "include/linux/netdevice.h"
5628struct garp_port;
5629# 995 "include/linux/netdevice.h"
5630struct rtnl_link_ops;
5631# 995 "include/linux/netdevice.h"
5632struct rtnl_link_ops;
5633# 995 "include/linux/netdevice.h"
5634struct net_device {
5635 char name[16U] ;
5636 struct pm_qos_request_list pm_qos_req ;
5637 struct hlist_node name_hlist ;
5638 char *ifalias ;
5639 unsigned long mem_end ;
5640 unsigned long mem_start ;
5641 unsigned long base_addr ;
5642 unsigned int irq ;
5643 unsigned long state ;
5644 struct list_head dev_list ;
5645 struct list_head napi_list ;
5646 struct list_head unreg_list ;
5647 u32 features ;
5648 u32 hw_features ;
5649 u32 wanted_features ;
5650 u32 vlan_features ;
5651 int ifindex ;
5652 int iflink ;
5653 struct net_device_stats stats ;
5654 atomic_long_t rx_dropped ;
5655 struct iw_handler_def const *wireless_handlers ;
5656 struct iw_public_data *wireless_data ;
5657 struct net_device_ops const *netdev_ops ;
5658 struct ethtool_ops const *ethtool_ops ;
5659 struct header_ops const *header_ops ;
5660 unsigned int flags ;
5661 unsigned int priv_flags ;
5662 unsigned short gflags ;
5663 unsigned short padded ;
5664 unsigned char operstate ;
5665 unsigned char link_mode ;
5666 unsigned char if_port ;
5667 unsigned char dma ;
5668 unsigned int mtu ;
5669 unsigned short type ;
5670 unsigned short hard_header_len ;
5671 unsigned short needed_headroom ;
5672 unsigned short needed_tailroom ;
5673 unsigned char perm_addr[32U] ;
5674 unsigned char addr_assign_type ;
5675 unsigned char addr_len ;
5676 unsigned short dev_id ;
5677 spinlock_t addr_list_lock ;
5678 struct netdev_hw_addr_list uc ;
5679 struct netdev_hw_addr_list mc ;
5680 int uc_promisc ;
5681 unsigned int promiscuity ;
5682 unsigned int allmulti ;
5683 struct vlan_group *vlgrp ;
5684 void *dsa_ptr ;
5685 void *atalk_ptr ;
5686 struct in_device *ip_ptr ;
5687 struct dn_dev *dn_ptr ;
5688 struct inet6_dev *ip6_ptr ;
5689 void *ec_ptr ;
5690 void *ax25_ptr ;
5691 struct wireless_dev *ieee80211_ptr ;
5692 unsigned long last_rx ;
5693 struct net_device *master ;
5694 unsigned char *dev_addr ;
5695 struct netdev_hw_addr_list dev_addrs ;
5696 unsigned char broadcast[32U] ;
5697 struct kset *queues_kset ;
5698 struct netdev_rx_queue *_rx ;
5699 unsigned int num_rx_queues ;
5700 unsigned int real_num_rx_queues ;
5701 struct cpu_rmap *rx_cpu_rmap ;
5702 rx_handler_func_t *rx_handler ;
5703 void *rx_handler_data ;
5704 struct netdev_queue *ingress_queue ;
5705 struct netdev_queue *_tx ;
5706 unsigned int num_tx_queues ;
5707 unsigned int real_num_tx_queues ;
5708 struct Qdisc *qdisc ;
5709 unsigned long tx_queue_len ;
5710 spinlock_t tx_global_lock ;
5711 struct xps_dev_maps *xps_maps ;
5712 unsigned long trans_start ;
5713 int watchdog_timeo ;
5714 struct timer_list watchdog_timer ;
5715 int *pcpu_refcnt ;
5716 struct list_head todo_list ;
5717 struct hlist_node index_hlist ;
5718 struct list_head link_watch_list ;
5719 unsigned char reg_state ;
5720 bool dismantle ;
5721 unsigned short rtnl_link_state ;
5722 void (*destructor)(struct net_device * ) ;
5723 struct netpoll_info *npinfo ;
5724 struct net *nd_net ;
5725 union __anonunion_ldv_34794_194 ldv_34794 ;
5726 struct garp_port *garp_port ;
5727 struct device dev ;
5728 struct attribute_group const *sysfs_groups[4U] ;
5729 struct rtnl_link_ops const *rtnl_link_ops ;
5730 unsigned int gso_max_size ;
5731 struct dcbnl_rtnl_ops const *dcbnl_ops ;
5732 u8 num_tc ;
5733 struct netdev_tc_txq tc_to_txq[16U] ;
5734 u8 prio_tc_map[16U] ;
5735 unsigned int fcoe_ddp_xid ;
5736 struct ethtool_rx_ntuple_list ethtool_ntuple_list ;
5737 struct phy_device *phydev ;
5738 int group ;
5739};
5740# 2651 "include/linux/netdevice.h"
5741struct hdlc_proto {
5742 int (*open)(struct net_device * ) ;
5743 void (*close)(struct net_device * ) ;
5744 void (*start)(struct net_device * ) ;
5745 void (*stop)(struct net_device * ) ;
5746 void (*detach)(struct net_device * ) ;
5747 int (*ioctl)(struct net_device * , struct ifreq * ) ;
5748 __be16 (*type_trans)(struct sk_buff * , struct net_device * ) ;
5749 int (*netif_rx)(struct sk_buff * ) ;
5750 netdev_tx_t (*xmit)(struct sk_buff * , struct net_device * ) ;
5751 struct module *module ;
5752 struct hdlc_proto *next ;
5753};
5754# 45 "include/linux/hdlc.h"
5755struct hdlc_device {
5756 int (*attach)(struct net_device * , unsigned short , unsigned short ) ;
5757 netdev_tx_t (*xmit)(struct sk_buff * , struct net_device * ) ;
5758 struct hdlc_proto const *proto ;
5759 int carrier ;
5760 int open ;
5761 spinlock_t state_lock ;
5762 void *state ;
5763 void *priv ;
5764};
5765# 63 "include/linux/hdlc.h"
5766typedef struct hdlc_device hdlc_device;
5767# 129 "include/linux/hdlc.h"
5768struct _MGSL_PARAMS {
5769 unsigned long mode ;
5770 unsigned char loopback ;
5771 unsigned short flags ;
5772 unsigned char encoding ;
5773 unsigned long clock_speed ;
5774 unsigned char addr_filter ;
5775 unsigned short crc_type ;
5776 unsigned char preamble_length ;
5777 unsigned char preamble ;
5778 unsigned long data_rate ;
5779 unsigned char data_bits ;
5780 unsigned char stop_bits ;
5781 unsigned char parity ;
5782};
5783# 169 "include/linux/synclink.h"
5784typedef struct _MGSL_PARAMS MGSL_PARAMS;
5785# 170 "include/linux/synclink.h"
5786struct mgsl_icount {
5787 __u32 cts ;
5788 __u32 dsr ;
5789 __u32 rng ;
5790 __u32 dcd ;
5791 __u32 tx ;
5792 __u32 rx ;
5793 __u32 frame ;
5794 __u32 parity ;
5795 __u32 overrun ;
5796 __u32 brk ;
5797 __u32 buf_overrun ;
5798 __u32 txok ;
5799 __u32 txunder ;
5800 __u32 txabort ;
5801 __u32 txtimeout ;
5802 __u32 rxshort ;
5803 __u32 rxlong ;
5804 __u32 rxabort ;
5805 __u32 rxover ;
5806 __u32 rxcrc ;
5807 __u32 rxok ;
5808 __u32 exithunt ;
5809 __u32 rxidle ;
5810};
5811# 229 "include/linux/synclink.h"
5812struct gpio_desc {
5813 __u32 state ;
5814 __u32 smask ;
5815 __u32 dir ;
5816 __u32 dmask ;
5817};
5818# 236 "include/linux/synclink.h"
5819struct MGSL_PARAMS32 {
5820 compat_ulong_t mode ;
5821 unsigned char loopback ;
5822 unsigned short flags ;
5823 unsigned char encoding ;
5824 compat_ulong_t clock_speed ;
5825 unsigned char addr_filter ;
5826 unsigned short crc_type ;
5827 unsigned char preamble_length ;
5828 unsigned char preamble ;
5829 compat_ulong_t data_rate ;
5830 unsigned char data_bits ;
5831 unsigned char stop_bits ;
5832 unsigned char parity ;
5833};
5834# 130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5835struct slgt_info;
5836# 130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5837struct slgt_info;
5838# 180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5839struct cond_wait {
5840 struct cond_wait *next ;
5841 wait_queue_head_t q ;
5842 wait_queue_t wait ;
5843 unsigned int data ;
5844};
5845# 203 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5846struct slgt_desc {
5847 __le16 count ;
5848 __le16 status ;
5849 __le32 pbuf ;
5850 __le32 next ;
5851 char *buf ;
5852 unsigned int pdesc ;
5853 dma_addr_t buf_dma_addr ;
5854 unsigned short buf_count ;
5855};
5856# 220 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5857struct _input_signal_events {
5858 int ri_up ;
5859 int ri_down ;
5860 int dsr_up ;
5861 int dsr_down ;
5862 int dcd_up ;
5863 int dcd_down ;
5864 int cts_up ;
5865 int cts_down ;
5866};
5867# 244 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
5868struct slgt_info {
5869 void *if_ptr ;
5870 struct tty_port port ;
5871 struct slgt_info *next_device ;
5872 int magic ;
5873 char device_name[25U] ;
5874 struct pci_dev *pdev ;
5875 int port_count ;
5876 int adapter_num ;
5877 int port_num ;
5878 struct slgt_info *port_array[4U] ;
5879 int line ;
5880 struct mgsl_icount icount ;
5881 int timeout ;
5882 int x_char ;
5883 unsigned int read_status_mask ;
5884 unsigned int ignore_status_mask ;
5885 wait_queue_head_t status_event_wait_q ;
5886 wait_queue_head_t event_wait_q ;
5887 struct timer_list tx_timer ;
5888 struct timer_list rx_timer ;
5889 unsigned int gpio_present ;
5890 struct cond_wait *gpio_wait_q ;
5891 spinlock_t lock ;
5892 struct work_struct task ;
5893 u32 pending_bh ;
5894 bool bh_requested ;
5895 bool bh_running ;
5896 int isr_overflow ;
5897 bool irq_requested ;
5898 bool irq_occurred ;
5899 unsigned int bus_type ;
5900 unsigned int irq_level ;
5901 unsigned long irq_flags ;
5902 unsigned char *reg_addr ;
5903 u32 phys_reg_addr ;
5904 bool reg_addr_requested ;
5905 MGSL_PARAMS params ;
5906 u32 idle_mode ;
5907 u32 max_frame_size ;
5908 unsigned int rbuf_fill_level ;
5909 unsigned int rx_pio ;
5910 unsigned int if_mode ;
5911 unsigned int base_clock ;
5912 unsigned int xsync ;
5913 unsigned int xctrl ;
5914 bool rx_enabled ;
5915 bool rx_restart ;
5916 bool tx_enabled ;
5917 bool tx_active ;
5918 unsigned char signals ;
5919 int init_error ;
5920 unsigned char *tx_buf ;
5921 int tx_count ;
5922 char flag_buf[4096U] ;
5923 char char_buf[4096U] ;
5924 bool drop_rts_on_tx_done ;
5925 struct _input_signal_events input_signal_events ;
5926 int dcd_chkcount ;
5927 int cts_chkcount ;
5928 int dsr_chkcount ;
5929 int ri_chkcount ;
5930 char *bufs ;
5931 dma_addr_t bufs_dma_addr ;
5932 unsigned int rbuf_count ;
5933 struct slgt_desc *rbufs ;
5934 unsigned int rbuf_current ;
5935 unsigned int rbuf_index ;
5936 unsigned int rbuf_fill_index ;
5937 unsigned short rbuf_fill_count ;
5938 unsigned int tbuf_count ;
5939 struct slgt_desc *tbufs ;
5940 unsigned int tbuf_current ;
5941 unsigned int tbuf_start ;
5942 unsigned char *tmp_rbuf ;
5943 unsigned int tmp_rbuf_count ;
5944 int netcount ;
5945 spinlock_t netlock ;
5946 struct net_device *netdev ;
5947};
5948# 1 "<compiler builtins>"
5949
5950# 1 "<compiler builtins>"
5951
5952# 1 "<compiler builtins>"
5953
5954# 24 "include/linux/list.h"
5955__inline static void INIT_LIST_HEAD(struct list_head *list )
5956{
5957
5958 {
5959# 26 "include/linux/list.h"
5960 list->next = list;
5961# 27 "include/linux/list.h"
5962 list->prev = list;
5963# 28 "include/linux/list.h"
5964 return;
5965}
5966}
5967# 186 "include/linux/list.h"
5968__inline static int list_empty(struct list_head const *head )
5969{
5970
5971 {
5972# 188 "include/linux/list.h"
5973 return ((unsigned long )((struct list_head const *)head->next) == (unsigned long )head);
5974}
5975}
5976# 60 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5977__inline static void set_bit(unsigned int nr , unsigned long volatile *addr )
5978{
5979
5980 {
5981# 68 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5982 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; bts %1,%0": "+m" (*((long volatile *)addr)): "Ir" (nr): "memory");
5983# 70 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5984 return;
5985}
5986}
5987# 98 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5988__inline static void clear_bit(int nr , unsigned long volatile *addr )
5989{
5990
5991 {
5992# 105 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5993 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %1,%0": "+m" (*((long volatile *)addr)): "Ir" (nr));
5994# 107 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5995 return;
5996}
5997}
5998# 246 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
5999__inline static int test_and_clear_bit(int nr , unsigned long volatile *addr )
6000{ int oldbit ;
6001
6002 {
6003# 250 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6004 __asm__ volatile (".section .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.previous\n671:\n\tlock; btr %2,%1\n\tsbb %0,%0": "=r" (oldbit),
6005 "+m" (*((long volatile *)addr)): "Ir" (nr): "memory");
6006# 254 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6007 return (oldbit);
6008}
6009}
6010# 309 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6011__inline static int constant_test_bit(unsigned int nr , unsigned long const volatile *addr )
6012{
6013
6014 {
6015# 311 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6016 return ((int )((unsigned long )*(addr + (unsigned long )(nr / 64U)) >> ((int )nr & 63)) & 1);
6017}
6018}
6019# 315 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6020__inline static int variable_test_bit(int nr , unsigned long const volatile *addr )
6021{ int oldbit ;
6022
6023 {
6024# 319 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6025 __asm__ volatile ("bt %2,%1\n\tsbb %0,%0": "=r" (oldbit): "m" (*((unsigned long *)addr)),
6026 "Ir" (nr));
6027# 324 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/bitops.h"
6028 return (oldbit);
6029}
6030}
6031# 101 "include/linux/printk.h"
6032extern int printk(char const * , ...) ;
6033# 64 "include/asm-generic/bug.h"
6034extern void warn_slowpath_fmt(char const * , int const , char const * , ...) ;
6035# 69 "include/asm-generic/bug.h"
6036extern void warn_slowpath_null(char const * , int const ) ;
6037# 170 "include/linux/kernel.h"
6038extern void might_fault(void) ;
6039# 291 "include/linux/kernel.h"
6040extern int sprintf(char * , char const * , ...) ;
6041# 88 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/percpu.h"
6042extern void __bad_percpu_size(void) ;
6043# 10 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6044extern struct task_struct *current_task ;
6045# 12 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6046__inline static struct task_struct *get_current(void)
6047{ struct task_struct *pfo_ret__ ;
6048
6049 {
6050# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6051 if (1) {
6052# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6053 goto case_8;
6054 } else {
6055# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6056 goto switch_default;
6057# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6058 if (0) {
6059# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6060 __asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "p" (& current_task));
6061# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6062 goto ldv_2386;
6063# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6064 __asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6065# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6066 goto ldv_2386;
6067# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6068 __asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6069# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6070 goto ldv_2386;
6071 case_8:
6072# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6073 __asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "p" (& current_task));
6074# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6075 goto ldv_2386;
6076 switch_default:
6077 {
6078# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6079 __bad_percpu_size();
6080 }
6081 } else {
6082
6083 }
6084 }
6085 ldv_2386: ;
6086# 14 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/current.h"
6087 return (pfo_ret__);
6088}
6089}
6090# 11 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/cmpxchg_64.h"
6091extern void __xchg_wrong_size(void) ;
6092# 349 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt_types.h"
6093extern struct pv_irq_ops pv_irq_ops ;
6094# 34 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6095extern void *__memcpy(void * , void const * , size_t ) ;
6096# 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6097extern void *memset(void * , int , size_t ) ;
6098# 60 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6099extern int memcmp(void const * , void const * , size_t ) ;
6100# 63 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/string_64.h"
6101extern char *strcat(char * , char const * ) ;
6102# 851 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6103__inline static unsigned long arch_local_save_flags(void)
6104{ unsigned long __ret ;
6105 unsigned long __edi ;
6106 unsigned long __esi ;
6107 unsigned long __edx ;
6108 unsigned long __ecx ;
6109 unsigned long __eax ;
6110 long tmp ;
6111
6112 {
6113 {
6114# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6115 __edi = __edi;
6116# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6117 __esi = __esi;
6118# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6119 __edx = __edx;
6120# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6121 __ecx = __ecx;
6122# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6123 __eax = __eax;
6124# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6125 tmp = __builtin_expect((long )((unsigned long )pv_irq_ops.save_fl.func == (unsigned long )((void *)0)),
6126 0L);
6127 }
6128# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6129 if (tmp != 0L) {
6130# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6131 __asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i" ((char *)"/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"),
6132 "i" (853), "i" (12UL));
6133 ldv_4705: ;
6134# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6135 goto ldv_4705;
6136 } else {
6137
6138 }
6139# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6140 __asm__ volatile ("771:\n\tcall *%c2;\n772:\n.pushsection .parainstructions,\"a\"\n .balign 8 \n .quad 771b\n .byte %c1\n .byte 772b-771b\n .short %c3\n.popsection\n": "=a" (__eax): [paravirt_typenum] "i" (46UL),
6141 [paravirt_opptr] "i" (& pv_irq_ops.save_fl.func), [paravirt_clobber] "i" (1): "memory",
6142 "cc");
6143# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6144 __ret = __eax;
6145# 853 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/paravirt.h"
6146 return (__ret);
6147}
6148}
6149# 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/irqflags.h"
6150__inline static int arch_irqs_disabled_flags(unsigned long flags )
6151{
6152
6153 {
6154# 156 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/irqflags.h"
6155 return ((flags & 512UL) == 0UL);
6156}
6157}
6158# 82 "include/linux/thread_info.h"
6159__inline static int test_ti_thread_flag(struct thread_info *ti , int flag )
6160{ int tmp ;
6161
6162 {
6163 {
6164# 84 "include/linux/thread_info.h"
6165 tmp = variable_test_bit(flag, (unsigned long const volatile *)(& ti->flags));
6166 }
6167# 84 "include/linux/thread_info.h"
6168 return (tmp);
6169}
6170}
6171# 261 "include/linux/lockdep.h"
6172extern void lockdep_init_map(struct lockdep_map * , char const * , struct lock_class_key * ,
6173 int ) ;
6174# 93 "include/linux/spinlock.h"
6175extern void __raw_spin_lock_init(raw_spinlock_t * , char const * , struct lock_class_key * ) ;
6176# 22 "include/linux/spinlock_api_smp.h"
6177extern void _raw_spin_lock(raw_spinlock_t * ) ;
6178# 32 "include/linux/spinlock_api_smp.h"
6179extern unsigned long _raw_spin_lock_irqsave(raw_spinlock_t * ) ;
6180# 39 "include/linux/spinlock_api_smp.h"
6181extern void _raw_spin_unlock(raw_spinlock_t * ) ;
6182# 43 "include/linux/spinlock_api_smp.h"
6183extern void _raw_spin_unlock_irqrestore(raw_spinlock_t * , unsigned long ) ;
6184# 272 "include/linux/spinlock.h"
6185__inline static raw_spinlock_t *spinlock_check(spinlock_t *lock )
6186{
6187
6188 {
6189# 274 "include/linux/spinlock.h"
6190 return (& lock->ldv_6060.rlock);
6191}
6192}
6193# 283 "include/linux/spinlock.h"
6194__inline static void spin_lock(spinlock_t *lock )
6195{
6196
6197 {
6198 {
6199# 285 "include/linux/spinlock.h"
6200 _raw_spin_lock(& lock->ldv_6060.rlock);
6201 }
6202# 286 "include/linux/spinlock.h"
6203 return;
6204}
6205}
6206# 323 "include/linux/spinlock.h"
6207__inline static void spin_unlock(spinlock_t *lock )
6208{
6209
6210 {
6211 {
6212# 325 "include/linux/spinlock.h"
6213 _raw_spin_unlock(& lock->ldv_6060.rlock);
6214 }
6215# 326 "include/linux/spinlock.h"
6216 return;
6217}
6218}
6219# 338 "include/linux/spinlock.h"
6220__inline static void spin_unlock_irqrestore(spinlock_t *lock , unsigned long flags )
6221{
6222
6223 {
6224 {
6225# 340 "include/linux/spinlock.h"
6226 _raw_spin_unlock_irqrestore(& lock->ldv_6060.rlock, flags);
6227 }
6228# 341 "include/linux/spinlock.h"
6229 return;
6230}
6231}
6232# 30 "include/linux/wait.h"
6233extern int default_wake_function(wait_queue_t * , unsigned int , int , void * ) ;
6234# 80 "include/linux/wait.h"
6235extern void __init_waitqueue_head(wait_queue_head_t * , struct lock_class_key * ) ;
6236# 98 "include/linux/wait.h"
6237__inline static void init_waitqueue_entry(wait_queue_t *q , struct task_struct *p )
6238{
6239
6240 {
6241# 100 "include/linux/wait.h"
6242 q->flags = 0U;
6243# 101 "include/linux/wait.h"
6244 q->private = (void *)p;
6245# 102 "include/linux/wait.h"
6246 q->func = & default_wake_function;
6247# 103 "include/linux/wait.h"
6248 return;
6249}
6250}
6251# 113 "include/linux/wait.h"
6252__inline static int waitqueue_active(wait_queue_head_t *q )
6253{ int tmp ;
6254
6255 {
6256 {
6257# 115 "include/linux/wait.h"
6258 tmp = list_empty((struct list_head const *)(& q->task_list));
6259 }
6260# 115 "include/linux/wait.h"
6261 return (tmp == 0);
6262}
6263}
6264# 118 "include/linux/wait.h"
6265extern void add_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
6266# 120 "include/linux/wait.h"
6267extern void remove_wait_queue(wait_queue_head_t * , wait_queue_t * ) ;
6268# 156 "include/linux/wait.h"
6269extern void __wake_up(wait_queue_head_t * , unsigned int , int , void * ) ;
6270# 577 "include/linux/wait.h"
6271extern void interruptible_sleep_on(wait_queue_head_t * ) ;
6272# 134 "include/linux/mutex.h"
6273extern void mutex_lock_nested(struct mutex * , unsigned int ) ;
6274# 169 "include/linux/mutex.h"
6275extern void mutex_unlock(struct mutex * ) ;
6276# 114 "include/linux/ioport.h"
6277extern struct resource iomem_resource ;
6278# 156 "include/linux/ioport.h"
6279extern struct resource *__request_region(struct resource * , resource_size_t , resource_size_t ,
6280 char const * , int ) ;
6281# 167 "include/linux/ioport.h"
6282extern void __release_region(struct resource * , resource_size_t , resource_size_t ) ;
6283# 82 "include/linux/jiffies.h"
6284extern unsigned long volatile jiffies ;
6285# 296 "include/linux/jiffies.h"
6286extern unsigned int jiffies_to_msecs(unsigned long const ) ;
6287# 298 "include/linux/jiffies.h"
6288extern unsigned long msecs_to_jiffies(unsigned int const ) ;
6289# 91 "include/linux/timer.h"
6290extern void init_timer_key(struct timer_list * , char const * , struct lock_class_key * ) ;
6291# 166 "include/linux/timer.h"
6292__inline static void setup_timer_key(struct timer_list *timer , char const *name ,
6293 struct lock_class_key *key , void (*function)(unsigned long ) ,
6294 unsigned long data )
6295{
6296
6297 {
6298 {
6299# 172 "include/linux/timer.h"
6300 timer->function = function;
6301# 173 "include/linux/timer.h"
6302 timer->data = data;
6303# 174 "include/linux/timer.h"
6304 init_timer_key(timer, name, key);
6305 }
6306# 175 "include/linux/timer.h"
6307 return;
6308}
6309}
6310# 210 "include/linux/timer.h"
6311extern int del_timer(struct timer_list * ) ;
6312# 211 "include/linux/timer.h"
6313extern int mod_timer(struct timer_list * , unsigned long ) ;
6314# 280 "include/linux/timer.h"
6315extern int del_timer_sync(struct timer_list * ) ;
6316# 156 "include/linux/workqueue.h"
6317extern void __init_work(struct work_struct * , int ) ;
6318# 360 "include/linux/workqueue.h"
6319extern int schedule_work(struct work_struct * ) ;
6320# 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6321__inline static unsigned char readb(void const volatile *addr )
6322{ unsigned char ret ;
6323
6324 {
6325# 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6326 __asm__ volatile ("movb %1,%0": "=q" (ret): "m" (*((unsigned char volatile *)addr)): "memory");
6327# 55 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6328 return (ret);
6329}
6330}
6331# 56 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6332__inline static unsigned short readw(void const volatile *addr )
6333{ unsigned short ret ;
6334
6335 {
6336# 56 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6337 __asm__ volatile ("movw %1,%0": "=r" (ret): "m" (*((unsigned short volatile *)addr)): "memory");
6338# 56 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6339 return (ret);
6340}
6341}
6342# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6343__inline static unsigned int readl(void const volatile *addr )
6344{ unsigned int ret ;
6345
6346 {
6347# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6348 __asm__ volatile ("movl %1,%0": "=r" (ret): "m" (*((unsigned int volatile *)addr)): "memory");
6349# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6350 return (ret);
6351}
6352}
6353# 63 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6354__inline static void writeb(unsigned char val , void volatile *addr )
6355{
6356
6357 {
6358# 63 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6359 __asm__ volatile ("movb %0,%1": : "q" (val), "m" (*((unsigned char volatile *)addr)): "memory");
6360# 64 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6361 return;
6362}
6363}
6364# 64 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6365__inline static void writew(unsigned short val , void volatile *addr )
6366{
6367
6368 {
6369# 64 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6370 __asm__ volatile ("movw %0,%1": : "r" (val), "m" (*((unsigned short volatile *)addr)): "memory");
6371# 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6372 return;
6373}
6374}
6375# 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6376__inline static void writel(unsigned int val , void volatile *addr )
6377{
6378
6379 {
6380# 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6381 __asm__ volatile ("movl %0,%1": : "r" (val), "m" (*((unsigned int volatile *)addr)): "memory");
6382# 66 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6383 return;
6384}
6385}
6386# 176 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6387extern void *ioremap_nocache(resource_size_t , unsigned long ) ;
6388# 189 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/io.h"
6389extern void iounmap(void volatile * ) ;
6390# 830 "include/linux/rcupdate.h"
6391extern void kfree(void const * ) ;
6392# 99 "include/linux/module.h"
6393extern struct module __this_module ;
6394# 537 "include/linux/module.h"
6395__inline static int ldv_try_module_get_1(struct module *module ) ;
6396# 543 "include/linux/module.h"
6397void ldv_module_put_2(struct module *ldv_func_arg1 ) ;
6398# 3 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
6399int ldv_try_module_get(struct module *module ) ;
6400# 4 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
6401void ldv_module_get(struct module *module ) ;
6402# 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
6403void ldv_module_put(struct module *module ) ;
6404# 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
6405unsigned int ldv_module_refcount(void) ;
6406# 7 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
6407void ldv_module_put_and_exit(void) ;
6408# 546 "include/linux/capability.h"
6409extern bool capable(int ) ;
6410# 361 "include/linux/sched.h"
6411extern void schedule(void) ;
6412# 2441 "include/linux/sched.h"
6413__inline static int test_tsk_thread_flag(struct task_struct *tsk , int flag )
6414{ int tmp ;
6415
6416 {
6417 {
6418# 2443 "include/linux/sched.h"
6419 tmp = test_ti_thread_flag((struct thread_info *)tsk->stack, flag);
6420 }
6421# 2443 "include/linux/sched.h"
6422 return (tmp);
6423}
6424}
6425# 2467 "include/linux/sched.h"
6426__inline static int signal_pending(struct task_struct *p )
6427{ int tmp ;
6428 long tmp___0 ;
6429
6430 {
6431 {
6432# 2469 "include/linux/sched.h"
6433 tmp = test_tsk_thread_flag(p, 2);
6434# 2469 "include/linux/sched.h"
6435 tmp___0 = __builtin_expect((long )(tmp != 0), 0L);
6436 }
6437# 2469 "include/linux/sched.h"
6438 return ((int )tmp___0);
6439}
6440}
6441# 40 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6442extern unsigned long _copy_to_user(void * , void const * , unsigned int ) ;
6443# 42 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6444extern unsigned long _copy_from_user(void * , void const * , unsigned int ) ;
6445# 46 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6446__inline static unsigned long copy_from_user(void *to , void const *from , unsigned long n )
6447{ int sz ;
6448 unsigned long tmp ;
6449 int __ret_warn_on ;
6450 long tmp___0 ;
6451 long tmp___1 ;
6452 long tmp___2 ;
6453
6454 {
6455 {
6456# 50 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6457 tmp = __builtin_object_size((void *)((void const *)to), 0);
6458# 50 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6459 sz = (int )tmp;
6460# 52 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6461 might_fault();
6462# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6463 tmp___1 = __builtin_expect((long )(sz == -1), 1L);
6464 }
6465# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6466 if (tmp___1 != 0L) {
6467 {
6468# 54 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6469 n = _copy_from_user(to, from, (unsigned int )n);
6470 }
6471 } else {
6472 {
6473# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6474 tmp___2 = __builtin_expect((long )((unsigned long )sz >= n), 1L);
6475 }
6476# 53 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6477 if (tmp___2 != 0L) {
6478 {
6479# 54 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6480 n = _copy_from_user(to, from, (unsigned int )n);
6481 }
6482 } else {
6483 {
6484# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6485 __ret_warn_on = 1;
6486# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6487 tmp___0 = __builtin_expect((long )(__ret_warn_on != 0), 0L);
6488 }
6489# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6490 if (tmp___0 != 0L) {
6491 {
6492# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6493 warn_slowpath_fmt("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h",
6494 (int const )57, "Buffer overflow detected!\n");
6495 }
6496 } else {
6497
6498 }
6499 {
6500# 57 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6501 __builtin_expect((long )(__ret_warn_on != 0), 0L);
6502 }
6503 }
6504 }
6505# 59 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6506 return (n);
6507}
6508}
6509# 63 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6510__inline static int copy_to_user(void *dst , void const *src , unsigned int size )
6511{ unsigned long tmp ;
6512
6513 {
6514 {
6515# 65 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6516 might_fault();
6517# 67 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6518 tmp = _copy_to_user(dst, src, size);
6519 }
6520# 67 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/uaccess_64.h"
6521 return ((int )tmp);
6522}
6523}
6524# 124 "include/linux/interrupt.h"
6525extern int request_threaded_irq(unsigned int , irqreturn_t (*)(int , void * ) ,
6526 irqreturn_t (*)(int , void * ) , unsigned long ,
6527 char const * , void * ) ;
6528# 129 "include/linux/interrupt.h"
6529__inline static int request_irq(unsigned int irq , irqreturn_t (*handler)(int , void * ) ,
6530 unsigned long flags , char const *name , void *dev )
6531{ int tmp ;
6532
6533 {
6534 {
6535# 132 "include/linux/interrupt.h"
6536 tmp = request_threaded_irq(irq, handler, (irqreturn_t (*)(int , void * ))0, flags,
6537 name, dev);
6538 }
6539# 132 "include/linux/interrupt.h"
6540 return (tmp);
6541}
6542}
6543# 170 "include/linux/interrupt.h"
6544extern void free_irq(unsigned int , void * ) ;
6545# 764 "include/linux/pci.h"
6546extern int pci_enable_device(struct pci_dev * ) ;
6547# 782 "include/linux/pci.h"
6548extern void pci_set_master(struct pci_dev * ) ;
6549# 916 "include/linux/pci.h"
6550extern int __pci_register_driver(struct pci_driver * , struct module * , char const * ) ;
6551# 925 "include/linux/pci.h"
6552extern void pci_unregister_driver(struct pci_driver * ) ;
6553# 221 "include/linux/slub_def.h"
6554extern void *__kmalloc(size_t , gfp_t ) ;
6555# 255 "include/linux/slub_def.h"
6556__inline static void *kmalloc(size_t size , gfp_t flags )
6557{ void *tmp___2 ;
6558
6559 {
6560 {
6561# 270 "include/linux/slub_def.h"
6562 tmp___2 = __kmalloc(size, flags);
6563 }
6564# 270 "include/linux/slub_def.h"
6565 return (tmp___2);
6566}
6567}
6568# 318 "include/linux/slab.h"
6569__inline static void *kzalloc(size_t size , gfp_t flags )
6570{ void *tmp ;
6571
6572 {
6573 {
6574# 320 "include/linux/slab.h"
6575 tmp = kmalloc(size, flags | 32768U);
6576 }
6577# 320 "include/linux/slab.h"
6578 return (tmp);
6579}
6580}
6581# 87 "include/linux/dma-mapping.h"
6582__inline static int is_device_dma_capable(struct device *dev )
6583{ int tmp ;
6584
6585 {
6586# 89 "include/linux/dma-mapping.h"
6587 if ((unsigned long )dev->dma_mask != (unsigned long )((u64 *)0)) {
6588# 89 "include/linux/dma-mapping.h"
6589 if (*(dev->dma_mask) != 0ULL) {
6590# 89 "include/linux/dma-mapping.h"
6591 tmp = 1;
6592 } else {
6593# 89 "include/linux/dma-mapping.h"
6594 tmp = 0;
6595 }
6596 } else {
6597# 89 "include/linux/dma-mapping.h"
6598 tmp = 0;
6599 }
6600# 89 "include/linux/dma-mapping.h"
6601 return (tmp);
6602}
6603}
6604# 51 "include/linux/dma-debug.h"
6605extern void debug_dma_alloc_coherent(struct device * , size_t , dma_addr_t , void * ) ;
6606# 54 "include/linux/dma-debug.h"
6607extern void debug_dma_free_coherent(struct device * , size_t , void * , dma_addr_t ) ;
6608# 26 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6609extern struct device x86_dma_fallback_dev ;
6610# 29 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6611extern struct dma_map_ops *dma_ops ;
6612# 31 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6613__inline static struct dma_map_ops *get_dma_ops(struct device *dev )
6614{ long tmp ;
6615
6616 {
6617 {
6618# 36 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6619 tmp = __builtin_expect((long )((unsigned long )dev == (unsigned long )((struct device *)0)),
6620 0L);
6621 }
6622# 36 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6623 if (tmp != 0L) {
6624# 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6625 return (dma_ops);
6626 } else
6627# 36 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6628 if ((unsigned long )dev->archdata.dma_ops == (unsigned long )((struct dma_map_ops *)0)) {
6629# 37 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6630 return (dma_ops);
6631 } else {
6632# 39 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6633 return (dev->archdata.dma_ops);
6634 }
6635}
6636}
6637# 89 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6638__inline static unsigned long dma_alloc_coherent_mask(struct device *dev , gfp_t gfp )
6639{ unsigned long dma_mask ;
6640
6641 {
6642# 92 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6643 dma_mask = 0UL;
6644# 94 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6645 dma_mask = (unsigned long )dev->coherent_dma_mask;
6646# 95 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6647 if (dma_mask == 0UL) {
6648# 96 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6649 if ((int )gfp & 1) {
6650# 96 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6651 dma_mask = 16777215UL;
6652 } else {
6653# 96 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6654 dma_mask = 4294967295UL;
6655 }
6656 } else {
6657
6658 }
6659# 98 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6660 return (dma_mask);
6661}
6662}
6663# 101 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6664__inline static gfp_t dma_alloc_coherent_gfp_flags(struct device *dev , gfp_t gfp )
6665{ unsigned long dma_mask ;
6666 unsigned long tmp ;
6667
6668 {
6669 {
6670# 103 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6671 tmp = dma_alloc_coherent_mask(dev, gfp);
6672# 103 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6673 dma_mask = tmp;
6674 }
6675# 105 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6676 if ((unsigned long long )dma_mask <= 16777215ULL) {
6677# 106 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6678 gfp = gfp | 1U;
6679 } else {
6680
6681 }
6682# 108 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6683 if ((unsigned long long )dma_mask <= 4294967295ULL) {
6684# 108 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6685 if ((gfp & 1U) == 0U) {
6686# 109 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6687 gfp = gfp | 4U;
6688 } else {
6689
6690 }
6691 } else {
6692
6693 }
6694# 111 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6695 return (gfp);
6696}
6697}
6698# 115 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6699__inline static void *dma_alloc_coherent(struct device *dev , size_t size , dma_addr_t *dma_handle ,
6700 gfp_t gfp )
6701{ struct dma_map_ops *ops ;
6702 struct dma_map_ops *tmp ;
6703 void *memory ;
6704 int tmp___0 ;
6705 gfp_t tmp___1 ;
6706
6707 {
6708 {
6709# 118 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6710 tmp = get_dma_ops(dev);
6711# 118 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6712 ops = tmp;
6713# 121 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6714 gfp = gfp & 4294967288U;
6715 }
6716# 126 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6717 if ((unsigned long )dev == (unsigned long )((struct device *)0)) {
6718# 127 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6719 dev = & x86_dma_fallback_dev;
6720 } else {
6721
6722 }
6723 {
6724# 129 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6725 tmp___0 = is_device_dma_capable(dev);
6726 }
6727# 129 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6728 if (tmp___0 == 0) {
6729# 130 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6730 return ((void *)0);
6731 } else {
6732
6733 }
6734# 132 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6735 if ((unsigned long )ops->alloc_coherent == (unsigned long )((void *(*)(struct device * ,
6736 size_t ,
6737 dma_addr_t * ,
6738 gfp_t ))0)) {
6739# 133 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6740 return ((void *)0);
6741 } else {
6742
6743 }
6744 {
6745# 135 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6746 tmp___1 = dma_alloc_coherent_gfp_flags(dev, gfp);
6747# 135 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6748 memory = (*(ops->alloc_coherent))(dev, size, dma_handle, tmp___1);
6749# 137 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6750 debug_dma_alloc_coherent(dev, size, *dma_handle, memory);
6751 }
6752# 139 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6753 return (memory);
6754}
6755}
6756# 142 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6757__inline static void dma_free_coherent(struct device *dev , size_t size , void *vaddr ,
6758 dma_addr_t bus )
6759{ struct dma_map_ops *ops ;
6760 struct dma_map_ops *tmp ;
6761 int __ret_warn_on ;
6762 unsigned long _flags ;
6763 int tmp___0 ;
6764 long tmp___1 ;
6765
6766 {
6767 {
6768# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6769 tmp = get_dma_ops(dev);
6770# 145 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6771 ops = tmp;
6772# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6773 _flags = arch_local_save_flags();
6774# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6775 tmp___0 = arch_irqs_disabled_flags(_flags);
6776# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6777 __ret_warn_on = tmp___0 != 0;
6778# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6779 tmp___1 = __builtin_expect((long )(__ret_warn_on != 0), 0L);
6780 }
6781# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6782 if (tmp___1 != 0L) {
6783 {
6784# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6785 warn_slowpath_null("/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h",
6786 (int const )147);
6787 }
6788 } else {
6789
6790 }
6791 {
6792# 147 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6793 __builtin_expect((long )(__ret_warn_on != 0), 0L);
6794# 152 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6795 debug_dma_free_coherent(dev, size, vaddr, bus);
6796 }
6797# 153 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6798 if ((unsigned long )ops->free_coherent != (unsigned long )((void (*)(struct device * ,
6799 size_t , void * ,
6800 dma_addr_t ))0)) {
6801 {
6802# 154 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6803 (*(ops->free_coherent))(dev, size, vaddr, bus);
6804 }
6805 } else {
6806
6807 }
6808# 155 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/dma-mapping.h"
6809 return;
6810}
6811}
6812# 16 "include/asm-generic/pci-dma-compat.h"
6813__inline static void *pci_alloc_consistent(struct pci_dev *hwdev , size_t size , dma_addr_t *dma_handle )
6814{ struct device *tmp ;
6815 void *tmp___0 ;
6816
6817 {
6818# 19 "include/asm-generic/pci-dma-compat.h"
6819 if ((unsigned long )hwdev != (unsigned long )((struct pci_dev *)0)) {
6820# 19 "include/asm-generic/pci-dma-compat.h"
6821 tmp = & hwdev->dev;
6822 } else {
6823# 19 "include/asm-generic/pci-dma-compat.h"
6824 tmp = (struct device *)0;
6825 }
6826 {
6827# 19 "include/asm-generic/pci-dma-compat.h"
6828 tmp___0 = dma_alloc_coherent(tmp, size, dma_handle, 32U);
6829 }
6830# 19 "include/asm-generic/pci-dma-compat.h"
6831 return (tmp___0);
6832}
6833}
6834# 23 "include/asm-generic/pci-dma-compat.h"
6835__inline static void pci_free_consistent(struct pci_dev *hwdev , size_t size , void *vaddr ,
6836 dma_addr_t dma_handle )
6837{ struct device *tmp ;
6838
6839 {
6840# 26 "include/asm-generic/pci-dma-compat.h"
6841 if ((unsigned long )hwdev != (unsigned long )((struct pci_dev *)0)) {
6842# 26 "include/asm-generic/pci-dma-compat.h"
6843 tmp = & hwdev->dev;
6844 } else {
6845# 26 "include/asm-generic/pci-dma-compat.h"
6846 tmp = (struct device *)0;
6847 }
6848 {
6849# 26 "include/asm-generic/pci-dma-compat.h"
6850 dma_free_coherent(tmp, size, vaddr, dma_handle);
6851 }
6852# 27 "include/asm-generic/pci-dma-compat.h"
6853 return;
6854}
6855}
6856# 325 "include/linux/tty_driver.h"
6857extern struct tty_driver *alloc_tty_driver(int ) ;
6858# 326 "include/linux/tty_driver.h"
6859extern void put_tty_driver(struct tty_driver * ) ;
6860# 327 "include/linux/tty_driver.h"
6861extern void tty_set_operations(struct tty_driver * , struct tty_operations const * ) ;
6862# 377 "include/linux/tty.h"
6863extern struct ktermios tty_std_termios ;
6864# 408 "include/linux/tty.h"
6865extern int tty_register_driver(struct tty_driver * ) ;
6866# 409 "include/linux/tty.h"
6867extern int tty_unregister_driver(struct tty_driver * ) ;
6868# 410 "include/linux/tty.h"
6869extern struct device *tty_register_device(struct tty_driver * , unsigned int , struct device * ) ;
6870# 412 "include/linux/tty.h"
6871extern void tty_unregister_device(struct tty_driver * , unsigned int ) ;
6872# 429 "include/linux/tty.h"
6873extern void tty_hangup(struct tty_struct * ) ;
6874# 434 "include/linux/tty.h"
6875extern int tty_hung_up_p(struct file * ) ;
6876# 435 "include/linux/tty.h"
6877extern void do_SAK(struct tty_struct * ) ;
6878# 439 "include/linux/tty.h"
6879extern void tty_flip_buffer_push(struct tty_struct * ) ;
6880# 444 "include/linux/tty.h"
6881extern speed_t tty_get_baud_rate(struct tty_struct * ) ;
6882# 455 "include/linux/tty.h"
6883extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct * ) ;
6884# 456 "include/linux/tty.h"
6885extern void tty_ldisc_deref(struct tty_ldisc * ) ;
6886# 461 "include/linux/tty.h"
6887extern void tty_wakeup(struct tty_struct * ) ;
6888# 462 "include/linux/tty.h"
6889extern void tty_ldisc_flush(struct tty_struct * ) ;
6890# 493 "include/linux/tty.h"
6891extern void tty_port_init(struct tty_port * ) ;
6892# 507 "include/linux/tty.h"
6893extern int tty_port_carrier_raised(struct tty_port * ) ;
6894# 508 "include/linux/tty.h"
6895extern void tty_port_raise_dtr_rts(struct tty_port * ) ;
6896# 513 "include/linux/tty.h"
6897extern int tty_port_close_start(struct tty_port * , struct tty_struct * , struct file * ) ;
6898# 515 "include/linux/tty.h"
6899extern void tty_port_close_end(struct tty_port * , struct tty_struct * ) ;
6900# 600 "include/linux/tty.h"
6901extern void tty_lock(void) ;
6902# 601 "include/linux/tty.h"
6903extern void tty_unlock(void) ;
6904# 5 "include/linux/tty_flip.h"
6905extern int tty_insert_flip_string_flags(struct tty_struct * , unsigned char const * ,
6906 char const * , size_t ) ;
6907# 11 "include/linux/tty_flip.h"
6908__inline static int tty_insert_flip_char(struct tty_struct *tty , unsigned char ch ,
6909 char flag )
6910{ struct tty_buffer *tb ;
6911 int tmp ;
6912 int tmp___0 ;
6913
6914 {
6915# 14 "include/linux/tty_flip.h"
6916 tb = tty->buf.tail;
6917# 15 "include/linux/tty_flip.h"
6918 if ((unsigned long )tb != (unsigned long )((struct tty_buffer *)0)) {
6919# 15 "include/linux/tty_flip.h"
6920 if (tb->used < tb->size) {
6921# 16 "include/linux/tty_flip.h"
6922 *(tb->flag_buf_ptr + (unsigned long )tb->used) = (unsigned char )flag;
6923# 17 "include/linux/tty_flip.h"
6924 tmp = tb->used;
6925# 17 "include/linux/tty_flip.h"
6926 tb->used = tb->used + 1;
6927# 17 "include/linux/tty_flip.h"
6928 *(tb->char_buf_ptr + (unsigned long )tmp) = (char )ch;
6929# 18 "include/linux/tty_flip.h"
6930 return (1);
6931 } else {
6932
6933 }
6934 } else {
6935
6936 }
6937 {
6938# 20 "include/linux/tty_flip.h"
6939 tmp___0 = tty_insert_flip_string_flags(tty, (unsigned char const *)(& ch), (char const *)(& flag),
6940 1UL);
6941 }
6942# 20 "include/linux/tty_flip.h"
6943 return (tmp___0);
6944}
6945}
6946# 78 "include/linux/seq_file.h"
6947extern ssize_t seq_read(struct file * , char * , size_t , loff_t * ) ;
6948# 79 "include/linux/seq_file.h"
6949extern loff_t seq_lseek(struct file * , loff_t , int ) ;
6950# 83 "include/linux/seq_file.h"
6951extern int seq_puts(struct seq_file * , char const * ) ;
6952# 86 "include/linux/seq_file.h"
6953extern int seq_printf(struct seq_file * , char const * , ...) ;
6954# 119 "include/linux/seq_file.h"
6955extern int single_open(struct file * , int (*)(struct seq_file * , void * ) , void * ) ;
6956# 120 "include/linux/seq_file.h"
6957extern int single_release(struct inode * , struct file * ) ;
6958# 491 "include/linux/skbuff.h"
6959extern void consume_skb(struct sk_buff * ) ;
6960# 1167 "include/linux/skbuff.h"
6961extern unsigned char *skb_put(struct sk_buff * , unsigned int ) ;
6962# 1308 "include/linux/skbuff.h"
6963__inline static void skb_reset_mac_header(struct sk_buff *skb )
6964{
6965
6966 {
6967# 1310 "include/linux/skbuff.h"
6968 skb->mac_header = (sk_buff_data_t )((long )skb->data) - (sk_buff_data_t )((long )skb->head);
6969# 1311 "include/linux/skbuff.h"
6970 return;
6971}
6972}
6973# 1541 "include/linux/skbuff.h"
6974extern struct sk_buff *dev_alloc_skb(unsigned int ) ;
6975# 47 "include/linux/delay.h"
6976extern unsigned long msleep_interruptible(unsigned int ) ;
6977# 198 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
6978__inline static void *compat_ptr(compat_uptr_t uptr )
6979{
6980
6981 {
6982# 200 "/anthill/stuff/tacas-comp/inst/current/envs/linux-3.0.1/linux-3.0.1/arch/x86/include/asm/compat.h"
6983 return ((void *)((unsigned long )uptr));
6984}
6985}
6986# 1410 "include/linux/netdevice.h"
6987__inline static struct netdev_queue *netdev_get_tx_queue(struct net_device const *dev ,
6988 unsigned int index )
6989{
6990
6991 {
6992# 1413 "include/linux/netdevice.h"
6993 return ((struct netdev_queue *)dev->_tx + (unsigned long )index);
6994}
6995}
6996# 1481 "include/linux/netdevice.h"
6997__inline static void *netdev_priv(struct net_device const *dev )
6998{
6999
7000 {
7001# 1483 "include/linux/netdevice.h"
7002 return ((void *)dev + 2560U);
7003}
7004}
7005# 1643 "include/linux/netdevice.h"
7006extern void free_netdev(struct net_device * ) ;
7007# 1656 "include/linux/netdevice.h"
7008extern int netpoll_trap(void) ;
7009# 1788 "include/linux/netdevice.h"
7010extern void __netif_schedule(struct Qdisc * ) ;
7011# 1804 "include/linux/netdevice.h"
7012__inline static void netif_tx_start_queue(struct netdev_queue *dev_queue )
7013{
7014
7015 {
7016 {
7017# 1806 "include/linux/netdevice.h"
7018 clear_bit(0, (unsigned long volatile *)(& dev_queue->state));
7019 }
7020# 1807 "include/linux/netdevice.h"
7021 return;
7022}
7023}
7024# 1815 "include/linux/netdevice.h"
7025__inline static void netif_start_queue(struct net_device *dev )
7026{ struct netdev_queue *tmp ;
7027
7028 {
7029 {
7030# 1817 "include/linux/netdevice.h"
7031 tmp = netdev_get_tx_queue((struct net_device const *)dev, 0U);
7032# 1817 "include/linux/netdevice.h"
7033 netif_tx_start_queue(tmp);
7034 }
7035# 1818 "include/linux/netdevice.h"
7036 return;
7037}
7038}
7039# 1830 "include/linux/netdevice.h"
7040__inline static void netif_tx_wake_queue(struct netdev_queue *dev_queue )
7041{ int tmp ;
7042 int tmp___0 ;
7043
7044 {
7045 {
7046# 1833 "include/linux/netdevice.h"
7047 tmp = netpoll_trap();
7048 }
7049# 1833 "include/linux/netdevice.h"
7050 if (tmp != 0) {
7051 {
7052# 1834 "include/linux/netdevice.h"
7053 netif_tx_start_queue(dev_queue);
7054 }
7055# 1835 "include/linux/netdevice.h"
7056 return;
7057 } else {
7058
7059 }
7060 {
7061# 1838 "include/linux/netdevice.h"
7062 tmp___0 = test_and_clear_bit(0, (unsigned long volatile *)(& dev_queue->state));
7063 }
7064# 1838 "include/linux/netdevice.h"
7065 if (tmp___0 != 0) {
7066 {
7067# 1839 "include/linux/netdevice.h"
7068 __netif_schedule(dev_queue->qdisc);
7069 }
7070 } else {
7071
7072 }
7073# 1840 "include/linux/netdevice.h"
7074 return;
7075}
7076}
7077# 1849 "include/linux/netdevice.h"
7078__inline static void netif_wake_queue(struct net_device *dev )
7079{ struct netdev_queue *tmp ;
7080
7081 {
7082 {
7083# 1851 "include/linux/netdevice.h"
7084 tmp = netdev_get_tx_queue((struct net_device const *)dev, 0U);
7085# 1851 "include/linux/netdevice.h"
7086 netif_tx_wake_queue(tmp);
7087 }
7088# 1852 "include/linux/netdevice.h"
7089 return;
7090}
7091}
7092# 1864 "include/linux/netdevice.h"
7093__inline static void netif_tx_stop_queue(struct netdev_queue *dev_queue )
7094{ int __ret_warn_on ;
7095 long tmp ;
7096 long tmp___0 ;
7097
7098 {
7099 {
7100# 1866 "include/linux/netdevice.h"
7101 __ret_warn_on = (unsigned long )dev_queue == (unsigned long )((struct netdev_queue *)0);
7102# 1866 "include/linux/netdevice.h"
7103 tmp = __builtin_expect((long )(__ret_warn_on != 0), 0L);
7104 }
7105# 1866 "include/linux/netdevice.h"
7106 if (tmp != 0L) {
7107 {
7108# 1866 "include/linux/netdevice.h"
7109 warn_slowpath_null("include/linux/netdevice.h", (int const )1866);
7110 }
7111 } else {
7112
7113 }
7114 {
7115# 1866 "include/linux/netdevice.h"
7116 tmp___0 = __builtin_expect((long )(__ret_warn_on != 0), 0L);
7117 }
7118# 1866 "include/linux/netdevice.h"
7119 if (tmp___0 != 0L) {
7120 {
7121# 1867 "include/linux/netdevice.h"
7122 printk("<6>netif_stop_queue() cannot be called before register_netdev()\n");
7123 }
7124# 1868 "include/linux/netdevice.h"
7125 return;
7126 } else {
7127
7128 }
7129 {
7130# 1870 "include/linux/netdevice.h"
7131 set_bit(0U, (unsigned long volatile *)(& dev_queue->state));
7132 }
7133# 1871 "include/linux/netdevice.h"
7134 return;
7135}
7136}
7137# 1880 "include/linux/netdevice.h"
7138__inline static void netif_stop_queue(struct net_device *dev )
7139{ struct netdev_queue *tmp ;
7140
7141 {
7142 {
7143# 1882 "include/linux/netdevice.h"
7144 tmp = netdev_get_tx_queue((struct net_device const *)dev, 0U);
7145# 1882 "include/linux/netdevice.h"
7146 netif_tx_stop_queue(tmp);
7147 }
7148# 1883 "include/linux/netdevice.h"
7149 return;
7150}
7151}
7152# 1895 "include/linux/netdevice.h"
7153__inline static int netif_tx_queue_stopped(struct netdev_queue const *dev_queue )
7154{ int tmp ;
7155
7156 {
7157 {
7158# 1897 "include/linux/netdevice.h"
7159 tmp = constant_test_bit(0U, (unsigned long const volatile *)(& dev_queue->state));
7160 }
7161# 1897 "include/linux/netdevice.h"
7162 return (tmp);
7163}
7164}
7165# 1906 "include/linux/netdevice.h"
7166__inline static int netif_queue_stopped(struct net_device const *dev )
7167{ struct netdev_queue *tmp ;
7168 int tmp___0 ;
7169
7170 {
7171 {
7172# 1908 "include/linux/netdevice.h"
7173 tmp = netdev_get_tx_queue(dev, 0U);
7174# 1908 "include/linux/netdevice.h"
7175 tmp___0 = netif_tx_queue_stopped((struct netdev_queue const *)tmp);
7176 }
7177# 1908 "include/linux/netdevice.h"
7178 return (tmp___0);
7179}
7180}
7181# 2064 "include/linux/netdevice.h"
7182extern int netif_rx(struct sk_buff * ) ;
7183# 2167 "include/linux/netdevice.h"
7184extern void netif_carrier_on(struct net_device * ) ;
7185# 2169 "include/linux/netdevice.h"
7186extern void netif_carrier_off(struct net_device * ) ;
7187# 2458 "include/linux/netdevice.h"
7188extern int register_netdev(struct net_device * ) ;
7189# 70 "include/linux/hdlc.h"
7190extern int hdlc_ioctl(struct net_device * , struct ifreq * , int ) ;
7191# 74 "include/linux/hdlc.h"
7192extern void unregister_hdlc_device(struct net_device * ) ;
7193# 80 "include/linux/hdlc.h"
7194extern struct net_device *alloc_hdlcdev(void * ) ;
7195# 82 "include/linux/hdlc.h"
7196__inline static struct hdlc_device *dev_to_hdlc(struct net_device *dev )
7197{ void *tmp ;
7198
7199 {
7200 {
7201# 84 "include/linux/hdlc.h"
7202 tmp = netdev_priv((struct net_device const *)dev);
7203 }
7204# 84 "include/linux/hdlc.h"
7205 return ((struct hdlc_device *)tmp);
7206}
7207}
7208# 103 "include/linux/hdlc.h"
7209extern int hdlc_open(struct net_device * ) ;
7210# 105 "include/linux/hdlc.h"
7211extern void hdlc_close(struct net_device * ) ;
7212# 107 "include/linux/hdlc.h"
7213extern int hdlc_change_mtu(struct net_device * , int ) ;
7214# 109 "include/linux/hdlc.h"
7215extern netdev_tx_t hdlc_start_xmit(struct sk_buff * , struct net_device * ) ;
7216# 116 "include/linux/hdlc.h"
7217__inline static __be16 hdlc_type_trans(struct sk_buff *skb , struct net_device *dev )
7218{ hdlc_device *hdlc ;
7219 struct hdlc_device *tmp ;
7220 __be16 tmp___0 ;
7221
7222 {
7223 {
7224# 119 "include/linux/hdlc.h"
7225 tmp = dev_to_hdlc(dev);
7226# 119 "include/linux/hdlc.h"
7227 hdlc = tmp;
7228# 121 "include/linux/hdlc.h"
7229 skb->dev = dev;
7230# 122 "include/linux/hdlc.h"
7231 skb_reset_mac_header(skb);
7232 }
7233# 124 "include/linux/hdlc.h"
7234 if ((unsigned long )(hdlc->proto)->type_trans != (unsigned long )((__be16 (* const )(struct sk_buff * ,
7235 struct net_device * ))0)) {
7236 {
7237# 125 "include/linux/hdlc.h"
7238 tmp___0 = (*((hdlc->proto)->type_trans))(skb, dev);
7239 }
7240# 125 "include/linux/hdlc.h"
7241 return (tmp___0);
7242 } else {
7243# 127 "include/linux/hdlc.h"
7244 return ((__be16 )6400U);
7245 }
7246}
7247}
7248# 100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7249static char *driver_name = (char *)"SyncLink GT";
7250# 101 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7251static char *tty_driver_name = (char *)"synclink_gt";
7252# 102 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7253static char *tty_dev_prefix = (char *)"ttySLG";
7254# 107 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7255static struct pci_device_id pci_table[5U] = { {5056U, 112U, 4294967295U, 4294967295U, 0U, 0U, 0UL},
7256 {5056U, 160U, 4294967295U, 4294967295U, 0U, 0U, 0UL},
7257 {5056U, 128U, 4294967295U, 4294967295U, 0U, 0U, 0UL},
7258 {5056U, 144U, 4294967295U, 4294967295U, 0U, 0U, 0UL},
7259 {0U, 0U, 0U, 0U, 0U, 0U, 0UL}};
7260# 114 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7261struct pci_device_id const __mod_pci_device_table ;
7262# 116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7263static int init_one(struct pci_dev *dev , struct pci_device_id const *ent ) ;
7264# 117 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7265static void remove_one(struct pci_dev *dev ) ;
7266# 118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7267static struct pci_driver pci_driver =
7268# 118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7269 {{(struct list_head *)0, (struct list_head *)0}, "synclink_gt", (struct pci_device_id const *)(& pci_table),
7270 & init_one, & remove_one, (int (*)(struct pci_dev * , pm_message_t ))0, (int (*)(struct pci_dev * ,
7271 pm_message_t ))0,
7272 (int (*)(struct pci_dev * ))0, (int (*)(struct pci_dev * ))0, (void (*)(struct pci_dev * ))0,
7273 (struct pci_error_handlers *)0, {(char const *)0, (struct bus_type *)0, (struct module *)0,
7274 (char const *)0, (_Bool)0, (struct of_device_id const *)0,
7275 (int (*)(struct device * ))0, (int (*)(struct device * ))0,
7276 (void (*)(struct device * ))0, (int (*)(struct device * ,
7277 pm_message_t ))0,
7278 (int (*)(struct device * ))0, (struct attribute_group const **)0,
7279 (struct dev_pm_ops const *)0, (struct driver_private *)0},
7280 {{{{{0U}, 0U, 0U, (void *)0, {(struct lock_class_key *)0, {(struct lock_class *)0,
7281 (struct lock_class *)0},
7282 (char const *)0, 0, 0UL}}}}, {(struct list_head *)0,
7283 (struct list_head *)0}}};
7284# 125 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7285static bool pci_registered ;
7286# 130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7287static struct slgt_info *slgt_device_list ;
7288# 131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7289static int slgt_device_count ;
7290# 133 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7291static int ttymajor ;
7292# 134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7293static int debug_level ;
7294# 135 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7295static int maxframe[32U] ;
7296# 148 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7297static struct tty_driver *serial_driver ;
7298# 150 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7299static int open(struct tty_struct *tty , struct file *filp ) ;
7300# 151 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7301static void close(struct tty_struct *tty , struct file *filp ) ;
7302# 152 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7303static void hangup(struct tty_struct *tty ) ;
7304# 153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7305static void set_termios(struct tty_struct *tty , struct ktermios *old_termios ) ;
7306# 155 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7307static int write(struct tty_struct *tty , unsigned char const *buf , int count ) ;
7308# 156 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7309static int put_char(struct tty_struct *tty , unsigned char ch ) ;
7310# 157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7311static void send_xchar(struct tty_struct *tty , char ch ) ;
7312# 158 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7313static void wait_until_sent(struct tty_struct *tty , int timeout ) ;
7314# 159 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7315static int write_room(struct tty_struct *tty ) ;
7316# 160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7317static void flush_chars(struct tty_struct *tty ) ;
7318# 161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7319static void flush_buffer(struct tty_struct *tty ) ;
7320# 162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7321static void tx_hold(struct tty_struct *tty ) ;
7322# 163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7323static void tx_release(struct tty_struct *tty ) ;
7324# 165 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7325static int ioctl(struct tty_struct *tty , unsigned int cmd , unsigned long arg ) ;
7326# 166 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7327static int chars_in_buffer(struct tty_struct *tty ) ;
7328# 167 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7329static void throttle(struct tty_struct *tty ) ;
7330# 168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7331static void unthrottle(struct tty_struct *tty ) ;
7332# 169 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7333static int set_break(struct tty_struct *tty , int break_state ) ;
7334# 176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7335static void hdlcdev_tx_done(struct slgt_info *info ) ;
7336# 177 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7337static void hdlcdev_rx(struct slgt_info *info , char *buf , int size ) ;
7338# 178 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7339static int hdlcdev_init(struct slgt_info *info ) ;
7340# 179 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7341static void hdlcdev_exit(struct slgt_info *info ) ;
7342# 199 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7343static void init_cond_wait(struct cond_wait *w , unsigned int data ) ;
7344# 200 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7345static void add_cond_wait(struct cond_wait **head , struct cond_wait *w ) ;
7346# 201 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7347static void remove_cond_wait(struct cond_wait **head , struct cond_wait *cw ) ;
7348# 202 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7349static void flush_cond_wait(struct cond_wait **head ) ;
7350# 367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7351static MGSL_PARAMS default_params =
7352# 367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7353 {2UL, (unsigned char)0, (unsigned short)1, (unsigned char)3, 0UL, (unsigned char)255,
7354 (unsigned short)1, (unsigned char)0, (unsigned char)0, 9600UL, (unsigned char)8,
7355 (unsigned char)1, (unsigned char)0};
7356# 442 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7357static __u8 rd_reg8(struct slgt_info *info , unsigned int addr ) ;
7358# 443 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7359static void wr_reg8(struct slgt_info *info , unsigned int addr , __u8 value ) ;
7360# 444 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7361static __u16 rd_reg16(struct slgt_info *info , unsigned int addr ) ;
7362# 445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7363static void wr_reg16(struct slgt_info *info , unsigned int addr , __u16 value ) ;
7364# 446 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7365static __u32 rd_reg32(struct slgt_info *info , unsigned int addr ) ;
7366# 447 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7367static void wr_reg32(struct slgt_info *info , unsigned int addr , __u32 value ) ;
7368# 449 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7369static void msc_set_vcr(struct slgt_info *info ) ;
7370# 451 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7371static int startup(struct slgt_info *info ) ;
7372# 452 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7373static int block_til_ready(struct tty_struct *tty , struct file *filp , struct slgt_info *info ) ;
7374# 453 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7375static void shutdown(struct slgt_info *info ) ;
7376# 454 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7377static void program_hw(struct slgt_info *info ) ;
7378# 455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7379static void change_params(struct slgt_info *info ) ;
7380# 457 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7381static int register_test(struct slgt_info *info ) ;
7382# 458 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7383static int irq_test(struct slgt_info *info ) ;
7384# 459 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7385static int loopback_test(struct slgt_info *info ) ;
7386# 460 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7387static int adapter_test(struct slgt_info *info ) ;
7388# 462 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7389static void reset_adapter(struct slgt_info *info ) ;
7390# 463 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7391static void reset_port(struct slgt_info *info ) ;
7392# 464 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7393static void async_mode(struct slgt_info *info ) ;
7394# 465 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7395static void sync_mode(struct slgt_info *info ) ;
7396# 467 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7397static void rx_stop(struct slgt_info *info ) ;
7398# 468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7399static void rx_start(struct slgt_info *info ) ;
7400# 469 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7401static void reset_rbufs(struct slgt_info *info ) ;
7402# 470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7403static void free_rbufs(struct slgt_info *info , unsigned int i , unsigned int last ) ;
7404# 471 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7405static void rdma_reset(struct slgt_info *info ) ;
7406# 472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7407static bool rx_get_frame(struct slgt_info *info ) ;
7408# 473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7409static bool rx_get_buf(struct slgt_info *info ) ;
7410# 475 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7411static void tx_start(struct slgt_info *info ) ;
7412# 476 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7413static void tx_stop(struct slgt_info *info ) ;
7414# 477 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7415static void tx_set_idle(struct slgt_info *info ) ;
7416# 478 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7417static unsigned int free_tbuf_count(struct slgt_info *info ) ;
7418# 479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7419static unsigned int tbuf_bytes(struct slgt_info *info ) ;
7420# 480 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7421static void reset_tbufs(struct slgt_info *info ) ;
7422# 481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7423static void tdma_reset(struct slgt_info *info ) ;
7424# 482 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7425static bool tx_load(struct slgt_info *info , char const *buf , unsigned int size ) ;
7426# 484 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7427static void get_signals(struct slgt_info *info ) ;
7428# 485 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7429static void set_signals(struct slgt_info *info ) ;
7430# 486 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7431static void enable_loopback(struct slgt_info *info ) ;
7432# 487 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7433static void set_rate(struct slgt_info *info , u32 rate ) ;
7434# 489 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7435static int bh_action(struct slgt_info *info ) ;
7436# 490 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7437static void bh_handler(struct work_struct *work ) ;
7438# 491 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7439static void bh_transmit(struct slgt_info *info ) ;
7440# 492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7441static void isr_serial(struct slgt_info *info ) ;
7442# 493 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7443static void isr_rdma(struct slgt_info *info ) ;
7444# 494 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7445static void isr_txeom(struct slgt_info *info , unsigned short status ) ;
7446# 495 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7447static void isr_tdma(struct slgt_info *info ) ;
7448# 497 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7449static int alloc_dma_bufs(struct slgt_info *info ) ;
7450# 498 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7451static void free_dma_bufs(struct slgt_info *info ) ;
7452# 499 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7453static int alloc_desc(struct slgt_info *info ) ;
7454# 500 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7455static void free_desc(struct slgt_info *info ) ;
7456# 501 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7457static int alloc_bufs(struct slgt_info *info , struct slgt_desc *bufs , int count ) ;
7458# 502 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7459static void free_bufs(struct slgt_info *info , struct slgt_desc *bufs , int count ) ;
7460# 504 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7461static int alloc_tmp_rbuf(struct slgt_info *info ) ;
7462# 505 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7463static void free_tmp_rbuf(struct slgt_info *info ) ;
7464# 507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7465static void tx_timeout(unsigned long context ) ;
7466# 508 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7467static void rx_timeout(unsigned long context ) ;
7468# 513 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7469static int get_stats(struct slgt_info *info , struct mgsl_icount *user_icount ) ;
7470# 514 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7471static int get_params(struct slgt_info *info , MGSL_PARAMS *user_params ) ;
7472# 515 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7473static int set_params(struct slgt_info *info , MGSL_PARAMS *new_params ) ;
7474# 516 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7475static int get_txidle(struct slgt_info *info , int *idle_mode ) ;
7476# 517 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7477static int set_txidle(struct slgt_info *info , int idle_mode ) ;
7478# 518 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7479static int tx_enable(struct slgt_info *info , int enable ) ;
7480# 519 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7481static int tx_abort(struct slgt_info *info ) ;
7482# 520 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7483static int rx_enable(struct slgt_info *info , int enable ) ;
7484# 521 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7485static int modem_input_wait(struct slgt_info *info , int arg ) ;
7486# 522 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7487static int wait_mgsl_event(struct slgt_info *info , int *mask_ptr ) ;
7488# 523 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7489static int tiocmget(struct tty_struct *tty ) ;
7490# 524 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7491static int tiocmset(struct tty_struct *tty , unsigned int set , unsigned int clear ) ;
7492# 527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7493static int get_interface(struct slgt_info *info , int *if_mode ) ;
7494# 528 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7495static int set_interface(struct slgt_info *info , int if_mode ) ;
7496# 529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7497static int set_gpio(struct slgt_info *info , struct gpio_desc *user_gpio ) ;
7498# 530 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7499static int get_gpio(struct slgt_info *info , struct gpio_desc *user_gpio ) ;
7500# 531 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7501static int wait_gpio(struct slgt_info *info , struct gpio_desc *user_gpio ) ;
7502# 532 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7503static int get_xsync(struct slgt_info *info , int *xsync ) ;
7504# 533 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7505static int set_xsync(struct slgt_info *info , int xsync ) ;
7506# 534 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7507static int get_xctrl(struct slgt_info *info , int *xctrl ) ;
7508# 535 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7509static int set_xctrl(struct slgt_info *info , int xctrl ) ;
7510# 540 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7511static void add_device(struct slgt_info *info ) ;
7512# 541 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7513static void device_init(int adapter_num , struct pci_dev *pdev ) ;
7514# 542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7515static int claim_resources(struct slgt_info *info ) ;
7516# 543 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7517static void release_resources(struct slgt_info *info ) ;
7518# 562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7519static void trace_block(struct slgt_info *info , char const *data , int count ,
7520 char const *label )
7521{ int i ;
7522 int linecount ;
7523
7524 {
7525 {
7526# 566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7527 printk("%s %s data:\n", (char *)(& info->device_name), label);
7528 }
7529# 567 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7530 goto ldv_36436;
7531 ldv_36435: ;
7532# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7533 if (16 < count) {
7534# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7535 linecount = 16;
7536 } else {
7537# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7538 linecount = count;
7539 }
7540# 569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7541 i = 0;
7542# 569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7543 goto ldv_36427;
7544 ldv_36426:
7545 {
7546# 570 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7547 printk("%02X ", (int )((unsigned char )*(data + (unsigned long )i)));
7548# 569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7549 i = i + 1;
7550 }
7551 ldv_36427: ;
7552# 569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7553 if (i < linecount) {
7554# 570 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7555 goto ldv_36426;
7556 } else {
7557# 572 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7558 goto ldv_36428;
7559 }
7560 ldv_36428: ;
7561# 571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7562 goto ldv_36430;
7563 ldv_36429:
7564 {
7565# 572 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7566 printk(" ");
7567# 571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7568 i = i + 1;
7569 }
7570 ldv_36430: ;
7571# 571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7572 if (i <= 16) {
7573# 572 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7574 goto ldv_36429;
7575 } else {
7576# 574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7577 goto ldv_36431;
7578 }
7579 ldv_36431:
7580# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7581 i = 0;
7582# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7583 goto ldv_36433;
7584 ldv_36432: ;
7585# 574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7586 if ((int )((signed char )*(data + (unsigned long )i)) > 31) {
7587# 574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7588 if ((int )((signed char )*(data + (unsigned long )i)) != 127) {
7589 {
7590# 575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7591 printk("%c", (int )*(data + (unsigned long )i));
7592 }
7593 } else {
7594 {
7595# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7596 printk(".");
7597 }
7598 }
7599 } else {
7600 {
7601# 577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7602 printk(".");
7603 }
7604 }
7605# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7606 i = i + 1;
7607 ldv_36433: ;
7608# 573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7609 if (i < linecount) {
7610# 574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7611 goto ldv_36432;
7612 } else {
7613# 576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7614 goto ldv_36434;
7615 }
7616 ldv_36434:
7617 {
7618# 579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7619 printk("\n");
7620# 580 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7621 data = data + (unsigned long )linecount;
7622# 581 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7623 count = count - linecount;
7624 }
7625 ldv_36436: ;
7626# 567 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7627 if (count != 0) {
7628# 568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7629 goto ldv_36435;
7630 } else {
7631# 570 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7632 goto ldv_36437;
7633 }
7634 ldv_36437: ;
7635# 572 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7636 return;
7637}
7638}
7639# 616 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7640__inline static int sanity_check(struct slgt_info *info , char *devname , char const *name )
7641{
7642
7643 {
7644# 628 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7645 if ((unsigned long )info == (unsigned long )((struct slgt_info *)0)) {
7646# 629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7647 return (1);
7648 } else {
7649
7650 }
7651# 631 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7652 return (0);
7653}
7654}
7655# 642 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7656static void ldisc_receive_buf(struct tty_struct *tty , __u8 const *data , char *flags ,
7657 int count )
7658{ struct tty_ldisc *ld ;
7659
7660 {
7661# 646 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7662 if ((unsigned long )tty == (unsigned long )((struct tty_struct *)0)) {
7663# 647 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7664 return;
7665 } else {
7666
7667 }
7668 {
7669# 648 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7670 ld = tty_ldisc_ref(tty);
7671 }
7672# 649 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7673 if ((unsigned long )ld != (unsigned long )((struct tty_ldisc *)0)) {
7674# 650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7675 if ((unsigned long )(ld->ops)->receive_buf != (unsigned long )((void (*)(struct tty_struct * ,
7676 unsigned char const * ,
7677 char * ,
7678 int ))0)) {
7679 {
7680# 651 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7681 (*((ld->ops)->receive_buf))(tty, data, flags, count);
7682 }
7683 } else {
7684
7685 }
7686 {
7687# 652 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7688 tty_ldisc_deref(ld);
7689 }
7690 } else {
7691
7692 }
7693# 654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7694 return;
7695}
7696}
7697# 658 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7698static int open(struct tty_struct *tty , struct file *filp )
7699{ struct slgt_info *info ;
7700 int retval ;
7701 int line ;
7702 unsigned long flags ;
7703 int tmp ;
7704 int tmp___0 ;
7705 raw_spinlock_t *tmp___1 ;
7706
7707 {
7708# 664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7709 line = tty->index;
7710# 665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7711 if (line < 0) {
7712# 665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7713 goto _L;
7714 } else
7715# 665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7716 if (line >= slgt_device_count) {
7717 _L:
7718# 666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7719 if (debug_level > 1) {
7720 {
7721# 666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7722 printk("%s: open with invalid line #%d.\n", driver_name, line);
7723 }
7724 } else {
7725
7726 }
7727# 667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7728 return (-19);
7729 } else {
7730
7731 }
7732# 670 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7733 info = slgt_device_list;
7734# 671 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7735 goto ldv_36459;
7736 ldv_36458:
7737# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7738 info = info->next_device;
7739 ldv_36459: ;
7740# 671 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7741 if ((unsigned long )info != (unsigned long )((struct slgt_info *)0)) {
7742# 671 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7743 if (info->line != line) {
7744# 672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7745 goto ldv_36458;
7746 } else {
7747# 674 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7748 goto ldv_36460;
7749 }
7750 } else {
7751# 674 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7752 goto ldv_36460;
7753 }
7754 ldv_36460:
7755 {
7756# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7757 tmp = sanity_check(info, (char *)(& tty->name), "open");
7758 }
7759# 673 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7760 if (tmp != 0) {
7761# 674 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7762 return (-19);
7763 } else {
7764
7765 }
7766# 675 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7767 if (info->init_error != 0) {
7768# 676 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7769 if (debug_level > 1) {
7770 {
7771# 676 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7772 printk("%s init error=%d\n", (char *)(& info->device_name), info->init_error);
7773 }
7774 } else {
7775
7776 }
7777# 677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7778 return (-19);
7779 } else {
7780
7781 }
7782# 680 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7783 tty->driver_data = (void *)info;
7784# 681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7785 info->port.tty = tty;
7786# 683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7787 if (debug_level > 2) {
7788 {
7789# 683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7790 printk("%s open, old ref count = %d\n", (char *)(& info->device_name), info->port.count);
7791 }
7792 } else {
7793
7794 }
7795 {
7796# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7797 tmp___0 = tty_hung_up_p(filp);
7798 }
7799# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7800 if (tmp___0 != 0) {
7801# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7802 goto _L___0;
7803 } else
7804# 686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7805 if ((info->port.flags & 134217728UL) != 0UL) {
7806 _L___0:
7807# 687 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7808 if ((info->port.flags & 134217728UL) != 0UL) {
7809 {
7810# 688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7811 interruptible_sleep_on(& info->port.close_wait);
7812 }
7813 } else {
7814
7815 }
7816# 689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7817 if ((int )info->port.flags & 1) {
7818# 689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7819 retval = -11;
7820 } else {
7821# 689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7822 retval = -512;
7823 }
7824# 691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7825 goto cleanup;
7826 } else {
7827
7828 }
7829 {
7830# 694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7831 mutex_lock_nested(& info->port.mutex, 0U);
7832# 695 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7833 (info->port.tty)->low_latency = (unsigned char )((info->port.flags & 8192UL) != 0UL);
7834# 697 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7835 tmp___1 = spinlock_check(& info->netlock);
7836# 697 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7837 flags = _raw_spin_lock_irqsave(tmp___1);
7838 }
7839# 698 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7840 if (info->netcount != 0) {
7841 {
7842# 699 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7843 retval = -16;
7844# 700 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7845 spin_unlock_irqrestore(& info->netlock, flags);
7846# 701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7847 mutex_unlock(& info->port.mutex);
7848 }
7849# 702 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7850 goto cleanup;
7851 } else {
7852
7853 }
7854 {
7855# 704 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7856 info->port.count = info->port.count + 1;
7857# 705 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7858 spin_unlock_irqrestore(& info->netlock, flags);
7859 }
7860# 707 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7861 if (info->port.count == 1) {
7862 {
7863# 709 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7864 retval = startup(info);
7865 }
7866# 710 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7867 if (retval < 0) {
7868 {
7869# 711 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7870 mutex_unlock(& info->port.mutex);
7871 }
7872# 712 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7873 goto cleanup;
7874 } else {
7875
7876 }
7877 } else {
7878
7879 }
7880 {
7881# 715 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7882 mutex_unlock(& info->port.mutex);
7883# 716 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7884 retval = block_til_ready(tty, filp, info);
7885 }
7886# 717 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7887 if (retval != 0) {
7888# 718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7889 if (debug_level > 2) {
7890 {
7891# 718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7892 printk("%s block_til_ready rc=%d\n", (char *)(& info->device_name), retval);
7893 }
7894 } else {
7895
7896 }
7897# 719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7898 goto cleanup;
7899 } else {
7900
7901 }
7902# 722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7903 retval = 0;
7904 cleanup: ;
7905# 725 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7906 if (retval != 0) {
7907# 726 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7908 if (tty->count == 1) {
7909# 727 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7910 info->port.tty = (struct tty_struct *)0;
7911 } else {
7912
7913 }
7914# 728 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7915 if (info->port.count != 0) {
7916# 729 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7917 info->port.count = info->port.count - 1;
7918 } else {
7919
7920 }
7921 } else {
7922
7923 }
7924# 732 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7925 if (debug_level > 2) {
7926 {
7927# 732 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7928 printk("%s open rc=%d\n", (char *)(& info->device_name), retval);
7929 }
7930 } else {
7931
7932 }
7933# 733 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7934 return (retval);
7935}
7936}
7937# 736 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7938static void close(struct tty_struct *tty , struct file *filp )
7939{ struct slgt_info *info ;
7940 int tmp ;
7941 int tmp___0 ;
7942
7943 {
7944 {
7945# 738 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7946 info = (struct slgt_info *)tty->driver_data;
7947# 740 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7948 tmp = sanity_check(info, (char *)(& tty->name), "close");
7949 }
7950# 740 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7951 if (tmp != 0) {
7952# 741 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7953 return;
7954 } else {
7955
7956 }
7957# 742 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7958 if (debug_level > 2) {
7959 {
7960# 742 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7961 printk("%s close entry, count=%d\n", (char *)(& info->device_name), info->port.count);
7962 }
7963 } else {
7964
7965 }
7966 {
7967# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7968 tmp___0 = tty_port_close_start(& info->port, tty, filp);
7969 }
7970# 744 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7971 if (tmp___0 == 0) {
7972# 745 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7973 goto cleanup;
7974 } else {
7975
7976 }
7977 {
7978# 747 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7979 mutex_lock_nested(& info->port.mutex, 0U);
7980 }
7981# 748 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7982 if ((info->port.flags & 2147483648UL) != 0UL) {
7983 {
7984# 749 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7985 wait_until_sent(tty, info->timeout);
7986 }
7987 } else {
7988
7989 }
7990 {
7991# 750 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7992 flush_buffer(tty);
7993# 751 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7994 tty_ldisc_flush(tty);
7995# 753 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7996 shutdown(info);
7997# 754 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
7998 mutex_unlock(& info->port.mutex);
7999# 756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8000 tty_port_close_end(& info->port, tty);
8001# 757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8002 info->port.tty = (struct tty_struct *)0;
8003 }
8004 cleanup: ;
8005# 759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8006 if (debug_level > 2) {
8007 {
8008# 759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8009 printk("%s close exit, count=%d\n", (tty->driver)->name, info->port.count);
8010 }
8011 } else {
8012
8013 }
8014# 760 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8015 return;
8016}
8017}
8018# 762 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8019static void hangup(struct tty_struct *tty )
8020{ struct slgt_info *info ;
8021 unsigned long flags ;
8022 int tmp ;
8023 raw_spinlock_t *tmp___0 ;
8024
8025 {
8026 {
8027# 764 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8028 info = (struct slgt_info *)tty->driver_data;
8029# 767 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8030 tmp = sanity_check(info, (char *)(& tty->name), "hangup");
8031 }
8032# 767 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8033 if (tmp != 0) {
8034# 768 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8035 return;
8036 } else {
8037
8038 }
8039# 769 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8040 if (debug_level > 2) {
8041 {
8042# 769 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8043 printk("%s hangup\n", (char *)(& info->device_name));
8044 }
8045 } else {
8046
8047 }
8048 {
8049# 771 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8050 flush_buffer(tty);
8051# 773 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8052 mutex_lock_nested(& info->port.mutex, 0U);
8053# 774 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8054 shutdown(info);
8055# 776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8056 tmp___0 = spinlock_check(& info->port.lock);
8057# 776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8058 flags = _raw_spin_lock_irqsave(tmp___0);
8059# 777 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8060 info->port.count = 0;
8061# 778 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8062 info->port.flags = info->port.flags & 3758096383UL;
8063# 779 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8064 info->port.tty = (struct tty_struct *)0;
8065# 780 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8066 spin_unlock_irqrestore(& info->port.lock, flags);
8067# 781 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8068 mutex_unlock(& info->port.mutex);
8069# 783 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8070 __wake_up(& info->port.open_wait, 1U, 1, (void *)0);
8071 }
8072# 784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8073 return;
8074}
8075}
8076# 786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8077static void set_termios(struct tty_struct *tty , struct ktermios *old_termios )
8078{ struct slgt_info *info ;
8079 unsigned long flags ;
8080 raw_spinlock_t *tmp ;
8081 int tmp___0 ;
8082 raw_spinlock_t *tmp___1 ;
8083
8084 {
8085# 788 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8086 info = (struct slgt_info *)tty->driver_data;
8087# 791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8088 if (debug_level > 2) {
8089 {
8090# 791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8091 printk("%s set_termios\n", (tty->driver)->name);
8092 }
8093 } else {
8094
8095 }
8096 {
8097# 793 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8098 change_params(info);
8099 }
8100# 796 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8101 if ((old_termios->c_cflag & 4111U) != 0U) {
8102# 796 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8103 if (((tty->termios)->c_cflag & 4111U) == 0U) {
8104 {
8105# 798 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8106 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
8107# 799 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8108 tmp = spinlock_check(& info->lock);
8109# 799 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8110 flags = _raw_spin_lock_irqsave(tmp);
8111# 800 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8112 set_signals(info);
8113# 801 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8114 spin_unlock_irqrestore(& info->lock, flags);
8115 }
8116 } else {
8117
8118 }
8119 } else {
8120
8121 }
8122# 805 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8123 if ((old_termios->c_cflag & 4111U) == 0U) {
8124# 805 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8125 if (((tty->termios)->c_cflag & 4111U) != 0U) {
8126# 807 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8127 info->signals = (unsigned char )((unsigned int )info->signals | 128U);
8128# 808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8129 if ((int )(tty->termios)->c_cflag >= 0) {
8130# 810 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8131 info->signals = (unsigned char )((unsigned int )info->signals | 32U);
8132 } else {
8133 {
8134# 808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8135 tmp___0 = constant_test_bit(0U, (unsigned long const volatile *)(& tty->flags));
8136 }
8137# 808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8138 if (tmp___0 == 0) {
8139# 810 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8140 info->signals = (unsigned char )((unsigned int )info->signals | 32U);
8141 } else {
8142
8143 }
8144 }
8145 {
8146# 812 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8147 tmp___1 = spinlock_check(& info->lock);
8148# 812 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8149 flags = _raw_spin_lock_irqsave(tmp___1);
8150# 813 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8151 set_signals(info);
8152# 814 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8153 spin_unlock_irqrestore(& info->lock, flags);
8154 }
8155 } else {
8156
8157 }
8158 } else {
8159
8160 }
8161# 818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8162 if ((int )old_termios->c_cflag < 0) {
8163# 818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8164 if ((int )(tty->termios)->c_cflag >= 0) {
8165 {
8166# 820 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8167 tty->hw_stopped = (unsigned char)0;
8168# 821 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8169 tx_release(tty);
8170 }
8171 } else {
8172
8173 }
8174 } else {
8175
8176 }
8177# 823 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8178 return;
8179}
8180}
8181# 825 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8182static void update_tx_timer(struct slgt_info *info )
8183{ int timeout ;
8184 unsigned int tmp ;
8185 unsigned long tmp___0 ;
8186
8187 {
8188# 831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8189 if (info->params.mode == 2UL) {
8190 {
8191# 832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8192 tmp = tbuf_bytes(info);
8193# 832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8194 timeout = (int )(tmp * 7U + 1000U);
8195# 833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8196 tmp___0 = msecs_to_jiffies((unsigned int const )timeout);
8197# 833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8198 mod_timer(& info->tx_timer, tmp___0 + (unsigned long )jiffies);
8199 }
8200 } else {
8201
8202 }
8203# 835 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8204 return;
8205}
8206}
8207# 837 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8208static int write(struct tty_struct *tty , unsigned char const *buf , int count )
8209{ int ret ;
8210 struct slgt_info *info ;
8211 unsigned long flags ;
8212 int tmp ;
8213 raw_spinlock_t *tmp___0 ;
8214 bool tmp___1 ;
8215 int tmp___2 ;
8216 bool tmp___3 ;
8217
8218 {
8219 {
8220# 840 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8221 ret = 0;
8222# 841 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8223 info = (struct slgt_info *)tty->driver_data;
8224# 844 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8225 tmp = sanity_check(info, (char *)(& tty->name), "write");
8226 }
8227# 844 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8228 if (tmp != 0) {
8229# 845 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8230 return (-5);
8231 } else {
8232
8233 }
8234# 847 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8235 if (debug_level > 2) {
8236 {
8237# 847 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8238 printk("%s write count=%d\n", (char *)(& info->device_name), count);
8239 }
8240 } else {
8241
8242 }
8243# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8244 if ((unsigned long )info->tx_buf == (unsigned long )((unsigned char *)0)) {
8245# 850 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8246 return (-5);
8247 } else
8248# 849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8249 if ((u32 )count > info->max_frame_size) {
8250# 850 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8251 return (-5);
8252 } else {
8253
8254 }
8255# 852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8256 if (count == 0) {
8257# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8258 return (0);
8259 } else
8260# 852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8261 if ((unsigned int )*((unsigned char *)tty + 580UL) != 0U) {
8262# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8263 return (0);
8264 } else
8265# 852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8266 if ((unsigned int )*((unsigned char *)tty + 580UL) != 0U) {
8267# 853 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8268 return (0);
8269 } else {
8270
8271 }
8272 {
8273# 855 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8274 tmp___0 = spinlock_check(& info->lock);
8275# 855 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8276 flags = _raw_spin_lock_irqsave(tmp___0);
8277 }
8278# 857 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8279 if (info->tx_count != 0) {
8280 {
8281# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8282 tmp___1 = tx_load(info, (char const *)info->tx_buf, (unsigned int )info->tx_count);
8283 }
8284# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8285 if (tmp___1) {
8286# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8287 tmp___2 = 0;
8288 } else {
8289# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8290 tmp___2 = 1;
8291 }
8292# 859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8293 if (tmp___2) {
8294# 860 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8295 goto cleanup;
8296 } else {
8297
8298 }
8299# 861 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8300 info->tx_count = 0;
8301 } else {
8302
8303 }
8304 {
8305# 864 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8306 tmp___3 = tx_load(info, (char const *)buf, (unsigned int )count);
8307 }
8308# 864 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8309 if ((int )tmp___3) {
8310# 865 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8311 ret = count;
8312 } else {
8313
8314 }
8315 cleanup:
8316 {
8317# 868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8318 spin_unlock_irqrestore(& info->lock, flags);
8319 }
8320# 869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8321 if (debug_level > 2) {
8322 {
8323# 869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8324 printk("%s write rc=%d\n", (char *)(& info->device_name), ret);
8325 }
8326 } else {
8327
8328 }
8329# 870 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8330 return (ret);
8331}
8332}
8333# 873 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8334static int put_char(struct tty_struct *tty , unsigned char ch )
8335{ struct slgt_info *info ;
8336 unsigned long flags ;
8337 int ret ;
8338 int tmp ;
8339 raw_spinlock_t *tmp___0 ;
8340 int tmp___1 ;
8341
8342 {
8343 {
8344# 875 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8345 info = (struct slgt_info *)tty->driver_data;
8346# 877 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8347 ret = 0;
8348# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8349 tmp = sanity_check(info, (char *)(& tty->name), "put_char");
8350 }
8351# 879 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8352 if (tmp != 0) {
8353# 880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8354 return (0);
8355 } else {
8356
8357 }
8358# 881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8359 if (debug_level > 2) {
8360 {
8361# 881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8362 printk("%s put_char(%d)\n", (char *)(& info->device_name), (int )ch);
8363 }
8364 } else {
8365
8366 }
8367# 882 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8368 if ((unsigned long )info->tx_buf == (unsigned long )((unsigned char *)0)) {
8369# 883 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8370 return (0);
8371 } else {
8372
8373 }
8374 {
8375# 884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8376 tmp___0 = spinlock_check(& info->lock);
8377# 884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8378 flags = _raw_spin_lock_irqsave(tmp___0);
8379 }
8380# 885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8381 if ((u32 )info->tx_count < info->max_frame_size) {
8382# 886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8383 tmp___1 = info->tx_count;
8384# 886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8385 info->tx_count = info->tx_count + 1;
8386# 886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8387 *(info->tx_buf + (unsigned long )tmp___1) = ch;
8388# 887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8389 ret = 1;
8390 } else {
8391
8392 }
8393 {
8394# 889 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8395 spin_unlock_irqrestore(& info->lock, flags);
8396 }
8397# 890 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8398 return (ret);
8399}
8400}
8401# 893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8402static void send_xchar(struct tty_struct *tty , char ch )
8403{ struct slgt_info *info ;
8404 unsigned long flags ;
8405 int tmp ;
8406 raw_spinlock_t *tmp___0 ;
8407
8408 {
8409 {
8410# 895 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8411 info = (struct slgt_info *)tty->driver_data;
8412# 898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8413 tmp = sanity_check(info, (char *)(& tty->name), "send_xchar");
8414 }
8415# 898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8416 if (tmp != 0) {
8417# 899 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8418 return;
8419 } else {
8420
8421 }
8422# 900 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8423 if (debug_level > 2) {
8424 {
8425# 900 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8426 printk("%s send_xchar(%d)\n", (char *)(& info->device_name), (int )ch);
8427 }
8428 } else {
8429
8430 }
8431# 901 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8432 info->x_char = (int )ch;
8433# 902 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8434 if ((int )((signed char )ch) != 0) {
8435 {
8436# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8437 tmp___0 = spinlock_check(& info->lock);
8438# 903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8439 flags = _raw_spin_lock_irqsave(tmp___0);
8440 }
8441# 904 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8442 if (! info->tx_enabled) {
8443 {
8444# 905 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8445 tx_start(info);
8446 }
8447 } else {
8448
8449 }
8450 {
8451# 906 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8452 spin_unlock_irqrestore(& info->lock, flags);
8453 }
8454 } else {
8455
8456 }
8457# 908 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8458 return;
8459}
8460}
8461# 910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8462static void wait_until_sent(struct tty_struct *tty , int timeout )
8463{ struct slgt_info *info ;
8464 unsigned long orig_jiffies ;
8465 unsigned long char_time ;
8466 int tmp ;
8467 unsigned long __min1 ;
8468 unsigned long __min2 ;
8469 unsigned long tmp___0 ;
8470 unsigned int tmp___1 ;
8471 struct task_struct *tmp___2 ;
8472 int tmp___3 ;
8473
8474 {
8475# 912 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8476 info = (struct slgt_info *)tty->driver_data;
8477# 915 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8478 if ((unsigned long )info == (unsigned long )((struct slgt_info *)0)) {
8479# 916 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8480 return;
8481 } else {
8482
8483 }
8484 {
8485# 917 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8486 tmp = sanity_check(info, (char *)(& tty->name), "wait_until_sent");
8487 }
8488# 917 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8489 if (tmp != 0) {
8490# 918 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8491 return;
8492 } else {
8493
8494 }
8495# 919 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8496 if (debug_level > 2) {
8497 {
8498# 919 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8499 printk("%s wait_until_sent entry\n", (char *)(& info->device_name));
8500 }
8501 } else {
8502
8503 }
8504# 920 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8505 if ((info->port.flags & 2147483648UL) == 0UL) {
8506# 921 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8507 goto exit;
8508 } else {
8509
8510 }
8511# 923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8512 orig_jiffies = (unsigned long )jiffies;
8513# 931 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8514 if (info->params.data_rate != 0UL) {
8515# 932 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8516 char_time = (unsigned long )(info->timeout / 160);
8517# 933 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8518 if (char_time == 0UL) {
8519# 934 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8520 char_time = char_time + 1UL;
8521 } else {
8522
8523 }
8524 } else {
8525# 936 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8526 char_time = 1UL;
8527 }
8528# 938 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8529 if (timeout != 0) {
8530# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8531 __min1 = char_time;
8532# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8533 __min2 = (unsigned long )timeout;
8534# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8535 if (__min1 < __min2) {
8536# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8537 tmp___0 = __min1;
8538 } else {
8539# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8540 tmp___0 = __min2;
8541 }
8542# 939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8543 char_time = tmp___0;
8544 } else {
8545
8546 }
8547# 941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8548 goto ldv_36545;
8549 ldv_36544:
8550 {
8551# 942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8552 tmp___1 = jiffies_to_msecs((unsigned long const )char_time);
8553# 942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8554 msleep_interruptible(tmp___1);
8555# 943 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8556 tmp___2 = get_current();
8557# 943 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8558 tmp___3 = signal_pending(tmp___2);
8559 }
8560# 943 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8561 if (tmp___3 != 0) {
8562# 944 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8563 goto ldv_36537;
8564 } else {
8565
8566 }
8567# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8568 if (timeout != 0) {
8569# 945 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8570 if ((long )((unsigned long )timeout + orig_jiffies) - (long )jiffies < 0L) {
8571# 946 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8572 goto ldv_36537;
8573 } else {
8574
8575 }
8576 } else {
8577
8578 }
8579 ldv_36545: ;
8580# 941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8581 if ((int )info->tx_active) {
8582# 942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8583 goto ldv_36544;
8584 } else {
8585# 944 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8586 goto ldv_36537;
8587 }
8588 ldv_36537: ;
8589 exit: ;
8590# 949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8591 if (debug_level > 2) {
8592 {
8593# 949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8594 printk("%s wait_until_sent exit\n", (char *)(& info->device_name));
8595 }
8596 } else {
8597
8598 }
8599# 950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8600 return;
8601}
8602}
8603# 952 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8604static int write_room(struct tty_struct *tty )
8605{ struct slgt_info *info ;
8606 int ret ;
8607 int tmp ;
8608
8609 {
8610 {
8611# 954 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8612 info = (struct slgt_info *)tty->driver_data;
8613# 957 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8614 tmp = sanity_check(info, (char *)(& tty->name), "write_room");
8615 }
8616# 957 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8617 if (tmp != 0) {
8618# 958 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8619 return (0);
8620 } else {
8621
8622 }
8623# 959 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8624 if ((int )info->tx_active) {
8625# 959 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8626 ret = 0;
8627 } else {
8628# 959 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8629 ret = 65535;
8630 }
8631# 960 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8632 if (debug_level > 2) {
8633 {
8634# 960 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8635 printk("%s write_room=%d\n", (char *)(& info->device_name), ret);
8636 }
8637 } else {
8638
8639 }
8640# 961 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8641 return (ret);
8642}
8643}
8644# 964 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8645static void flush_chars(struct tty_struct *tty )
8646{ struct slgt_info *info ;
8647 unsigned long flags ;
8648 int tmp ;
8649 raw_spinlock_t *tmp___0 ;
8650 bool tmp___1 ;
8651
8652 {
8653 {
8654# 966 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8655 info = (struct slgt_info *)tty->driver_data;
8656# 969 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8657 tmp = sanity_check(info, (char *)(& tty->name), "flush_chars");
8658 }
8659# 969 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8660 if (tmp != 0) {
8661# 970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8662 return;
8663 } else {
8664
8665 }
8666# 971 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8667 if (debug_level > 2) {
8668 {
8669# 971 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8670 printk("%s flush_chars entry tx_count=%d\n", (char *)(& info->device_name), info->tx_count);
8671 }
8672 } else {
8673
8674 }
8675# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8676 if (info->tx_count <= 0) {
8677# 975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8678 return;
8679 } else
8680# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8681 if ((unsigned int )*((unsigned char *)tty + 580UL) != 0U) {
8682# 975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8683 return;
8684 } else
8685# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8686 if ((unsigned int )*((unsigned char *)tty + 580UL) != 0U) {
8687# 975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8688 return;
8689 } else
8690# 973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8691 if ((unsigned long )info->tx_buf == (unsigned long )((unsigned char *)0)) {
8692# 975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8693 return;
8694 } else {
8695
8696 }
8697# 977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8698 if (debug_level > 2) {
8699 {
8700# 977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8701 printk("%s flush_chars start transmit\n", (char *)(& info->device_name));
8702 }
8703 } else {
8704
8705 }
8706 {
8707# 979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8708 tmp___0 = spinlock_check(& info->lock);
8709# 979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8710 flags = _raw_spin_lock_irqsave(tmp___0);
8711 }
8712# 980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8713 if (info->tx_count != 0) {
8714 {
8715# 980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8716 tmp___1 = tx_load(info, (char const *)info->tx_buf, (unsigned int )info->tx_count);
8717 }
8718# 980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8719 if ((int )tmp___1) {
8720# 981 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8721 info->tx_count = 0;
8722 } else {
8723
8724 }
8725 } else {
8726
8727 }
8728 {
8729# 982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8730 spin_unlock_irqrestore(& info->lock, flags);
8731 }
8732# 983 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8733 return;
8734}
8735}
8736# 985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8737static void flush_buffer(struct tty_struct *tty )
8738{ struct slgt_info *info ;
8739 unsigned long flags ;
8740 int tmp ;
8741 raw_spinlock_t *tmp___0 ;
8742
8743 {
8744 {
8745# 987 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8746 info = (struct slgt_info *)tty->driver_data;
8747# 990 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8748 tmp = sanity_check(info, (char *)(& tty->name), "flush_buffer");
8749 }
8750# 990 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8751 if (tmp != 0) {
8752# 991 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8753 return;
8754 } else {
8755
8756 }
8757# 992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8758 if (debug_level > 2) {
8759 {
8760# 992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8761 printk("%s flush_buffer\n", (char *)(& info->device_name));
8762 }
8763 } else {
8764
8765 }
8766 {
8767# 994 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8768 tmp___0 = spinlock_check(& info->lock);
8769# 994 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8770 flags = _raw_spin_lock_irqsave(tmp___0);
8771# 995 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8772 info->tx_count = 0;
8773# 996 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8774 spin_unlock_irqrestore(& info->lock, flags);
8775# 998 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8776 tty_wakeup(tty);
8777 }
8778# 999 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8779 return;
8780}
8781}
8782# 1004 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8783static void tx_hold(struct tty_struct *tty )
8784{ struct slgt_info *info ;
8785 unsigned long flags ;
8786 int tmp ;
8787 raw_spinlock_t *tmp___0 ;
8788
8789 {
8790 {
8791# 1006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8792 info = (struct slgt_info *)tty->driver_data;
8793# 1009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8794 tmp = sanity_check(info, (char *)(& tty->name), "tx_hold");
8795 }
8796# 1009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8797 if (tmp != 0) {
8798# 1010 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8799 return;
8800 } else {
8801
8802 }
8803# 1011 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8804 if (debug_level > 2) {
8805 {
8806# 1011 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8807 printk("%s tx_hold\n", (char *)(& info->device_name));
8808 }
8809 } else {
8810
8811 }
8812 {
8813# 1012 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8814 tmp___0 = spinlock_check(& info->lock);
8815# 1012 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8816 flags = _raw_spin_lock_irqsave(tmp___0);
8817 }
8818# 1013 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8819 if ((int )info->tx_enabled) {
8820# 1013 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8821 if (info->params.mode == 1UL) {
8822 {
8823# 1014 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8824 tx_stop(info);
8825 }
8826 } else {
8827
8828 }
8829 } else {
8830
8831 }
8832 {
8833# 1015 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8834 spin_unlock_irqrestore(& info->lock, flags);
8835 }
8836# 1016 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8837 return;
8838}
8839}
8840# 1021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8841static void tx_release(struct tty_struct *tty )
8842{ struct slgt_info *info ;
8843 unsigned long flags ;
8844 int tmp ;
8845 raw_spinlock_t *tmp___0 ;
8846 bool tmp___1 ;
8847
8848 {
8849 {
8850# 1023 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8851 info = (struct slgt_info *)tty->driver_data;
8852# 1026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8853 tmp = sanity_check(info, (char *)(& tty->name), "tx_release");
8854 }
8855# 1026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8856 if (tmp != 0) {
8857# 1027 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8858 return;
8859 } else {
8860
8861 }
8862# 1028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8863 if (debug_level > 2) {
8864 {
8865# 1028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8866 printk("%s tx_release\n", (char *)(& info->device_name));
8867 }
8868 } else {
8869
8870 }
8871 {
8872# 1029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8873 tmp___0 = spinlock_check(& info->lock);
8874# 1029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8875 flags = _raw_spin_lock_irqsave(tmp___0);
8876 }
8877# 1030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8878 if (info->tx_count != 0) {
8879 {
8880# 1030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8881 tmp___1 = tx_load(info, (char const *)info->tx_buf, (unsigned int )info->tx_count);
8882 }
8883# 1030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8884 if ((int )tmp___1) {
8885# 1031 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8886 info->tx_count = 0;
8887 } else {
8888
8889 }
8890 } else {
8891
8892 }
8893 {
8894# 1032 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8895 spin_unlock_irqrestore(& info->lock, flags);
8896 }
8897# 1033 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8898 return;
8899}
8900}
8901# 1046 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8902static int ioctl(struct tty_struct *tty , unsigned int cmd , unsigned long arg )
8903{ struct slgt_info *info ;
8904 void *argp ;
8905 int ret ;
8906 int tmp ;
8907 int tmp___0 ;
8908 int tmp___1 ;
8909 int tmp___2 ;
8910 int tmp___3 ;
8911 int tmp___4 ;
8912 int tmp___5 ;
8913 int tmp___6 ;
8914 int tmp___7 ;
8915 int tmp___8 ;
8916
8917 {
8918 {
8919# 1049 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8920 info = (struct slgt_info *)tty->driver_data;
8921# 1050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8922 argp = (void *)arg;
8923# 1053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8924 tmp = sanity_check(info, (char *)(& tty->name), "ioctl");
8925 }
8926# 1053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8927 if (tmp != 0) {
8928# 1054 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8929 return (-19);
8930 } else {
8931
8932 }
8933# 1055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8934 if (debug_level > 2) {
8935 {
8936# 1055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8937 printk("%s ioctl() cmd=%08X\n", (char *)(& info->device_name), cmd);
8938 }
8939 } else {
8940
8941 }
8942# 1057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8943 if (cmd != 21534U) {
8944# 1057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8945 if (cmd != 21535U) {
8946# 1057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8947 if (cmd != 21596U) {
8948# 1059 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8949 if ((tty->flags & 2UL) != 0UL) {
8950# 1060 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8951 return (-5);
8952 } else {
8953
8954 }
8955 } else {
8956
8957 }
8958 } else {
8959
8960 }
8961 } else {
8962
8963 }
8964# 1064 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8965 if ((int )cmd == -1073451768) {
8966# 1064 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8967 goto case_neg_1073451768;
8968 } else
8969# 1066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8970 if ((int )cmd == 21596) {
8971# 1066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8972 goto case_21596;
8973 } else
8974# 1068 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8975 if ((int )cmd == 1074818320) {
8976# 1068 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8977 goto case_1074818320;
8978 } else
8979# 1070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8980 if ((int )cmd == -2146407151) {
8981# 1070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8982 goto case_neg_2146407151;
8983 } else
8984# 1072 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8985 if ((int )cmd == -1072665326) {
8986# 1072 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8987 goto case_neg_1072665326;
8988 } else
8989# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8990 if ((int )cmd == 27924) {
8991# 1074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8992 goto case_27924;
8993 } else
8994# 1076 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8995 if ((int )cmd == 27923) {
8996# 1076 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
8997 goto case_27923;
8998 } else
8999# 1078 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9000 if ((int )cmd == 27926) {
9001# 1078 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9002 goto case_27926;
9003 } else
9004# 1080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9005 if ((int )cmd == 27925) {
9006# 1080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9007 goto case_27925;
9008 } else
9009# 1063 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9010 if (0) {
9011 case_neg_1073451768:
9012 {
9013# 1065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9014 tmp___0 = wait_mgsl_event(info, (int *)argp);
9015 }
9016# 1065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9017 return (tmp___0);
9018 case_21596:
9019 {
9020# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9021 tmp___1 = modem_input_wait(info, (int )arg);
9022 }
9023# 1067 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9024 return (tmp___1);
9025 case_1074818320:
9026 {
9027# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9028 tmp___2 = set_gpio(info, (struct gpio_desc *)argp);
9029 }
9030# 1069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9031 return (tmp___2);
9032 case_neg_2146407151:
9033 {
9034# 1071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9035 tmp___3 = get_gpio(info, (struct gpio_desc *)argp);
9036 }
9037# 1071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9038 return (tmp___3);
9039 case_neg_1072665326:
9040 {
9041# 1073 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9042 tmp___4 = wait_gpio(info, (struct gpio_desc *)argp);
9043 }
9044# 1073 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9045 return (tmp___4);
9046 case_27924:
9047 {
9048# 1075 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9049 tmp___5 = get_xsync(info, (int *)argp);
9050 }
9051# 1075 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9052 return (tmp___5);
9053 case_27923:
9054 {
9055# 1077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9056 tmp___6 = set_xsync(info, (int )arg);
9057 }
9058# 1077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9059 return (tmp___6);
9060 case_27926:
9061 {
9062# 1079 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9063 tmp___7 = get_xctrl(info, (int *)argp);
9064 }
9065# 1079 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9066 return (tmp___7);
9067 case_27925:
9068 {
9069# 1081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9070 tmp___8 = set_xctrl(info, (int )arg);
9071 }
9072# 1081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9073 return (tmp___8);
9074 } else {
9075
9076 }
9077 {
9078# 1083 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9079 mutex_lock_nested(& info->port.mutex, 0U);
9080 }
9081# 1085 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9082 if ((int )cmd == -2144310015) {
9083# 1085 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9084 goto case_neg_2144310015;
9085 } else
9086# 1088 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9087 if ((int )cmd == 1076915456) {
9088# 1088 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9089 goto case_1076915456;
9090 } else
9091# 1091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9092 if ((int )cmd == 27907) {
9093# 1091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9094 goto case_27907;
9095 } else
9096# 1094 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9097 if ((int )cmd == 27906) {
9098# 1094 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9099 goto case_27906;
9100 } else
9101# 1097 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9102 if ((int )cmd == 27908) {
9103# 1097 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9104 goto case_27908;
9105 } else
9106# 1100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9107 if ((int )cmd == 27909) {
9108# 1100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9109 goto case_27909;
9110 } else
9111# 1103 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9112 if ((int )cmd == 27910) {
9113# 1103 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9114 goto case_27910;
9115 } else
9116# 1106 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9117 if ((int )cmd == 27911) {
9118# 1106 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9119 goto case_27911;
9120 } else
9121# 1109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9122 if ((int )cmd == 27915) {
9123# 1109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9124 goto case_27915;
9125 } else
9126# 1112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9127 if ((int )cmd == 27914) {
9128# 1112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9129 goto case_27914;
9130 } else {
9131# 1115 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9132 goto switch_default;
9133# 1084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9134 if (0) {
9135 case_neg_2144310015:
9136 {
9137# 1086 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9138 ret = get_params(info, (MGSL_PARAMS *)argp);
9139 }
9140# 1087 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9141 goto ldv_36601;
9142 case_1076915456:
9143 {
9144# 1089 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9145 ret = set_params(info, (MGSL_PARAMS *)argp);
9146 }
9147# 1090 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9148 goto ldv_36601;
9149 case_27907:
9150 {
9151# 1092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9152 ret = get_txidle(info, (int *)argp);
9153 }
9154# 1093 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9155 goto ldv_36601;
9156 case_27906:
9157 {
9158# 1095 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9159 ret = set_txidle(info, (int )arg);
9160 }
9161# 1096 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9162 goto ldv_36601;
9163 case_27908:
9164 {
9165# 1098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9166 ret = tx_enable(info, (int )arg);
9167 }
9168# 1099 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9169 goto ldv_36601;
9170 case_27909:
9171 {
9172# 1101 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9173 ret = rx_enable(info, (int )arg);
9174 }
9175# 1102 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9176 goto ldv_36601;
9177 case_27910:
9178 {
9179# 1104 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9180 ret = tx_abort(info);
9181 }
9182# 1105 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9183 goto ldv_36601;
9184 case_27911:
9185 {
9186# 1107 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9187 ret = get_stats(info, (struct mgsl_icount *)argp);
9188 }
9189# 1108 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9190 goto ldv_36601;
9191 case_27915:
9192 {
9193# 1110 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9194 ret = get_interface(info, (int *)argp);
9195 }
9196# 1111 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9197 goto ldv_36601;
9198 case_27914:
9199 {
9200# 1113 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9201 ret = set_interface(info, (int )arg);
9202 }
9203# 1114 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9204 goto ldv_36601;
9205 switch_default:
9206# 1116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9207 ret = -515;
9208 } else {
9209
9210 }
9211 }
9212 ldv_36601:
9213 {
9214# 1118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9215 mutex_unlock(& info->port.mutex);
9216 }
9217# 1119 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9218 return (ret);
9219}
9220}
9221# 1122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9222static int get_icount(struct tty_struct *tty , struct serial_icounter_struct *icount )
9223{ struct slgt_info *info ;
9224 struct mgsl_icount cnow ;
9225 unsigned long flags ;
9226 raw_spinlock_t *tmp ;
9227
9228 {
9229 {
9230# 1126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9231 info = (struct slgt_info *)tty->driver_data;
9232# 1130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9233 tmp = spinlock_check(& info->lock);
9234# 1130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9235 flags = _raw_spin_lock_irqsave(tmp);
9236# 1131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9237 cnow = info->icount;
9238# 1132 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9239 spin_unlock_irqrestore(& info->lock, flags);
9240# 1134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9241 icount->cts = (int )cnow.cts;
9242# 1135 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9243 icount->dsr = (int )cnow.dsr;
9244# 1136 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9245 icount->rng = (int )cnow.rng;
9246# 1137 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9247 icount->dcd = (int )cnow.dcd;
9248# 1138 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9249 icount->rx = (int )cnow.rx;
9250# 1139 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9251 icount->tx = (int )cnow.tx;
9252# 1140 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9253 icount->frame = (int )cnow.frame;
9254# 1141 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9255 icount->overrun = (int )cnow.overrun;
9256# 1142 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9257 icount->parity = (int )cnow.parity;
9258# 1143 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9259 icount->brk = (int )cnow.brk;
9260# 1144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9261 icount->buf_overrun = (int )cnow.buf_overrun;
9262 }
9263# 1146 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9264 return (0);
9265}
9266}
9267# 1153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9268static long get_params32(struct slgt_info *info , struct MGSL_PARAMS32 *user_params )
9269{ struct MGSL_PARAMS32 tmp_params ;
9270 int tmp ;
9271
9272 {
9273# 1157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9274 if (debug_level > 2) {
9275 {
9276# 1157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9277 printk("%s get_params32\n", (char *)(& info->device_name));
9278 }
9279 } else {
9280
9281 }
9282 {
9283# 1158 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9284 memset((void *)(& tmp_params), 0, 32UL);
9285# 1159 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9286 tmp_params.mode = (unsigned int )info->params.mode;
9287# 1160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9288 tmp_params.loopback = info->params.loopback;
9289# 1161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9290 tmp_params.flags = info->params.flags;
9291# 1162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9292 tmp_params.encoding = info->params.encoding;
9293# 1163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9294 tmp_params.clock_speed = (unsigned int )info->params.clock_speed;
9295# 1164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9296 tmp_params.addr_filter = info->params.addr_filter;
9297# 1165 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9298 tmp_params.crc_type = info->params.crc_type;
9299# 1166 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9300 tmp_params.preamble_length = info->params.preamble_length;
9301# 1167 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9302 tmp_params.preamble = info->params.preamble;
9303# 1168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9304 tmp_params.data_rate = (unsigned int )info->params.data_rate;
9305# 1169 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9306 tmp_params.data_bits = info->params.data_bits;
9307# 1170 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9308 tmp_params.stop_bits = info->params.stop_bits;
9309# 1171 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9310 tmp_params.parity = info->params.parity;
9311# 1172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9312 tmp = copy_to_user((void *)user_params, (void const *)(& tmp_params), 32U);
9313 }
9314# 1172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9315 if (tmp != 0) {
9316# 1173 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9317 return (-14L);
9318 } else {
9319
9320 }
9321# 1174 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9322 return (0L);
9323}
9324}
9325# 1177 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9326static long set_params32(struct slgt_info *info , struct MGSL_PARAMS32 *new_params )
9327{ struct MGSL_PARAMS32 tmp_params ;
9328 unsigned long tmp ;
9329
9330 {
9331# 1181 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9332 if (debug_level > 2) {
9333 {
9334# 1181 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9335 printk("%s set_params32\n", (char *)(& info->device_name));
9336 }
9337 } else {
9338
9339 }
9340 {
9341# 1182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9342 tmp = copy_from_user((void *)(& tmp_params), (void const *)new_params, 32UL);
9343 }
9344# 1182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9345 if (tmp != 0UL) {
9346# 1183 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9347 return (-14L);
9348 } else {
9349
9350 }
9351 {
9352# 1185 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9353 spin_lock(& info->lock);
9354 }
9355# 1186 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9356 if (tmp_params.mode == 7U) {
9357# 1187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9358 info->base_clock = tmp_params.clock_speed;
9359 } else {
9360# 1189 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9361 info->params.mode = (unsigned long )tmp_params.mode;
9362# 1190 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9363 info->params.loopback = tmp_params.loopback;
9364# 1191 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9365 info->params.flags = tmp_params.flags;
9366# 1192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9367 info->params.encoding = tmp_params.encoding;
9368# 1193 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9369 info->params.clock_speed = (unsigned long )tmp_params.clock_speed;
9370# 1194 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9371 info->params.addr_filter = tmp_params.addr_filter;
9372# 1195 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9373 info->params.crc_type = tmp_params.crc_type;
9374# 1196 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9375 info->params.preamble_length = tmp_params.preamble_length;
9376# 1197 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9377 info->params.preamble = tmp_params.preamble;
9378# 1198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9379 info->params.data_rate = (unsigned long )tmp_params.data_rate;
9380# 1199 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9381 info->params.data_bits = tmp_params.data_bits;
9382# 1200 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9383 info->params.stop_bits = tmp_params.stop_bits;
9384# 1201 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9385 info->params.parity = tmp_params.parity;
9386 }
9387 {
9388# 1203 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9389 spin_unlock(& info->lock);
9390# 1205 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9391 program_hw(info);
9392 }
9393# 1207 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9394 return (0L);
9395}
9396}
9397# 1210 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9398static long slgt_compat_ioctl(struct tty_struct *tty , unsigned int cmd , unsigned long arg )
9399{ struct slgt_info *info ;
9400 int rc ;
9401 int tmp ;
9402 void *tmp___0 ;
9403 long tmp___1 ;
9404 void *tmp___2 ;
9405 long tmp___3 ;
9406
9407 {
9408 {
9409# 1213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9410 info = (struct slgt_info *)tty->driver_data;
9411# 1214 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9412 rc = -515;
9413# 1216 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9414 tmp = sanity_check(info, (char *)(& tty->name), "compat_ioctl");
9415 }
9416# 1216 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9417 if (tmp != 0) {
9418# 1217 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9419 return (-19L);
9420 } else {
9421
9422 }
9423# 1218 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9424 if (debug_level > 2) {
9425 {
9426# 1218 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9427 printk("%s compat_ioctl() cmd=%08X\n", (char *)(& info->device_name), cmd);
9428 }
9429 } else {
9430
9431 }
9432# 1222 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9433 if ((int )cmd == 1075866880) {
9434# 1222 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9435 goto case_1075866880;
9436 } else
9437# 1226 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9438 if ((int )cmd == -2145358591) {
9439# 1226 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9440 goto case_neg_2145358591;
9441 } else
9442# 1230 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9443 if ((int )cmd == -2144310015) {
9444# 1230 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9445 goto case_neg_2144310015;
9446 } else
9447# 1231 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9448 if ((int )cmd == 1076915456) {
9449# 1231 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9450 goto case_1076915456;
9451 } else
9452# 1232 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9453 if ((int )cmd == 27907) {
9454# 1232 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9455 goto case_27907;
9456 } else
9457# 1233 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9458 if ((int )cmd == 27911) {
9459# 1233 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9460 goto case_27911;
9461 } else
9462# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9463 if ((int )cmd == -1073451768) {
9464# 1234 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9465 goto case_neg_1073451768;
9466 } else
9467# 1235 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9468 if ((int )cmd == 27915) {
9469# 1235 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9470 goto case_27915;
9471 } else
9472# 1236 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9473 if ((int )cmd == 1074818320) {
9474# 1236 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9475 goto case_1074818320;
9476 } else
9477# 1237 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9478 if ((int )cmd == -2146407151) {
9479# 1237 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9480 goto case_neg_2146407151;
9481 } else
9482# 1238 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9483 if ((int )cmd == -1072665326) {
9484# 1238 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9485 goto case_neg_1072665326;
9486 } else
9487# 1239 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9488 if ((int )cmd == 27924) {
9489# 1239 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9490 goto case_27924;
9491 } else
9492# 1240 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9493 if ((int )cmd == 27926) {
9494# 1240 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9495 goto case_27926;
9496 } else
9497# 1241 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9498 if ((int )cmd == 27906) {
9499# 1241 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9500 goto case_27906;
9501 } else
9502# 1242 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9503 if ((int )cmd == 27908) {
9504# 1242 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9505 goto case_27908;
9506 } else
9507# 1243 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9508 if ((int )cmd == 27909) {
9509# 1243 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9510 goto case_27909;
9511 } else
9512# 1244 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9513 if ((int )cmd == 27910) {
9514# 1244 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9515 goto case_27910;
9516 } else
9517# 1245 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9518 if ((int )cmd == 21596) {
9519# 1245 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9520 goto case_21596;
9521 } else
9522# 1246 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9523 if ((int )cmd == 27914) {
9524# 1246 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9525 goto case_27914;
9526 } else
9527# 1247 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9528 if ((int )cmd == 27923) {
9529# 1247 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9530 goto case_27923;
9531 } else
9532# 1248 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9533 if ((int )cmd == 27925) {
9534# 1248 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9535 goto case_27925;
9536 } else
9537# 1220 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9538 if (0) {
9539 case_1075866880:
9540 {
9541# 1223 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9542 tmp___0 = compat_ptr((compat_uptr_t )arg);
9543# 1223 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9544 tmp___1 = set_params32(info, (struct MGSL_PARAMS32 *)tmp___0);
9545# 1223 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9546 rc = (int )tmp___1;
9547 }
9548# 1224 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9549 goto ldv_36640;
9550 case_neg_2145358591:
9551 {
9552# 1227 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9553 tmp___2 = compat_ptr((compat_uptr_t )arg);
9554# 1227 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9555 tmp___3 = get_params32(info, (struct MGSL_PARAMS32 *)tmp___2);
9556# 1227 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9557 rc = (int )tmp___3;
9558 }
9559# 1228 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9560 goto ldv_36640;
9561 case_neg_2144310015: ;
9562 case_1076915456: ;
9563 case_27907: ;
9564 case_27911: ;
9565 case_neg_1073451768: ;
9566 case_27915: ;
9567 case_1074818320: ;
9568 case_neg_2146407151: ;
9569 case_neg_1072665326: ;
9570 case_27924: ;
9571 case_27926: ;
9572 case_27906: ;
9573 case_27908: ;
9574 case_27909: ;
9575 case_27910: ;
9576 case_21596: ;
9577 case_27914: ;
9578 case_27923: ;
9579 case_27925:
9580 {
9581# 1249 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9582 rc = ioctl(tty, cmd, arg);
9583 }
9584# 1250 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9585 goto ldv_36640;
9586 } else {
9587
9588 }
9589 ldv_36640: ;
9590# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9591 if (debug_level > 2) {
9592 {
9593# 1253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9594 printk("%s compat_ioctl() cmd=%08X rc=%d\n", (char *)(& info->device_name), cmd,
9595 rc);
9596 }
9597 } else {
9598
9599 }
9600# 1254 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9601 return ((long )rc);
9602}
9603}
9604# 1263 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9605__inline static void line_info(struct seq_file *m , struct slgt_info *info )
9606{ char stat_buf[30U] ;
9607 unsigned long flags ;
9608 raw_spinlock_t *tmp ;
9609
9610 {
9611 {
9612# 1268 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9613 seq_printf(m, "%s: IO=%08X IRQ=%d MaxFrameSize=%u\n", (char *)(& info->device_name),
9614 info->phys_reg_addr, info->irq_level, info->max_frame_size);
9615# 1273 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9616 tmp = spinlock_check(& info->lock);
9617# 1273 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9618 flags = _raw_spin_lock_irqsave(tmp);
9619# 1274 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9620 get_signals(info);
9621# 1275 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9622 spin_unlock_irqrestore(& info->lock, flags);
9623# 1277 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9624 stat_buf[0] = (char)0;
9625# 1278 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9626 stat_buf[1] = (char)0;
9627 }
9628# 1279 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9629 if (((int )info->signals & 32) != 0) {
9630 {
9631# 1280 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9632 strcat((char *)(& stat_buf), "|RTS");
9633 }
9634 } else {
9635
9636 }
9637# 1281 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9638 if (((int )info->signals & 16) != 0) {
9639 {
9640# 1282 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9641 strcat((char *)(& stat_buf), "|CTS");
9642 }
9643 } else {
9644
9645 }
9646# 1283 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9647 if ((int )((signed char )info->signals) < 0) {
9648 {
9649# 1284 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9650 strcat((char *)(& stat_buf), "|DTR");
9651 }
9652 } else {
9653
9654 }
9655# 1285 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9656 if (((int )info->signals & 64) != 0) {
9657 {
9658# 1286 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9659 strcat((char *)(& stat_buf), "|DSR");
9660 }
9661 } else {
9662
9663 }
9664# 1287 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9665 if ((int )info->signals & 1) {
9666 {
9667# 1288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9668 strcat((char *)(& stat_buf), "|CD");
9669 }
9670 } else {
9671
9672 }
9673# 1289 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9674 if (((int )info->signals & 4) != 0) {
9675 {
9676# 1290 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9677 strcat((char *)(& stat_buf), "|RI");
9678 }
9679 } else {
9680
9681 }
9682# 1292 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9683 if (info->params.mode != 1UL) {
9684 {
9685# 1293 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9686 seq_printf(m, "\tHDLC txok:%d rxok:%d", info->icount.txok, info->icount.rxok);
9687 }
9688# 1295 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9689 if (info->icount.txunder != 0U) {
9690 {
9691# 1296 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9692 seq_printf(m, " txunder:%d", info->icount.txunder);
9693 }
9694 } else {
9695
9696 }
9697# 1297 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9698 if (info->icount.txabort != 0U) {
9699 {
9700# 1298 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9701 seq_printf(m, " txabort:%d", info->icount.txabort);
9702 }
9703 } else {
9704
9705 }
9706# 1299 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9707 if (info->icount.rxshort != 0U) {
9708 {
9709# 1300 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9710 seq_printf(m, " rxshort:%d", info->icount.rxshort);
9711 }
9712 } else {
9713
9714 }
9715# 1301 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9716 if (info->icount.rxlong != 0U) {
9717 {
9718# 1302 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9719 seq_printf(m, " rxlong:%d", info->icount.rxlong);
9720 }
9721 } else {
9722
9723 }
9724# 1303 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9725 if (info->icount.rxover != 0U) {
9726 {
9727# 1304 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9728 seq_printf(m, " rxover:%d", info->icount.rxover);
9729 }
9730 } else {
9731
9732 }
9733# 1305 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9734 if (info->icount.rxcrc != 0U) {
9735 {
9736# 1306 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9737 seq_printf(m, " rxcrc:%d", info->icount.rxcrc);
9738 }
9739 } else {
9740
9741 }
9742 } else {
9743 {
9744# 1308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9745 seq_printf(m, "\tASYNC tx:%d rx:%d", info->icount.tx, info->icount.rx);
9746 }
9747# 1310 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9748 if (info->icount.frame != 0U) {
9749 {
9750# 1311 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9751 seq_printf(m, " fe:%d", info->icount.frame);
9752 }
9753 } else {
9754
9755 }
9756# 1312 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9757 if (info->icount.parity != 0U) {
9758 {
9759# 1313 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9760 seq_printf(m, " pe:%d", info->icount.parity);
9761 }
9762 } else {
9763
9764 }
9765# 1314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9766 if (info->icount.brk != 0U) {
9767 {
9768# 1315 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9769 seq_printf(m, " brk:%d", info->icount.brk);
9770 }
9771 } else {
9772
9773 }
9774# 1316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9775 if (info->icount.overrun != 0U) {
9776 {
9777# 1317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9778 seq_printf(m, " oe:%d", info->icount.overrun);
9779 }
9780 } else {
9781
9782 }
9783 }
9784 {
9785# 1321 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9786 seq_printf(m, " %s\n", (char *)(& stat_buf) + 1UL);
9787# 1323 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9788 seq_printf(m, "\ttxactive=%d bh_req=%d bh_run=%d pending_bh=%x\n", (int )info->tx_active,
9789 (int )info->bh_requested, (int )info->bh_running, info->pending_bh);
9790 }
9791# 1326 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9792 return;
9793}
9794}
9795# 1330 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9796static int synclink_gt_proc_show(struct seq_file *m , void *v )
9797{ struct slgt_info *info ;
9798
9799 {
9800 {
9801# 1334 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9802 seq_puts(m, "synclink_gt driver\n");
9803# 1336 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9804 info = slgt_device_list;
9805 }
9806# 1337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9807 goto ldv_36676;
9808 ldv_36675:
9809 {
9810# 1338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9811 line_info(m, info);
9812# 1339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9813 info = info->next_device;
9814 }
9815 ldv_36676: ;
9816# 1337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9817 if ((unsigned long )info != (unsigned long )((struct slgt_info *)0)) {
9818# 1338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9819 goto ldv_36675;
9820 } else {
9821# 1340 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9822 goto ldv_36677;
9823 }
9824 ldv_36677: ;
9825# 1341 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9826 return (0);
9827}
9828}
9829# 1344 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9830static int synclink_gt_proc_open(struct inode *inode , struct file *file )
9831{ int tmp ;
9832
9833 {
9834 {
9835# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9836 tmp = single_open(file, & synclink_gt_proc_show, (void *)0);
9837 }
9838# 1346 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9839 return (tmp);
9840}
9841}
9842# 1349 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9843static struct file_operations const synclink_gt_proc_fops =
9844# 1349 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9845 {& __this_module, & seq_lseek, & seq_read, (ssize_t (*)(struct file * , char const * ,
9846 size_t , loff_t * ))0,
9847 (ssize_t (*)(struct kiocb * , struct iovec const * , unsigned long , loff_t ))0,
9848 (ssize_t (*)(struct kiocb * , struct iovec const * , unsigned long , loff_t ))0,
9849 (int (*)(struct file * , void * , int (*)(void * , char const * , int , loff_t ,
9850 u64 , unsigned int ) ))0, (unsigned int (*)(struct file * ,
9851 struct poll_table_struct * ))0,
9852 (long (*)(struct file * , unsigned int , unsigned long ))0, (long (*)(struct file * ,
9853 unsigned int ,
9854 unsigned long ))0,
9855 (int (*)(struct file * , struct vm_area_struct * ))0, & synclink_gt_proc_open,
9856 (int (*)(struct file * , fl_owner_t ))0, & single_release, (int (*)(struct file * ,
9857 int ))0,
9858 (int (*)(struct kiocb * , int ))0, (int (*)(int , struct file * , int ))0,
9859 (int (*)(struct file * , int , struct file_lock * ))0, (ssize_t (*)(struct file * ,
9860 struct page * ,
9861 int , size_t ,
9862 loff_t * ,
9863 int ))0,
9864 (unsigned long (*)(struct file * , unsigned long , unsigned long , unsigned long ,
9865 unsigned long ))0, (int (*)(int ))0, (int (*)(struct file * ,
9866 int , struct file_lock * ))0,
9867 (ssize_t (*)(struct pipe_inode_info * , struct file * , loff_t * , size_t , unsigned int ))0,
9868 (ssize_t (*)(struct file * , loff_t * , struct pipe_inode_info * , size_t , unsigned int ))0,
9869 (int (*)(struct file * , long , struct file_lock ** ))0, (long (*)(struct file * ,
9870 int , loff_t ,
9871 loff_t ))0};
9872# 1360 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9873static int chars_in_buffer(struct tty_struct *tty )
9874{ struct slgt_info *info ;
9875 int count ;
9876 int tmp ;
9877 unsigned int tmp___0 ;
9878
9879 {
9880 {
9881# 1362 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9882 info = (struct slgt_info *)tty->driver_data;
9883# 1364 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9884 tmp = sanity_check(info, (char *)(& tty->name), "chars_in_buffer");
9885 }
9886# 1364 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9887 if (tmp != 0) {
9888# 1365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9889 return (0);
9890 } else {
9891
9892 }
9893 {
9894# 1366 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9895 tmp___0 = tbuf_bytes(info);
9896# 1366 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9897 count = (int )tmp___0;
9898 }
9899# 1367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9900 if (debug_level > 2) {
9901 {
9902# 1367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9903 printk("%s chars_in_buffer()=%d\n", (char *)(& info->device_name), count);
9904 }
9905 } else {
9906
9907 }
9908# 1368 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9909 return (count);
9910}
9911}
9912# 1374 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9913static void throttle(struct tty_struct *tty )
9914{ struct slgt_info *info ;
9915 unsigned long flags ;
9916 int tmp ;
9917 raw_spinlock_t *tmp___0 ;
9918
9919 {
9920 {
9921# 1376 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9922 info = (struct slgt_info *)tty->driver_data;
9923# 1379 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9924 tmp = sanity_check(info, (char *)(& tty->name), "throttle");
9925 }
9926# 1379 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9927 if (tmp != 0) {
9928# 1380 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9929 return;
9930 } else {
9931
9932 }
9933# 1381 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9934 if (debug_level > 2) {
9935 {
9936# 1381 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9937 printk("%s throttle\n", (char *)(& info->device_name));
9938 }
9939 } else {
9940
9941 }
9942# 1382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9943 if (((tty->termios)->c_iflag & 4096U) != 0U) {
9944 {
9945# 1383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9946 send_xchar(tty, (char )((int )((char )(tty->termios)->c_cc[9])));
9947 }
9948 } else {
9949
9950 }
9951# 1384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9952 if ((int )(tty->termios)->c_cflag < 0) {
9953 {
9954# 1385 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9955 tmp___0 = spinlock_check(& info->lock);
9956# 1385 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9957 flags = _raw_spin_lock_irqsave(tmp___0);
9958# 1386 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9959 info->signals = (unsigned char )((unsigned int )info->signals & 223U);
9960# 1387 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9961 set_signals(info);
9962# 1388 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9963 spin_unlock_irqrestore(& info->lock, flags);
9964 }
9965 } else {
9966
9967 }
9968# 1390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9969 return;
9970}
9971}
9972# 1395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9973static void unthrottle(struct tty_struct *tty )
9974{ struct slgt_info *info ;
9975 unsigned long flags ;
9976 int tmp ;
9977 raw_spinlock_t *tmp___0 ;
9978
9979 {
9980 {
9981# 1397 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9982 info = (struct slgt_info *)tty->driver_data;
9983# 1400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9984 tmp = sanity_check(info, (char *)(& tty->name), "unthrottle");
9985 }
9986# 1400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9987 if (tmp != 0) {
9988# 1401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9989 return;
9990 } else {
9991
9992 }
9993# 1402 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9994 if (debug_level > 2) {
9995 {
9996# 1402 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
9997 printk("%s unthrottle\n", (char *)(& info->device_name));
9998 }
9999 } else {
10000
10001 }
10002# 1403 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10003 if (((tty->termios)->c_iflag & 4096U) != 0U) {
10004# 1404 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10005 if (info->x_char != 0) {
10006# 1405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10007 info->x_char = 0;
10008 } else {
10009 {
10010# 1407 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10011 send_xchar(tty, (char )((int )((char )(tty->termios)->c_cc[8])));
10012 }
10013 }
10014 } else {
10015
10016 }
10017# 1409 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10018 if ((int )(tty->termios)->c_cflag < 0) {
10019 {
10020# 1410 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10021 tmp___0 = spinlock_check(& info->lock);
10022# 1410 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10023 flags = _raw_spin_lock_irqsave(tmp___0);
10024# 1411 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10025 info->signals = (unsigned char )((unsigned int )info->signals | 32U);
10026# 1412 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10027 set_signals(info);
10028# 1413 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10029 spin_unlock_irqrestore(& info->lock, flags);
10030 }
10031 } else {
10032
10033 }
10034# 1415 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10035 return;
10036}
10037}
10038# 1421 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10039static int set_break(struct tty_struct *tty , int break_state )
10040{ struct slgt_info *info ;
10041 unsigned short value ;
10042 unsigned long flags ;
10043 int tmp ;
10044 raw_spinlock_t *tmp___0 ;
10045
10046 {
10047 {
10048# 1423 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10049 info = (struct slgt_info *)tty->driver_data;
10050# 1427 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10051 tmp = sanity_check(info, (char *)(& tty->name), "set_break");
10052 }
10053# 1427 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10054 if (tmp != 0) {
10055# 1428 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10056 return (-22);
10057 } else {
10058
10059 }
10060# 1429 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10061 if (debug_level > 2) {
10062 {
10063# 1429 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10064 printk("%s set_break(%d)\n", (char *)(& info->device_name), break_state);
10065 }
10066 } else {
10067
10068 }
10069 {
10070# 1431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10071 tmp___0 = spinlock_check(& info->lock);
10072# 1431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10073 flags = _raw_spin_lock_irqsave(tmp___0);
10074# 1432 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10075 value = rd_reg16(info, 130U);
10076 }
10077# 1433 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10078 if (break_state == -1) {
10079# 1434 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10080 value = (unsigned short )((unsigned int )value | 64U);
10081 } else {
10082# 1436 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10083 value = (unsigned short )((unsigned int )value & 65471U);
10084 }
10085 {
10086# 1437 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10087 wr_reg16(info, 130U, (__u16 )((int )value));
10088# 1438 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10089 spin_unlock_irqrestore(& info->lock, flags);
10090 }
10091# 1439 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10092 return (0);
10093}
10094}
10095# 1454 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10096static int hdlcdev_attach(struct net_device *dev , unsigned short encoding , unsigned short parity )
10097{ struct slgt_info *info ;
10098 struct hdlc_device *tmp ;
10099 unsigned char new_encoding ;
10100 unsigned short new_crctype ;
10101
10102 {
10103 {
10104# 1457 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10105 tmp = dev_to_hdlc(dev);
10106# 1457 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10107 info = (struct slgt_info *)tmp->priv;
10108 }
10109# 1462 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10110 if (info->port.count != 0) {
10111# 1463 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10112 return (-16);
10113 } else {
10114
10115 }
10116# 1465 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10117 if (debug_level > 2) {
10118 {
10119# 1465 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10120 printk("%s hdlcdev_attach\n", (char *)(& info->device_name));
10121 }
10122 } else {
10123
10124 }
10125# 1469 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10126 if ((int )encoding == 1) {
10127# 1469 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10128 goto case_1;
10129 } else
10130# 1470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10131 if ((int )encoding == 2) {
10132# 1470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10133 goto case_2;
10134 } else
10135# 1471 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10136 if ((int )encoding == 3) {
10137# 1471 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10138 goto case_3;
10139 } else
10140# 1472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10141 if ((int )encoding == 4) {
10142# 1472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10143 goto case_4;
10144 } else
10145# 1473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10146 if ((int )encoding == 5) {
10147# 1473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10148 goto case_5;
10149 } else {
10150# 1474 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10151 goto switch_default;
10152# 1467 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10153 if (0) {
10154 case_1:
10155# 1469 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10156 new_encoding = (unsigned char)0;
10157# 1469 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10158 goto ldv_36723;
10159 case_2:
10160# 1470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10161 new_encoding = (unsigned char)3;
10162# 1470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10163 goto ldv_36723;
10164 case_3:
10165# 1471 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10166 new_encoding = (unsigned char)4;
10167# 1471 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10168 goto ldv_36723;
10169 case_4:
10170# 1472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10171 new_encoding = (unsigned char)5;
10172# 1472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10173 goto ldv_36723;
10174 case_5:
10175# 1473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10176 new_encoding = (unsigned char)6;
10177# 1473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10178 goto ldv_36723;
10179 switch_default: ;
10180# 1474 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10181 return (-22);
10182 } else {
10183
10184 }
10185 }
10186 ldv_36723: ;
10187# 1479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10188 if ((int )parity == 1) {
10189# 1479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10190 goto case_1___0;
10191 } else
10192# 1480 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10193 if ((int )parity == 5) {
10194# 1480 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10195 goto case_5___0;
10196 } else
10197# 1481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10198 if ((int )parity == 7) {
10199# 1481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10200 goto case_7;
10201 } else {
10202# 1482 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10203 goto switch_default___0;
10204# 1477 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10205 if (0) {
10206 case_1___0:
10207# 1479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10208 new_crctype = (unsigned short)0;
10209# 1479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10210 goto ldv_36730;
10211 case_5___0:
10212# 1480 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10213 new_crctype = (unsigned short)1;
10214# 1480 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10215 goto ldv_36730;
10216 case_7:
10217# 1481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10218 new_crctype = (unsigned short)2;
10219# 1481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10220 goto ldv_36730;
10221 switch_default___0: ;
10222# 1482 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10223 return (-22);
10224 } else {
10225
10226 }
10227 }
10228 ldv_36730:
10229# 1485 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10230 info->params.encoding = new_encoding;
10231# 1486 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10232 info->params.crc_type = new_crctype;
10233# 1489 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10234 if (info->netcount != 0) {
10235 {
10236# 1490 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10237 program_hw(info);
10238 }
10239 } else {
10240
10241 }
10242# 1492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10243 return (0);
10244}
10245}
10246# 1501 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10247static netdev_tx_t hdlcdev_xmit(struct sk_buff *skb , struct net_device *dev )
10248{ struct slgt_info *info ;
10249 struct hdlc_device *tmp ;
10250 unsigned long flags ;
10251 raw_spinlock_t *tmp___0 ;
10252
10253 {
10254 {
10255# 1504 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10256 tmp = dev_to_hdlc(dev);
10257# 1504 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10258 info = (struct slgt_info *)tmp->priv;
10259 }
10260# 1507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10261 if (debug_level > 2) {
10262 {
10263# 1507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10264 printk("%s hdlc_xmit\n", (char *)(& dev->name));
10265 }
10266 } else {
10267
10268 }
10269# 1509 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10270 if (skb->len == 0U) {
10271# 1510 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10272 return ((netdev_tx_t )0);
10273 } else {
10274
10275 }
10276 {
10277# 1513 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10278 netif_stop_queue(dev);
10279# 1516 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10280 dev->stats.tx_packets = dev->stats.tx_packets + 1UL;
10281# 1517 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10282 dev->stats.tx_bytes = dev->stats.tx_bytes + (unsigned long )skb->len;
10283# 1520 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10284 dev->trans_start = (unsigned long )jiffies;
10285# 1522 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10286 tmp___0 = spinlock_check(& info->lock);
10287# 1522 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10288 flags = _raw_spin_lock_irqsave(tmp___0);
10289# 1523 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10290 tx_load(info, (char const *)skb->data, skb->len);
10291# 1524 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10292 spin_unlock_irqrestore(& info->lock, flags);
10293# 1527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10294 consume_skb(skb);
10295 }
10296# 1529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10297 return ((netdev_tx_t )0);
10298}
10299}
10300# 1540 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10301static int hdlcdev_open(struct net_device *dev )
10302{ struct slgt_info *info ;
10303 struct hdlc_device *tmp ;
10304 int rc ;
10305 unsigned long flags ;
10306 int tmp___0 ;
10307 raw_spinlock_t *tmp___1 ;
10308 raw_spinlock_t *tmp___2 ;
10309 raw_spinlock_t *tmp___3 ;
10310
10311 {
10312 {
10313# 1542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10314 tmp = dev_to_hdlc(dev);
10315# 1542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10316 info = (struct slgt_info *)tmp->priv;
10317# 1546 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10318 tmp___0 = ldv_try_module_get_1(& __this_module);
10319 }
10320# 1546 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10321 if (tmp___0 == 0) {
10322# 1547 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10323 return (-16);
10324 } else {
10325
10326 }
10327# 1549 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10328 if (debug_level > 2) {
10329 {
10330# 1549 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10331 printk("%s hdlcdev_open\n", (char *)(& dev->name));
10332 }
10333 } else {
10334
10335 }
10336 {
10337# 1552 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10338 rc = hdlc_open(dev);
10339 }
10340# 1552 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10341 if (rc != 0) {
10342# 1553 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10343 return (rc);
10344 } else {
10345
10346 }
10347 {
10348# 1556 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10349 tmp___1 = spinlock_check(& info->netlock);
10350# 1556 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10351 flags = _raw_spin_lock_irqsave(tmp___1);
10352 }
10353# 1557 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10354 if (info->port.count != 0) {
10355# 1557 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10356 goto _L;
10357 } else
10358# 1557 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10359 if (info->netcount != 0) {
10360 _L:
10361# 1558 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10362 if (debug_level > 2) {
10363 {
10364# 1558 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10365 printk("%s hdlc_open busy\n", (char *)(& dev->name));
10366 }
10367 } else {
10368
10369 }
10370 {
10371# 1559 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10372 spin_unlock_irqrestore(& info->netlock, flags);
10373 }
10374# 1560 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10375 return (-16);
10376 } else {
10377
10378 }
10379 {
10380# 1562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10381 info->netcount = 1;
10382# 1563 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10383 spin_unlock_irqrestore(& info->netlock, flags);
10384# 1566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10385 rc = startup(info);
10386 }
10387# 1566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10388 if (rc != 0) {
10389 {
10390# 1567 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10391 tmp___2 = spinlock_check(& info->netlock);
10392# 1567 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10393 flags = _raw_spin_lock_irqsave(tmp___2);
10394# 1568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10395 info->netcount = 0;
10396# 1569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10397 spin_unlock_irqrestore(& info->netlock, flags);
10398 }
10399# 1570 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10400 return (rc);
10401 } else {
10402
10403 }
10404 {
10405# 1574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10406 info->signals = (unsigned char )((unsigned int )info->signals | 160U);
10407# 1575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10408 program_hw(info);
10409# 1578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10410 dev->trans_start = (unsigned long )jiffies;
10411# 1579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10412 netif_start_queue(dev);
10413# 1582 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10414 tmp___3 = spinlock_check(& info->lock);
10415# 1582 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10416 flags = _raw_spin_lock_irqsave(tmp___3);
10417# 1583 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10418 get_signals(info);
10419# 1584 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10420 spin_unlock_irqrestore(& info->lock, flags);
10421 }
10422# 1585 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10423 if ((int )info->signals & 1) {
10424 {
10425# 1586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10426 netif_carrier_on(dev);
10427 }
10428 } else {
10429 {
10430# 1588 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10431 netif_carrier_off(dev);
10432 }
10433 }
10434# 1589 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10435 return (0);
10436}
10437}
10438# 1600 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10439static int hdlcdev_close(struct net_device *dev )
10440{ struct slgt_info *info ;
10441 struct hdlc_device *tmp ;
10442 unsigned long flags ;
10443 raw_spinlock_t *tmp___0 ;
10444
10445 {
10446 {
10447# 1602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10448 tmp = dev_to_hdlc(dev);
10449# 1602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10450 info = (struct slgt_info *)tmp->priv;
10451 }
10452# 1605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10453 if (debug_level > 2) {
10454 {
10455# 1605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10456 printk("%s hdlcdev_close\n", (char *)(& dev->name));
10457 }
10458 } else {
10459
10460 }
10461 {
10462# 1607 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10463 netif_stop_queue(dev);
10464# 1610 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10465 shutdown(info);
10466# 1612 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10467 hdlc_close(dev);
10468# 1614 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10469 tmp___0 = spinlock_check(& info->netlock);
10470# 1614 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10471 flags = _raw_spin_lock_irqsave(tmp___0);
10472# 1615 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10473 info->netcount = 0;
10474# 1616 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10475 spin_unlock_irqrestore(& info->netlock, flags);
10476# 1618 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10477 ldv_module_put_2(& __this_module);
10478 }
10479# 1619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10480 return (0);
10481}
10482}
10483# 1631 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10484static int hdlcdev_ioctl(struct net_device *dev , struct ifreq *ifr , int cmd )
10485{ size_t size ;
10486 sync_serial_settings new_line ;
10487 sync_serial_settings *line ;
10488 struct slgt_info *info ;
10489 struct hdlc_device *tmp ;
10490 unsigned int flags ;
10491 int tmp___0 ;
10492 int tmp___1 ;
10493 bool tmp___2 ;
10494 int tmp___3 ;
10495 unsigned long tmp___4 ;
10496 int tmp___5 ;
10497
10498 {
10499 {
10500# 1633 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10501 size = 12UL;
10502# 1635 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10503 line = ifr->ifr_ifru.ifru_settings.ifs_ifsu.sync;
10504# 1636 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10505 tmp = dev_to_hdlc(dev);
10506# 1636 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10507 info = (struct slgt_info *)tmp->priv;
10508 }
10509# 1639 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10510 if (debug_level > 2) {
10511 {
10512# 1639 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10513 printk("%s hdlcdev_ioctl\n", (char *)(& dev->name));
10514 }
10515 } else {
10516
10517 }
10518# 1642 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10519 if (info->port.count != 0) {
10520# 1643 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10521 return (-16);
10522 } else {
10523
10524 }
10525# 1645 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10526 if (cmd != 35146) {
10527 {
10528# 1646 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10529 tmp___0 = hdlc_ioctl(dev, ifr, cmd);
10530 }
10531# 1646 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10532 return (tmp___0);
10533 } else {
10534
10535 }
10536 {
10537# 1648 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10538 memset((void *)(& new_line), 0, 12UL);
10539 }
10540# 1651 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10541 if ((int )ifr->ifr_ifru.ifru_settings.type == 1) {
10542# 1651 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10543 goto case_1;
10544 } else
10545# 1679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10546 if ((int )ifr->ifr_ifru.ifru_settings.type == 4101) {
10547# 1679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10548 goto case_4101;
10549 } else {
10550# 1721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10551 goto switch_default___1;
10552# 1650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10553 if (0) {
10554 case_1:
10555# 1653 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10556 ifr->ifr_ifru.ifru_settings.type = 4101U;
10557# 1654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10558 if ((unsigned long )ifr->ifr_ifru.ifru_settings.size < size) {
10559# 1655 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10560 ifr->ifr_ifru.ifru_settings.size = (unsigned int )size;
10561# 1656 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10562 return (-105);
10563 } else {
10564
10565 }
10566# 1659 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10567 flags = (unsigned int )info->params.flags & 36616U;
10568# 1665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10569 if ((int )flags == 0) {
10570# 1665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10571 goto case_0;
10572 } else
10573# 1666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10574 if ((int )flags == 2560) {
10575# 1666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10576 goto case_2560;
10577 } else
10578# 1667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10579 if ((int )flags == 2048) {
10580# 1667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10581 goto case_2048;
10582 } else
10583# 1668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10584 if ((int )flags == 8) {
10585# 1668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10586 goto case_8;
10587 } else {
10588# 1669 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10589 goto switch_default;
10590# 1664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10591 if (0) {
10592 case_0:
10593# 1665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10594 new_line.clock_type = 1U;
10595# 1665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10596 goto ldv_36778;
10597 case_2560:
10598# 1666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10599 new_line.clock_type = 2U;
10600# 1666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10601 goto ldv_36778;
10602 case_2048:
10603# 1667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10604 new_line.clock_type = 3U;
10605# 1667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10606 goto ldv_36778;
10607 case_8:
10608# 1668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10609 new_line.clock_type = 4U;
10610# 1668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10611 goto ldv_36778;
10612 switch_default:
10613# 1669 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10614 new_line.clock_type = 0U;
10615 } else {
10616
10617 }
10618 }
10619 ldv_36778:
10620 {
10621# 1672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10622 new_line.clock_rate = (unsigned int )info->params.clock_speed;
10623# 1673 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10624 new_line.loopback = (unsigned short )((unsigned int )info->params.loopback != 0U);
10625# 1675 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10626 tmp___1 = copy_to_user((void *)line, (void const *)(& new_line), (unsigned int )size);
10627 }
10628# 1675 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10629 if (tmp___1 != 0) {
10630# 1676 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10631 return (-14);
10632 } else {
10633
10634 }
10635# 1677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10636 return (0);
10637 case_4101:
10638 {
10639# 1681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10640 tmp___2 = capable(12);
10641 }
10642# 1681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10643 if (tmp___2) {
10644# 1681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10645 tmp___3 = 0;
10646 } else {
10647# 1681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10648 tmp___3 = 1;
10649 }
10650# 1681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10651 if (tmp___3) {
10652# 1682 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10653 return (-1);
10654 } else {
10655
10656 }
10657 {
10658# 1683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10659 tmp___4 = copy_from_user((void *)(& new_line), (void const *)line, size);
10660 }
10661# 1683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10662 if (tmp___4 != 0UL) {
10663# 1684 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10664 return (-14);
10665 } else {
10666
10667 }
10668# 1688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10669 if ((int )new_line.clock_type == 1) {
10670# 1688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10671 goto case_1___0;
10672 } else
10673# 1689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10674 if ((int )new_line.clock_type == 4) {
10675# 1689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10676 goto case_4;
10677 } else
10678# 1690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10679 if ((int )new_line.clock_type == 2) {
10680# 1690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10681 goto case_2;
10682 } else
10683# 1691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10684 if ((int )new_line.clock_type == 3) {
10685# 1691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10686 goto case_3;
10687 } else
10688# 1692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10689 if ((int )new_line.clock_type == 0) {
10690# 1692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10691 goto case_0___0;
10692 } else {
10693# 1697 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10694 goto switch_default___0;
10695# 1686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10696 if (0) {
10697 case_1___0:
10698# 1688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10699 flags = 0U;
10700# 1688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10701 goto ldv_36785;
10702 case_4:
10703# 1689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10704 flags = 8U;
10705# 1689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10706 goto ldv_36785;
10707 case_2:
10708# 1690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10709 flags = 2560U;
10710# 1690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10711 goto ldv_36785;
10712 case_3:
10713# 1691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10714 flags = 2048U;
10715# 1691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10716 goto ldv_36785;
10717 case_0___0:
10718# 1692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10719 flags = (unsigned int )info->params.flags & 36616U;
10720# 1696 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10721 goto ldv_36785;
10722 switch_default___0: ;
10723# 1697 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10724 return (-22);
10725 } else {
10726
10727 }
10728 }
10729 ldv_36785: ;
10730# 1700 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10731 if ((unsigned int )new_line.loopback != 0U) {
10732# 1700 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10733 if ((unsigned int )new_line.loopback != 1U) {
10734# 1701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10735 return (-22);
10736 } else {
10737
10738 }
10739 } else {
10740
10741 }
10742# 1703 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10743 info->params.flags = (unsigned short )((unsigned int )info->params.flags & 28919U);
10744# 1707 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10745 info->params.flags = (unsigned short )((int )info->params.flags | (int )((unsigned short )flags));
10746# 1709 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10747 info->params.loopback = (unsigned char )new_line.loopback;
10748# 1711 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10749 if ((flags & 2560U) != 0U) {
10750# 1712 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10751 info->params.clock_speed = (unsigned long )new_line.clock_rate;
10752 } else {
10753# 1714 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10754 info->params.clock_speed = 0UL;
10755 }
10756# 1717 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10757 if (info->netcount != 0) {
10758 {
10759# 1718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10760 program_hw(info);
10761 }
10762 } else {
10763
10764 }
10765# 1719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10766 return (0);
10767 switch_default___1:
10768 {
10769# 1722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10770 tmp___5 = hdlc_ioctl(dev, ifr, cmd);
10771 }
10772# 1722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10773 return (tmp___5);
10774 } else {
10775
10776 }
10777 }
10778}
10779}
10780# 1731 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10781static void hdlcdev_tx_timeout(struct net_device *dev )
10782{ struct slgt_info *info ;
10783 struct hdlc_device *tmp ;
10784 unsigned long flags ;
10785 raw_spinlock_t *tmp___0 ;
10786
10787 {
10788 {
10789# 1733 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10790 tmp = dev_to_hdlc(dev);
10791# 1733 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10792 info = (struct slgt_info *)tmp->priv;
10793 }
10794# 1736 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10795 if (debug_level > 2) {
10796 {
10797# 1736 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10798 printk("%s hdlcdev_tx_timeout\n", (char *)(& dev->name));
10799 }
10800 } else {
10801
10802 }
10803 {
10804# 1738 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10805 dev->stats.tx_errors = dev->stats.tx_errors + 1UL;
10806# 1739 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10807 dev->stats.tx_aborted_errors = dev->stats.tx_aborted_errors + 1UL;
10808# 1741 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10809 tmp___0 = spinlock_check(& info->lock);
10810# 1741 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10811 flags = _raw_spin_lock_irqsave(tmp___0);
10812# 1742 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10813 tx_stop(info);
10814# 1743 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10815 spin_unlock_irqrestore(& info->lock, flags);
10816# 1745 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10817 netif_wake_queue(dev);
10818 }
10819# 1746 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10820 return;
10821}
10822}
10823# 1754 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10824static void hdlcdev_tx_done(struct slgt_info *info )
10825{ int tmp ;
10826
10827 {
10828 {
10829# 1756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10830 tmp = netif_queue_stopped((struct net_device const *)info->netdev);
10831 }
10832# 1756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10833 if (tmp != 0) {
10834 {
10835# 1757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10836 netif_wake_queue(info->netdev);
10837 }
10838 } else {
10839
10840 }
10841# 1758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10842 return;
10843}
10844}
10845# 1768 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10846static void hdlcdev_rx(struct slgt_info *info , char *buf , int size )
10847{ struct sk_buff *skb ;
10848 struct sk_buff *tmp ;
10849 struct net_device *dev ;
10850 size_t __len ;
10851 void *__ret ;
10852 unsigned char *tmp___1 ;
10853
10854 {
10855 {
10856# 1770 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10857 tmp = dev_alloc_skb((unsigned int )size);
10858# 1770 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10859 skb = tmp;
10860# 1771 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10861 dev = info->netdev;
10862 }
10863# 1773 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10864 if (debug_level > 2) {
10865 {
10866# 1773 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10867 printk("%s hdlcdev_rx\n", (char *)(& dev->name));
10868 }
10869 } else {
10870
10871 }
10872# 1775 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10873 if ((unsigned long )skb == (unsigned long )((struct sk_buff *)0)) {
10874# 1776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10875 if (debug_level > 1) {
10876 {
10877# 1776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10878 printk("%s: can\'t alloc skb, drop packet\n", (char *)(& dev->name));
10879 }
10880 } else {
10881
10882 }
10883# 1777 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10884 dev->stats.rx_dropped = dev->stats.rx_dropped + 1UL;
10885# 1778 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10886 return;
10887 } else {
10888
10889 }
10890 {
10891# 1781 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10892 __len = (size_t )size;
10893# 1781 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10894 tmp___1 = skb_put(skb, (unsigned int )size);
10895# 1781 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10896 __ret = __builtin_memcpy((void *)tmp___1, (void const *)buf, __len);
10897# 1783 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10898 skb->protocol = hdlc_type_trans(skb, dev);
10899# 1785 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10900 dev->stats.rx_packets = dev->stats.rx_packets + 1UL;
10901# 1786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10902 dev->stats.rx_bytes = dev->stats.rx_bytes + (unsigned long )size;
10903# 1788 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10904 netif_rx(skb);
10905 }
10906# 1789 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10907 return;
10908}
10909}
10910# 1791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10911static struct net_device_ops const hdlcdev_ops =
10912# 1791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10913 {(int (*)(struct net_device * ))0, (void (*)(struct net_device * ))0, & hdlcdev_open,
10914 & hdlcdev_close, & hdlc_start_xmit, (u16 (*)(struct net_device * , struct sk_buff * ))0,
10915 (void (*)(struct net_device * , int ))0, (void (*)(struct net_device * ))0, (void (*)(struct net_device * ))0,
10916 (int (*)(struct net_device * , void * ))0, (int (*)(struct net_device * ))0, & hdlcdev_ioctl,
10917 (int (*)(struct net_device * , struct ifmap * ))0, & hdlc_change_mtu, (int (*)(struct net_device * ,
10918 struct neigh_parms * ))0,
10919 & hdlcdev_tx_timeout, (struct rtnl_link_stats64 *(*)(struct net_device * , struct rtnl_link_stats64 * ))0,
10920 (struct net_device_stats *(*)(struct net_device * ))0, (void (*)(struct net_device * ,
10921 struct vlan_group * ))0,
10922 (void (*)(struct net_device * , unsigned short ))0, (void (*)(struct net_device * ,
10923 unsigned short ))0,
10924 (void (*)(struct net_device * ))0, (int (*)(struct net_device * , struct netpoll_info * ))0,
10925 (void (*)(struct net_device * ))0, (int (*)(struct net_device * , int , u8 * ))0,
10926 (int (*)(struct net_device * , int , u16 , u8 ))0, (int (*)(struct net_device * ,
10927 int , int ))0,
10928 (int (*)(struct net_device * , int , struct ifla_vf_info * ))0, (int (*)(struct net_device * ,
10929 int ,
10930 struct nlattr ** ))0,
10931 (int (*)(struct net_device * , int , struct sk_buff * ))0, (int (*)(struct net_device * ,
10932 u8 ))0,
10933 (int (*)(struct net_device * ))0, (int (*)(struct net_device * ))0, (int (*)(struct net_device * ,
10934 u16 ,
10935 struct scatterlist * ,
10936 unsigned int ))0,
10937 (int (*)(struct net_device * , u16 ))0, (int (*)(struct net_device * , u16 ,
10938 struct scatterlist * , unsigned int ))0,
10939 (int (*)(struct net_device * , u64 * , int ))0, (int (*)(struct net_device * ,
10940 struct sk_buff const * ,
10941 u16 , u32 ))0, (int (*)(struct net_device * ,
10942 struct net_device * ))0,
10943 (int (*)(struct net_device * , struct net_device * ))0, (u32 (*)(struct net_device * ,
10944 u32 ))0, (int (*)(struct net_device * ,
10945 u32 ))0};
10946# 1808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10947static int hdlcdev_init(struct slgt_info *info )
10948{ int rc ;
10949 struct net_device *dev ;
10950 hdlc_device *hdlc ;
10951 struct hdlc_device *tmp ;
10952
10953 {
10954 {
10955# 1816 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10956 dev = alloc_hdlcdev((void *)info);
10957 }
10958# 1816 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10959 if ((unsigned long )dev == (unsigned long )((struct net_device *)0)) {
10960 {
10961# 1817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10962 printk("<3>%s hdlc device alloc failure\n", (char *)(& info->device_name));
10963 }
10964# 1818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10965 return (-12);
10966 } else {
10967
10968 }
10969 {
10970# 1822 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10971 dev->mem_start = (unsigned long )info->phys_reg_addr;
10972# 1823 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10973 dev->mem_end = (unsigned long )(info->phys_reg_addr + 255U);
10974# 1824 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10975 dev->irq = info->irq_level;
10976# 1827 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10977 dev->netdev_ops = & hdlcdev_ops;
10978# 1828 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10979 dev->watchdog_timeo = 2500;
10980# 1829 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10981 dev->tx_queue_len = 50UL;
10982# 1832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10983 tmp = dev_to_hdlc(dev);
10984# 1832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10985 hdlc = tmp;
10986# 1833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10987 hdlc->attach = & hdlcdev_attach;
10988# 1834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10989 hdlc->xmit = & hdlcdev_xmit;
10990# 1837 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10991 rc = register_netdev(dev);
10992 }
10993# 1837 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10994 if (rc != 0) {
10995 {
10996# 1838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10997 printk("<4>%s:unable to register hdlc device\n", (char *)"/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p");
10998# 1839 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
10999 free_netdev(dev);
11000 }
11001# 1840 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11002 return (rc);
11003 } else {
11004
11005 }
11006# 1843 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11007 info->netdev = dev;
11008# 1844 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11009 return (0);
11010}
11011}
11012# 1853 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11013static void hdlcdev_exit(struct slgt_info *info )
11014{
11015
11016 {
11017 {
11018# 1855 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11019 unregister_hdlc_device(info->netdev);
11020# 1856 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11021 free_netdev(info->netdev);
11022# 1857 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11023 info->netdev = (struct net_device *)0;
11024 }
11025# 1858 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11026 return;
11027}
11028}
11029# 1865 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11030static void rx_async(struct slgt_info *info )
11031{ struct tty_struct *tty ;
11032 struct mgsl_icount *icount ;
11033 unsigned int start ;
11034 unsigned int end ;
11035 unsigned char *p ;
11036 unsigned char status ;
11037 struct slgt_desc *bufs ;
11038 int i ;
11039 int count ;
11040 int chars ;
11041 int stat ;
11042 unsigned char ch ;
11043
11044 {
11045# 1867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11046 tty = info->port.tty;
11047# 1868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11048 icount = & info->icount;
11049# 1872 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11050 bufs = info->rbufs;
11051# 1874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11052 chars = 0;
11053# 1878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11054 end = info->rbuf_current;
11055# 1878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11056 start = end;
11057# 1880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11058 goto ldv_36844;
11059 ldv_36843:
11060# 1881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11061 count = (int )((unsigned int )(bufs + (unsigned long )end)->count - info->rbuf_index);
11062# 1882 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11063 p = (unsigned char *)(bufs + (unsigned long )end)->buf + (unsigned long )info->rbuf_index;
11064# 1884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11065 if (debug_level > 4) {
11066 {
11067# 1884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11068 printk("%s rx_async count=%d\n", (char *)(& info->device_name), count);
11069 }
11070 } else {
11071
11072 }
11073# 1885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11074 if (debug_level > 0) {
11075 {
11076# 1885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11077 trace_block(info, (char const *)p, count, "rx");
11078 }
11079 } else {
11080
11081 }
11082# 1887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11083 i = 0;
11084# 1887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11085 goto ldv_36840;
11086 ldv_36839:
11087# 1888 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11088 ch = *p;
11089# 1889 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11090 icount->rx = icount->rx + 1U;
11091# 1891 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11092 stat = 0;
11093# 1893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11094 status = (unsigned char )((unsigned int )*(p + 1UL) & 3U);
11095# 1893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11096 if ((unsigned int )status != 0U) {
11097# 1894 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11098 if (((int )status & 2) != 0) {
11099# 1895 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11100 icount->parity = icount->parity + 1U;
11101 } else
11102# 1896 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11103 if ((int )status & 1) {
11104# 1897 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11105 icount->frame = icount->frame + 1U;
11106 } else {
11107
11108 }
11109# 1899 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11110 if (((unsigned int )status & info->ignore_status_mask) != 0U) {
11111# 1900 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11112 goto ldv_36838;
11113 } else {
11114
11115 }
11116# 1901 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11117 if (((int )status & 2) != 0) {
11118# 1902 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11119 stat = 3;
11120 } else
11121# 1903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11122 if ((int )status & 1) {
11123# 1904 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11124 stat = 2;
11125 } else {
11126
11127 }
11128 } else {
11129
11130 }
11131# 1906 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11132 if ((unsigned long )tty != (unsigned long )((struct tty_struct *)0)) {
11133 {
11134# 1907 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11135 tty_insert_flip_char(tty, (unsigned char )((int )ch), (char )((int )((char )stat)));
11136# 1908 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11137 chars = chars + 1;
11138 }
11139 } else {
11140
11141 }
11142 ldv_36838:
11143# 1887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11144 i = i + 2;
11145# 1887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11146 p = p + 2UL;
11147 ldv_36840: ;
11148# 1887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11149 if (i < count) {
11150# 1888 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11151 goto ldv_36839;
11152 } else {
11153# 1890 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11154 goto ldv_36841;
11155 }
11156 ldv_36841: ;
11157# 1912 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11158 if (i < count) {
11159 {
11160# 1914 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11161 info->rbuf_index = info->rbuf_index + (unsigned int )i;
11162# 1915 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11163 mod_timer(& info->rx_timer, (unsigned long )jiffies + 1UL);
11164 }
11165# 1916 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11166 goto ldv_36842;
11167 } else {
11168
11169 }
11170 {
11171# 1919 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11172 info->rbuf_index = 0U;
11173# 1920 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11174 free_rbufs(info, end, end);
11175# 1922 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11176 end = end + 1U;
11177 }
11178# 1922 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11179 if (end == info->rbuf_count) {
11180# 1923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11181 end = 0U;
11182 } else {
11183
11184 }
11185# 1926 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11186 if (end == start) {
11187# 1927 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11188 goto ldv_36842;
11189 } else {
11190
11191 }
11192 ldv_36844: ;
11193# 1880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11194 if ((int )((short )(bufs + (unsigned long )end)->status) < 0) {
11195# 1881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11196 goto ldv_36843;
11197 } else {
11198# 1883 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11199 goto ldv_36842;
11200 }
11201 ldv_36842: ;
11202# 1930 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11203 if ((unsigned long )tty != (unsigned long )((struct tty_struct *)0)) {
11204# 1930 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11205 if (chars != 0) {
11206 {
11207# 1931 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11208 tty_flip_buffer_push(tty);
11209 }
11210 } else {
11211
11212 }
11213 } else {
11214
11215 }
11216# 1932 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11217 return;
11218}
11219}
11220# 1937 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11221static int bh_action(struct slgt_info *info )
11222{ unsigned long flags ;
11223 int rc ;
11224 raw_spinlock_t *tmp ;
11225
11226 {
11227 {
11228# 1942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11229 tmp = spinlock_check(& info->lock);
11230# 1942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11231 flags = _raw_spin_lock_irqsave(tmp);
11232 }
11233# 1944 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11234 if ((int )info->pending_bh & 1) {
11235# 1945 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11236 info->pending_bh = info->pending_bh & 4294967294U;
11237# 1946 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11238 rc = 1;
11239 } else
11240# 1947 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11241 if ((info->pending_bh & 2U) != 0U) {
11242# 1948 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11243 info->pending_bh = info->pending_bh & 4294967293U;
11244# 1949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11245 rc = 2;
11246 } else
11247# 1950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11248 if ((info->pending_bh & 4U) != 0U) {
11249# 1951 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11250 info->pending_bh = info->pending_bh & 4294967291U;
11251# 1952 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11252 rc = 4;
11253 } else {
11254# 1955 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11255 info->bh_running = (bool )0;
11256# 1956 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11257 info->bh_requested = (bool )0;
11258# 1957 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11259 rc = 0;
11260 }
11261 {
11262# 1960 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11263 spin_unlock_irqrestore(& info->lock, flags);
11264 }
11265# 1962 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11266 return (rc);
11267}
11268}
11269# 1968 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11270static void bh_handler(struct work_struct *work )
11271{ struct slgt_info *info ;
11272 struct work_struct const *__mptr ;
11273 int action ;
11274 bool tmp ;
11275 bool tmp___0 ;
11276
11277 {
11278# 1970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11279 __mptr = (struct work_struct const *)work;
11280# 1970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11281 info = (struct slgt_info *)__mptr + 0x0ffffffffffffa40UL;
11282# 1973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11283 if ((unsigned long )info == (unsigned long )((struct slgt_info *)0)) {
11284# 1974 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11285 return;
11286 } else {
11287
11288 }
11289# 1975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11290 info->bh_running = (bool )1;
11291# 1977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11292 goto ldv_36879;
11293 ldv_36878: ;
11294# 1979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11295 if (action == 1) {
11296# 1979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11297 goto case_1;
11298 } else
11299# 1999 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11300 if (action == 2) {
11301# 1999 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11302 goto case_2___0;
11303 } else
11304# 2002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11305 if (action == 4) {
11306# 2002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11307 goto case_4___0;
11308 } else {
11309# 2009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11310 goto switch_default;
11311# 1978 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11312 if (0) {
11313 case_1: ;
11314# 1980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11315 if (debug_level > 3) {
11316 {
11317# 1980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11318 printk("%s bh receive\n", (char *)(& info->device_name));
11319 }
11320 } else {
11321
11322 }
11323# 1982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11324 if ((int )info->params.mode == 1) {
11325# 1982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11326 goto case_1___0;
11327 } else
11328# 1985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11329 if ((int )info->params.mode == 2) {
11330# 1985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11331 goto case_2;
11332 } else
11333# 1988 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11334 if ((int )info->params.mode == 6) {
11335# 1988 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11336 goto case_6;
11337 } else
11338# 1989 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11339 if ((int )info->params.mode == 3) {
11340# 1989 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11341 goto case_3;
11342 } else
11343# 1990 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11344 if ((int )info->params.mode == 4) {
11345# 1990 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11346 goto case_4;
11347 } else
11348# 1991 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11349 if ((int )info->params.mode == 8) {
11350# 1991 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11351 goto case_8;
11352 } else
11353# 1981 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11354 if (0) {
11355 case_1___0:
11356 {
11357# 1983 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11358 rx_async(info);
11359 }
11360# 1984 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11361 goto ldv_36862;
11362 case_2: ;
11363# 1986 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11364 goto ldv_36865;
11365 ldv_36864: ;
11366 ldv_36865:
11367 {
11368# 1986 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11369 tmp = rx_get_frame(info);
11370 }
11371# 1986 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11372 if ((int )tmp) {
11373# 1987 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11374 goto ldv_36864;
11375 } else {
11376# 1989 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11377 goto ldv_36866;
11378 }
11379 ldv_36866: ;
11380# 1987 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11381 goto ldv_36862;
11382 case_6: ;
11383 case_3: ;
11384 case_4: ;
11385 case_8: ;
11386# 1992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11387 goto ldv_36872;
11388 ldv_36871: ;
11389 ldv_36872:
11390 {
11391# 1992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11392 tmp___0 = rx_get_buf(info);
11393 }
11394# 1992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11395 if ((int )tmp___0) {
11396# 1993 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11397 goto ldv_36871;
11398 } else {
11399# 1995 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11400 goto ldv_36873;
11401 }
11402 ldv_36873: ;
11403# 1993 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11404 goto ldv_36862;
11405 } else {
11406
11407 }
11408 ldv_36862: ;
11409# 1996 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11410 if ((int )info->rx_restart) {
11411 {
11412# 1997 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11413 rx_start(info);
11414 }
11415 } else {
11416
11417 }
11418# 1998 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11419 goto ldv_36874;
11420 case_2___0:
11421 {
11422# 2000 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11423 bh_transmit(info);
11424 }
11425# 2001 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11426 goto ldv_36874;
11427 case_4___0: ;
11428# 2003 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11429 if (debug_level > 3) {
11430 {
11431# 2003 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11432 printk("%s bh status\n", (char *)(& info->device_name));
11433 }
11434 } else {
11435
11436 }
11437# 2004 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11438 info->ri_chkcount = 0;
11439# 2005 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11440 info->dsr_chkcount = 0;
11441# 2006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11442 info->dcd_chkcount = 0;
11443# 2007 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11444 info->cts_chkcount = 0;
11445# 2008 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11446 goto ldv_36874;
11447 switch_default: ;
11448# 2010 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11449 if (debug_level > 3) {
11450 {
11451# 2010 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11452 printk("%s unknown action\n", (char *)(& info->device_name));
11453 }
11454 } else {
11455
11456 }
11457# 2011 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11458 goto ldv_36874;
11459 } else {
11460
11461 }
11462 }
11463 ldv_36874: ;
11464 ldv_36879:
11465 {
11466# 1977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11467 action = bh_action(info);
11468 }
11469# 1977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11470 if (action != 0) {
11471# 1978 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11472 goto ldv_36878;
11473 } else {
11474# 1980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11475 goto ldv_36880;
11476 }
11477 ldv_36880: ;
11478# 2014 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11479 if (debug_level > 3) {
11480 {
11481# 2014 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11482 printk("%s bh_handler exit\n", (char *)(& info->device_name));
11483 }
11484 } else {
11485
11486 }
11487# 2015 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11488 return;
11489}
11490}
11491# 2017 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11492static void bh_transmit(struct slgt_info *info )
11493{ struct tty_struct *tty ;
11494
11495 {
11496# 2019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11497 tty = info->port.tty;
11498# 2021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11499 if (debug_level > 3) {
11500 {
11501# 2021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11502 printk("%s bh_transmit\n", (char *)(& info->device_name));
11503 }
11504 } else {
11505
11506 }
11507# 2022 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11508 if ((unsigned long )tty != (unsigned long )((struct tty_struct *)0)) {
11509 {
11510# 2023 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11511 tty_wakeup(tty);
11512 }
11513 } else {
11514
11515 }
11516# 2024 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11517 return;
11518}
11519}
11520# 2026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11521static void dsr_change(struct slgt_info *info , unsigned short status )
11522{ __u16 tmp ;
11523 int tmp___0 ;
11524
11525 {
11526# 2028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11527 if (((int )status & 8) != 0) {
11528# 2029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11529 info->signals = (unsigned char )((unsigned int )info->signals | 64U);
11530# 2030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11531 info->input_signal_events.dsr_up = info->input_signal_events.dsr_up + 1;
11532 } else {
11533# 2032 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11534 info->signals = (unsigned char )((unsigned int )info->signals & 191U);
11535# 2033 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11536 info->input_signal_events.dsr_down = info->input_signal_events.dsr_down + 1;
11537 }
11538# 2035 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11539 if (debug_level > 4) {
11540 {
11541# 2035 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11542 printk("dsr_change %s signals=%04X\n", (char *)(& info->device_name), (int )info->signals);
11543 }
11544 } else {
11545
11546 }
11547# 2036 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11548 tmp___0 = info->dsr_chkcount;
11549# 2036 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11550 info->dsr_chkcount = info->dsr_chkcount + 1;
11551# 2036 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11552 if (tmp___0 == 100) {
11553 {
11554# 2037 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11555 tmp = rd_reg16(info, 140U);
11556# 2037 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11557 wr_reg16(info, 140U, (__u16 )((int )tmp & 65407));
11558 }
11559# 2038 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11560 return;
11561 } else {
11562
11563 }
11564 {
11565# 2040 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11566 info->icount.dsr = info->icount.dsr + 1U;
11567# 2041 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11568 __wake_up(& info->status_event_wait_q, 1U, 1, (void *)0);
11569# 2042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11570 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
11571# 2043 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11572 info->pending_bh = info->pending_bh | 4U;
11573 }
11574# 2044 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11575 return;
11576}
11577}
11578# 2046 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11579static void cts_change(struct slgt_info *info , unsigned short status )
11580{ __u16 tmp ;
11581 int tmp___0 ;
11582
11583 {
11584# 2048 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11585 if (((int )status & 4) != 0) {
11586# 2049 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11587 info->signals = (unsigned char )((unsigned int )info->signals | 16U);
11588# 2050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11589 info->input_signal_events.cts_up = info->input_signal_events.cts_up + 1;
11590 } else {
11591# 2052 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11592 info->signals = (unsigned char )((unsigned int )info->signals & 239U);
11593# 2053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11594 info->input_signal_events.cts_down = info->input_signal_events.cts_down + 1;
11595 }
11596# 2055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11597 if (debug_level > 4) {
11598 {
11599# 2055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11600 printk("cts_change %s signals=%04X\n", (char *)(& info->device_name), (int )info->signals);
11601 }
11602 } else {
11603
11604 }
11605# 2056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11606 tmp___0 = info->cts_chkcount;
11607# 2056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11608 info->cts_chkcount = info->cts_chkcount + 1;
11609# 2056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11610 if (tmp___0 == 100) {
11611 {
11612# 2057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11613 tmp = rd_reg16(info, 140U);
11614# 2057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11615 wr_reg16(info, 140U, (__u16 )((int )tmp & 65471));
11616 }
11617# 2058 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11618 return;
11619 } else {
11620
11621 }
11622 {
11623# 2060 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11624 info->icount.cts = info->icount.cts + 1U;
11625# 2061 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11626 __wake_up(& info->status_event_wait_q, 1U, 1, (void *)0);
11627# 2062 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11628 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
11629# 2063 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11630 info->pending_bh = info->pending_bh | 4U;
11631 }
11632# 2065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11633 if ((info->port.flags & 67108864UL) != 0UL) {
11634# 2066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11635 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
11636# 2067 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11637 if ((unsigned int )*((unsigned char *)info->port.tty + 580UL) != 0U) {
11638# 2068 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11639 if (((int )info->signals & 16) != 0) {
11640# 2069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11641 (info->port.tty)->hw_stopped = (unsigned char)0;
11642# 2070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11643 info->pending_bh = info->pending_bh | 2U;
11644# 2071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11645 return;
11646 } else
11647# 2074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11648 if (((int )info->signals & 16) == 0) {
11649# 2075 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11650 (info->port.tty)->hw_stopped = (unsigned char)1;
11651 } else {
11652
11653 }
11654 } else {
11655
11656 }
11657 } else {
11658
11659 }
11660 } else {
11661
11662 }
11663# 2076 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11664 return;
11665}
11666}
11667# 2081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11668static void dcd_change(struct slgt_info *info , unsigned short status )
11669{ __u16 tmp ;
11670 int tmp___0 ;
11671
11672 {
11673# 2083 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11674 if (((int )status & 2) != 0) {
11675# 2084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11676 info->signals = (unsigned char )((unsigned int )info->signals | 1U);
11677# 2085 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11678 info->input_signal_events.dcd_up = info->input_signal_events.dcd_up + 1;
11679 } else {
11680# 2087 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11681 info->signals = (unsigned char )((unsigned int )info->signals & 254U);
11682# 2088 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11683 info->input_signal_events.dcd_down = info->input_signal_events.dcd_down + 1;
11684 }
11685# 2090 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11686 if (debug_level > 4) {
11687 {
11688# 2090 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11689 printk("dcd_change %s signals=%04X\n", (char *)(& info->device_name), (int )info->signals);
11690 }
11691 } else {
11692
11693 }
11694# 2091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11695 tmp___0 = info->dcd_chkcount;
11696# 2091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11697 info->dcd_chkcount = info->dcd_chkcount + 1;
11698# 2091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11699 if (tmp___0 == 100) {
11700 {
11701# 2092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11702 tmp = rd_reg16(info, 140U);
11703# 2092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11704 wr_reg16(info, 140U, (__u16 )((int )tmp & 65503));
11705 }
11706# 2093 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11707 return;
11708 } else {
11709
11710 }
11711# 2095 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11712 info->icount.dcd = info->icount.dcd + 1U;
11713# 2097 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11714 if (info->netcount != 0) {
11715# 2098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11716 if ((int )info->signals & 1) {
11717 {
11718# 2099 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11719 netif_carrier_on(info->netdev);
11720 }
11721 } else {
11722 {
11723# 2101 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11724 netif_carrier_off(info->netdev);
11725 }
11726 }
11727 } else {
11728
11729 }
11730 {
11731# 2104 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11732 __wake_up(& info->status_event_wait_q, 1U, 1, (void *)0);
11733# 2105 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11734 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
11735# 2106 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11736 info->pending_bh = info->pending_bh | 4U;
11737 }
11738# 2108 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11739 if ((info->port.flags & 33554432UL) != 0UL) {
11740# 2109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11741 if ((int )info->signals & 1) {
11742 {
11743# 2110 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11744 __wake_up(& info->port.open_wait, 1U, 1, (void *)0);
11745 }
11746 } else
11747# 2112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11748 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
11749 {
11750# 2113 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11751 tty_hangup(info->port.tty);
11752 }
11753 } else {
11754
11755 }
11756 } else {
11757
11758 }
11759# 2114 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11760 return;
11761}
11762}
11763# 2118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11764static void ri_change(struct slgt_info *info , unsigned short status )
11765{ __u16 tmp ;
11766 int tmp___0 ;
11767
11768 {
11769# 2120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11770 if ((int )status & 1) {
11771# 2121 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11772 info->signals = (unsigned char )((unsigned int )info->signals | 4U);
11773# 2122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11774 info->input_signal_events.ri_up = info->input_signal_events.ri_up + 1;
11775 } else {
11776# 2124 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11777 info->signals = (unsigned char )((unsigned int )info->signals & 251U);
11778# 2125 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11779 info->input_signal_events.ri_down = info->input_signal_events.ri_down + 1;
11780 }
11781# 2127 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11782 if (debug_level > 4) {
11783 {
11784# 2127 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11785 printk("ri_change %s signals=%04X\n", (char *)(& info->device_name), (int )info->signals);
11786 }
11787 } else {
11788
11789 }
11790# 2128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11791 tmp___0 = info->ri_chkcount;
11792# 2128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11793 info->ri_chkcount = info->ri_chkcount + 1;
11794# 2128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11795 if (tmp___0 == 100) {
11796 {
11797# 2129 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11798 tmp = rd_reg16(info, 140U);
11799# 2129 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11800 wr_reg16(info, 140U, (__u16 )((int )tmp & 65519));
11801 }
11802# 2130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11803 return;
11804 } else {
11805
11806 }
11807 {
11808# 2132 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11809 info->icount.rng = info->icount.rng + 1U;
11810# 2133 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11811 __wake_up(& info->status_event_wait_q, 1U, 1, (void *)0);
11812# 2134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11813 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
11814# 2135 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11815 info->pending_bh = info->pending_bh | 4U;
11816 }
11817# 2136 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11818 return;
11819}
11820}
11821# 2138 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11822static void isr_rxdata(struct slgt_info *info )
11823{ unsigned int count ;
11824 unsigned int i ;
11825 unsigned short reg ;
11826 unsigned int tmp ;
11827 unsigned int tmp___0 ;
11828 __u16 tmp___1 ;
11829
11830 {
11831# 2140 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11832 count = (unsigned int )info->rbuf_fill_count;
11833# 2141 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11834 i = info->rbuf_fill_index;
11835# 2144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11836 goto ldv_36907;
11837 ldv_36908:
11838 {
11839# 2145 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11840 reg = rd_reg16(info, 128U);
11841 }
11842# 2146 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11843 if (debug_level > 4) {
11844 {
11845# 2146 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11846 printk("isr_rxdata %s RDR=%04X\n", (char *)(& info->device_name), (int )reg);
11847 }
11848 } else {
11849
11850 }
11851# 2147 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11852 if ((int )((short )(info->rbufs + (unsigned long )i)->status) < 0) {
11853 {
11854# 2149 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11855 rx_stop(info);
11856# 2150 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11857 info->rx_restart = (bool )1;
11858 }
11859# 2151 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11860 goto ldv_36907;
11861 } else {
11862
11863 }
11864# 2153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11865 tmp = count;
11866# 2153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11867 count = count + 1U;
11868# 2153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11869 *((info->rbufs + (unsigned long )i)->buf + (unsigned long )tmp) = (char )reg;
11870# 2155 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11871 if (info->params.mode == 1UL) {
11872# 2156 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11873 tmp___0 = count;
11874# 2156 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11875 count = count + 1U;
11876# 2156 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11877 *((info->rbufs + (unsigned long )i)->buf + (unsigned long )tmp___0) = (char )((int )reg >> 8);
11878 } else {
11879
11880 }
11881# 2157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11882 if (info->rbuf_fill_level == count) {
11883# 2157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11884 goto _L;
11885 } else
11886# 2157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11887 if (((int )reg & 1024) != 0) {
11888 _L:
11889# 2159 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11890 (info->rbufs + (unsigned long )i)->count = (unsigned short )count;
11891# 2160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11892 (info->rbufs + (unsigned long )i)->status = (__le16 )((unsigned int )((int )reg >> 8) | 32768U);
11893# 2161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11894 count = 0U;
11895# 2161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11896 info->rbuf_fill_count = (unsigned short)0;
11897# 2162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11898 i = i + 1U;
11899# 2162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11900 if (i == info->rbuf_count) {
11901# 2163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11902 i = 0U;
11903 } else {
11904
11905 }
11906# 2164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11907 info->pending_bh = info->pending_bh | 1U;
11908 } else {
11909
11910 }
11911 ldv_36907:
11912 {
11913# 2144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11914 tmp___1 = rd_reg16(info, 142U);
11915 }
11916# 2144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11917 if (((int )tmp___1 & 1024) != 0) {
11918# 2145 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11919 goto ldv_36908;
11920 } else {
11921# 2147 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11922 goto ldv_36909;
11923 }
11924 ldv_36909:
11925# 2168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11926 info->rbuf_fill_index = i;
11927# 2169 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11928 info->rbuf_fill_count = (unsigned short )count;
11929# 2170 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11930 return;
11931}
11932}
11933# 2172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11934static void isr_serial(struct slgt_info *info )
11935{ unsigned short status ;
11936 __u16 tmp ;
11937
11938 {
11939 {
11940# 2174 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11941 tmp = rd_reg16(info, 142U);
11942# 2174 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11943 status = tmp;
11944 }
11945# 2176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11946 if (debug_level > 4) {
11947 {
11948# 2176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11949 printk("%s isr_serial status=%04X\n", (char *)(& info->device_name), (int )status);
11950 }
11951 } else {
11952
11953 }
11954 {
11955# 2178 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11956 wr_reg16(info, 142U, (__u16 )((int )status));
11957# 2180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11958 info->irq_occurred = (bool )1;
11959 }
11960# 2182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11961 if (info->params.mode == 1UL) {
11962# 2183 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11963 if (((int )status & 4096) != 0) {
11964# 2184 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11965 if ((int )info->tx_active) {
11966 {
11967# 2185 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11968 isr_txeom(info, (unsigned short )((int )status));
11969 }
11970 } else {
11971
11972 }
11973 } else {
11974
11975 }
11976# 2187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11977 if (info->rx_pio != 0U) {
11978# 2187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11979 if (((int )status & 1024) != 0) {
11980 {
11981# 2188 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11982 isr_rxdata(info);
11983 }
11984 } else {
11985
11986 }
11987 } else {
11988
11989 }
11990# 2189 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11991 if (((int )status & 512) != 0) {
11992# 2189 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11993 if (((int )status & 16384) != 0) {
11994# 2190 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11995 info->icount.brk = info->icount.brk + 1U;
11996# 2192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11997 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
11998# 2193 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
11999 if (((unsigned int )status & info->ignore_status_mask) == 0U) {
12000# 2194 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12001 if ((info->read_status_mask & 16384U) != 0U) {
12002 {
12003# 2195 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12004 tty_insert_flip_char(info->port.tty, (unsigned char)0, (char)1);
12005 }
12006# 2196 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12007 if ((info->port.flags & 4UL) != 0UL) {
12008 {
12009# 2197 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12010 do_SAK(info->port.tty);
12011 }
12012 } else {
12013
12014 }
12015 } else {
12016
12017 }
12018 } else {
12019
12020 }
12021 } else {
12022
12023 }
12024 } else {
12025
12026 }
12027 } else {
12028
12029 }
12030 } else {
12031# 2203 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12032 if (((int )status & 6144) != 0) {
12033 {
12034# 2204 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12035 isr_txeom(info, (unsigned short )((int )status));
12036 }
12037 } else {
12038
12039 }
12040# 2205 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12041 if (info->rx_pio != 0U) {
12042# 2205 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12043 if (((int )status & 1024) != 0) {
12044 {
12045# 2206 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12046 isr_rxdata(info);
12047 }
12048 } else {
12049
12050 }
12051 } else {
12052
12053 }
12054# 2207 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12055 if (((int )status & 512) != 0) {
12056# 2208 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12057 if (((int )status & 16384) != 0) {
12058# 2209 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12059 info->icount.rxidle = info->icount.rxidle + 1U;
12060 } else {
12061# 2211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12062 info->icount.exithunt = info->icount.exithunt + 1U;
12063 }
12064 {
12065# 2212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12066 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
12067 }
12068 } else {
12069
12070 }
12071# 2215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12072 if (((int )status & 256) != 0) {
12073 {
12074# 2216 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12075 rx_start(info);
12076 }
12077 } else {
12078
12079 }
12080 }
12081# 2219 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12082 if (((int )status & 128) != 0) {
12083 {
12084# 2220 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12085 dsr_change(info, (unsigned short )((int )status));
12086 }
12087 } else {
12088
12089 }
12090# 2221 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12091 if (((int )status & 64) != 0) {
12092 {
12093# 2222 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12094 cts_change(info, (unsigned short )((int )status));
12095 }
12096 } else {
12097
12098 }
12099# 2223 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12100 if (((int )status & 32) != 0) {
12101 {
12102# 2224 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12103 dcd_change(info, (unsigned short )((int )status));
12104 }
12105 } else {
12106
12107 }
12108# 2225 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12109 if (((int )status & 16) != 0) {
12110 {
12111# 2226 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12112 ri_change(info, (unsigned short )((int )status));
12113 }
12114 } else {
12115
12116 }
12117# 2227 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12118 return;
12119}
12120}
12121# 2229 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12122static void isr_rdma(struct slgt_info *info )
12123{ unsigned int status ;
12124 __u32 tmp ;
12125
12126 {
12127 {
12128# 2231 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12129 tmp = rd_reg32(info, 144U);
12130# 2231 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12131 status = tmp;
12132 }
12133# 2233 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12134 if (debug_level > 4) {
12135 {
12136# 2233 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12137 printk("%s isr_rdma status=%08x\n", (char *)(& info->device_name), status);
12138 }
12139 } else {
12140
12141 }
12142 {
12143# 2246 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12144 wr_reg32(info, 144U, status);
12145 }
12146# 2248 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12147 if ((status & 48U) != 0U) {
12148# 2249 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12149 if (debug_level > 4) {
12150 {
12151# 2249 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12152 printk("%s isr_rdma rx_restart=1\n", (char *)(& info->device_name));
12153 }
12154 } else {
12155
12156 }
12157# 2250 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12158 info->rx_restart = (bool )1;
12159 } else {
12160
12161 }
12162# 2252 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12163 info->pending_bh = info->pending_bh | 1U;
12164# 2253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12165 return;
12166}
12167}
12168# 2255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12169static void isr_tdma(struct slgt_info *info )
12170{ unsigned int status ;
12171 __u32 tmp ;
12172
12173 {
12174 {
12175# 2257 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12176 tmp = rd_reg32(info, 148U);
12177# 2257 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12178 status = tmp;
12179 }
12180# 2259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12181 if (debug_level > 4) {
12182 {
12183# 2259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12184 printk("%s isr_tdma status=%08x\n", (char *)(& info->device_name), status);
12185 }
12186 } else {
12187
12188 }
12189 {
12190# 2271 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12191 wr_reg32(info, 148U, status);
12192 }
12193# 2273 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12194 if ((status & 56U) != 0U) {
12195# 2276 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12196 info->pending_bh = info->pending_bh | 2U;
12197 } else {
12198
12199 }
12200# 2277 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12201 return;
12202}
12203}
12204# 2286 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12205static bool unsent_tbufs(struct slgt_info *info )
12206{ unsigned int i ;
12207 bool rc ;
12208
12209 {
12210# 2288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12211 i = info->tbuf_current;
12212# 2289 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12213 rc = (bool )0;
12214 ldv_36928: ;
12215# 2297 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12216 if (i != 0U) {
12217# 2298 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12218 i = i - 1U;
12219 } else {
12220# 2300 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12221 i = info->tbuf_count - 1U;
12222 }
12223# 2301 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12224 if ((unsigned int )(info->tbufs + (unsigned long )i)->count == 0U) {
12225# 2302 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12226 goto ldv_36927;
12227 } else {
12228
12229 }
12230# 2303 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12231 info->tbuf_start = i;
12232# 2304 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12233 rc = (bool )1;
12234# 2305 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12235 if (info->tbuf_current != i) {
12236# 2306 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12237 goto ldv_36928;
12238 } else {
12239# 2308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12240 goto ldv_36927;
12241 }
12242 ldv_36927: ;
12243# 2307 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12244 return (rc);
12245}
12246}
12247# 2310 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12248static void isr_txeom(struct slgt_info *info , unsigned short status )
12249{ __u16 tmp ;
12250 unsigned short val ;
12251 __u16 tmp___0 ;
12252 bool tmp___1 ;
12253
12254 {
12255# 2312 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12256 if (debug_level > 4) {
12257 {
12258# 2312 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12259 printk("%s txeom status=%04x\n", (char *)(& info->device_name), (int )status);
12260 }
12261 } else {
12262
12263 }
12264 {
12265# 2314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12266 tmp = rd_reg16(info, 140U);
12267# 2314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12268 wr_reg16(info, 140U, (__u16 )((int )tmp & 51199));
12269# 2315 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12270 tdma_reset(info);
12271 }
12272# 2316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12273 if (((int )status & 2048) != 0) {
12274 {
12275# 2317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12276 tmp___0 = rd_reg16(info, 130U);
12277# 2317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12278 val = tmp___0;
12279# 2318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12280 wr_reg16(info, 130U, (__u16 )((int )((unsigned int )val | 4U)));
12281# 2319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12282 wr_reg16(info, 130U, (__u16 )((int )val));
12283 }
12284 } else {
12285
12286 }
12287# 2322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12288 if ((int )info->tx_active) {
12289# 2323 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12290 if (info->params.mode != 1UL) {
12291# 2324 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12292 if (((int )status & 2048) != 0) {
12293# 2325 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12294 info->icount.txunder = info->icount.txunder + 1U;
12295 } else
12296# 2326 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12297 if (((int )status & 4096) != 0) {
12298# 2327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12299 info->icount.txok = info->icount.txok + 1U;
12300 } else {
12301
12302 }
12303 } else {
12304
12305 }
12306 {
12307# 2330 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12308 tmp___1 = unsent_tbufs(info);
12309 }
12310# 2330 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12311 if ((int )tmp___1) {
12312 {
12313# 2331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12314 tx_start(info);
12315# 2332 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12316 update_tx_timer(info);
12317 }
12318# 2333 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12319 return;
12320 } else {
12321
12322 }
12323 {
12324# 2335 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12325 info->tx_active = (bool )0;
12326# 2337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12327 del_timer(& info->tx_timer);
12328 }
12329# 2339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12330 if (info->params.mode != 1UL) {
12331# 2339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12332 if ((int )info->drop_rts_on_tx_done) {
12333 {
12334# 2340 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12335 info->signals = (unsigned char )((unsigned int )info->signals & 223U);
12336# 2341 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12337 info->drop_rts_on_tx_done = (bool )0;
12338# 2342 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12339 set_signals(info);
12340 }
12341 } else {
12342
12343 }
12344 } else {
12345
12346 }
12347# 2346 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12348 if (info->netcount != 0) {
12349 {
12350# 2347 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12351 hdlcdev_tx_done(info);
12352 }
12353 } else {
12354# 2351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12355 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
12356# 2351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12357 if ((unsigned int )*((unsigned char *)info->port.tty + 580UL) != 0U) {
12358 {
12359# 2352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12360 tx_stop(info);
12361 }
12362# 2353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12363 return;
12364 } else
12365# 2351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12366 if ((unsigned int )*((unsigned char *)info->port.tty + 580UL) != 0U) {
12367 {
12368# 2352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12369 tx_stop(info);
12370 }
12371# 2353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12372 return;
12373 } else {
12374
12375 }
12376 } else {
12377
12378 }
12379# 2355 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12380 info->pending_bh = info->pending_bh | 2U;
12381 }
12382 } else {
12383
12384 }
12385# 2358 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12386 return;
12387}
12388}
12389# 2360 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12390static void isr_gpio(struct slgt_info *info , unsigned int changed , unsigned int state )
12391{ struct cond_wait *w ;
12392 struct cond_wait *prev ;
12393
12394 {
12395# 2365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12396 w = info->gpio_wait_q;
12397# 2365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12398 prev = (struct cond_wait *)0;
12399# 2365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12400 goto ldv_36942;
12401 ldv_36941: ;
12402# 2366 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12403 if ((w->data & changed) != 0U) {
12404 {
12405# 2367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12406 w->data = state;
12407# 2368 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12408 __wake_up(& w->q, 1U, 1, (void *)0);
12409 }
12410# 2369 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12411 if ((unsigned long )prev != (unsigned long )((struct cond_wait *)0)) {
12412# 2370 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12413 prev->next = w->next;
12414 } else {
12415# 2372 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12416 info->gpio_wait_q = w->next;
12417 }
12418 } else {
12419# 2374 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12420 prev = w;
12421 }
12422# 2365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12423 w = w->next;
12424 ldv_36942: ;
12425# 2365 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12426 if ((unsigned long )w != (unsigned long )((struct cond_wait *)0)) {
12427# 2366 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12428 goto ldv_36941;
12429 } else {
12430# 2368 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12431 goto ldv_36943;
12432 }
12433 ldv_36943: ;
12434# 2370 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12435 return;
12436}
12437}
12438# 2383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12439static irqreturn_t slgt_interrupt(int dummy , void *dev_id )
12440{ struct slgt_info *info ;
12441 unsigned int gsr ;
12442 unsigned int i ;
12443 __u32 tmp ;
12444 unsigned int state ;
12445 unsigned int changed ;
12446 struct slgt_info *port ;
12447
12448 {
12449# 2385 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12450 info = (struct slgt_info *)dev_id;
12451# 2389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12452 if (debug_level > 4) {
12453 {
12454# 2389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12455 printk("slgt_interrupt irq=%d entry\n", info->irq_level);
12456 }
12457 } else {
12458
12459 }
12460# 2391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12461 goto ldv_36956;
12462 ldv_36955: ;
12463# 2392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12464 if (debug_level > 4) {
12465 {
12466# 2392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12467 printk("%s gsr=%08x\n", (char *)(& info->device_name), gsr);
12468 }
12469 } else {
12470
12471 }
12472# 2393 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12473 info->irq_occurred = (bool )1;
12474# 2394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12475 i = 0U;
12476# 2394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12477 goto ldv_36953;
12478 ldv_36952: ;
12479# 2395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12480 if ((unsigned long )info->port_array[i] == (unsigned long )((struct slgt_info *)0)) {
12481# 2396 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12482 goto ldv_36951;
12483 } else {
12484
12485 }
12486 {
12487# 2397 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12488 spin_lock(& (info->port_array[i])->lock);
12489 }
12490# 2398 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12491 if (((unsigned int )(256 << (int )i) & gsr) != 0U) {
12492 {
12493# 2399 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12494 isr_serial(info->port_array[i]);
12495 }
12496 } else {
12497
12498 }
12499# 2400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12500 if (((unsigned int )(65536 << (int )(i * 2U)) & gsr) != 0U) {
12501 {
12502# 2401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12503 isr_rdma(info->port_array[i]);
12504 }
12505 } else {
12506
12507 }
12508# 2402 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12509 if (((unsigned int )(131072 << (int )(i * 2U)) & gsr) != 0U) {
12510 {
12511# 2403 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12512 isr_tdma(info->port_array[i]);
12513 }
12514 } else {
12515
12516 }
12517 {
12518# 2404 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12519 spin_unlock(& (info->port_array[i])->lock);
12520 }
12521 ldv_36951:
12522# 2394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12523 i = i + 1U;
12524 ldv_36953: ;
12525# 2394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12526 if ((unsigned int )info->port_count > i) {
12527# 2395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12528 goto ldv_36952;
12529 } else {
12530# 2397 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12531 goto ldv_36954;
12532 }
12533 ldv_36954: ;
12534 ldv_36956:
12535 {
12536# 2391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12537 tmp = rd_reg32(info, 0U);
12538# 2391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12539 gsr = tmp & 4294967040U;
12540 }
12541# 2391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12542 if (gsr != 0U) {
12543# 2392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12544 goto ldv_36955;
12545 } else {
12546# 2394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12547 goto ldv_36957;
12548 }
12549 ldv_36957: ;
12550# 2408 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12551 if (info->gpio_present != 0U) {
12552 {
12553# 2411 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12554 spin_lock(& info->lock);
12555 }
12556# 2412 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12557 goto ldv_36964;
12558 ldv_36963: ;
12559# 2413 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12560 if (debug_level > 4) {
12561 {
12562# 2413 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12563 printk("%s iosr=%08x\n", (char *)(& info->device_name), changed);
12564 }
12565 } else {
12566
12567 }
12568 {
12569# 2415 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12570 state = rd_reg32(info, 16U);
12571# 2417 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12572 wr_reg32(info, 20U, changed);
12573# 2418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12574 i = 0U;
12575 }
12576# 2418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12577 goto ldv_36961;
12578 ldv_36960: ;
12579# 2419 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12580 if ((unsigned long )info->port_array[i] != (unsigned long )((struct slgt_info *)0)) {
12581 {
12582# 2420 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12583 isr_gpio(info->port_array[i], changed, state);
12584 }
12585 } else {
12586
12587 }
12588# 2418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12589 i = i + 1U;
12590 ldv_36961: ;
12591# 2418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12592 if ((unsigned int )info->port_count > i) {
12593# 2419 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12594 goto ldv_36960;
12595 } else {
12596# 2421 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12597 goto ldv_36962;
12598 }
12599 ldv_36962: ;
12600 ldv_36964:
12601 {
12602# 2412 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12603 changed = rd_reg32(info, 20U);
12604 }
12605# 2412 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12606 if (changed != 0U) {
12607# 2413 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12608 goto ldv_36963;
12609 } else {
12610# 2415 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12611 goto ldv_36965;
12612 }
12613 ldv_36965:
12614 {
12615# 2423 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12616 spin_unlock(& info->lock);
12617 }
12618 } else {
12619
12620 }
12621# 2426 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12622 i = 0U;
12623# 2426 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12624 goto ldv_36969;
12625 ldv_36968:
12626# 2427 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12627 port = info->port_array[i];
12628# 2428 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12629 if ((unsigned long )port == (unsigned long )((struct slgt_info *)0)) {
12630# 2429 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12631 goto ldv_36967;
12632 } else {
12633
12634 }
12635 {
12636# 2430 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12637 spin_lock(& port->lock);
12638 }
12639# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12640 if (port->port.count != 0) {
12641# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12642 goto _L;
12643 } else
12644# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12645 if (port->netcount != 0) {
12646 _L:
12647# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12648 if (port->pending_bh != 0U) {
12649# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12650 if (! port->bh_running) {
12651# 2431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12652 if (! port->bh_requested) {
12653# 2434 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12654 if (debug_level > 4) {
12655 {
12656# 2434 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12657 printk("%s bh queued\n", (char *)(& port->device_name));
12658 }
12659 } else {
12660
12661 }
12662 {
12663# 2435 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12664 schedule_work(& port->task);
12665# 2436 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12666 port->bh_requested = (bool )1;
12667 }
12668 } else {
12669
12670 }
12671 } else {
12672
12673 }
12674 } else {
12675
12676 }
12677 } else {
12678
12679 }
12680 {
12681# 2438 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12682 spin_unlock(& port->lock);
12683 }
12684 ldv_36967:
12685# 2426 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12686 i = i + 1U;
12687 ldv_36969: ;
12688# 2426 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12689 if ((unsigned int )info->port_count > i) {
12690# 2427 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12691 goto ldv_36968;
12692 } else {
12693# 2429 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12694 goto ldv_36970;
12695 }
12696 ldv_36970: ;
12697# 2441 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12698 if (debug_level > 4) {
12699 {
12700# 2441 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12701 printk("slgt_interrupt irq=%d exit\n", info->irq_level);
12702 }
12703 } else {
12704
12705 }
12706# 2442 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12707 return ((irqreturn_t )1);
12708}
12709}
12710# 2445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12711static int startup(struct slgt_info *info )
12712{ void *tmp ;
12713
12714 {
12715# 2447 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12716 if (debug_level > 2) {
12717 {
12718# 2447 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12719 printk("%s startup\n", (char *)(& info->device_name));
12720 }
12721 } else {
12722
12723 }
12724# 2449 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12725 if ((info->port.flags & 2147483648UL) != 0UL) {
12726# 2450 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12727 return (0);
12728 } else {
12729
12730 }
12731# 2452 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12732 if ((unsigned long )info->tx_buf == (unsigned long )((unsigned char *)0)) {
12733 {
12734# 2453 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12735 tmp = kmalloc((size_t )info->max_frame_size, 208U);
12736# 2453 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12737 info->tx_buf = (unsigned char *)tmp;
12738 }
12739# 2454 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12740 if ((unsigned long )info->tx_buf == (unsigned long )((unsigned char *)0)) {
12741# 2455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12742 if (debug_level > 1) {
12743 {
12744# 2455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12745 printk("%s can\'t allocate tx buffer\n", (char *)(& info->device_name));
12746 }
12747 } else {
12748
12749 }
12750# 2456 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12751 return (-12);
12752 } else {
12753
12754 }
12755 } else {
12756
12757 }
12758 {
12759# 2460 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12760 info->pending_bh = 0U;
12761# 2462 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12762 memset((void *)(& info->icount), 0, 92UL);
12763# 2465 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12764 change_params(info);
12765 }
12766# 2467 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12767 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
12768 {
12769# 2468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12770 clear_bit(1, (unsigned long volatile *)(& (info->port.tty)->flags));
12771 }
12772 } else {
12773
12774 }
12775# 2470 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12776 info->port.flags = info->port.flags | 2147483648UL;
12777# 2472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12778 return (0);
12779}
12780}
12781# 2478 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12782static void shutdown(struct slgt_info *info )
12783{ unsigned long flags ;
12784 raw_spinlock_t *tmp ;
12785 __u16 tmp___0 ;
12786
12787 {
12788# 2482 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12789 if ((info->port.flags & 2147483648UL) == 0UL) {
12790# 2483 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12791 return;
12792 } else {
12793
12794 }
12795# 2485 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12796 if (debug_level > 2) {
12797 {
12798# 2485 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12799 printk("%s shutdown\n", (char *)(& info->device_name));
12800 }
12801 } else {
12802
12803 }
12804 {
12805# 2489 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12806 __wake_up(& info->status_event_wait_q, 1U, 1, (void *)0);
12807# 2490 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12808 __wake_up(& info->event_wait_q, 1U, 1, (void *)0);
12809# 2492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12810 del_timer_sync(& info->tx_timer);
12811# 2493 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12812 del_timer_sync(& info->rx_timer);
12813# 2495 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12814 kfree((void const *)info->tx_buf);
12815# 2496 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12816 info->tx_buf = (unsigned char *)0;
12817# 2498 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12818 tmp = spinlock_check(& info->lock);
12819# 2498 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12820 flags = _raw_spin_lock_irqsave(tmp);
12821# 2500 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12822 tx_stop(info);
12823# 2501 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12824 rx_stop(info);
12825# 2503 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12826 tmp___0 = rd_reg16(info, 140U);
12827# 2503 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12828 wr_reg16(info, 140U, (__u16 )((int )tmp___0 & 49166));
12829 }
12830# 2505 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12831 if ((unsigned long )info->port.tty == (unsigned long )((struct tty_struct *)0)) {
12832 {
12833# 2506 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12834 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
12835# 2507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12836 set_signals(info);
12837 }
12838 } else
12839# 2505 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12840 if ((((info->port.tty)->termios)->c_cflag & 1024U) != 0U) {
12841 {
12842# 2506 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12843 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
12844# 2507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12845 set_signals(info);
12846 }
12847 } else {
12848
12849 }
12850 {
12851# 2510 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12852 flush_cond_wait(& info->gpio_wait_q);
12853# 2512 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12854 spin_unlock_irqrestore(& info->lock, flags);
12855 }
12856# 2514 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12857 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
12858 {
12859# 2515 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12860 set_bit(1U, (unsigned long volatile *)(& (info->port.tty)->flags));
12861 }
12862 } else {
12863
12864 }
12865# 2517 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12866 info->port.flags = info->port.flags & 2147483647UL;
12867# 2518 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12868 return;
12869}
12870}
12871# 2520 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12872static void program_hw(struct slgt_info *info )
12873{ unsigned long flags ;
12874 raw_spinlock_t *tmp ;
12875 __u16 tmp___0 ;
12876
12877 {
12878 {
12879# 2524 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12880 tmp = spinlock_check(& info->lock);
12881# 2524 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12882 flags = _raw_spin_lock_irqsave(tmp);
12883# 2526 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12884 rx_stop(info);
12885# 2527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12886 tx_stop(info);
12887 }
12888# 2529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12889 if (info->params.mode != 1UL) {
12890 {
12891# 2531 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12892 sync_mode(info);
12893 }
12894 } else
12895# 2529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12896 if (info->netcount != 0) {
12897 {
12898# 2531 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12899 sync_mode(info);
12900 }
12901 } else {
12902 {
12903# 2533 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12904 async_mode(info);
12905 }
12906 }
12907 {
12908# 2535 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12909 set_signals(info);
12910# 2537 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12911 info->dcd_chkcount = 0;
12912# 2538 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12913 info->cts_chkcount = 0;
12914# 2539 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12915 info->ri_chkcount = 0;
12916# 2540 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12917 info->dsr_chkcount = 0;
12918# 2542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12919 tmp___0 = rd_reg16(info, 140U);
12920# 2542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12921 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___0 | 240U)));
12922# 2543 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12923 get_signals(info);
12924 }
12925# 2545 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12926 if (info->netcount != 0) {
12927 {
12928# 2547 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12929 rx_start(info);
12930 }
12931 } else
12932# 2545 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12933 if ((unsigned long )info->port.tty != (unsigned long )((struct tty_struct *)0)) {
12934# 2545 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12935 if ((((info->port.tty)->termios)->c_cflag & 128U) != 0U) {
12936 {
12937# 2547 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12938 rx_start(info);
12939 }
12940 } else {
12941
12942 }
12943 } else {
12944
12945 }
12946 {
12947# 2549 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12948 spin_unlock_irqrestore(& info->lock, flags);
12949 }
12950# 2550 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12951 return;
12952}
12953}
12954# 2555 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12955static void change_params(struct slgt_info *info )
12956{ unsigned int cflag ;
12957 int bits_per_char ;
12958 speed_t tmp ;
12959
12960 {
12961# 2560 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12962 if ((unsigned long )info->port.tty == (unsigned long )((struct tty_struct *)0)) {
12963# 2561 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12964 return;
12965 } else
12966# 2560 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12967 if ((unsigned long )(info->port.tty)->termios == (unsigned long )((struct ktermios *)0)) {
12968# 2561 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12969 return;
12970 } else {
12971
12972 }
12973# 2562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12974 if (debug_level > 2) {
12975 {
12976# 2562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12977 printk("%s change_params\n", (char *)(& info->device_name));
12978 }
12979 } else {
12980
12981 }
12982# 2564 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12983 cflag = ((info->port.tty)->termios)->c_cflag;
12984# 2568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12985 if ((cflag & 4111U) != 0U) {
12986# 2569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12987 info->signals = (unsigned char )((unsigned int )info->signals | 160U);
12988 } else {
12989# 2571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12990 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
12991 }
12992# 2576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12993 if ((int )(cflag & 48U) == 0) {
12994# 2576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12995 goto case_0;
12996 } else
12997# 2577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
12998 if ((int )(cflag & 48U) == 16) {
12999# 2577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13000 goto case_16;
13001 } else
13002# 2578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13003 if ((int )(cflag & 48U) == 32) {
13004# 2578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13005 goto case_32;
13006 } else
13007# 2579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13008 if ((int )(cflag & 48U) == 48) {
13009# 2579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13010 goto case_48;
13011 } else {
13012# 2580 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13013 goto switch_default;
13014# 2575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13015 if (0) {
13016 case_0:
13017# 2576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13018 info->params.data_bits = (unsigned char)5;
13019# 2576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13020 goto ldv_36994;
13021 case_16:
13022# 2577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13023 info->params.data_bits = (unsigned char)6;
13024# 2577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13025 goto ldv_36994;
13026 case_32:
13027# 2578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13028 info->params.data_bits = (unsigned char)7;
13029# 2578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13030 goto ldv_36994;
13031 case_48:
13032# 2579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13033 info->params.data_bits = (unsigned char)8;
13034# 2579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13035 goto ldv_36994;
13036 switch_default:
13037# 2580 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13038 info->params.data_bits = (unsigned char)7;
13039# 2580 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13040 goto ldv_36994;
13041 } else {
13042
13043 }
13044 }
13045 ldv_36994: ;
13046# 2583 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13047 if ((cflag & 64U) != 0U) {
13048# 2583 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13049 info->params.stop_bits = (unsigned char)2;
13050 } else {
13051# 2583 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13052 info->params.stop_bits = (unsigned char)1;
13053 }
13054# 2585 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13055 if ((cflag & 256U) != 0U) {
13056# 2586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13057 if ((cflag & 512U) != 0U) {
13058# 2586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13059 info->params.parity = (unsigned char)2;
13060 } else {
13061# 2586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13062 info->params.parity = (unsigned char)1;
13063 }
13064 } else {
13065# 2588 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13066 info->params.parity = (unsigned char)0;
13067 }
13068 {
13069# 2593 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13070 bits_per_char = ((int )info->params.data_bits + (int )info->params.stop_bits) + 1;
13071# 2596 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13072 tmp = tty_get_baud_rate(info->port.tty);
13073# 2596 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13074 info->params.data_rate = (unsigned long )tmp;
13075 }
13076# 2598 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13077 if (info->params.data_rate != 0UL) {
13078# 2599 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13079 info->timeout = (int )((unsigned long )(bits_per_char * 8000) / info->params.data_rate);
13080 } else {
13081
13082 }
13083# 2602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13084 info->timeout = info->timeout + 5;
13085# 2604 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13086 if ((int )cflag < 0) {
13087# 2605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13088 info->port.flags = info->port.flags | 67108864UL;
13089 } else {
13090# 2607 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13091 info->port.flags = info->port.flags & 4227858431UL;
13092 }
13093# 2609 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13094 if ((cflag & 2048U) != 0U) {
13095# 2610 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13096 info->port.flags = info->port.flags & 4261412863UL;
13097 } else {
13098# 2612 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13099 info->port.flags = info->port.flags | 33554432UL;
13100 }
13101# 2616 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13102 info->read_status_mask = 256U;
13103# 2617 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13104 if ((((info->port.tty)->termios)->c_iflag & 16U) != 0U) {
13105# 2618 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13106 info->read_status_mask = info->read_status_mask | 3U;
13107 } else {
13108
13109 }
13110# 2619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13111 if ((((info->port.tty)->termios)->c_iflag & 2U) != 0U) {
13112# 2620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13113 info->read_status_mask = info->read_status_mask | 16384U;
13114 } else
13115# 2619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13116 if ((((info->port.tty)->termios)->c_iflag & 8U) != 0U) {
13117# 2620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13118 info->read_status_mask = info->read_status_mask | 16384U;
13119 } else {
13120
13121 }
13122# 2621 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13123 if ((((info->port.tty)->termios)->c_iflag & 4U) != 0U) {
13124# 2622 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13125 info->ignore_status_mask = info->ignore_status_mask | 3U;
13126 } else {
13127
13128 }
13129# 2623 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13130 if ((int )((info->port.tty)->termios)->c_iflag & 1) {
13131# 2624 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13132 info->ignore_status_mask = info->ignore_status_mask | 16384U;
13133# 2628 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13134 if ((((info->port.tty)->termios)->c_iflag & 4U) != 0U) {
13135# 2629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13136 info->ignore_status_mask = info->ignore_status_mask | 16U;
13137 } else {
13138
13139 }
13140 } else {
13141
13142 }
13143 {
13144# 2632 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13145 program_hw(info);
13146 }
13147# 2633 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13148 return;
13149}
13150}
13151# 2635 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13152static int get_stats(struct slgt_info *info , struct mgsl_icount *user_icount )
13153{ int tmp ;
13154
13155 {
13156# 2637 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13157 if (debug_level > 2) {
13158 {
13159# 2637 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13160 printk("%s get_stats\n", (char *)(& info->device_name));
13161 }
13162 } else {
13163
13164 }
13165# 2638 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13166 if ((unsigned long )user_icount == (unsigned long )((struct mgsl_icount *)0)) {
13167 {
13168# 2639 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13169 memset((void *)(& info->icount), 0, 92UL);
13170 }
13171 } else {
13172 {
13173# 2641 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13174 tmp = copy_to_user((void *)user_icount, (void const *)(& info->icount), 92U);
13175 }
13176# 2641 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13177 if (tmp != 0) {
13178# 2642 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13179 return (-14);
13180 } else {
13181
13182 }
13183 }
13184# 2644 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13185 return (0);
13186}
13187}
13188# 2647 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13189static int get_params(struct slgt_info *info , MGSL_PARAMS *user_params )
13190{ int tmp ;
13191
13192 {
13193# 2649 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13194 if (debug_level > 2) {
13195 {
13196# 2649 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13197 printk("%s get_params\n", (char *)(& info->device_name));
13198 }
13199 } else {
13200
13201 }
13202 {
13203# 2650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13204 tmp = copy_to_user((void *)user_params, (void const *)(& info->params), 48U);
13205 }
13206# 2650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13207 if (tmp != 0) {
13208# 2651 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13209 return (-14);
13210 } else {
13211
13212 }
13213# 2652 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13214 return (0);
13215}
13216}
13217# 2655 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13218static int set_params(struct slgt_info *info , MGSL_PARAMS *new_params )
13219{ unsigned long flags ;
13220 MGSL_PARAMS tmp_params ;
13221 unsigned long tmp ;
13222 raw_spinlock_t *tmp___0 ;
13223 size_t __len ;
13224 void *__ret ;
13225
13226 {
13227# 2660 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13228 if (debug_level > 2) {
13229 {
13230# 2660 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13231 printk("%s set_params\n", (char *)(& info->device_name));
13232 }
13233 } else {
13234
13235 }
13236 {
13237# 2661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13238 tmp = copy_from_user((void *)(& tmp_params), (void const *)new_params, 48UL);
13239 }
13240# 2661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13241 if (tmp != 0UL) {
13242# 2662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13243 return (-14);
13244 } else {
13245
13246 }
13247 {
13248# 2664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13249 tmp___0 = spinlock_check(& info->lock);
13250# 2664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13251 flags = _raw_spin_lock_irqsave(tmp___0);
13252 }
13253# 2665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13254 if (tmp_params.mode == 7UL) {
13255# 2666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13256 info->base_clock = (unsigned int )tmp_params.clock_speed;
13257 } else {
13258# 2668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13259 __len = 48UL;
13260# 2668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13261 if (__len > 63UL) {
13262 {
13263# 2668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13264 __ret = __memcpy((void *)(& info->params), (void const *)(& tmp_params), __len);
13265 }
13266 } else {
13267 {
13268# 2668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13269 __ret = __builtin_memcpy((void *)(& info->params), (void const *)(& tmp_params),
13270 __len);
13271 }
13272 }
13273 }
13274 {
13275# 2669 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13276 spin_unlock_irqrestore(& info->lock, flags);
13277# 2671 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13278 program_hw(info);
13279 }
13280# 2673 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13281 return (0);
13282}
13283}
13284# 2676 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13285static int get_txidle(struct slgt_info *info , int *idle_mode )
13286{ int __ret_pu ;
13287 int __pu_val ;
13288
13289 {
13290# 2678 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13291 if (debug_level > 2) {
13292 {
13293# 2678 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13294 printk("%s get_txidle=%d\n", (char *)(& info->device_name), info->idle_mode);
13295 }
13296 } else {
13297
13298 }
13299 {
13300# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13301 might_fault();
13302# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13303 __pu_val = (int )info->idle_mode;
13304 }
13305# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13306 if (1) {
13307# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13308 goto case_4;
13309 } else {
13310# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13311 goto switch_default;
13312# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13313 if (0) {
13314# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13315 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val), "c" (idle_mode): "ebx");
13316# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13317 goto ldv_37026;
13318# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13319 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val), "c" (idle_mode): "ebx");
13320# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13321 goto ldv_37026;
13322 case_4:
13323# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13324 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val), "c" (idle_mode): "ebx");
13325# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13326 goto ldv_37026;
13327# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13328 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val), "c" (idle_mode): "ebx");
13329# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13330 goto ldv_37026;
13331 switch_default:
13332# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13333 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val), "c" (idle_mode): "ebx");
13334# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13335 goto ldv_37026;
13336 } else {
13337
13338 }
13339 }
13340 ldv_37026: ;
13341# 2679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13342 if (__ret_pu != 0) {
13343# 2680 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13344 return (-14);
13345 } else {
13346
13347 }
13348# 2681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13349 return (0);
13350}
13351}
13352# 2684 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13353static int set_txidle(struct slgt_info *info , int idle_mode )
13354{ unsigned long flags ;
13355 raw_spinlock_t *tmp ;
13356
13357 {
13358# 2687 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13359 if (debug_level > 2) {
13360 {
13361# 2687 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13362 printk("%s set_txidle(%d)\n", (char *)(& info->device_name), idle_mode);
13363 }
13364 } else {
13365
13366 }
13367 {
13368# 2688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13369 tmp = spinlock_check(& info->lock);
13370# 2688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13371 flags = _raw_spin_lock_irqsave(tmp);
13372# 2689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13373 info->idle_mode = (u32 )idle_mode;
13374 }
13375# 2690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13376 if (info->params.mode != 1UL) {
13377 {
13378# 2691 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13379 tx_set_idle(info);
13380 }
13381 } else {
13382
13383 }
13384 {
13385# 2692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13386 spin_unlock_irqrestore(& info->lock, flags);
13387 }
13388# 2693 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13389 return (0);
13390}
13391}
13392# 2696 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13393static int tx_enable(struct slgt_info *info , int enable )
13394{ unsigned long flags ;
13395 raw_spinlock_t *tmp ;
13396
13397 {
13398# 2699 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13399 if (debug_level > 2) {
13400 {
13401# 2699 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13402 printk("%s tx_enable(%d)\n", (char *)(& info->device_name), enable);
13403 }
13404 } else {
13405
13406 }
13407 {
13408# 2700 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13409 tmp = spinlock_check(& info->lock);
13410# 2700 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13411 flags = _raw_spin_lock_irqsave(tmp);
13412 }
13413# 2701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13414 if (enable != 0) {
13415# 2702 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13416 if (! info->tx_enabled) {
13417 {
13418# 2703 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13419 tx_start(info);
13420 }
13421 } else
13422# 2705 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13423 if ((int )info->tx_enabled) {
13424 {
13425# 2706 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13426 tx_stop(info);
13427 }
13428 } else {
13429
13430 }
13431 } else {
13432
13433 }
13434 {
13435# 2708 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13436 spin_unlock_irqrestore(& info->lock, flags);
13437 }
13438# 2709 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13439 return (0);
13440}
13441}
13442# 2715 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13443static int tx_abort(struct slgt_info *info )
13444{ unsigned long flags ;
13445 raw_spinlock_t *tmp ;
13446
13447 {
13448# 2718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13449 if (debug_level > 2) {
13450 {
13451# 2718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13452 printk("%s tx_abort\n", (char *)(& info->device_name));
13453 }
13454 } else {
13455
13456 }
13457 {
13458# 2719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13459 tmp = spinlock_check(& info->lock);
13460# 2719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13461 flags = _raw_spin_lock_irqsave(tmp);
13462# 2720 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13463 tdma_reset(info);
13464# 2721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13465 spin_unlock_irqrestore(& info->lock, flags);
13466 }
13467# 2722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13468 return (0);
13469}
13470}
13471# 2725 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13472static int rx_enable(struct slgt_info *info , int enable )
13473{ unsigned long flags ;
13474 unsigned int rbuf_fill_level ;
13475 raw_spinlock_t *tmp ;
13476 __u16 tmp___0 ;
13477
13478 {
13479# 2729 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13480 if (debug_level > 2) {
13481 {
13482# 2729 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13483 printk("%s rx_enable(%08x)\n", (char *)(& info->device_name), enable);
13484 }
13485 } else {
13486
13487 }
13488 {
13489# 2730 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13490 tmp = spinlock_check(& info->lock);
13491# 2730 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13492 flags = _raw_spin_lock_irqsave(tmp);
13493# 2736 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13494 rbuf_fill_level = (unsigned int )enable >> 16;
13495 }
13496# 2737 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13497 if (rbuf_fill_level != 0U) {
13498# 2738 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13499 if (rbuf_fill_level > 256U) {
13500 {
13501# 2739 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13502 spin_unlock_irqrestore(& info->lock, flags);
13503 }
13504# 2740 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13505 return (-22);
13506 } else
13507# 2738 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13508 if ((rbuf_fill_level & 3U) != 0U) {
13509 {
13510# 2739 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13511 spin_unlock_irqrestore(& info->lock, flags);
13512 }
13513# 2740 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13514 return (-22);
13515 } else {
13516
13517 }
13518# 2742 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13519 info->rbuf_fill_level = rbuf_fill_level;
13520# 2743 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13521 if (rbuf_fill_level <= 127U) {
13522# 2744 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13523 info->rx_pio = 1U;
13524 } else {
13525# 2746 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13526 info->rx_pio = 0U;
13527 }
13528 {
13529# 2747 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13530 rx_stop(info);
13531 }
13532 } else {
13533
13534 }
13535# 2756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13536 enable = enable & 3;
13537# 2757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13538 if (enable != 0) {
13539# 2758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13540 if (! info->rx_enabled) {
13541 {
13542# 2759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13543 rx_start(info);
13544 }
13545 } else
13546# 2760 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13547 if (enable == 2) {
13548 {
13549# 2762 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13550 tmp___0 = rd_reg16(info, 134U);
13551# 2762 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13552 wr_reg16(info, 134U, (__u16 )((int )((unsigned int )tmp___0 | 8U)));
13553 }
13554 } else
13555# 2765 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13556 if ((int )info->rx_enabled) {
13557 {
13558# 2766 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13559 rx_stop(info);
13560 }
13561 } else {
13562
13563 }
13564 } else {
13565
13566 }
13567 {
13568# 2768 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13569 spin_unlock_irqrestore(& info->lock, flags);
13570 }
13571# 2769 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13572 return (0);
13573}
13574}
13575# 2775 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13576static int wait_mgsl_event(struct slgt_info *info , int *mask_ptr )
13577{ unsigned long flags ;
13578 int s ;
13579 int rc ;
13580 struct mgsl_icount cprev ;
13581 struct mgsl_icount cnow ;
13582 int events ;
13583 int mask ;
13584 struct _input_signal_events oldsigs ;
13585 struct _input_signal_events newsigs ;
13586 wait_queue_t wait ;
13587 struct task_struct *tmp ;
13588 int __ret_gu ;
13589 unsigned long __val_gu ;
13590 raw_spinlock_t *tmp___0 ;
13591 int tmp___1 ;
13592 int tmp___2 ;
13593 int tmp___3 ;
13594 int tmp___4 ;
13595 unsigned short val ;
13596 __u16 tmp___5 ;
13597 long volatile __x ;
13598 u8 volatile *__ptr ;
13599 struct task_struct *tmp___6 ;
13600 u16 volatile *__ptr___0 ;
13601 struct task_struct *tmp___7 ;
13602 u32 volatile *__ptr___1 ;
13603 struct task_struct *tmp___8 ;
13604 u64 volatile *__ptr___2 ;
13605 struct task_struct *tmp___9 ;
13606 struct task_struct *tmp___10 ;
13607 int tmp___11 ;
13608 raw_spinlock_t *tmp___12 ;
13609 long volatile __x___0 ;
13610 u8 volatile *__ptr___3 ;
13611 struct task_struct *tmp___13 ;
13612 u16 volatile *__ptr___4 ;
13613 struct task_struct *tmp___14 ;
13614 u32 volatile *__ptr___5 ;
13615 struct task_struct *tmp___15 ;
13616 u64 volatile *__ptr___6 ;
13617 struct task_struct *tmp___16 ;
13618 int tmp___17 ;
13619 int tmp___18 ;
13620 int tmp___19 ;
13621 int tmp___20 ;
13622 int tmp___21 ;
13623 int tmp___22 ;
13624 int tmp___23 ;
13625 int tmp___24 ;
13626 int tmp___25 ;
13627 long volatile __x___1 ;
13628 u8 volatile *__ptr___7 ;
13629 struct task_struct *tmp___26 ;
13630 u16 volatile *__ptr___8 ;
13631 struct task_struct *tmp___27 ;
13632 u32 volatile *__ptr___9 ;
13633 struct task_struct *tmp___28 ;
13634 u64 volatile *__ptr___10 ;
13635 struct task_struct *tmp___29 ;
13636 raw_spinlock_t *tmp___30 ;
13637 __u16 tmp___31 ;
13638 int tmp___32 ;
13639 int __ret_pu ;
13640 int __pu_val ;
13641
13642 {
13643 {
13644# 2779 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13645 rc = 0;
13646# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13647 tmp = get_current();
13648# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13649 wait.flags = 0U;
13650# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13651 wait.private = (void *)tmp;
13652# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13653 wait.func = & default_wake_function;
13654# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13655 wait.task_list.next = (struct list_head *)0;
13656# 2784 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13657 wait.task_list.prev = (struct list_head *)0;
13658# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13659 might_fault();
13660 }
13661# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13662 if (1) {
13663# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13664 goto case_4;
13665 } else {
13666# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13667 goto switch_default;
13668# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13669 if (0) {
13670# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13671 __asm__ volatile ("call __get_user_1": "=a" (__ret_gu), "=d" (__val_gu): "0" (mask_ptr));
13672# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13673 goto ldv_37081;
13674# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13675 __asm__ volatile ("call __get_user_2": "=a" (__ret_gu), "=d" (__val_gu): "0" (mask_ptr));
13676# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13677 goto ldv_37081;
13678 case_4:
13679# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13680 __asm__ volatile ("call __get_user_4": "=a" (__ret_gu), "=d" (__val_gu): "0" (mask_ptr));
13681# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13682 goto ldv_37081;
13683# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13684 __asm__ volatile ("call __get_user_8": "=a" (__ret_gu), "=d" (__val_gu): "0" (mask_ptr));
13685# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13686 goto ldv_37081;
13687 switch_default:
13688# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13689 __asm__ volatile ("call __get_user_X": "=a" (__ret_gu), "=d" (__val_gu): "0" (mask_ptr));
13690# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13691 goto ldv_37081;
13692 } else {
13693
13694 }
13695 }
13696 ldv_37081:
13697# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13698 mask = (int )__val_gu;
13699# 2786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13700 if (__ret_gu != 0) {
13701# 2787 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13702 return (-14);
13703 } else {
13704
13705 }
13706# 2789 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13707 if (debug_level > 2) {
13708 {
13709# 2789 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13710 printk("%s wait_mgsl_event(%d)\n", (char *)(& info->device_name), mask);
13711 }
13712 } else {
13713
13714 }
13715 {
13716# 2791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13717 tmp___0 = spinlock_check(& info->lock);
13718# 2791 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13719 flags = _raw_spin_lock_irqsave(tmp___0);
13720# 2794 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13721 get_signals(info);
13722# 2795 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13723 s = (int )info->signals;
13724 }
13725# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13726 if ((s & 64) != 0) {
13727# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13728 tmp___1 = 1;
13729 } else {
13730# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13731 tmp___1 = 2;
13732 }
13733# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13734 if (s & 1) {
13735# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13736 tmp___2 = 16;
13737 } else {
13738# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13739 tmp___2 = 32;
13740 }
13741# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13742 if ((s & 16) != 0) {
13743# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13744 tmp___3 = 4;
13745 } else {
13746# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13747 tmp___3 = 8;
13748 }
13749# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13750 if ((s & 4) != 0) {
13751# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13752 tmp___4 = 64;
13753 } else {
13754# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13755 tmp___4 = 128;
13756 }
13757# 2797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13758 events = (((tmp___1 + tmp___2) + tmp___3) + tmp___4) & mask;
13759# 2802 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13760 if (events != 0) {
13761 {
13762# 2803 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13763 spin_unlock_irqrestore(& info->lock, flags);
13764 }
13765# 2804 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13766 goto exit;
13767 } else {
13768
13769 }
13770# 2808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13771 cprev = info->icount;
13772# 2809 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13773 oldsigs = info->input_signal_events;
13774# 2812 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13775 if ((mask & 768) != 0) {
13776 {
13777# 2813 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13778 tmp___5 = rd_reg16(info, 140U);
13779# 2813 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13780 val = tmp___5;
13781 }
13782# 2814 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13783 if (((int )val & 512) == 0) {
13784 {
13785# 2815 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13786 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )val | 512U)));
13787 }
13788 } else {
13789
13790 }
13791 } else {
13792
13793 }
13794# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13795 __x = (long volatile )1L;
13796# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13797 if (1) {
13798# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13799 goto case_8___0;
13800 } else {
13801# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13802 goto switch_default___0;
13803# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13804 if (0) {
13805 {
13806# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13807 tmp___6 = get_current();
13808# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13809 __ptr = (u8 volatile *)(& tmp___6->state);
13810# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13811 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
13812 }
13813# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13814 goto ldv_37095;
13815 {
13816# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13817 tmp___7 = get_current();
13818# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13819 __ptr___0 = (u16 volatile *)(& tmp___7->state);
13820# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13821 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
13822 }
13823# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13824 goto ldv_37095;
13825 {
13826# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13827 tmp___8 = get_current();
13828# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13829 __ptr___1 = (u32 volatile *)(& tmp___8->state);
13830# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13831 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
13832 }
13833# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13834 goto ldv_37095;
13835 case_8___0:
13836 {
13837# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13838 tmp___9 = get_current();
13839# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13840 __ptr___2 = (u64 volatile *)(& tmp___9->state);
13841# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13842 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
13843 }
13844# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13845 goto ldv_37095;
13846 switch_default___0:
13847 {
13848# 2818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13849 __xchg_wrong_size();
13850 }
13851 } else {
13852
13853 }
13854 }
13855 ldv_37095:
13856 {
13857# 2819 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13858 add_wait_queue(& info->event_wait_q, & wait);
13859# 2821 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13860 spin_unlock_irqrestore(& info->lock, flags);
13861 }
13862 ldv_37120:
13863 {
13864# 2824 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13865 schedule();
13866# 2825 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13867 tmp___10 = get_current();
13868# 2825 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13869 tmp___11 = signal_pending(tmp___10);
13870 }
13871# 2825 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13872 if (tmp___11 != 0) {
13873# 2826 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13874 rc = -512;
13875# 2827 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13876 goto ldv_37104;
13877 } else {
13878
13879 }
13880 {
13881# 2831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13882 tmp___12 = spinlock_check(& info->lock);
13883# 2831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13884 flags = _raw_spin_lock_irqsave(tmp___12);
13885# 2832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13886 cnow = info->icount;
13887# 2833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13888 newsigs = info->input_signal_events;
13889# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13890 __x___0 = (long volatile )1L;
13891 }
13892# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13893 if (1) {
13894# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13895 goto case_8___1;
13896 } else {
13897# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13898 goto switch_default___1;
13899# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13900 if (0) {
13901 {
13902# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13903 tmp___13 = get_current();
13904# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13905 __ptr___3 = (u8 volatile *)(& tmp___13->state);
13906# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13907 __asm__ volatile ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
13908 }
13909# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13910 goto ldv_37111;
13911 {
13912# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13913 tmp___14 = get_current();
13914# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13915 __ptr___4 = (u16 volatile *)(& tmp___14->state);
13916# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13917 __asm__ volatile ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
13918 }
13919# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13920 goto ldv_37111;
13921 {
13922# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13923 tmp___15 = get_current();
13924# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13925 __ptr___5 = (u32 volatile *)(& tmp___15->state);
13926# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13927 __asm__ volatile ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
13928 }
13929# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13930 goto ldv_37111;
13931 case_8___1:
13932 {
13933# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13934 tmp___16 = get_current();
13935# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13936 __ptr___6 = (u64 volatile *)(& tmp___16->state);
13937# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13938 __asm__ volatile ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
13939 }
13940# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13941 goto ldv_37111;
13942 switch_default___1:
13943 {
13944# 2834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13945 __xchg_wrong_size();
13946 }
13947 } else {
13948
13949 }
13950 }
13951 ldv_37111:
13952 {
13953# 2835 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13954 spin_unlock_irqrestore(& info->lock, flags);
13955 }
13956# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13957 if (newsigs.dsr_up == oldsigs.dsr_up) {
13958# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13959 if (newsigs.dsr_down == oldsigs.dsr_down) {
13960# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13961 if (newsigs.dcd_up == oldsigs.dcd_up) {
13962# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13963 if (newsigs.dcd_down == oldsigs.dcd_down) {
13964# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13965 if (newsigs.cts_up == oldsigs.cts_up) {
13966# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13967 if (newsigs.cts_down == oldsigs.cts_down) {
13968# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13969 if (newsigs.ri_up == oldsigs.ri_up) {
13970# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13971 if (newsigs.ri_down == oldsigs.ri_down) {
13972# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13973 if (cnow.exithunt == cprev.exithunt) {
13974# 2838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13975 if (cnow.rxidle == cprev.rxidle) {
13976# 2848 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13977 rc = -5;
13978# 2849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
13979 goto ldv_37104;
13980 } else {
13981
13982 }
13983 } else {
13984
13985 }
13986 } else {
13987
13988 }
13989 } else {
13990
13991 }
13992 } else {
13993
13994 }
13995 } else {
13996
13997 }
13998 } else {
13999
14000 }
14001 } else {
14002
14003 }
14004 } else {
14005
14006 }
14007 } else {
14008
14009 }
14010# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14011 if (newsigs.dsr_down != oldsigs.dsr_down) {
14012# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14013 tmp___17 = 2;
14014 } else {
14015# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14016 tmp___17 = 0;
14017 }
14018# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14019 if (newsigs.dcd_up != oldsigs.dcd_up) {
14020# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14021 tmp___18 = 16;
14022 } else {
14023# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14024 tmp___18 = 0;
14025 }
14026# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14027 if (newsigs.dcd_down != oldsigs.dcd_down) {
14028# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14029 tmp___19 = 32;
14030 } else {
14031# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14032 tmp___19 = 0;
14033 }
14034# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14035 if (newsigs.cts_up != oldsigs.cts_up) {
14036# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14037 tmp___20 = 4;
14038 } else {
14039# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14040 tmp___20 = 0;
14041 }
14042# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14043 if (newsigs.cts_down != oldsigs.cts_down) {
14044# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14045 tmp___21 = 8;
14046 } else {
14047# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14048 tmp___21 = 0;
14049 }
14050# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14051 if (newsigs.ri_up != oldsigs.ri_up) {
14052# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14053 tmp___22 = 64;
14054 } else {
14055# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14056 tmp___22 = 0;
14057 }
14058# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14059 if (newsigs.ri_down != oldsigs.ri_down) {
14060# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14061 tmp___23 = 128;
14062 } else {
14063# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14064 tmp___23 = 0;
14065 }
14066# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14067 if (cnow.exithunt != cprev.exithunt) {
14068# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14069 tmp___24 = 256;
14070 } else {
14071# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14072 tmp___24 = 0;
14073 }
14074# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14075 if (cnow.rxidle != cprev.rxidle) {
14076# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14077 tmp___25 = 512;
14078 } else {
14079# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14080 tmp___25 = 0;
14081 }
14082# 2852 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14083 events = ((((((((((newsigs.dsr_up != oldsigs.dsr_up) + tmp___17) + tmp___18) + tmp___19) + tmp___20) + tmp___21) + tmp___22) + tmp___23) + tmp___24) + tmp___25) & mask;
14084# 2863 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14085 if (events != 0) {
14086# 2864 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14087 goto ldv_37104;
14088 } else {
14089
14090 }
14091# 2866 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14092 cprev = cnow;
14093# 2867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14094 oldsigs = newsigs;
14095# 2868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14096 goto ldv_37120;
14097 ldv_37104:
14098 {
14099# 2870 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14100 remove_wait_queue(& info->event_wait_q, & wait);
14101# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14102 __x___1 = (long volatile )0L;
14103 }
14104# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14105 if (1) {
14106# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14107 goto case_8___2;
14108 } else {
14109# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14110 goto switch_default___2;
14111# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14112 if (0) {
14113 {
14114# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14115 tmp___26 = get_current();
14116# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14117 __ptr___7 = (u8 volatile *)(& tmp___26->state);
14118# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14119 __asm__ volatile ("xchgb %0,%1": "=q" (__x___1), "+m" (*__ptr___7): "0" (__x___1): "memory");
14120 }
14121# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14122 goto ldv_37124;
14123 {
14124# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14125 tmp___27 = get_current();
14126# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14127 __ptr___8 = (u16 volatile *)(& tmp___27->state);
14128# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14129 __asm__ volatile ("xchgw %0,%1": "=r" (__x___1), "+m" (*__ptr___8): "0" (__x___1): "memory");
14130 }
14131# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14132 goto ldv_37124;
14133 {
14134# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14135 tmp___28 = get_current();
14136# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14137 __ptr___9 = (u32 volatile *)(& tmp___28->state);
14138# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14139 __asm__ volatile ("xchgl %0,%1": "=r" (__x___1), "+m" (*__ptr___9): "0" (__x___1): "memory");
14140 }
14141# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14142 goto ldv_37124;
14143 case_8___2:
14144 {
14145# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14146 tmp___29 = get_current();
14147# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14148 __ptr___10 = (u64 volatile *)(& tmp___29->state);
14149# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14150 __asm__ volatile ("xchgq %0,%1": "=r" (__x___1), "+m" (*__ptr___10): "0" (__x___1): "memory");
14151 }
14152# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14153 goto ldv_37124;
14154 switch_default___2:
14155 {
14156# 2871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14157 __xchg_wrong_size();
14158 }
14159 } else {
14160
14161 }
14162 }
14163 ldv_37124: ;
14164# 2874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14165 if ((mask & 768) != 0) {
14166 {
14167# 2875 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14168 tmp___30 = spinlock_check(& info->lock);
14169# 2875 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14170 flags = _raw_spin_lock_irqsave(tmp___30);
14171# 2876 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14172 tmp___32 = waitqueue_active(& info->event_wait_q);
14173 }
14174# 2876 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14175 if (tmp___32 == 0) {
14176 {
14177# 2878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14178 tmp___31 = rd_reg16(info, 140U);
14179# 2878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14180 wr_reg16(info, 140U, (__u16 )((int )tmp___31 & 65023));
14181 }
14182 } else {
14183
14184 }
14185 {
14186# 2881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14187 spin_unlock_irqrestore(& info->lock, flags);
14188 }
14189 } else {
14190
14191 }
14192 exit: ;
14193# 2884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14194 if (rc == 0) {
14195 {
14196# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14197 might_fault();
14198# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14199 __pu_val = events;
14200 }
14201# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14202 if (1) {
14203# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14204 goto case_4___3;
14205 } else {
14206# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14207 goto switch_default___3;
14208# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14209 if (0) {
14210# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14211 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val),
14212 "c" (mask_ptr): "ebx");
14213# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14214 goto ldv_37139;
14215# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14216 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val),
14217 "c" (mask_ptr): "ebx");
14218# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14219 goto ldv_37139;
14220 case_4___3:
14221# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14222 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val),
14223 "c" (mask_ptr): "ebx");
14224# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14225 goto ldv_37139;
14226# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14227 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val),
14228 "c" (mask_ptr): "ebx");
14229# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14230 goto ldv_37139;
14231 switch_default___3:
14232# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14233 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val),
14234 "c" (mask_ptr): "ebx");
14235# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14236 goto ldv_37139;
14237 } else {
14238
14239 }
14240 }
14241 ldv_37139:
14242# 2885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14243 rc = __ret_pu;
14244 } else {
14245
14246 }
14247# 2886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14248 return (rc);
14249}
14250}
14251# 2889 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14252static int get_interface(struct slgt_info *info , int *if_mode )
14253{ int __ret_pu ;
14254 int __pu_val ;
14255
14256 {
14257# 2891 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14258 if (debug_level > 2) {
14259 {
14260# 2891 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14261 printk("%s get_interface=%x\n", (char *)(& info->device_name), info->if_mode);
14262 }
14263 } else {
14264
14265 }
14266 {
14267# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14268 might_fault();
14269# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14270 __pu_val = (int )info->if_mode;
14271 }
14272# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14273 if (1) {
14274# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14275 goto case_4;
14276 } else {
14277# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14278 goto switch_default;
14279# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14280 if (0) {
14281# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14282 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val), "c" (if_mode): "ebx");
14283# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14284 goto ldv_37152;
14285# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14286 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val), "c" (if_mode): "ebx");
14287# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14288 goto ldv_37152;
14289 case_4:
14290# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14291 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val), "c" (if_mode): "ebx");
14292# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14293 goto ldv_37152;
14294# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14295 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val), "c" (if_mode): "ebx");
14296# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14297 goto ldv_37152;
14298 switch_default:
14299# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14300 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val), "c" (if_mode): "ebx");
14301# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14302 goto ldv_37152;
14303 } else {
14304
14305 }
14306 }
14307 ldv_37152: ;
14308# 2892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14309 if (__ret_pu != 0) {
14310# 2893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14311 return (-14);
14312 } else {
14313
14314 }
14315# 2894 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14316 return (0);
14317}
14318}
14319# 2897 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14320static int set_interface(struct slgt_info *info , int if_mode )
14321{ unsigned long flags ;
14322 unsigned short val ;
14323 raw_spinlock_t *tmp ;
14324
14325 {
14326# 2902 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14327 if (debug_level > 2) {
14328 {
14329# 2902 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14330 printk("%s set_interface=%x)\n", (char *)(& info->device_name), if_mode);
14331 }
14332 } else {
14333
14334 }
14335 {
14336# 2903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14337 tmp = spinlock_check(& info->lock);
14338# 2903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14339 flags = _raw_spin_lock_irqsave(tmp);
14340# 2904 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14341 info->if_mode = (unsigned int )if_mode;
14342# 2906 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14343 msc_set_vcr(info);
14344# 2909 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14345 val = rd_reg16(info, 130U);
14346 }
14347# 2910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14348 if ((info->if_mode & 16U) != 0U) {
14349# 2911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14350 val = (unsigned short )((unsigned int )val | 128U);
14351 } else {
14352# 2913 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14353 val = (unsigned short )((unsigned int )val & 65407U);
14354 }
14355 {
14356# 2914 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14357 wr_reg16(info, 130U, (__u16 )((int )val));
14358# 2916 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14359 spin_unlock_irqrestore(& info->lock, flags);
14360 }
14361# 2917 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14362 return (0);
14363}
14364}
14365# 2920 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14366static int get_xsync(struct slgt_info *info , int *xsync )
14367{ int __ret_pu ;
14368 int __pu_val ;
14369
14370 {
14371# 2922 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14372 if (debug_level > 2) {
14373 {
14374# 2922 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14375 printk("%s get_xsync=%x\n", (char *)(& info->device_name), info->xsync);
14376 }
14377 } else {
14378
14379 }
14380 {
14381# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14382 might_fault();
14383# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14384 __pu_val = (int )info->xsync;
14385 }
14386# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14387 if (1) {
14388# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14389 goto case_4;
14390 } else {
14391# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14392 goto switch_default;
14393# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14394 if (0) {
14395# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14396 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val), "c" (xsync): "ebx");
14397# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14398 goto ldv_37174;
14399# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14400 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val), "c" (xsync): "ebx");
14401# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14402 goto ldv_37174;
14403 case_4:
14404# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14405 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val), "c" (xsync): "ebx");
14406# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14407 goto ldv_37174;
14408# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14409 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val), "c" (xsync): "ebx");
14410# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14411 goto ldv_37174;
14412 switch_default:
14413# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14414 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val), "c" (xsync): "ebx");
14415# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14416 goto ldv_37174;
14417 } else {
14418
14419 }
14420 }
14421 ldv_37174: ;
14422# 2923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14423 if (__ret_pu != 0) {
14424# 2924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14425 return (-14);
14426 } else {
14427
14428 }
14429# 2925 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14430 return (0);
14431}
14432}
14433# 2934 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14434static int set_xsync(struct slgt_info *info , int xsync )
14435{ unsigned long flags ;
14436 raw_spinlock_t *tmp ;
14437
14438 {
14439# 2938 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14440 if (debug_level > 2) {
14441 {
14442# 2938 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14443 printk("%s set_xsync=%x)\n", (char *)(& info->device_name), xsync);
14444 }
14445 } else {
14446
14447 }
14448 {
14449# 2939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14450 tmp = spinlock_check(& info->lock);
14451# 2939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14452 flags = _raw_spin_lock_irqsave(tmp);
14453# 2940 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14454 info->xsync = (unsigned int )xsync;
14455# 2941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14456 wr_reg32(info, 64U, (__u32 )xsync);
14457# 2942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14458 spin_unlock_irqrestore(& info->lock, flags);
14459 }
14460# 2943 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14461 return (0);
14462}
14463}
14464# 2946 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14465static int get_xctrl(struct slgt_info *info , int *xctrl )
14466{ int __ret_pu ;
14467 int __pu_val ;
14468
14469 {
14470# 2948 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14471 if (debug_level > 2) {
14472 {
14473# 2948 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14474 printk("%s get_xctrl=%x\n", (char *)(& info->device_name), info->xctrl);
14475 }
14476 } else {
14477
14478 }
14479 {
14480# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14481 might_fault();
14482# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14483 __pu_val = (int )info->xctrl;
14484 }
14485# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14486 if (1) {
14487# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14488 goto case_4;
14489 } else {
14490# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14491 goto switch_default;
14492# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14493 if (0) {
14494# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14495 __asm__ volatile ("call __put_user_1": "=a" (__ret_pu): "0" (__pu_val), "c" (xctrl): "ebx");
14496# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14497 goto ldv_37195;
14498# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14499 __asm__ volatile ("call __put_user_2": "=a" (__ret_pu): "0" (__pu_val), "c" (xctrl): "ebx");
14500# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14501 goto ldv_37195;
14502 case_4:
14503# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14504 __asm__ volatile ("call __put_user_4": "=a" (__ret_pu): "0" (__pu_val), "c" (xctrl): "ebx");
14505# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14506 goto ldv_37195;
14507# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14508 __asm__ volatile ("call __put_user_8": "=a" (__ret_pu): "0" (__pu_val), "c" (xctrl): "ebx");
14509# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14510 goto ldv_37195;
14511 switch_default:
14512# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14513 __asm__ volatile ("call __put_user_X": "=a" (__ret_pu): "0" (__pu_val), "c" (xctrl): "ebx");
14514# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14515 goto ldv_37195;
14516 } else {
14517
14518 }
14519 }
14520 ldv_37195: ;
14521# 2949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14522 if (__ret_pu != 0) {
14523# 2950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14524 return (-14);
14525 } else {
14526
14527 }
14528# 2951 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14529 return (0);
14530}
14531}
14532# 2971 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14533static int set_xctrl(struct slgt_info *info , int xctrl )
14534{ unsigned long flags ;
14535 raw_spinlock_t *tmp ;
14536
14537 {
14538# 2975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14539 if (debug_level > 2) {
14540 {
14541# 2975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14542 printk("%s set_xctrl=%x)\n", (char *)(& info->device_name), xctrl);
14543 }
14544 } else {
14545
14546 }
14547 {
14548# 2976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14549 tmp = spinlock_check(& info->lock);
14550# 2976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14551 flags = _raw_spin_lock_irqsave(tmp);
14552# 2977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14553 info->xctrl = (unsigned int )xctrl;
14554# 2978 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14555 wr_reg32(info, 68U, (__u32 )xctrl);
14556# 2979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14557 spin_unlock_irqrestore(& info->lock, flags);
14558 }
14559# 2980 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14560 return (0);
14561}
14562}
14563# 2992 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14564static int set_gpio(struct slgt_info *info , struct gpio_desc *user_gpio )
14565{ unsigned long flags ;
14566 struct gpio_desc gpio ;
14567 __u32 data ;
14568 unsigned long tmp ;
14569 raw_spinlock_t *tmp___0 ;
14570
14571 {
14572# 2998 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14573 if (info->gpio_present == 0U) {
14574# 2999 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14575 return (-22);
14576 } else {
14577
14578 }
14579 {
14580# 3000 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14581 tmp = copy_from_user((void *)(& gpio), (void const *)user_gpio, 16UL);
14582 }
14583# 3000 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14584 if (tmp != 0UL) {
14585# 3001 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14586 return (-14);
14587 } else {
14588
14589 }
14590# 3002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14591 if (debug_level > 2) {
14592 {
14593# 3002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14594 printk("%s set_gpio state=%08x smask=%08x dir=%08x dmask=%08x\n", (char *)(& info->device_name),
14595 gpio.state, gpio.smask, gpio.dir, gpio.dmask);
14596 }
14597 } else {
14598
14599 }
14600 {
14601# 3006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14602 tmp___0 = spinlock_check(& (info->port_array[0])->lock);
14603# 3006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14604 flags = _raw_spin_lock_irqsave(tmp___0);
14605 }
14606# 3007 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14607 if (gpio.dmask != 0U) {
14608 {
14609# 3008 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14610 data = rd_reg32(info, 8U);
14611# 3009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14612 data = (gpio.dmask & gpio.dir) | data;
14613# 3010 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14614 data = ~ (gpio.dmask & ~ gpio.dir) & data;
14615# 3011 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14616 wr_reg32(info, 8U, data);
14617 }
14618 } else {
14619
14620 }
14621# 3013 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14622 if (gpio.smask != 0U) {
14623 {
14624# 3014 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14625 data = rd_reg32(info, 16U);
14626# 3015 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14627 data = (gpio.smask & gpio.state) | data;
14628# 3016 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14629 data = ~ (gpio.smask & ~ gpio.state) & data;
14630# 3017 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14631 wr_reg32(info, 16U, data);
14632 }
14633 } else {
14634
14635 }
14636 {
14637# 3019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14638 spin_unlock_irqrestore(& (info->port_array[0])->lock, flags);
14639 }
14640# 3021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14641 return (0);
14642}
14643}
14644# 3027 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14645static int get_gpio(struct slgt_info *info , struct gpio_desc *user_gpio )
14646{ struct gpio_desc gpio ;
14647 int tmp ;
14648
14649 {
14650# 3030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14651 if (info->gpio_present == 0U) {
14652# 3031 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14653 return (-22);
14654 } else {
14655
14656 }
14657 {
14658# 3032 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14659 gpio.state = rd_reg32(info, 16U);
14660# 3033 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14661 gpio.smask = 4294967295U;
14662# 3034 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14663 gpio.dir = rd_reg32(info, 8U);
14664# 3035 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14665 gpio.dmask = 4294967295U;
14666# 3036 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14667 tmp = copy_to_user((void *)user_gpio, (void const *)(& gpio), 16U);
14668 }
14669# 3036 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14670 if (tmp != 0) {
14671# 3037 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14672 return (-14);
14673 } else {
14674
14675 }
14676# 3038 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14677 if (debug_level > 2) {
14678 {
14679# 3038 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14680 printk("%s get_gpio state=%08x dir=%08x\n", (char *)(& info->device_name), gpio.state,
14681 gpio.dir);
14682 }
14683 } else {
14684
14685 }
14686# 3040 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14687 return (0);
14688}
14689}
14690# 3046 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14691static void init_cond_wait(struct cond_wait *w , unsigned int data )
14692{ struct lock_class_key __key ;
14693 struct task_struct *tmp ;
14694
14695 {
14696 {
14697# 3048 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14698 __init_waitqueue_head(& w->q, & __key);
14699# 3049 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14700 tmp = get_current();
14701# 3049 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14702 init_waitqueue_entry(& w->wait, tmp);
14703# 3050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14704 w->data = data;
14705 }
14706# 3051 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14707 return;
14708}
14709}
14710# 3053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14711static void add_cond_wait(struct cond_wait **head , struct cond_wait *w )
14712{ long volatile __x ;
14713 u8 volatile *__ptr ;
14714 struct task_struct *tmp ;
14715 u16 volatile *__ptr___0 ;
14716 struct task_struct *tmp___0 ;
14717 u32 volatile *__ptr___1 ;
14718 struct task_struct *tmp___1 ;
14719 u64 volatile *__ptr___2 ;
14720 struct task_struct *tmp___2 ;
14721
14722 {
14723# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14724 __x = (long volatile )1L;
14725# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14726 if (1) {
14727# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14728 goto case_8;
14729 } else {
14730# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14731 goto switch_default;
14732# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14733 if (0) {
14734 {
14735# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14736 tmp = get_current();
14737# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14738 __ptr = (u8 volatile *)(& tmp->state);
14739# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14740 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
14741 }
14742# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14743 goto ldv_37236;
14744 {
14745# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14746 tmp___0 = get_current();
14747# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14748 __ptr___0 = (u16 volatile *)(& tmp___0->state);
14749# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14750 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
14751 }
14752# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14753 goto ldv_37236;
14754 {
14755# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14756 tmp___1 = get_current();
14757# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14758 __ptr___1 = (u32 volatile *)(& tmp___1->state);
14759# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14760 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
14761 }
14762# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14763 goto ldv_37236;
14764 case_8:
14765 {
14766# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14767 tmp___2 = get_current();
14768# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14769 __ptr___2 = (u64 volatile *)(& tmp___2->state);
14770# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14771 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
14772 }
14773# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14774 goto ldv_37236;
14775 switch_default:
14776 {
14777# 3055 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14778 __xchg_wrong_size();
14779 }
14780 } else {
14781
14782 }
14783 }
14784 ldv_37236:
14785 {
14786# 3056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14787 add_wait_queue(& w->q, & w->wait);
14788# 3057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14789 w->next = *head;
14790# 3058 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14791 *head = w;
14792 }
14793# 3059 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14794 return;
14795}
14796}
14797# 3061 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14798static void remove_cond_wait(struct cond_wait **head , struct cond_wait *cw )
14799{ struct cond_wait *w ;
14800 struct cond_wait *prev ;
14801 long volatile __x ;
14802 u8 volatile *__ptr ;
14803 struct task_struct *tmp ;
14804 u16 volatile *__ptr___0 ;
14805 struct task_struct *tmp___0 ;
14806 u32 volatile *__ptr___1 ;
14807 struct task_struct *tmp___1 ;
14808 u64 volatile *__ptr___2 ;
14809 struct task_struct *tmp___2 ;
14810
14811 {
14812 {
14813# 3064 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14814 remove_wait_queue(& cw->q, & cw->wait);
14815# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14816 __x = (long volatile )0L;
14817 }
14818# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14819 if (1) {
14820# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14821 goto case_8;
14822 } else {
14823# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14824 goto switch_default;
14825# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14826 if (0) {
14827 {
14828# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14829 tmp = get_current();
14830# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14831 __ptr = (u8 volatile *)(& tmp->state);
14832# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14833 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
14834 }
14835# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14836 goto ldv_37254;
14837 {
14838# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14839 tmp___0 = get_current();
14840# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14841 __ptr___0 = (u16 volatile *)(& tmp___0->state);
14842# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14843 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
14844 }
14845# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14846 goto ldv_37254;
14847 {
14848# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14849 tmp___1 = get_current();
14850# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14851 __ptr___1 = (u32 volatile *)(& tmp___1->state);
14852# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14853 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
14854 }
14855# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14856 goto ldv_37254;
14857 case_8:
14858 {
14859# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14860 tmp___2 = get_current();
14861# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14862 __ptr___2 = (u64 volatile *)(& tmp___2->state);
14863# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14864 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
14865 }
14866# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14867 goto ldv_37254;
14868 switch_default:
14869 {
14870# 3065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14871 __xchg_wrong_size();
14872 }
14873 } else {
14874
14875 }
14876 }
14877 ldv_37254:
14878# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14879 w = *head;
14880# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14881 prev = (struct cond_wait *)0;
14882# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14883 goto ldv_37265;
14884 ldv_37264: ;
14885# 3067 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14886 if ((unsigned long )w == (unsigned long )cw) {
14887# 3068 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14888 if ((unsigned long )prev != (unsigned long )((struct cond_wait *)0)) {
14889# 3069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14890 prev->next = w->next;
14891 } else {
14892# 3071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14893 *head = w->next;
14894 }
14895# 3072 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14896 goto ldv_37263;
14897 } else {
14898
14899 }
14900# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14901 prev = w;
14902# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14903 w = w->next;
14904 ldv_37265: ;
14905# 3066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14906 if ((unsigned long )w != (unsigned long )((struct cond_wait *)0)) {
14907# 3067 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14908 goto ldv_37264;
14909 } else {
14910# 3069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14911 goto ldv_37263;
14912 }
14913 ldv_37263: ;
14914# 3071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14915 return;
14916}
14917}
14918# 3077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14919static void flush_cond_wait(struct cond_wait **head )
14920{
14921
14922 {
14923# 3079 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14924 goto ldv_37270;
14925 ldv_37269:
14926 {
14927# 3080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14928 __wake_up(& (*head)->q, 1U, 1, (void *)0);
14929# 3081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14930 *head = (*head)->next;
14931 }
14932 ldv_37270: ;
14933# 3079 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14934 if ((unsigned long )*head != (unsigned long )((struct cond_wait *)0)) {
14935# 3080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14936 goto ldv_37269;
14937 } else {
14938# 3082 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14939 goto ldv_37271;
14940 }
14941 ldv_37271: ;
14942# 3084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14943 return;
14944}
14945}
14946# 3101 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14947static int wait_gpio(struct slgt_info *info , struct gpio_desc *user_gpio )
14948{ unsigned long flags ;
14949 int rc ;
14950 struct gpio_desc gpio ;
14951 struct cond_wait wait ;
14952 u32 state ;
14953 unsigned long tmp ;
14954 __u32 tmp___0 ;
14955 raw_spinlock_t *tmp___1 ;
14956 __u32 tmp___2 ;
14957 struct task_struct *tmp___3 ;
14958 int tmp___4 ;
14959 raw_spinlock_t *tmp___5 ;
14960 int tmp___6 ;
14961
14962 {
14963# 3104 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14964 rc = 0;
14965# 3109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14966 if (info->gpio_present == 0U) {
14967# 3110 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14968 return (-22);
14969 } else {
14970
14971 }
14972 {
14973# 3111 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14974 tmp = copy_from_user((void *)(& gpio), (void const *)user_gpio, 16UL);
14975 }
14976# 3111 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14977 if (tmp != 0UL) {
14978# 3112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14979 return (-14);
14980 } else {
14981
14982 }
14983# 3113 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14984 if (debug_level > 2) {
14985 {
14986# 3113 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14987 printk("%s wait_gpio() state=%08x smask=%08x\n", (char *)(& info->device_name),
14988 gpio.state, gpio.smask);
14989 }
14990 } else {
14991
14992 }
14993 {
14994# 3116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14995 tmp___0 = rd_reg32(info, 8U);
14996# 3116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
14997 gpio.smask = gpio.smask & ~ tmp___0;
14998 }
14999# 3116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15000 if (gpio.smask == 0U) {
15001# 3117 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15002 return (-22);
15003 } else {
15004
15005 }
15006 {
15007# 3118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15008 init_cond_wait(& wait, gpio.smask);
15009# 3120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15010 tmp___1 = spinlock_check(& (info->port_array[0])->lock);
15011# 3120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15012 flags = _raw_spin_lock_irqsave(tmp___1);
15013# 3122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15014 tmp___2 = rd_reg32(info, 12U);
15015# 3122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15016 wr_reg32(info, 12U, tmp___2 | gpio.smask);
15017# 3124 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15018 state = rd_reg32(info, 16U);
15019 }
15020# 3126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15021 if ((gpio.smask & ~ (gpio.state ^ state)) != 0U) {
15022# 3128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15023 gpio.state = state;
15024 } else {
15025 {
15026# 3131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15027 add_cond_wait(& info->gpio_wait_q, & wait);
15028# 3132 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15029 spin_unlock_irqrestore(& (info->port_array[0])->lock, flags);
15030# 3133 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15031 schedule();
15032# 3134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15033 tmp___3 = get_current();
15034# 3134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15035 tmp___4 = signal_pending(tmp___3);
15036 }
15037# 3134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15038 if (tmp___4 != 0) {
15039# 3135 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15040 rc = -512;
15041 } else {
15042# 3137 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15043 gpio.state = wait.data;
15044 }
15045 {
15046# 3138 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15047 tmp___5 = spinlock_check(& (info->port_array[0])->lock);
15048# 3138 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15049 flags = _raw_spin_lock_irqsave(tmp___5);
15050# 3139 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15051 remove_cond_wait(& info->gpio_wait_q, & wait);
15052 }
15053 }
15054# 3143 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15055 if ((unsigned long )info->gpio_wait_q == (unsigned long )((struct cond_wait *)0)) {
15056 {
15057# 3144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15058 wr_reg32(info, 12U, 0U);
15059 }
15060 } else {
15061
15062 }
15063 {
15064# 3145 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15065 spin_unlock_irqrestore(& (info->port_array[0])->lock, flags);
15066 }
15067# 3147 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15068 if (rc == 0) {
15069 {
15070# 3147 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15071 tmp___6 = copy_to_user((void *)user_gpio, (void const *)(& gpio), 16U);
15072 }
15073# 3147 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15074 if (tmp___6 != 0) {
15075# 3148 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15076 rc = -14;
15077 } else {
15078
15079 }
15080 } else {
15081
15082 }
15083# 3149 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15084 return (rc);
15085}
15086}
15087# 3152 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15088static int modem_input_wait(struct slgt_info *info , int arg )
15089{ unsigned long flags ;
15090 int rc ;
15091 struct mgsl_icount cprev ;
15092 struct mgsl_icount cnow ;
15093 wait_queue_t wait ;
15094 struct task_struct *tmp ;
15095 raw_spinlock_t *tmp___0 ;
15096 long volatile __x ;
15097 u8 volatile *__ptr ;
15098 struct task_struct *tmp___1 ;
15099 u16 volatile *__ptr___0 ;
15100 struct task_struct *tmp___2 ;
15101 u32 volatile *__ptr___1 ;
15102 struct task_struct *tmp___3 ;
15103 u64 volatile *__ptr___2 ;
15104 struct task_struct *tmp___4 ;
15105 struct task_struct *tmp___5 ;
15106 int tmp___6 ;
15107 raw_spinlock_t *tmp___7 ;
15108 long volatile __x___0 ;
15109 u8 volatile *__ptr___3 ;
15110 struct task_struct *tmp___8 ;
15111 u16 volatile *__ptr___4 ;
15112 struct task_struct *tmp___9 ;
15113 u32 volatile *__ptr___5 ;
15114 struct task_struct *tmp___10 ;
15115 u64 volatile *__ptr___6 ;
15116 struct task_struct *tmp___11 ;
15117 long volatile __x___1 ;
15118 u8 volatile *__ptr___7 ;
15119 struct task_struct *tmp___12 ;
15120 u16 volatile *__ptr___8 ;
15121 struct task_struct *tmp___13 ;
15122 u32 volatile *__ptr___9 ;
15123 struct task_struct *tmp___14 ;
15124 u64 volatile *__ptr___10 ;
15125 struct task_struct *tmp___15 ;
15126
15127 {
15128 {
15129# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15130 tmp = get_current();
15131# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15132 wait.flags = 0U;
15133# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15134 wait.private = (void *)tmp;
15135# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15136 wait.func = & default_wake_function;
15137# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15138 wait.task_list.next = (struct list_head *)0;
15139# 3157 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15140 wait.task_list.prev = (struct list_head *)0;
15141# 3160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15142 tmp___0 = spinlock_check(& info->lock);
15143# 3160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15144 flags = _raw_spin_lock_irqsave(tmp___0);
15145# 3161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15146 cprev = info->icount;
15147# 3162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15148 add_wait_queue(& info->status_event_wait_q, & wait);
15149# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15150 __x = (long volatile )1L;
15151 }
15152# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15153 if (1) {
15154# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15155 goto case_8;
15156 } else {
15157# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15158 goto switch_default;
15159# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15160 if (0) {
15161 {
15162# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15163 tmp___1 = get_current();
15164# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15165 __ptr = (u8 volatile *)(& tmp___1->state);
15166# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15167 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
15168 }
15169# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15170 goto ldv_37302;
15171 {
15172# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15173 tmp___2 = get_current();
15174# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15175 __ptr___0 = (u16 volatile *)(& tmp___2->state);
15176# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15177 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
15178 }
15179# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15180 goto ldv_37302;
15181 {
15182# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15183 tmp___3 = get_current();
15184# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15185 __ptr___1 = (u32 volatile *)(& tmp___3->state);
15186# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15187 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
15188 }
15189# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15190 goto ldv_37302;
15191 case_8:
15192 {
15193# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15194 tmp___4 = get_current();
15195# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15196 __ptr___2 = (u64 volatile *)(& tmp___4->state);
15197# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15198 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
15199 }
15200# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15201 goto ldv_37302;
15202 switch_default:
15203 {
15204# 3163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15205 __xchg_wrong_size();
15206 }
15207 } else {
15208
15209 }
15210 }
15211 ldv_37302:
15212 {
15213# 3164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15214 spin_unlock_irqrestore(& info->lock, flags);
15215 }
15216 ldv_37327:
15217 {
15218# 3167 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15219 schedule();
15220# 3168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15221 tmp___5 = get_current();
15222# 3168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15223 tmp___6 = signal_pending(tmp___5);
15224 }
15225# 3168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15226 if (tmp___6 != 0) {
15227# 3169 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15228 rc = -512;
15229# 3170 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15230 goto ldv_37311;
15231 } else {
15232
15233 }
15234 {
15235# 3174 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15236 tmp___7 = spinlock_check(& info->lock);
15237# 3174 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15238 flags = _raw_spin_lock_irqsave(tmp___7);
15239# 3175 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15240 cnow = info->icount;
15241# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15242 __x___0 = (long volatile )1L;
15243 }
15244# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15245 if (1) {
15246# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15247 goto case_8___0;
15248 } else {
15249# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15250 goto switch_default___0;
15251# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15252 if (0) {
15253 {
15254# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15255 tmp___8 = get_current();
15256# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15257 __ptr___3 = (u8 volatile *)(& tmp___8->state);
15258# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15259 __asm__ volatile ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
15260 }
15261# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15262 goto ldv_37318;
15263 {
15264# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15265 tmp___9 = get_current();
15266# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15267 __ptr___4 = (u16 volatile *)(& tmp___9->state);
15268# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15269 __asm__ volatile ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
15270 }
15271# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15272 goto ldv_37318;
15273 {
15274# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15275 tmp___10 = get_current();
15276# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15277 __ptr___5 = (u32 volatile *)(& tmp___10->state);
15278# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15279 __asm__ volatile ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
15280 }
15281# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15282 goto ldv_37318;
15283 case_8___0:
15284 {
15285# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15286 tmp___11 = get_current();
15287# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15288 __ptr___6 = (u64 volatile *)(& tmp___11->state);
15289# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15290 __asm__ volatile ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
15291 }
15292# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15293 goto ldv_37318;
15294 switch_default___0:
15295 {
15296# 3176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15297 __xchg_wrong_size();
15298 }
15299 } else {
15300
15301 }
15302 }
15303 ldv_37318:
15304 {
15305# 3177 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15306 spin_unlock_irqrestore(& info->lock, flags);
15307 }
15308# 3180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15309 if (cnow.rng == cprev.rng) {
15310# 3180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15311 if (cnow.dsr == cprev.dsr) {
15312# 3180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15313 if (cnow.dcd == cprev.dcd) {
15314# 3180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15315 if (cnow.cts == cprev.cts) {
15316# 3182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15317 rc = -5;
15318# 3183 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15319 goto ldv_37311;
15320 } else {
15321
15322 }
15323 } else {
15324
15325 }
15326 } else {
15327
15328 }
15329 } else {
15330
15331 }
15332# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15333 if ((arg & 128) != 0) {
15334# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15335 if (cnow.rng != cprev.rng) {
15336# 3191 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15337 rc = 0;
15338# 3192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15339 goto ldv_37311;
15340 } else {
15341# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15342 goto _L___1;
15343 }
15344 } else
15345 _L___1:
15346# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15347 if ((arg & 256) != 0) {
15348# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15349 if (cnow.dsr != cprev.dsr) {
15350# 3191 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15351 rc = 0;
15352# 3192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15353 goto ldv_37311;
15354 } else {
15355# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15356 goto _L___0;
15357 }
15358 } else
15359 _L___0:
15360# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15361 if ((arg & 64) != 0) {
15362# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15363 if (cnow.dcd != cprev.dcd) {
15364# 3191 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15365 rc = 0;
15366# 3192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15367 goto ldv_37311;
15368 } else {
15369# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15370 goto _L;
15371 }
15372 } else
15373 _L:
15374# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15375 if ((arg & 32) != 0) {
15376# 3187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15377 if (cnow.cts != cprev.cts) {
15378# 3191 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15379 rc = 0;
15380# 3192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15381 goto ldv_37311;
15382 } else {
15383
15384 }
15385 } else {
15386
15387 }
15388# 3195 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15389 cprev = cnow;
15390# 3196 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15391 goto ldv_37327;
15392 ldv_37311:
15393 {
15394# 3197 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15395 remove_wait_queue(& info->status_event_wait_q, & wait);
15396# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15397 __x___1 = (long volatile )0L;
15398 }
15399# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15400 if (1) {
15401# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15402 goto case_8___1;
15403 } else {
15404# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15405 goto switch_default___1;
15406# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15407 if (0) {
15408 {
15409# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15410 tmp___12 = get_current();
15411# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15412 __ptr___7 = (u8 volatile *)(& tmp___12->state);
15413# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15414 __asm__ volatile ("xchgb %0,%1": "=q" (__x___1), "+m" (*__ptr___7): "0" (__x___1): "memory");
15415 }
15416# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15417 goto ldv_37331;
15418 {
15419# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15420 tmp___13 = get_current();
15421# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15422 __ptr___8 = (u16 volatile *)(& tmp___13->state);
15423# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15424 __asm__ volatile ("xchgw %0,%1": "=r" (__x___1), "+m" (*__ptr___8): "0" (__x___1): "memory");
15425 }
15426# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15427 goto ldv_37331;
15428 {
15429# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15430 tmp___14 = get_current();
15431# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15432 __ptr___9 = (u32 volatile *)(& tmp___14->state);
15433# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15434 __asm__ volatile ("xchgl %0,%1": "=r" (__x___1), "+m" (*__ptr___9): "0" (__x___1): "memory");
15435 }
15436# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15437 goto ldv_37331;
15438 case_8___1:
15439 {
15440# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15441 tmp___15 = get_current();
15442# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15443 __ptr___10 = (u64 volatile *)(& tmp___15->state);
15444# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15445 __asm__ volatile ("xchgq %0,%1": "=r" (__x___1), "+m" (*__ptr___10): "0" (__x___1): "memory");
15446 }
15447# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15448 goto ldv_37331;
15449 switch_default___1:
15450 {
15451# 3198 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15452 __xchg_wrong_size();
15453 }
15454 } else {
15455
15456 }
15457 }
15458 ldv_37331: ;
15459# 3199 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15460 return (rc);
15461}
15462}
15463# 3205 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15464static int tiocmget(struct tty_struct *tty )
15465{ struct slgt_info *info ;
15466 unsigned int result ;
15467 unsigned long flags ;
15468 raw_spinlock_t *tmp ;
15469 int tmp___0 ;
15470 int tmp___1 ;
15471 int tmp___2 ;
15472 int tmp___3 ;
15473 int tmp___4 ;
15474 int tmp___5 ;
15475
15476 {
15477 {
15478# 3207 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15479 info = (struct slgt_info *)tty->driver_data;
15480# 3211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15481 tmp = spinlock_check(& info->lock);
15482# 3211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15483 flags = _raw_spin_lock_irqsave(tmp);
15484# 3212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15485 get_signals(info);
15486# 3213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15487 spin_unlock_irqrestore(& info->lock, flags);
15488 }
15489# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15490 if (((int )info->signals & 32) != 0) {
15491# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15492 tmp___0 = 4;
15493 } else {
15494# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15495 tmp___0 = 0;
15496 }
15497# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15498 if ((int )((signed char )info->signals) < 0) {
15499# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15500 tmp___1 = 2;
15501 } else {
15502# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15503 tmp___1 = 0;
15504 }
15505# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15506 if ((int )info->signals & 1) {
15507# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15508 tmp___2 = 64;
15509 } else {
15510# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15511 tmp___2 = 0;
15512 }
15513# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15514 if (((int )info->signals & 4) != 0) {
15515# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15516 tmp___3 = 128;
15517 } else {
15518# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15519 tmp___3 = 0;
15520 }
15521# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15522 if (((int )info->signals & 64) != 0) {
15523# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15524 tmp___4 = 256;
15525 } else {
15526# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15527 tmp___4 = 0;
15528 }
15529# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15530 if (((int )info->signals & 16) != 0) {
15531# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15532 tmp___5 = 32;
15533 } else {
15534# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15535 tmp___5 = 0;
15536 }
15537# 3215 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15538 result = (unsigned int )(((((tmp___0 + tmp___1) + tmp___2) + tmp___3) + tmp___4) + tmp___5);
15539# 3222 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15540 if (debug_level > 2) {
15541 {
15542# 3222 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15543 printk("%s tiocmget value=%08X\n", (char *)(& info->device_name), result);
15544 }
15545 } else {
15546
15547 }
15548# 3223 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15549 return ((int )result);
15550}
15551}
15552# 3233 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15553static int tiocmset(struct tty_struct *tty , unsigned int set , unsigned int clear )
15554{ struct slgt_info *info ;
15555 unsigned long flags ;
15556 raw_spinlock_t *tmp ;
15557
15558 {
15559# 3236 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15560 info = (struct slgt_info *)tty->driver_data;
15561# 3239 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15562 if (debug_level > 2) {
15563 {
15564# 3239 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15565 printk("%s tiocmset(%x,%x)\n", (char *)(& info->device_name), set, clear);
15566 }
15567 } else {
15568
15569 }
15570# 3241 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15571 if ((set & 4U) != 0U) {
15572# 3242 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15573 info->signals = (unsigned char )((unsigned int )info->signals | 32U);
15574 } else {
15575
15576 }
15577# 3243 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15578 if ((set & 2U) != 0U) {
15579# 3244 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15580 info->signals = (unsigned char )((unsigned int )info->signals | 128U);
15581 } else {
15582
15583 }
15584# 3245 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15585 if ((clear & 4U) != 0U) {
15586# 3246 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15587 info->signals = (unsigned char )((unsigned int )info->signals & 223U);
15588 } else {
15589
15590 }
15591# 3247 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15592 if ((clear & 2U) != 0U) {
15593# 3248 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15594 info->signals = (unsigned char )((unsigned int )info->signals & 127U);
15595 } else {
15596
15597 }
15598 {
15599# 3250 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15600 tmp = spinlock_check(& info->lock);
15601# 3250 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15602 flags = _raw_spin_lock_irqsave(tmp);
15603# 3251 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15604 set_signals(info);
15605# 3252 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15606 spin_unlock_irqrestore(& info->lock, flags);
15607 }
15608# 3253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15609 return (0);
15610}
15611}
15612# 3256 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15613static int carrier_raised(struct tty_port *port )
15614{ unsigned long flags ;
15615 struct slgt_info *info ;
15616 struct tty_port const *__mptr ;
15617 raw_spinlock_t *tmp ;
15618
15619 {
15620 {
15621# 3259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15622 __mptr = (struct tty_port const *)port;
15623# 3259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15624 info = (struct slgt_info *)__mptr + 0x0ffffffffffffff8UL;
15625# 3261 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15626 tmp = spinlock_check(& info->lock);
15627# 3261 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15628 flags = _raw_spin_lock_irqsave(tmp);
15629# 3262 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15630 get_signals(info);
15631# 3263 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15632 spin_unlock_irqrestore(& info->lock, flags);
15633 }
15634# 3264 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15635 return ((int )info->signals & 1);
15636}
15637}
15638# 3267 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15639static void dtr_rts(struct tty_port *port , int on )
15640{ unsigned long flags ;
15641 struct slgt_info *info ;
15642 struct tty_port const *__mptr ;
15643 raw_spinlock_t *tmp ;
15644
15645 {
15646 {
15647# 3270 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15648 __mptr = (struct tty_port const *)port;
15649# 3270 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15650 info = (struct slgt_info *)__mptr + 0x0ffffffffffffff8UL;
15651# 3272 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15652 tmp = spinlock_check(& info->lock);
15653# 3272 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15654 flags = _raw_spin_lock_irqsave(tmp);
15655 }
15656# 3273 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15657 if (on != 0) {
15658# 3274 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15659 info->signals = (unsigned char )((unsigned int )info->signals | 160U);
15660 } else {
15661# 3276 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15662 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
15663 }
15664 {
15665# 3277 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15666 set_signals(info);
15667# 3278 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15668 spin_unlock_irqrestore(& info->lock, flags);
15669 }
15670# 3279 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15671 return;
15672}
15673}
15674# 3285 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15675static int block_til_ready(struct tty_struct *tty , struct file *filp , struct slgt_info *info )
15676{ wait_queue_t wait ;
15677 struct task_struct *tmp ;
15678 int retval ;
15679 bool do_clocal ;
15680 bool extra_count ;
15681 unsigned long flags ;
15682 int cd ;
15683 struct tty_port *port ;
15684 raw_spinlock_t *tmp___0 ;
15685 int tmp___1 ;
15686 long volatile __x ;
15687 u8 volatile *__ptr ;
15688 struct task_struct *tmp___2 ;
15689 u16 volatile *__ptr___0 ;
15690 struct task_struct *tmp___3 ;
15691 u32 volatile *__ptr___1 ;
15692 struct task_struct *tmp___4 ;
15693 u64 volatile *__ptr___2 ;
15694 struct task_struct *tmp___5 ;
15695 int tmp___6 ;
15696 struct task_struct *tmp___7 ;
15697 int tmp___8 ;
15698 long volatile __x___0 ;
15699 u8 volatile *__ptr___3 ;
15700 struct task_struct *tmp___9 ;
15701 u16 volatile *__ptr___4 ;
15702 struct task_struct *tmp___10 ;
15703 u32 volatile *__ptr___5 ;
15704 struct task_struct *tmp___11 ;
15705 u64 volatile *__ptr___6 ;
15706 struct task_struct *tmp___12 ;
15707
15708 {
15709 {
15710# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15711 tmp = get_current();
15712# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15713 wait.flags = 0U;
15714# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15715 wait.private = (void *)tmp;
15716# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15717 wait.func = & default_wake_function;
15718# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15719 wait.task_list.next = (struct list_head *)0;
15720# 3288 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15721 wait.task_list.prev = (struct list_head *)0;
15722# 3290 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15723 do_clocal = (bool )0;
15724# 3291 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15725 extra_count = (bool )0;
15726# 3294 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15727 port = & info->port;
15728 }
15729# 3296 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15730 if (debug_level > 2) {
15731 {
15732# 3296 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15733 printk("%s block_til_ready\n", (tty->driver)->name);
15734 }
15735 } else {
15736
15737 }
15738# 3298 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15739 if ((filp->f_flags & 2048U) != 0U) {
15740# 3300 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15741 port->flags = port->flags | 536870912UL;
15742# 3301 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15743 return (0);
15744 } else
15745# 3298 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15746 if ((tty->flags & 2UL) != 0UL) {
15747# 3300 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15748 port->flags = port->flags | 536870912UL;
15749# 3301 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15750 return (0);
15751 } else {
15752
15753 }
15754# 3304 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15755 if (((tty->termios)->c_cflag & 2048U) != 0U) {
15756# 3305 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15757 do_clocal = (bool )1;
15758 } else {
15759
15760 }
15761 {
15762# 3314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15763 retval = 0;
15764# 3315 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15765 add_wait_queue(& port->open_wait, & wait);
15766# 3317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15767 tmp___0 = spinlock_check(& info->lock);
15768# 3317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15769 flags = _raw_spin_lock_irqsave(tmp___0);
15770# 3318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15771 tmp___1 = tty_hung_up_p(filp);
15772 }
15773# 3318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15774 if (tmp___1 == 0) {
15775# 3319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15776 extra_count = (bool )1;
15777# 3320 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15778 port->count = port->count - 1;
15779 } else {
15780
15781 }
15782 {
15783# 3322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15784 spin_unlock_irqrestore(& info->lock, flags);
15785# 3323 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15786 port->blocked_open = port->blocked_open + 1;
15787 }
15788 ldv_37408: ;
15789# 3326 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15790 if (((tty->termios)->c_cflag & 4111U) != 0U) {
15791 {
15792# 3327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15793 tty_port_raise_dtr_rts(port);
15794 }
15795 } else {
15796
15797 }
15798# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15799 __x = (long volatile )1L;
15800# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15801 if (1) {
15802# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15803 goto case_8;
15804 } else {
15805# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15806 goto switch_default;
15807# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15808 if (0) {
15809 {
15810# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15811 tmp___2 = get_current();
15812# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15813 __ptr = (u8 volatile *)(& tmp___2->state);
15814# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15815 __asm__ volatile ("xchgb %0,%1": "=q" (__x), "+m" (*__ptr): "0" (__x): "memory");
15816 }
15817# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15818 goto ldv_37398;
15819 {
15820# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15821 tmp___3 = get_current();
15822# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15823 __ptr___0 = (u16 volatile *)(& tmp___3->state);
15824# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15825 __asm__ volatile ("xchgw %0,%1": "=r" (__x), "+m" (*__ptr___0): "0" (__x): "memory");
15826 }
15827# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15828 goto ldv_37398;
15829 {
15830# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15831 tmp___4 = get_current();
15832# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15833 __ptr___1 = (u32 volatile *)(& tmp___4->state);
15834# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15835 __asm__ volatile ("xchgl %0,%1": "=r" (__x), "+m" (*__ptr___1): "0" (__x): "memory");
15836 }
15837# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15838 goto ldv_37398;
15839 case_8:
15840 {
15841# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15842 tmp___5 = get_current();
15843# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15844 __ptr___2 = (u64 volatile *)(& tmp___5->state);
15845# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15846 __asm__ volatile ("xchgq %0,%1": "=r" (__x), "+m" (*__ptr___2): "0" (__x): "memory");
15847 }
15848# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15849 goto ldv_37398;
15850 switch_default:
15851 {
15852# 3329 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15853 __xchg_wrong_size();
15854 }
15855 } else {
15856
15857 }
15858 }
15859 ldv_37398:
15860 {
15861# 3331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15862 tmp___6 = tty_hung_up_p(filp);
15863 }
15864# 3331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15865 if (tmp___6 != 0) {
15866# 3331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15867 goto _L;
15868 } else
15869# 3331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15870 if ((port->flags & 2147483648UL) == 0UL) {
15871 _L:
15872# 3332 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15873 if ((int )port->flags & 1) {
15874# 3332 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15875 retval = -11;
15876 } else {
15877# 3332 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15878 retval = -512;
15879 }
15880# 3334 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15881 goto ldv_37407;
15882 } else {
15883
15884 }
15885 {
15886# 3337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15887 cd = tty_port_carrier_raised(port);
15888 }
15889# 3339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15890 if ((port->flags & 134217728UL) == 0UL) {
15891# 3339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15892 if ((int )do_clocal) {
15893# 3340 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15894 goto ldv_37407;
15895 } else
15896# 3339 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15897 if (cd != 0) {
15898# 3340 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15899 goto ldv_37407;
15900 } else {
15901
15902 }
15903 } else {
15904
15905 }
15906 {
15907# 3342 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15908 tmp___7 = get_current();
15909# 3342 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15910 tmp___8 = signal_pending(tmp___7);
15911 }
15912# 3342 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15913 if (tmp___8 != 0) {
15914# 3343 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15915 retval = -512;
15916# 3344 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15917 goto ldv_37407;
15918 } else {
15919
15920 }
15921# 3347 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15922 if (debug_level > 2) {
15923 {
15924# 3347 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15925 printk("%s block_til_ready wait\n", (tty->driver)->name);
15926 }
15927 } else {
15928
15929 }
15930 {
15931# 3348 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15932 tty_unlock();
15933# 3349 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15934 schedule();
15935# 3350 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15936 tty_lock();
15937 }
15938# 3351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15939 goto ldv_37408;
15940 ldv_37407:
15941# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15942 __x___0 = (long volatile )0L;
15943# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15944 if (1) {
15945# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15946 goto case_8___0;
15947 } else {
15948# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15949 goto switch_default___0;
15950# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15951 if (0) {
15952 {
15953# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15954 tmp___9 = get_current();
15955# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15956 __ptr___3 = (u8 volatile *)(& tmp___9->state);
15957# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15958 __asm__ volatile ("xchgb %0,%1": "=q" (__x___0), "+m" (*__ptr___3): "0" (__x___0): "memory");
15959 }
15960# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15961 goto ldv_37412;
15962 {
15963# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15964 tmp___10 = get_current();
15965# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15966 __ptr___4 = (u16 volatile *)(& tmp___10->state);
15967# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15968 __asm__ volatile ("xchgw %0,%1": "=r" (__x___0), "+m" (*__ptr___4): "0" (__x___0): "memory");
15969 }
15970# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15971 goto ldv_37412;
15972 {
15973# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15974 tmp___11 = get_current();
15975# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15976 __ptr___5 = (u32 volatile *)(& tmp___11->state);
15977# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15978 __asm__ volatile ("xchgl %0,%1": "=r" (__x___0), "+m" (*__ptr___5): "0" (__x___0): "memory");
15979 }
15980# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15981 goto ldv_37412;
15982 case_8___0:
15983 {
15984# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15985 tmp___12 = get_current();
15986# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15987 __ptr___6 = (u64 volatile *)(& tmp___12->state);
15988# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15989 __asm__ volatile ("xchgq %0,%1": "=r" (__x___0), "+m" (*__ptr___6): "0" (__x___0): "memory");
15990 }
15991# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15992 goto ldv_37412;
15993 switch_default___0:
15994 {
15995# 3353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
15996 __xchg_wrong_size();
15997 }
15998 } else {
15999
16000 }
16001 }
16002 ldv_37412:
16003 {
16004# 3354 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16005 remove_wait_queue(& port->open_wait, & wait);
16006 }
16007# 3356 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16008 if ((int )extra_count) {
16009# 3357 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16010 port->count = port->count + 1;
16011 } else {
16012
16013 }
16014# 3358 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16015 port->blocked_open = port->blocked_open - 1;
16016# 3360 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16017 if (retval == 0) {
16018# 3361 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16019 port->flags = port->flags | 536870912UL;
16020 } else {
16021
16022 }
16023# 3363 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16024 if (debug_level > 2) {
16025 {
16026# 3363 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16027 printk("%s block_til_ready ready, rc=%d\n", (tty->driver)->name, retval);
16028 }
16029 } else {
16030
16031 }
16032# 3364 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16033 return (retval);
16034}
16035}
16036# 3367 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16037static int alloc_tmp_rbuf(struct slgt_info *info )
16038{ void *tmp ;
16039
16040 {
16041 {
16042# 3369 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16043 tmp = kmalloc((size_t )(info->max_frame_size + 5U), 208U);
16044# 3369 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16045 info->tmp_rbuf = (unsigned char *)tmp;
16046 }
16047# 3370 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16048 if ((unsigned long )info->tmp_rbuf == (unsigned long )((unsigned char *)0)) {
16049# 3371 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16050 return (-12);
16051 } else {
16052
16053 }
16054# 3372 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16055 return (0);
16056}
16057}
16058# 3375 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16059static void free_tmp_rbuf(struct slgt_info *info )
16060{
16061
16062 {
16063 {
16064# 3377 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16065 kfree((void const *)info->tmp_rbuf);
16066# 3378 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16067 info->tmp_rbuf = (unsigned char *)0;
16068 }
16069# 3379 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16070 return;
16071}
16072}
16073# 3384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16074static int alloc_desc(struct slgt_info *info )
16075{ unsigned int i ;
16076 unsigned int pbufs ;
16077 void *tmp ;
16078
16079 {
16080 {
16081# 3390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16082 tmp = pci_alloc_consistent(info->pdev, 4096UL, & info->bufs_dma_addr);
16083# 3390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16084 info->bufs = (char *)tmp;
16085 }
16086# 3391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16087 if ((unsigned long )info->bufs == (unsigned long )((char *)0)) {
16088# 3392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16089 return (-12);
16090 } else {
16091
16092 }
16093 {
16094# 3394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16095 memset((void *)info->bufs, 0, 4096UL);
16096# 3396 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16097 info->rbufs = (struct slgt_desc *)info->bufs;
16098# 3397 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16099 info->tbufs = (struct slgt_desc *)info->bufs + (unsigned long )info->rbuf_count;
16100# 3399 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16101 pbufs = (unsigned int )info->bufs_dma_addr;
16102# 3405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16103 i = 0U;
16104 }
16105# 3405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16106 goto ldv_37433;
16107 ldv_37432:
16108# 3407 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16109 (info->rbufs + (unsigned long )i)->pdesc = i * 48U + pbufs;
16110# 3410 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16111 if (info->rbuf_count - 1U == i) {
16112# 3411 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16113 (info->rbufs + (unsigned long )i)->next = pbufs;
16114 } else {
16115# 3413 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16116 (info->rbufs + (unsigned long )i)->next = (i + 1U) * 48U + pbufs;
16117 }
16118# 3414 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16119 (info->rbufs + (unsigned long )i)->count = (__le16 )256U;
16120# 3405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16121 i = i + 1U;
16122 ldv_37433: ;
16123# 3405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16124 if (info->rbuf_count > i) {
16125# 3406 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16126 goto ldv_37432;
16127 } else {
16128# 3408 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16129 goto ldv_37434;
16130 }
16131 ldv_37434:
16132# 3417 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16133 i = 0U;
16134# 3417 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16135 goto ldv_37436;
16136 ldv_37435:
16137# 3419 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16138 (info->tbufs + (unsigned long )i)->pdesc = (info->rbuf_count + i) * 48U + pbufs;
16139# 3422 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16140 if (info->tbuf_count - 1U == i) {
16141# 3423 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16142 (info->tbufs + (unsigned long )i)->next = info->rbuf_count * 48U + pbufs;
16143 } else {
16144# 3425 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16145 (info->tbufs + (unsigned long )i)->next = ((info->rbuf_count + i) + 1U) * 48U + pbufs;
16146 }
16147# 3417 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16148 i = i + 1U;
16149 ldv_37436: ;
16150# 3417 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16151 if (info->tbuf_count > i) {
16152# 3418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16153 goto ldv_37435;
16154 } else {
16155# 3420 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16156 goto ldv_37437;
16157 }
16158 ldv_37437: ;
16159# 3428 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16160 return (0);
16161}
16162}
16163# 3431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16164static void free_desc(struct slgt_info *info )
16165{
16166
16167 {
16168# 3433 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16169 if ((unsigned long )info->bufs != (unsigned long )((char *)0)) {
16170 {
16171# 3434 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16172 pci_free_consistent(info->pdev, 4096UL, (void *)info->bufs, info->bufs_dma_addr);
16173# 3435 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16174 info->bufs = (char *)0;
16175# 3436 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16176 info->rbufs = (struct slgt_desc *)0;
16177# 3437 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16178 info->tbufs = (struct slgt_desc *)0;
16179 }
16180 } else {
16181
16182 }
16183# 3439 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16184 return;
16185}
16186}
16187# 3441 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16188static int alloc_bufs(struct slgt_info *info , struct slgt_desc *bufs , int count )
16189{ int i ;
16190 char *tmp ;
16191 void *tmp___0 ;
16192
16193 {
16194# 3444 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16195 i = 0;
16196# 3444 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16197 goto ldv_37448;
16198 ldv_37447:
16199 {
16200# 3445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16201 tmp___0 = pci_alloc_consistent(info->pdev, 256UL, & (bufs + (unsigned long )i)->buf_dma_addr);
16202# 3445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16203 tmp = (char *)tmp___0;
16204# 3445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16205 (bufs + (unsigned long )i)->buf = tmp;
16206 }
16207# 3445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16208 if ((unsigned long )tmp == (unsigned long )((char *)0)) {
16209# 3446 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16210 return (-12);
16211 } else {
16212
16213 }
16214# 3447 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16215 (bufs + (unsigned long )i)->pbuf = (unsigned int )(bufs + (unsigned long )i)->buf_dma_addr;
16216# 3444 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16217 i = i + 1;
16218 ldv_37448: ;
16219# 3444 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16220 if (i < count) {
16221# 3445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16222 goto ldv_37447;
16223 } else {
16224# 3447 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16225 goto ldv_37449;
16226 }
16227 ldv_37449: ;
16228# 3449 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16229 return (0);
16230}
16231}
16232# 3452 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16233static void free_bufs(struct slgt_info *info , struct slgt_desc *bufs , int count )
16234{ int i ;
16235
16236 {
16237# 3455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16238 i = 0;
16239# 3455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16240 goto ldv_37458;
16241 ldv_37457: ;
16242# 3456 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16243 if ((unsigned long )(bufs + (unsigned long )i)->buf == (unsigned long )((char *)0)) {
16244# 3457 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16245 goto ldv_37456;
16246 } else {
16247
16248 }
16249 {
16250# 3458 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16251 pci_free_consistent(info->pdev, 256UL, (void *)(bufs + (unsigned long )i)->buf,
16252 (bufs + (unsigned long )i)->buf_dma_addr);
16253# 3459 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16254 (bufs + (unsigned long )i)->buf = (char *)0;
16255 }
16256 ldv_37456:
16257# 3455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16258 i = i + 1;
16259 ldv_37458: ;
16260# 3455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16261 if (i < count) {
16262# 3456 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16263 goto ldv_37457;
16264 } else {
16265# 3458 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16266 goto ldv_37459;
16267 }
16268 ldv_37459: ;
16269# 3460 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16270 return;
16271}
16272}
16273# 3463 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16274static int alloc_dma_bufs(struct slgt_info *info )
16275{ int tmp ;
16276 int tmp___0 ;
16277 int tmp___1 ;
16278 int tmp___2 ;
16279
16280 {
16281 {
16282# 3465 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16283 info->rbuf_count = 32U;
16284# 3466 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16285 info->tbuf_count = 32U;
16286# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16287 tmp = alloc_desc(info);
16288 }
16289# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16290 if (tmp < 0) {
16291# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16292 goto _L;
16293 } else {
16294 {
16295# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16296 tmp___0 = alloc_bufs(info, info->rbufs, (int )info->rbuf_count);
16297 }
16298# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16299 if (tmp___0 < 0) {
16300# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16301 goto _L;
16302 } else {
16303 {
16304# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16305 tmp___1 = alloc_bufs(info, info->tbufs, (int )info->tbuf_count);
16306 }
16307# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16308 if (tmp___1 < 0) {
16309# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16310 goto _L;
16311 } else {
16312 {
16313# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16314 tmp___2 = alloc_tmp_rbuf(info);
16315 }
16316# 3468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16317 if (tmp___2 < 0) {
16318 _L:
16319# 3472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16320 if (debug_level > 1) {
16321 {
16322# 3472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16323 printk("%s DMA buffer alloc fail\n", (char *)(& info->device_name));
16324 }
16325 } else {
16326
16327 }
16328# 3473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16329 return (-12);
16330 } else {
16331
16332 }
16333 }
16334 }
16335 }
16336 {
16337# 3475 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16338 reset_rbufs(info);
16339 }
16340# 3476 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16341 return (0);
16342}
16343}
16344# 3479 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16345static void free_dma_bufs(struct slgt_info *info )
16346{
16347
16348 {
16349# 3481 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16350 if ((unsigned long )info->bufs != (unsigned long )((char *)0)) {
16351 {
16352# 3482 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16353 free_bufs(info, info->rbufs, (int )info->rbuf_count);
16354# 3483 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16355 free_bufs(info, info->tbufs, (int )info->tbuf_count);
16356# 3484 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16357 free_desc(info);
16358 }
16359 } else {
16360
16361 }
16362 {
16363# 3486 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16364 free_tmp_rbuf(info);
16365 }
16366# 3487 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16367 return;
16368}
16369}
16370# 3489 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16371static int claim_resources(struct slgt_info *info )
16372{ struct resource *tmp ;
16373 void *tmp___0 ;
16374
16375 {
16376 {
16377# 3491 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16378 tmp = __request_region(& iomem_resource, (resource_size_t )info->phys_reg_addr,
16379 256ULL, "synclink_gt", 0);
16380 }
16381# 3491 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16382 if ((unsigned long )tmp == (unsigned long )((struct resource *)0)) {
16383# 3492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16384 if (debug_level > 1) {
16385 {
16386# 3492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16387 printk("%s reg addr conflict, addr=%08X\n", (char *)(& info->device_name), info->phys_reg_addr);
16388 }
16389 } else {
16390
16391 }
16392# 3494 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16393 info->init_error = 2;
16394# 3495 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16395 goto errout;
16396 } else {
16397# 3498 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16398 info->reg_addr_requested = (bool )1;
16399 }
16400 {
16401# 3500 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16402 tmp___0 = ioremap_nocache((resource_size_t )info->phys_reg_addr, 256UL);
16403# 3500 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16404 info->reg_addr = (unsigned char *)tmp___0;
16405 }
16406# 3501 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16407 if ((unsigned long )info->reg_addr == (unsigned long )((unsigned char *)0)) {
16408# 3502 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16409 if (debug_level > 1) {
16410 {
16411# 3502 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16412 printk("%s can\'t map device registers, addr=%08X\n", (char *)(& info->device_name),
16413 info->phys_reg_addr);
16414 }
16415 } else {
16416
16417 }
16418# 3504 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16419 info->init_error = 8;
16420# 3505 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16421 goto errout;
16422 } else {
16423
16424 }
16425# 3507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16426 return (0);
16427 errout:
16428 {
16429# 3510 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16430 release_resources(info);
16431 }
16432# 3511 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16433 return (-19);
16434}
16435}
16436# 3514 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16437static void release_resources(struct slgt_info *info )
16438{
16439
16440 {
16441# 3516 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16442 if ((int )info->irq_requested) {
16443 {
16444# 3517 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16445 free_irq(info->irq_level, (void *)info);
16446# 3518 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16447 info->irq_requested = (bool )0;
16448 }
16449 } else {
16450
16451 }
16452# 3521 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16453 if ((int )info->reg_addr_requested) {
16454 {
16455# 3522 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16456 __release_region(& iomem_resource, (resource_size_t )info->phys_reg_addr, 256ULL);
16457# 3523 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16458 info->reg_addr_requested = (bool )0;
16459 }
16460 } else {
16461
16462 }
16463# 3526 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16464 if ((unsigned long )info->reg_addr != (unsigned long )((unsigned char *)0)) {
16465 {
16466# 3527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16467 iounmap((void volatile *)info->reg_addr);
16468# 3528 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16469 info->reg_addr = (unsigned char *)0;
16470 }
16471 } else {
16472
16473 }
16474# 3530 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16475 return;
16476}
16477}
16478# 3535 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16479static void add_device(struct slgt_info *info )
16480{ char *devstr ;
16481 struct slgt_info *current_dev ;
16482
16483 {
16484 {
16485# 3539 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16486 info->next_device = (struct slgt_info *)0;
16487# 3540 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16488 info->line = slgt_device_count;
16489# 3541 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16490 sprintf((char *)(& info->device_name), "%s%d", tty_dev_prefix, info->line);
16491 }
16492# 3543 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16493 if (info->line <= 31) {
16494# 3544 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16495 if (maxframe[info->line] != 0) {
16496# 3545 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16497 info->max_frame_size = (u32 )maxframe[info->line];
16498 } else {
16499
16500 }
16501 } else {
16502
16503 }
16504# 3548 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16505 slgt_device_count = slgt_device_count + 1;
16506# 3550 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16507 if ((unsigned long )slgt_device_list == (unsigned long )((struct slgt_info *)0)) {
16508# 3551 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16509 slgt_device_list = info;
16510 } else {
16511# 3553 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16512 current_dev = slgt_device_list;
16513# 3554 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16514 goto ldv_37479;
16515 ldv_37478:
16516# 3555 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16517 current_dev = current_dev->next_device;
16518 ldv_37479: ;
16519# 3554 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16520 if ((unsigned long )current_dev->next_device != (unsigned long )((struct slgt_info *)0)) {
16521# 3555 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16522 goto ldv_37478;
16523 } else {
16524# 3557 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16525 goto ldv_37480;
16526 }
16527 ldv_37480:
16528# 3556 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16529 current_dev->next_device = info;
16530 }
16531# 3559 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16532 if (info->max_frame_size <= 4095U) {
16533# 3560 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16534 info->max_frame_size = 4096U;
16535 } else
16536# 3561 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16537 if (info->max_frame_size > 65535U) {
16538# 3562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16539 info->max_frame_size = 65535U;
16540 } else {
16541
16542 }
16543# 3565 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16544 if ((int )(info->pdev)->device == 112) {
16545# 3565 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16546 goto case_112;
16547 } else
16548# 3568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16549 if ((int )(info->pdev)->device == 160) {
16550# 3568 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16551 goto case_160;
16552 } else
16553# 3571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16554 if ((int )(info->pdev)->device == 128) {
16555# 3571 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16556 goto case_128;
16557 } else
16558# 3574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16559 if ((int )(info->pdev)->device == 144) {
16560# 3574 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16561 goto case_144;
16562 } else {
16563# 3578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16564 goto switch_default;
16565# 3564 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16566 if (0) {
16567 case_112:
16568# 3566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16569 devstr = (char *)"GT";
16570# 3567 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16571 goto ldv_37482;
16572 case_160:
16573# 3569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16574 devstr = (char *)"GT2";
16575# 3570 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16576 goto ldv_37482;
16577 case_128:
16578# 3572 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16579 devstr = (char *)"GT4";
16580# 3573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16581 goto ldv_37482;
16582 case_144:
16583# 3575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16584 devstr = (char *)"AC";
16585# 3576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16586 info->params.mode = 1UL;
16587# 3577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16588 goto ldv_37482;
16589 switch_default:
16590# 3579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16591 devstr = (char *)"(unknown model)";
16592 } else {
16593
16594 }
16595 }
16596 ldv_37482:
16597 {
16598# 3581 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16599 printk("SyncLink %s %s IO=%08x IRQ=%d MaxFrameSize=%u\n", devstr, (char *)(& info->device_name),
16600 info->phys_reg_addr, info->irq_level, info->max_frame_size);
16601# 3586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16602 hdlcdev_init(info);
16603 }
16604# 3587 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16605 return;
16606}
16607}
16608# 3590 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16609static struct tty_port_operations const slgt_port_ops = {& carrier_raised, & dtr_rts, (void (*)(struct tty_port * ))0, (void (*)(struct tty_port * ))0,
16610 (int (*)(struct tty_port * , struct tty_struct * ))0, (void (*)(struct tty_port * ))0};
16611# 3598 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16612static struct slgt_info *alloc_dev(int adapter_num , int port_num , struct pci_dev *pdev )
16613{ struct slgt_info *info ;
16614 void *tmp ;
16615 struct lock_class_key __key ;
16616 atomic_long_t __constr_expr_0 ;
16617 struct lock_class_key __key___0 ;
16618 struct lock_class_key __key___1 ;
16619 struct lock_class_key __key___2 ;
16620 size_t __len ;
16621 void *__ret ;
16622 struct lock_class_key __key___3 ;
16623 struct lock_class_key __key___4 ;
16624
16625 {
16626 {
16627# 3602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16628 tmp = kzalloc(10120UL, 208U);
16629# 3602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16630 info = (struct slgt_info *)tmp;
16631 }
16632# 3604 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16633 if ((unsigned long )info == (unsigned long )((struct slgt_info *)0)) {
16634# 3605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16635 if (debug_level > 1) {
16636 {
16637# 3605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16638 printk("%s device alloc failed adapter=%d port=%d\n", driver_name, adapter_num,
16639 port_num);
16640 }
16641 } else {
16642 {
16643# 3608 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16644 tty_port_init(& info->port);
16645# 3609 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16646 info->port.ops = & slgt_port_ops;
16647# 3610 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16648 info->magic = 21505;
16649# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16650 __init_work(& info->task, 0);
16651# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16652 __constr_expr_0.counter = 2097664L;
16653# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16654 info->task.data = __constr_expr_0;
16655# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16656 lockdep_init_map(& info->task.lockdep_map, "(&info->task)", & __key, 0);
16657# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16658 INIT_LIST_HEAD(& info->task.entry);
16659# 3611 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16660 info->task.func = & bh_handler;
16661# 3612 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16662 info->max_frame_size = 4096U;
16663# 3613 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16664 info->base_clock = 14745600U;
16665# 3614 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16666 info->rbuf_fill_level = 256U;
16667# 3615 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16668 info->port.close_delay = 125U;
16669# 3616 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16670 info->port.closing_wait = 7500U;
16671# 3617 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16672 __init_waitqueue_head(& info->status_event_wait_q, & __key___0);
16673# 3618 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16674 __init_waitqueue_head(& info->event_wait_q, & __key___1);
16675# 3619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16676 spinlock_check(& info->netlock);
16677# 3619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16678 __raw_spin_lock_init(& info->netlock.ldv_6060.rlock, "&(&info->netlock)->rlock",
16679 & __key___2);
16680# 3620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16681 __len = 48UL;
16682 }
16683# 3620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16684 if (__len > 63UL) {
16685 {
16686# 3620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16687 __ret = __memcpy((void *)(& info->params), (void const *)(& default_params),
16688 __len);
16689 }
16690 } else {
16691 {
16692# 3620 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16693 __ret = __builtin_memcpy((void *)(& info->params), (void const *)(& default_params),
16694 __len);
16695 }
16696 }
16697 {
16698# 3621 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16699 info->idle_mode = 0U;
16700# 3622 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16701 info->adapter_num = adapter_num;
16702# 3623 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16703 info->port_num = port_num;
16704# 3625 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16705 setup_timer_key(& info->tx_timer, "&info->tx_timer", & __key___3, & tx_timeout,
16706 (unsigned long )info);
16707# 3626 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16708 setup_timer_key(& info->rx_timer, "&info->rx_timer", & __key___4, & rx_timeout,
16709 (unsigned long )info);
16710# 3629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16711 info->pdev = pdev;
16712# 3630 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16713 info->irq_level = pdev->irq;
16714# 3631 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16715 info->phys_reg_addr = (u32 )pdev->resource[0].start;
16716# 3633 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16717 info->bus_type = 5U;
16718# 3634 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16719 info->irq_flags = 128UL;
16720# 3636 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16721 info->init_error = -1;
16722 }
16723 }
16724 } else {
16725
16726 }
16727# 3639 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16728 return (info);
16729}
16730}
16731# 3642 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16732static void device_init(int adapter_num , struct pci_dev *pdev )
16733{ struct slgt_info *port_array[4U] ;
16734 int i ;
16735 int port_count ;
16736 size_t __len ;
16737 void *__ret ;
16738 struct lock_class_key __key ;
16739 int tmp ;
16740 int tmp___0 ;
16741
16742 {
16743# 3646 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16744 port_count = 1;
16745# 3648 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16746 if ((unsigned int )pdev->device == 160U) {
16747# 3649 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16748 port_count = 2;
16749 } else
16750# 3650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16751 if ((unsigned int )pdev->device == 128U) {
16752# 3651 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16753 port_count = 4;
16754 } else {
16755
16756 }
16757# 3654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16758 i = 0;
16759# 3654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16760 goto ldv_37515;
16761 ldv_37514:
16762 {
16763# 3655 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16764 port_array[i] = alloc_dev(adapter_num, i, pdev);
16765 }
16766# 3656 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16767 if ((unsigned long )port_array[i] == (unsigned long )((struct slgt_info *)0)) {
16768# 3657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16769 i = i - 1;
16770# 3657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16771 goto ldv_37512;
16772 ldv_37511:
16773 {
16774# 3658 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16775 kfree((void const *)port_array[i]);
16776# 3657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16777 i = i - 1;
16778 }
16779 ldv_37512: ;
16780# 3657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16781 if (i >= 0) {
16782# 3658 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16783 goto ldv_37511;
16784 } else {
16785# 3660 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16786 goto ldv_37513;
16787 }
16788 ldv_37513: ;
16789# 3659 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16790 return;
16791 } else {
16792
16793 }
16794# 3654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16795 i = i + 1;
16796 ldv_37515: ;
16797# 3654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16798 if (i < port_count) {
16799# 3655 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16800 goto ldv_37514;
16801 } else {
16802# 3657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16803 goto ldv_37516;
16804 }
16805 ldv_37516:
16806# 3664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16807 i = 0;
16808# 3664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16809 goto ldv_37522;
16810 ldv_37521:
16811# 3665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16812 __len = 32UL;
16813# 3665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16814 if (__len > 63UL) {
16815 {
16816# 3665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16817 __ret = __memcpy((void *)(& (port_array[i])->port_array), (void const *)(& port_array),
16818 __len);
16819 }
16820 } else {
16821 {
16822# 3665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16823 __ret = __builtin_memcpy((void *)(& (port_array[i])->port_array), (void const *)(& port_array),
16824 __len);
16825 }
16826 }
16827 {
16828# 3666 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16829 add_device(port_array[i]);
16830# 3667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16831 (port_array[i])->port_count = port_count;
16832# 3668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16833 spinlock_check(& (port_array[i])->lock);
16834# 3668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16835 __raw_spin_lock_init(& (port_array[i])->lock.ldv_6060.rlock, "&(&port_array[i]->lock)->rlock",
16836 & __key);
16837# 3664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16838 i = i + 1;
16839 }
16840 ldv_37522: ;
16841# 3664 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16842 if (i < port_count) {
16843# 3665 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16844 goto ldv_37521;
16845 } else {
16846# 3667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16847 goto ldv_37523;
16848 }
16849 ldv_37523:
16850 {
16851# 3672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16852 tmp___0 = claim_resources(port_array[0]);
16853 }
16854# 3672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16855 if (tmp___0 == 0) {
16856 {
16857# 3674 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16858 alloc_dma_bufs(port_array[0]);
16859# 3677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16860 i = 1;
16861 }
16862# 3677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16863 goto ldv_37525;
16864 ldv_37524:
16865 {
16866# 3678 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16867 (port_array[i])->irq_level = (port_array[0])->irq_level;
16868# 3679 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16869 (port_array[i])->reg_addr = (port_array[0])->reg_addr;
16870# 3680 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16871 alloc_dma_bufs(port_array[i]);
16872# 3677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16873 i = i + 1;
16874 }
16875 ldv_37525: ;
16876# 3677 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16877 if (i < port_count) {
16878# 3678 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16879 goto ldv_37524;
16880 } else {
16881# 3680 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16882 goto ldv_37526;
16883 }
16884 ldv_37526:
16885 {
16886# 3683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16887 tmp = request_irq((port_array[0])->irq_level, & slgt_interrupt, (port_array[0])->irq_flags,
16888 (char const *)(& (port_array[0])->device_name), (void *)port_array[0]);
16889 }
16890# 3683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16891 if (tmp < 0) {
16892# 3688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16893 if (debug_level > 1) {
16894 {
16895# 3688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16896 printk("%s request_irq failed IRQ=%d\n", (char *)(& (port_array[0])->device_name),
16897 (port_array[0])->irq_level);
16898 }
16899 } else {
16900 {
16901# 3692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16902 (port_array[0])->irq_requested = (bool )1;
16903# 3693 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16904 adapter_test(port_array[0]);
16905# 3694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16906 i = 1;
16907 }
16908# 3694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16909 goto ldv_37528;
16910 ldv_37527:
16911# 3695 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16912 (port_array[i])->init_error = (port_array[0])->init_error;
16913# 3696 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16914 (port_array[i])->gpio_present = (port_array[0])->gpio_present;
16915# 3694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16916 i = i + 1;
16917 ldv_37528: ;
16918# 3694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16919 if (i < port_count) {
16920# 3695 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16921 goto ldv_37527;
16922 } else {
16923# 3697 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16924 goto ldv_37529;
16925 }
16926 ldv_37529: ;
16927 }
16928 } else {
16929
16930 }
16931 } else {
16932
16933 }
16934# 3701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16935 i = 0;
16936# 3701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16937 goto ldv_37531;
16938 ldv_37530:
16939 {
16940# 3702 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16941 tty_register_device(serial_driver, (unsigned int )(port_array[i])->line, & ((port_array[i])->pdev)->dev);
16942# 3701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16943 i = i + 1;
16944 }
16945 ldv_37531: ;
16946# 3701 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16947 if (i < port_count) {
16948# 3702 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16949 goto ldv_37530;
16950 } else {
16951# 3704 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16952 goto ldv_37532;
16953 }
16954 ldv_37532: ;
16955# 3706 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16956 return;
16957}
16958}
16959# 3705 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16960static int init_one(struct pci_dev *dev , struct pci_device_id const *ent )
16961{ int tmp ;
16962
16963 {
16964 {
16965# 3708 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16966 tmp = pci_enable_device(dev);
16967 }
16968# 3708 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16969 if (tmp != 0) {
16970 {
16971# 3709 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16972 printk("error enabling pci device %p\n", dev);
16973 }
16974# 3710 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16975 return (-5);
16976 } else {
16977
16978 }
16979 {
16980# 3712 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16981 pci_set_master(dev);
16982# 3713 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16983 device_init(slgt_device_count, dev);
16984 }
16985# 3714 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16986 return (0);
16987}
16988}
16989# 3717 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16990static void remove_one(struct pci_dev *dev )
16991{
16992
16993 {
16994# 3719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16995 return;
16996}
16997}
16998# 3721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
16999static struct tty_operations const ops =
17000# 3721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17001 {(struct tty_struct *(*)(struct tty_driver * , struct inode * , int ))0, (int (*)(struct tty_driver * ,
17002 struct tty_struct * ))0,
17003 (void (*)(struct tty_driver * , struct tty_struct * ))0, & open, & close, (void (*)(struct tty_struct * ))0,
17004 (void (*)(struct tty_struct * ))0, & write, & put_char, & flush_chars, & write_room,
17005 & chars_in_buffer, & ioctl, & slgt_compat_ioctl, & set_termios, & throttle, & unthrottle,
17006 & tx_hold, & tx_release, & hangup, & set_break, & flush_buffer, (void (*)(struct tty_struct * ))0,
17007 & wait_until_sent, & send_xchar, & tiocmget, & tiocmset, (int (*)(struct tty_struct * ,
17008 struct winsize * ))0,
17009 (int (*)(struct tty_struct * , struct termiox * ))0, & get_icount, (int (*)(struct tty_driver * ,
17010 int ,
17011 char * ))0,
17012 (int (*)(struct tty_driver * , int ))0, (void (*)(struct tty_driver * , int ,
17013 char ))0, & synclink_gt_proc_fops};
17014# 3747 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17015static void slgt_cleanup(void)
17016{ int rc ;
17017 struct slgt_info *info ;
17018 struct slgt_info *tmp ;
17019
17020 {
17021 {
17022# 3753 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17023 printk("<6>unload %s\n", driver_name);
17024 }
17025# 3755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17026 if ((unsigned long )serial_driver != (unsigned long )((struct tty_driver *)0)) {
17027# 3756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17028 info = slgt_device_list;
17029# 3756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17030 goto ldv_37548;
17031 ldv_37547:
17032 {
17033# 3757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17034 tty_unregister_device(serial_driver, (unsigned int )info->line);
17035# 3756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17036 info = info->next_device;
17037 }
17038 ldv_37548: ;
17039# 3756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17040 if ((unsigned long )info != (unsigned long )((struct slgt_info *)0)) {
17041# 3757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17042 goto ldv_37547;
17043 } else {
17044# 3759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17045 goto ldv_37549;
17046 }
17047 ldv_37549:
17048 {
17049# 3758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17050 rc = tty_unregister_driver(serial_driver);
17051 }
17052# 3758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17053 if (rc != 0) {
17054# 3759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17055 if (debug_level > 1) {
17056 {
17057# 3759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17058 printk("tty_unregister_driver error=%d\n", rc);
17059 }
17060 } else {
17061
17062 }
17063 } else {
17064
17065 }
17066 {
17067# 3760 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17068 put_tty_driver(serial_driver);
17069 }
17070 } else {
17071
17072 }
17073# 3764 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17074 info = slgt_device_list;
17075# 3765 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17076 goto ldv_37551;
17077 ldv_37550:
17078 {
17079# 3766 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17080 reset_port(info);
17081# 3767 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17082 info = info->next_device;
17083 }
17084 ldv_37551: ;
17085# 3765 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17086 if ((unsigned long )info != (unsigned long )((struct slgt_info *)0)) {
17087# 3766 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17088 goto ldv_37550;
17089 } else {
17090# 3768 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17091 goto ldv_37552;
17092 }
17093 ldv_37552:
17094# 3771 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17095 info = slgt_device_list;
17096# 3772 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17097 goto ldv_37554;
17098 ldv_37553:
17099 {
17100# 3774 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17101 hdlcdev_exit(info);
17102# 3776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17103 free_dma_bufs(info);
17104# 3777 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17105 free_tmp_rbuf(info);
17106 }
17107# 3778 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17108 if (info->port_num == 0) {
17109 {
17110# 3779 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17111 release_resources(info);
17112 }
17113 } else {
17114
17115 }
17116 {
17117# 3780 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17118 tmp = info;
17119# 3781 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17120 info = info->next_device;
17121# 3782 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17122 kfree((void const *)tmp);
17123 }
17124 ldv_37554: ;
17125# 3772 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17126 if ((unsigned long )info != (unsigned long )((struct slgt_info *)0)) {
17127# 3773 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17128 goto ldv_37553;
17129 } else {
17130# 3775 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17131 goto ldv_37555;
17132 }
17133 ldv_37555: ;
17134# 3785 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17135 if ((int )pci_registered) {
17136 {
17137# 3786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17138 pci_unregister_driver(& pci_driver);
17139 }
17140 } else {
17141
17142 }
17143# 3787 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17144 return;
17145}
17146}
17147# 3792 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17148static int slgt_init(void)
17149{ int rc ;
17150
17151 {
17152 {
17153# 3796 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17154 printk("<6>%s\n", driver_name);
17155# 3798 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17156 serial_driver = alloc_tty_driver(32);
17157 }
17158# 3799 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17159 if ((unsigned long )serial_driver == (unsigned long )((struct tty_driver *)0)) {
17160 {
17161# 3800 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17162 printk("%s can\'t allocate tty driver\n", driver_name);
17163 }
17164# 3801 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17165 return (-12);
17166 } else {
17167
17168 }
17169 {
17170# 3806 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17171 serial_driver->owner = & __this_module;
17172# 3807 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17173 serial_driver->driver_name = (char const *)tty_driver_name;
17174# 3808 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17175 serial_driver->name = (char const *)tty_dev_prefix;
17176# 3809 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17177 serial_driver->major = ttymajor;
17178# 3810 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17179 serial_driver->minor_start = 64;
17180# 3811 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17181 serial_driver->type = (short)3;
17182# 3812 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17183 serial_driver->subtype = (short)1;
17184# 3813 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17185 serial_driver->init_termios = tty_std_termios;
17186# 3814 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17187 serial_driver->init_termios.c_cflag = 3261U;
17188# 3816 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17189 serial_driver->init_termios.c_ispeed = 9600U;
17190# 3817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17191 serial_driver->init_termios.c_ospeed = 9600U;
17192# 3818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17193 serial_driver->flags = 12;
17194# 3819 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17195 tty_set_operations(serial_driver, & ops);
17196# 3820 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17197 rc = tty_register_driver(serial_driver);
17198 }
17199# 3820 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17200 if (rc < 0) {
17201# 3821 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17202 if (debug_level > 1) {
17203 {
17204# 3821 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17205 printk("%s can\'t register serial driver\n", driver_name);
17206 }
17207 } else {
17208
17209 }
17210 {
17211# 3822 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17212 put_tty_driver(serial_driver);
17213# 3823 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17214 serial_driver = (struct tty_driver *)0;
17215 }
17216# 3824 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17217 goto error;
17218 } else {
17219
17220 }
17221 {
17222# 3827 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17223 printk("<6>%s, tty major#%d\n", driver_name, serial_driver->major);
17224# 3830 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17225 slgt_device_count = 0;
17226# 3831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17227 rc = __pci_register_driver(& pci_driver, & __this_module, "synclink_gt");
17228 }
17229# 3831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17230 if (rc < 0) {
17231 {
17232# 3832 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17233 printk("%s pci_register_driver error=%d\n", driver_name, rc);
17234 }
17235# 3833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17236 goto error;
17237 } else {
17238
17239 }
17240# 3835 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17241 pci_registered = (bool )1;
17242# 3837 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17243 if ((unsigned long )slgt_device_list == (unsigned long )((struct slgt_info *)0)) {
17244 {
17245# 3838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17246 printk("%s no devices found\n", driver_name);
17247 }
17248 } else {
17249
17250 }
17251# 3840 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17252 return (0);
17253 error:
17254 {
17255# 3843 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17256 slgt_cleanup();
17257 }
17258# 3844 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17259 return (rc);
17260}
17261}
17262# 3847 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17263static void slgt_exit(void)
17264{
17265
17266 {
17267 {
17268# 3849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17269 slgt_cleanup();
17270 }
17271# 3850 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17272 return;
17273}
17274}
17275# 3866 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17276static __u8 rd_reg8(struct slgt_info *info , unsigned int addr )
17277{ unsigned long reg_addr ;
17278 unsigned char tmp ;
17279
17280 {
17281# 3868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17282 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17283# 3868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17284 if (addr > 127U) {
17285# 3868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17286 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17287 } else
17288# 3868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17289 if (addr > 63U) {
17290# 3868 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17291 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17292 } else {
17293
17294 }
17295 {
17296# 3869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17297 tmp = readb((void const volatile *)reg_addr);
17298 }
17299# 3869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17300 return (tmp);
17301}
17302}
17303# 3872 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17304static void wr_reg8(struct slgt_info *info , unsigned int addr , __u8 value )
17305{ unsigned long reg_addr ;
17306
17307 {
17308# 3874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17309 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17310# 3874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17311 if (addr > 127U) {
17312# 3874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17313 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17314 } else
17315# 3874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17316 if (addr > 63U) {
17317# 3874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17318 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17319 } else {
17320
17321 }
17322 {
17323# 3875 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17324 writeb((unsigned char )((int )value), (void volatile *)reg_addr);
17325 }
17326# 3876 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17327 return;
17328}
17329}
17330# 3878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17331static __u16 rd_reg16(struct slgt_info *info , unsigned int addr )
17332{ unsigned long reg_addr ;
17333 unsigned short tmp ;
17334
17335 {
17336# 3880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17337 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17338# 3880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17339 if (addr > 127U) {
17340# 3880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17341 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17342 } else
17343# 3880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17344 if (addr > 63U) {
17345# 3880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17346 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17347 } else {
17348
17349 }
17350 {
17351# 3881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17352 tmp = readw((void const volatile *)reg_addr);
17353 }
17354# 3881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17355 return (tmp);
17356}
17357}
17358# 3884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17359static void wr_reg16(struct slgt_info *info , unsigned int addr , __u16 value )
17360{ unsigned long reg_addr ;
17361
17362 {
17363# 3886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17364 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17365# 3886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17366 if (addr > 127U) {
17367# 3886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17368 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17369 } else
17370# 3886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17371 if (addr > 63U) {
17372# 3886 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17373 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17374 } else {
17375
17376 }
17377 {
17378# 3887 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17379 writew((unsigned short )((int )value), (void volatile *)reg_addr);
17380 }
17381# 3888 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17382 return;
17383}
17384}
17385# 3890 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17386static __u32 rd_reg32(struct slgt_info *info , unsigned int addr )
17387{ unsigned long reg_addr ;
17388 unsigned int tmp ;
17389
17390 {
17391# 3892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17392 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17393# 3892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17394 if (addr > 127U) {
17395# 3892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17396 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17397 } else
17398# 3892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17399 if (addr > 63U) {
17400# 3892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17401 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17402 } else {
17403
17404 }
17405 {
17406# 3893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17407 tmp = readl((void const volatile *)reg_addr);
17408 }
17409# 3893 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17410 return (tmp);
17411}
17412}
17413# 3896 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17414static void wr_reg32(struct slgt_info *info , unsigned int addr , __u32 value )
17415{ unsigned long reg_addr ;
17416
17417 {
17418# 3898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17419 reg_addr = (unsigned long )info->reg_addr + (unsigned long )addr;
17420# 3898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17421 if (addr > 127U) {
17422# 3898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17423 reg_addr = (unsigned long )(info->port_num * 32) + reg_addr;
17424 } else
17425# 3898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17426 if (addr > 63U) {
17427# 3898 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17428 reg_addr = (unsigned long )(info->port_num * 16) + reg_addr;
17429 } else {
17430
17431 }
17432 {
17433# 3899 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17434 writel(value, (void volatile *)reg_addr);
17435 }
17436# 3900 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17437 return;
17438}
17439}
17440# 3902 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17441static void rdma_reset(struct slgt_info *info )
17442{ unsigned int i ;
17443 __u32 tmp ;
17444
17445 {
17446 {
17447# 3907 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17448 wr_reg32(info, 144U, 2U);
17449# 3910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17450 i = 0U;
17451 }
17452# 3910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17453 goto ldv_37613;
17454 ldv_37612:
17455 {
17456# 3911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17457 tmp = rd_reg32(info, 144U);
17458 }
17459# 3911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17460 if ((tmp & 1U) == 0U) {
17461# 3912 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17462 goto ldv_37611;
17463 } else {
17464
17465 }
17466# 3910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17467 i = i + 1U;
17468 ldv_37613: ;
17469# 3910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17470 if (i <= 999U) {
17471# 3911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17472 goto ldv_37612;
17473 } else {
17474# 3913 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17475 goto ldv_37611;
17476 }
17477 ldv_37611: ;
17478# 3915 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17479 return;
17480}
17481}
17482# 3915 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17483static void tdma_reset(struct slgt_info *info )
17484{ unsigned int i ;
17485 __u32 tmp ;
17486
17487 {
17488 {
17489# 3920 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17490 wr_reg32(info, 148U, 2U);
17491# 3923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17492 i = 0U;
17493 }
17494# 3923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17495 goto ldv_37620;
17496 ldv_37619:
17497 {
17498# 3924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17499 tmp = rd_reg32(info, 148U);
17500 }
17501# 3924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17502 if ((tmp & 1U) == 0U) {
17503# 3925 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17504 goto ldv_37618;
17505 } else {
17506
17507 }
17508# 3923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17509 i = i + 1U;
17510 ldv_37620: ;
17511# 3923 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17512 if (i <= 999U) {
17513# 3924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17514 goto ldv_37619;
17515 } else {
17516# 3926 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17517 goto ldv_37618;
17518 }
17519 ldv_37618: ;
17520# 3928 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17521 return;
17522}
17523}
17524# 3933 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17525static void enable_loopback(struct slgt_info *info )
17526{ __u16 tmp ;
17527
17528 {
17529 {
17530# 3936 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17531 tmp = rd_reg16(info, 140U);
17532# 3936 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17533 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp | 4U)));
17534 }
17535# 3938 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17536 if (info->params.mode != 1UL) {
17537 {
17538# 3947 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17539 wr_reg8(info, 137U, (__u8 )73);
17540 }
17541# 3950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17542 if (info->params.clock_speed != 0UL) {
17543 {
17544# 3951 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17545 set_rate(info, (u32 )info->params.clock_speed);
17546 }
17547 } else {
17548 {
17549# 3953 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17550 set_rate(info, 3686400U);
17551 }
17552 }
17553 } else {
17554
17555 }
17556# 3955 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17557 return;
17558}
17559}
17560# 3960 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17561static void set_rate(struct slgt_info *info , u32 rate )
17562{ unsigned int div ;
17563 unsigned int osc ;
17564
17565 {
17566# 3963 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17567 osc = info->base_clock;
17568# 3971 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17569 if (rate != 0U) {
17570# 3972 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17571 div = osc / rate;
17572# 3973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17573 if (osc % rate == 0U) {
17574# 3973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17575 if (div != 0U) {
17576# 3974 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17577 div = div - 1U;
17578 } else {
17579
17580 }
17581 } else {
17582
17583 }
17584 {
17585# 3975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17586 wr_reg16(info, 138U, (__u16 )((int )((unsigned short )div)));
17587 }
17588 } else {
17589
17590 }
17591# 3977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17592 return;
17593}
17594}
17595# 3979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17596static void rx_stop(struct slgt_info *info )
17597{ unsigned short val ;
17598 __u16 tmp ;
17599 __u16 tmp___0 ;
17600
17601 {
17602 {
17603# 3984 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17604 tmp = rd_reg16(info, 134U);
17605# 3984 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17606 val = (unsigned short )((unsigned int )tmp & 65533U);
17607# 3985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17608 wr_reg16(info, 134U, (__u16 )((int )((unsigned int )val | 4U)));
17609# 3986 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17610 wr_reg16(info, 134U, (__u16 )((int )val));
17611# 3988 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17612 tmp___0 = rd_reg16(info, 140U);
17613# 3988 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17614 wr_reg16(info, 140U, (__u16 )((int )tmp___0 & 63743));
17615# 3991 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17616 wr_reg16(info, 142U, (__u16 )768);
17617# 3993 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17618 rdma_reset(info);
17619# 3995 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17620 info->rx_enabled = (bool )0;
17621# 3996 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17622 info->rx_restart = (bool )0;
17623 }
17624# 3997 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17625 return;
17626}
17627}
17628# 3999 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17629static void rx_start(struct slgt_info *info )
17630{ unsigned short val ;
17631 __u16 tmp ;
17632 __u16 tmp___0 ;
17633 __u16 tmp___1 ;
17634 __u16 tmp___2 ;
17635 __u16 tmp___3 ;
17636 __u16 tmp___4 ;
17637 __u16 tmp___5 ;
17638
17639 {
17640 {
17641# 4003 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17642 tmp = rd_reg16(info, 140U);
17643# 4003 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17644 wr_reg16(info, 140U, (__u16 )((int )tmp & 64255));
17645# 4006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17646 wr_reg16(info, 142U, (__u16 )256);
17647# 4009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17648 tmp___0 = rd_reg16(info, 134U);
17649# 4009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17650 val = (unsigned short )((unsigned int )tmp___0 & 65533U);
17651# 4010 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17652 wr_reg16(info, 134U, (__u16 )((int )((unsigned int )val | 4U)));
17653# 4011 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17654 wr_reg16(info, 134U, (__u16 )((int )val));
17655# 4013 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17656 rdma_reset(info);
17657# 4014 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17658 reset_rbufs(info);
17659 }
17660# 4016 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17661 if (info->rx_pio != 0U) {
17662 {
17663# 4018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17664 tmp___1 = rd_reg16(info, 140U);
17665# 4018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17666 wr_reg16(info, 140U, (__u16 )((int )tmp___1 & 49151));
17667# 4019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17668 tmp___2 = rd_reg16(info, 140U);
17669# 4019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17670 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___2 | 1024U)));
17671 }
17672# 4020 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17673 if (info->params.mode == 1UL) {
17674 {
17675# 4022 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17676 wr_reg32(info, 144U, 64U);
17677 }
17678 } else {
17679
17680 }
17681 } else {
17682 {
17683# 4026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17684 tmp___3 = rd_reg16(info, 140U);
17685# 4026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17686 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___3 | 16384U)));
17687# 4028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17688 wr_reg32(info, 152U, (info->rbufs)->pdesc);
17689 }
17690# 4030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17691 if (info->params.mode != 1UL) {
17692 {
17693# 4032 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17694 wr_reg32(info, 144U, 5U);
17695 }
17696 } else {
17697 {
17698# 4035 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17699 wr_reg32(info, 144U, 69U);
17700 }
17701 }
17702 }
17703 {
17704# 4039 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17705 tmp___4 = rd_reg16(info, 140U);
17706# 4039 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17707 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___4 | 256U)));
17708# 4042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17709 tmp___5 = rd_reg16(info, 134U);
17710# 4042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17711 wr_reg16(info, 134U, (__u16 )((int )((unsigned int )tmp___5 | 2U)));
17712# 4044 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17713 info->rx_restart = (bool )0;
17714# 4045 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17715 info->rx_enabled = (bool )1;
17716 }
17717# 4046 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17718 return;
17719}
17720}
17721# 4048 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17722static void tx_start(struct slgt_info *info )
17723{ __u16 tmp ;
17724 __u16 tmp___0 ;
17725 __u16 tmp___1 ;
17726 __u16 tmp___2 ;
17727 __u16 tmp___3 ;
17728
17729 {
17730# 4050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17731 if (! info->tx_enabled) {
17732 {
17733# 4051 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17734 tmp = rd_reg16(info, 130U);
17735# 4051 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17736 wr_reg16(info, 130U, (__u16 )((int )((unsigned short )(((int )((short )tmp) & 65529) | 2))));
17737# 4053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17738 info->tx_enabled = (bool )1;
17739 }
17740 } else {
17741
17742 }
17743# 4056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17744 if ((unsigned int )(info->tbufs + (unsigned long )info->tbuf_start)->count != 0U) {
17745# 4057 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17746 info->drop_rts_on_tx_done = (bool )0;
17747# 4059 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17748 if (info->params.mode != 1UL) {
17749# 4060 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17750 if (((int )info->params.flags & 128) != 0) {
17751 {
17752# 4061 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17753 get_signals(info);
17754 }
17755# 4062 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17756 if (((int )info->signals & 32) == 0) {
17757 {
17758# 4063 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17759 info->signals = (unsigned char )((unsigned int )info->signals | 32U);
17760# 4064 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17761 set_signals(info);
17762# 4065 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17763 info->drop_rts_on_tx_done = (bool )1;
17764 }
17765 } else {
17766
17767 }
17768 } else {
17769
17770 }
17771 {
17772# 4069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17773 tmp___0 = rd_reg16(info, 140U);
17774# 4069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17775 wr_reg16(info, 140U, (__u16 )((int )tmp___0 & 57343));
17776# 4070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17777 tmp___1 = rd_reg16(info, 140U);
17778# 4070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17779 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___1 | 6144U)));
17780# 4072 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17781 wr_reg16(info, 142U, (__u16 )6144);
17782 }
17783 } else {
17784 {
17785# 4074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17786 tmp___2 = rd_reg16(info, 140U);
17787# 4074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17788 wr_reg16(info, 140U, (__u16 )((int )tmp___2 & 57343));
17789# 4075 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17790 tmp___3 = rd_reg16(info, 140U);
17791# 4075 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17792 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___3 | 4096U)));
17793# 4077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17794 wr_reg16(info, 142U, (__u16 )4096);
17795 }
17796 }
17797 {
17798# 4080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17799 wr_reg32(info, 156U, (info->tbufs + (unsigned long )info->tbuf_start)->pdesc);
17800# 4081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17801 wr_reg32(info, 148U, 5U);
17802# 4082 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17803 info->tx_active = (bool )1;
17804 }
17805 } else {
17806
17807 }
17808# 4084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17809 return;
17810}
17811}
17812# 4086 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17813static void tx_stop(struct slgt_info *info )
17814{ unsigned short val ;
17815 __u16 tmp ;
17816 __u16 tmp___0 ;
17817
17818 {
17819 {
17820# 4090 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17821 del_timer(& info->tx_timer);
17822# 4092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17823 tdma_reset(info);
17824# 4095 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17825 tmp = rd_reg16(info, 130U);
17826# 4095 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17827 val = (unsigned short )((unsigned int )tmp & 65533U);
17828# 4096 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17829 wr_reg16(info, 130U, (__u16 )((int )((unsigned int )val | 4U)));
17830# 4098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17831 tmp___0 = rd_reg16(info, 140U);
17832# 4098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17833 wr_reg16(info, 140U, (__u16 )((int )tmp___0 & 51199));
17834# 4101 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17835 wr_reg16(info, 142U, (__u16 )6144);
17836# 4103 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17837 reset_tbufs(info);
17838# 4105 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17839 info->tx_enabled = (bool )0;
17840# 4106 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17841 info->tx_active = (bool )0;
17842 }
17843# 4107 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17844 return;
17845}
17846}
17847# 4109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17848static void reset_port(struct slgt_info *info )
17849{ __u16 tmp ;
17850
17851 {
17852# 4111 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17853 if ((unsigned long )info->reg_addr == (unsigned long )((unsigned char *)0)) {
17854# 4112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17855 return;
17856 } else {
17857
17858 }
17859 {
17860# 4114 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17861 tx_stop(info);
17862# 4115 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17863 rx_stop(info);
17864# 4117 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17865 info->signals = (unsigned char )((unsigned int )info->signals & 95U);
17866# 4118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17867 set_signals(info);
17868# 4120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17869 tmp = rd_reg16(info, 140U);
17870# 4120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17871 wr_reg16(info, 140U, (__u16 )((int )tmp & 49166));
17872 }
17873# 4121 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17874 return;
17875}
17876}
17877# 4123 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17878static void reset_adapter(struct slgt_info *info )
17879{ int i ;
17880
17881 {
17882# 4126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17883 i = 0;
17884# 4126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17885 goto ldv_37653;
17886 ldv_37652: ;
17887# 4127 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17888 if ((unsigned long )info->port_array[i] != (unsigned long )((struct slgt_info *)0)) {
17889 {
17890# 4128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17891 reset_port(info->port_array[i]);
17892 }
17893 } else {
17894
17895 }
17896# 4126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17897 i = i + 1;
17898 ldv_37653: ;
17899# 4126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17900 if (info->port_count > i) {
17901# 4127 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17902 goto ldv_37652;
17903 } else {
17904# 4129 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17905 goto ldv_37654;
17906 }
17907 ldv_37654: ;
17908# 4131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17909 return;
17910}
17911}
17912# 4132 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17913static void async_mode(struct slgt_info *info )
17914{ unsigned short val ;
17915 __u16 tmp ;
17916 __u32 tmp___0 ;
17917 __u16 tmp___1 ;
17918
17919 {
17920 {
17921# 4136 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17922 tmp = rd_reg16(info, 140U);
17923# 4136 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17924 wr_reg16(info, 140U, (__u16 )((int )tmp & 49166));
17925# 4137 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17926 tx_stop(info);
17927# 4138 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17928 rx_stop(info);
17929# 4158 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17930 val = (unsigned short)16384;
17931 }
17932# 4160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17933 if ((info->if_mode & 16U) != 0U) {
17934# 4161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17935 val = (unsigned short )((unsigned int )val | 128U);
17936 } else {
17937
17938 }
17939# 4163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17940 if ((unsigned int )info->params.parity != 0U) {
17941# 4164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17942 val = (unsigned short )((unsigned int )val | 512U);
17943# 4165 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17944 if ((unsigned int )info->params.parity == 2U) {
17945# 4166 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17946 val = (unsigned short )((unsigned int )val | 256U);
17947 } else {
17948
17949 }
17950 } else {
17951
17952 }
17953# 4171 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17954 if ((int )info->params.data_bits == 6) {
17955# 4171 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17956 goto case_6;
17957 } else
17958# 4172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17959 if ((int )info->params.data_bits == 7) {
17960# 4172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17961 goto case_7;
17962 } else
17963# 4173 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17964 if ((int )info->params.data_bits == 8) {
17965# 4173 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17966 goto case_8;
17967 } else
17968# 4169 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17969 if (0) {
17970 case_6:
17971# 4171 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17972 val = (unsigned short )((unsigned int )val | 16U);
17973# 4171 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17974 goto ldv_37660;
17975 case_7:
17976# 4172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17977 val = (unsigned short )((unsigned int )val | 32U);
17978# 4172 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17979 goto ldv_37660;
17980 case_8:
17981# 4173 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17982 val = (unsigned short )((unsigned int )val | 48U);
17983# 4173 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17984 goto ldv_37660;
17985 } else {
17986
17987 }
17988 ldv_37660: ;
17989# 4176 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17990 if ((unsigned int )info->params.stop_bits != 1U) {
17991# 4177 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17992 val = (unsigned short )((unsigned int )val | 8U);
17993 } else {
17994
17995 }
17996# 4179 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17997 if (((int )info->params.flags & 32) != 0) {
17998# 4180 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
17999 val = (unsigned short )((unsigned int )val | 1U);
18000 } else {
18001
18002 }
18003 {
18004# 4182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18005 wr_reg16(info, 130U, (__u16 )((int )val));
18006# 4201 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18007 val = (unsigned short)16384;
18008 }
18009# 4203 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18010 if ((unsigned int )info->params.parity != 0U) {
18011# 4204 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18012 val = (unsigned short )((unsigned int )val | 512U);
18013# 4205 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18014 if ((unsigned int )info->params.parity == 2U) {
18015# 4206 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18016 val = (unsigned short )((unsigned int )val | 256U);
18017 } else {
18018
18019 }
18020 } else {
18021
18022 }
18023# 4211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18024 if ((int )info->params.data_bits == 6) {
18025# 4211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18026 goto case_6___0;
18027 } else
18028# 4212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18029 if ((int )info->params.data_bits == 7) {
18030# 4212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18031 goto case_7___0;
18032 } else
18033# 4213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18034 if ((int )info->params.data_bits == 8) {
18035# 4213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18036 goto case_8___0;
18037 } else
18038# 4209 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18039 if (0) {
18040 case_6___0:
18041# 4211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18042 val = (unsigned short )((unsigned int )val | 16U);
18043# 4211 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18044 goto ldv_37664;
18045 case_7___0:
18046# 4212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18047 val = (unsigned short )((unsigned int )val | 32U);
18048# 4212 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18049 goto ldv_37664;
18050 case_8___0:
18051# 4213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18052 val = (unsigned short )((unsigned int )val | 48U);
18053# 4213 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18054 goto ldv_37664;
18055 } else {
18056
18057 }
18058 ldv_37664: ;
18059# 4216 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18060 if (((int )info->params.flags & 64) != 0) {
18061# 4217 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18062 val = (unsigned short )((unsigned int )val | 1U);
18063 } else {
18064
18065 }
18066 {
18067# 4219 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18068 wr_reg16(info, 134U, (__u16 )((int )val));
18069# 4230 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18070 wr_reg8(info, 137U, (__u8 )105);
18071# 4232 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18072 msc_set_vcr(info);
18073# 4253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18074 val = (unsigned short)49153;
18075# 4255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18076 tmp___0 = rd_reg32(info, 4U);
18077 }
18078# 4255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18079 if ((tmp___0 & 256U) != 0U) {
18080# 4255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18081 if (info->params.data_rate != 0UL) {
18082# 4255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18083 if ((unsigned long )info->base_clock < info->params.data_rate * 16UL) {
18084 {
18085# 4259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18086 val = (unsigned short )((unsigned int )val | 8U);
18087# 4260 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18088 set_rate(info, (u32 )info->params.data_rate * 8U);
18089 }
18090 } else
18091# 4255 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18092 if ((unsigned long )info->base_clock % (info->params.data_rate * 16UL) != 0UL) {
18093 {
18094# 4259 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18095 val = (unsigned short )((unsigned int )val | 8U);
18096# 4260 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18097 set_rate(info, (u32 )info->params.data_rate * 8U);
18098 }
18099 } else {
18100 {
18101# 4263 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18102 set_rate(info, (u32 )info->params.data_rate * 16U);
18103 }
18104 }
18105 } else {
18106 {
18107# 4263 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18108 set_rate(info, (u32 )info->params.data_rate * 16U);
18109 }
18110 }
18111 } else {
18112 {
18113# 4263 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18114 set_rate(info, (u32 )info->params.data_rate * 16U);
18115 }
18116 }
18117 {
18118# 4265 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18119 wr_reg16(info, 140U, (__u16 )((int )val));
18120# 4267 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18121 tmp___1 = rd_reg16(info, 140U);
18122# 4267 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18123 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___1 | 768U)));
18124 }
18125# 4269 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18126 if ((unsigned int )info->params.loopback != 0U) {
18127 {
18128# 4270 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18129 enable_loopback(info);
18130 }
18131 } else {
18132
18133 }
18134# 4271 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18135 return;
18136}
18137}
18138# 4273 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18139static void sync_mode(struct slgt_info *info )
18140{ unsigned short val ;
18141 __u16 tmp ;
18142 __u16 tmp___0 ;
18143
18144 {
18145 {
18146# 4277 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18147 tmp = rd_reg16(info, 140U);
18148# 4277 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18149 wr_reg16(info, 140U, (__u16 )((int )tmp & 49166));
18150# 4278 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18151 tx_stop(info);
18152# 4279 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18153 rx_stop(info);
18154# 4301 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18155 val = (unsigned short)4;
18156 }
18157# 4304 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18158 if ((int )info->params.mode == 8) {
18159# 4304 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18160 goto case_8;
18161 } else
18162# 4307 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18163 if ((int )info->params.mode == 3) {
18164# 4307 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18165 goto case_3;
18166 } else
18167# 4308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18168 if ((int )info->params.mode == 4) {
18169# 4308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18170 goto case_4;
18171 } else
18172# 4309 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18173 if ((int )info->params.mode == 6) {
18174# 4309 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18175 goto case_6;
18176 } else
18177# 4303 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18178 if (0) {
18179 case_8:
18180# 4305 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18181 val = (unsigned short )((unsigned int )val | 40960U);
18182# 4306 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18183 goto ldv_37672;
18184 case_3:
18185# 4307 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18186 val = (unsigned short )((unsigned int )val | 24576U);
18187# 4307 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18188 goto ldv_37672;
18189 case_4:
18190# 4308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18191 val = (unsigned short )((unsigned int )val | 32768U);
18192# 4308 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18193 goto ldv_37672;
18194 case_6:
18195# 4309 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18196 val = (unsigned short )((unsigned int )val | 8192U);
18197# 4309 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18198 goto ldv_37672;
18199 } else {
18200
18201 }
18202 ldv_37672: ;
18203# 4311 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18204 if ((info->if_mode & 16U) != 0U) {
18205# 4312 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18206 val = (unsigned short )((unsigned int )val | 128U);
18207 } else {
18208
18209 }
18210# 4316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18211 if ((int )info->params.encoding == 1) {
18212# 4316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18213 goto case_1;
18214 } else
18215# 4317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18216 if ((int )info->params.encoding == 2) {
18217# 4317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18218 goto case_2;
18219 } else
18220# 4318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18221 if ((int )info->params.encoding == 3) {
18222# 4318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18223 goto case_3___0;
18224 } else
18225# 4319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18226 if ((int )info->params.encoding == 4) {
18227# 4319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18228 goto case_4___0;
18229 } else
18230# 4320 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18231 if ((int )info->params.encoding == 5) {
18232# 4320 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18233 goto case_5;
18234 } else
18235# 4321 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18236 if ((int )info->params.encoding == 6) {
18237# 4321 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18238 goto case_6___0;
18239 } else
18240# 4322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18241 if ((int )info->params.encoding == 7) {
18242# 4322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18243 goto case_7;
18244 } else
18245# 4314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18246 if (0) {
18247 case_1:
18248# 4316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18249 val = (unsigned short )((unsigned int )val | 1024U);
18250# 4316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18251 goto ldv_37677;
18252 case_2:
18253# 4317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18254 val = (unsigned short )((unsigned int )val | 2048U);
18255# 4317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18256 goto ldv_37677;
18257 case_3___0:
18258# 4318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18259 val = (unsigned short )((unsigned int )val | 3072U);
18260# 4318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18261 goto ldv_37677;
18262 case_4___0:
18263# 4319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18264 val = (unsigned short )((unsigned int )val | 4096U);
18265# 4319 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18266 goto ldv_37677;
18267 case_5:
18268# 4320 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18269 val = (unsigned short )((unsigned int )val | 5120U);
18270# 4320 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18271 goto ldv_37677;
18272 case_6___0:
18273# 4321 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18274 val = (unsigned short )((unsigned int )val | 6144U);
18275# 4321 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18276 goto ldv_37677;
18277 case_7:
18278# 4322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18279 val = (unsigned short )((unsigned int )val | 7168U);
18280# 4322 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18281 goto ldv_37677;
18282 } else {
18283
18284 }
18285 ldv_37677: ;
18286# 4327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18287 if (((int )info->params.crc_type & 255) == 1) {
18288# 4327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18289 goto case_1___0;
18290 } else
18291# 4328 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18292 if (((int )info->params.crc_type & 255) == 2) {
18293# 4328 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18294 goto case_2___0;
18295 } else
18296# 4325 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18297 if (0) {
18298 case_1___0:
18299# 4327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18300 val = (unsigned short )((unsigned int )val | 512U);
18301# 4327 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18302 goto ldv_37685;
18303 case_2___0:
18304# 4328 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18305 val = (unsigned short )((unsigned int )val | 768U);
18306# 4328 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18307 goto ldv_37685;
18308 } else {
18309
18310 }
18311 ldv_37685: ;
18312# 4331 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18313 if ((unsigned int )info->params.preamble != 0U) {
18314# 4332 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18315 val = (unsigned short )((unsigned int )val | 64U);
18316 } else {
18317
18318 }
18319# 4336 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18320 if ((int )info->params.preamble_length == 1) {
18321# 4336 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18322 goto case_1___1;
18323 } else
18324# 4337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18325 if ((int )info->params.preamble_length == 2) {
18326# 4337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18327 goto case_2___1;
18328 } else
18329# 4338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18330 if ((int )info->params.preamble_length == 3) {
18331# 4338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18332 goto case_3___1;
18333 } else
18334# 4334 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18335 if (0) {
18336 case_1___1:
18337# 4336 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18338 val = (unsigned short )((unsigned int )val | 32U);
18339# 4336 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18340 goto ldv_37688;
18341 case_2___1:
18342# 4337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18343 val = (unsigned short )((unsigned int )val | 16U);
18344# 4337 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18345 goto ldv_37688;
18346 case_3___1:
18347# 4338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18348 val = (unsigned short )((unsigned int )val | 48U);
18349# 4338 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18350 goto ldv_37688;
18351 } else {
18352
18353 }
18354 ldv_37688: ;
18355# 4341 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18356 if (((int )info->params.flags & 32) != 0) {
18357# 4342 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18358 val = (unsigned short )((unsigned int )val | 1U);
18359 } else {
18360
18361 }
18362 {
18363# 4344 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18364 wr_reg16(info, 130U, (__u16 )((int )val));
18365 }
18366# 4350 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18367 if ((int )info->params.preamble == 2) {
18368# 4350 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18369 goto case_2___2;
18370 } else
18371# 4351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18372 if ((int )info->params.preamble == 5) {
18373# 4351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18374 goto case_5___0;
18375 } else
18376# 4352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18377 if ((int )info->params.preamble == 1) {
18378# 4352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18379 goto case_1___2;
18380 } else
18381# 4353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18382 if ((int )info->params.preamble == 3) {
18383# 4353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18384 goto case_3___2;
18385 } else
18386# 4354 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18387 if ((int )info->params.preamble == 4) {
18388# 4354 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18389 goto case_4___1;
18390 } else {
18391# 4355 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18392 goto switch_default;
18393# 4348 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18394 if (0) {
18395 case_2___2:
18396# 4350 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18397 val = (unsigned short)126;
18398# 4350 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18399 goto ldv_37692;
18400 case_5___0:
18401# 4351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18402 val = (unsigned short)255;
18403# 4351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18404 goto ldv_37692;
18405 case_1___2:
18406# 4352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18407 val = (unsigned short)0;
18408# 4352 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18409 goto ldv_37692;
18410 case_3___2:
18411# 4353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18412 val = (unsigned short)85;
18413# 4353 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18414 goto ldv_37692;
18415 case_4___1:
18416# 4354 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18417 val = (unsigned short)170;
18418# 4354 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18419 goto ldv_37692;
18420 switch_default:
18421# 4355 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18422 val = (unsigned short)126;
18423# 4355 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18424 goto ldv_37692;
18425 } else {
18426
18427 }
18428 }
18429 ldv_37692:
18430 {
18431# 4357 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18432 wr_reg8(info, 133U, (__u8 )((int )((unsigned char )val)));
18433# 4376 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18434 val = (unsigned short)0;
18435 }
18436# 4379 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18437 if ((int )info->params.mode == 8) {
18438# 4379 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18439 goto case_8___0;
18440 } else
18441# 4382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18442 if ((int )info->params.mode == 3) {
18443# 4382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18444 goto case_3___3;
18445 } else
18446# 4383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18447 if ((int )info->params.mode == 4) {
18448# 4383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18449 goto case_4___2;
18450 } else
18451# 4384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18452 if ((int )info->params.mode == 6) {
18453# 4384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18454 goto case_6___1;
18455 } else
18456# 4378 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18457 if (0) {
18458 case_8___0:
18459# 4380 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18460 val = (unsigned short )((unsigned int )val | 40960U);
18461# 4381 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18462 goto ldv_37699;
18463 case_3___3:
18464# 4382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18465 val = (unsigned short )((unsigned int )val | 24576U);
18466# 4382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18467 goto ldv_37699;
18468 case_4___2:
18469# 4383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18470 val = (unsigned short )((unsigned int )val | 32768U);
18471# 4383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18472 goto ldv_37699;
18473 case_6___1:
18474# 4384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18475 val = (unsigned short )((unsigned int )val | 8192U);
18476# 4384 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18477 goto ldv_37699;
18478 } else {
18479
18480 }
18481 ldv_37699: ;
18482# 4389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18483 if ((int )info->params.encoding == 1) {
18484# 4389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18485 goto case_1___3;
18486 } else
18487# 4390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18488 if ((int )info->params.encoding == 2) {
18489# 4390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18490 goto case_2___3;
18491 } else
18492# 4391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18493 if ((int )info->params.encoding == 3) {
18494# 4391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18495 goto case_3___4;
18496 } else
18497# 4392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18498 if ((int )info->params.encoding == 4) {
18499# 4392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18500 goto case_4___3;
18501 } else
18502# 4393 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18503 if ((int )info->params.encoding == 5) {
18504# 4393 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18505 goto case_5___1;
18506 } else
18507# 4394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18508 if ((int )info->params.encoding == 6) {
18509# 4394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18510 goto case_6___2;
18511 } else
18512# 4395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18513 if ((int )info->params.encoding == 7) {
18514# 4395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18515 goto case_7___0;
18516 } else
18517# 4387 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18518 if (0) {
18519 case_1___3:
18520# 4389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18521 val = (unsigned short )((unsigned int )val | 1024U);
18522# 4389 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18523 goto ldv_37704;
18524 case_2___3:
18525# 4390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18526 val = (unsigned short )((unsigned int )val | 2048U);
18527# 4390 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18528 goto ldv_37704;
18529 case_3___4:
18530# 4391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18531 val = (unsigned short )((unsigned int )val | 3072U);
18532# 4391 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18533 goto ldv_37704;
18534 case_4___3:
18535# 4392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18536 val = (unsigned short )((unsigned int )val | 4096U);
18537# 4392 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18538 goto ldv_37704;
18539 case_5___1:
18540# 4393 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18541 val = (unsigned short )((unsigned int )val | 5120U);
18542# 4393 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18543 goto ldv_37704;
18544 case_6___2:
18545# 4394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18546 val = (unsigned short )((unsigned int )val | 6144U);
18547# 4394 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18548 goto ldv_37704;
18549 case_7___0:
18550# 4395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18551 val = (unsigned short )((unsigned int )val | 7168U);
18552# 4395 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18553 goto ldv_37704;
18554 } else {
18555
18556 }
18557 ldv_37704: ;
18558# 4400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18559 if (((int )info->params.crc_type & 255) == 1) {
18560# 4400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18561 goto case_1___4;
18562 } else
18563# 4401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18564 if (((int )info->params.crc_type & 255) == 2) {
18565# 4401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18566 goto case_2___4;
18567 } else
18568# 4398 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18569 if (0) {
18570 case_1___4:
18571# 4400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18572 val = (unsigned short )((unsigned int )val | 512U);
18573# 4400 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18574 goto ldv_37712;
18575 case_2___4:
18576# 4401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18577 val = (unsigned short )((unsigned int )val | 768U);
18578# 4401 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18579 goto ldv_37712;
18580 } else {
18581
18582 }
18583 ldv_37712: ;
18584# 4404 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18585 if (((int )info->params.flags & 64) != 0) {
18586# 4405 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18587 val = (unsigned short )((unsigned int )val | 1U);
18588 } else {
18589
18590 }
18591 {
18592# 4407 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18593 wr_reg16(info, 134U, (__u16 )((int )val));
18594# 4416 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18595 val = (unsigned short)0;
18596 }
18597# 4418 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18598 if (((int )info->params.flags & 2048) != 0) {
18599# 4423 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18600 if (((int )info->params.flags & 256) != 0) {
18601# 4424 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18602 val = (unsigned short )((unsigned int )val | 96U);
18603 } else {
18604# 4426 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18605 val = (unsigned short )((unsigned int )val | 64U);
18606 }
18607 } else
18608# 4428 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18609 if (((int )info->params.flags & 1024) != 0) {
18610# 4429 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18611 val = (unsigned short )((unsigned int )val | 128U);
18612 } else
18613# 4430 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18614 if (((int )info->params.flags & 8) != 0) {
18615# 4431 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18616 val = (unsigned short )((unsigned int )val | 32U);
18617 } else {
18618
18619 }
18620# 4433 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18621 if (((int )info->params.flags & 512) != 0) {
18622# 4434 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18623 val = (unsigned short )((unsigned int )val | 8U);
18624 } else
18625# 4435 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18626 if (((int )info->params.flags & 256) != 0) {
18627# 4436 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18628 val = (unsigned short )((unsigned int )val | 16U);
18629 } else
18630# 4437 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18631 if ((int )((short )info->params.flags) < 0) {
18632# 4438 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18633 val = (unsigned short )((unsigned int )val | 4U);
18634 } else {
18635
18636 }
18637# 4440 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18638 if (info->params.clock_speed != 0UL) {
18639# 4441 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18640 val = (unsigned short )((unsigned int )val | 3U);
18641 } else {
18642
18643 }
18644 {
18645# 4443 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18646 wr_reg8(info, 137U, (__u8 )((int )((unsigned char )val)));
18647 }
18648# 4445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18649 if (((int )info->params.flags & 1280) != 0) {
18650# 4450 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18651 if ((int )info->params.encoding == 4) {
18652# 4450 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18653 goto case_4___4;
18654 } else
18655# 4451 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18656 if ((int )info->params.encoding == 5) {
18657# 4451 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18658 goto case_5___2;
18659 } else
18660# 4453 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18661 if ((int )info->params.encoding == 6) {
18662# 4453 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18663 goto case_6___3;
18664 } else
18665# 4454 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18666 if ((int )info->params.encoding == 7) {
18667# 4454 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18668 goto case_7___1;
18669 } else {
18670# 4456 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18671 goto switch_default___0;
18672# 4448 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18673 if (0) {
18674 case_4___4: ;
18675 case_5___2:
18676# 4452 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18677 val = (unsigned short)128;
18678# 4452 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18679 goto ldv_37716;
18680 case_6___3: ;
18681 case_7___1:
18682# 4455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18683 val = (unsigned short)192;
18684# 4455 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18685 goto ldv_37716;
18686 switch_default___0:
18687# 4456 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18688 val = (unsigned short)64;
18689 } else {
18690
18691 }
18692 }
18693 ldv_37716:
18694 {
18695# 4458 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18696 tmp___0 = rd_reg16(info, 134U);
18697# 4458 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18698 wr_reg16(info, 134U, (__u16 )((int )tmp___0 | (int )val));
18699# 4461 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18700 set_rate(info, (u32 )info->params.clock_speed * 16U);
18701 }
18702 } else {
18703 {
18704# 4464 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18705 set_rate(info, (u32 )info->params.clock_speed);
18706 }
18707 }
18708 {
18709# 4466 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18710 tx_set_idle(info);
18711# 4468 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18712 msc_set_vcr(info);
18713# 4489 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18714 wr_reg16(info, 140U, (__u16 )49153);
18715 }
18716# 4491 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18717 if ((unsigned int )info->params.loopback != 0U) {
18718 {
18719# 4492 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18720 enable_loopback(info);
18721 }
18722 } else {
18723
18724 }
18725# 4493 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18726 return;
18727}
18728}
18729# 4498 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18730static void tx_set_idle(struct slgt_info *info )
18731{ unsigned char val ;
18732 unsigned short tcr ;
18733
18734 {
18735 {
18736# 4506 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18737 tcr = rd_reg16(info, 130U);
18738 }
18739# 4507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18740 if ((info->idle_mode & 536870912U) != 0U) {
18741 {
18742# 4509 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18743 tcr = (unsigned short )(((int )((short )tcr) & -113) | 16);
18744# 4511 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18745 wr_reg8(info, 133U, (__u8 )((int )((unsigned char )(info->idle_mode >> 8))));
18746 }
18747 } else
18748# 4512 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18749 if (((int )tcr & 64) == 0) {
18750# 4514 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18751 tcr = (unsigned short )((unsigned int )tcr & 65487U);
18752 } else {
18753
18754 }
18755 {
18756# 4516 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18757 wr_reg16(info, 130U, (__u16 )((int )tcr));
18758 }
18759# 4518 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18760 if ((info->idle_mode & 805306368U) != 0U) {
18761# 4520 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18762 val = (unsigned char )info->idle_mode;
18763 } else {
18764# 4525 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18765 if ((int )info->idle_mode == 0) {
18766# 4525 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18767 goto case_0;
18768 } else
18769# 4526 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18770 if ((int )info->idle_mode == 1) {
18771# 4526 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18772 goto case_1;
18773 } else
18774# 4527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18775 if ((int )info->idle_mode == 4) {
18776# 4527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18777 goto case_4;
18778 } else
18779# 4528 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18780 if ((int )info->idle_mode == 2) {
18781# 4528 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18782 goto case_2;
18783 } else
18784# 4529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18785 if ((int )info->idle_mode == 5) {
18786# 4529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18787 goto case_5;
18788 } else {
18789# 4530 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18790 goto switch_default;
18791# 4523 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18792 if (0) {
18793 case_0:
18794# 4525 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18795 val = (unsigned char)126;
18796# 4525 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18797 goto ldv_37726;
18798 case_1: ;
18799 case_4:
18800# 4527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18801 val = (unsigned char)170;
18802# 4527 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18803 goto ldv_37726;
18804 case_2: ;
18805 case_5:
18806# 4529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18807 val = (unsigned char)0;
18808# 4529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18809 goto ldv_37726;
18810 switch_default:
18811# 4530 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18812 val = (unsigned char)255;
18813 } else {
18814
18815 }
18816 }
18817 ldv_37726: ;
18818 }
18819 {
18820# 4534 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18821 wr_reg8(info, 132U, (__u8 )((int )val));
18822 }
18823# 4535 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18824 return;
18825}
18826}
18827# 4540 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18828static void get_signals(struct slgt_info *info )
18829{ unsigned short status ;
18830 __u16 tmp ;
18831
18832 {
18833 {
18834# 4542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18835 tmp = rd_reg16(info, 142U);
18836# 4542 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18837 status = tmp;
18838# 4545 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18839 info->signals = (unsigned char )((unsigned int )info->signals & 160U);
18840 }
18841# 4547 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18842 if (((int )status & 8) != 0) {
18843# 4548 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18844 info->signals = (unsigned char )((unsigned int )info->signals | 64U);
18845 } else {
18846
18847 }
18848# 4549 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18849 if (((int )status & 4) != 0) {
18850# 4550 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18851 info->signals = (unsigned char )((unsigned int )info->signals | 16U);
18852 } else {
18853
18854 }
18855# 4551 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18856 if (((int )status & 2) != 0) {
18857# 4552 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18858 info->signals = (unsigned char )((unsigned int )info->signals | 1U);
18859 } else {
18860
18861 }
18862# 4553 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18863 if ((int )status & 1) {
18864# 4554 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18865 info->signals = (unsigned char )((unsigned int )info->signals | 4U);
18866 } else {
18867
18868 }
18869# 4555 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18870 return;
18871}
18872}
18873# 4560 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18874static void msc_set_vcr(struct slgt_info *info )
18875{ unsigned char val ;
18876
18877 {
18878# 4562 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18879 val = (unsigned char)0;
18880# 4575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18881 if ((int )(info->if_mode & 15U) == 1) {
18882# 4575 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18883 goto case_1;
18884 } else
18885# 4578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18886 if ((int )(info->if_mode & 15U) == 2) {
18887# 4578 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18888 goto case_2;
18889 } else
18890# 4581 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18891 if ((int )(info->if_mode & 15U) == 3) {
18892# 4581 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18893 goto case_3;
18894 } else
18895# 4573 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18896 if (0) {
18897 case_1:
18898# 4576 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18899 val = (unsigned char )((unsigned int )val | 32U);
18900# 4577 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18901 goto ldv_37741;
18902 case_2:
18903# 4579 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18904 val = (unsigned char )((unsigned int )val | 224U);
18905# 4580 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18906 goto ldv_37741;
18907 case_3:
18908# 4582 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18909 val = (unsigned char )((unsigned int )val | 64U);
18910# 4583 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18911 goto ldv_37741;
18912 } else {
18913
18914 }
18915 ldv_37741: ;
18916# 4586 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18917 if ((info->if_mode & 128U) != 0U) {
18918# 4587 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18919 val = (unsigned char )((unsigned int )val | 16U);
18920 } else {
18921
18922 }
18923# 4588 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18924 if ((int )((signed char )info->signals) < 0) {
18925# 4589 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18926 val = (unsigned char )((unsigned int )val | 8U);
18927 } else {
18928
18929 }
18930# 4590 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18931 if (((int )info->signals & 32) != 0) {
18932# 4591 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18933 val = (unsigned char )((unsigned int )val | 4U);
18934 } else {
18935
18936 }
18937# 4592 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18938 if ((info->if_mode & 32U) != 0U) {
18939# 4593 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18940 val = (unsigned char )((unsigned int )val | 2U);
18941 } else {
18942
18943 }
18944# 4594 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18945 if ((info->if_mode & 64U) != 0U) {
18946# 4595 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18947 val = (unsigned char )((unsigned int )val | 1U);
18948 } else {
18949
18950 }
18951 {
18952# 4596 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18953 wr_reg8(info, 136U, (__u8 )((int )val));
18954 }
18955# 4597 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18956 return;
18957}
18958}
18959# 4602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18960static void set_signals(struct slgt_info *info )
18961{ unsigned char val ;
18962 __u8 tmp ;
18963
18964 {
18965 {
18966# 4604 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18967 tmp = rd_reg8(info, 136U);
18968# 4604 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18969 val = tmp;
18970 }
18971# 4605 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18972 if ((int )((signed char )info->signals) < 0) {
18973# 4606 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18974 val = (unsigned char )((unsigned int )val | 8U);
18975 } else {
18976# 4608 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18977 val = (unsigned char )((unsigned int )val & 247U);
18978 }
18979# 4609 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18980 if (((int )info->signals & 32) != 0) {
18981# 4610 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18982 val = (unsigned char )((unsigned int )val | 4U);
18983 } else {
18984# 4612 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18985 val = (unsigned char )((unsigned int )val & 251U);
18986 }
18987 {
18988# 4613 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18989 wr_reg8(info, 136U, (__u8 )((int )val));
18990 }
18991# 4614 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18992 return;
18993}
18994}
18995# 4619 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
18996static void free_rbufs(struct slgt_info *info , unsigned int i , unsigned int last )
18997{ int done ;
18998
18999 {
19000# 4621 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19001 done = 0;
19002# 4623 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19003 goto ldv_37755;
19004 ldv_37754:
19005# 4625 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19006 (info->rbufs + (unsigned long )i)->status = (__le16 )0U;
19007# 4626 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19008 (info->rbufs + (unsigned long )i)->count = (unsigned short )info->rbuf_fill_level;
19009# 4627 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19010 if (i == last) {
19011# 4628 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19012 done = 1;
19013 } else {
19014
19015 }
19016# 4629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19017 i = i + 1U;
19018# 4629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19019 if (i == info->rbuf_count) {
19020# 4630 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19021 i = 0U;
19022 } else {
19023
19024 }
19025 ldv_37755: ;
19026# 4623 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19027 if (done == 0) {
19028# 4624 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19029 goto ldv_37754;
19030 } else {
19031# 4626 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19032 goto ldv_37756;
19033 }
19034 ldv_37756:
19035# 4632 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19036 info->rbuf_current = i;
19037# 4633 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19038 return;
19039}
19040}
19041# 4638 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19042static void reset_rbufs(struct slgt_info *info )
19043{
19044
19045 {
19046 {
19047# 4640 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19048 free_rbufs(info, 0U, info->rbuf_count - 1U);
19049# 4641 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19050 info->rbuf_fill_index = 0U;
19051# 4642 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19052 info->rbuf_fill_count = (unsigned short)0;
19053 }
19054# 4643 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19055 return;
19056}
19057}
19058# 4650 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19059static bool rx_get_frame(struct slgt_info *info )
19060{ unsigned int start ;
19061 unsigned int end ;
19062 unsigned short status ;
19063 unsigned int framesize ;
19064 unsigned long flags ;
19065 struct tty_struct *tty ;
19066 unsigned char addr_field ;
19067 unsigned int crc_size ;
19068 raw_spinlock_t *tmp ;
19069 int __min1 ;
19070 int __min2 ;
19071 int tmp___0 ;
19072 int copy_count ;
19073 int i ;
19074 unsigned char *p ;
19075 int partial_count ;
19076 int __min1___0 ;
19077 int __min2___0 ;
19078 int tmp___1 ;
19079 size_t __len ;
19080 void *__ret ;
19081
19082 {
19083# 4654 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19084 framesize = 0U;
19085# 4656 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19086 tty = info->port.tty;
19087# 4657 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19088 addr_field = (unsigned char)255;
19089# 4658 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19090 crc_size = 0U;
19091# 4661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19092 if (((int )info->params.crc_type & 255) == 1) {
19093# 4661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19094 goto case_1;
19095 } else
19096# 4662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19097 if (((int )info->params.crc_type & 255) == 2) {
19098# 4662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19099 goto case_2;
19100 } else
19101# 4660 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19102 if (0) {
19103 case_1:
19104# 4661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19105 crc_size = 2U;
19106# 4661 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19107 goto ldv_37772;
19108 case_2:
19109# 4662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19110 crc_size = 4U;
19111# 4662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19112 goto ldv_37772;
19113 } else {
19114
19115 }
19116 ldv_37772: ;
19117 check_again:
19118# 4667 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19119 framesize = 0U;
19120# 4668 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19121 addr_field = (unsigned char)255;
19122# 4669 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19123 end = info->rbuf_current;
19124# 4669 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19125 start = end;
19126 ldv_37780: ;
19127# 4672 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19128 if ((int )((short )(info->rbufs + (unsigned long )end)->status) >= 0) {
19129# 4673 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19130 goto cleanup;
19131 } else {
19132
19133 }
19134# 4675 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19135 if (framesize == 0U) {
19136# 4675 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19137 if ((unsigned int )info->params.addr_filter != 255U) {
19138# 4676 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19139 addr_field = (unsigned char )*((info->rbufs + (unsigned long )end)->buf);
19140 } else {
19141
19142 }
19143 } else {
19144
19145 }
19146# 4678 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19147 framesize = (unsigned int )(info->rbufs + (unsigned long )end)->count + framesize;
19148# 4680 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19149 if (((int )(info->rbufs + (unsigned long )end)->status & 4) != 0) {
19150# 4681 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19151 goto ldv_37776;
19152 } else {
19153
19154 }
19155# 4683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19156 end = end + 1U;
19157# 4683 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19158 if (end == info->rbuf_count) {
19159# 4684 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19160 end = 0U;
19161 } else {
19162
19163 }
19164# 4686 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19165 if (info->rbuf_current == end) {
19166# 4687 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19167 if ((int )info->rx_enabled) {
19168 {
19169# 4688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19170 tmp = spinlock_check(& info->lock);
19171# 4688 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19172 flags = _raw_spin_lock_irqsave(tmp);
19173# 4689 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19174 rx_start(info);
19175# 4690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19176 spin_unlock_irqrestore(& info->lock, flags);
19177 }
19178 } else {
19179
19180 }
19181# 4692 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19182 goto cleanup;
19183 } else {
19184
19185 }
19186# 4694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19187 goto ldv_37780;
19188 ldv_37776:
19189# 4705 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19190 status = (info->rbufs + (unsigned long )end)->status;
19191# 4708 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19192 if (((int )info->params.crc_type & 255) == 0) {
19193# 4709 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19194 status = (unsigned short )((unsigned int )status & 65533U);
19195 } else {
19196
19197 }
19198# 4711 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19199 if (framesize == 0U) {
19200 {
19201# 4713 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19202 free_rbufs(info, start, end);
19203 }
19204# 4714 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19205 goto check_again;
19206 } else
19207# 4711 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19208 if ((unsigned int )addr_field != 255U) {
19209# 4711 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19210 if ((int )info->params.addr_filter != (int )addr_field) {
19211 {
19212# 4713 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19213 free_rbufs(info, start, end);
19214 }
19215# 4714 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19216 goto check_again;
19217 } else {
19218
19219 }
19220 } else {
19221
19222 }
19223# 4717 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19224 if (crc_size + 2U > framesize) {
19225# 4718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19226 info->icount.rxshort = info->icount.rxshort + 1U;
19227# 4719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19228 framesize = 0U;
19229 } else
19230# 4717 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19231 if ((int )status & 1) {
19232# 4718 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19233 info->icount.rxshort = info->icount.rxshort + 1U;
19234# 4719 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19235 framesize = 0U;
19236 } else
19237# 4720 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19238 if (((int )status & 2) != 0) {
19239# 4721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19240 info->icount.rxcrc = info->icount.rxcrc + 1U;
19241# 4722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19242 if ((int )((short )info->params.crc_type) >= 0) {
19243# 4723 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19244 framesize = 0U;
19245 } else {
19246
19247 }
19248 } else {
19249
19250 }
19251# 4727 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19252 if (framesize == 0U) {
19253# 4728 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19254 (info->netdev)->stats.rx_errors = (info->netdev)->stats.rx_errors + 1UL;
19255# 4729 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19256 (info->netdev)->stats.rx_frame_errors = (info->netdev)->stats.rx_frame_errors + 1UL;
19257 } else {
19258
19259 }
19260# 4733 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19261 if (debug_level > 3) {
19262 {
19263# 4733 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19264 printk("%s rx frame status=%04X size=%d\n", (char *)(& info->device_name), (int )status,
19265 framesize);
19266 }
19267 } else {
19268
19269 }
19270# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19271 if (debug_level > 0) {
19272# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19273 __min1 = (int )framesize;
19274# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19275 __min2 = (int )info->rbuf_fill_level;
19276# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19277 if (__min1 < __min2) {
19278# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19279 tmp___0 = __min1;
19280 } else {
19281# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19282 tmp___0 = __min2;
19283 }
19284 {
19285# 4735 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19286 trace_block(info, (char const *)(info->rbufs + (unsigned long )start)->buf,
19287 tmp___0, "rx");
19288 }
19289 } else {
19290
19291 }
19292# 4737 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19293 if (framesize != 0U) {
19294# 4738 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19295 if ((int )((short )info->params.crc_type) >= 0) {
19296# 4739 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19297 framesize = framesize - crc_size;
19298# 4740 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19299 crc_size = 0U;
19300 } else {
19301
19302 }
19303# 4743 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19304 if (info->max_frame_size + crc_size < framesize) {
19305# 4744 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19306 info->icount.rxlong = info->icount.rxlong + 1U;
19307 } else {
19308# 4747 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19309 copy_count = (int )framesize;
19310# 4748 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19311 i = (int )start;
19312# 4749 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19313 p = info->tmp_rbuf;
19314# 4750 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19315 info->tmp_rbuf_count = framesize;
19316# 4752 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19317 info->icount.rxok = info->icount.rxok + 1U;
19318# 4754 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19319 goto ldv_37795;
19320 ldv_37794:
19321# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19322 __min1___0 = copy_count;
19323# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19324 __min2___0 = (int )info->rbuf_fill_level;
19325# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19326 if (__min1___0 < __min2___0) {
19327# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19328 tmp___1 = __min1___0;
19329 } else {
19330# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19331 tmp___1 = __min2___0;
19332 }
19333 {
19334# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19335 partial_count = tmp___1;
19336# 4756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19337 __len = (size_t )partial_count;
19338# 4756 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19339 __ret = __builtin_memcpy((void *)p, (void const *)(info->rbufs + (unsigned long )i)->buf,
19340 __len);
19341# 4757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19342 p = p + (unsigned long )partial_count;
19343# 4758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19344 copy_count = copy_count - partial_count;
19345# 4759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19346 i = i + 1;
19347 }
19348# 4759 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19349 if ((unsigned int )i == info->rbuf_count) {
19350# 4760 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19351 i = 0;
19352 } else {
19353
19354 }
19355 ldv_37795: ;
19356# 4754 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19357 if (copy_count != 0) {
19358# 4755 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19359 goto ldv_37794;
19360 } else {
19361# 4757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19362 goto ldv_37796;
19363 }
19364 ldv_37796: ;
19365# 4763 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19366 if ((int )((short )info->params.crc_type) < 0) {
19367# 4764 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19368 *p = (unsigned char )(((int )status & 2) != 0);
19369# 4765 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19370 framesize = framesize + 1U;
19371 } else {
19372
19373 }
19374# 4769 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19375 if (info->netcount != 0) {
19376 {
19377# 4770 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19378 hdlcdev_rx(info, (char *)info->tmp_rbuf, (int )framesize);
19379 }
19380 } else {
19381 {
19382# 4773 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19383 ldisc_receive_buf(tty, (__u8 const *)info->tmp_rbuf, (char *)(& info->flag_buf),
19384 (int )framesize);
19385 }
19386 }
19387 }
19388 } else {
19389
19390 }
19391 {
19392# 4776 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19393 free_rbufs(info, start, end);
19394 }
19395# 4777 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19396 return ((bool )1);
19397 cleanup: ;
19398# 4780 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19399 return ((bool )0);
19400}
19401}
19402# 4787 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19403static bool rx_get_buf(struct slgt_info *info )
19404{ unsigned int i ;
19405 unsigned int count ;
19406
19407 {
19408# 4789 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19409 i = info->rbuf_current;
19410# 4792 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19411 if ((int )((short )(info->rbufs + (unsigned long )i)->status) >= 0) {
19412# 4793 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19413 return ((bool )0);
19414 } else {
19415
19416 }
19417# 4794 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19418 count = (unsigned int )(info->rbufs + (unsigned long )i)->count;
19419# 4796 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19420 if ((int )info->params.mode == 3) {
19421# 4796 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19422 goto case_3;
19423 } else
19424# 4797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19425 if ((int )info->params.mode == 4) {
19426# 4797 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19427 goto case_4;
19428 } else
19429# 4798 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19430 if ((int )info->params.mode == 8) {
19431# 4798 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19432 goto case_8;
19433 } else
19434# 4795 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19435 if (0) {
19436 case_3: ;
19437 case_4: ;
19438 case_8: ;
19439# 4800 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19440 if (((int )(info->rbufs + (unsigned long )i)->status & 56) >> 3 != 0) {
19441# 4801 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19442 count = count - 1U;
19443 } else {
19444
19445 }
19446# 4802 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19447 goto ldv_37805;
19448 } else {
19449
19450 }
19451 ldv_37805: ;
19452# 4804 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19453 if (debug_level > 0) {
19454 {
19455# 4804 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19456 trace_block(info, (char const *)(info->rbufs + (unsigned long )i)->buf, (int )count,
19457 "rx");
19458 }
19459 } else {
19460
19461 }
19462# 4805 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19463 if (debug_level > 2) {
19464 {
19465# 4805 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19466 printk("rx_get_buf size=%d\n", count);
19467 }
19468 } else {
19469
19470 }
19471# 4806 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19472 if (count != 0U) {
19473 {
19474# 4807 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19475 ldisc_receive_buf(info->port.tty, (__u8 const *)(info->rbufs + (unsigned long )i)->buf,
19476 (char *)(& info->flag_buf), (int )count);
19477 }
19478 } else {
19479
19480 }
19481 {
19482# 4809 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19483 free_rbufs(info, i, i);
19484 }
19485# 4810 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19486 return ((bool )1);
19487}
19488}
19489# 4813 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19490static void reset_tbufs(struct slgt_info *info )
19491{ unsigned int i ;
19492
19493 {
19494# 4816 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19495 info->tbuf_current = 0U;
19496# 4817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19497 i = 0U;
19498# 4817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19499 goto ldv_37811;
19500 ldv_37810:
19501# 4818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19502 (info->tbufs + (unsigned long )i)->status = (__le16 )0U;
19503# 4819 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19504 (info->tbufs + (unsigned long )i)->count = (__le16 )0U;
19505# 4817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19506 i = i + 1U;
19507 ldv_37811: ;
19508# 4817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19509 if (info->tbuf_count > i) {
19510# 4818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19511 goto ldv_37810;
19512 } else {
19513# 4820 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19514 goto ldv_37812;
19515 }
19516 ldv_37812: ;
19517# 4822 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19518 return;
19519}
19520}
19521# 4826 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19522static unsigned int free_tbuf_count(struct slgt_info *info )
19523{ unsigned int count ;
19524 unsigned int i ;
19525 __u32 tmp ;
19526
19527 {
19528# 4828 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19529 count = 0U;
19530# 4829 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19531 i = info->tbuf_current;
19532 ldv_37819: ;
19533# 4833 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19534 if ((unsigned int )(info->tbufs + (unsigned long )i)->count != 0U) {
19535# 4834 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19536 goto ldv_37818;
19537 } else {
19538
19539 }
19540# 4835 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19541 count = count + 1U;
19542# 4836 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19543 i = i + 1U;
19544# 4836 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19545 if (i == info->tbuf_count) {
19546# 4837 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19547 i = 0U;
19548 } else {
19549
19550 }
19551# 4838 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19552 if (info->tbuf_current != i) {
19553# 4839 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19554 goto ldv_37819;
19555 } else {
19556# 4841 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19557 goto ldv_37818;
19558 }
19559 ldv_37818: ;
19560# 4841 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19561 if (count != 0U) {
19562 {
19563# 4841 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19564 tmp = rd_reg32(info, 148U);
19565 }
19566# 4841 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19567 if ((int )tmp & 1) {
19568# 4842 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19569 count = count - 1U;
19570 } else {
19571
19572 }
19573 } else {
19574
19575 }
19576# 4844 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19577 return (count);
19578}
19579}
19580# 4851 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19581static unsigned int tbuf_bytes(struct slgt_info *info )
19582{ unsigned int total_count ;
19583 unsigned int i ;
19584 unsigned int reg_value ;
19585 unsigned int count ;
19586 unsigned int active_buf_count ;
19587
19588 {
19589# 4853 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19590 total_count = 0U;
19591# 4854 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19592 i = info->tbuf_current;
19593# 4857 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19594 active_buf_count = 0U;
19595 ldv_37828:
19596# 4871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19597 count = (unsigned int )(info->tbufs + (unsigned long )i)->count;
19598# 4872 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19599 if (count != 0U) {
19600# 4873 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19601 total_count = total_count + count;
19602 } else
19603# 4874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19604 if (total_count == 0U) {
19605# 4875 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19606 active_buf_count = (unsigned int )(info->tbufs + (unsigned long )i)->buf_count;
19607 } else {
19608
19609 }
19610# 4876 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19611 i = i + 1U;
19612# 4876 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19613 if (i == info->tbuf_count) {
19614# 4877 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19615 i = 0U;
19616 } else {
19617
19618 }
19619# 4878 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19620 if (info->tbuf_current != i) {
19621# 4879 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19622 goto ldv_37828;
19623 } else {
19624# 4881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19625 goto ldv_37829;
19626 }
19627 ldv_37829:
19628 {
19629# 4881 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19630 reg_value = rd_reg32(info, 148U);
19631 }
19632# 4884 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19633 if ((int )reg_value & 1) {
19634# 4885 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19635 total_count = total_count + active_buf_count;
19636 } else {
19637
19638 }
19639# 4888 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19640 total_count = ((reg_value >> 8) & 255U) + total_count;
19641# 4891 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19642 if ((int )info->tx_active) {
19643# 4892 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19644 total_count = total_count + 1U;
19645 } else {
19646
19647 }
19648# 4894 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19649 return (total_count);
19650}
19651}
19652# 4901 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19653static bool tx_load(struct slgt_info *info , char const *buf , unsigned int size )
19654{ unsigned short count ;
19655 unsigned int i ;
19656 struct slgt_desc *d ;
19657 unsigned int tmp ;
19658 size_t __len ;
19659 void *__ret ;
19660
19661 {
19662 {
19663# 4908 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19664 tmp = free_tbuf_count(info);
19665 }
19666# 4908 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19667 if ((size + 255U) / 256U > tmp) {
19668# 4909 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19669 return ((bool )0);
19670 } else {
19671
19672 }
19673# 4911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19674 if (debug_level > 0) {
19675 {
19676# 4911 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19677 trace_block(info, buf, (int )size, "tx");
19678 }
19679 } else {
19680
19681 }
19682# 4924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19683 i = info->tbuf_current;
19684# 4924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19685 info->tbuf_start = i;
19686# 4926 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19687 goto ldv_37842;
19688 ldv_37841:
19689# 4927 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19690 d = info->tbufs + (unsigned long )i;
19691# 4929 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19692 if (size <= 256U) {
19693# 4929 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19694 count = (unsigned short )size;
19695 } else {
19696# 4929 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19697 count = (unsigned short)256;
19698 }
19699 {
19700# 4930 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19701 __len = (size_t )count;
19702# 4930 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19703 __ret = __builtin_memcpy((void *)d->buf, (void const *)buf, __len);
19704# 4932 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19705 size = size - (unsigned int )count;
19706# 4933 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19707 buf = buf + (unsigned long )count;
19708 }
19709# 4939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19710 if (size == 0U) {
19711# 4939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19712 if (info->params.mode == 2UL) {
19713# 4941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19714 d->status = (__le16 )((unsigned int )d->status | 1U);
19715 } else {
19716# 4939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19717 goto _L;
19718 }
19719 } else
19720 _L:
19721# 4939 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19722 if (info->params.mode == 6UL) {
19723# 4941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19724 d->status = (__le16 )((unsigned int )d->status | 1U);
19725 } else {
19726# 4943 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19727 d->status = (__le16 )((unsigned int )d->status & 65534U);
19728 }
19729# 4946 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19730 if (info->tbuf_start != i) {
19731# 4947 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19732 d->count = count;
19733 } else {
19734
19735 }
19736# 4948 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19737 d->buf_count = count;
19738# 4950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19739 i = i + 1U;
19740# 4950 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19741 if (i == info->tbuf_count) {
19742# 4951 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19743 i = 0U;
19744 } else {
19745
19746 }
19747 ldv_37842: ;
19748# 4926 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19749 if (size != 0U) {
19750# 4927 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19751 goto ldv_37841;
19752 } else {
19753# 4929 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19754 goto ldv_37843;
19755 }
19756 ldv_37843:
19757# 4954 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19758 info->tbuf_current = i;
19759# 4957 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19760 d = info->tbufs + (unsigned long )info->tbuf_start;
19761# 4958 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19762 d->count = d->buf_count;
19763# 4961 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19764 if (! info->tx_active) {
19765 {
19766# 4962 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19767 tx_start(info);
19768 }
19769 } else {
19770
19771 }
19772 {
19773# 4963 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19774 update_tx_timer(info);
19775 }
19776# 4965 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19777 return ((bool )1);
19778}
19779}
19780# 4968 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19781static int register_test(struct slgt_info *info )
19782{ unsigned short patterns[6U] ;
19783 unsigned int count ;
19784 unsigned int i ;
19785 int rc ;
19786 __u16 tmp ;
19787 __u16 tmp___0 ;
19788 __u32 tmp___1 ;
19789
19790 {
19791# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19792 patterns[0] = (unsigned short)0;
19793# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19794 patterns[1] = (unsigned short)65535;
19795# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19796 patterns[2] = (unsigned short)43690;
19797# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19798 patterns[3] = (unsigned short)21845;
19799# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19800 patterns[4] = (unsigned short)26985;
19801# 4970 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19802 patterns[5] = (unsigned short)38550;
19803# 4972 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19804 count = 6U;
19805# 4974 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19806 rc = 0;
19807# 4976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19808 i = 0U;
19809# 4976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19810 goto ldv_37855;
19811 ldv_37854:
19812 {
19813# 4977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19814 wr_reg16(info, 132U, (__u16 )((int )patterns[i]));
19815# 4978 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19816 wr_reg16(info, 138U, (__u16 )((int )patterns[(i + 1U) % count]));
19817# 4979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19818 tmp = rd_reg16(info, 132U);
19819 }
19820# 4979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19821 if ((int )tmp != (int )patterns[i]) {
19822# 4981 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19823 rc = -19;
19824# 4982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19825 goto ldv_37853;
19826 } else {
19827 {
19828# 4979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19829 tmp___0 = rd_reg16(info, 138U);
19830 }
19831# 4979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19832 if ((int )tmp___0 != (int )patterns[(i + 1U) % count]) {
19833# 4981 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19834 rc = -19;
19835# 4982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19836 goto ldv_37853;
19837 } else {
19838
19839 }
19840 }
19841# 4976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19842 i = i + 1U;
19843 ldv_37855: ;
19844# 4976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19845 if (i < count) {
19846# 4977 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19847 goto ldv_37854;
19848 } else {
19849# 4979 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19850 goto ldv_37853;
19851 }
19852 ldv_37853:
19853 {
19854# 4985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19855 tmp___1 = rd_reg32(info, 4U);
19856# 4985 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19857 info->gpio_present = (unsigned int )((tmp___1 & 32U) != 0U);
19858# 4986 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19859 info->init_error = rc == 0;
19860 }
19861# 4987 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19862 return (rc);
19863}
19864}
19865# 4990 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19866static int irq_test(struct slgt_info *info )
19867{ unsigned long timeout ;
19868 unsigned long flags ;
19869 struct tty_struct *oldtty ;
19870 u32 speed ;
19871 raw_spinlock_t *tmp ;
19872 __u16 tmp___0 ;
19873 __u16 tmp___1 ;
19874 unsigned long tmp___2 ;
19875 raw_spinlock_t *tmp___3 ;
19876 int tmp___4 ;
19877
19878 {
19879 {
19880# 4994 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19881 oldtty = info->port.tty;
19882# 4995 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19883 speed = (u32 )info->params.data_rate;
19884# 4997 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19885 info->params.data_rate = 921600UL;
19886# 4998 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19887 info->port.tty = (struct tty_struct *)0;
19888# 5000 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19889 tmp = spinlock_check(& info->lock);
19890# 5000 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19891 flags = _raw_spin_lock_irqsave(tmp);
19892# 5001 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19893 async_mode(info);
19894# 5002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19895 tmp___0 = rd_reg16(info, 140U);
19896# 5002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19897 wr_reg16(info, 140U, (__u16 )((int )((unsigned int )tmp___0 | 4096U)));
19898# 5005 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19899 tmp___1 = rd_reg16(info, 130U);
19900# 5005 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19901 wr_reg16(info, 130U, (__u16 )((int )((unsigned int )tmp___1 | 2U)));
19902# 5009 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19903 wr_reg16(info, 128U, (__u16 )0);
19904# 5012 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19905 info->init_error = 3;
19906# 5013 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19907 info->irq_occurred = (bool )0;
19908# 5015 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19909 spin_unlock_irqrestore(& info->lock, flags);
19910# 5017 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19911 timeout = 100UL;
19912 }
19913# 5018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19914 goto ldv_37867;
19915 ldv_37866:
19916 {
19917# 5019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19918 msleep_interruptible(10U);
19919 }
19920 ldv_37867:
19921# 5018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19922 tmp___2 = timeout;
19923# 5018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19924 timeout = timeout - 1UL;
19925# 5018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19926 if (tmp___2 != 0UL) {
19927# 5018 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19928 if (! info->irq_occurred) {
19929# 5019 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19930 goto ldv_37866;
19931 } else {
19932# 5021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19933 goto ldv_37868;
19934 }
19935 } else {
19936# 5021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19937 goto ldv_37868;
19938 }
19939 ldv_37868:
19940 {
19941# 5021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19942 tmp___3 = spinlock_check(& info->lock);
19943# 5021 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19944 flags = _raw_spin_lock_irqsave(tmp___3);
19945# 5022 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19946 reset_port(info);
19947# 5023 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19948 spin_unlock_irqrestore(& info->lock, flags);
19949# 5025 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19950 info->params.data_rate = (unsigned long )speed;
19951# 5026 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19952 info->port.tty = oldtty;
19953 }
19954# 5028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19955 if ((int )info->irq_occurred) {
19956# 5028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19957 info->init_error = 0;
19958 } else {
19959# 5028 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19960 info->init_error = 3;
19961 }
19962# 5029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19963 if ((int )info->irq_occurred) {
19964# 5029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19965 tmp___4 = 0;
19966 } else {
19967# 5029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19968 tmp___4 = -19;
19969 }
19970# 5029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19971 return (tmp___4);
19972}
19973}
19974# 5032 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19975static int loopback_test_rx(struct slgt_info *info )
19976{ unsigned char *src ;
19977 unsigned char *dest ;
19978 int count ;
19979
19980 {
19981# 5037 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19982 if ((int )((short )(info->rbufs)->status) < 0) {
19983# 5038 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19984 count = (int )(info->rbufs)->count;
19985# 5039 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19986 src = (unsigned char *)(info->rbufs)->buf;
19987# 5040 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19988 dest = info->tmp_rbuf;
19989# 5042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19990 goto ldv_37879;
19991 ldv_37878: ;
19992# 5044 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19993 if (((int )*(src + 1UL) & 768) == 0) {
19994# 5045 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19995 *dest = *src;
19996# 5046 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19997 dest = dest + 1;
19998# 5047 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
19999 info->tmp_rbuf_count = info->tmp_rbuf_count + 1U;
20000 } else {
20001
20002 }
20003# 5042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20004 count = count + -2;
20005# 5042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20006 src = src + 2UL;
20007 ldv_37879: ;
20008# 5042 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20009 if (count != 0) {
20010# 5043 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20011 goto ldv_37878;
20012 } else {
20013# 5045 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20014 goto ldv_37880;
20015 }
20016 ldv_37880: ;
20017# 5050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20018 if (debug_level > 0) {
20019 {
20020# 5050 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20021 trace_block(info, (char const *)info->tmp_rbuf, (int )info->tmp_rbuf_count,
20022 "rx");
20023 }
20024 } else {
20025
20026 }
20027# 5051 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20028 return (1);
20029 } else {
20030
20031 }
20032# 5053 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20033 return (0);
20034}
20035}
20036# 5056 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20037static int loopback_test(struct slgt_info *info )
20038{ unsigned long timeout ;
20039 u16 count ;
20040 unsigned char buf[20U] ;
20041 int rc ;
20042 unsigned long flags ;
20043 struct tty_struct *oldtty ;
20044 MGSL_PARAMS params ;
20045 size_t __len ;
20046 void *__ret ;
20047 raw_spinlock_t *tmp ;
20048 int tmp___0 ;
20049 int tmp___1 ;
20050 raw_spinlock_t *tmp___2 ;
20051 size_t __len___0 ;
20052 void *__ret___0 ;
20053
20054 {
20055# 5061 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20056 count = (u16 )20U;
20057# 5063 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20058 rc = -19;
20059# 5066 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20060 oldtty = info->port.tty;
20061# 5069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20062 __len = 48UL;
20063# 5069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20064 if (__len > 63UL) {
20065 {
20066# 5069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20067 __ret = __memcpy((void *)(& params), (void const *)(& info->params), __len);
20068 }
20069 } else {
20070 {
20071# 5069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20072 __ret = __builtin_memcpy((void *)(& params), (void const *)(& info->params),
20073 __len);
20074 }
20075 }
20076# 5071 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20077 info->params.mode = 1UL;
20078# 5072 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20079 info->params.data_rate = 921600UL;
20080# 5073 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20081 info->params.loopback = (unsigned char)1;
20082# 5074 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20083 info->port.tty = (struct tty_struct *)0;
20084# 5077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20085 count = (u16 )0U;
20086# 5077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20087 goto ldv_37895;
20088 ldv_37894:
20089# 5078 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20090 buf[(int )count] = (unsigned char )count;
20091# 5077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20092 count = (u16 )((int )count + 1);
20093 ldv_37895: ;
20094# 5077 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20095 if ((unsigned int )count <= 19U) {
20096# 5078 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20097 goto ldv_37894;
20098 } else {
20099# 5080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20100 goto ldv_37896;
20101 }
20102 ldv_37896:
20103 {
20104# 5080 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20105 info->tmp_rbuf_count = 0U;
20106# 5081 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20107 memset((void *)info->tmp_rbuf, 0, 20UL);
20108# 5084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20109 tmp = spinlock_check(& info->lock);
20110# 5084 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20111 flags = _raw_spin_lock_irqsave(tmp);
20112# 5085 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20113 async_mode(info);
20114# 5086 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20115 rx_start(info);
20116# 5087 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20117 tx_load(info, (char const *)(& buf), (unsigned int )count);
20118# 5088 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20119 spin_unlock_irqrestore(& info->lock, flags);
20120# 5091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20121 timeout = 100UL;
20122 }
20123# 5091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20124 goto ldv_37902;
20125 ldv_37901:
20126 {
20127# 5092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20128 msleep_interruptible(10U);
20129# 5093 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20130 tmp___0 = loopback_test_rx(info);
20131 }
20132# 5093 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20133 if (tmp___0 != 0) {
20134# 5094 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20135 rc = 0;
20136# 5095 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20137 goto ldv_37900;
20138 } else {
20139
20140 }
20141# 5091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20142 timeout = timeout - 1UL;
20143 ldv_37902: ;
20144# 5091 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20145 if (timeout != 0UL) {
20146# 5092 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20147 goto ldv_37901;
20148 } else {
20149# 5094 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20150 goto ldv_37900;
20151 }
20152 ldv_37900: ;
20153# 5100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20154 if (rc == 0) {
20155# 5100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20156 if (info->tmp_rbuf_count != (unsigned int )count) {
20157# 5102 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20158 rc = -19;
20159 } else {
20160 {
20161# 5100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20162 tmp___1 = memcmp((void const *)(& buf), (void const *)info->tmp_rbuf, (size_t )count);
20163 }
20164# 5100 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20165 if (tmp___1 != 0) {
20166# 5102 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20167 rc = -19;
20168 } else {
20169
20170 }
20171 }
20172 } else {
20173
20174 }
20175 {
20176# 5105 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20177 tmp___2 = spinlock_check(& info->lock);
20178# 5105 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20179 flags = _raw_spin_lock_irqsave(tmp___2);
20180# 5106 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20181 reset_adapter(info);
20182# 5107 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20183 spin_unlock_irqrestore(& info->lock, flags);
20184# 5109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20185 __len___0 = 48UL;
20186 }
20187# 5109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20188 if (__len___0 > 63UL) {
20189 {
20190# 5109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20191 __ret___0 = __memcpy((void *)(& info->params), (void const *)(& params), __len___0);
20192 }
20193 } else {
20194 {
20195# 5109 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20196 __ret___0 = __builtin_memcpy((void *)(& info->params), (void const *)(& params),
20197 __len___0);
20198 }
20199 }
20200# 5110 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20201 info->port.tty = oldtty;
20202# 5112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20203 if (rc != 0) {
20204# 5112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20205 info->init_error = 5;
20206 } else {
20207# 5112 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20208 info->init_error = 0;
20209 }
20210# 5113 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20211 return (rc);
20212}
20213}
20214# 5116 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20215static int adapter_test(struct slgt_info *info )
20216{ int tmp ;
20217 int tmp___0 ;
20218 int tmp___1 ;
20219
20220 {
20221# 5118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20222 if (debug_level > 2) {
20223 {
20224# 5118 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20225 printk("testing %s\n", (char *)(& info->device_name));
20226 }
20227 } else {
20228
20229 }
20230 {
20231# 5119 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20232 tmp___1 = register_test(info);
20233 }
20234# 5119 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20235 if (tmp___1 < 0) {
20236 {
20237# 5120 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20238 printk("register test failure %s addr=%08X\n", (char *)(& info->device_name),
20239 info->phys_reg_addr);
20240 }
20241 } else {
20242 {
20243# 5122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20244 tmp___0 = irq_test(info);
20245 }
20246# 5122 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20247 if (tmp___0 < 0) {
20248 {
20249# 5123 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20250 printk("IRQ test failure %s IRQ=%d\n", (char *)(& info->device_name), info->irq_level);
20251 }
20252 } else {
20253 {
20254# 5125 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20255 tmp = loopback_test(info);
20256 }
20257# 5125 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20258 if (tmp < 0) {
20259 {
20260# 5126 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20261 printk("loopback test failure %s\n", (char *)(& info->device_name));
20262 }
20263 } else {
20264
20265 }
20266 }
20267 }
20268# 5128 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20269 return (info->init_error);
20270}
20271}
20272# 5134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20273static void tx_timeout(unsigned long context )
20274{ struct slgt_info *info ;
20275 unsigned long flags ;
20276 raw_spinlock_t *tmp ;
20277
20278 {
20279# 5136 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20280 info = (struct slgt_info *)context;
20281# 5139 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20282 if (debug_level > 2) {
20283 {
20284# 5139 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20285 printk("%s tx_timeout\n", (char *)(& info->device_name));
20286 }
20287 } else {
20288
20289 }
20290# 5140 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20291 if ((int )info->tx_active) {
20292# 5140 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20293 if (info->params.mode == 2UL) {
20294# 5141 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20295 info->icount.txtimeout = info->icount.txtimeout + 1U;
20296 } else {
20297
20298 }
20299 } else {
20300
20301 }
20302 {
20303# 5143 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20304 tmp = spinlock_check(& info->lock);
20305# 5143 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20306 flags = _raw_spin_lock_irqsave(tmp);
20307# 5144 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20308 tx_stop(info);
20309# 5145 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20310 spin_unlock_irqrestore(& info->lock, flags);
20311 }
20312# 5148 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20313 if (info->netcount != 0) {
20314 {
20315# 5149 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20316 hdlcdev_tx_done(info);
20317 }
20318 } else {
20319 {
20320# 5152 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20321 bh_transmit(info);
20322 }
20323 }
20324# 5153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20325 return;
20326}
20327}
20328# 5158 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20329static void rx_timeout(unsigned long context )
20330{ struct slgt_info *info ;
20331 unsigned long flags ;
20332 raw_spinlock_t *tmp ;
20333
20334 {
20335# 5160 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20336 info = (struct slgt_info *)context;
20337# 5163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20338 if (debug_level > 2) {
20339 {
20340# 5163 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20341 printk("%s rx_timeout\n", (char *)(& info->device_name));
20342 }
20343 } else {
20344
20345 }
20346 {
20347# 5164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20348 tmp = spinlock_check(& info->lock);
20349# 5164 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20350 flags = _raw_spin_lock_irqsave(tmp);
20351# 5165 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20352 info->pending_bh = info->pending_bh | 1U;
20353# 5166 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20354 spin_unlock_irqrestore(& info->lock, flags);
20355# 5167 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20356 bh_handler(& info->task);
20357 }
20358# 5168 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20359 return;
20360}
20361}
20362# 5187 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20363void ldv_check_final_state(void) ;
20364# 5190 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20365extern void ldv_check_return_value(int ) ;
20366# 5193 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20367extern void ldv_initialize(void) ;
20368# 5196 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20369extern int nondet_int(void) ;
20370# 5199 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20371int LDV_IN_INTERRUPT ;
20372# 5202 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20373void main(void)
20374{ struct pci_dev *var_group1 ;
20375 struct pci_device_id const *var_init_one_102_p1 ;
20376 int res_init_one_102 ;
20377 struct inode *var_group2 ;
20378 struct file *var_group3 ;
20379 int res_synclink_gt_proc_open_26 ;
20380 struct net_device *var_group4 ;
20381 int res_hdlcdev_open_33 ;
20382 int res_hdlcdev_close_34 ;
20383 struct ifreq *var_group5 ;
20384 int var_hdlcdev_ioctl_35_p2 ;
20385 struct tty_port *var_group6 ;
20386 int var_dtr_rts_87_p1 ;
20387 struct tty_struct *var_group7 ;
20388 int res_open_5 ;
20389 unsigned char const *var_write_10_p1 ;
20390 int var_write_10_p2 ;
20391 unsigned char var_put_char_11_p1 ;
20392 unsigned int var_ioctl_19_p1 ;
20393 unsigned long var_ioctl_19_p2 ;
20394 unsigned int var_slgt_compat_ioctl_23_p1 ;
20395 unsigned long var_slgt_compat_ioctl_23_p2 ;
20396 char var_send_xchar_12_p1 ;
20397 int var_set_break_30_p1 ;
20398 int var_wait_until_sent_13_p1 ;
20399 struct ktermios *var_group8 ;
20400 unsigned int var_tiocmset_85_p1 ;
20401 unsigned int var_tiocmset_85_p2 ;
20402 struct serial_icounter_struct *var_group9 ;
20403 int var_slgt_interrupt_56_p0 ;
20404 void *var_slgt_interrupt_56_p1 ;
20405 int ldv_s_pci_driver_pci_driver ;
20406 int ldv_s_synclink_gt_proc_fops_file_operations ;
20407 int ldv_s_hdlcdev_ops_net_device_ops ;
20408 int ldv_s_ops_tty_operations ;
20409 int tmp ;
20410 int tmp___0 ;
20411 int tmp___1 ;
20412
20413 {
20414 {
20415# 9847 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20416 ldv_s_pci_driver_pci_driver = 0;
20417# 9849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20418 ldv_s_synclink_gt_proc_fops_file_operations = 0;
20419# 9851 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20420 ldv_s_hdlcdev_ops_net_device_ops = 0;
20421# 9856 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20422 ldv_s_ops_tty_operations = 0;
20423# 9690 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20424 LDV_IN_INTERRUPT = 1;
20425# 9699 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20426 ldv_initialize();
20427# 9830 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20428 tmp = slgt_init();
20429 }
20430# 9830 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20431 if (tmp != 0) {
20432# 9831 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20433 goto ldv_final;
20434 } else {
20435
20436 }
20437# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20438 goto ldv_38011;
20439 ldv_38010:
20440 {
20441# 9869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20442 tmp___0 = nondet_int();
20443 }
20444# 9871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20445 if (tmp___0 == 0) {
20446# 9871 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20447 goto case_0;
20448 } else
20449# 10030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20450 if (tmp___0 == 1) {
20451# 10030 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20452 goto case_1;
20453 } else
20454# 10189 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20455 if (tmp___0 == 2) {
20456# 10189 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20457 goto case_2;
20458 } else
20459# 10348 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20460 if (tmp___0 == 3) {
20461# 10348 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20462 goto case_3;
20463 } else
20464# 10507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20465 if (tmp___0 == 4) {
20466# 10507 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20467 goto case_4;
20468 } else
20469# 10663 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20470 if (tmp___0 == 5) {
20471# 10663 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20472 goto case_5;
20473 } else
20474# 10819 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20475 if (tmp___0 == 6) {
20476# 10819 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20477 goto case_6;
20478 } else
20479# 10975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20480 if (tmp___0 == 7) {
20481# 10975 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20482 goto case_7;
20483 } else
20484# 11131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20485 if (tmp___0 == 8) {
20486# 11131 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20487 goto case_8;
20488 } else
20489# 11290 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20490 if (tmp___0 == 9) {
20491# 11290 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20492 goto case_9;
20493 } else
20494# 11446 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20495 if (tmp___0 == 10) {
20496# 11446 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20497 goto case_10;
20498 } else
20499# 11602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20500 if (tmp___0 == 11) {
20501# 11602 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20502 goto case_11;
20503 } else
20504# 11758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20505 if (tmp___0 == 12) {
20506# 11758 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20507 goto case_12;
20508 } else
20509# 11914 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20510 if (tmp___0 == 13) {
20511# 11914 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20512 goto case_13;
20513 } else
20514# 12070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20515 if (tmp___0 == 14) {
20516# 12070 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20517 goto case_14;
20518 } else
20519# 12226 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20520 if (tmp___0 == 15) {
20521# 12226 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20522 goto case_15;
20523 } else
20524# 12382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20525 if (tmp___0 == 16) {
20526# 12382 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20527 goto case_16;
20528 } else
20529# 12538 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20530 if (tmp___0 == 17) {
20531# 12538 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20532 goto case_17;
20533 } else
20534# 12694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20535 if (tmp___0 == 18) {
20536# 12694 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20537 goto case_18;
20538 } else
20539# 12850 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20540 if (tmp___0 == 19) {
20541# 12850 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20542 goto case_19;
20543 } else
20544# 13006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20545 if (tmp___0 == 20) {
20546# 13006 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20547 goto case_20;
20548 } else
20549# 13162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20550 if (tmp___0 == 21) {
20551# 13162 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20552 goto case_21;
20553 } else
20554# 13318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20555 if (tmp___0 == 22) {
20556# 13318 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20557 goto case_22;
20558 } else
20559# 13474 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20560 if (tmp___0 == 23) {
20561# 13474 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20562 goto case_23;
20563 } else
20564# 13630 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20565 if (tmp___0 == 24) {
20566# 13630 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20567 goto case_24;
20568 } else
20569# 13786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20570 if (tmp___0 == 25) {
20571# 13786 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20572 goto case_25;
20573 } else
20574# 13942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20575 if (tmp___0 == 26) {
20576# 13942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20577 goto case_26;
20578 } else
20579# 14098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20580 if (tmp___0 == 27) {
20581# 14098 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20582 goto case_27;
20583 } else
20584# 14254 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20585 if (tmp___0 == 28) {
20586# 14254 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20587 goto case_28;
20588 } else
20589# 14410 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20590 if (tmp___0 == 29) {
20591# 14410 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20592 goto case_29;
20593 } else
20594# 14566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20595 if (tmp___0 == 30) {
20596# 14566 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20597 goto case_30;
20598 } else {
20599# 14722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20600 goto switch_default;
20601# 9869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20602 if (0) {
20603 case_0: ;
20604# 9874 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20605 if (ldv_s_pci_driver_pci_driver == 0) {
20606 {
20607# 10002 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20608 res_init_one_102 = init_one(var_group1, var_init_one_102_p1);
20609# 10003 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20610 ldv_check_return_value(res_init_one_102);
20611 }
20612# 10004 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20613 if (res_init_one_102 != 0) {
20614# 10005 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20615 goto ldv_module_exit;
20616 } else {
20617
20618 }
20619# 10023 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20620 ldv_s_pci_driver_pci_driver = 0;
20621 } else {
20622
20623 }
20624# 10029 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20625 goto ldv_37978;
20626 case_1: ;
20627# 10033 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20628 if (ldv_s_synclink_gt_proc_fops_file_operations == 0) {
20629 {
20630# 10153 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20631 res_synclink_gt_proc_open_26 = synclink_gt_proc_open(var_group2, var_group3);
20632# 10154 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20633 ldv_check_return_value(res_synclink_gt_proc_open_26);
20634 }
20635# 10155 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20636 if (res_synclink_gt_proc_open_26 != 0) {
20637# 10156 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20638 goto ldv_module_exit;
20639 } else {
20640
20641 }
20642# 10182 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20643 ldv_s_synclink_gt_proc_fops_file_operations = 0;
20644 } else {
20645
20646 }
20647# 10188 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20648 goto ldv_37978;
20649 case_2: ;
20650# 10192 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20651 if (ldv_s_hdlcdev_ops_net_device_ops == 0) {
20652 {
20653# 10313 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20654 res_hdlcdev_open_33 = hdlcdev_open(var_group4);
20655# 10314 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20656 ldv_check_return_value(res_hdlcdev_open_33);
20657 }
20658# 10315 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20659 if (res_hdlcdev_open_33 < 0) {
20660# 10316 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20661 goto ldv_module_exit;
20662 } else {
20663
20664 }
20665# 10341 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20666 ldv_s_hdlcdev_ops_net_device_ops = ldv_s_hdlcdev_ops_net_device_ops + 1;
20667 } else {
20668
20669 }
20670# 10347 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20671 goto ldv_37978;
20672 case_3: ;
20673# 10351 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20674 if (ldv_s_hdlcdev_ops_net_device_ops == 1) {
20675 {
20676# 10472 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20677 res_hdlcdev_close_34 = hdlcdev_close(var_group4);
20678# 10473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20679 ldv_check_return_value(res_hdlcdev_close_34);
20680 }
20681# 10474 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20682 if (res_hdlcdev_close_34 != 0) {
20683# 10475 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20684 goto ldv_module_exit;
20685 } else {
20686
20687 }
20688# 10500 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20689 ldv_s_hdlcdev_ops_net_device_ops = 0;
20690 } else {
20691
20692 }
20693# 10506 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20694 goto ldv_37978;
20695 case_4:
20696 {
20697# 10631 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20698 hdlcdev_ioctl(var_group4, var_group5, var_hdlcdev_ioctl_35_p2);
20699 }
20700# 10662 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20701 goto ldv_37978;
20702 case_5:
20703 {
20704# 10787 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20705 hdlcdev_tx_timeout(var_group4);
20706 }
20707# 10818 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20708 goto ldv_37978;
20709 case_6:
20710 {
20711# 10948 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20712 carrier_raised(var_group6);
20713 }
20714# 10974 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20715 goto ldv_37978;
20716 case_7:
20717 {
20718# 11104 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20719 dtr_rts(var_group6, var_dtr_rts_87_p1);
20720 }
20721# 11130 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20722 goto ldv_37978;
20723 case_8: ;
20724# 11134 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20725 if (ldv_s_ops_tty_operations == 0) {
20726 {
20727# 11250 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20728 res_open_5 = open(var_group7, var_group3);
20729# 11251 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20730 ldv_check_return_value(res_open_5);
20731 }
20732# 11252 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20733 if (res_open_5 != 0) {
20734# 11253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20735 goto ldv_module_exit;
20736 } else {
20737
20738 }
20739# 11283 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20740 ldv_s_ops_tty_operations = ldv_s_ops_tty_operations + 1;
20741 } else {
20742
20743 }
20744# 11289 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20745 goto ldv_37978;
20746 case_9: ;
20747# 11293 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20748 if (ldv_s_ops_tty_operations == 1) {
20749 {
20750# 11409 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20751 close(var_group7, var_group3);
20752# 11439 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20753 ldv_s_ops_tty_operations = 0;
20754 }
20755 } else {
20756
20757 }
20758# 11445 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20759 goto ldv_37978;
20760 case_10:
20761 {
20762# 11565 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20763 write(var_group7, var_write_10_p1, var_write_10_p2);
20764 }
20765# 11601 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20766 goto ldv_37978;
20767 case_11:
20768 {
20769# 11721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20770 put_char(var_group7, (unsigned char )((int )var_put_char_11_p1));
20771 }
20772# 11757 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20773 goto ldv_37978;
20774 case_12:
20775 {
20776# 11877 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20777 flush_chars(var_group7);
20778 }
20779# 11913 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20780 goto ldv_37978;
20781 case_13:
20782 {
20783# 12033 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20784 write_room(var_group7);
20785 }
20786# 12069 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20787 goto ldv_37978;
20788 case_14:
20789 {
20790# 12193 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20791 chars_in_buffer(var_group7);
20792 }
20793# 12225 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20794 goto ldv_37978;
20795 case_15:
20796 {
20797# 12345 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20798 flush_buffer(var_group7);
20799 }
20800# 12381 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20801 goto ldv_37978;
20802 case_16:
20803 {
20804# 12501 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20805 ioctl(var_group7, var_ioctl_19_p1, var_ioctl_19_p2);
20806 }
20807# 12537 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20808 goto ldv_37978;
20809 case_17:
20810 {
20811# 12658 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20812 slgt_compat_ioctl(var_group7, var_slgt_compat_ioctl_23_p1, var_slgt_compat_ioctl_23_p2);
20813 }
20814# 12693 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20815 goto ldv_37978;
20816 case_18:
20817 {
20818# 12817 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20819 throttle(var_group7);
20820 }
20821# 12849 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20822 goto ldv_37978;
20823 case_19:
20824 {
20825# 12973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20826 unthrottle(var_group7);
20827 }
20828# 13005 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20829 goto ldv_37978;
20830 case_20:
20831 {
20832# 13125 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20833 send_xchar(var_group7, (char )((int )var_send_xchar_12_p1));
20834 }
20835# 13161 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20836 goto ldv_37978;
20837 case_21:
20838 {
20839# 13285 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20840 set_break(var_group7, var_set_break_30_p1);
20841 }
20842# 13317 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20843 goto ldv_37978;
20844 case_22:
20845 {
20846# 13437 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20847 wait_until_sent(var_group7, var_wait_until_sent_13_p1);
20848 }
20849# 13473 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20850 goto ldv_37978;
20851 case_23:
20852 {
20853# 13593 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20854 set_termios(var_group7, var_group8);
20855 }
20856# 13629 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20857 goto ldv_37978;
20858 case_24:
20859 {
20860# 13749 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20861 tx_hold(var_group7);
20862 }
20863# 13785 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20864 goto ldv_37978;
20865 case_25:
20866 {
20867# 13905 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20868 tx_release(var_group7);
20869 }
20870# 13941 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20871 goto ldv_37978;
20872 case_26:
20873 {
20874# 14061 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20875 hangup(var_group7);
20876 }
20877# 14097 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20878 goto ldv_37978;
20879 case_27:
20880 {
20881# 14227 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20882 tiocmget(var_group7);
20883 }
20884# 14253 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20885 goto ldv_37978;
20886 case_28:
20887 {
20888# 14383 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20889 tiocmset(var_group7, var_tiocmset_85_p1, var_tiocmset_85_p2);
20890 }
20891# 14409 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20892 goto ldv_37978;
20893 case_29:
20894 {
20895# 14529 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20896 get_icount(var_group7, var_group9);
20897 }
20898# 14565 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20899 goto ldv_37978;
20900 case_30:
20901 {
20902# 14569 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20903 LDV_IN_INTERRUPT = 2;
20904# 14695 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20905 slgt_interrupt(var_slgt_interrupt_56_p0, var_slgt_interrupt_56_p1);
20906# 14715 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20907 LDV_IN_INTERRUPT = 1;
20908 }
20909# 14721 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20910 goto ldv_37978;
20911 switch_default: ;
20912# 14722 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20913 goto ldv_37978;
20914 } else {
20915
20916 }
20917 }
20918 ldv_37978: ;
20919 ldv_38011:
20920 {
20921# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20922 tmp___1 = nondet_int();
20923 }
20924# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20925 if (tmp___1 != 0) {
20926# 9867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20927 goto ldv_38010;
20928 } else
20929# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20930 if (ldv_s_pci_driver_pci_driver != 0) {
20931# 9867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20932 goto ldv_38010;
20933 } else
20934# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20935 if (ldv_s_synclink_gt_proc_fops_file_operations != 0) {
20936# 9867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20937 goto ldv_38010;
20938 } else
20939# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20940 if (ldv_s_hdlcdev_ops_net_device_ops != 0) {
20941# 9867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20942 goto ldv_38010;
20943 } else
20944# 9862 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20945 if (ldv_s_ops_tty_operations != 0) {
20946# 9867 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20947 goto ldv_38010;
20948 } else {
20949# 9869 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20950 goto ldv_38012;
20951 }
20952 ldv_38012: ;
20953 ldv_module_exit:
20954 {
20955# 14859 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20956 slgt_exit();
20957 }
20958 ldv_final:
20959 {
20960# 14877 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20961 ldv_check_final_state();
20962 }
20963# 14880 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20964 return;
20965}
20966}
20967# 5 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast-assert.h"
20968void ldv_blast_assert(void)
20969{
20970
20971 {
20972 ERROR: ;
20973# 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast-assert.h"
20974 goto ERROR;
20975}
20976}
20977# 6 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/kernel-rules/files/engine-blast.h"
20978extern int ldv_undefined_int(void) ;
20979# 14897 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20980int ldv_module_refcounter = 1;
20981# 14900 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20982void ldv_module_get(struct module *module )
20983{
20984
20985 {
20986# 14903 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20987 if ((unsigned long )module != (unsigned long )((struct module *)0)) {
20988# 14905 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20989 ldv_module_refcounter = ldv_module_refcounter + 1;
20990 } else {
20991
20992 }
20993# 14906 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20994 return;
20995}
20996}
20997# 14910 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
20998int ldv_try_module_get(struct module *module )
20999{ int module_get_succeeded ;
21000
21001 {
21002# 14915 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21003 if ((unsigned long )module != (unsigned long )((struct module *)0)) {
21004 {
21005# 14918 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21006 module_get_succeeded = ldv_undefined_int();
21007 }
21008# 14920 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21009 if (module_get_succeeded == 1) {
21010# 14922 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21011 ldv_module_refcounter = ldv_module_refcounter + 1;
21012# 14924 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21013 return (1);
21014 } else {
21015# 14929 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21016 return (0);
21017 }
21018 } else {
21019
21020 }
21021# 14931 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21022 return (0);
21023}
21024}
21025# 14935 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21026void ldv_module_put(struct module *module )
21027{
21028
21029 {
21030# 14938 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21031 if ((unsigned long )module != (unsigned long )((struct module *)0)) {
21032# 14940 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21033 if (ldv_module_refcounter <= 1) {
21034 {
21035# 14940 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21036 ldv_blast_assert();
21037 }
21038 } else {
21039
21040 }
21041# 14942 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21042 ldv_module_refcounter = ldv_module_refcounter - 1;
21043 } else {
21044
21045 }
21046# 14944 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21047 return;
21048}
21049}
21050# 14947 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21051void ldv_module_put_and_exit(void)
21052{
21053
21054 {
21055 {
21056# 14949 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21057 ldv_module_put((struct module *)1);
21058 }
21059 LDV_STOP: ;
21060# 14951 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21061 goto LDV_STOP;
21062}
21063}
21064# 14955 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21065unsigned int ldv_module_refcount(void)
21066{
21067
21068 {
21069# 14958 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21070 return ((unsigned int )(ldv_module_refcounter + -1));
21071}
21072}
21073# 14962 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21074void ldv_check_final_state(void)
21075{
21076
21077 {
21078# 14965 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21079 if (ldv_module_refcounter != 1) {
21080 {
21081# 14965 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21082 ldv_blast_assert();
21083 }
21084 } else {
21085
21086 }
21087# 14968 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21088 return;
21089}
21090}
21091# 14968 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21092__inline static int ldv_try_module_get_1(struct module *module )
21093{ int tmp ;
21094
21095 {
21096 {
21097# 14973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21098 tmp = ldv_try_module_get(module);
21099 }
21100# 14973 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21101 return (tmp);
21102}
21103}
21104# 14976 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21105void ldv_module_put_2(struct module *ldv_func_arg1 )
21106{
21107
21108 {
21109 {
21110# 14981 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21111 ldv_module_put(ldv_func_arg1);
21112 }
21113# 14982 "/anthill/stuff/tacas-comp/work/current--X--drivers/tty/synclink_gt.ko--X--bulklinux-3.0.1--X--08_1/linux-3.0.1/csd_deg_dscv/11/dscv_tempdir/dscv/ri/08_1/drivers/tty/synclink_gt.c.p"
21114 return;
21115}
21116}