1
2
3
4#line 19 "include/asm-generic/int-ll64.h"
5typedef signed char __s8;
6#line 20 "include/asm-generic/int-ll64.h"
7typedef unsigned char __u8;
8#line 22 "include/asm-generic/int-ll64.h"
9typedef short __s16;
10#line 23 "include/asm-generic/int-ll64.h"
11typedef unsigned short __u16;
12#line 25 "include/asm-generic/int-ll64.h"
13typedef int __s32;
14#line 26 "include/asm-generic/int-ll64.h"
15typedef unsigned int __u32;
16#line 29 "include/asm-generic/int-ll64.h"
17typedef long long __s64;
18#line 30 "include/asm-generic/int-ll64.h"
19typedef unsigned long long __u64;
20#line 42 "include/asm-generic/int-ll64.h"
21typedef signed char s8;
22#line 43 "include/asm-generic/int-ll64.h"
23typedef unsigned char u8;
24#line 45 "include/asm-generic/int-ll64.h"
25typedef short s16;
26#line 46 "include/asm-generic/int-ll64.h"
27typedef unsigned short u16;
28#line 48 "include/asm-generic/int-ll64.h"
29typedef int s32;
30#line 49 "include/asm-generic/int-ll64.h"
31typedef unsigned int u32;
32#line 51 "include/asm-generic/int-ll64.h"
33typedef long long s64;
34#line 52 "include/asm-generic/int-ll64.h"
35typedef unsigned long long u64;
36#line 14 "include/asm-generic/posix_types.h"
37typedef long __kernel_long_t;
38#line 15 "include/asm-generic/posix_types.h"
39typedef unsigned long __kernel_ulong_t;
40#line 27 "include/asm-generic/posix_types.h"
41typedef __kernel_ulong_t __kernel_nlink_t;
42#line 31 "include/asm-generic/posix_types.h"
43typedef int __kernel_pid_t;
44#line 52 "include/asm-generic/posix_types.h"
45typedef unsigned int __kernel_uid32_t;
46#line 53 "include/asm-generic/posix_types.h"
47typedef unsigned int __kernel_gid32_t;
48#line 75 "include/asm-generic/posix_types.h"
49typedef __kernel_ulong_t __kernel_size_t;
50#line 76 "include/asm-generic/posix_types.h"
51typedef __kernel_long_t __kernel_ssize_t;
52#line 90 "include/asm-generic/posix_types.h"
53typedef __kernel_long_t __kernel_off_t;
54#line 91 "include/asm-generic/posix_types.h"
55typedef long long __kernel_loff_t;
56#line 92 "include/asm-generic/posix_types.h"
57typedef __kernel_long_t __kernel_time_t;
58#line 93 "include/asm-generic/posix_types.h"
59typedef __kernel_long_t __kernel_clock_t;
60#line 94 "include/asm-generic/posix_types.h"
61typedef int __kernel_timer_t;
62#line 95 "include/asm-generic/posix_types.h"
63typedef int __kernel_clockid_t;
64#line 21 "include/linux/types.h"
65typedef __u32 __kernel_dev_t;
66#line 24 "include/linux/types.h"
67typedef __kernel_dev_t dev_t;
68#line 27 "include/linux/types.h"
69typedef unsigned short umode_t;
70#line 28 "include/linux/types.h"
71typedef __kernel_nlink_t nlink_t;
72#line 29 "include/linux/types.h"
73typedef __kernel_off_t off_t;
74#line 30 "include/linux/types.h"
75typedef __kernel_pid_t pid_t;
76#line 35 "include/linux/types.h"
77typedef __kernel_clockid_t clockid_t;
78#line 38 "include/linux/types.h"
79typedef _Bool bool;
80#line 40 "include/linux/types.h"
81typedef __kernel_uid32_t uid_t;
82#line 41 "include/linux/types.h"
83typedef __kernel_gid32_t gid_t;
84#line 54 "include/linux/types.h"
85typedef __kernel_loff_t loff_t;
86#line 63 "include/linux/types.h"
87typedef __kernel_size_t size_t;
88#line 68 "include/linux/types.h"
89typedef __kernel_ssize_t ssize_t;
90#line 78 "include/linux/types.h"
91typedef __kernel_time_t time_t;
92#line 111 "include/linux/types.h"
93typedef __s32 int32_t;
94#line 115 "include/linux/types.h"
95typedef __u8 uint8_t;
96#line 117 "include/linux/types.h"
97typedef __u32 uint32_t;
98#line 120 "include/linux/types.h"
99typedef __u64 uint64_t;
100#line 142 "include/linux/types.h"
101typedef unsigned long sector_t;
102#line 143 "include/linux/types.h"
103typedef unsigned long blkcnt_t;
104#line 155 "include/linux/types.h"
105typedef u64 dma_addr_t;
106#line 179 "include/linux/types.h"
107typedef __u16 __be16;
108#line 180 "include/linux/types.h"
109typedef __u32 __le32;
110#line 181 "include/linux/types.h"
111typedef __u32 __be32;
112#line 186 "include/linux/types.h"
113typedef __u32 __wsum;
114#line 202 "include/linux/types.h"
115typedef unsigned int gfp_t;
116#line 203 "include/linux/types.h"
117typedef unsigned int fmode_t;
118#line 206 "include/linux/types.h"
119typedef u64 phys_addr_t;
120#line 211 "include/linux/types.h"
121typedef phys_addr_t resource_size_t;
122#line 219 "include/linux/types.h"
123struct __anonstruct_atomic_t_7 {
124 int counter ;
125};
126#line 219 "include/linux/types.h"
127typedef struct __anonstruct_atomic_t_7 atomic_t;
128#line 224 "include/linux/types.h"
129struct __anonstruct_atomic64_t_8 {
130 long counter ;
131};
132#line 224 "include/linux/types.h"
133typedef struct __anonstruct_atomic64_t_8 atomic64_t;
134#line 229 "include/linux/types.h"
135struct list_head {
136 struct list_head *next ;
137 struct list_head *prev ;
138};
139#line 233
140struct hlist_node;
141#line 233 "include/linux/types.h"
142struct hlist_head {
143 struct hlist_node *first ;
144};
145#line 237 "include/linux/types.h"
146struct hlist_node {
147 struct hlist_node *next ;
148 struct hlist_node **pprev ;
149};
150#line 253 "include/linux/types.h"
151struct rcu_head {
152 struct rcu_head *next ;
153 void (*func)(struct rcu_head *head ) ;
154};
155#line 18 "include/linux/capability.h"
156struct task_struct;
157#line 18
158struct task_struct;
159#line 94 "include/linux/capability.h"
160struct kernel_cap_struct {
161 __u32 cap[2] ;
162};
163#line 94 "include/linux/capability.h"
164typedef struct kernel_cap_struct kernel_cap_t;
165#line 377
166struct dentry;
167#line 377
168struct dentry;
169#line 378
170struct user_namespace;
171#line 378
172struct user_namespace;
173#line 56 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
174struct module;
175#line 56
176struct module;
177#line 146 "include/linux/init.h"
178typedef void (*ctor_fn_t)(void);
179#line 47 "include/linux/dynamic_debug.h"
180struct device;
181#line 47
182struct device;
183#line 53
184struct net_device;
185#line 53
186struct net_device;
187#line 135 "include/linux/kernel.h"
188struct completion;
189#line 135
190struct completion;
191#line 136
192struct pt_regs;
193#line 136
194struct pt_regs;
195#line 349
196struct pid;
197#line 349
198struct pid;
199#line 12 "include/linux/thread_info.h"
200struct timespec;
201#line 12
202struct timespec;
203#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page.h"
204struct page;
205#line 18
206struct page;
207#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/thread_info.h"
208struct task_struct;
209#line 7 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
210struct task_struct;
211#line 8
212struct mm_struct;
213#line 8
214struct mm_struct;
215#line 99 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
216struct pt_regs {
217 unsigned long r15 ;
218 unsigned long r14 ;
219 unsigned long r13 ;
220 unsigned long r12 ;
221 unsigned long bp ;
222 unsigned long bx ;
223 unsigned long r11 ;
224 unsigned long r10 ;
225 unsigned long r9 ;
226 unsigned long r8 ;
227 unsigned long ax ;
228 unsigned long cx ;
229 unsigned long dx ;
230 unsigned long si ;
231 unsigned long di ;
232 unsigned long orig_ax ;
233 unsigned long ip ;
234 unsigned long cs ;
235 unsigned long flags ;
236 unsigned long sp ;
237 unsigned long ss ;
238};
239#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
240struct __anonstruct____missing_field_name_16 {
241 unsigned int a ;
242 unsigned int b ;
243};
244#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
245struct __anonstruct____missing_field_name_17 {
246 u16 limit0 ;
247 u16 base0 ;
248 unsigned int base1 : 8 ;
249 unsigned int type : 4 ;
250 unsigned int s : 1 ;
251 unsigned int dpl : 2 ;
252 unsigned int p : 1 ;
253 unsigned int limit : 4 ;
254 unsigned int avl : 1 ;
255 unsigned int l : 1 ;
256 unsigned int d : 1 ;
257 unsigned int g : 1 ;
258 unsigned int base2 : 8 ;
259};
260#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
261union __anonunion____missing_field_name_15 {
262 struct __anonstruct____missing_field_name_16 __annonCompField5 ;
263 struct __anonstruct____missing_field_name_17 __annonCompField6 ;
264};
265#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/desc_defs.h"
266struct desc_struct {
267 union __anonunion____missing_field_name_15 __annonCompField7 ;
268} __attribute__((__packed__)) ;
269#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
270typedef unsigned long pgdval_t;
271#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
272typedef unsigned long pgprotval_t;
273#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
274struct pgprot {
275 pgprotval_t pgprot ;
276};
277#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
278typedef struct pgprot pgprot_t;
279#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
280struct __anonstruct_pgd_t_21 {
281 pgdval_t pgd ;
282};
283#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
284typedef struct __anonstruct_pgd_t_21 pgd_t;
285#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
286typedef struct page *pgtable_t;
287#line 295
288struct file;
289#line 295
290struct file;
291#line 313
292struct seq_file;
293#line 313
294struct seq_file;
295#line 46 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
296struct page;
297#line 47
298struct thread_struct;
299#line 47
300struct thread_struct;
301#line 50
302struct mm_struct;
303#line 51
304struct desc_struct;
305#line 52
306struct task_struct;
307#line 53
308struct cpumask;
309#line 53
310struct cpumask;
311#line 329
312struct arch_spinlock;
313#line 329
314struct arch_spinlock;
315#line 139 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
316struct task_struct;
317#line 141 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
318struct kernel_vm86_regs {
319 struct pt_regs pt ;
320 unsigned short es ;
321 unsigned short __esh ;
322 unsigned short ds ;
323 unsigned short __dsh ;
324 unsigned short fs ;
325 unsigned short __fsh ;
326 unsigned short gs ;
327 unsigned short __gsh ;
328};
329#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
330union __anonunion____missing_field_name_25 {
331 struct pt_regs *regs ;
332 struct kernel_vm86_regs *vm86 ;
333};
334#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/math_emu.h"
335struct math_emu_info {
336 long ___orig_eip ;
337 union __anonunion____missing_field_name_25 __annonCompField8 ;
338};
339#line 8 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/current.h"
340struct task_struct;
341#line 10 "include/asm-generic/bug.h"
342struct bug_entry {
343 int bug_addr_disp ;
344 int file_disp ;
345 unsigned short line ;
346 unsigned short flags ;
347};
348#line 12 "include/linux/bug.h"
349struct pt_regs;
350#line 14 "include/linux/cpumask.h"
351struct cpumask {
352 unsigned long bits[((4096UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
353};
354#line 14 "include/linux/cpumask.h"
355typedef struct cpumask cpumask_t;
356#line 637 "include/linux/cpumask.h"
357typedef struct cpumask *cpumask_var_t;
358#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
359struct static_key;
360#line 234
361struct static_key;
362#line 11 "include/linux/personality.h"
363struct pt_regs;
364#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
365struct seq_operations;
366#line 290 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
367struct i387_fsave_struct {
368 u32 cwd ;
369 u32 swd ;
370 u32 twd ;
371 u32 fip ;
372 u32 fcs ;
373 u32 foo ;
374 u32 fos ;
375 u32 st_space[20] ;
376 u32 status ;
377};
378#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
379struct __anonstruct____missing_field_name_32 {
380 u64 rip ;
381 u64 rdp ;
382};
383#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
384struct __anonstruct____missing_field_name_33 {
385 u32 fip ;
386 u32 fcs ;
387 u32 foo ;
388 u32 fos ;
389};
390#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
391union __anonunion____missing_field_name_31 {
392 struct __anonstruct____missing_field_name_32 __annonCompField12 ;
393 struct __anonstruct____missing_field_name_33 __annonCompField13 ;
394};
395#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
396union __anonunion____missing_field_name_34 {
397 u32 padding1[12] ;
398 u32 sw_reserved[12] ;
399};
400#line 306 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
401struct i387_fxsave_struct {
402 u16 cwd ;
403 u16 swd ;
404 u16 twd ;
405 u16 fop ;
406 union __anonunion____missing_field_name_31 __annonCompField14 ;
407 u32 mxcsr ;
408 u32 mxcsr_mask ;
409 u32 st_space[32] ;
410 u32 xmm_space[64] ;
411 u32 padding[12] ;
412 union __anonunion____missing_field_name_34 __annonCompField15 ;
413} __attribute__((__aligned__(16))) ;
414#line 341 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
415struct i387_soft_struct {
416 u32 cwd ;
417 u32 swd ;
418 u32 twd ;
419 u32 fip ;
420 u32 fcs ;
421 u32 foo ;
422 u32 fos ;
423 u32 st_space[20] ;
424 u8 ftop ;
425 u8 changed ;
426 u8 lookahead ;
427 u8 no_update ;
428 u8 rm ;
429 u8 alimit ;
430 struct math_emu_info *info ;
431 u32 entry_eip ;
432};
433#line 361 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
434struct ymmh_struct {
435 u32 ymmh_space[64] ;
436};
437#line 366 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
438struct xsave_hdr_struct {
439 u64 xstate_bv ;
440 u64 reserved1[2] ;
441 u64 reserved2[5] ;
442} __attribute__((__packed__)) ;
443#line 372 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
444struct xsave_struct {
445 struct i387_fxsave_struct i387 ;
446 struct xsave_hdr_struct xsave_hdr ;
447 struct ymmh_struct ymmh ;
448} __attribute__((__packed__, __aligned__(64))) ;
449#line 379 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
450union thread_xstate {
451 struct i387_fsave_struct fsave ;
452 struct i387_fxsave_struct fxsave ;
453 struct i387_soft_struct soft ;
454 struct xsave_struct xsave ;
455};
456#line 386 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
457struct fpu {
458 unsigned int last_cpu ;
459 unsigned int has_fpu ;
460 union thread_xstate *state ;
461};
462#line 433
463struct kmem_cache;
464#line 435
465struct perf_event;
466#line 435
467struct perf_event;
468#line 437 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
469struct thread_struct {
470 struct desc_struct tls_array[3] ;
471 unsigned long sp0 ;
472 unsigned long sp ;
473 unsigned long usersp ;
474 unsigned short es ;
475 unsigned short ds ;
476 unsigned short fsindex ;
477 unsigned short gsindex ;
478 unsigned long fs ;
479 unsigned long gs ;
480 struct perf_event *ptrace_bps[4] ;
481 unsigned long debugreg6 ;
482 unsigned long ptrace_dr7 ;
483 unsigned long cr2 ;
484 unsigned long trap_nr ;
485 unsigned long error_code ;
486 struct fpu fpu ;
487 unsigned long *io_bitmap_ptr ;
488 unsigned long iopl ;
489 unsigned int io_bitmap_max ;
490};
491#line 23 "include/asm-generic/atomic-long.h"
492typedef atomic64_t atomic_long_t;
493#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
494typedef u16 __ticket_t;
495#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
496typedef u32 __ticketpair_t;
497#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
498struct __raw_tickets {
499 __ticket_t head ;
500 __ticket_t tail ;
501};
502#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
503union __anonunion____missing_field_name_37 {
504 __ticketpair_t head_tail ;
505 struct __raw_tickets tickets ;
506};
507#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
508struct arch_spinlock {
509 union __anonunion____missing_field_name_37 __annonCompField17 ;
510};
511#line 20 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
512typedef struct arch_spinlock arch_spinlock_t;
513#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
514struct __anonstruct____missing_field_name_39 {
515 u32 read ;
516 s32 write ;
517};
518#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
519union __anonunion_arch_rwlock_t_38 {
520 s64 lock ;
521 struct __anonstruct____missing_field_name_39 __annonCompField18 ;
522};
523#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
524typedef union __anonunion_arch_rwlock_t_38 arch_rwlock_t;
525#line 12 "include/linux/lockdep.h"
526struct task_struct;
527#line 391 "include/linux/lockdep.h"
528struct lock_class_key {
529
530};
531#line 20 "include/linux/spinlock_types.h"
532struct raw_spinlock {
533 arch_spinlock_t raw_lock ;
534 unsigned int magic ;
535 unsigned int owner_cpu ;
536 void *owner ;
537};
538#line 20 "include/linux/spinlock_types.h"
539typedef struct raw_spinlock raw_spinlock_t;
540#line 64 "include/linux/spinlock_types.h"
541union __anonunion____missing_field_name_40 {
542 struct raw_spinlock rlock ;
543};
544#line 64 "include/linux/spinlock_types.h"
545struct spinlock {
546 union __anonunion____missing_field_name_40 __annonCompField19 ;
547};
548#line 64 "include/linux/spinlock_types.h"
549typedef struct spinlock spinlock_t;
550#line 11 "include/linux/rwlock_types.h"
551struct __anonstruct_rwlock_t_41 {
552 arch_rwlock_t raw_lock ;
553 unsigned int magic ;
554 unsigned int owner_cpu ;
555 void *owner ;
556};
557#line 11 "include/linux/rwlock_types.h"
558typedef struct __anonstruct_rwlock_t_41 rwlock_t;
559#line 33 "include/linux/seqlock.h"
560struct __anonstruct_seqlock_t_42 {
561 unsigned int sequence ;
562 spinlock_t lock ;
563};
564#line 33 "include/linux/seqlock.h"
565typedef struct __anonstruct_seqlock_t_42 seqlock_t;
566#line 119 "include/linux/seqlock.h"
567struct seqcount {
568 unsigned int sequence ;
569};
570#line 119 "include/linux/seqlock.h"
571typedef struct seqcount seqcount_t;
572#line 14 "include/linux/time.h"
573struct timespec {
574 __kernel_time_t tv_sec ;
575 long tv_nsec ;
576};
577#line 100 "include/linux/rbtree.h"
578struct rb_node {
579 unsigned long rb_parent_color ;
580 struct rb_node *rb_right ;
581 struct rb_node *rb_left ;
582} __attribute__((__aligned__(sizeof(long )))) ;
583#line 110 "include/linux/rbtree.h"
584struct rb_root {
585 struct rb_node *rb_node ;
586};
587#line 98 "include/linux/nodemask.h"
588struct __anonstruct_nodemask_t_43 {
589 unsigned long bits[(((unsigned long )(1 << 10) + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
590};
591#line 98 "include/linux/nodemask.h"
592typedef struct __anonstruct_nodemask_t_43 nodemask_t;
593#line 14 "include/linux/prio_tree.h"
594struct prio_tree_node;
595#line 14 "include/linux/prio_tree.h"
596struct raw_prio_tree_node {
597 struct prio_tree_node *left ;
598 struct prio_tree_node *right ;
599 struct prio_tree_node *parent ;
600};
601#line 20 "include/linux/prio_tree.h"
602struct prio_tree_node {
603 struct prio_tree_node *left ;
604 struct prio_tree_node *right ;
605 struct prio_tree_node *parent ;
606 unsigned long start ;
607 unsigned long last ;
608};
609#line 28 "include/linux/prio_tree.h"
610struct prio_tree_root {
611 struct prio_tree_node *prio_tree_node ;
612 unsigned short index_bits ;
613 unsigned short raw ;
614};
615#line 19 "include/linux/rwsem.h"
616struct rw_semaphore;
617#line 19
618struct rw_semaphore;
619#line 25 "include/linux/rwsem.h"
620struct rw_semaphore {
621 long count ;
622 raw_spinlock_t wait_lock ;
623 struct list_head wait_list ;
624};
625#line 49 "include/linux/wait.h"
626struct __wait_queue_head {
627 spinlock_t lock ;
628 struct list_head task_list ;
629};
630#line 53 "include/linux/wait.h"
631typedef struct __wait_queue_head wait_queue_head_t;
632#line 55
633struct task_struct;
634#line 25 "include/linux/completion.h"
635struct completion {
636 unsigned int done ;
637 wait_queue_head_t wait ;
638};
639#line 48 "include/linux/mutex.h"
640struct mutex {
641 atomic_t count ;
642 spinlock_t wait_lock ;
643 struct list_head wait_list ;
644 struct task_struct *owner ;
645 char const *name ;
646 void *magic ;
647};
648#line 69 "include/linux/mutex.h"
649struct mutex_waiter {
650 struct list_head list ;
651 struct task_struct *task ;
652 void *magic ;
653};
654#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
655struct __anonstruct_mm_context_t_44 {
656 void *ldt ;
657 int size ;
658 unsigned short ia32_compat ;
659 struct mutex lock ;
660 void *vdso ;
661};
662#line 11 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
663typedef struct __anonstruct_mm_context_t_44 mm_context_t;
664#line 23 "include/linux/mm_types.h"
665struct address_space;
666#line 23
667struct address_space;
668#line 40 "include/linux/mm_types.h"
669union __anonunion____missing_field_name_46 {
670 unsigned long index ;
671 void *freelist ;
672};
673#line 40 "include/linux/mm_types.h"
674struct __anonstruct____missing_field_name_50 {
675 unsigned int inuse : 16 ;
676 unsigned int objects : 15 ;
677 unsigned int frozen : 1 ;
678};
679#line 40 "include/linux/mm_types.h"
680union __anonunion____missing_field_name_49 {
681 atomic_t _mapcount ;
682 struct __anonstruct____missing_field_name_50 __annonCompField21 ;
683};
684#line 40 "include/linux/mm_types.h"
685struct __anonstruct____missing_field_name_48 {
686 union __anonunion____missing_field_name_49 __annonCompField22 ;
687 atomic_t _count ;
688};
689#line 40 "include/linux/mm_types.h"
690union __anonunion____missing_field_name_47 {
691 unsigned long counters ;
692 struct __anonstruct____missing_field_name_48 __annonCompField23 ;
693};
694#line 40 "include/linux/mm_types.h"
695struct __anonstruct____missing_field_name_45 {
696 union __anonunion____missing_field_name_46 __annonCompField20 ;
697 union __anonunion____missing_field_name_47 __annonCompField24 ;
698};
699#line 40 "include/linux/mm_types.h"
700struct __anonstruct____missing_field_name_52 {
701 struct page *next ;
702 int pages ;
703 int pobjects ;
704};
705#line 40 "include/linux/mm_types.h"
706union __anonunion____missing_field_name_51 {
707 struct list_head lru ;
708 struct __anonstruct____missing_field_name_52 __annonCompField26 ;
709};
710#line 40 "include/linux/mm_types.h"
711union __anonunion____missing_field_name_53 {
712 unsigned long private ;
713 struct kmem_cache *slab ;
714 struct page *first_page ;
715};
716#line 40 "include/linux/mm_types.h"
717struct page {
718 unsigned long flags ;
719 struct address_space *mapping ;
720 struct __anonstruct____missing_field_name_45 __annonCompField25 ;
721 union __anonunion____missing_field_name_51 __annonCompField27 ;
722 union __anonunion____missing_field_name_53 __annonCompField28 ;
723 unsigned long debug_flags ;
724} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
725#line 200 "include/linux/mm_types.h"
726struct __anonstruct_vm_set_55 {
727 struct list_head list ;
728 void *parent ;
729 struct vm_area_struct *head ;
730};
731#line 200 "include/linux/mm_types.h"
732union __anonunion_shared_54 {
733 struct __anonstruct_vm_set_55 vm_set ;
734 struct raw_prio_tree_node prio_tree_node ;
735};
736#line 200
737struct anon_vma;
738#line 200
739struct vm_operations_struct;
740#line 200
741struct mempolicy;
742#line 200 "include/linux/mm_types.h"
743struct vm_area_struct {
744 struct mm_struct *vm_mm ;
745 unsigned long vm_start ;
746 unsigned long vm_end ;
747 struct vm_area_struct *vm_next ;
748 struct vm_area_struct *vm_prev ;
749 pgprot_t vm_page_prot ;
750 unsigned long vm_flags ;
751 struct rb_node vm_rb ;
752 union __anonunion_shared_54 shared ;
753 struct list_head anon_vma_chain ;
754 struct anon_vma *anon_vma ;
755 struct vm_operations_struct const *vm_ops ;
756 unsigned long vm_pgoff ;
757 struct file *vm_file ;
758 void *vm_private_data ;
759 struct mempolicy *vm_policy ;
760};
761#line 257 "include/linux/mm_types.h"
762struct core_thread {
763 struct task_struct *task ;
764 struct core_thread *next ;
765};
766#line 262 "include/linux/mm_types.h"
767struct core_state {
768 atomic_t nr_threads ;
769 struct core_thread dumper ;
770 struct completion startup ;
771};
772#line 284 "include/linux/mm_types.h"
773struct mm_rss_stat {
774 atomic_long_t count[3] ;
775};
776#line 288
777struct linux_binfmt;
778#line 288
779struct mmu_notifier_mm;
780#line 288 "include/linux/mm_types.h"
781struct mm_struct {
782 struct vm_area_struct *mmap ;
783 struct rb_root mm_rb ;
784 struct vm_area_struct *mmap_cache ;
785 unsigned long (*get_unmapped_area)(struct file *filp , unsigned long addr , unsigned long len ,
786 unsigned long pgoff , unsigned long flags ) ;
787 void (*unmap_area)(struct mm_struct *mm , unsigned long addr ) ;
788 unsigned long mmap_base ;
789 unsigned long task_size ;
790 unsigned long cached_hole_size ;
791 unsigned long free_area_cache ;
792 pgd_t *pgd ;
793 atomic_t mm_users ;
794 atomic_t mm_count ;
795 int map_count ;
796 spinlock_t page_table_lock ;
797 struct rw_semaphore mmap_sem ;
798 struct list_head mmlist ;
799 unsigned long hiwater_rss ;
800 unsigned long hiwater_vm ;
801 unsigned long total_vm ;
802 unsigned long locked_vm ;
803 unsigned long pinned_vm ;
804 unsigned long shared_vm ;
805 unsigned long exec_vm ;
806 unsigned long stack_vm ;
807 unsigned long reserved_vm ;
808 unsigned long def_flags ;
809 unsigned long nr_ptes ;
810 unsigned long start_code ;
811 unsigned long end_code ;
812 unsigned long start_data ;
813 unsigned long end_data ;
814 unsigned long start_brk ;
815 unsigned long brk ;
816 unsigned long start_stack ;
817 unsigned long arg_start ;
818 unsigned long arg_end ;
819 unsigned long env_start ;
820 unsigned long env_end ;
821 unsigned long saved_auxv[44] ;
822 struct mm_rss_stat rss_stat ;
823 struct linux_binfmt *binfmt ;
824 cpumask_var_t cpu_vm_mask_var ;
825 mm_context_t context ;
826 unsigned int faultstamp ;
827 unsigned int token_priority ;
828 unsigned int last_interval ;
829 unsigned long flags ;
830 struct core_state *core_state ;
831 spinlock_t ioctx_lock ;
832 struct hlist_head ioctx_list ;
833 struct task_struct *owner ;
834 struct file *exe_file ;
835 unsigned long num_exe_file_vmas ;
836 struct mmu_notifier_mm *mmu_notifier_mm ;
837 pgtable_t pmd_huge_pte ;
838 struct cpumask cpumask_allocation ;
839};
840#line 7 "include/asm-generic/cputime.h"
841typedef unsigned long cputime_t;
842#line 18 "include/linux/ioport.h"
843struct resource {
844 resource_size_t start ;
845 resource_size_t end ;
846 char const *name ;
847 unsigned long flags ;
848 struct resource *parent ;
849 struct resource *sibling ;
850 struct resource *child ;
851};
852#line 202
853struct device;
854#line 182 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/x86_init.h"
855struct pci_dev;
856#line 182
857struct pci_dev;
858#line 103 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mpspec.h"
859struct device;
860#line 46 "include/linux/ktime.h"
861union ktime {
862 s64 tv64 ;
863};
864#line 59 "include/linux/ktime.h"
865typedef union ktime ktime_t;
866#line 10 "include/linux/timer.h"
867struct tvec_base;
868#line 10
869struct tvec_base;
870#line 12 "include/linux/timer.h"
871struct timer_list {
872 struct list_head entry ;
873 unsigned long expires ;
874 struct tvec_base *base ;
875 void (*function)(unsigned long ) ;
876 unsigned long data ;
877 int slack ;
878 int start_pid ;
879 void *start_site ;
880 char start_comm[16] ;
881};
882#line 289
883struct hrtimer;
884#line 289
885struct hrtimer;
886#line 290
887enum hrtimer_restart;
888#line 17 "include/linux/workqueue.h"
889struct work_struct;
890#line 17
891struct work_struct;
892#line 79 "include/linux/workqueue.h"
893struct work_struct {
894 atomic_long_t data ;
895 struct list_head entry ;
896 void (*func)(struct work_struct *work ) ;
897};
898#line 92 "include/linux/workqueue.h"
899struct delayed_work {
900 struct work_struct work ;
901 struct timer_list timer ;
902};
903#line 42 "include/linux/pm.h"
904struct device;
905#line 50 "include/linux/pm.h"
906struct pm_message {
907 int event ;
908};
909#line 50 "include/linux/pm.h"
910typedef struct pm_message pm_message_t;
911#line 264 "include/linux/pm.h"
912struct dev_pm_ops {
913 int (*prepare)(struct device *dev ) ;
914 void (*complete)(struct device *dev ) ;
915 int (*suspend)(struct device *dev ) ;
916 int (*resume)(struct device *dev ) ;
917 int (*freeze)(struct device *dev ) ;
918 int (*thaw)(struct device *dev ) ;
919 int (*poweroff)(struct device *dev ) ;
920 int (*restore)(struct device *dev ) ;
921 int (*suspend_late)(struct device *dev ) ;
922 int (*resume_early)(struct device *dev ) ;
923 int (*freeze_late)(struct device *dev ) ;
924 int (*thaw_early)(struct device *dev ) ;
925 int (*poweroff_late)(struct device *dev ) ;
926 int (*restore_early)(struct device *dev ) ;
927 int (*suspend_noirq)(struct device *dev ) ;
928 int (*resume_noirq)(struct device *dev ) ;
929 int (*freeze_noirq)(struct device *dev ) ;
930 int (*thaw_noirq)(struct device *dev ) ;
931 int (*poweroff_noirq)(struct device *dev ) ;
932 int (*restore_noirq)(struct device *dev ) ;
933 int (*runtime_suspend)(struct device *dev ) ;
934 int (*runtime_resume)(struct device *dev ) ;
935 int (*runtime_idle)(struct device *dev ) ;
936};
937#line 458
938enum rpm_status {
939 RPM_ACTIVE = 0,
940 RPM_RESUMING = 1,
941 RPM_SUSPENDED = 2,
942 RPM_SUSPENDING = 3
943} ;
944#line 480
945enum rpm_request {
946 RPM_REQ_NONE = 0,
947 RPM_REQ_IDLE = 1,
948 RPM_REQ_SUSPEND = 2,
949 RPM_REQ_AUTOSUSPEND = 3,
950 RPM_REQ_RESUME = 4
951} ;
952#line 488
953struct wakeup_source;
954#line 488
955struct wakeup_source;
956#line 495 "include/linux/pm.h"
957struct pm_subsys_data {
958 spinlock_t lock ;
959 unsigned int refcount ;
960};
961#line 506
962struct dev_pm_qos_request;
963#line 506
964struct pm_qos_constraints;
965#line 506 "include/linux/pm.h"
966struct dev_pm_info {
967 pm_message_t power_state ;
968 unsigned int can_wakeup : 1 ;
969 unsigned int async_suspend : 1 ;
970 bool is_prepared : 1 ;
971 bool is_suspended : 1 ;
972 bool ignore_children : 1 ;
973 spinlock_t lock ;
974 struct list_head entry ;
975 struct completion completion ;
976 struct wakeup_source *wakeup ;
977 bool wakeup_path : 1 ;
978 struct timer_list suspend_timer ;
979 unsigned long timer_expires ;
980 struct work_struct work ;
981 wait_queue_head_t wait_queue ;
982 atomic_t usage_count ;
983 atomic_t child_count ;
984 unsigned int disable_depth : 3 ;
985 unsigned int idle_notification : 1 ;
986 unsigned int request_pending : 1 ;
987 unsigned int deferred_resume : 1 ;
988 unsigned int run_wake : 1 ;
989 unsigned int runtime_auto : 1 ;
990 unsigned int no_callbacks : 1 ;
991 unsigned int irq_safe : 1 ;
992 unsigned int use_autosuspend : 1 ;
993 unsigned int timer_autosuspends : 1 ;
994 enum rpm_request request ;
995 enum rpm_status runtime_status ;
996 int runtime_error ;
997 int autosuspend_delay ;
998 unsigned long last_busy ;
999 unsigned long active_jiffies ;
1000 unsigned long suspended_jiffies ;
1001 unsigned long accounting_timestamp ;
1002 ktime_t suspend_time ;
1003 s64 max_time_suspended_ns ;
1004 struct dev_pm_qos_request *pq_req ;
1005 struct pm_subsys_data *subsys_data ;
1006 struct pm_qos_constraints *constraints ;
1007};
1008#line 564 "include/linux/pm.h"
1009struct dev_pm_domain {
1010 struct dev_pm_ops ops ;
1011};
1012#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/topology.h"
1013struct pci_bus;
1014#line 174
1015struct pci_bus;
1016#line 71 "include/asm-generic/iomap.h"
1017struct pci_dev;
1018#line 14 "include/asm-generic/pci_iomap.h"
1019struct pci_dev;
1020#line 8 "include/linux/vmalloc.h"
1021struct vm_area_struct;
1022#line 188 "include/linux/rcupdate.h"
1023struct notifier_block;
1024#line 188
1025struct notifier_block;
1026#line 84 "include/linux/sem.h"
1027struct task_struct;
1028#line 101
1029struct sem_undo_list;
1030#line 101 "include/linux/sem.h"
1031struct sysv_sem {
1032 struct sem_undo_list *undo_list ;
1033};
1034#line 10 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1035struct siginfo;
1036#line 10
1037struct siginfo;
1038#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1039struct __anonstruct_sigset_t_150 {
1040 unsigned long sig[1] ;
1041};
1042#line 30 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1043typedef struct __anonstruct_sigset_t_150 sigset_t;
1044#line 17 "include/asm-generic/signal-defs.h"
1045typedef void __signalfn_t(int );
1046#line 18 "include/asm-generic/signal-defs.h"
1047typedef __signalfn_t *__sighandler_t;
1048#line 20 "include/asm-generic/signal-defs.h"
1049typedef void __restorefn_t(void);
1050#line 21 "include/asm-generic/signal-defs.h"
1051typedef __restorefn_t *__sigrestore_t;
1052#line 167 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1053struct sigaction {
1054 __sighandler_t sa_handler ;
1055 unsigned long sa_flags ;
1056 __sigrestore_t sa_restorer ;
1057 sigset_t sa_mask ;
1058};
1059#line 174 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1060struct k_sigaction {
1061 struct sigaction sa ;
1062};
1063#line 7 "include/asm-generic/siginfo.h"
1064union sigval {
1065 int sival_int ;
1066 void *sival_ptr ;
1067};
1068#line 7 "include/asm-generic/siginfo.h"
1069typedef union sigval sigval_t;
1070#line 48 "include/asm-generic/siginfo.h"
1071struct __anonstruct__kill_152 {
1072 __kernel_pid_t _pid ;
1073 __kernel_uid32_t _uid ;
1074};
1075#line 48 "include/asm-generic/siginfo.h"
1076struct __anonstruct__timer_153 {
1077 __kernel_timer_t _tid ;
1078 int _overrun ;
1079 char _pad[sizeof(__kernel_uid32_t ) - sizeof(int )] ;
1080 sigval_t _sigval ;
1081 int _sys_private ;
1082};
1083#line 48 "include/asm-generic/siginfo.h"
1084struct __anonstruct__rt_154 {
1085 __kernel_pid_t _pid ;
1086 __kernel_uid32_t _uid ;
1087 sigval_t _sigval ;
1088};
1089#line 48 "include/asm-generic/siginfo.h"
1090struct __anonstruct__sigchld_155 {
1091 __kernel_pid_t _pid ;
1092 __kernel_uid32_t _uid ;
1093 int _status ;
1094 __kernel_clock_t _utime ;
1095 __kernel_clock_t _stime ;
1096};
1097#line 48 "include/asm-generic/siginfo.h"
1098struct __anonstruct__sigfault_156 {
1099 void *_addr ;
1100 short _addr_lsb ;
1101};
1102#line 48 "include/asm-generic/siginfo.h"
1103struct __anonstruct__sigpoll_157 {
1104 long _band ;
1105 int _fd ;
1106};
1107#line 48 "include/asm-generic/siginfo.h"
1108union __anonunion__sifields_151 {
1109 int _pad[(128UL - 4UL * sizeof(int )) / sizeof(int )] ;
1110 struct __anonstruct__kill_152 _kill ;
1111 struct __anonstruct__timer_153 _timer ;
1112 struct __anonstruct__rt_154 _rt ;
1113 struct __anonstruct__sigchld_155 _sigchld ;
1114 struct __anonstruct__sigfault_156 _sigfault ;
1115 struct __anonstruct__sigpoll_157 _sigpoll ;
1116};
1117#line 48 "include/asm-generic/siginfo.h"
1118struct siginfo {
1119 int si_signo ;
1120 int si_errno ;
1121 int si_code ;
1122 union __anonunion__sifields_151 _sifields ;
1123};
1124#line 48 "include/asm-generic/siginfo.h"
1125typedef struct siginfo siginfo_t;
1126#line 288
1127struct siginfo;
1128#line 10 "include/linux/signal.h"
1129struct task_struct;
1130#line 18
1131struct user_struct;
1132#line 28 "include/linux/signal.h"
1133struct sigpending {
1134 struct list_head list ;
1135 sigset_t signal ;
1136};
1137#line 239
1138struct timespec;
1139#line 240
1140struct pt_regs;
1141#line 6 "include/linux/pid.h"
1142enum pid_type {
1143 PIDTYPE_PID = 0,
1144 PIDTYPE_PGID = 1,
1145 PIDTYPE_SID = 2,
1146 PIDTYPE_MAX = 3
1147} ;
1148#line 50
1149struct pid_namespace;
1150#line 50 "include/linux/pid.h"
1151struct upid {
1152 int nr ;
1153 struct pid_namespace *ns ;
1154 struct hlist_node pid_chain ;
1155};
1156#line 57 "include/linux/pid.h"
1157struct pid {
1158 atomic_t count ;
1159 unsigned int level ;
1160 struct hlist_head tasks[3] ;
1161 struct rcu_head rcu ;
1162 struct upid numbers[1] ;
1163};
1164#line 69 "include/linux/pid.h"
1165struct pid_link {
1166 struct hlist_node node ;
1167 struct pid *pid ;
1168};
1169#line 100
1170struct pid_namespace;
1171#line 60 "include/linux/pageblock-flags.h"
1172struct page;
1173#line 50 "include/linux/notifier.h"
1174struct notifier_block {
1175 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
1176 struct notifier_block *next ;
1177 int priority ;
1178};
1179#line 61 "include/linux/notifier.h"
1180struct blocking_notifier_head {
1181 struct rw_semaphore rwsem ;
1182 struct notifier_block *head ;
1183};
1184#line 9 "include/linux/memory_hotplug.h"
1185struct page;
1186#line 798 "include/linux/mmzone.h"
1187struct ctl_table;
1188#line 798
1189struct ctl_table;
1190#line 994
1191struct page;
1192#line 18 "include/linux/percpu_counter.h"
1193struct percpu_counter {
1194 raw_spinlock_t lock ;
1195 s64 count ;
1196 struct list_head list ;
1197 s32 *counters ;
1198};
1199#line 10 "include/linux/seccomp.h"
1200struct __anonstruct_seccomp_t_162 {
1201 int mode ;
1202};
1203#line 10 "include/linux/seccomp.h"
1204typedef struct __anonstruct_seccomp_t_162 seccomp_t;
1205#line 81 "include/linux/plist.h"
1206struct plist_head {
1207 struct list_head node_list ;
1208};
1209#line 85 "include/linux/plist.h"
1210struct plist_node {
1211 int prio ;
1212 struct list_head prio_list ;
1213 struct list_head node_list ;
1214};
1215#line 28 "include/linux/rtmutex.h"
1216struct rt_mutex {
1217 raw_spinlock_t wait_lock ;
1218 struct plist_head wait_list ;
1219 struct task_struct *owner ;
1220 int save_state ;
1221 char const *name ;
1222 char const *file ;
1223 int line ;
1224 void *magic ;
1225};
1226#line 40
1227struct rt_mutex_waiter;
1228#line 40
1229struct rt_mutex_waiter;
1230#line 42 "include/linux/resource.h"
1231struct rlimit {
1232 unsigned long rlim_cur ;
1233 unsigned long rlim_max ;
1234};
1235#line 81
1236struct task_struct;
1237#line 8 "include/linux/timerqueue.h"
1238struct timerqueue_node {
1239 struct rb_node node ;
1240 ktime_t expires ;
1241};
1242#line 13 "include/linux/timerqueue.h"
1243struct timerqueue_head {
1244 struct rb_root head ;
1245 struct timerqueue_node *next ;
1246};
1247#line 27 "include/linux/hrtimer.h"
1248struct hrtimer_clock_base;
1249#line 27
1250struct hrtimer_clock_base;
1251#line 28
1252struct hrtimer_cpu_base;
1253#line 28
1254struct hrtimer_cpu_base;
1255#line 44
1256enum hrtimer_restart {
1257 HRTIMER_NORESTART = 0,
1258 HRTIMER_RESTART = 1
1259} ;
1260#line 108 "include/linux/hrtimer.h"
1261struct hrtimer {
1262 struct timerqueue_node node ;
1263 ktime_t _softexpires ;
1264 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1265 struct hrtimer_clock_base *base ;
1266 unsigned long state ;
1267 int start_pid ;
1268 void *start_site ;
1269 char start_comm[16] ;
1270};
1271#line 145 "include/linux/hrtimer.h"
1272struct hrtimer_clock_base {
1273 struct hrtimer_cpu_base *cpu_base ;
1274 int index ;
1275 clockid_t clockid ;
1276 struct timerqueue_head active ;
1277 ktime_t resolution ;
1278 ktime_t (*get_time)(void) ;
1279 ktime_t softirq_time ;
1280 ktime_t offset ;
1281};
1282#line 178 "include/linux/hrtimer.h"
1283struct hrtimer_cpu_base {
1284 raw_spinlock_t lock ;
1285 unsigned long active_bases ;
1286 ktime_t expires_next ;
1287 int hres_active ;
1288 int hang_detected ;
1289 unsigned long nr_events ;
1290 unsigned long nr_retries ;
1291 unsigned long nr_hangs ;
1292 ktime_t max_hang_time ;
1293 struct hrtimer_clock_base clock_base[3] ;
1294};
1295#line 11 "include/linux/task_io_accounting.h"
1296struct task_io_accounting {
1297 u64 rchar ;
1298 u64 wchar ;
1299 u64 syscr ;
1300 u64 syscw ;
1301 u64 read_bytes ;
1302 u64 write_bytes ;
1303 u64 cancelled_write_bytes ;
1304};
1305#line 13 "include/linux/latencytop.h"
1306struct task_struct;
1307#line 20 "include/linux/latencytop.h"
1308struct latency_record {
1309 unsigned long backtrace[12] ;
1310 unsigned int count ;
1311 unsigned long time ;
1312 unsigned long max ;
1313};
1314#line 29 "include/linux/sysctl.h"
1315struct completion;
1316#line 938
1317struct ctl_table;
1318#line 939
1319struct nsproxy;
1320#line 939
1321struct nsproxy;
1322#line 940
1323struct ctl_table_root;
1324#line 940
1325struct ctl_table_root;
1326#line 941
1327struct ctl_table_header;
1328#line 941
1329struct ctl_table_header;
1330#line 942
1331struct ctl_dir;
1332#line 942
1333struct ctl_dir;
1334#line 946 "include/linux/sysctl.h"
1335typedef int proc_handler(struct ctl_table *ctl , int write , void *buffer , size_t *lenp ,
1336 loff_t *ppos );
1337#line 996 "include/linux/sysctl.h"
1338struct ctl_table_poll {
1339 atomic_t event ;
1340 wait_queue_head_t wait ;
1341};
1342#line 1014 "include/linux/sysctl.h"
1343struct ctl_table {
1344 char const *procname ;
1345 void *data ;
1346 int maxlen ;
1347 umode_t mode ;
1348 struct ctl_table *child ;
1349 proc_handler *proc_handler ;
1350 struct ctl_table_poll *poll ;
1351 void *extra1 ;
1352 void *extra2 ;
1353};
1354#line 1027 "include/linux/sysctl.h"
1355struct ctl_node {
1356 struct rb_node node ;
1357 struct ctl_table_header *header ;
1358};
1359#line 1034 "include/linux/sysctl.h"
1360struct __anonstruct____missing_field_name_218 {
1361 struct ctl_table *ctl_table ;
1362 int used ;
1363 int count ;
1364 int nreg ;
1365};
1366#line 1034 "include/linux/sysctl.h"
1367union __anonunion____missing_field_name_217 {
1368 struct __anonstruct____missing_field_name_218 __annonCompField39 ;
1369 struct rcu_head rcu ;
1370};
1371#line 1034
1372struct ctl_table_set;
1373#line 1034 "include/linux/sysctl.h"
1374struct ctl_table_header {
1375 union __anonunion____missing_field_name_217 __annonCompField40 ;
1376 struct completion *unregistering ;
1377 struct ctl_table *ctl_table_arg ;
1378 struct ctl_table_root *root ;
1379 struct ctl_table_set *set ;
1380 struct ctl_dir *parent ;
1381 struct ctl_node *node ;
1382};
1383#line 1053 "include/linux/sysctl.h"
1384struct ctl_dir {
1385 struct ctl_table_header header ;
1386 struct rb_root root ;
1387};
1388#line 1059 "include/linux/sysctl.h"
1389struct ctl_table_set {
1390 int (*is_seen)(struct ctl_table_set * ) ;
1391 struct ctl_dir dir ;
1392};
1393#line 1064 "include/linux/sysctl.h"
1394struct ctl_table_root {
1395 struct ctl_table_set default_set ;
1396 struct ctl_table_set *(*lookup)(struct ctl_table_root *root , struct nsproxy *namespaces ) ;
1397 int (*permissions)(struct ctl_table_root *root , struct nsproxy *namespaces , struct ctl_table *table ) ;
1398};
1399#line 29 "include/linux/key.h"
1400typedef int32_t key_serial_t;
1401#line 32 "include/linux/key.h"
1402typedef uint32_t key_perm_t;
1403#line 34
1404struct key;
1405#line 34
1406struct key;
1407#line 74
1408struct seq_file;
1409#line 75
1410struct user_struct;
1411#line 76
1412struct signal_struct;
1413#line 76
1414struct signal_struct;
1415#line 77
1416struct cred;
1417#line 77
1418struct cred;
1419#line 79
1420struct key_type;
1421#line 79
1422struct key_type;
1423#line 81
1424struct keyring_list;
1425#line 81
1426struct keyring_list;
1427#line 124
1428struct key_user;
1429#line 124 "include/linux/key.h"
1430union __anonunion____missing_field_name_219 {
1431 time_t expiry ;
1432 time_t revoked_at ;
1433};
1434#line 124 "include/linux/key.h"
1435union __anonunion_type_data_220 {
1436 struct list_head link ;
1437 unsigned long x[2] ;
1438 void *p[2] ;
1439 int reject_error ;
1440};
1441#line 124 "include/linux/key.h"
1442union __anonunion_payload_221 {
1443 unsigned long value ;
1444 void *rcudata ;
1445 void *data ;
1446 struct keyring_list *subscriptions ;
1447};
1448#line 124 "include/linux/key.h"
1449struct key {
1450 atomic_t usage ;
1451 key_serial_t serial ;
1452 struct rb_node serial_node ;
1453 struct key_type *type ;
1454 struct rw_semaphore sem ;
1455 struct key_user *user ;
1456 void *security ;
1457 union __anonunion____missing_field_name_219 __annonCompField41 ;
1458 uid_t uid ;
1459 gid_t gid ;
1460 key_perm_t perm ;
1461 unsigned short quotalen ;
1462 unsigned short datalen ;
1463 unsigned long flags ;
1464 char *description ;
1465 union __anonunion_type_data_220 type_data ;
1466 union __anonunion_payload_221 payload ;
1467};
1468#line 18 "include/linux/selinux.h"
1469struct audit_context;
1470#line 18
1471struct audit_context;
1472#line 21 "include/linux/cred.h"
1473struct user_struct;
1474#line 22
1475struct cred;
1476#line 23
1477struct inode;
1478#line 23
1479struct inode;
1480#line 31 "include/linux/cred.h"
1481struct group_info {
1482 atomic_t usage ;
1483 int ngroups ;
1484 int nblocks ;
1485 gid_t small_block[32] ;
1486 gid_t *blocks[0] ;
1487};
1488#line 83 "include/linux/cred.h"
1489struct thread_group_cred {
1490 atomic_t usage ;
1491 pid_t tgid ;
1492 spinlock_t lock ;
1493 struct key *session_keyring ;
1494 struct key *process_keyring ;
1495 struct rcu_head rcu ;
1496};
1497#line 116 "include/linux/cred.h"
1498struct cred {
1499 atomic_t usage ;
1500 atomic_t subscribers ;
1501 void *put_addr ;
1502 unsigned int magic ;
1503 uid_t uid ;
1504 gid_t gid ;
1505 uid_t suid ;
1506 gid_t sgid ;
1507 uid_t euid ;
1508 gid_t egid ;
1509 uid_t fsuid ;
1510 gid_t fsgid ;
1511 unsigned int securebits ;
1512 kernel_cap_t cap_inheritable ;
1513 kernel_cap_t cap_permitted ;
1514 kernel_cap_t cap_effective ;
1515 kernel_cap_t cap_bset ;
1516 unsigned char jit_keyring ;
1517 struct key *thread_keyring ;
1518 struct key *request_key_auth ;
1519 struct thread_group_cred *tgcred ;
1520 void *security ;
1521 struct user_struct *user ;
1522 struct user_namespace *user_ns ;
1523 struct group_info *group_info ;
1524 struct rcu_head rcu ;
1525};
1526#line 61 "include/linux/llist.h"
1527struct llist_node;
1528#line 65 "include/linux/llist.h"
1529struct llist_node {
1530 struct llist_node *next ;
1531};
1532#line 97 "include/linux/sched.h"
1533struct futex_pi_state;
1534#line 97
1535struct futex_pi_state;
1536#line 98
1537struct robust_list_head;
1538#line 98
1539struct robust_list_head;
1540#line 99
1541struct bio_list;
1542#line 99
1543struct bio_list;
1544#line 100
1545struct fs_struct;
1546#line 100
1547struct fs_struct;
1548#line 101
1549struct perf_event_context;
1550#line 101
1551struct perf_event_context;
1552#line 102
1553struct blk_plug;
1554#line 102
1555struct blk_plug;
1556#line 150
1557struct seq_file;
1558#line 151
1559struct cfs_rq;
1560#line 151
1561struct cfs_rq;
1562#line 259
1563struct task_struct;
1564#line 366
1565struct nsproxy;
1566#line 367
1567struct user_namespace;
1568#line 58 "include/linux/aio_abi.h"
1569struct io_event {
1570 __u64 data ;
1571 __u64 obj ;
1572 __s64 res ;
1573 __s64 res2 ;
1574};
1575#line 16 "include/linux/uio.h"
1576struct iovec {
1577 void *iov_base ;
1578 __kernel_size_t iov_len ;
1579};
1580#line 15 "include/linux/aio.h"
1581struct kioctx;
1582#line 15
1583struct kioctx;
1584#line 87 "include/linux/aio.h"
1585union __anonunion_ki_obj_223 {
1586 void *user ;
1587 struct task_struct *tsk ;
1588};
1589#line 87
1590struct eventfd_ctx;
1591#line 87 "include/linux/aio.h"
1592struct kiocb {
1593 struct list_head ki_run_list ;
1594 unsigned long ki_flags ;
1595 int ki_users ;
1596 unsigned int ki_key ;
1597 struct file *ki_filp ;
1598 struct kioctx *ki_ctx ;
1599 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
1600 ssize_t (*ki_retry)(struct kiocb * ) ;
1601 void (*ki_dtor)(struct kiocb * ) ;
1602 union __anonunion_ki_obj_223 ki_obj ;
1603 __u64 ki_user_data ;
1604 loff_t ki_pos ;
1605 void *private ;
1606 unsigned short ki_opcode ;
1607 size_t ki_nbytes ;
1608 char *ki_buf ;
1609 size_t ki_left ;
1610 struct iovec ki_inline_vec ;
1611 struct iovec *ki_iovec ;
1612 unsigned long ki_nr_segs ;
1613 unsigned long ki_cur_seg ;
1614 struct list_head ki_list ;
1615 struct list_head ki_batch ;
1616 struct eventfd_ctx *ki_eventfd ;
1617};
1618#line 166 "include/linux/aio.h"
1619struct aio_ring_info {
1620 unsigned long mmap_base ;
1621 unsigned long mmap_size ;
1622 struct page **ring_pages ;
1623 spinlock_t ring_lock ;
1624 long nr_pages ;
1625 unsigned int nr ;
1626 unsigned int tail ;
1627 struct page *internal_pages[8] ;
1628};
1629#line 179 "include/linux/aio.h"
1630struct kioctx {
1631 atomic_t users ;
1632 int dead ;
1633 struct mm_struct *mm ;
1634 unsigned long user_id ;
1635 struct hlist_node list ;
1636 wait_queue_head_t wait ;
1637 spinlock_t ctx_lock ;
1638 int reqs_active ;
1639 struct list_head active_reqs ;
1640 struct list_head run_list ;
1641 unsigned int max_reqs ;
1642 struct aio_ring_info ring_info ;
1643 struct delayed_work wq ;
1644 struct rcu_head rcu_head ;
1645};
1646#line 214
1647struct mm_struct;
1648#line 443 "include/linux/sched.h"
1649struct sighand_struct {
1650 atomic_t count ;
1651 struct k_sigaction action[64] ;
1652 spinlock_t siglock ;
1653 wait_queue_head_t signalfd_wqh ;
1654};
1655#line 450 "include/linux/sched.h"
1656struct pacct_struct {
1657 int ac_flag ;
1658 long ac_exitcode ;
1659 unsigned long ac_mem ;
1660 cputime_t ac_utime ;
1661 cputime_t ac_stime ;
1662 unsigned long ac_minflt ;
1663 unsigned long ac_majflt ;
1664};
1665#line 458 "include/linux/sched.h"
1666struct cpu_itimer {
1667 cputime_t expires ;
1668 cputime_t incr ;
1669 u32 error ;
1670 u32 incr_error ;
1671};
1672#line 476 "include/linux/sched.h"
1673struct task_cputime {
1674 cputime_t utime ;
1675 cputime_t stime ;
1676 unsigned long long sum_exec_runtime ;
1677};
1678#line 512 "include/linux/sched.h"
1679struct thread_group_cputimer {
1680 struct task_cputime cputime ;
1681 int running ;
1682 raw_spinlock_t lock ;
1683};
1684#line 519
1685struct autogroup;
1686#line 519
1687struct autogroup;
1688#line 528
1689struct tty_struct;
1690#line 528
1691struct taskstats;
1692#line 528
1693struct tty_audit_buf;
1694#line 528 "include/linux/sched.h"
1695struct signal_struct {
1696 atomic_t sigcnt ;
1697 atomic_t live ;
1698 int nr_threads ;
1699 wait_queue_head_t wait_chldexit ;
1700 struct task_struct *curr_target ;
1701 struct sigpending shared_pending ;
1702 int group_exit_code ;
1703 int notify_count ;
1704 struct task_struct *group_exit_task ;
1705 int group_stop_count ;
1706 unsigned int flags ;
1707 unsigned int is_child_subreaper : 1 ;
1708 unsigned int has_child_subreaper : 1 ;
1709 struct list_head posix_timers ;
1710 struct hrtimer real_timer ;
1711 struct pid *leader_pid ;
1712 ktime_t it_real_incr ;
1713 struct cpu_itimer it[2] ;
1714 struct thread_group_cputimer cputimer ;
1715 struct task_cputime cputime_expires ;
1716 struct list_head cpu_timers[3] ;
1717 struct pid *tty_old_pgrp ;
1718 int leader ;
1719 struct tty_struct *tty ;
1720 struct autogroup *autogroup ;
1721 cputime_t utime ;
1722 cputime_t stime ;
1723 cputime_t cutime ;
1724 cputime_t cstime ;
1725 cputime_t gtime ;
1726 cputime_t cgtime ;
1727 cputime_t prev_utime ;
1728 cputime_t prev_stime ;
1729 unsigned long nvcsw ;
1730 unsigned long nivcsw ;
1731 unsigned long cnvcsw ;
1732 unsigned long cnivcsw ;
1733 unsigned long min_flt ;
1734 unsigned long maj_flt ;
1735 unsigned long cmin_flt ;
1736 unsigned long cmaj_flt ;
1737 unsigned long inblock ;
1738 unsigned long oublock ;
1739 unsigned long cinblock ;
1740 unsigned long coublock ;
1741 unsigned long maxrss ;
1742 unsigned long cmaxrss ;
1743 struct task_io_accounting ioac ;
1744 unsigned long long sum_sched_runtime ;
1745 struct rlimit rlim[16] ;
1746 struct pacct_struct pacct ;
1747 struct taskstats *stats ;
1748 unsigned int audit_tty ;
1749 struct tty_audit_buf *tty_audit_buf ;
1750 struct rw_semaphore group_rwsem ;
1751 int oom_adj ;
1752 int oom_score_adj ;
1753 int oom_score_adj_min ;
1754 struct mutex cred_guard_mutex ;
1755};
1756#line 703 "include/linux/sched.h"
1757struct user_struct {
1758 atomic_t __count ;
1759 atomic_t processes ;
1760 atomic_t files ;
1761 atomic_t sigpending ;
1762 atomic_t inotify_watches ;
1763 atomic_t inotify_devs ;
1764 atomic_t fanotify_listeners ;
1765 atomic_long_t epoll_watches ;
1766 unsigned long mq_bytes ;
1767 unsigned long locked_shm ;
1768 struct key *uid_keyring ;
1769 struct key *session_keyring ;
1770 struct hlist_node uidhash_node ;
1771 uid_t uid ;
1772 struct user_namespace *user_ns ;
1773 atomic_long_t locked_vm ;
1774};
1775#line 747
1776struct backing_dev_info;
1777#line 747
1778struct backing_dev_info;
1779#line 748
1780struct reclaim_state;
1781#line 748
1782struct reclaim_state;
1783#line 751 "include/linux/sched.h"
1784struct sched_info {
1785 unsigned long pcount ;
1786 unsigned long long run_delay ;
1787 unsigned long long last_arrival ;
1788 unsigned long long last_queued ;
1789};
1790#line 763 "include/linux/sched.h"
1791struct task_delay_info {
1792 spinlock_t lock ;
1793 unsigned int flags ;
1794 struct timespec blkio_start ;
1795 struct timespec blkio_end ;
1796 u64 blkio_delay ;
1797 u64 swapin_delay ;
1798 u32 blkio_count ;
1799 u32 swapin_count ;
1800 struct timespec freepages_start ;
1801 struct timespec freepages_end ;
1802 u64 freepages_delay ;
1803 u32 freepages_count ;
1804};
1805#line 1088
1806struct io_context;
1807#line 1088
1808struct io_context;
1809#line 1097
1810struct audit_context;
1811#line 1098
1812struct mempolicy;
1813#line 1099
1814struct pipe_inode_info;
1815#line 1099
1816struct pipe_inode_info;
1817#line 1102
1818struct rq;
1819#line 1102
1820struct rq;
1821#line 1122 "include/linux/sched.h"
1822struct sched_class {
1823 struct sched_class const *next ;
1824 void (*enqueue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
1825 void (*dequeue_task)(struct rq *rq , struct task_struct *p , int flags ) ;
1826 void (*yield_task)(struct rq *rq ) ;
1827 bool (*yield_to_task)(struct rq *rq , struct task_struct *p , bool preempt ) ;
1828 void (*check_preempt_curr)(struct rq *rq , struct task_struct *p , int flags ) ;
1829 struct task_struct *(*pick_next_task)(struct rq *rq ) ;
1830 void (*put_prev_task)(struct rq *rq , struct task_struct *p ) ;
1831 int (*select_task_rq)(struct task_struct *p , int sd_flag , int flags ) ;
1832 void (*pre_schedule)(struct rq *this_rq , struct task_struct *task ) ;
1833 void (*post_schedule)(struct rq *this_rq ) ;
1834 void (*task_waking)(struct task_struct *task ) ;
1835 void (*task_woken)(struct rq *this_rq , struct task_struct *task ) ;
1836 void (*set_cpus_allowed)(struct task_struct *p , struct cpumask const *newmask ) ;
1837 void (*rq_online)(struct rq *rq ) ;
1838 void (*rq_offline)(struct rq *rq ) ;
1839 void (*set_curr_task)(struct rq *rq ) ;
1840 void (*task_tick)(struct rq *rq , struct task_struct *p , int queued ) ;
1841 void (*task_fork)(struct task_struct *p ) ;
1842 void (*switched_from)(struct rq *this_rq , struct task_struct *task ) ;
1843 void (*switched_to)(struct rq *this_rq , struct task_struct *task ) ;
1844 void (*prio_changed)(struct rq *this_rq , struct task_struct *task , int oldprio ) ;
1845 unsigned int (*get_rr_interval)(struct rq *rq , struct task_struct *task ) ;
1846 void (*task_move_group)(struct task_struct *p , int on_rq ) ;
1847};
1848#line 1167 "include/linux/sched.h"
1849struct load_weight {
1850 unsigned long weight ;
1851 unsigned long inv_weight ;
1852};
1853#line 1172 "include/linux/sched.h"
1854struct sched_statistics {
1855 u64 wait_start ;
1856 u64 wait_max ;
1857 u64 wait_count ;
1858 u64 wait_sum ;
1859 u64 iowait_count ;
1860 u64 iowait_sum ;
1861 u64 sleep_start ;
1862 u64 sleep_max ;
1863 s64 sum_sleep_runtime ;
1864 u64 block_start ;
1865 u64 block_max ;
1866 u64 exec_max ;
1867 u64 slice_max ;
1868 u64 nr_migrations_cold ;
1869 u64 nr_failed_migrations_affine ;
1870 u64 nr_failed_migrations_running ;
1871 u64 nr_failed_migrations_hot ;
1872 u64 nr_forced_migrations ;
1873 u64 nr_wakeups ;
1874 u64 nr_wakeups_sync ;
1875 u64 nr_wakeups_migrate ;
1876 u64 nr_wakeups_local ;
1877 u64 nr_wakeups_remote ;
1878 u64 nr_wakeups_affine ;
1879 u64 nr_wakeups_affine_attempts ;
1880 u64 nr_wakeups_passive ;
1881 u64 nr_wakeups_idle ;
1882};
1883#line 1207 "include/linux/sched.h"
1884struct sched_entity {
1885 struct load_weight load ;
1886 struct rb_node run_node ;
1887 struct list_head group_node ;
1888 unsigned int on_rq ;
1889 u64 exec_start ;
1890 u64 sum_exec_runtime ;
1891 u64 vruntime ;
1892 u64 prev_sum_exec_runtime ;
1893 u64 nr_migrations ;
1894 struct sched_statistics statistics ;
1895 struct sched_entity *parent ;
1896 struct cfs_rq *cfs_rq ;
1897 struct cfs_rq *my_q ;
1898};
1899#line 1233
1900struct rt_rq;
1901#line 1233 "include/linux/sched.h"
1902struct sched_rt_entity {
1903 struct list_head run_list ;
1904 unsigned long timeout ;
1905 unsigned int time_slice ;
1906 int nr_cpus_allowed ;
1907 struct sched_rt_entity *back ;
1908 struct sched_rt_entity *parent ;
1909 struct rt_rq *rt_rq ;
1910 struct rt_rq *my_q ;
1911};
1912#line 1264
1913struct files_struct;
1914#line 1264
1915struct css_set;
1916#line 1264
1917struct compat_robust_list_head;
1918#line 1264
1919struct mem_cgroup;
1920#line 1264 "include/linux/sched.h"
1921struct memcg_batch_info {
1922 int do_batch ;
1923 struct mem_cgroup *memcg ;
1924 unsigned long nr_pages ;
1925 unsigned long memsw_nr_pages ;
1926};
1927#line 1264 "include/linux/sched.h"
1928struct task_struct {
1929 long volatile state ;
1930 void *stack ;
1931 atomic_t usage ;
1932 unsigned int flags ;
1933 unsigned int ptrace ;
1934 struct llist_node wake_entry ;
1935 int on_cpu ;
1936 int on_rq ;
1937 int prio ;
1938 int static_prio ;
1939 int normal_prio ;
1940 unsigned int rt_priority ;
1941 struct sched_class const *sched_class ;
1942 struct sched_entity se ;
1943 struct sched_rt_entity rt ;
1944 struct hlist_head preempt_notifiers ;
1945 unsigned char fpu_counter ;
1946 unsigned int policy ;
1947 cpumask_t cpus_allowed ;
1948 struct sched_info sched_info ;
1949 struct list_head tasks ;
1950 struct plist_node pushable_tasks ;
1951 struct mm_struct *mm ;
1952 struct mm_struct *active_mm ;
1953 unsigned int brk_randomized : 1 ;
1954 int exit_state ;
1955 int exit_code ;
1956 int exit_signal ;
1957 int pdeath_signal ;
1958 unsigned int jobctl ;
1959 unsigned int personality ;
1960 unsigned int did_exec : 1 ;
1961 unsigned int in_execve : 1 ;
1962 unsigned int in_iowait : 1 ;
1963 unsigned int sched_reset_on_fork : 1 ;
1964 unsigned int sched_contributes_to_load : 1 ;
1965 unsigned int irq_thread : 1 ;
1966 pid_t pid ;
1967 pid_t tgid ;
1968 unsigned long stack_canary ;
1969 struct task_struct *real_parent ;
1970 struct task_struct *parent ;
1971 struct list_head children ;
1972 struct list_head sibling ;
1973 struct task_struct *group_leader ;
1974 struct list_head ptraced ;
1975 struct list_head ptrace_entry ;
1976 struct pid_link pids[3] ;
1977 struct list_head thread_group ;
1978 struct completion *vfork_done ;
1979 int *set_child_tid ;
1980 int *clear_child_tid ;
1981 cputime_t utime ;
1982 cputime_t stime ;
1983 cputime_t utimescaled ;
1984 cputime_t stimescaled ;
1985 cputime_t gtime ;
1986 cputime_t prev_utime ;
1987 cputime_t prev_stime ;
1988 unsigned long nvcsw ;
1989 unsigned long nivcsw ;
1990 struct timespec start_time ;
1991 struct timespec real_start_time ;
1992 unsigned long min_flt ;
1993 unsigned long maj_flt ;
1994 struct task_cputime cputime_expires ;
1995 struct list_head cpu_timers[3] ;
1996 struct cred const *real_cred ;
1997 struct cred const *cred ;
1998 struct cred *replacement_session_keyring ;
1999 char comm[16] ;
2000 int link_count ;
2001 int total_link_count ;
2002 struct sysv_sem sysvsem ;
2003 unsigned long last_switch_count ;
2004 struct thread_struct thread ;
2005 struct fs_struct *fs ;
2006 struct files_struct *files ;
2007 struct nsproxy *nsproxy ;
2008 struct signal_struct *signal ;
2009 struct sighand_struct *sighand ;
2010 sigset_t blocked ;
2011 sigset_t real_blocked ;
2012 sigset_t saved_sigmask ;
2013 struct sigpending pending ;
2014 unsigned long sas_ss_sp ;
2015 size_t sas_ss_size ;
2016 int (*notifier)(void *priv ) ;
2017 void *notifier_data ;
2018 sigset_t *notifier_mask ;
2019 struct audit_context *audit_context ;
2020 uid_t loginuid ;
2021 unsigned int sessionid ;
2022 seccomp_t seccomp ;
2023 u32 parent_exec_id ;
2024 u32 self_exec_id ;
2025 spinlock_t alloc_lock ;
2026 raw_spinlock_t pi_lock ;
2027 struct plist_head pi_waiters ;
2028 struct rt_mutex_waiter *pi_blocked_on ;
2029 struct mutex_waiter *blocked_on ;
2030 unsigned int irq_events ;
2031 unsigned long hardirq_enable_ip ;
2032 unsigned long hardirq_disable_ip ;
2033 unsigned int hardirq_enable_event ;
2034 unsigned int hardirq_disable_event ;
2035 int hardirqs_enabled ;
2036 int hardirq_context ;
2037 unsigned long softirq_disable_ip ;
2038 unsigned long softirq_enable_ip ;
2039 unsigned int softirq_disable_event ;
2040 unsigned int softirq_enable_event ;
2041 int softirqs_enabled ;
2042 int softirq_context ;
2043 void *journal_info ;
2044 struct bio_list *bio_list ;
2045 struct blk_plug *plug ;
2046 struct reclaim_state *reclaim_state ;
2047 struct backing_dev_info *backing_dev_info ;
2048 struct io_context *io_context ;
2049 unsigned long ptrace_message ;
2050 siginfo_t *last_siginfo ;
2051 struct task_io_accounting ioac ;
2052 u64 acct_rss_mem1 ;
2053 u64 acct_vm_mem1 ;
2054 cputime_t acct_timexpd ;
2055 nodemask_t mems_allowed ;
2056 seqcount_t mems_allowed_seq ;
2057 int cpuset_mem_spread_rotor ;
2058 int cpuset_slab_spread_rotor ;
2059 struct css_set *cgroups ;
2060 struct list_head cg_list ;
2061 struct robust_list_head *robust_list ;
2062 struct compat_robust_list_head *compat_robust_list ;
2063 struct list_head pi_state_list ;
2064 struct futex_pi_state *pi_state_cache ;
2065 struct perf_event_context *perf_event_ctxp[2] ;
2066 struct mutex perf_event_mutex ;
2067 struct list_head perf_event_list ;
2068 struct mempolicy *mempolicy ;
2069 short il_next ;
2070 short pref_node_fork ;
2071 struct rcu_head rcu ;
2072 struct pipe_inode_info *splice_pipe ;
2073 struct task_delay_info *delays ;
2074 int make_it_fail ;
2075 int nr_dirtied ;
2076 int nr_dirtied_pause ;
2077 unsigned long dirty_paused_when ;
2078 int latency_record_count ;
2079 struct latency_record latency_record[32] ;
2080 unsigned long timer_slack_ns ;
2081 unsigned long default_timer_slack_ns ;
2082 struct list_head *scm_work_list ;
2083 unsigned long trace ;
2084 unsigned long trace_recursion ;
2085 struct memcg_batch_info memcg_batch ;
2086 atomic_t ptrace_bp_refcnt ;
2087};
2088#line 1681
2089struct pid_namespace;
2090#line 12 "include/linux/mod_devicetable.h"
2091typedef unsigned long kernel_ulong_t;
2092#line 17 "include/linux/mod_devicetable.h"
2093struct pci_device_id {
2094 __u32 vendor ;
2095 __u32 device ;
2096 __u32 subvendor ;
2097 __u32 subdevice ;
2098 __u32 class ;
2099 __u32 class_mask ;
2100 kernel_ulong_t driver_data ;
2101};
2102#line 219 "include/linux/mod_devicetable.h"
2103struct of_device_id {
2104 char name[32] ;
2105 char type[32] ;
2106 char compatible[128] ;
2107 void *data ;
2108};
2109#line 20 "include/linux/kobject_ns.h"
2110struct sock;
2111#line 20
2112struct sock;
2113#line 21
2114struct kobject;
2115#line 21
2116struct kobject;
2117#line 27
2118enum kobj_ns_type {
2119 KOBJ_NS_TYPE_NONE = 0,
2120 KOBJ_NS_TYPE_NET = 1,
2121 KOBJ_NS_TYPES = 2
2122} ;
2123#line 40 "include/linux/kobject_ns.h"
2124struct kobj_ns_type_operations {
2125 enum kobj_ns_type type ;
2126 void *(*grab_current_ns)(void) ;
2127 void const *(*netlink_ns)(struct sock *sk ) ;
2128 void const *(*initial_ns)(void) ;
2129 void (*drop_ns)(void * ) ;
2130};
2131#line 22 "include/linux/sysfs.h"
2132struct kobject;
2133#line 23
2134struct module;
2135#line 24
2136enum kobj_ns_type;
2137#line 26 "include/linux/sysfs.h"
2138struct attribute {
2139 char const *name ;
2140 umode_t mode ;
2141};
2142#line 56 "include/linux/sysfs.h"
2143struct attribute_group {
2144 char const *name ;
2145 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
2146 struct attribute **attrs ;
2147};
2148#line 85
2149struct file;
2150#line 86
2151struct vm_area_struct;
2152#line 88 "include/linux/sysfs.h"
2153struct bin_attribute {
2154 struct attribute attr ;
2155 size_t size ;
2156 void *private ;
2157 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
2158 loff_t , size_t ) ;
2159 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
2160 loff_t , size_t ) ;
2161 int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
2162};
2163#line 112 "include/linux/sysfs.h"
2164struct sysfs_ops {
2165 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
2166 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
2167 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
2168};
2169#line 118
2170struct sysfs_dirent;
2171#line 118
2172struct sysfs_dirent;
2173#line 22 "include/linux/kref.h"
2174struct kref {
2175 atomic_t refcount ;
2176};
2177#line 60 "include/linux/kobject.h"
2178struct kset;
2179#line 60
2180struct kobj_type;
2181#line 60 "include/linux/kobject.h"
2182struct kobject {
2183 char const *name ;
2184 struct list_head entry ;
2185 struct kobject *parent ;
2186 struct kset *kset ;
2187 struct kobj_type *ktype ;
2188 struct sysfs_dirent *sd ;
2189 struct kref kref ;
2190 unsigned int state_initialized : 1 ;
2191 unsigned int state_in_sysfs : 1 ;
2192 unsigned int state_add_uevent_sent : 1 ;
2193 unsigned int state_remove_uevent_sent : 1 ;
2194 unsigned int uevent_suppress : 1 ;
2195};
2196#line 108 "include/linux/kobject.h"
2197struct kobj_type {
2198 void (*release)(struct kobject *kobj ) ;
2199 struct sysfs_ops const *sysfs_ops ;
2200 struct attribute **default_attrs ;
2201 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject *kobj ) ;
2202 void const *(*namespace)(struct kobject *kobj ) ;
2203};
2204#line 116 "include/linux/kobject.h"
2205struct kobj_uevent_env {
2206 char *envp[32] ;
2207 int envp_idx ;
2208 char buf[2048] ;
2209 int buflen ;
2210};
2211#line 123 "include/linux/kobject.h"
2212struct kset_uevent_ops {
2213 int (* const filter)(struct kset *kset , struct kobject *kobj ) ;
2214 char const *(* const name)(struct kset *kset , struct kobject *kobj ) ;
2215 int (* const uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
2216};
2217#line 140
2218struct sock;
2219#line 159 "include/linux/kobject.h"
2220struct kset {
2221 struct list_head list ;
2222 spinlock_t list_lock ;
2223 struct kobject kobj ;
2224 struct kset_uevent_ops const *uevent_ops ;
2225};
2226#line 19 "include/linux/klist.h"
2227struct klist_node;
2228#line 19
2229struct klist_node;
2230#line 39 "include/linux/klist.h"
2231struct klist_node {
2232 void *n_klist ;
2233 struct list_head n_node ;
2234 struct kref n_ref ;
2235};
2236#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
2237struct dma_map_ops;
2238#line 4 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
2239struct dev_archdata {
2240 void *acpi_handle ;
2241 struct dma_map_ops *dma_ops ;
2242 void *iommu ;
2243};
2244#line 28 "include/linux/device.h"
2245struct device;
2246#line 29
2247struct device_private;
2248#line 29
2249struct device_private;
2250#line 30
2251struct device_driver;
2252#line 30
2253struct device_driver;
2254#line 31
2255struct driver_private;
2256#line 31
2257struct driver_private;
2258#line 32
2259struct module;
2260#line 33
2261struct class;
2262#line 33
2263struct class;
2264#line 34
2265struct subsys_private;
2266#line 34
2267struct subsys_private;
2268#line 35
2269struct bus_type;
2270#line 35
2271struct bus_type;
2272#line 36
2273struct device_node;
2274#line 36
2275struct device_node;
2276#line 37
2277struct iommu_ops;
2278#line 37
2279struct iommu_ops;
2280#line 39 "include/linux/device.h"
2281struct bus_attribute {
2282 struct attribute attr ;
2283 ssize_t (*show)(struct bus_type *bus , char *buf ) ;
2284 ssize_t (*store)(struct bus_type *bus , char const *buf , size_t count ) ;
2285};
2286#line 89
2287struct device_attribute;
2288#line 89
2289struct driver_attribute;
2290#line 89 "include/linux/device.h"
2291struct bus_type {
2292 char const *name ;
2293 char const *dev_name ;
2294 struct device *dev_root ;
2295 struct bus_attribute *bus_attrs ;
2296 struct device_attribute *dev_attrs ;
2297 struct driver_attribute *drv_attrs ;
2298 int (*match)(struct device *dev , struct device_driver *drv ) ;
2299 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
2300 int (*probe)(struct device *dev ) ;
2301 int (*remove)(struct device *dev ) ;
2302 void (*shutdown)(struct device *dev ) ;
2303 int (*suspend)(struct device *dev , pm_message_t state ) ;
2304 int (*resume)(struct device *dev ) ;
2305 struct dev_pm_ops const *pm ;
2306 struct iommu_ops *iommu_ops ;
2307 struct subsys_private *p ;
2308};
2309#line 127
2310struct device_type;
2311#line 159
2312struct notifier_block;
2313#line 214 "include/linux/device.h"
2314struct device_driver {
2315 char const *name ;
2316 struct bus_type *bus ;
2317 struct module *owner ;
2318 char const *mod_name ;
2319 bool suppress_bind_attrs ;
2320 struct of_device_id const *of_match_table ;
2321 int (*probe)(struct device *dev ) ;
2322 int (*remove)(struct device *dev ) ;
2323 void (*shutdown)(struct device *dev ) ;
2324 int (*suspend)(struct device *dev , pm_message_t state ) ;
2325 int (*resume)(struct device *dev ) ;
2326 struct attribute_group const **groups ;
2327 struct dev_pm_ops const *pm ;
2328 struct driver_private *p ;
2329};
2330#line 249 "include/linux/device.h"
2331struct driver_attribute {
2332 struct attribute attr ;
2333 ssize_t (*show)(struct device_driver *driver , char *buf ) ;
2334 ssize_t (*store)(struct device_driver *driver , char const *buf , size_t count ) ;
2335};
2336#line 330
2337struct class_attribute;
2338#line 330 "include/linux/device.h"
2339struct class {
2340 char const *name ;
2341 struct module *owner ;
2342 struct class_attribute *class_attrs ;
2343 struct device_attribute *dev_attrs ;
2344 struct bin_attribute *dev_bin_attrs ;
2345 struct kobject *dev_kobj ;
2346 int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
2347 char *(*devnode)(struct device *dev , umode_t *mode ) ;
2348 void (*class_release)(struct class *class ) ;
2349 void (*dev_release)(struct device *dev ) ;
2350 int (*suspend)(struct device *dev , pm_message_t state ) ;
2351 int (*resume)(struct device *dev ) ;
2352 struct kobj_ns_type_operations const *ns_type ;
2353 void const *(*namespace)(struct device *dev ) ;
2354 struct dev_pm_ops const *pm ;
2355 struct subsys_private *p ;
2356};
2357#line 397 "include/linux/device.h"
2358struct class_attribute {
2359 struct attribute attr ;
2360 ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
2361 ssize_t (*store)(struct class *class , struct class_attribute *attr , char const *buf ,
2362 size_t count ) ;
2363 void const *(*namespace)(struct class *class , struct class_attribute const *attr ) ;
2364};
2365#line 465 "include/linux/device.h"
2366struct device_type {
2367 char const *name ;
2368 struct attribute_group const **groups ;
2369 int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
2370 char *(*devnode)(struct device *dev , umode_t *mode ) ;
2371 void (*release)(struct device *dev ) ;
2372 struct dev_pm_ops const *pm ;
2373};
2374#line 476 "include/linux/device.h"
2375struct device_attribute {
2376 struct attribute attr ;
2377 ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
2378 ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const *buf ,
2379 size_t count ) ;
2380};
2381#line 559 "include/linux/device.h"
2382struct device_dma_parameters {
2383 unsigned int max_segment_size ;
2384 unsigned long segment_boundary_mask ;
2385};
2386#line 627
2387struct dma_coherent_mem;
2388#line 627 "include/linux/device.h"
2389struct device {
2390 struct device *parent ;
2391 struct device_private *p ;
2392 struct kobject kobj ;
2393 char const *init_name ;
2394 struct device_type const *type ;
2395 struct mutex mutex ;
2396 struct bus_type *bus ;
2397 struct device_driver *driver ;
2398 void *platform_data ;
2399 struct dev_pm_info power ;
2400 struct dev_pm_domain *pm_domain ;
2401 int numa_node ;
2402 u64 *dma_mask ;
2403 u64 coherent_dma_mask ;
2404 struct device_dma_parameters *dma_parms ;
2405 struct list_head dma_pools ;
2406 struct dma_coherent_mem *dma_mem ;
2407 struct dev_archdata archdata ;
2408 struct device_node *of_node ;
2409 dev_t devt ;
2410 u32 id ;
2411 spinlock_t devres_lock ;
2412 struct list_head devres_head ;
2413 struct klist_node knode_class ;
2414 struct class *class ;
2415 struct attribute_group const **groups ;
2416 void (*release)(struct device *dev ) ;
2417};
2418#line 43 "include/linux/pm_wakeup.h"
2419struct wakeup_source {
2420 char const *name ;
2421 struct list_head entry ;
2422 spinlock_t lock ;
2423 struct timer_list timer ;
2424 unsigned long timer_expires ;
2425 ktime_t total_time ;
2426 ktime_t max_time ;
2427 ktime_t last_time ;
2428 unsigned long event_count ;
2429 unsigned long active_count ;
2430 unsigned long relax_count ;
2431 unsigned long hit_count ;
2432 unsigned int active : 1 ;
2433};
2434#line 28 "include/linux/of.h"
2435typedef u32 phandle;
2436#line 31 "include/linux/of.h"
2437struct property {
2438 char *name ;
2439 int length ;
2440 void *value ;
2441 struct property *next ;
2442 unsigned long _flags ;
2443 unsigned int unique_id ;
2444};
2445#line 44
2446struct proc_dir_entry;
2447#line 44 "include/linux/of.h"
2448struct device_node {
2449 char const *name ;
2450 char const *type ;
2451 phandle phandle ;
2452 char *full_name ;
2453 struct property *properties ;
2454 struct property *deadprops ;
2455 struct device_node *parent ;
2456 struct device_node *child ;
2457 struct device_node *sibling ;
2458 struct device_node *next ;
2459 struct device_node *allnext ;
2460 struct proc_dir_entry *pde ;
2461 struct kref kref ;
2462 unsigned long _flags ;
2463 void *data ;
2464};
2465#line 44 "include/linux/i2c.h"
2466struct i2c_msg;
2467#line 44
2468struct i2c_msg;
2469#line 45
2470struct i2c_algorithm;
2471#line 45
2472struct i2c_algorithm;
2473#line 46
2474struct i2c_adapter;
2475#line 46
2476struct i2c_adapter;
2477#line 49
2478union i2c_smbus_data;
2479#line 49
2480union i2c_smbus_data;
2481#line 52
2482struct module;
2483#line 352 "include/linux/i2c.h"
2484struct i2c_algorithm {
2485 int (*master_xfer)(struct i2c_adapter *adap , struct i2c_msg *msgs , int num ) ;
2486 int (*smbus_xfer)(struct i2c_adapter *adap , u16 addr , unsigned short flags ,
2487 char read_write , u8 command , int size , union i2c_smbus_data *data ) ;
2488 u32 (*functionality)(struct i2c_adapter * ) ;
2489};
2490#line 373 "include/linux/i2c.h"
2491struct i2c_adapter {
2492 struct module *owner ;
2493 unsigned int class ;
2494 struct i2c_algorithm const *algo ;
2495 void *algo_data ;
2496 struct rt_mutex bus_lock ;
2497 int timeout ;
2498 int retries ;
2499 struct device dev ;
2500 int nr ;
2501 char name[48] ;
2502 struct completion dev_released ;
2503 struct mutex userspace_clients_lock ;
2504 struct list_head userspace_clients ;
2505};
2506#line 538 "include/linux/i2c.h"
2507struct i2c_msg {
2508 __u16 addr ;
2509 __u16 flags ;
2510 __u16 len ;
2511 __u8 *buf ;
2512};
2513#line 596 "include/linux/i2c.h"
2514union i2c_smbus_data {
2515 __u8 byte ;
2516 __u16 word ;
2517 __u8 block[34] ;
2518};
2519#line 62 "include/linux/stat.h"
2520struct kstat {
2521 u64 ino ;
2522 dev_t dev ;
2523 umode_t mode ;
2524 unsigned int nlink ;
2525 uid_t uid ;
2526 gid_t gid ;
2527 dev_t rdev ;
2528 loff_t size ;
2529 struct timespec atime ;
2530 struct timespec mtime ;
2531 struct timespec ctime ;
2532 unsigned long blksize ;
2533 unsigned long long blocks ;
2534};
2535#line 10 "include/linux/gfp.h"
2536struct vm_area_struct;
2537#line 48 "include/linux/kmod.h"
2538struct cred;
2539#line 49
2540struct file;
2541#line 270 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/elf.h"
2542struct task_struct;
2543#line 18 "include/linux/elf.h"
2544typedef __u64 Elf64_Addr;
2545#line 19 "include/linux/elf.h"
2546typedef __u16 Elf64_Half;
2547#line 23 "include/linux/elf.h"
2548typedef __u32 Elf64_Word;
2549#line 24 "include/linux/elf.h"
2550typedef __u64 Elf64_Xword;
2551#line 194 "include/linux/elf.h"
2552struct elf64_sym {
2553 Elf64_Word st_name ;
2554 unsigned char st_info ;
2555 unsigned char st_other ;
2556 Elf64_Half st_shndx ;
2557 Elf64_Addr st_value ;
2558 Elf64_Xword st_size ;
2559};
2560#line 194 "include/linux/elf.h"
2561typedef struct elf64_sym Elf64_Sym;
2562#line 438
2563struct file;
2564#line 39 "include/linux/moduleparam.h"
2565struct kernel_param;
2566#line 39
2567struct kernel_param;
2568#line 41 "include/linux/moduleparam.h"
2569struct kernel_param_ops {
2570 int (*set)(char const *val , struct kernel_param const *kp ) ;
2571 int (*get)(char *buffer , struct kernel_param const *kp ) ;
2572 void (*free)(void *arg ) ;
2573};
2574#line 50
2575struct kparam_string;
2576#line 50
2577struct kparam_array;
2578#line 50 "include/linux/moduleparam.h"
2579union __anonunion____missing_field_name_230 {
2580 void *arg ;
2581 struct kparam_string const *str ;
2582 struct kparam_array const *arr ;
2583};
2584#line 50 "include/linux/moduleparam.h"
2585struct kernel_param {
2586 char const *name ;
2587 struct kernel_param_ops const *ops ;
2588 u16 perm ;
2589 s16 level ;
2590 union __anonunion____missing_field_name_230 __annonCompField43 ;
2591};
2592#line 63 "include/linux/moduleparam.h"
2593struct kparam_string {
2594 unsigned int maxlen ;
2595 char *string ;
2596};
2597#line 69 "include/linux/moduleparam.h"
2598struct kparam_array {
2599 unsigned int max ;
2600 unsigned int elemsize ;
2601 unsigned int *num ;
2602 struct kernel_param_ops const *ops ;
2603 void *elem ;
2604};
2605#line 445
2606struct module;
2607#line 80 "include/linux/jump_label.h"
2608struct module;
2609#line 143 "include/linux/jump_label.h"
2610struct static_key {
2611 atomic_t enabled ;
2612};
2613#line 22 "include/linux/tracepoint.h"
2614struct module;
2615#line 23
2616struct tracepoint;
2617#line 23
2618struct tracepoint;
2619#line 25 "include/linux/tracepoint.h"
2620struct tracepoint_func {
2621 void *func ;
2622 void *data ;
2623};
2624#line 30 "include/linux/tracepoint.h"
2625struct tracepoint {
2626 char const *name ;
2627 struct static_key key ;
2628 void (*regfunc)(void) ;
2629 void (*unregfunc)(void) ;
2630 struct tracepoint_func *funcs ;
2631};
2632#line 19 "include/linux/export.h"
2633struct kernel_symbol {
2634 unsigned long value ;
2635 char const *name ;
2636};
2637#line 8 "include/asm-generic/module.h"
2638struct mod_arch_specific {
2639
2640};
2641#line 35 "include/linux/module.h"
2642struct module;
2643#line 37
2644struct module_param_attrs;
2645#line 37 "include/linux/module.h"
2646struct module_kobject {
2647 struct kobject kobj ;
2648 struct module *mod ;
2649 struct kobject *drivers_dir ;
2650 struct module_param_attrs *mp ;
2651};
2652#line 44 "include/linux/module.h"
2653struct module_attribute {
2654 struct attribute attr ;
2655 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
2656 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
2657 size_t count ) ;
2658 void (*setup)(struct module * , char const * ) ;
2659 int (*test)(struct module * ) ;
2660 void (*free)(struct module * ) ;
2661};
2662#line 71
2663struct exception_table_entry;
2664#line 71
2665struct exception_table_entry;
2666#line 182
2667struct notifier_block;
2668#line 199
2669enum module_state {
2670 MODULE_STATE_LIVE = 0,
2671 MODULE_STATE_COMING = 1,
2672 MODULE_STATE_GOING = 2
2673} ;
2674#line 215 "include/linux/module.h"
2675struct module_ref {
2676 unsigned long incs ;
2677 unsigned long decs ;
2678} __attribute__((__aligned__((2) * (sizeof(unsigned long )) ))) ;
2679#line 220
2680struct module_sect_attrs;
2681#line 220
2682struct module_notes_attrs;
2683#line 220
2684struct ftrace_event_call;
2685#line 220 "include/linux/module.h"
2686struct module {
2687 enum module_state state ;
2688 struct list_head list ;
2689 char name[64UL - sizeof(unsigned long )] ;
2690 struct module_kobject mkobj ;
2691 struct module_attribute *modinfo_attrs ;
2692 char const *version ;
2693 char const *srcversion ;
2694 struct kobject *holders_dir ;
2695 struct kernel_symbol const *syms ;
2696 unsigned long const *crcs ;
2697 unsigned int num_syms ;
2698 struct kernel_param *kp ;
2699 unsigned int num_kp ;
2700 unsigned int num_gpl_syms ;
2701 struct kernel_symbol const *gpl_syms ;
2702 unsigned long const *gpl_crcs ;
2703 struct kernel_symbol const *unused_syms ;
2704 unsigned long const *unused_crcs ;
2705 unsigned int num_unused_syms ;
2706 unsigned int num_unused_gpl_syms ;
2707 struct kernel_symbol const *unused_gpl_syms ;
2708 unsigned long const *unused_gpl_crcs ;
2709 struct kernel_symbol const *gpl_future_syms ;
2710 unsigned long const *gpl_future_crcs ;
2711 unsigned int num_gpl_future_syms ;
2712 unsigned int num_exentries ;
2713 struct exception_table_entry *extable ;
2714 int (*init)(void) ;
2715 void *module_init ;
2716 void *module_core ;
2717 unsigned int init_size ;
2718 unsigned int core_size ;
2719 unsigned int init_text_size ;
2720 unsigned int core_text_size ;
2721 unsigned int init_ro_size ;
2722 unsigned int core_ro_size ;
2723 struct mod_arch_specific arch ;
2724 unsigned int taints ;
2725 unsigned int num_bugs ;
2726 struct list_head bug_list ;
2727 struct bug_entry *bug_table ;
2728 Elf64_Sym *symtab ;
2729 Elf64_Sym *core_symtab ;
2730 unsigned int num_symtab ;
2731 unsigned int core_num_syms ;
2732 char *strtab ;
2733 char *core_strtab ;
2734 struct module_sect_attrs *sect_attrs ;
2735 struct module_notes_attrs *notes_attrs ;
2736 char *args ;
2737 void *percpu ;
2738 unsigned int percpu_size ;
2739 unsigned int num_tracepoints ;
2740 struct tracepoint * const *tracepoints_ptrs ;
2741 unsigned int num_trace_bprintk_fmt ;
2742 char const **trace_bprintk_fmt_start ;
2743 struct ftrace_event_call **trace_events ;
2744 unsigned int num_trace_events ;
2745 struct list_head source_list ;
2746 struct list_head target_list ;
2747 struct task_struct *waiter ;
2748 void (*exit)(void) ;
2749 struct module_ref *refptr ;
2750 ctor_fn_t *ctors ;
2751 unsigned int num_ctors ;
2752};
2753#line 46 "include/linux/slub_def.h"
2754struct kmem_cache_cpu {
2755 void **freelist ;
2756 unsigned long tid ;
2757 struct page *page ;
2758 struct page *partial ;
2759 int node ;
2760 unsigned int stat[26] ;
2761};
2762#line 57 "include/linux/slub_def.h"
2763struct kmem_cache_node {
2764 spinlock_t list_lock ;
2765 unsigned long nr_partial ;
2766 struct list_head partial ;
2767 atomic_long_t nr_slabs ;
2768 atomic_long_t total_objects ;
2769 struct list_head full ;
2770};
2771#line 73 "include/linux/slub_def.h"
2772struct kmem_cache_order_objects {
2773 unsigned long x ;
2774};
2775#line 80 "include/linux/slub_def.h"
2776struct kmem_cache {
2777 struct kmem_cache_cpu *cpu_slab ;
2778 unsigned long flags ;
2779 unsigned long min_partial ;
2780 int size ;
2781 int objsize ;
2782 int offset ;
2783 int cpu_partial ;
2784 struct kmem_cache_order_objects oo ;
2785 struct kmem_cache_order_objects max ;
2786 struct kmem_cache_order_objects min ;
2787 gfp_t allocflags ;
2788 int refcount ;
2789 void (*ctor)(void * ) ;
2790 int inuse ;
2791 int align ;
2792 int reserved ;
2793 char const *name ;
2794 struct list_head list ;
2795 struct kobject kobj ;
2796 int remote_node_defrag_ratio ;
2797 struct kmem_cache_node *node[1 << 10] ;
2798};
2799#line 31 "include/linux/dvb/frontend.h"
2800enum fe_type {
2801 FE_QPSK = 0,
2802 FE_QAM = 1,
2803 FE_OFDM = 2,
2804 FE_ATSC = 3
2805} ;
2806#line 31 "include/linux/dvb/frontend.h"
2807typedef enum fe_type fe_type_t;
2808#line 39
2809enum fe_caps {
2810 FE_IS_STUPID = 0,
2811 FE_CAN_INVERSION_AUTO = 1,
2812 FE_CAN_FEC_1_2 = 2,
2813 FE_CAN_FEC_2_3 = 4,
2814 FE_CAN_FEC_3_4 = 8,
2815 FE_CAN_FEC_4_5 = 16,
2816 FE_CAN_FEC_5_6 = 32,
2817 FE_CAN_FEC_6_7 = 64,
2818 FE_CAN_FEC_7_8 = 128,
2819 FE_CAN_FEC_8_9 = 256,
2820 FE_CAN_FEC_AUTO = 512,
2821 FE_CAN_QPSK = 1024,
2822 FE_CAN_QAM_16 = 2048,
2823 FE_CAN_QAM_32 = 4096,
2824 FE_CAN_QAM_64 = 8192,
2825 FE_CAN_QAM_128 = 16384,
2826 FE_CAN_QAM_256 = 32768,
2827 FE_CAN_QAM_AUTO = 65536,
2828 FE_CAN_TRANSMISSION_MODE_AUTO = 131072,
2829 FE_CAN_BANDWIDTH_AUTO = 262144,
2830 FE_CAN_GUARD_INTERVAL_AUTO = 524288,
2831 FE_CAN_HIERARCHY_AUTO = 1048576,
2832 FE_CAN_8VSB = 2097152,
2833 FE_CAN_16VSB = 4194304,
2834 FE_HAS_EXTENDED_CAPS = 8388608,
2835 FE_CAN_TURBO_FEC = 134217728,
2836 FE_CAN_2G_MODULATION = 268435456,
2837 FE_NEEDS_BENDING = 536870912,
2838 FE_CAN_RECOVER = 1073741824,
2839 FE_CAN_MUTE_TS = (-0x7FFFFFFF-1)
2840} ;
2841#line 39 "include/linux/dvb/frontend.h"
2842typedef enum fe_caps fe_caps_t;
2843#line 73 "include/linux/dvb/frontend.h"
2844struct dvb_frontend_info {
2845 char name[128] ;
2846 fe_type_t type ;
2847 __u32 frequency_min ;
2848 __u32 frequency_max ;
2849 __u32 frequency_stepsize ;
2850 __u32 frequency_tolerance ;
2851 __u32 symbol_rate_min ;
2852 __u32 symbol_rate_max ;
2853 __u32 symbol_rate_tolerance ;
2854 __u32 notifier_delay ;
2855 fe_caps_t caps ;
2856};
2857#line 92 "include/linux/dvb/frontend.h"
2858struct dvb_diseqc_master_cmd {
2859 __u8 msg[6] ;
2860 __u8 msg_len ;
2861};
2862#line 98 "include/linux/dvb/frontend.h"
2863struct dvb_diseqc_slave_reply {
2864 __u8 msg[4] ;
2865 __u8 msg_len ;
2866 int timeout ;
2867};
2868#line 105
2869enum fe_sec_voltage {
2870 SEC_VOLTAGE_13 = 0,
2871 SEC_VOLTAGE_18 = 1,
2872 SEC_VOLTAGE_OFF = 2
2873} ;
2874#line 105 "include/linux/dvb/frontend.h"
2875typedef enum fe_sec_voltage fe_sec_voltage_t;
2876#line 112
2877enum fe_sec_tone_mode {
2878 SEC_TONE_ON = 0,
2879 SEC_TONE_OFF = 1
2880} ;
2881#line 112 "include/linux/dvb/frontend.h"
2882typedef enum fe_sec_tone_mode fe_sec_tone_mode_t;
2883#line 118
2884enum fe_sec_mini_cmd {
2885 SEC_MINI_A = 0,
2886 SEC_MINI_B = 1
2887} ;
2888#line 118 "include/linux/dvb/frontend.h"
2889typedef enum fe_sec_mini_cmd fe_sec_mini_cmd_t;
2890#line 124
2891enum fe_status {
2892 FE_HAS_SIGNAL = 1,
2893 FE_HAS_CARRIER = 2,
2894 FE_HAS_VITERBI = 4,
2895 FE_HAS_SYNC = 8,
2896 FE_HAS_LOCK = 16,
2897 FE_TIMEDOUT = 32,
2898 FE_REINIT = 64
2899} ;
2900#line 124 "include/linux/dvb/frontend.h"
2901typedef enum fe_status fe_status_t;
2902#line 135
2903enum fe_spectral_inversion {
2904 INVERSION_OFF = 0,
2905 INVERSION_ON = 1,
2906 INVERSION_AUTO = 2
2907} ;
2908#line 135 "include/linux/dvb/frontend.h"
2909typedef enum fe_spectral_inversion fe_spectral_inversion_t;
2910#line 142
2911enum fe_code_rate {
2912 FEC_NONE = 0,
2913 FEC_1_2 = 1,
2914 FEC_2_3 = 2,
2915 FEC_3_4 = 3,
2916 FEC_4_5 = 4,
2917 FEC_5_6 = 5,
2918 FEC_6_7 = 6,
2919 FEC_7_8 = 7,
2920 FEC_8_9 = 8,
2921 FEC_AUTO = 9,
2922 FEC_3_5 = 10,
2923 FEC_9_10 = 11
2924} ;
2925#line 142 "include/linux/dvb/frontend.h"
2926typedef enum fe_code_rate fe_code_rate_t;
2927#line 158
2928enum fe_modulation {
2929 QPSK = 0,
2930 QAM_16 = 1,
2931 QAM_32 = 2,
2932 QAM_64 = 3,
2933 QAM_128 = 4,
2934 QAM_256 = 5,
2935 QAM_AUTO = 6,
2936 VSB_8 = 7,
2937 VSB_16 = 8,
2938 PSK_8 = 9,
2939 APSK_16 = 10,
2940 APSK_32 = 11,
2941 DQPSK = 12
2942} ;
2943#line 158 "include/linux/dvb/frontend.h"
2944typedef enum fe_modulation fe_modulation_t;
2945#line 174
2946enum fe_transmit_mode {
2947 TRANSMISSION_MODE_2K = 0,
2948 TRANSMISSION_MODE_8K = 1,
2949 TRANSMISSION_MODE_AUTO = 2,
2950 TRANSMISSION_MODE_4K = 3,
2951 TRANSMISSION_MODE_1K = 4,
2952 TRANSMISSION_MODE_16K = 5,
2953 TRANSMISSION_MODE_32K = 6
2954} ;
2955#line 174 "include/linux/dvb/frontend.h"
2956typedef enum fe_transmit_mode fe_transmit_mode_t;
2957#line 196
2958enum fe_guard_interval {
2959 GUARD_INTERVAL_1_32 = 0,
2960 GUARD_INTERVAL_1_16 = 1,
2961 GUARD_INTERVAL_1_8 = 2,
2962 GUARD_INTERVAL_1_4 = 3,
2963 GUARD_INTERVAL_AUTO = 4,
2964 GUARD_INTERVAL_1_128 = 5,
2965 GUARD_INTERVAL_19_128 = 6,
2966 GUARD_INTERVAL_19_256 = 7
2967} ;
2968#line 196 "include/linux/dvb/frontend.h"
2969typedef enum fe_guard_interval fe_guard_interval_t;
2970#line 208
2971enum fe_hierarchy {
2972 HIERARCHY_NONE = 0,
2973 HIERARCHY_1 = 1,
2974 HIERARCHY_2 = 2,
2975 HIERARCHY_4 = 3,
2976 HIERARCHY_AUTO = 4
2977} ;
2978#line 208 "include/linux/dvb/frontend.h"
2979typedef enum fe_hierarchy fe_hierarchy_t;
2980#line 325
2981enum fe_pilot {
2982 PILOT_ON = 0,
2983 PILOT_OFF = 1,
2984 PILOT_AUTO = 2
2985} ;
2986#line 325 "include/linux/dvb/frontend.h"
2987typedef enum fe_pilot fe_pilot_t;
2988#line 331
2989enum fe_rolloff {
2990 ROLLOFF_35 = 0,
2991 ROLLOFF_20 = 1,
2992 ROLLOFF_25 = 2,
2993 ROLLOFF_AUTO = 3
2994} ;
2995#line 331 "include/linux/dvb/frontend.h"
2996typedef enum fe_rolloff fe_rolloff_t;
2997#line 338
2998enum fe_delivery_system {
2999 SYS_UNDEFINED = 0,
3000 SYS_DVBC_ANNEX_A = 1,
3001 SYS_DVBC_ANNEX_B = 2,
3002 SYS_DVBT = 3,
3003 SYS_DSS = 4,
3004 SYS_DVBS = 5,
3005 SYS_DVBS2 = 6,
3006 SYS_DVBH = 7,
3007 SYS_ISDBT = 8,
3008 SYS_ISDBS = 9,
3009 SYS_ISDBC = 10,
3010 SYS_ATSC = 11,
3011 SYS_ATSCMH = 12,
3012 SYS_DMBTH = 13,
3013 SYS_CMMB = 14,
3014 SYS_DAB = 15,
3015 SYS_DVBT2 = 16,
3016 SYS_TURBO = 17,
3017 SYS_DVBC_ANNEX_C = 18
3018} ;
3019#line 338 "include/linux/dvb/frontend.h"
3020typedef enum fe_delivery_system fe_delivery_system_t;
3021#line 375 "include/linux/dvb/frontend.h"
3022struct __anonstruct_buffer_233 {
3023 __u8 data[32] ;
3024 __u32 len ;
3025 __u32 reserved1[3] ;
3026 void *reserved2 ;
3027};
3028#line 375 "include/linux/dvb/frontend.h"
3029union __anonunion_u_232 {
3030 __u32 data ;
3031 struct __anonstruct_buffer_233 buffer ;
3032};
3033#line 375 "include/linux/dvb/frontend.h"
3034struct dtv_property {
3035 __u32 cmd ;
3036 __u32 reserved[3] ;
3037 union __anonunion_u_232 u ;
3038 int result ;
3039} __attribute__((__packed__)) ;
3040#line 15 "include/linux/blk_types.h"
3041struct page;
3042#line 16
3043struct block_device;
3044#line 16
3045struct block_device;
3046#line 33 "include/linux/list_bl.h"
3047struct hlist_bl_node;
3048#line 33 "include/linux/list_bl.h"
3049struct hlist_bl_head {
3050 struct hlist_bl_node *first ;
3051};
3052#line 37 "include/linux/list_bl.h"
3053struct hlist_bl_node {
3054 struct hlist_bl_node *next ;
3055 struct hlist_bl_node **pprev ;
3056};
3057#line 13 "include/linux/dcache.h"
3058struct nameidata;
3059#line 13
3060struct nameidata;
3061#line 14
3062struct path;
3063#line 14
3064struct path;
3065#line 15
3066struct vfsmount;
3067#line 15
3068struct vfsmount;
3069#line 35 "include/linux/dcache.h"
3070struct qstr {
3071 unsigned int hash ;
3072 unsigned int len ;
3073 unsigned char const *name ;
3074};
3075#line 88
3076struct dentry_operations;
3077#line 88
3078struct super_block;
3079#line 88 "include/linux/dcache.h"
3080union __anonunion_d_u_234 {
3081 struct list_head d_child ;
3082 struct rcu_head d_rcu ;
3083};
3084#line 88 "include/linux/dcache.h"
3085struct dentry {
3086 unsigned int d_flags ;
3087 seqcount_t d_seq ;
3088 struct hlist_bl_node d_hash ;
3089 struct dentry *d_parent ;
3090 struct qstr d_name ;
3091 struct inode *d_inode ;
3092 unsigned char d_iname[32] ;
3093 unsigned int d_count ;
3094 spinlock_t d_lock ;
3095 struct dentry_operations const *d_op ;
3096 struct super_block *d_sb ;
3097 unsigned long d_time ;
3098 void *d_fsdata ;
3099 struct list_head d_lru ;
3100 union __anonunion_d_u_234 d_u ;
3101 struct list_head d_subdirs ;
3102 struct list_head d_alias ;
3103};
3104#line 131 "include/linux/dcache.h"
3105struct dentry_operations {
3106 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
3107 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
3108 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
3109 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
3110 int (*d_delete)(struct dentry const * ) ;
3111 void (*d_release)(struct dentry * ) ;
3112 void (*d_prune)(struct dentry * ) ;
3113 void (*d_iput)(struct dentry * , struct inode * ) ;
3114 char *(*d_dname)(struct dentry * , char * , int ) ;
3115 struct vfsmount *(*d_automount)(struct path * ) ;
3116 int (*d_manage)(struct dentry * , bool ) ;
3117} __attribute__((__aligned__((1) << (6) ))) ;
3118#line 4 "include/linux/path.h"
3119struct dentry;
3120#line 5
3121struct vfsmount;
3122#line 7 "include/linux/path.h"
3123struct path {
3124 struct vfsmount *mnt ;
3125 struct dentry *dentry ;
3126};
3127#line 64 "include/linux/radix-tree.h"
3128struct radix_tree_node;
3129#line 64 "include/linux/radix-tree.h"
3130struct radix_tree_root {
3131 unsigned int height ;
3132 gfp_t gfp_mask ;
3133 struct radix_tree_node *rnode ;
3134};
3135#line 16 "include/linux/fiemap.h"
3136struct fiemap_extent {
3137 __u64 fe_logical ;
3138 __u64 fe_physical ;
3139 __u64 fe_length ;
3140 __u64 fe_reserved64[2] ;
3141 __u32 fe_flags ;
3142 __u32 fe_reserved[3] ;
3143};
3144#line 8 "include/linux/shrinker.h"
3145struct shrink_control {
3146 gfp_t gfp_mask ;
3147 unsigned long nr_to_scan ;
3148};
3149#line 31 "include/linux/shrinker.h"
3150struct shrinker {
3151 int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
3152 int seeks ;
3153 long batch ;
3154 struct list_head list ;
3155 atomic_long_t nr_in_batch ;
3156};
3157#line 10 "include/linux/migrate_mode.h"
3158enum migrate_mode {
3159 MIGRATE_ASYNC = 0,
3160 MIGRATE_SYNC_LIGHT = 1,
3161 MIGRATE_SYNC = 2
3162} ;
3163#line 408 "include/linux/fs.h"
3164struct export_operations;
3165#line 408
3166struct export_operations;
3167#line 410
3168struct iovec;
3169#line 411
3170struct nameidata;
3171#line 412
3172struct kiocb;
3173#line 413
3174struct kobject;
3175#line 414
3176struct pipe_inode_info;
3177#line 415
3178struct poll_table_struct;
3179#line 415
3180struct poll_table_struct;
3181#line 416
3182struct kstatfs;
3183#line 416
3184struct kstatfs;
3185#line 417
3186struct vm_area_struct;
3187#line 418
3188struct vfsmount;
3189#line 419
3190struct cred;
3191#line 469 "include/linux/fs.h"
3192struct iattr {
3193 unsigned int ia_valid ;
3194 umode_t ia_mode ;
3195 uid_t ia_uid ;
3196 gid_t ia_gid ;
3197 loff_t ia_size ;
3198 struct timespec ia_atime ;
3199 struct timespec ia_mtime ;
3200 struct timespec ia_ctime ;
3201 struct file *ia_file ;
3202};
3203#line 129 "include/linux/quota.h"
3204struct if_dqinfo {
3205 __u64 dqi_bgrace ;
3206 __u64 dqi_igrace ;
3207 __u32 dqi_flags ;
3208 __u32 dqi_valid ;
3209};
3210#line 50 "include/linux/dqblk_xfs.h"
3211struct fs_disk_quota {
3212 __s8 d_version ;
3213 __s8 d_flags ;
3214 __u16 d_fieldmask ;
3215 __u32 d_id ;
3216 __u64 d_blk_hardlimit ;
3217 __u64 d_blk_softlimit ;
3218 __u64 d_ino_hardlimit ;
3219 __u64 d_ino_softlimit ;
3220 __u64 d_bcount ;
3221 __u64 d_icount ;
3222 __s32 d_itimer ;
3223 __s32 d_btimer ;
3224 __u16 d_iwarns ;
3225 __u16 d_bwarns ;
3226 __s32 d_padding2 ;
3227 __u64 d_rtb_hardlimit ;
3228 __u64 d_rtb_softlimit ;
3229 __u64 d_rtbcount ;
3230 __s32 d_rtbtimer ;
3231 __u16 d_rtbwarns ;
3232 __s16 d_padding3 ;
3233 char d_padding4[8] ;
3234};
3235#line 146 "include/linux/dqblk_xfs.h"
3236struct fs_qfilestat {
3237 __u64 qfs_ino ;
3238 __u64 qfs_nblks ;
3239 __u32 qfs_nextents ;
3240};
3241#line 146 "include/linux/dqblk_xfs.h"
3242typedef struct fs_qfilestat fs_qfilestat_t;
3243#line 152 "include/linux/dqblk_xfs.h"
3244struct fs_quota_stat {
3245 __s8 qs_version ;
3246 __u16 qs_flags ;
3247 __s8 qs_pad ;
3248 fs_qfilestat_t qs_uquota ;
3249 fs_qfilestat_t qs_gquota ;
3250 __u32 qs_incoredqs ;
3251 __s32 qs_btimelimit ;
3252 __s32 qs_itimelimit ;
3253 __s32 qs_rtbtimelimit ;
3254 __u16 qs_bwarnlimit ;
3255 __u16 qs_iwarnlimit ;
3256};
3257#line 17 "include/linux/dqblk_qtree.h"
3258struct dquot;
3259#line 17
3260struct dquot;
3261#line 185 "include/linux/quota.h"
3262typedef __kernel_uid32_t qid_t;
3263#line 186 "include/linux/quota.h"
3264typedef long long qsize_t;
3265#line 200 "include/linux/quota.h"
3266struct mem_dqblk {
3267 qsize_t dqb_bhardlimit ;
3268 qsize_t dqb_bsoftlimit ;
3269 qsize_t dqb_curspace ;
3270 qsize_t dqb_rsvspace ;
3271 qsize_t dqb_ihardlimit ;
3272 qsize_t dqb_isoftlimit ;
3273 qsize_t dqb_curinodes ;
3274 time_t dqb_btime ;
3275 time_t dqb_itime ;
3276};
3277#line 215
3278struct quota_format_type;
3279#line 215
3280struct quota_format_type;
3281#line 217 "include/linux/quota.h"
3282struct mem_dqinfo {
3283 struct quota_format_type *dqi_format ;
3284 int dqi_fmt_id ;
3285 struct list_head dqi_dirty_list ;
3286 unsigned long dqi_flags ;
3287 unsigned int dqi_bgrace ;
3288 unsigned int dqi_igrace ;
3289 qsize_t dqi_maxblimit ;
3290 qsize_t dqi_maxilimit ;
3291 void *dqi_priv ;
3292};
3293#line 230
3294struct super_block;
3295#line 288 "include/linux/quota.h"
3296struct dquot {
3297 struct hlist_node dq_hash ;
3298 struct list_head dq_inuse ;
3299 struct list_head dq_free ;
3300 struct list_head dq_dirty ;
3301 struct mutex dq_lock ;
3302 atomic_t dq_count ;
3303 wait_queue_head_t dq_wait_unused ;
3304 struct super_block *dq_sb ;
3305 unsigned int dq_id ;
3306 loff_t dq_off ;
3307 unsigned long dq_flags ;
3308 short dq_type ;
3309 struct mem_dqblk dq_dqb ;
3310};
3311#line 305 "include/linux/quota.h"
3312struct quota_format_ops {
3313 int (*check_quota_file)(struct super_block *sb , int type ) ;
3314 int (*read_file_info)(struct super_block *sb , int type ) ;
3315 int (*write_file_info)(struct super_block *sb , int type ) ;
3316 int (*free_file_info)(struct super_block *sb , int type ) ;
3317 int (*read_dqblk)(struct dquot *dquot ) ;
3318 int (*commit_dqblk)(struct dquot *dquot ) ;
3319 int (*release_dqblk)(struct dquot *dquot ) ;
3320};
3321#line 316 "include/linux/quota.h"
3322struct dquot_operations {
3323 int (*write_dquot)(struct dquot * ) ;
3324 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
3325 void (*destroy_dquot)(struct dquot * ) ;
3326 int (*acquire_dquot)(struct dquot * ) ;
3327 int (*release_dquot)(struct dquot * ) ;
3328 int (*mark_dirty)(struct dquot * ) ;
3329 int (*write_info)(struct super_block * , int ) ;
3330 qsize_t *(*get_reserved_space)(struct inode * ) ;
3331};
3332#line 329
3333struct path;
3334#line 332 "include/linux/quota.h"
3335struct quotactl_ops {
3336 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
3337 int (*quota_on_meta)(struct super_block * , int , int ) ;
3338 int (*quota_off)(struct super_block * , int ) ;
3339 int (*quota_sync)(struct super_block * , int , int ) ;
3340 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
3341 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
3342 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
3343 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
3344 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
3345 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
3346};
3347#line 345 "include/linux/quota.h"
3348struct quota_format_type {
3349 int qf_fmt_id ;
3350 struct quota_format_ops const *qf_ops ;
3351 struct module *qf_owner ;
3352 struct quota_format_type *qf_next ;
3353};
3354#line 399 "include/linux/quota.h"
3355struct quota_info {
3356 unsigned int flags ;
3357 struct mutex dqio_mutex ;
3358 struct mutex dqonoff_mutex ;
3359 struct rw_semaphore dqptr_sem ;
3360 struct inode *files[2] ;
3361 struct mem_dqinfo info[2] ;
3362 struct quota_format_ops const *ops[2] ;
3363};
3364#line 532 "include/linux/fs.h"
3365struct page;
3366#line 533
3367struct address_space;
3368#line 534
3369struct writeback_control;
3370#line 534
3371struct writeback_control;
3372#line 577 "include/linux/fs.h"
3373union __anonunion_arg_241 {
3374 char *buf ;
3375 void *data ;
3376};
3377#line 577 "include/linux/fs.h"
3378struct __anonstruct_read_descriptor_t_240 {
3379 size_t written ;
3380 size_t count ;
3381 union __anonunion_arg_241 arg ;
3382 int error ;
3383};
3384#line 577 "include/linux/fs.h"
3385typedef struct __anonstruct_read_descriptor_t_240 read_descriptor_t;
3386#line 590 "include/linux/fs.h"
3387struct address_space_operations {
3388 int (*writepage)(struct page *page , struct writeback_control *wbc ) ;
3389 int (*readpage)(struct file * , struct page * ) ;
3390 int (*writepages)(struct address_space * , struct writeback_control * ) ;
3391 int (*set_page_dirty)(struct page *page ) ;
3392 int (*readpages)(struct file *filp , struct address_space *mapping , struct list_head *pages ,
3393 unsigned int nr_pages ) ;
3394 int (*write_begin)(struct file * , struct address_space *mapping , loff_t pos ,
3395 unsigned int len , unsigned int flags , struct page **pagep ,
3396 void **fsdata ) ;
3397 int (*write_end)(struct file * , struct address_space *mapping , loff_t pos , unsigned int len ,
3398 unsigned int copied , struct page *page , void *fsdata ) ;
3399 sector_t (*bmap)(struct address_space * , sector_t ) ;
3400 void (*invalidatepage)(struct page * , unsigned long ) ;
3401 int (*releasepage)(struct page * , gfp_t ) ;
3402 void (*freepage)(struct page * ) ;
3403 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const *iov , loff_t offset ,
3404 unsigned long nr_segs ) ;
3405 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
3406 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
3407 int (*launder_page)(struct page * ) ;
3408 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
3409 int (*error_remove_page)(struct address_space * , struct page * ) ;
3410};
3411#line 645
3412struct backing_dev_info;
3413#line 646 "include/linux/fs.h"
3414struct address_space {
3415 struct inode *host ;
3416 struct radix_tree_root page_tree ;
3417 spinlock_t tree_lock ;
3418 unsigned int i_mmap_writable ;
3419 struct prio_tree_root i_mmap ;
3420 struct list_head i_mmap_nonlinear ;
3421 struct mutex i_mmap_mutex ;
3422 unsigned long nrpages ;
3423 unsigned long writeback_index ;
3424 struct address_space_operations const *a_ops ;
3425 unsigned long flags ;
3426 struct backing_dev_info *backing_dev_info ;
3427 spinlock_t private_lock ;
3428 struct list_head private_list ;
3429 struct address_space *assoc_mapping ;
3430} __attribute__((__aligned__(sizeof(long )))) ;
3431#line 669
3432struct request_queue;
3433#line 669
3434struct request_queue;
3435#line 671
3436struct hd_struct;
3437#line 671
3438struct gendisk;
3439#line 671 "include/linux/fs.h"
3440struct block_device {
3441 dev_t bd_dev ;
3442 int bd_openers ;
3443 struct inode *bd_inode ;
3444 struct super_block *bd_super ;
3445 struct mutex bd_mutex ;
3446 struct list_head bd_inodes ;
3447 void *bd_claiming ;
3448 void *bd_holder ;
3449 int bd_holders ;
3450 bool bd_write_holder ;
3451 struct list_head bd_holder_disks ;
3452 struct block_device *bd_contains ;
3453 unsigned int bd_block_size ;
3454 struct hd_struct *bd_part ;
3455 unsigned int bd_part_count ;
3456 int bd_invalidated ;
3457 struct gendisk *bd_disk ;
3458 struct request_queue *bd_queue ;
3459 struct list_head bd_list ;
3460 unsigned long bd_private ;
3461 int bd_fsfreeze_count ;
3462 struct mutex bd_fsfreeze_mutex ;
3463};
3464#line 749
3465struct posix_acl;
3466#line 749
3467struct posix_acl;
3468#line 761
3469struct inode_operations;
3470#line 761 "include/linux/fs.h"
3471union __anonunion____missing_field_name_242 {
3472 unsigned int const i_nlink ;
3473 unsigned int __i_nlink ;
3474};
3475#line 761 "include/linux/fs.h"
3476union __anonunion____missing_field_name_243 {
3477 struct list_head i_dentry ;
3478 struct rcu_head i_rcu ;
3479};
3480#line 761
3481struct file_operations;
3482#line 761
3483struct file_lock;
3484#line 761
3485struct cdev;
3486#line 761 "include/linux/fs.h"
3487union __anonunion____missing_field_name_244 {
3488 struct pipe_inode_info *i_pipe ;
3489 struct block_device *i_bdev ;
3490 struct cdev *i_cdev ;
3491};
3492#line 761 "include/linux/fs.h"
3493struct inode {
3494 umode_t i_mode ;
3495 unsigned short i_opflags ;
3496 uid_t i_uid ;
3497 gid_t i_gid ;
3498 unsigned int i_flags ;
3499 struct posix_acl *i_acl ;
3500 struct posix_acl *i_default_acl ;
3501 struct inode_operations const *i_op ;
3502 struct super_block *i_sb ;
3503 struct address_space *i_mapping ;
3504 void *i_security ;
3505 unsigned long i_ino ;
3506 union __anonunion____missing_field_name_242 __annonCompField44 ;
3507 dev_t i_rdev ;
3508 struct timespec i_atime ;
3509 struct timespec i_mtime ;
3510 struct timespec i_ctime ;
3511 spinlock_t i_lock ;
3512 unsigned short i_bytes ;
3513 blkcnt_t i_blocks ;
3514 loff_t i_size ;
3515 unsigned long i_state ;
3516 struct mutex i_mutex ;
3517 unsigned long dirtied_when ;
3518 struct hlist_node i_hash ;
3519 struct list_head i_wb_list ;
3520 struct list_head i_lru ;
3521 struct list_head i_sb_list ;
3522 union __anonunion____missing_field_name_243 __annonCompField45 ;
3523 atomic_t i_count ;
3524 unsigned int i_blkbits ;
3525 u64 i_version ;
3526 atomic_t i_dio_count ;
3527 atomic_t i_writecount ;
3528 struct file_operations const *i_fop ;
3529 struct file_lock *i_flock ;
3530 struct address_space i_data ;
3531 struct dquot *i_dquot[2] ;
3532 struct list_head i_devices ;
3533 union __anonunion____missing_field_name_244 __annonCompField46 ;
3534 __u32 i_generation ;
3535 __u32 i_fsnotify_mask ;
3536 struct hlist_head i_fsnotify_marks ;
3537 atomic_t i_readcount ;
3538 void *i_private ;
3539};
3540#line 942 "include/linux/fs.h"
3541struct fown_struct {
3542 rwlock_t lock ;
3543 struct pid *pid ;
3544 enum pid_type pid_type ;
3545 uid_t uid ;
3546 uid_t euid ;
3547 int signum ;
3548};
3549#line 953 "include/linux/fs.h"
3550struct file_ra_state {
3551 unsigned long start ;
3552 unsigned int size ;
3553 unsigned int async_size ;
3554 unsigned int ra_pages ;
3555 unsigned int mmap_miss ;
3556 loff_t prev_pos ;
3557};
3558#line 976 "include/linux/fs.h"
3559union __anonunion_f_u_245 {
3560 struct list_head fu_list ;
3561 struct rcu_head fu_rcuhead ;
3562};
3563#line 976 "include/linux/fs.h"
3564struct file {
3565 union __anonunion_f_u_245 f_u ;
3566 struct path f_path ;
3567 struct file_operations const *f_op ;
3568 spinlock_t f_lock ;
3569 int f_sb_list_cpu ;
3570 atomic_long_t f_count ;
3571 unsigned int f_flags ;
3572 fmode_t f_mode ;
3573 loff_t f_pos ;
3574 struct fown_struct f_owner ;
3575 struct cred const *f_cred ;
3576 struct file_ra_state f_ra ;
3577 u64 f_version ;
3578 void *f_security ;
3579 void *private_data ;
3580 struct list_head f_ep_links ;
3581 struct list_head f_tfile_llink ;
3582 struct address_space *f_mapping ;
3583 unsigned long f_mnt_write_state ;
3584};
3585#line 1111 "include/linux/fs.h"
3586typedef struct files_struct *fl_owner_t;
3587#line 1113 "include/linux/fs.h"
3588struct file_lock_operations {
3589 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
3590 void (*fl_release_private)(struct file_lock * ) ;
3591};
3592#line 1118 "include/linux/fs.h"
3593struct lock_manager_operations {
3594 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
3595 void (*lm_notify)(struct file_lock * ) ;
3596 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
3597 void (*lm_release_private)(struct file_lock * ) ;
3598 void (*lm_break)(struct file_lock * ) ;
3599 int (*lm_change)(struct file_lock ** , int ) ;
3600};
3601#line 4 "include/linux/nfs_fs_i.h"
3602struct nlm_lockowner;
3603#line 4
3604struct nlm_lockowner;
3605#line 9 "include/linux/nfs_fs_i.h"
3606struct nfs_lock_info {
3607 u32 state ;
3608 struct nlm_lockowner *owner ;
3609 struct list_head list ;
3610};
3611#line 15
3612struct nfs4_lock_state;
3613#line 15
3614struct nfs4_lock_state;
3615#line 16 "include/linux/nfs_fs_i.h"
3616struct nfs4_lock_info {
3617 struct nfs4_lock_state *owner ;
3618};
3619#line 1138 "include/linux/fs.h"
3620struct fasync_struct;
3621#line 1138 "include/linux/fs.h"
3622struct __anonstruct_afs_247 {
3623 struct list_head link ;
3624 int state ;
3625};
3626#line 1138 "include/linux/fs.h"
3627union __anonunion_fl_u_246 {
3628 struct nfs_lock_info nfs_fl ;
3629 struct nfs4_lock_info nfs4_fl ;
3630 struct __anonstruct_afs_247 afs ;
3631};
3632#line 1138 "include/linux/fs.h"
3633struct file_lock {
3634 struct file_lock *fl_next ;
3635 struct list_head fl_link ;
3636 struct list_head fl_block ;
3637 fl_owner_t fl_owner ;
3638 unsigned int fl_flags ;
3639 unsigned char fl_type ;
3640 unsigned int fl_pid ;
3641 struct pid *fl_nspid ;
3642 wait_queue_head_t fl_wait ;
3643 struct file *fl_file ;
3644 loff_t fl_start ;
3645 loff_t fl_end ;
3646 struct fasync_struct *fl_fasync ;
3647 unsigned long fl_break_time ;
3648 unsigned long fl_downgrade_time ;
3649 struct file_lock_operations const *fl_ops ;
3650 struct lock_manager_operations const *fl_lmops ;
3651 union __anonunion_fl_u_246 fl_u ;
3652};
3653#line 1378 "include/linux/fs.h"
3654struct fasync_struct {
3655 spinlock_t fa_lock ;
3656 int magic ;
3657 int fa_fd ;
3658 struct fasync_struct *fa_next ;
3659 struct file *fa_file ;
3660 struct rcu_head fa_rcu ;
3661};
3662#line 1418
3663struct file_system_type;
3664#line 1418
3665struct super_operations;
3666#line 1418
3667struct xattr_handler;
3668#line 1418
3669struct mtd_info;
3670#line 1418 "include/linux/fs.h"
3671struct super_block {
3672 struct list_head s_list ;
3673 dev_t s_dev ;
3674 unsigned char s_dirt ;
3675 unsigned char s_blocksize_bits ;
3676 unsigned long s_blocksize ;
3677 loff_t s_maxbytes ;
3678 struct file_system_type *s_type ;
3679 struct super_operations const *s_op ;
3680 struct dquot_operations const *dq_op ;
3681 struct quotactl_ops const *s_qcop ;
3682 struct export_operations const *s_export_op ;
3683 unsigned long s_flags ;
3684 unsigned long s_magic ;
3685 struct dentry *s_root ;
3686 struct rw_semaphore s_umount ;
3687 struct mutex s_lock ;
3688 int s_count ;
3689 atomic_t s_active ;
3690 void *s_security ;
3691 struct xattr_handler const **s_xattr ;
3692 struct list_head s_inodes ;
3693 struct hlist_bl_head s_anon ;
3694 struct list_head *s_files ;
3695 struct list_head s_mounts ;
3696 struct list_head s_dentry_lru ;
3697 int s_nr_dentry_unused ;
3698 spinlock_t s_inode_lru_lock __attribute__((__aligned__((1) << (6) ))) ;
3699 struct list_head s_inode_lru ;
3700 int s_nr_inodes_unused ;
3701 struct block_device *s_bdev ;
3702 struct backing_dev_info *s_bdi ;
3703 struct mtd_info *s_mtd ;
3704 struct hlist_node s_instances ;
3705 struct quota_info s_dquot ;
3706 int s_frozen ;
3707 wait_queue_head_t s_wait_unfrozen ;
3708 char s_id[32] ;
3709 u8 s_uuid[16] ;
3710 void *s_fs_info ;
3711 unsigned int s_max_links ;
3712 fmode_t s_mode ;
3713 u32 s_time_gran ;
3714 struct mutex s_vfs_rename_mutex ;
3715 char *s_subtype ;
3716 char *s_options ;
3717 struct dentry_operations const *s_d_op ;
3718 int cleancache_poolid ;
3719 struct shrinker s_shrink ;
3720 atomic_long_t s_remove_count ;
3721 int s_readonly_remount ;
3722};
3723#line 1567 "include/linux/fs.h"
3724struct fiemap_extent_info {
3725 unsigned int fi_flags ;
3726 unsigned int fi_extents_mapped ;
3727 unsigned int fi_extents_max ;
3728 struct fiemap_extent *fi_extents_start ;
3729};
3730#line 1609 "include/linux/fs.h"
3731struct file_operations {
3732 struct module *owner ;
3733 loff_t (*llseek)(struct file * , loff_t , int ) ;
3734 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
3735 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
3736 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
3737 loff_t ) ;
3738 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
3739 loff_t ) ;
3740 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
3741 loff_t , u64 , unsigned int ) ) ;
3742 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
3743 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
3744 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
3745 int (*mmap)(struct file * , struct vm_area_struct * ) ;
3746 int (*open)(struct inode * , struct file * ) ;
3747 int (*flush)(struct file * , fl_owner_t id ) ;
3748 int (*release)(struct inode * , struct file * ) ;
3749 int (*fsync)(struct file * , loff_t , loff_t , int datasync ) ;
3750 int (*aio_fsync)(struct kiocb * , int datasync ) ;
3751 int (*fasync)(int , struct file * , int ) ;
3752 int (*lock)(struct file * , int , struct file_lock * ) ;
3753 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
3754 int ) ;
3755 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
3756 unsigned long , unsigned long ) ;
3757 int (*check_flags)(int ) ;
3758 int (*flock)(struct file * , int , struct file_lock * ) ;
3759 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
3760 unsigned int ) ;
3761 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
3762 unsigned int ) ;
3763 int (*setlease)(struct file * , long , struct file_lock ** ) ;
3764 long (*fallocate)(struct file *file , int mode , loff_t offset , loff_t len ) ;
3765};
3766#line 1639 "include/linux/fs.h"
3767struct inode_operations {
3768 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
3769 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
3770 int (*permission)(struct inode * , int ) ;
3771 struct posix_acl *(*get_acl)(struct inode * , int ) ;
3772 int (*readlink)(struct dentry * , char * , int ) ;
3773 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
3774 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
3775 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
3776 int (*unlink)(struct inode * , struct dentry * ) ;
3777 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
3778 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
3779 int (*rmdir)(struct inode * , struct dentry * ) ;
3780 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
3781 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
3782 void (*truncate)(struct inode * ) ;
3783 int (*setattr)(struct dentry * , struct iattr * ) ;
3784 int (*getattr)(struct vfsmount *mnt , struct dentry * , struct kstat * ) ;
3785 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
3786 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
3787 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
3788 int (*removexattr)(struct dentry * , char const * ) ;
3789 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
3790 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 start , u64 len ) ;
3791} __attribute__((__aligned__((1) << (6) ))) ;
3792#line 1669
3793struct seq_file;
3794#line 1684 "include/linux/fs.h"
3795struct super_operations {
3796 struct inode *(*alloc_inode)(struct super_block *sb ) ;
3797 void (*destroy_inode)(struct inode * ) ;
3798 void (*dirty_inode)(struct inode * , int flags ) ;
3799 int (*write_inode)(struct inode * , struct writeback_control *wbc ) ;
3800 int (*drop_inode)(struct inode * ) ;
3801 void (*evict_inode)(struct inode * ) ;
3802 void (*put_super)(struct super_block * ) ;
3803 void (*write_super)(struct super_block * ) ;
3804 int (*sync_fs)(struct super_block *sb , int wait ) ;
3805 int (*freeze_fs)(struct super_block * ) ;
3806 int (*unfreeze_fs)(struct super_block * ) ;
3807 int (*statfs)(struct dentry * , struct kstatfs * ) ;
3808 int (*remount_fs)(struct super_block * , int * , char * ) ;
3809 void (*umount_begin)(struct super_block * ) ;
3810 int (*show_options)(struct seq_file * , struct dentry * ) ;
3811 int (*show_devname)(struct seq_file * , struct dentry * ) ;
3812 int (*show_path)(struct seq_file * , struct dentry * ) ;
3813 int (*show_stats)(struct seq_file * , struct dentry * ) ;
3814 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
3815 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
3816 loff_t ) ;
3817 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
3818 int (*nr_cached_objects)(struct super_block * ) ;
3819 void (*free_cached_objects)(struct super_block * , int ) ;
3820};
3821#line 1835 "include/linux/fs.h"
3822struct file_system_type {
3823 char const *name ;
3824 int fs_flags ;
3825 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
3826 void (*kill_sb)(struct super_block * ) ;
3827 struct module *owner ;
3828 struct file_system_type *next ;
3829 struct hlist_head fs_supers ;
3830 struct lock_class_key s_lock_key ;
3831 struct lock_class_key s_umount_key ;
3832 struct lock_class_key s_vfs_rename_key ;
3833 struct lock_class_key i_lock_key ;
3834 struct lock_class_key i_mutex_key ;
3835 struct lock_class_key i_mutex_dir_key ;
3836};
3837#line 2648
3838struct ctl_table;
3839#line 94 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/uaccess.h"
3840struct exception_table_entry {
3841 unsigned long insn ;
3842 unsigned long fixup ;
3843};
3844#line 28 "include/linux/poll.h"
3845struct poll_table_struct;
3846#line 39 "include/linux/poll.h"
3847struct poll_table_struct {
3848 void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
3849 unsigned long _key ;
3850};
3851#line 57 "drivers/media/dvb/dvb-core/dvbdev.h"
3852struct dvb_frontend;
3853#line 57
3854struct dvb_frontend;
3855#line 59
3856struct dvb_device;
3857#line 59 "drivers/media/dvb/dvb-core/dvbdev.h"
3858struct dvb_adapter {
3859 int num ;
3860 struct list_head list_head ;
3861 struct list_head device_list ;
3862 char const *name ;
3863 u8 proposed_mac[6] ;
3864 void *priv ;
3865 struct device *device ;
3866 struct module *module ;
3867 int mfe_shared ;
3868 struct dvb_device *mfe_dvbdev ;
3869 struct mutex mfe_lock ;
3870 int (*fe_ioctl_override)(struct dvb_frontend *fe , unsigned int cmd , void *parg ,
3871 unsigned int stage ) ;
3872};
3873#line 103 "drivers/media/dvb/dvb-core/dvbdev.h"
3874struct dvb_device {
3875 struct list_head list_head ;
3876 struct file_operations const *fops ;
3877 struct dvb_adapter *adapter ;
3878 int type ;
3879 int minor ;
3880 u32 id ;
3881 int readers ;
3882 int writers ;
3883 int users ;
3884 wait_queue_head_t wait_queue ;
3885 int (*kernel_ioctl)(struct file *file , unsigned int cmd , void *arg ) ;
3886 void *priv ;
3887};
3888#line 51 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3889struct dvb_frontend_tune_settings {
3890 int min_delay_ms ;
3891 int step_size ;
3892 int max_drift ;
3893};
3894#line 57
3895struct dvb_frontend;
3896#line 59 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3897struct dvb_tuner_info {
3898 char name[128] ;
3899 u32 frequency_min ;
3900 u32 frequency_max ;
3901 u32 frequency_step ;
3902 u32 bandwidth_min ;
3903 u32 bandwidth_max ;
3904 u32 bandwidth_step ;
3905};
3906#line 71 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3907struct analog_parameters {
3908 unsigned int frequency ;
3909 unsigned int mode ;
3910 unsigned int audmode ;
3911 u64 std ;
3912};
3913#line 114
3914enum tuner_param {
3915 DVBFE_TUNER_FREQUENCY = 1,
3916 DVBFE_TUNER_TUNERSTEP = 2,
3917 DVBFE_TUNER_IFFREQ = 4,
3918 DVBFE_TUNER_BANDWIDTH = 8,
3919 DVBFE_TUNER_REFCLOCK = 16,
3920 DVBFE_TUNER_IQSENSE = 32,
3921 DVBFE_TUNER_DUMMY = (-0x7FFFFFFF-1)
3922} ;
3923#line 149
3924enum dvbfe_algo {
3925 DVBFE_ALGO_HW = 1,
3926 DVBFE_ALGO_SW = 2,
3927 DVBFE_ALGO_CUSTOM = 4,
3928 DVBFE_ALGO_RECOVERY = (-0x7FFFFFFF-1)
3929} ;
3930#line 156 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3931struct tuner_state {
3932 u32 frequency ;
3933 u32 tunerstep ;
3934 u32 ifreq ;
3935 u32 bandwidth ;
3936 u32 iqsense ;
3937 u32 refclock ;
3938};
3939#line 187
3940enum dvbfe_search {
3941 DVBFE_ALGO_SEARCH_SUCCESS = 1,
3942 DVBFE_ALGO_SEARCH_ASLEEP = 2,
3943 DVBFE_ALGO_SEARCH_FAILED = 4,
3944 DVBFE_ALGO_SEARCH_INVALID = 8,
3945 DVBFE_ALGO_SEARCH_AGAIN = 16,
3946 DVBFE_ALGO_SEARCH_ERROR = (-0x7FFFFFFF-1)
3947} ;
3948#line 197 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3949struct dvb_tuner_ops {
3950 struct dvb_tuner_info info ;
3951 int (*release)(struct dvb_frontend *fe ) ;
3952 int (*init)(struct dvb_frontend *fe ) ;
3953 int (*sleep)(struct dvb_frontend *fe ) ;
3954 int (*set_params)(struct dvb_frontend *fe ) ;
3955 int (*set_analog_params)(struct dvb_frontend *fe , struct analog_parameters *p ) ;
3956 int (*calc_regs)(struct dvb_frontend *fe , u8 *buf , int buf_len ) ;
3957 int (*set_config)(struct dvb_frontend *fe , void *priv_cfg ) ;
3958 int (*get_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
3959 int (*get_bandwidth)(struct dvb_frontend *fe , u32 *bandwidth ) ;
3960 int (*get_if_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
3961 int (*get_status)(struct dvb_frontend *fe , u32 *status ) ;
3962 int (*get_rf_strength)(struct dvb_frontend *fe , u16 *strength ) ;
3963 int (*set_frequency)(struct dvb_frontend *fe , u32 frequency ) ;
3964 int (*set_bandwidth)(struct dvb_frontend *fe , u32 bandwidth ) ;
3965 int (*set_state)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ) ;
3966 int (*get_state)(struct dvb_frontend *fe , enum tuner_param param , struct tuner_state *state ) ;
3967};
3968#line 237 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3969struct analog_demod_info {
3970 char *name ;
3971};
3972#line 241 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3973struct analog_demod_ops {
3974 struct analog_demod_info info ;
3975 void (*set_params)(struct dvb_frontend *fe , struct analog_parameters *params ) ;
3976 int (*has_signal)(struct dvb_frontend *fe ) ;
3977 int (*get_afc)(struct dvb_frontend *fe ) ;
3978 void (*tuner_status)(struct dvb_frontend *fe ) ;
3979 void (*standby)(struct dvb_frontend *fe ) ;
3980 void (*release)(struct dvb_frontend *fe ) ;
3981 int (*i2c_gate_ctrl)(struct dvb_frontend *fe , int enable ) ;
3982 int (*set_config)(struct dvb_frontend *fe , void *priv_cfg ) ;
3983};
3984#line 258
3985struct dtv_frontend_properties;
3986#line 258
3987struct dtv_frontend_properties;
3988#line 260 "drivers/media/dvb/dvb-core/dvb_frontend.h"
3989struct dvb_frontend_ops {
3990 struct dvb_frontend_info info ;
3991 u8 delsys[8] ;
3992 void (*release)(struct dvb_frontend *fe ) ;
3993 void (*release_sec)(struct dvb_frontend *fe ) ;
3994 int (*init)(struct dvb_frontend *fe ) ;
3995 int (*sleep)(struct dvb_frontend *fe ) ;
3996 int (*write)(struct dvb_frontend *fe , u8 const *buf , int len ) ;
3997 int (*tune)(struct dvb_frontend *fe , bool re_tune , unsigned int mode_flags ,
3998 unsigned int *delay , fe_status_t *status ) ;
3999 enum dvbfe_algo (*get_frontend_algo)(struct dvb_frontend *fe ) ;
4000 int (*set_frontend)(struct dvb_frontend *fe ) ;
4001 int (*get_tune_settings)(struct dvb_frontend *fe , struct dvb_frontend_tune_settings *settings ) ;
4002 int (*get_frontend)(struct dvb_frontend *fe ) ;
4003 int (*read_status)(struct dvb_frontend *fe , fe_status_t *status ) ;
4004 int (*read_ber)(struct dvb_frontend *fe , u32 *ber ) ;
4005 int (*read_signal_strength)(struct dvb_frontend *fe , u16 *strength ) ;
4006 int (*read_snr)(struct dvb_frontend *fe , u16 *snr ) ;
4007 int (*read_ucblocks)(struct dvb_frontend *fe , u32 *ucblocks ) ;
4008 int (*diseqc_reset_overload)(struct dvb_frontend *fe ) ;
4009 int (*diseqc_send_master_cmd)(struct dvb_frontend *fe , struct dvb_diseqc_master_cmd *cmd ) ;
4010 int (*diseqc_recv_slave_reply)(struct dvb_frontend *fe , struct dvb_diseqc_slave_reply *reply ) ;
4011 int (*diseqc_send_burst)(struct dvb_frontend *fe , fe_sec_mini_cmd_t minicmd ) ;
4012 int (*set_tone)(struct dvb_frontend *fe , fe_sec_tone_mode_t tone ) ;
4013 int (*set_voltage)(struct dvb_frontend *fe , fe_sec_voltage_t voltage ) ;
4014 int (*enable_high_lnb_voltage)(struct dvb_frontend *fe , long arg ) ;
4015 int (*dishnetwork_send_legacy_command)(struct dvb_frontend *fe , unsigned long cmd ) ;
4016 int (*i2c_gate_ctrl)(struct dvb_frontend *fe , int enable ) ;
4017 int (*ts_bus_ctrl)(struct dvb_frontend *fe , int acquire ) ;
4018 enum dvbfe_search (*search)(struct dvb_frontend *fe ) ;
4019 struct dvb_tuner_ops tuner_ops ;
4020 struct analog_demod_ops analog_ops ;
4021 int (*set_property)(struct dvb_frontend *fe , struct dtv_property *tvp ) ;
4022 int (*get_property)(struct dvb_frontend *fe , struct dtv_property *tvp ) ;
4023};
4024#line 331 "drivers/media/dvb/dvb-core/dvb_frontend.h"
4025struct __anonstruct_layer_251 {
4026 u8 segment_count ;
4027 fe_code_rate_t fec ;
4028 fe_modulation_t modulation ;
4029 u8 interleaving ;
4030};
4031#line 331 "drivers/media/dvb/dvb-core/dvb_frontend.h"
4032struct dtv_frontend_properties {
4033 u32 state ;
4034 u32 frequency ;
4035 fe_modulation_t modulation ;
4036 fe_sec_voltage_t voltage ;
4037 fe_sec_tone_mode_t sectone ;
4038 fe_spectral_inversion_t inversion ;
4039 fe_code_rate_t fec_inner ;
4040 fe_transmit_mode_t transmission_mode ;
4041 u32 bandwidth_hz ;
4042 fe_guard_interval_t guard_interval ;
4043 fe_hierarchy_t hierarchy ;
4044 u32 symbol_rate ;
4045 fe_code_rate_t code_rate_HP ;
4046 fe_code_rate_t code_rate_LP ;
4047 fe_pilot_t pilot ;
4048 fe_rolloff_t rolloff ;
4049 fe_delivery_system_t delivery_system ;
4050 u8 isdbt_partial_reception ;
4051 u8 isdbt_sb_mode ;
4052 u8 isdbt_sb_subchannel ;
4053 u32 isdbt_sb_segment_idx ;
4054 u32 isdbt_sb_segment_count ;
4055 u8 isdbt_layer_enabled ;
4056 struct __anonstruct_layer_251 layer[3] ;
4057 u32 isdbs_ts_id ;
4058 u32 dvbt2_plp_id ;
4059};
4060#line 377 "drivers/media/dvb/dvb-core/dvb_frontend.h"
4061struct dvb_frontend {
4062 struct dvb_frontend_ops ops ;
4063 struct dvb_adapter *dvb ;
4064 void *demodulator_priv ;
4065 void *tuner_priv ;
4066 void *frontend_priv ;
4067 void *sec_priv ;
4068 void *analog_demod_priv ;
4069 struct dtv_frontend_properties dtv_property_cache ;
4070 int (*callback)(void *adapter_priv , int component , int cmd , int arg ) ;
4071 int id ;
4072};
4073#line 37 "include/linux/dvb/dmx.h"
4074enum __anonenum_dmx_output_t_252 {
4075 DMX_OUT_DECODER = 0,
4076 DMX_OUT_TAP = 1,
4077 DMX_OUT_TS_TAP = 2,
4078 DMX_OUT_TSDEMUX_TAP = 3
4079} ;
4080#line 37 "include/linux/dvb/dmx.h"
4081typedef enum __anonenum_dmx_output_t_252 dmx_output_t;
4082#line 49
4083enum __anonenum_dmx_input_t_253 {
4084 DMX_IN_FRONTEND = 0,
4085 DMX_IN_DVR = 1
4086} ;
4087#line 49 "include/linux/dvb/dmx.h"
4088typedef enum __anonenum_dmx_input_t_253 dmx_input_t;
4089#line 56
4090enum __anonenum_dmx_pes_type_t_254 {
4091 DMX_PES_AUDIO0 = 0,
4092 DMX_PES_VIDEO0 = 1,
4093 DMX_PES_TELETEXT0 = 2,
4094 DMX_PES_SUBTITLE0 = 3,
4095 DMX_PES_PCR0 = 4,
4096 DMX_PES_AUDIO1 = 5,
4097 DMX_PES_VIDEO1 = 6,
4098 DMX_PES_TELETEXT1 = 7,
4099 DMX_PES_SUBTITLE1 = 8,
4100 DMX_PES_PCR1 = 9,
4101 DMX_PES_AUDIO2 = 10,
4102 DMX_PES_VIDEO2 = 11,
4103 DMX_PES_TELETEXT2 = 12,
4104 DMX_PES_SUBTITLE2 = 13,
4105 DMX_PES_PCR2 = 14,
4106 DMX_PES_AUDIO3 = 15,
4107 DMX_PES_VIDEO3 = 16,
4108 DMX_PES_TELETEXT3 = 17,
4109 DMX_PES_SUBTITLE3 = 18,
4110 DMX_PES_PCR3 = 19,
4111 DMX_PES_OTHER = 20
4112} ;
4113#line 56 "include/linux/dvb/dmx.h"
4114typedef enum __anonenum_dmx_pes_type_t_254 dmx_pes_type_t;
4115#line 92 "include/linux/dvb/dmx.h"
4116struct dmx_filter {
4117 __u8 filter[16] ;
4118 __u8 mask[16] ;
4119 __u8 mode[16] ;
4120};
4121#line 92 "include/linux/dvb/dmx.h"
4122typedef struct dmx_filter dmx_filter_t;
4123#line 100 "include/linux/dvb/dmx.h"
4124struct dmx_sct_filter_params {
4125 __u16 pid ;
4126 dmx_filter_t filter ;
4127 __u32 timeout ;
4128 __u32 flags ;
4129};
4130#line 113 "include/linux/dvb/dmx.h"
4131struct dmx_pes_filter_params {
4132 __u16 pid ;
4133 dmx_input_t input ;
4134 dmx_output_t output ;
4135 dmx_pes_type_t pes_type ;
4136 __u32 flags ;
4137};
4138#line 122 "include/linux/dvb/dmx.h"
4139struct dmx_caps {
4140 __u32 caps ;
4141 int num_decoders ;
4142};
4143#line 127
4144enum __anonenum_dmx_source_t_255 {
4145 DMX_SOURCE_FRONT0 = 0,
4146 DMX_SOURCE_FRONT1 = 1,
4147 DMX_SOURCE_FRONT2 = 2,
4148 DMX_SOURCE_FRONT3 = 3,
4149 DMX_SOURCE_DVR0 = 16,
4150 DMX_SOURCE_DVR1 = 17,
4151 DMX_SOURCE_DVR2 = 18,
4152 DMX_SOURCE_DVR3 = 19
4153} ;
4154#line 127 "include/linux/dvb/dmx.h"
4155typedef enum __anonenum_dmx_source_t_255 dmx_source_t;
4156#line 63 "drivers/media/dvb/dvb-core/demux.h"
4157enum dmx_success {
4158 DMX_OK = 0,
4159 DMX_LENGTH_ERROR = 1,
4160 DMX_OVERRUN_ERROR = 2,
4161 DMX_CRC_ERROR = 3,
4162 DMX_FRAME_ERROR = 4,
4163 DMX_FIFO_ERROR = 5,
4164 DMX_MISSED_ERROR = 6
4165} ;
4166#line 89
4167enum dmx_ts_pes {
4168 DMX_TS_PES_AUDIO0 = 0,
4169 DMX_TS_PES_VIDEO0 = 1,
4170 DMX_TS_PES_TELETEXT0 = 2,
4171 DMX_TS_PES_SUBTITLE0 = 3,
4172 DMX_TS_PES_PCR0 = 4,
4173 DMX_TS_PES_AUDIO1 = 5,
4174 DMX_TS_PES_VIDEO1 = 6,
4175 DMX_TS_PES_TELETEXT1 = 7,
4176 DMX_TS_PES_SUBTITLE1 = 8,
4177 DMX_TS_PES_PCR1 = 9,
4178 DMX_TS_PES_AUDIO2 = 10,
4179 DMX_TS_PES_VIDEO2 = 11,
4180 DMX_TS_PES_TELETEXT2 = 12,
4181 DMX_TS_PES_SUBTITLE2 = 13,
4182 DMX_TS_PES_PCR2 = 14,
4183 DMX_TS_PES_AUDIO3 = 15,
4184 DMX_TS_PES_VIDEO3 = 16,
4185 DMX_TS_PES_TELETEXT3 = 17,
4186 DMX_TS_PES_SUBTITLE3 = 18,
4187 DMX_TS_PES_PCR3 = 19,
4188 DMX_TS_PES_OTHER = 20
4189} ;
4190#line 125
4191struct dmx_demux;
4192#line 125 "drivers/media/dvb/dvb-core/demux.h"
4193struct dmx_ts_feed {
4194 int is_filtering ;
4195 struct dmx_demux *parent ;
4196 void *priv ;
4197 int (*set)(struct dmx_ts_feed *feed , u16 pid , int type , enum dmx_ts_pes pes_type ,
4198 size_t circular_buffer_size , struct timespec timeout ) ;
4199 int (*start_filtering)(struct dmx_ts_feed *feed ) ;
4200 int (*stop_filtering)(struct dmx_ts_feed *feed ) ;
4201};
4202#line 143
4203struct dmx_section_feed;
4204#line 143 "drivers/media/dvb/dvb-core/demux.h"
4205struct dmx_section_filter {
4206 u8 filter_value[18] ;
4207 u8 filter_mask[18] ;
4208 u8 filter_mode[18] ;
4209 struct dmx_section_feed *parent ;
4210 void *priv ;
4211};
4212#line 151 "drivers/media/dvb/dvb-core/demux.h"
4213struct dmx_section_feed {
4214 int is_filtering ;
4215 struct dmx_demux *parent ;
4216 void *priv ;
4217 int check_crc ;
4218 u32 crc_val ;
4219 u8 *secbuf ;
4220 u8 secbuf_base[4284] ;
4221 u16 secbufp ;
4222 u16 seclen ;
4223 u16 tsfeedp ;
4224 int (*set)(struct dmx_section_feed *feed , u16 pid , size_t circular_buffer_size ,
4225 int check_crc ) ;
4226 int (*allocate_filter)(struct dmx_section_feed *feed , struct dmx_section_filter **filter ) ;
4227 int (*release_filter)(struct dmx_section_feed *feed , struct dmx_section_filter *filter ) ;
4228 int (*start_filtering)(struct dmx_section_feed *feed ) ;
4229 int (*stop_filtering)(struct dmx_section_feed *feed ) ;
4230};
4231#line 197
4232enum dmx_frontend_source {
4233 DMX_MEMORY_FE = 0,
4234 DMX_FRONTEND_0 = 1,
4235 DMX_FRONTEND_1 = 2,
4236 DMX_FRONTEND_2 = 3,
4237 DMX_FRONTEND_3 = 4,
4238 DMX_STREAM_0 = 5,
4239 DMX_STREAM_1 = 6,
4240 DMX_STREAM_2 = 7,
4241 DMX_STREAM_3 = 8
4242} ;
4243#line 209 "drivers/media/dvb/dvb-core/demux.h"
4244struct dmx_frontend {
4245 struct list_head connectivity_list ;
4246 enum dmx_frontend_source source ;
4247};
4248#line 244 "drivers/media/dvb/dvb-core/demux.h"
4249struct dmx_demux {
4250 u32 capabilities ;
4251 struct dmx_frontend *frontend ;
4252 void *priv ;
4253 int (*open)(struct dmx_demux *demux ) ;
4254 int (*close)(struct dmx_demux *demux ) ;
4255 int (*write)(struct dmx_demux *demux , char const *buf , size_t count ) ;
4256 int (*allocate_ts_feed)(struct dmx_demux *demux , struct dmx_ts_feed **feed , int (*callback)(u8 const *buffer1 ,
4257 size_t buffer1_length ,
4258 u8 const *buffer2 ,
4259 size_t buffer2_length ,
4260 struct dmx_ts_feed *source ,
4261 enum dmx_success success ) ) ;
4262 int (*release_ts_feed)(struct dmx_demux *demux , struct dmx_ts_feed *feed ) ;
4263 int (*allocate_section_feed)(struct dmx_demux *demux , struct dmx_section_feed **feed ,
4264 int (*callback)(u8 const *buffer1 , size_t buffer1_len ,
4265 u8 const *buffer2 , size_t buffer2_len ,
4266 struct dmx_section_filter *source ,
4267 enum dmx_success success ) ) ;
4268 int (*release_section_feed)(struct dmx_demux *demux , struct dmx_section_feed *feed ) ;
4269 int (*add_frontend)(struct dmx_demux *demux , struct dmx_frontend *frontend ) ;
4270 int (*remove_frontend)(struct dmx_demux *demux , struct dmx_frontend *frontend ) ;
4271 struct list_head *(*get_frontends)(struct dmx_demux *demux ) ;
4272 int (*connect_frontend)(struct dmx_demux *demux , struct dmx_frontend *frontend ) ;
4273 int (*disconnect_frontend)(struct dmx_demux *demux ) ;
4274 int (*get_pes_pids)(struct dmx_demux *demux , u16 *pids ) ;
4275 int (*get_caps)(struct dmx_demux *demux , struct dmx_caps *caps ) ;
4276 int (*set_source)(struct dmx_demux *demux , dmx_source_t const *src ) ;
4277 int (*get_stc)(struct dmx_demux *demux , unsigned int num , u64 *stc , unsigned int *base ) ;
4278};
4279#line 49 "drivers/media/dvb/dvb-core/dvb_demux.h"
4280struct dvb_demux_feed;
4281#line 49 "drivers/media/dvb/dvb-core/dvb_demux.h"
4282struct dvb_demux_filter {
4283 struct dmx_section_filter filter ;
4284 u8 maskandmode[18] ;
4285 u8 maskandnotmode[18] ;
4286 int doneq ;
4287 struct dvb_demux_filter *next ;
4288 struct dvb_demux_feed *feed ;
4289 int index ;
4290 int state ;
4291 int type ;
4292 u16 hw_handle ;
4293 struct timer_list timer ;
4294};
4295#line 67 "drivers/media/dvb/dvb-core/dvb_demux.h"
4296union __anonunion_feed_256 {
4297 struct dmx_ts_feed ts ;
4298 struct dmx_section_feed sec ;
4299};
4300#line 67 "drivers/media/dvb/dvb-core/dvb_demux.h"
4301union __anonunion_cb_257 {
4302 int (*ts)(u8 const *buffer1 , size_t buffer1_length , u8 const *buffer2 , size_t buffer2_length ,
4303 struct dmx_ts_feed *source , enum dmx_success success ) ;
4304 int (*sec)(u8 const *buffer1 , size_t buffer1_len , u8 const *buffer2 , size_t buffer2_len ,
4305 struct dmx_section_filter *source , enum dmx_success success ) ;
4306};
4307#line 67
4308struct dvb_demux;
4309#line 67 "drivers/media/dvb/dvb-core/dvb_demux.h"
4310struct dvb_demux_feed {
4311 union __anonunion_feed_256 feed ;
4312 union __anonunion_cb_257 cb ;
4313 struct dvb_demux *demux ;
4314 void *priv ;
4315 int type ;
4316 int state ;
4317 u16 pid ;
4318 u8 *buffer ;
4319 int buffer_size ;
4320 struct timespec timeout ;
4321 struct dvb_demux_filter *filter ;
4322 int ts_type ;
4323 enum dmx_ts_pes pes_type ;
4324 int cc ;
4325 int pusi_seen ;
4326 u16 peslen ;
4327 struct list_head list_head ;
4328 unsigned int index ;
4329};
4330#line 101 "drivers/media/dvb/dvb-core/dvb_demux.h"
4331struct dvb_demux {
4332 struct dmx_demux dmx ;
4333 void *priv ;
4334 int filternum ;
4335 int feednum ;
4336 int (*start_feed)(struct dvb_demux_feed *feed ) ;
4337 int (*stop_feed)(struct dvb_demux_feed *feed ) ;
4338 int (*write_to_decoder)(struct dvb_demux_feed *feed , u8 const *buf , size_t len ) ;
4339 u32 (*check_crc32)(struct dvb_demux_feed *feed , u8 const *buf , size_t len ) ;
4340 void (*memcopy)(struct dvb_demux_feed *feed , u8 *dst , u8 const *src , size_t len ) ;
4341 int users ;
4342 struct dvb_demux_filter *filter ;
4343 struct dvb_demux_feed *feed ;
4344 struct list_head frontend_list ;
4345 struct dvb_demux_feed *pesfilter[20] ;
4346 u16 pids[20] ;
4347 int playing ;
4348 int recording ;
4349 struct list_head feed_list ;
4350 u8 tsbuf[204] ;
4351 int tsbufp ;
4352 struct mutex mutex ;
4353 spinlock_t lock ;
4354 uint8_t *cnt_storage ;
4355 struct timespec speed_last_time ;
4356 uint32_t speed_pkts_cnt ;
4357};
4358#line 33 "drivers/media/dvb/dvb-core/dvb_ringbuffer.h"
4359struct dvb_ringbuffer {
4360 u8 *data ;
4361 ssize_t size ;
4362 ssize_t pread ;
4363 ssize_t pwrite ;
4364 int error ;
4365 wait_queue_head_t queue ;
4366 spinlock_t lock ;
4367};
4368#line 42 "drivers/media/dvb/dvb-core/dmxdev.h"
4369enum dmxdev_type {
4370 DMXDEV_TYPE_NONE = 0,
4371 DMXDEV_TYPE_SEC = 1,
4372 DMXDEV_TYPE_PES = 2
4373} ;
4374#line 48
4375enum dmxdev_state {
4376 DMXDEV_STATE_FREE = 0,
4377 DMXDEV_STATE_ALLOCATED = 1,
4378 DMXDEV_STATE_SET = 2,
4379 DMXDEV_STATE_GO = 3,
4380 DMXDEV_STATE_DONE = 4,
4381 DMXDEV_STATE_TIMEDOUT = 5
4382} ;
4383#line 63 "drivers/media/dvb/dvb-core/dmxdev.h"
4384union __anonunion_filter_258 {
4385 struct dmx_section_filter *sec ;
4386};
4387#line 63 "drivers/media/dvb/dvb-core/dmxdev.h"
4388union __anonunion_feed_259 {
4389 struct list_head ts ;
4390 struct dmx_section_feed *sec ;
4391};
4392#line 63 "drivers/media/dvb/dvb-core/dmxdev.h"
4393union __anonunion_params_260 {
4394 struct dmx_sct_filter_params sec ;
4395 struct dmx_pes_filter_params pes ;
4396};
4397#line 63
4398struct dmxdev;
4399#line 63 "drivers/media/dvb/dvb-core/dmxdev.h"
4400struct dmxdev_filter {
4401 union __anonunion_filter_258 filter ;
4402 union __anonunion_feed_259 feed ;
4403 union __anonunion_params_260 params ;
4404 enum dmxdev_type type ;
4405 enum dmxdev_state state ;
4406 struct dmxdev *dev ;
4407 struct dvb_ringbuffer buffer ;
4408 struct mutex mutex ;
4409 struct timer_list timer ;
4410 int todo ;
4411 u8 secheader[3] ;
4412};
4413#line 93 "drivers/media/dvb/dvb-core/dmxdev.h"
4414struct dmxdev {
4415 struct dvb_device *dvbdev ;
4416 struct dvb_device *dvr_dvbdev ;
4417 struct dmxdev_filter *filter ;
4418 struct dmx_demux *demux ;
4419 int filternum ;
4420 int capabilities ;
4421 unsigned int exit : 1 ;
4422 struct dmx_frontend *dvr_orig_fe ;
4423 struct dvb_ringbuffer dvr_buffer ;
4424 struct mutex mutex ;
4425 spinlock_t lock ;
4426};
4427#line 11 "include/linux/socket.h"
4428typedef unsigned short __kernel_sa_family_t;
4429#line 13
4430struct sockaddr;
4431#line 29
4432struct pid;
4433#line 30
4434struct cred;
4435#line 36
4436struct seq_file;
4437#line 40 "include/linux/socket.h"
4438typedef __kernel_sa_family_t sa_family_t;
4439#line 46 "include/linux/socket.h"
4440struct sockaddr {
4441 sa_family_t sa_family ;
4442 char sa_data[14] ;
4443};
4444#line 336
4445struct timespec;
4446#line 37 "include/linux/hdlc/ioctl.h"
4447struct __anonstruct_sync_serial_settings_261 {
4448 unsigned int clock_rate ;
4449 unsigned int clock_type ;
4450 unsigned short loopback ;
4451};
4452#line 37 "include/linux/hdlc/ioctl.h"
4453typedef struct __anonstruct_sync_serial_settings_261 sync_serial_settings;
4454#line 43 "include/linux/hdlc/ioctl.h"
4455struct __anonstruct_te1_settings_262 {
4456 unsigned int clock_rate ;
4457 unsigned int clock_type ;
4458 unsigned short loopback ;
4459 unsigned int slot_map ;
4460};
4461#line 43 "include/linux/hdlc/ioctl.h"
4462typedef struct __anonstruct_te1_settings_262 te1_settings;
4463#line 50 "include/linux/hdlc/ioctl.h"
4464struct __anonstruct_raw_hdlc_proto_263 {
4465 unsigned short encoding ;
4466 unsigned short parity ;
4467};
4468#line 50 "include/linux/hdlc/ioctl.h"
4469typedef struct __anonstruct_raw_hdlc_proto_263 raw_hdlc_proto;
4470#line 55 "include/linux/hdlc/ioctl.h"
4471struct __anonstruct_fr_proto_264 {
4472 unsigned int t391 ;
4473 unsigned int t392 ;
4474 unsigned int n391 ;
4475 unsigned int n392 ;
4476 unsigned int n393 ;
4477 unsigned short lmi ;
4478 unsigned short dce ;
4479};
4480#line 55 "include/linux/hdlc/ioctl.h"
4481typedef struct __anonstruct_fr_proto_264 fr_proto;
4482#line 65 "include/linux/hdlc/ioctl.h"
4483struct __anonstruct_fr_proto_pvc_265 {
4484 unsigned int dlci ;
4485};
4486#line 65 "include/linux/hdlc/ioctl.h"
4487typedef struct __anonstruct_fr_proto_pvc_265 fr_proto_pvc;
4488#line 69 "include/linux/hdlc/ioctl.h"
4489struct __anonstruct_fr_proto_pvc_info_266 {
4490 unsigned int dlci ;
4491 char master[16] ;
4492};
4493#line 69 "include/linux/hdlc/ioctl.h"
4494typedef struct __anonstruct_fr_proto_pvc_info_266 fr_proto_pvc_info;
4495#line 74 "include/linux/hdlc/ioctl.h"
4496struct __anonstruct_cisco_proto_267 {
4497 unsigned int interval ;
4498 unsigned int timeout ;
4499};
4500#line 74 "include/linux/hdlc/ioctl.h"
4501typedef struct __anonstruct_cisco_proto_267 cisco_proto;
4502#line 140 "include/linux/if.h"
4503struct ifmap {
4504 unsigned long mem_start ;
4505 unsigned long mem_end ;
4506 unsigned short base_addr ;
4507 unsigned char irq ;
4508 unsigned char dma ;
4509 unsigned char port ;
4510};
4511#line 150 "include/linux/if.h"
4512union __anonunion_ifs_ifsu_270 {
4513 raw_hdlc_proto *raw_hdlc ;
4514 cisco_proto *cisco ;
4515 fr_proto *fr ;
4516 fr_proto_pvc *fr_pvc ;
4517 fr_proto_pvc_info *fr_pvc_info ;
4518 sync_serial_settings *sync ;
4519 te1_settings *te1 ;
4520};
4521#line 150 "include/linux/if.h"
4522struct if_settings {
4523 unsigned int type ;
4524 unsigned int size ;
4525 union __anonunion_ifs_ifsu_270 ifs_ifsu ;
4526};
4527#line 174 "include/linux/if.h"
4528union __anonunion_ifr_ifrn_271 {
4529 char ifrn_name[16] ;
4530};
4531#line 174 "include/linux/if.h"
4532union __anonunion_ifr_ifru_272 {
4533 struct sockaddr ifru_addr ;
4534 struct sockaddr ifru_dstaddr ;
4535 struct sockaddr ifru_broadaddr ;
4536 struct sockaddr ifru_netmask ;
4537 struct sockaddr ifru_hwaddr ;
4538 short ifru_flags ;
4539 int ifru_ivalue ;
4540 int ifru_mtu ;
4541 struct ifmap ifru_map ;
4542 char ifru_slave[16] ;
4543 char ifru_newname[16] ;
4544 void *ifru_data ;
4545 struct if_settings ifru_settings ;
4546};
4547#line 174 "include/linux/if.h"
4548struct ifreq {
4549 union __anonunion_ifr_ifrn_271 ifr_ifrn ;
4550 union __anonunion_ifr_ifru_272 ifr_ifru ;
4551};
4552#line 127 "include/linux/if_ether.h"
4553struct ethhdr {
4554 unsigned char h_dest[6] ;
4555 unsigned char h_source[6] ;
4556 __be16 h_proto ;
4557} __attribute__((__packed__)) ;
4558#line 65 "include/linux/net.h"
4559struct poll_table_struct;
4560#line 66
4561struct pipe_inode_info;
4562#line 67
4563struct inode;
4564#line 68
4565struct net;
4566#line 68
4567struct net;
4568#line 154
4569struct vm_area_struct;
4570#line 155
4571struct page;
4572#line 156
4573struct kiocb;
4574#line 157
4575struct sockaddr;
4576#line 159
4577struct module;
4578#line 222
4579struct iovec;
4580#line 10 "include/linux/textsearch.h"
4581struct module;
4582#line 109 "include/net/checksum.h"
4583struct sk_buff;
4584#line 109
4585struct sk_buff;
4586#line 8 "include/linux/debug_locks.h"
4587struct task_struct;
4588#line 48
4589struct task_struct;
4590#line 22 "include/linux/mm.h"
4591struct mempolicy;
4592#line 23
4593struct anon_vma;
4594#line 24
4595struct file_ra_state;
4596#line 25
4597struct user_struct;
4598#line 26
4599struct writeback_control;
4600#line 41 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64.h"
4601struct mm_struct;
4602#line 656 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable.h"
4603struct vm_area_struct;
4604#line 188 "include/linux/mm.h"
4605struct vm_fault {
4606 unsigned int flags ;
4607 unsigned long pgoff ;
4608 void *virtual_address ;
4609 struct page *page ;
4610};
4611#line 205 "include/linux/mm.h"
4612struct vm_operations_struct {
4613 void (*open)(struct vm_area_struct *area ) ;
4614 void (*close)(struct vm_area_struct *area ) ;
4615 int (*fault)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
4616 int (*page_mkwrite)(struct vm_area_struct *vma , struct vm_fault *vmf ) ;
4617 int (*access)(struct vm_area_struct *vma , unsigned long addr , void *buf , int len ,
4618 int write ) ;
4619 int (*set_policy)(struct vm_area_struct *vma , struct mempolicy *new ) ;
4620 struct mempolicy *(*get_policy)(struct vm_area_struct *vma , unsigned long addr ) ;
4621 int (*migrate)(struct vm_area_struct *vma , nodemask_t const *from , nodemask_t const *to ,
4622 unsigned long flags ) ;
4623};
4624#line 247
4625struct inode;
4626#line 195 "include/linux/page-flags.h"
4627struct page;
4628#line 6 "include/asm-generic/scatterlist.h"
4629struct scatterlist {
4630 unsigned long sg_magic ;
4631 unsigned long page_link ;
4632 unsigned int offset ;
4633 unsigned int length ;
4634 dma_addr_t dma_address ;
4635 unsigned int dma_length ;
4636};
4637#line 37 "include/linux/dmaengine.h"
4638typedef s32 dma_cookie_t;
4639#line 27 "include/linux/dma-attrs.h"
4640struct dma_attrs {
4641 unsigned long flags[((4UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
4642};
4643#line 7 "include/linux/dma-direction.h"
4644enum dma_data_direction {
4645 DMA_BIDIRECTIONAL = 0,
4646 DMA_TO_DEVICE = 1,
4647 DMA_FROM_DEVICE = 2,
4648 DMA_NONE = 3
4649} ;
4650#line 11 "include/linux/dma-mapping.h"
4651struct dma_map_ops {
4652 void *(*alloc)(struct device *dev , size_t size , dma_addr_t *dma_handle , gfp_t gfp ,
4653 struct dma_attrs *attrs ) ;
4654 void (*free)(struct device *dev , size_t size , void *vaddr , dma_addr_t dma_handle ,
4655 struct dma_attrs *attrs ) ;
4656 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
4657 size_t , struct dma_attrs *attrs ) ;
4658 dma_addr_t (*map_page)(struct device *dev , struct page *page , unsigned long offset ,
4659 size_t size , enum dma_data_direction dir , struct dma_attrs *attrs ) ;
4660 void (*unmap_page)(struct device *dev , dma_addr_t dma_handle , size_t size , enum dma_data_direction dir ,
4661 struct dma_attrs *attrs ) ;
4662 int (*map_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
4663 struct dma_attrs *attrs ) ;
4664 void (*unmap_sg)(struct device *dev , struct scatterlist *sg , int nents , enum dma_data_direction dir ,
4665 struct dma_attrs *attrs ) ;
4666 void (*sync_single_for_cpu)(struct device *dev , dma_addr_t dma_handle , size_t size ,
4667 enum dma_data_direction dir ) ;
4668 void (*sync_single_for_device)(struct device *dev , dma_addr_t dma_handle , size_t size ,
4669 enum dma_data_direction dir ) ;
4670 void (*sync_sg_for_cpu)(struct device *dev , struct scatterlist *sg , int nents ,
4671 enum dma_data_direction dir ) ;
4672 void (*sync_sg_for_device)(struct device *dev , struct scatterlist *sg , int nents ,
4673 enum dma_data_direction dir ) ;
4674 int (*mapping_error)(struct device *dev , dma_addr_t dma_addr ) ;
4675 int (*dma_supported)(struct device *dev , u64 mask ) ;
4676 int (*set_dma_mask)(struct device *dev , u64 mask ) ;
4677 int is_phys ;
4678};
4679#line 25 "include/linux/dma-debug.h"
4680struct device;
4681#line 26
4682struct scatterlist;
4683#line 27
4684struct bus_type;
4685#line 6 "include/linux/swiotlb.h"
4686struct device;
4687#line 7
4688struct dma_attrs;
4689#line 8
4690struct scatterlist;
4691#line 15 "include/linux/netdev_features.h"
4692typedef u64 netdev_features_t;
4693#line 108 "include/linux/skbuff.h"
4694struct net_device;
4695#line 109
4696struct scatterlist;
4697#line 110
4698struct pipe_inode_info;
4699#line 113 "include/linux/skbuff.h"
4700struct nf_conntrack {
4701 atomic_t use ;
4702};
4703#line 119 "include/linux/skbuff.h"
4704struct nf_bridge_info {
4705 atomic_t use ;
4706 struct net_device *physindev ;
4707 struct net_device *physoutdev ;
4708 unsigned int mask ;
4709 unsigned long data[32UL / sizeof(unsigned long )] ;
4710};
4711#line 128 "include/linux/skbuff.h"
4712struct sk_buff_head {
4713 struct sk_buff *next ;
4714 struct sk_buff *prev ;
4715 __u32 qlen ;
4716 spinlock_t lock ;
4717};
4718#line 137
4719struct sk_buff;
4720#line 318 "include/linux/skbuff.h"
4721typedef unsigned int sk_buff_data_t;
4722#line 391
4723struct sec_path;
4724#line 391 "include/linux/skbuff.h"
4725struct __anonstruct____missing_field_name_283 {
4726 __u16 csum_start ;
4727 __u16 csum_offset ;
4728};
4729#line 391 "include/linux/skbuff.h"
4730union __anonunion____missing_field_name_282 {
4731 __wsum csum ;
4732 struct __anonstruct____missing_field_name_283 __annonCompField47 ;
4733};
4734#line 391 "include/linux/skbuff.h"
4735union __anonunion____missing_field_name_284 {
4736 __u32 mark ;
4737 __u32 dropcount ;
4738 __u32 avail_size ;
4739};
4740#line 391 "include/linux/skbuff.h"
4741struct sk_buff {
4742 struct sk_buff *next ;
4743 struct sk_buff *prev ;
4744 ktime_t tstamp ;
4745 struct sock *sk ;
4746 struct net_device *dev ;
4747 char cb[48] __attribute__((__aligned__(8))) ;
4748 unsigned long _skb_refdst ;
4749 struct sec_path *sp ;
4750 unsigned int len ;
4751 unsigned int data_len ;
4752 __u16 mac_len ;
4753 __u16 hdr_len ;
4754 union __anonunion____missing_field_name_282 __annonCompField48 ;
4755 __u32 priority ;
4756 __u8 local_df : 1 ;
4757 __u8 cloned : 1 ;
4758 __u8 ip_summed : 2 ;
4759 __u8 nohdr : 1 ;
4760 __u8 nfctinfo : 3 ;
4761 __u8 pkt_type : 3 ;
4762 __u8 fclone : 2 ;
4763 __u8 ipvs_property : 1 ;
4764 __u8 peeked : 1 ;
4765 __u8 nf_trace : 1 ;
4766 __be16 protocol ;
4767 void (*destructor)(struct sk_buff *skb ) ;
4768 struct nf_conntrack *nfct ;
4769 struct sk_buff *nfct_reasm ;
4770 struct nf_bridge_info *nf_bridge ;
4771 int skb_iif ;
4772 __u32 rxhash ;
4773 __u16 vlan_tci ;
4774 __u16 tc_index ;
4775 __u16 tc_verd ;
4776 __u16 queue_mapping ;
4777 __u8 ndisc_nodetype : 2 ;
4778 __u8 ooo_okay : 1 ;
4779 __u8 l4_rxhash : 1 ;
4780 __u8 wifi_acked_valid : 1 ;
4781 __u8 wifi_acked : 1 ;
4782 __u8 no_fcs : 1 ;
4783 dma_cookie_t dma_cookie ;
4784 __u32 secmark ;
4785 union __anonunion____missing_field_name_284 __annonCompField49 ;
4786 sk_buff_data_t transport_header ;
4787 sk_buff_data_t network_header ;
4788 sk_buff_data_t mac_header ;
4789 sk_buff_data_t tail ;
4790 sk_buff_data_t end ;
4791 unsigned char *head ;
4792 unsigned char *data ;
4793 unsigned int truesize ;
4794 atomic_t users ;
4795};
4796#line 520
4797struct dst_entry;
4798#line 129 "include/linux/netlink.h"
4799struct nlattr {
4800 __u16 nla_len ;
4801 __u16 nla_type ;
4802};
4803#line 157
4804struct net;
4805#line 41 "include/linux/if_link.h"
4806struct rtnl_link_stats64 {
4807 __u64 rx_packets ;
4808 __u64 tx_packets ;
4809 __u64 rx_bytes ;
4810 __u64 tx_bytes ;
4811 __u64 rx_errors ;
4812 __u64 tx_errors ;
4813 __u64 rx_dropped ;
4814 __u64 tx_dropped ;
4815 __u64 multicast ;
4816 __u64 collisions ;
4817 __u64 rx_length_errors ;
4818 __u64 rx_over_errors ;
4819 __u64 rx_crc_errors ;
4820 __u64 rx_frame_errors ;
4821 __u64 rx_fifo_errors ;
4822 __u64 rx_missed_errors ;
4823 __u64 tx_aborted_errors ;
4824 __u64 tx_carrier_errors ;
4825 __u64 tx_fifo_errors ;
4826 __u64 tx_heartbeat_errors ;
4827 __u64 tx_window_errors ;
4828 __u64 rx_compressed ;
4829 __u64 tx_compressed ;
4830};
4831#line 312 "include/linux/if_link.h"
4832struct ifla_vf_info {
4833 __u32 vf ;
4834 __u8 mac[32] ;
4835 __u32 vlan ;
4836 __u32 qos ;
4837 __u32 tx_rate ;
4838 __u32 spoofchk ;
4839};
4840#line 48 "include/linux/miscdevice.h"
4841struct device;
4842#line 30 "include/linux/pm_qos.h"
4843struct pm_qos_request {
4844 struct plist_node node ;
4845 int pm_qos_class ;
4846 struct delayed_work work ;
4847};
4848#line 36 "include/linux/pm_qos.h"
4849struct dev_pm_qos_request {
4850 struct plist_node node ;
4851 struct device *dev ;
4852};
4853#line 41
4854enum pm_qos_type {
4855 PM_QOS_UNITIALIZED = 0,
4856 PM_QOS_MAX = 1,
4857 PM_QOS_MIN = 2
4858} ;
4859#line 52 "include/linux/pm_qos.h"
4860struct pm_qos_constraints {
4861 struct plist_head list ;
4862 s32 target_value ;
4863 s32 default_value ;
4864 enum pm_qos_type type ;
4865 struct blocking_notifier_head *notifiers ;
4866};
4867#line 40 "include/linux/dynamic_queue_limits.h"
4868struct dql {
4869 unsigned int num_queued ;
4870 unsigned int adj_limit ;
4871 unsigned int last_obj_cnt ;
4872 unsigned int limit __attribute__((__aligned__((1) << (6) ))) ;
4873 unsigned int num_completed ;
4874 unsigned int prev_ovlimit ;
4875 unsigned int prev_num_queued ;
4876 unsigned int prev_last_obj_cnt ;
4877 unsigned int lowest_slack ;
4878 unsigned long slack_start_time ;
4879 unsigned int max_limit ;
4880 unsigned int min_limit ;
4881 unsigned int slack_hold_time ;
4882};
4883#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
4884typedef s32 compat_long_t;
4885#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
4886typedef u32 compat_uptr_t;
4887#line 226 "include/linux/compat.h"
4888struct compat_robust_list {
4889 compat_uptr_t next ;
4890};
4891#line 230 "include/linux/compat.h"
4892struct compat_robust_list_head {
4893 struct compat_robust_list list ;
4894 compat_long_t futex_offset ;
4895 compat_uptr_t list_op_pending ;
4896};
4897#line 23 "include/linux/ethtool.h"
4898struct ethtool_cmd {
4899 __u32 cmd ;
4900 __u32 supported ;
4901 __u32 advertising ;
4902 __u16 speed ;
4903 __u8 duplex ;
4904 __u8 port ;
4905 __u8 phy_address ;
4906 __u8 transceiver ;
4907 __u8 autoneg ;
4908 __u8 mdio_support ;
4909 __u32 maxtxpkt ;
4910 __u32 maxrxpkt ;
4911 __u16 speed_hi ;
4912 __u8 eth_tp_mdix ;
4913 __u8 reserved2 ;
4914 __u32 lp_advertising ;
4915 __u32 reserved[2] ;
4916};
4917#line 84 "include/linux/ethtool.h"
4918struct ethtool_drvinfo {
4919 __u32 cmd ;
4920 char driver[32] ;
4921 char version[32] ;
4922 char fw_version[32] ;
4923 char bus_info[32] ;
4924 char reserved1[32] ;
4925 char reserved2[12] ;
4926 __u32 n_priv_flags ;
4927 __u32 n_stats ;
4928 __u32 testinfo_len ;
4929 __u32 eedump_len ;
4930 __u32 regdump_len ;
4931};
4932#line 109 "include/linux/ethtool.h"
4933struct ethtool_wolinfo {
4934 __u32 cmd ;
4935 __u32 supported ;
4936 __u32 wolopts ;
4937 __u8 sopass[6] ;
4938};
4939#line 123 "include/linux/ethtool.h"
4940struct ethtool_regs {
4941 __u32 cmd ;
4942 __u32 version ;
4943 __u32 len ;
4944 __u8 data[0] ;
4945};
4946#line 131 "include/linux/ethtool.h"
4947struct ethtool_eeprom {
4948 __u32 cmd ;
4949 __u32 magic ;
4950 __u32 offset ;
4951 __u32 len ;
4952 __u8 data[0] ;
4953};
4954#line 211 "include/linux/ethtool.h"
4955struct ethtool_coalesce {
4956 __u32 cmd ;
4957 __u32 rx_coalesce_usecs ;
4958 __u32 rx_max_coalesced_frames ;
4959 __u32 rx_coalesce_usecs_irq ;
4960 __u32 rx_max_coalesced_frames_irq ;
4961 __u32 tx_coalesce_usecs ;
4962 __u32 tx_max_coalesced_frames ;
4963 __u32 tx_coalesce_usecs_irq ;
4964 __u32 tx_max_coalesced_frames_irq ;
4965 __u32 stats_block_coalesce_usecs ;
4966 __u32 use_adaptive_rx_coalesce ;
4967 __u32 use_adaptive_tx_coalesce ;
4968 __u32 pkt_rate_low ;
4969 __u32 rx_coalesce_usecs_low ;
4970 __u32 rx_max_coalesced_frames_low ;
4971 __u32 tx_coalesce_usecs_low ;
4972 __u32 tx_max_coalesced_frames_low ;
4973 __u32 pkt_rate_high ;
4974 __u32 rx_coalesce_usecs_high ;
4975 __u32 rx_max_coalesced_frames_high ;
4976 __u32 tx_coalesce_usecs_high ;
4977 __u32 tx_max_coalesced_frames_high ;
4978 __u32 rate_sample_interval ;
4979};
4980#line 238 "include/linux/ethtool.h"
4981struct ethtool_ringparam {
4982 __u32 cmd ;
4983 __u32 rx_max_pending ;
4984 __u32 rx_mini_max_pending ;
4985 __u32 rx_jumbo_max_pending ;
4986 __u32 tx_max_pending ;
4987 __u32 rx_pending ;
4988 __u32 rx_mini_pending ;
4989 __u32 rx_jumbo_pending ;
4990 __u32 tx_pending ;
4991};
4992#line 275 "include/linux/ethtool.h"
4993struct ethtool_channels {
4994 __u32 cmd ;
4995 __u32 max_rx ;
4996 __u32 max_tx ;
4997 __u32 max_other ;
4998 __u32 max_combined ;
4999 __u32 rx_count ;
5000 __u32 tx_count ;
5001 __u32 other_count ;
5002 __u32 combined_count ;
5003};
5004#line 288 "include/linux/ethtool.h"
5005struct ethtool_pauseparam {
5006 __u32 cmd ;
5007 __u32 autoneg ;
5008 __u32 rx_pause ;
5009 __u32 tx_pause ;
5010};
5011#line 352 "include/linux/ethtool.h"
5012struct ethtool_test {
5013 __u32 cmd ;
5014 __u32 flags ;
5015 __u32 reserved ;
5016 __u32 len ;
5017 __u64 data[0] ;
5018};
5019#line 361 "include/linux/ethtool.h"
5020struct ethtool_stats {
5021 __u32 cmd ;
5022 __u32 n_stats ;
5023 __u64 data[0] ;
5024};
5025#line 406 "include/linux/ethtool.h"
5026struct ethtool_tcpip4_spec {
5027 __be32 ip4src ;
5028 __be32 ip4dst ;
5029 __be16 psrc ;
5030 __be16 pdst ;
5031 __u8 tos ;
5032};
5033#line 423 "include/linux/ethtool.h"
5034struct ethtool_ah_espip4_spec {
5035 __be32 ip4src ;
5036 __be32 ip4dst ;
5037 __be32 spi ;
5038 __u8 tos ;
5039};
5040#line 441 "include/linux/ethtool.h"
5041struct ethtool_usrip4_spec {
5042 __be32 ip4src ;
5043 __be32 ip4dst ;
5044 __be32 l4_4_bytes ;
5045 __u8 tos ;
5046 __u8 ip_ver ;
5047 __u8 proto ;
5048};
5049#line 450 "include/linux/ethtool.h"
5050union ethtool_flow_union {
5051 struct ethtool_tcpip4_spec tcp_ip4_spec ;
5052 struct ethtool_tcpip4_spec udp_ip4_spec ;
5053 struct ethtool_tcpip4_spec sctp_ip4_spec ;
5054 struct ethtool_ah_espip4_spec ah_ip4_spec ;
5055 struct ethtool_ah_espip4_spec esp_ip4_spec ;
5056 struct ethtool_usrip4_spec usr_ip4_spec ;
5057 struct ethhdr ether_spec ;
5058 __u8 hdata[60] ;
5059};
5060#line 461 "include/linux/ethtool.h"
5061struct ethtool_flow_ext {
5062 __be16 vlan_etype ;
5063 __be16 vlan_tci ;
5064 __be32 data[2] ;
5065};
5066#line 482 "include/linux/ethtool.h"
5067struct ethtool_rx_flow_spec {
5068 __u32 flow_type ;
5069 union ethtool_flow_union h_u ;
5070 struct ethtool_flow_ext h_ext ;
5071 union ethtool_flow_union m_u ;
5072 struct ethtool_flow_ext m_ext ;
5073 __u64 ring_cookie ;
5074 __u32 location ;
5075};
5076#line 544 "include/linux/ethtool.h"
5077struct ethtool_rxnfc {
5078 __u32 cmd ;
5079 __u32 flow_type ;
5080 __u64 data ;
5081 struct ethtool_rx_flow_spec fs ;
5082 __u32 rule_cnt ;
5083 __u32 rule_locs[0] ;
5084};
5085#line 652 "include/linux/ethtool.h"
5086struct ethtool_flash {
5087 __u32 cmd ;
5088 __u32 region ;
5089 char data[128] ;
5090};
5091#line 670 "include/linux/ethtool.h"
5092struct ethtool_dump {
5093 __u32 cmd ;
5094 __u32 version ;
5095 __u32 flag ;
5096 __u32 len ;
5097 __u8 data[0] ;
5098};
5099#line 780
5100enum ethtool_phys_id_state {
5101 ETHTOOL_ID_INACTIVE = 0,
5102 ETHTOOL_ID_ACTIVE = 1,
5103 ETHTOOL_ID_ON = 2,
5104 ETHTOOL_ID_OFF = 3
5105} ;
5106#line 787
5107struct net_device;
5108#line 906 "include/linux/ethtool.h"
5109struct ethtool_ops {
5110 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
5111 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
5112 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
5113 int (*get_regs_len)(struct net_device * ) ;
5114 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
5115 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
5116 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
5117 u32 (*get_msglevel)(struct net_device * ) ;
5118 void (*set_msglevel)(struct net_device * , u32 ) ;
5119 int (*nway_reset)(struct net_device * ) ;
5120 u32 (*get_link)(struct net_device * ) ;
5121 int (*get_eeprom_len)(struct net_device * ) ;
5122 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
5123 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
5124 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
5125 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
5126 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
5127 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
5128 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
5129 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
5130 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
5131 void (*get_strings)(struct net_device * , u32 stringset , u8 * ) ;
5132 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
5133 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
5134 int (*begin)(struct net_device * ) ;
5135 void (*complete)(struct net_device * ) ;
5136 u32 (*get_priv_flags)(struct net_device * ) ;
5137 int (*set_priv_flags)(struct net_device * , u32 ) ;
5138 int (*get_sset_count)(struct net_device * , int ) ;
5139 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 *rule_locs ) ;
5140 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
5141 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
5142 int (*reset)(struct net_device * , u32 * ) ;
5143 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
5144 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
5145 int (*set_rxfh_indir)(struct net_device * , u32 const * ) ;
5146 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
5147 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
5148 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
5149 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
5150 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
5151};
5152#line 4 "include/net/netns/core.h"
5153struct ctl_table_header;
5154#line 5
5155struct prot_inuse;
5156#line 5
5157struct prot_inuse;
5158#line 7 "include/net/netns/core.h"
5159struct netns_core {
5160 struct ctl_table_header *sysctl_hdr ;
5161 int sysctl_somaxconn ;
5162 struct prot_inuse *inuse ;
5163};
5164#line 64 "include/linux/u64_stats_sync.h"
5165struct u64_stats_sync {
5166
5167};
5168#line 56 "include/net/snmp.h"
5169struct ipstats_mib {
5170 u64 mibs[31] ;
5171 struct u64_stats_sync syncp ;
5172};
5173#line 64 "include/net/snmp.h"
5174struct icmp_mib {
5175 unsigned long mibs[27] ;
5176};
5177#line 69 "include/net/snmp.h"
5178struct icmpmsg_mib {
5179 atomic_long_t mibs[512] ;
5180};
5181#line 76 "include/net/snmp.h"
5182struct icmpv6_mib {
5183 unsigned long mibs[5] ;
5184};
5185#line 86 "include/net/snmp.h"
5186struct icmpv6msg_mib {
5187 atomic_long_t mibs[512] ;
5188};
5189#line 97 "include/net/snmp.h"
5190struct tcp_mib {
5191 unsigned long mibs[15] ;
5192};
5193#line 103 "include/net/snmp.h"
5194struct udp_mib {
5195 unsigned long mibs[7] ;
5196};
5197#line 109 "include/net/snmp.h"
5198struct linux_mib {
5199 unsigned long mibs[83] ;
5200};
5201#line 115 "include/net/snmp.h"
5202struct linux_xfrm_mib {
5203 unsigned long mibs[27] ;
5204};
5205#line 6 "include/net/netns/mib.h"
5206struct netns_mib {
5207 struct tcp_mib *tcp_statistics[1] ;
5208 struct ipstats_mib *ip_statistics[1] ;
5209 struct linux_mib *net_statistics[1] ;
5210 struct udp_mib *udp_statistics[1] ;
5211 struct udp_mib *udplite_statistics[1] ;
5212 struct icmp_mib *icmp_statistics[1] ;
5213 struct icmpmsg_mib *icmpmsg_statistics ;
5214 struct proc_dir_entry *proc_net_devsnmp6 ;
5215 struct udp_mib *udp_stats_in6[1] ;
5216 struct udp_mib *udplite_stats_in6[1] ;
5217 struct ipstats_mib *ipv6_statistics[1] ;
5218 struct icmpv6_mib *icmpv6_statistics[1] ;
5219 struct icmpv6msg_mib *icmpv6msg_statistics ;
5220 struct linux_xfrm_mib *xfrm_statistics[1] ;
5221};
5222#line 7 "include/net/netns/unix.h"
5223struct ctl_table_header;
5224#line 8 "include/net/netns/unix.h"
5225struct netns_unix {
5226 int sysctl_max_dgram_qlen ;
5227 struct ctl_table_header *ctl ;
5228};
5229#line 10 "include/net/netns/packet.h"
5230struct netns_packet {
5231 spinlock_t sklist_lock ;
5232 struct hlist_head sklist ;
5233};
5234#line 4 "include/net/inet_frag.h"
5235struct netns_frags {
5236 int nqueues ;
5237 atomic_t mem ;
5238 struct list_head lru_list ;
5239 int timeout ;
5240 int high_thresh ;
5241 int low_thresh ;
5242};
5243#line 10 "include/net/netns/ipv4.h"
5244struct ctl_table_header;
5245#line 11
5246struct ipv4_devconf;
5247#line 11
5248struct ipv4_devconf;
5249#line 12
5250struct fib_rules_ops;
5251#line 12
5252struct fib_rules_ops;
5253#line 13
5254struct hlist_head;
5255#line 14
5256struct sock;
5257#line 16
5258struct xt_table;
5259#line 16 "include/net/netns/ipv4.h"
5260struct netns_ipv4 {
5261 struct ctl_table_header *forw_hdr ;
5262 struct ctl_table_header *frags_hdr ;
5263 struct ctl_table_header *ipv4_hdr ;
5264 struct ctl_table_header *route_hdr ;
5265 struct ipv4_devconf *devconf_all ;
5266 struct ipv4_devconf *devconf_dflt ;
5267 struct fib_rules_ops *rules_ops ;
5268 struct hlist_head *fib_table_hash ;
5269 struct sock *fibnl ;
5270 struct sock **icmp_sk ;
5271 struct sock *tcp_sock ;
5272 struct netns_frags frags ;
5273 struct xt_table *iptable_filter ;
5274 struct xt_table *iptable_mangle ;
5275 struct xt_table *iptable_raw ;
5276 struct xt_table *arptable_filter ;
5277 struct xt_table *iptable_security ;
5278 struct xt_table *nat_table ;
5279 struct hlist_head *nat_bysource ;
5280 unsigned int nat_htable_size ;
5281 int sysctl_icmp_echo_ignore_all ;
5282 int sysctl_icmp_echo_ignore_broadcasts ;
5283 int sysctl_icmp_ignore_bogus_error_responses ;
5284 int sysctl_icmp_ratelimit ;
5285 int sysctl_icmp_ratemask ;
5286 int sysctl_icmp_errors_use_inbound_ifaddr ;
5287 int sysctl_rt_cache_rebuild_count ;
5288 int current_rt_cache_rebuild_count ;
5289 unsigned int sysctl_ping_group_range[2] ;
5290 long sysctl_tcp_mem[3] ;
5291 atomic_t rt_genid ;
5292 atomic_t dev_addr_genid ;
5293 struct list_head mr_tables ;
5294 struct fib_rules_ops *mr_rules_ops ;
5295};
5296#line 7 "include/net/dst_ops.h"
5297struct dst_entry;
5298#line 9
5299struct net_device;
5300#line 10
5301struct sk_buff;
5302#line 12
5303struct neighbour;
5304#line 12 "include/net/dst_ops.h"
5305struct dst_ops {
5306 unsigned short family ;
5307 __be16 protocol ;
5308 unsigned int gc_thresh ;
5309 int (*gc)(struct dst_ops *ops ) ;
5310 struct dst_entry *(*check)(struct dst_entry * , __u32 cookie ) ;
5311 unsigned int (*default_advmss)(struct dst_entry const * ) ;
5312 unsigned int (*mtu)(struct dst_entry const * ) ;
5313 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
5314 void (*destroy)(struct dst_entry * ) ;
5315 void (*ifdown)(struct dst_entry * , struct net_device *dev , int how ) ;
5316 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
5317 void (*link_failure)(struct sk_buff * ) ;
5318 void (*update_pmtu)(struct dst_entry *dst , u32 mtu ) ;
5319 int (*local_out)(struct sk_buff *skb ) ;
5320 struct neighbour *(*neigh_lookup)(struct dst_entry const *dst , void const *daddr ) ;
5321 struct kmem_cache *kmem_cachep ;
5322 struct percpu_counter pcpuc_entries __attribute__((__aligned__((1) << (6) ))) ;
5323};
5324#line 11 "include/net/netns/ipv6.h"
5325struct ctl_table_header;
5326#line 13 "include/net/netns/ipv6.h"
5327struct netns_sysctl_ipv6 {
5328 struct ctl_table_header *table ;
5329 struct ctl_table_header *frags_hdr ;
5330 int bindv6only ;
5331 int flush_delay ;
5332 int ip6_rt_max_size ;
5333 int ip6_rt_gc_min_interval ;
5334 int ip6_rt_gc_timeout ;
5335 int ip6_rt_gc_interval ;
5336 int ip6_rt_gc_elasticity ;
5337 int ip6_rt_mtu_expires ;
5338 int ip6_rt_min_advmss ;
5339 int icmpv6_time ;
5340};
5341#line 30
5342struct ipv6_devconf;
5343#line 30
5344struct rt6_info;
5345#line 30
5346struct rt6_statistics;
5347#line 30
5348struct fib6_table;
5349#line 30 "include/net/netns/ipv6.h"
5350struct netns_ipv6 {
5351 struct netns_sysctl_ipv6 sysctl ;
5352 struct ipv6_devconf *devconf_all ;
5353 struct ipv6_devconf *devconf_dflt ;
5354 struct netns_frags frags ;
5355 struct xt_table *ip6table_filter ;
5356 struct xt_table *ip6table_mangle ;
5357 struct xt_table *ip6table_raw ;
5358 struct xt_table *ip6table_security ;
5359 struct rt6_info *ip6_null_entry ;
5360 struct rt6_statistics *rt6_stats ;
5361 struct timer_list ip6_fib_timer ;
5362 struct hlist_head *fib_table_hash ;
5363 struct fib6_table *fib6_main_tbl ;
5364 struct dst_ops ip6_dst_ops ;
5365 unsigned int ip6_rt_gc_expire ;
5366 unsigned long ip6_rt_last_gc ;
5367 struct rt6_info *ip6_prohibit_entry ;
5368 struct rt6_info *ip6_blk_hole_entry ;
5369 struct fib6_table *fib6_local_tbl ;
5370 struct fib_rules_ops *fib6_rules_ops ;
5371 struct sock **icmp_sk ;
5372 struct sock *ndisc_sk ;
5373 struct sock *tcp_sk ;
5374 struct sock *igmp_sk ;
5375 struct list_head mr6_tables ;
5376 struct fib_rules_ops *mr6_rules_ops ;
5377};
5378#line 4 "include/net/netns/dccp.h"
5379struct sock;
5380#line 6 "include/net/netns/dccp.h"
5381struct netns_dccp {
5382 struct sock *v4_ctl_sk ;
5383 struct sock *v6_ctl_sk ;
5384};
5385#line 102 "include/linux/netfilter.h"
5386struct sk_buff;
5387#line 200 "include/net/flow.h"
5388struct net;
5389#line 201
5390struct sock;
5391#line 10 "include/linux/proc_fs.h"
5392struct net;
5393#line 11
5394struct completion;
5395#line 12
5396struct mm_struct;
5397#line 46 "include/linux/proc_fs.h"
5398typedef int read_proc_t(char *page , char **start , off_t off , int count , int *eof ,
5399 void *data );
5400#line 48 "include/linux/proc_fs.h"
5401typedef int write_proc_t(struct file *file , char const *buffer , unsigned long count ,
5402 void *data );
5403#line 51 "include/linux/proc_fs.h"
5404struct proc_dir_entry {
5405 unsigned int low_ino ;
5406 umode_t mode ;
5407 nlink_t nlink ;
5408 uid_t uid ;
5409 gid_t gid ;
5410 loff_t size ;
5411 struct inode_operations const *proc_iops ;
5412 struct file_operations const *proc_fops ;
5413 struct proc_dir_entry *next ;
5414 struct proc_dir_entry *parent ;
5415 struct proc_dir_entry *subdir ;
5416 void *data ;
5417 read_proc_t *read_proc ;
5418 write_proc_t *write_proc ;
5419 atomic_t count ;
5420 int pde_users ;
5421 struct completion *pde_unload_completion ;
5422 struct list_head pde_openers ;
5423 spinlock_t pde_unload_lock ;
5424 u8 namelen ;
5425 char name[] ;
5426};
5427#line 117
5428struct pid_namespace;
5429#line 243
5430struct nsproxy;
5431#line 263
5432struct ctl_table_header;
5433#line 264
5434struct ctl_table;
5435#line 7 "include/net/netns/x_tables.h"
5436struct ebt_table;
5437#line 7
5438struct ebt_table;
5439#line 9 "include/net/netns/x_tables.h"
5440struct netns_xt {
5441 struct list_head tables[13] ;
5442 struct ebt_table *broute_table ;
5443 struct ebt_table *frame_filter ;
5444 struct ebt_table *frame_nat ;
5445};
5446#line 17 "include/linux/list_nulls.h"
5447struct hlist_nulls_node;
5448#line 17 "include/linux/list_nulls.h"
5449struct hlist_nulls_head {
5450 struct hlist_nulls_node *first ;
5451};
5452#line 21 "include/linux/list_nulls.h"
5453struct hlist_nulls_node {
5454 struct hlist_nulls_node *next ;
5455 struct hlist_nulls_node **pprev ;
5456};
5457#line 8 "include/net/netns/conntrack.h"
5458struct ctl_table_header;
5459#line 11
5460struct ip_conntrack_stat;
5461#line 11
5462struct nf_ct_event_notifier;
5463#line 11
5464struct nf_exp_event_notifier;
5465#line 11 "include/net/netns/conntrack.h"
5466struct netns_ct {
5467 atomic_t count ;
5468 unsigned int expect_count ;
5469 unsigned int htable_size ;
5470 struct kmem_cache *nf_conntrack_cachep ;
5471 struct hlist_nulls_head *hash ;
5472 struct hlist_head *expect_hash ;
5473 struct hlist_nulls_head unconfirmed ;
5474 struct hlist_nulls_head dying ;
5475 struct ip_conntrack_stat *stat ;
5476 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
5477 struct nf_exp_event_notifier *nf_expect_event_cb ;
5478 int sysctl_events ;
5479 unsigned int sysctl_events_retry_timeout ;
5480 int sysctl_acct ;
5481 int sysctl_tstamp ;
5482 int sysctl_checksum ;
5483 unsigned int sysctl_log_invalid ;
5484 struct ctl_table_header *sysctl_header ;
5485 struct ctl_table_header *acct_sysctl_header ;
5486 struct ctl_table_header *tstamp_sysctl_header ;
5487 struct ctl_table_header *event_sysctl_header ;
5488 char *slabname ;
5489};
5490#line 10 "include/net/netns/xfrm.h"
5491struct ctl_table_header;
5492#line 12 "include/net/netns/xfrm.h"
5493struct xfrm_policy_hash {
5494 struct hlist_head *table ;
5495 unsigned int hmask ;
5496};
5497#line 17 "include/net/netns/xfrm.h"
5498struct netns_xfrm {
5499 struct list_head state_all ;
5500 struct hlist_head *state_bydst ;
5501 struct hlist_head *state_bysrc ;
5502 struct hlist_head *state_byspi ;
5503 unsigned int state_hmask ;
5504 unsigned int state_num ;
5505 struct work_struct state_hash_work ;
5506 struct hlist_head state_gc_list ;
5507 struct work_struct state_gc_work ;
5508 wait_queue_head_t km_waitq ;
5509 struct list_head policy_all ;
5510 struct hlist_head *policy_byidx ;
5511 unsigned int policy_idx_hmask ;
5512 struct hlist_head policy_inexact[6] ;
5513 struct xfrm_policy_hash policy_bydst[6] ;
5514 unsigned int policy_count[6] ;
5515 struct work_struct policy_hash_work ;
5516 struct sock *nlsk ;
5517 struct sock *nlsk_stash ;
5518 u32 sysctl_aevent_etime ;
5519 u32 sysctl_aevent_rseqth ;
5520 int sysctl_larval_drop ;
5521 u32 sysctl_acq_expires ;
5522 struct ctl_table_header *sysctl_hdr ;
5523 struct dst_ops xfrm4_dst_ops ;
5524 struct dst_ops xfrm6_dst_ops ;
5525};
5526#line 25 "include/net/net_namespace.h"
5527struct proc_dir_entry;
5528#line 26
5529struct net_device;
5530#line 27
5531struct sock;
5532#line 28
5533struct ctl_table_header;
5534#line 29
5535struct net_generic;
5536#line 29
5537struct net_generic;
5538#line 30
5539struct sock;
5540#line 31
5541struct netns_ipvs;
5542#line 31
5543struct netns_ipvs;
5544#line 37 "include/net/net_namespace.h"
5545struct net {
5546 atomic_t passive ;
5547 atomic_t count ;
5548 spinlock_t rules_mod_lock ;
5549 struct list_head list ;
5550 struct list_head cleanup_list ;
5551 struct list_head exit_list ;
5552 struct proc_dir_entry *proc_net ;
5553 struct proc_dir_entry *proc_net_stat ;
5554 struct ctl_table_set sysctls ;
5555 struct sock *rtnl ;
5556 struct sock *genl_sock ;
5557 struct list_head dev_base_head ;
5558 struct hlist_head *dev_name_head ;
5559 struct hlist_head *dev_index_head ;
5560 unsigned int dev_base_seq ;
5561 struct list_head rules_ops ;
5562 struct net_device *loopback_dev ;
5563 struct netns_core core ;
5564 struct netns_mib mib ;
5565 struct netns_packet packet ;
5566 struct netns_unix unx ;
5567 struct netns_ipv4 ipv4 ;
5568 struct netns_ipv6 ipv6 ;
5569 struct netns_dccp dccp ;
5570 struct netns_xt xt ;
5571 struct netns_ct ct ;
5572 struct sock *nfnl ;
5573 struct sock *nfnl_stash ;
5574 struct sk_buff_head wext_nlevents ;
5575 struct net_generic *gen ;
5576 struct netns_xfrm xfrm ;
5577 struct netns_ipvs *ipvs ;
5578};
5579#line 11 "include/linux/seq_file.h"
5580struct seq_operations;
5581#line 12
5582struct file;
5583#line 13
5584struct path;
5585#line 14
5586struct inode;
5587#line 15
5588struct dentry;
5589#line 17 "include/linux/seq_file.h"
5590struct seq_file {
5591 char *buf ;
5592 size_t size ;
5593 size_t from ;
5594 size_t count ;
5595 loff_t index ;
5596 loff_t read_pos ;
5597 u64 version ;
5598 struct mutex lock ;
5599 struct seq_operations const *op ;
5600 int poll_event ;
5601 void *private ;
5602};
5603#line 31 "include/linux/seq_file.h"
5604struct seq_operations {
5605 void *(*start)(struct seq_file *m , loff_t *pos ) ;
5606 void (*stop)(struct seq_file *m , void *v ) ;
5607 void *(*next)(struct seq_file *m , void *v , loff_t *pos ) ;
5608 int (*show)(struct seq_file *m , void *v ) ;
5609};
5610#line 6 "include/linux/seq_file_net.h"
5611struct net;
5612#line 283 "include/net/net_namespace.h"
5613struct ctl_table;
5614#line 284
5615struct ctl_table_header;
5616#line 22 "include/net/dsa.h"
5617struct dsa_chip_data {
5618 struct device *mii_bus ;
5619 int sw_addr ;
5620 char *port_names[12] ;
5621 s8 *rtable ;
5622};
5623#line 47 "include/net/dsa.h"
5624struct dsa_platform_data {
5625 struct device *netdev ;
5626 int nr_chips ;
5627 struct dsa_chip_data *chip ;
5628};
5629#line 62
5630struct dsa_switch;
5631#line 62 "include/net/dsa.h"
5632struct dsa_switch_tree {
5633 struct dsa_platform_data *pd ;
5634 struct net_device *master_netdev ;
5635 __be16 tag_protocol ;
5636 s8 cpu_switch ;
5637 s8 cpu_port ;
5638 int link_poll_needed ;
5639 struct work_struct link_poll_work ;
5640 struct timer_list link_poll_timer ;
5641 struct dsa_switch *ds[4] ;
5642};
5643#line 95
5644struct dsa_switch_driver;
5645#line 95
5646struct mii_bus;
5647#line 95 "include/net/dsa.h"
5648struct dsa_switch {
5649 struct dsa_switch_tree *dst ;
5650 int index ;
5651 struct dsa_chip_data *pd ;
5652 struct dsa_switch_driver *drv ;
5653 struct mii_bus *master_mii_bus ;
5654 u32 dsa_port_mask ;
5655 u32 phys_port_mask ;
5656 struct mii_bus *slave_mii_bus ;
5657 struct net_device *ports[12] ;
5658};
5659#line 147 "include/net/dsa.h"
5660struct dsa_switch_driver {
5661 struct list_head list ;
5662 __be16 tag_protocol ;
5663 int priv_size ;
5664 char *(*probe)(struct mii_bus *bus , int sw_addr ) ;
5665 int (*setup)(struct dsa_switch *ds ) ;
5666 int (*set_addr)(struct dsa_switch *ds , u8 *addr ) ;
5667 int (*phy_read)(struct dsa_switch *ds , int port , int regnum ) ;
5668 int (*phy_write)(struct dsa_switch *ds , int port , int regnum , u16 val ) ;
5669 void (*poll_link)(struct dsa_switch *ds ) ;
5670 void (*get_strings)(struct dsa_switch *ds , int port , uint8_t *data ) ;
5671 void (*get_ethtool_stats)(struct dsa_switch *ds , int port , uint64_t *data ) ;
5672 int (*get_sset_count)(struct dsa_switch *ds ) ;
5673};
5674#line 57 "include/linux/dcbnl.h"
5675struct ieee_ets {
5676 __u8 willing ;
5677 __u8 ets_cap ;
5678 __u8 cbs ;
5679 __u8 tc_tx_bw[8] ;
5680 __u8 tc_rx_bw[8] ;
5681 __u8 tc_tsa[8] ;
5682 __u8 prio_tc[8] ;
5683 __u8 tc_reco_bw[8] ;
5684 __u8 tc_reco_tsa[8] ;
5685 __u8 reco_prio_tc[8] ;
5686};
5687#line 81 "include/linux/dcbnl.h"
5688struct ieee_pfc {
5689 __u8 pfc_cap ;
5690 __u8 pfc_en ;
5691 __u8 mbc ;
5692 __u16 delay ;
5693 __u64 requests[8] ;
5694 __u64 indications[8] ;
5695};
5696#line 104 "include/linux/dcbnl.h"
5697struct cee_pg {
5698 __u8 willing ;
5699 __u8 error ;
5700 __u8 pg_en ;
5701 __u8 tcs_supported ;
5702 __u8 pg_bw[8] ;
5703 __u8 prio_pg[8] ;
5704};
5705#line 121 "include/linux/dcbnl.h"
5706struct cee_pfc {
5707 __u8 willing ;
5708 __u8 error ;
5709 __u8 pfc_en ;
5710 __u8 tcs_supported ;
5711};
5712#line 151 "include/linux/dcbnl.h"
5713struct dcb_app {
5714 __u8 selector ;
5715 __u8 priority ;
5716 __u16 protocol ;
5717};
5718#line 166 "include/linux/dcbnl.h"
5719struct dcb_peer_app_info {
5720 __u8 willing ;
5721 __u8 error ;
5722};
5723#line 47 "include/net/dcbnl.h"
5724struct dcbnl_rtnl_ops {
5725 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
5726 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
5727 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5728 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
5729 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
5730 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
5731 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
5732 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
5733 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
5734 u8 (*getstate)(struct net_device * ) ;
5735 u8 (*setstate)(struct net_device * , u8 ) ;
5736 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
5737 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5738 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
5739 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
5740 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
5741 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5742 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
5743 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
5744 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
5745 void (*setpfccfg)(struct net_device * , int , u8 ) ;
5746 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
5747 u8 (*setall)(struct net_device * ) ;
5748 u8 (*getcap)(struct net_device * , int , u8 * ) ;
5749 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
5750 int (*setnumtcs)(struct net_device * , int , u8 ) ;
5751 u8 (*getpfcstate)(struct net_device * ) ;
5752 void (*setpfcstate)(struct net_device * , u8 ) ;
5753 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
5754 void (*setbcncfg)(struct net_device * , int , u32 ) ;
5755 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
5756 void (*setbcnrp)(struct net_device * , int , u8 ) ;
5757 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
5758 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
5759 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
5760 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
5761 u8 (*getdcbx)(struct net_device * ) ;
5762 u8 (*setdcbx)(struct net_device * , u8 ) ;
5763 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
5764 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
5765 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
5766 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
5767};
5768#line 40 "include/linux/taskstats.h"
5769struct taskstats {
5770 __u16 version ;
5771 __u32 ac_exitcode ;
5772 __u8 ac_flag ;
5773 __u8 ac_nice ;
5774 __u64 cpu_count __attribute__((__aligned__(8))) ;
5775 __u64 cpu_delay_total ;
5776 __u64 blkio_count ;
5777 __u64 blkio_delay_total ;
5778 __u64 swapin_count ;
5779 __u64 swapin_delay_total ;
5780 __u64 cpu_run_real_total ;
5781 __u64 cpu_run_virtual_total ;
5782 char ac_comm[32] ;
5783 __u8 ac_sched __attribute__((__aligned__(8))) ;
5784 __u8 ac_pad[3] ;
5785 __u32 ac_uid __attribute__((__aligned__(8))) ;
5786 __u32 ac_gid ;
5787 __u32 ac_pid ;
5788 __u32 ac_ppid ;
5789 __u32 ac_btime ;
5790 __u64 ac_etime __attribute__((__aligned__(8))) ;
5791 __u64 ac_utime ;
5792 __u64 ac_stime ;
5793 __u64 ac_minflt ;
5794 __u64 ac_majflt ;
5795 __u64 coremem ;
5796 __u64 virtmem ;
5797 __u64 hiwater_rss ;
5798 __u64 hiwater_vm ;
5799 __u64 read_char ;
5800 __u64 write_char ;
5801 __u64 read_syscalls ;
5802 __u64 write_syscalls ;
5803 __u64 read_bytes ;
5804 __u64 write_bytes ;
5805 __u64 cancelled_write_bytes ;
5806 __u64 nvcsw ;
5807 __u64 nivcsw ;
5808 __u64 ac_utimescaled ;
5809 __u64 ac_stimescaled ;
5810 __u64 cpu_scaled_run_real_total ;
5811 __u64 freepages_count ;
5812 __u64 freepages_delay_total ;
5813};
5814#line 22 "include/linux/cgroup.h"
5815struct cgroupfs_root;
5816#line 22
5817struct cgroupfs_root;
5818#line 24
5819struct inode;
5820#line 25
5821struct cgroup;
5822#line 25
5823struct cgroup;
5824#line 26
5825struct css_id;
5826#line 26
5827struct css_id;
5828#line 60 "include/linux/cgroup.h"
5829struct cgroup_subsys_state {
5830 struct cgroup *cgroup ;
5831 atomic_t refcnt ;
5832 unsigned long flags ;
5833 struct css_id *id ;
5834};
5835#line 163 "include/linux/cgroup.h"
5836struct cgroup {
5837 unsigned long flags ;
5838 atomic_t count ;
5839 struct list_head sibling ;
5840 struct list_head children ;
5841 struct cgroup *parent ;
5842 struct dentry *dentry ;
5843 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
5844 struct cgroupfs_root *root ;
5845 struct cgroup *top_cgroup ;
5846 struct list_head css_sets ;
5847 struct list_head release_list ;
5848 struct list_head pidlists ;
5849 struct mutex pidlist_mutex ;
5850 struct rcu_head rcu_head ;
5851 struct list_head event_list ;
5852 spinlock_t event_list_lock ;
5853};
5854#line 224 "include/linux/cgroup.h"
5855struct css_set {
5856 atomic_t refcount ;
5857 struct hlist_node hlist ;
5858 struct list_head tasks ;
5859 struct list_head cg_links ;
5860 struct cgroup_subsys_state *subsys[8UL * sizeof(unsigned long )] ;
5861 struct rcu_head rcu_head ;
5862};
5863#line 31 "include/linux/irq.h"
5864struct seq_file;
5865#line 32
5866struct module;
5867#line 12 "include/linux/irqdesc.h"
5868struct proc_dir_entry;
5869#line 14
5870struct module;
5871#line 16 "include/linux/profile.h"
5872struct proc_dir_entry;
5873#line 17
5874struct pt_regs;
5875#line 18
5876struct notifier_block;
5877#line 65
5878struct task_struct;
5879#line 66
5880struct mm_struct;
5881#line 88
5882struct pt_regs;
5883#line 132 "include/linux/hardirq.h"
5884struct task_struct;
5885#line 21 "include/net/netprio_cgroup.h"
5886struct netprio_map {
5887 struct rcu_head rcu ;
5888 u32 priomap_len ;
5889 u32 priomap[] ;
5890};
5891#line 58 "include/linux/netdevice.h"
5892struct netpoll_info;
5893#line 58
5894struct netpoll_info;
5895#line 59
5896struct device;
5897#line 60
5898struct phy_device;
5899#line 60
5900struct phy_device;
5901#line 62
5902struct wireless_dev;
5903#line 62
5904struct wireless_dev;
5905#line 109
5906enum netdev_tx {
5907 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
5908 NETDEV_TX_OK = 0,
5909 NETDEV_TX_BUSY = 16,
5910 NETDEV_TX_LOCKED = 32
5911} ;
5912#line 115 "include/linux/netdevice.h"
5913typedef enum netdev_tx netdev_tx_t;
5914#line 172 "include/linux/netdevice.h"
5915struct net_device_stats {
5916 unsigned long rx_packets ;
5917 unsigned long tx_packets ;
5918 unsigned long rx_bytes ;
5919 unsigned long tx_bytes ;
5920 unsigned long rx_errors ;
5921 unsigned long tx_errors ;
5922 unsigned long rx_dropped ;
5923 unsigned long tx_dropped ;
5924 unsigned long multicast ;
5925 unsigned long collisions ;
5926 unsigned long rx_length_errors ;
5927 unsigned long rx_over_errors ;
5928 unsigned long rx_crc_errors ;
5929 unsigned long rx_frame_errors ;
5930 unsigned long rx_fifo_errors ;
5931 unsigned long rx_missed_errors ;
5932 unsigned long tx_aborted_errors ;
5933 unsigned long tx_carrier_errors ;
5934 unsigned long tx_fifo_errors ;
5935 unsigned long tx_heartbeat_errors ;
5936 unsigned long tx_window_errors ;
5937 unsigned long rx_compressed ;
5938 unsigned long tx_compressed ;
5939};
5940#line 222
5941struct neighbour;
5942#line 223
5943struct neigh_parms;
5944#line 223
5945struct neigh_parms;
5946#line 224
5947struct sk_buff;
5948#line 241 "include/linux/netdevice.h"
5949struct netdev_hw_addr_list {
5950 struct list_head list ;
5951 int count ;
5952};
5953#line 261 "include/linux/netdevice.h"
5954struct hh_cache {
5955 u16 hh_len ;
5956 u16 __pad ;
5957 seqlock_t hh_lock ;
5958 unsigned long hh_data[128UL / sizeof(long )] ;
5959};
5960#line 288 "include/linux/netdevice.h"
5961struct header_ops {
5962 int (*create)(struct sk_buff *skb , struct net_device *dev , unsigned short type ,
5963 void const *daddr , void const *saddr , unsigned int len ) ;
5964 int (*parse)(struct sk_buff const *skb , unsigned char *haddr ) ;
5965 int (*rebuild)(struct sk_buff *skb ) ;
5966 int (*cache)(struct neighbour const *neigh , struct hh_cache *hh , __be16 type ) ;
5967 void (*cache_update)(struct hh_cache *hh , struct net_device const *dev , unsigned char const *haddr ) ;
5968};
5969#line 410
5970enum rx_handler_result {
5971 RX_HANDLER_CONSUMED = 0,
5972 RX_HANDLER_ANOTHER = 1,
5973 RX_HANDLER_EXACT = 2,
5974 RX_HANDLER_PASS = 3
5975} ;
5976#line 416 "include/linux/netdevice.h"
5977typedef enum rx_handler_result rx_handler_result_t;
5978#line 417 "include/linux/netdevice.h"
5979typedef rx_handler_result_t rx_handler_func_t(struct sk_buff **pskb );
5980#line 539
5981struct Qdisc;
5982#line 539 "include/linux/netdevice.h"
5983struct netdev_queue {
5984 struct net_device *dev ;
5985 struct Qdisc *qdisc ;
5986 struct Qdisc *qdisc_sleeping ;
5987 struct kobject kobj ;
5988 int numa_node ;
5989 spinlock_t _xmit_lock __attribute__((__aligned__((1) << (6) ))) ;
5990 int xmit_lock_owner ;
5991 unsigned long trans_start ;
5992 unsigned long trans_timeout ;
5993 unsigned long state ;
5994 struct dql dql ;
5995} __attribute__((__aligned__((1) << (6) ))) ;
5996#line 596 "include/linux/netdevice.h"
5997struct rps_map {
5998 unsigned int len ;
5999 struct rcu_head rcu ;
6000 u16 cpus[0] ;
6001};
6002#line 608 "include/linux/netdevice.h"
6003struct rps_dev_flow {
6004 u16 cpu ;
6005 u16 filter ;
6006 unsigned int last_qtail ;
6007};
6008#line 618 "include/linux/netdevice.h"
6009struct rps_dev_flow_table {
6010 unsigned int mask ;
6011 struct rcu_head rcu ;
6012 struct work_struct free_work ;
6013 struct rps_dev_flow flows[0] ;
6014};
6015#line 669 "include/linux/netdevice.h"
6016struct netdev_rx_queue {
6017 struct rps_map *rps_map ;
6018 struct rps_dev_flow_table *rps_flow_table ;
6019 struct kobject kobj ;
6020 struct net_device *dev ;
6021} __attribute__((__aligned__((1) << (6) ))) ;
6022#line 682 "include/linux/netdevice.h"
6023struct xps_map {
6024 unsigned int len ;
6025 unsigned int alloc_len ;
6026 struct rcu_head rcu ;
6027 u16 queues[0] ;
6028};
6029#line 695 "include/linux/netdevice.h"
6030struct xps_dev_maps {
6031 struct rcu_head rcu ;
6032 struct xps_map *cpu_map[0] ;
6033};
6034#line 706 "include/linux/netdevice.h"
6035struct netdev_tc_txq {
6036 u16 count ;
6037 u16 offset ;
6038};
6039#line 716 "include/linux/netdevice.h"
6040struct netdev_fcoe_hbainfo {
6041 char manufacturer[64] ;
6042 char serial_number[64] ;
6043 char hardware_version[64] ;
6044 char driver_version[64] ;
6045 char optionrom_version[64] ;
6046 char firmware_version[64] ;
6047 char model[256] ;
6048 char model_description[256] ;
6049};
6050#line 909 "include/linux/netdevice.h"
6051struct net_device_ops {
6052 int (*ndo_init)(struct net_device *dev ) ;
6053 void (*ndo_uninit)(struct net_device *dev ) ;
6054 int (*ndo_open)(struct net_device *dev ) ;
6055 int (*ndo_stop)(struct net_device *dev ) ;
6056 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb , struct net_device *dev ) ;
6057 u16 (*ndo_select_queue)(struct net_device *dev , struct sk_buff *skb ) ;
6058 void (*ndo_change_rx_flags)(struct net_device *dev , int flags ) ;
6059 void (*ndo_set_rx_mode)(struct net_device *dev ) ;
6060 int (*ndo_set_mac_address)(struct net_device *dev , void *addr ) ;
6061 int (*ndo_validate_addr)(struct net_device *dev ) ;
6062 int (*ndo_do_ioctl)(struct net_device *dev , struct ifreq *ifr , int cmd ) ;
6063 int (*ndo_set_config)(struct net_device *dev , struct ifmap *map ) ;
6064 int (*ndo_change_mtu)(struct net_device *dev , int new_mtu ) ;
6065 int (*ndo_neigh_setup)(struct net_device *dev , struct neigh_parms * ) ;
6066 void (*ndo_tx_timeout)(struct net_device *dev ) ;
6067 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device *dev , struct rtnl_link_stats64 *storage ) ;
6068 struct net_device_stats *(*ndo_get_stats)(struct net_device *dev ) ;
6069 int (*ndo_vlan_rx_add_vid)(struct net_device *dev , unsigned short vid ) ;
6070 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev , unsigned short vid ) ;
6071 void (*ndo_poll_controller)(struct net_device *dev ) ;
6072 int (*ndo_netpoll_setup)(struct net_device *dev , struct netpoll_info *info ) ;
6073 void (*ndo_netpoll_cleanup)(struct net_device *dev ) ;
6074 int (*ndo_set_vf_mac)(struct net_device *dev , int queue , u8 *mac ) ;
6075 int (*ndo_set_vf_vlan)(struct net_device *dev , int queue , u16 vlan , u8 qos ) ;
6076 int (*ndo_set_vf_tx_rate)(struct net_device *dev , int vf , int rate ) ;
6077 int (*ndo_set_vf_spoofchk)(struct net_device *dev , int vf , bool setting ) ;
6078 int (*ndo_get_vf_config)(struct net_device *dev , int vf , struct ifla_vf_info *ivf ) ;
6079 int (*ndo_set_vf_port)(struct net_device *dev , int vf , struct nlattr **port ) ;
6080 int (*ndo_get_vf_port)(struct net_device *dev , int vf , struct sk_buff *skb ) ;
6081 int (*ndo_setup_tc)(struct net_device *dev , u8 tc ) ;
6082 int (*ndo_fcoe_enable)(struct net_device *dev ) ;
6083 int (*ndo_fcoe_disable)(struct net_device *dev ) ;
6084 int (*ndo_fcoe_ddp_setup)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
6085 unsigned int sgc ) ;
6086 int (*ndo_fcoe_ddp_done)(struct net_device *dev , u16 xid ) ;
6087 int (*ndo_fcoe_ddp_target)(struct net_device *dev , u16 xid , struct scatterlist *sgl ,
6088 unsigned int sgc ) ;
6089 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev , struct netdev_fcoe_hbainfo *hbainfo ) ;
6090 int (*ndo_fcoe_get_wwn)(struct net_device *dev , u64 *wwn , int type ) ;
6091 int (*ndo_rx_flow_steer)(struct net_device *dev , struct sk_buff const *skb ,
6092 u16 rxq_index , u32 flow_id ) ;
6093 int (*ndo_add_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
6094 int (*ndo_del_slave)(struct net_device *dev , struct net_device *slave_dev ) ;
6095 netdev_features_t (*ndo_fix_features)(struct net_device *dev , netdev_features_t features ) ;
6096 int (*ndo_set_features)(struct net_device *dev , netdev_features_t features ) ;
6097 int (*ndo_neigh_construct)(struct neighbour *n ) ;
6098 void (*ndo_neigh_destroy)(struct neighbour *n ) ;
6099};
6100#line 1017
6101struct iw_handler_def;
6102#line 1017
6103struct iw_public_data;
6104#line 1017
6105struct vlan_info;
6106#line 1017
6107struct in_device;
6108#line 1017
6109struct dn_dev;
6110#line 1017
6111struct inet6_dev;
6112#line 1017
6113struct cpu_rmap;
6114#line 1017
6115enum __anonenum_reg_state_344 {
6116 NETREG_UNINITIALIZED = 0,
6117 NETREG_REGISTERED = 1,
6118 NETREG_UNREGISTERING = 2,
6119 NETREG_UNREGISTERED = 3,
6120 NETREG_RELEASED = 4,
6121 NETREG_DUMMY = 5
6122} ;
6123#line 1017
6124enum __anonenum_rtnl_link_state_345 {
6125 RTNL_LINK_INITIALIZED = 0,
6126 RTNL_LINK_INITIALIZING = 1
6127} ;
6128#line 1017
6129struct pcpu_lstats;
6130#line 1017
6131struct pcpu_tstats;
6132#line 1017
6133struct pcpu_dstats;
6134#line 1017 "include/linux/netdevice.h"
6135union __anonunion____missing_field_name_346 {
6136 void *ml_priv ;
6137 struct pcpu_lstats *lstats ;
6138 struct pcpu_tstats *tstats ;
6139 struct pcpu_dstats *dstats ;
6140};
6141#line 1017
6142struct garp_port;
6143#line 1017
6144struct rtnl_link_ops;
6145#line 1017 "include/linux/netdevice.h"
6146struct net_device {
6147 char name[16] ;
6148 struct pm_qos_request pm_qos_req ;
6149 struct hlist_node name_hlist ;
6150 char *ifalias ;
6151 unsigned long mem_end ;
6152 unsigned long mem_start ;
6153 unsigned long base_addr ;
6154 unsigned int irq ;
6155 unsigned long state ;
6156 struct list_head dev_list ;
6157 struct list_head napi_list ;
6158 struct list_head unreg_list ;
6159 netdev_features_t features ;
6160 netdev_features_t hw_features ;
6161 netdev_features_t wanted_features ;
6162 netdev_features_t vlan_features ;
6163 int ifindex ;
6164 int iflink ;
6165 struct net_device_stats stats ;
6166 atomic_long_t rx_dropped ;
6167 struct iw_handler_def const *wireless_handlers ;
6168 struct iw_public_data *wireless_data ;
6169 struct net_device_ops const *netdev_ops ;
6170 struct ethtool_ops const *ethtool_ops ;
6171 struct header_ops const *header_ops ;
6172 unsigned int flags ;
6173 unsigned int priv_flags ;
6174 unsigned short gflags ;
6175 unsigned short padded ;
6176 unsigned char operstate ;
6177 unsigned char link_mode ;
6178 unsigned char if_port ;
6179 unsigned char dma ;
6180 unsigned int mtu ;
6181 unsigned short type ;
6182 unsigned short hard_header_len ;
6183 unsigned short needed_headroom ;
6184 unsigned short needed_tailroom ;
6185 unsigned char perm_addr[32] ;
6186 unsigned char addr_assign_type ;
6187 unsigned char addr_len ;
6188 unsigned char neigh_priv_len ;
6189 unsigned short dev_id ;
6190 spinlock_t addr_list_lock ;
6191 struct netdev_hw_addr_list uc ;
6192 struct netdev_hw_addr_list mc ;
6193 bool uc_promisc ;
6194 unsigned int promiscuity ;
6195 unsigned int allmulti ;
6196 struct vlan_info *vlan_info ;
6197 struct dsa_switch_tree *dsa_ptr ;
6198 void *atalk_ptr ;
6199 struct in_device *ip_ptr ;
6200 struct dn_dev *dn_ptr ;
6201 struct inet6_dev *ip6_ptr ;
6202 void *ec_ptr ;
6203 void *ax25_ptr ;
6204 struct wireless_dev *ieee80211_ptr ;
6205 unsigned long last_rx ;
6206 struct net_device *master ;
6207 unsigned char *dev_addr ;
6208 struct netdev_hw_addr_list dev_addrs ;
6209 unsigned char broadcast[32] ;
6210 struct kset *queues_kset ;
6211 struct netdev_rx_queue *_rx ;
6212 unsigned int num_rx_queues ;
6213 unsigned int real_num_rx_queues ;
6214 struct cpu_rmap *rx_cpu_rmap ;
6215 rx_handler_func_t *rx_handler ;
6216 void *rx_handler_data ;
6217 struct netdev_queue *ingress_queue ;
6218 struct netdev_queue *_tx __attribute__((__aligned__((1) << (6) ))) ;
6219 unsigned int num_tx_queues ;
6220 unsigned int real_num_tx_queues ;
6221 struct Qdisc *qdisc ;
6222 unsigned long tx_queue_len ;
6223 spinlock_t tx_global_lock ;
6224 struct xps_dev_maps *xps_maps ;
6225 unsigned long trans_start ;
6226 int watchdog_timeo ;
6227 struct timer_list watchdog_timer ;
6228 int *pcpu_refcnt ;
6229 struct list_head todo_list ;
6230 struct hlist_node index_hlist ;
6231 struct list_head link_watch_list ;
6232 enum __anonenum_reg_state_344 reg_state : 8 ;
6233 bool dismantle ;
6234 enum __anonenum_rtnl_link_state_345 rtnl_link_state : 16 ;
6235 void (*destructor)(struct net_device *dev ) ;
6236 struct netpoll_info *npinfo ;
6237 struct net *nd_net ;
6238 union __anonunion____missing_field_name_346 __annonCompField52 ;
6239 struct garp_port *garp_port ;
6240 struct device dev ;
6241 struct attribute_group const *sysfs_groups[4] ;
6242 struct rtnl_link_ops const *rtnl_link_ops ;
6243 unsigned int gso_max_size ;
6244 struct dcbnl_rtnl_ops const *dcbnl_ops ;
6245 u8 num_tc ;
6246 struct netdev_tc_txq tc_to_txq[16] ;
6247 u8 prio_tc_map[16] ;
6248 unsigned int fcoe_ddp_xid ;
6249 struct netprio_map *priomap ;
6250 struct phy_device *phydev ;
6251 int group ;
6252};
6253#line 46 "include/linux/inetdevice.h"
6254struct ipv4_devconf {
6255 void *sysctl ;
6256 int data[25] ;
6257 unsigned long state[((25UL + 8UL * sizeof(long )) - 1UL) / (8UL * sizeof(long ))] ;
6258};
6259#line 52
6260struct in_ifaddr;
6261#line 52
6262struct ip_mc_list;
6263#line 52 "include/linux/inetdevice.h"
6264struct in_device {
6265 struct net_device *dev ;
6266 atomic_t refcnt ;
6267 int dead ;
6268 struct in_ifaddr *ifa_list ;
6269 struct ip_mc_list *mc_list ;
6270 int mc_count ;
6271 spinlock_t mc_tomb_lock ;
6272 struct ip_mc_list *mc_tomb ;
6273 unsigned long mr_v1_seen ;
6274 unsigned long mr_v2_seen ;
6275 unsigned long mr_maxdelay ;
6276 unsigned char mr_qrv ;
6277 unsigned char mr_gq_running ;
6278 unsigned char mr_ifc_count ;
6279 struct timer_list mr_gq_timer ;
6280 struct timer_list mr_ifc_timer ;
6281 struct neigh_parms *arp_parms ;
6282 struct ipv4_devconf cnf ;
6283 struct rcu_head rcu_head ;
6284};
6285#line 147 "include/linux/inetdevice.h"
6286struct in_ifaddr {
6287 struct hlist_node hash ;
6288 struct in_ifaddr *ifa_next ;
6289 struct in_device *ifa_dev ;
6290 struct rcu_head rcu_head ;
6291 __be32 ifa_local ;
6292 __be32 ifa_address ;
6293 __be32 ifa_mask ;
6294 __be32 ifa_broadcast ;
6295 unsigned char ifa_scope ;
6296 unsigned char ifa_flags ;
6297 unsigned char ifa_prefixlen ;
6298 char ifa_label[16] ;
6299};
6300#line 37 "drivers/media/dvb/dvb-core/dvb_net.h"
6301struct dvb_net {
6302 struct dvb_device *dvbdev ;
6303 struct net_device *device[10] ;
6304 int state[10] ;
6305 unsigned int exit : 1 ;
6306 struct dmx_demux *demux ;
6307};
6308#line 25 "include/linux/io.h"
6309struct device;
6310#line 61 "include/linux/pci.h"
6311struct hotplug_slot;
6312#line 61 "include/linux/pci.h"
6313struct pci_slot {
6314 struct pci_bus *bus ;
6315 struct list_head list ;
6316 struct hotplug_slot *hotplug ;
6317 unsigned char number ;
6318 struct kobject kobj ;
6319};
6320#line 117 "include/linux/pci.h"
6321typedef int pci_power_t;
6322#line 143 "include/linux/pci.h"
6323typedef unsigned int pci_channel_state_t;
6324#line 145
6325enum pci_channel_state {
6326 pci_channel_io_normal = 1,
6327 pci_channel_io_frozen = 2,
6328 pci_channel_io_perm_failure = 3
6329} ;
6330#line 169 "include/linux/pci.h"
6331typedef unsigned short pci_dev_flags_t;
6332#line 186 "include/linux/pci.h"
6333typedef unsigned short pci_bus_flags_t;
6334#line 230
6335struct pcie_link_state;
6336#line 230
6337struct pcie_link_state;
6338#line 231
6339struct pci_vpd;
6340#line 231
6341struct pci_vpd;
6342#line 232
6343struct pci_sriov;
6344#line 232
6345struct pci_sriov;
6346#line 233
6347struct pci_ats;
6348#line 233
6349struct pci_ats;
6350#line 238
6351struct pci_driver;
6352#line 238 "include/linux/pci.h"
6353union __anonunion____missing_field_name_363 {
6354 struct pci_sriov *sriov ;
6355 struct pci_dev *physfn ;
6356};
6357#line 238 "include/linux/pci.h"
6358struct pci_dev {
6359 struct list_head bus_list ;
6360 struct pci_bus *bus ;
6361 struct pci_bus *subordinate ;
6362 void *sysdata ;
6363 struct proc_dir_entry *procent ;
6364 struct pci_slot *slot ;
6365 unsigned int devfn ;
6366 unsigned short vendor ;
6367 unsigned short device ;
6368 unsigned short subsystem_vendor ;
6369 unsigned short subsystem_device ;
6370 unsigned int class ;
6371 u8 revision ;
6372 u8 hdr_type ;
6373 u8 pcie_cap ;
6374 u8 pcie_type : 4 ;
6375 u8 pcie_mpss : 3 ;
6376 u8 rom_base_reg ;
6377 u8 pin ;
6378 struct pci_driver *driver ;
6379 u64 dma_mask ;
6380 struct device_dma_parameters dma_parms ;
6381 pci_power_t current_state ;
6382 int pm_cap ;
6383 unsigned int pme_support : 5 ;
6384 unsigned int pme_interrupt : 1 ;
6385 unsigned int pme_poll : 1 ;
6386 unsigned int d1_support : 1 ;
6387 unsigned int d2_support : 1 ;
6388 unsigned int no_d1d2 : 1 ;
6389 unsigned int mmio_always_on : 1 ;
6390 unsigned int wakeup_prepared : 1 ;
6391 unsigned int d3_delay ;
6392 struct pcie_link_state *link_state ;
6393 pci_channel_state_t error_state ;
6394 struct device dev ;
6395 int cfg_size ;
6396 unsigned int irq ;
6397 struct resource resource[17] ;
6398 unsigned int transparent : 1 ;
6399 unsigned int multifunction : 1 ;
6400 unsigned int is_added : 1 ;
6401 unsigned int is_busmaster : 1 ;
6402 unsigned int no_msi : 1 ;
6403 unsigned int block_cfg_access : 1 ;
6404 unsigned int broken_parity_status : 1 ;
6405 unsigned int irq_reroute_variant : 2 ;
6406 unsigned int msi_enabled : 1 ;
6407 unsigned int msix_enabled : 1 ;
6408 unsigned int ari_enabled : 1 ;
6409 unsigned int is_managed : 1 ;
6410 unsigned int is_pcie : 1 ;
6411 unsigned int needs_freset : 1 ;
6412 unsigned int state_saved : 1 ;
6413 unsigned int is_physfn : 1 ;
6414 unsigned int is_virtfn : 1 ;
6415 unsigned int reset_fn : 1 ;
6416 unsigned int is_hotplug_bridge : 1 ;
6417 unsigned int __aer_firmware_first_valid : 1 ;
6418 unsigned int __aer_firmware_first : 1 ;
6419 pci_dev_flags_t dev_flags ;
6420 atomic_t enable_cnt ;
6421 u32 saved_config_space[16] ;
6422 struct hlist_head saved_cap_space ;
6423 struct bin_attribute *rom_attr ;
6424 int rom_attr_enabled ;
6425 struct bin_attribute *res_attr[17] ;
6426 struct bin_attribute *res_attr_wc[17] ;
6427 struct list_head msi_list ;
6428 struct kset *msi_kset ;
6429 struct pci_vpd *vpd ;
6430 union __anonunion____missing_field_name_363 __annonCompField53 ;
6431 struct pci_ats *ats ;
6432};
6433#line 406
6434struct pci_ops;
6435#line 406 "include/linux/pci.h"
6436struct pci_bus {
6437 struct list_head node ;
6438 struct pci_bus *parent ;
6439 struct list_head children ;
6440 struct list_head devices ;
6441 struct pci_dev *self ;
6442 struct list_head slots ;
6443 struct resource *resource[4] ;
6444 struct list_head resources ;
6445 struct pci_ops *ops ;
6446 void *sysdata ;
6447 struct proc_dir_entry *procdir ;
6448 unsigned char number ;
6449 unsigned char primary ;
6450 unsigned char secondary ;
6451 unsigned char subordinate ;
6452 unsigned char max_bus_speed ;
6453 unsigned char cur_bus_speed ;
6454 char name[48] ;
6455 unsigned short bridge_ctl ;
6456 pci_bus_flags_t bus_flags ;
6457 struct device *bridge ;
6458 struct device dev ;
6459 struct bin_attribute *legacy_io ;
6460 struct bin_attribute *legacy_mem ;
6461 unsigned int is_added : 1 ;
6462};
6463#line 472 "include/linux/pci.h"
6464struct pci_ops {
6465 int (*read)(struct pci_bus *bus , unsigned int devfn , int where , int size , u32 *val ) ;
6466 int (*write)(struct pci_bus *bus , unsigned int devfn , int where , int size ,
6467 u32 val ) ;
6468};
6469#line 491 "include/linux/pci.h"
6470struct pci_dynids {
6471 spinlock_t lock ;
6472 struct list_head list ;
6473};
6474#line 503 "include/linux/pci.h"
6475typedef unsigned int pci_ers_result_t;
6476#line 523 "include/linux/pci.h"
6477struct pci_error_handlers {
6478 pci_ers_result_t (*error_detected)(struct pci_dev *dev , enum pci_channel_state error ) ;
6479 pci_ers_result_t (*mmio_enabled)(struct pci_dev *dev ) ;
6480 pci_ers_result_t (*link_reset)(struct pci_dev *dev ) ;
6481 pci_ers_result_t (*slot_reset)(struct pci_dev *dev ) ;
6482 void (*resume)(struct pci_dev *dev ) ;
6483};
6484#line 543
6485struct module;
6486#line 544 "include/linux/pci.h"
6487struct pci_driver {
6488 struct list_head node ;
6489 char const *name ;
6490 struct pci_device_id const *id_table ;
6491 int (*probe)(struct pci_dev *dev , struct pci_device_id const *id ) ;
6492 void (*remove)(struct pci_dev *dev ) ;
6493 int (*suspend)(struct pci_dev *dev , pm_message_t state ) ;
6494 int (*suspend_late)(struct pci_dev *dev , pm_message_t state ) ;
6495 int (*resume_early)(struct pci_dev *dev ) ;
6496 int (*resume)(struct pci_dev *dev ) ;
6497 void (*shutdown)(struct pci_dev *dev ) ;
6498 struct pci_error_handlers *err_handler ;
6499 struct device_driver driver ;
6500 struct pci_dynids dynids ;
6501};
6502#line 187 "include/linux/interrupt.h"
6503struct device;
6504#line 509 "include/linux/interrupt.h"
6505struct tasklet_struct {
6506 struct tasklet_struct *next ;
6507 unsigned long state ;
6508 atomic_t count ;
6509 void (*func)(unsigned long ) ;
6510 unsigned long data ;
6511};
6512#line 695
6513struct seq_file;
6514#line 8 "include/linux/cdev.h"
6515struct file_operations;
6516#line 9
6517struct inode;
6518#line 10
6519struct module;
6520#line 12 "include/linux/cdev.h"
6521struct cdev {
6522 struct kobject kobj ;
6523 struct module *owner ;
6524 struct file_operations const *ops ;
6525 struct list_head list ;
6526 dev_t dev ;
6527 unsigned int count ;
6528};
6529#line 43 "include/media/media-devnode.h"
6530struct media_file_operations {
6531 struct module *owner ;
6532 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
6533 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
6534 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
6535 long (*ioctl)(struct file * , unsigned int , unsigned long ) ;
6536 int (*open)(struct file * ) ;
6537 int (*release)(struct file * ) ;
6538};
6539#line 64 "include/media/media-devnode.h"
6540struct media_devnode {
6541 struct media_file_operations const *fops ;
6542 struct device dev ;
6543 struct cdev cdev ;
6544 struct device *parent ;
6545 int minor ;
6546 unsigned long flags ;
6547 void (*release)(struct media_devnode *mdev ) ;
6548};
6549#line 29 "include/media/media-entity.h"
6550struct media_pipeline {
6551
6552};
6553#line 32
6554struct media_pad;
6555#line 32 "include/media/media-entity.h"
6556struct media_link {
6557 struct media_pad *source ;
6558 struct media_pad *sink ;
6559 struct media_link *reverse ;
6560 unsigned long flags ;
6561};
6562#line 39
6563struct media_entity;
6564#line 39 "include/media/media-entity.h"
6565struct media_pad {
6566 struct media_entity *entity ;
6567 u16 index ;
6568 unsigned long flags ;
6569};
6570#line 45 "include/media/media-entity.h"
6571struct media_entity_operations {
6572 int (*link_setup)(struct media_entity *entity , struct media_pad const *local ,
6573 struct media_pad const *remote , u32 flags ) ;
6574};
6575#line 51
6576struct media_device;
6577#line 51 "include/media/media-entity.h"
6578struct __anonstruct_v4l_372 {
6579 u32 major ;
6580 u32 minor ;
6581};
6582#line 51 "include/media/media-entity.h"
6583struct __anonstruct_fb_373 {
6584 u32 major ;
6585 u32 minor ;
6586};
6587#line 51 "include/media/media-entity.h"
6588struct __anonstruct_alsa_374 {
6589 u32 card ;
6590 u32 device ;
6591 u32 subdevice ;
6592};
6593#line 51 "include/media/media-entity.h"
6594union __anonunion_info_371 {
6595 struct __anonstruct_v4l_372 v4l ;
6596 struct __anonstruct_fb_373 fb ;
6597 struct __anonstruct_alsa_374 alsa ;
6598 int dvb ;
6599};
6600#line 51 "include/media/media-entity.h"
6601struct media_entity {
6602 struct list_head list ;
6603 struct media_device *parent ;
6604 u32 id ;
6605 char const *name ;
6606 u32 type ;
6607 u32 revision ;
6608 unsigned long flags ;
6609 u32 group_id ;
6610 u16 num_pads ;
6611 u16 num_links ;
6612 u16 num_backlinks ;
6613 u16 max_links ;
6614 struct media_pad *pads ;
6615 struct media_link *links ;
6616 struct media_entity_operations const *ops ;
6617 int stream_count ;
6618 int use_count ;
6619 struct media_pipeline *pipe ;
6620 union __anonunion_info_371 info ;
6621};
6622#line 33 "include/media/media-device.h"
6623struct device;
6624#line 59 "include/media/media-device.h"
6625struct media_device {
6626 struct device *dev ;
6627 struct media_devnode devnode ;
6628 char model[32] ;
6629 char serial[40] ;
6630 char bus_info[32] ;
6631 u32 hw_revision ;
6632 u32 driver_version ;
6633 u32 entity_id ;
6634 struct list_head entities ;
6635 spinlock_t lock ;
6636 struct mutex graph_mutex ;
6637 int (*link_notify)(struct media_pad *source , struct media_pad *sink , u32 flags ) ;
6638};
6639#line 149 "include/linux/videodev2.h"
6640enum v4l2_buf_type {
6641 V4L2_BUF_TYPE_VIDEO_CAPTURE = 1,
6642 V4L2_BUF_TYPE_VIDEO_OUTPUT = 2,
6643 V4L2_BUF_TYPE_VIDEO_OVERLAY = 3,
6644 V4L2_BUF_TYPE_VBI_CAPTURE = 4,
6645 V4L2_BUF_TYPE_VBI_OUTPUT = 5,
6646 V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6,
6647 V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7,
6648 V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
6649 V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
6650 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
6651 V4L2_BUF_TYPE_PRIVATE = 128
6652} ;
6653#line 178
6654enum v4l2_tuner_type {
6655 V4L2_TUNER_RADIO = 1,
6656 V4L2_TUNER_ANALOG_TV = 2,
6657 V4L2_TUNER_DIGITAL_TV = 3
6658} ;
6659#line 218
6660enum v4l2_priority {
6661 V4L2_PRIORITY_UNSET = 0,
6662 V4L2_PRIORITY_BACKGROUND = 1,
6663 V4L2_PRIORITY_INTERACTIVE = 2,
6664 V4L2_PRIORITY_RECORD = 3,
6665 V4L2_PRIORITY_DEFAULT = 2
6666} ;
6667#line 226 "include/linux/videodev2.h"
6668struct v4l2_rect {
6669 __s32 left ;
6670 __s32 top ;
6671 __s32 width ;
6672 __s32 height ;
6673};
6674#line 233 "include/linux/videodev2.h"
6675struct v4l2_fract {
6676 __u32 numerator ;
6677 __u32 denominator ;
6678};
6679#line 456 "include/linux/videodev2.h"
6680struct v4l2_frmsize_discrete {
6681 __u32 width ;
6682 __u32 height ;
6683};
6684#line 461 "include/linux/videodev2.h"
6685struct v4l2_frmsize_stepwise {
6686 __u32 min_width ;
6687 __u32 max_width ;
6688 __u32 step_width ;
6689 __u32 min_height ;
6690 __u32 max_height ;
6691 __u32 step_height ;
6692};
6693#line 470 "include/linux/videodev2.h"
6694union __anonunion____missing_field_name_376 {
6695 struct v4l2_frmsize_discrete discrete ;
6696 struct v4l2_frmsize_stepwise stepwise ;
6697};
6698#line 470 "include/linux/videodev2.h"
6699struct v4l2_frmsizeenum {
6700 __u32 index ;
6701 __u32 pixel_format ;
6702 __u32 type ;
6703 union __anonunion____missing_field_name_376 __annonCompField55 ;
6704 __u32 reserved[2] ;
6705};
6706#line 492 "include/linux/videodev2.h"
6707struct v4l2_frmival_stepwise {
6708 struct v4l2_fract min ;
6709 struct v4l2_fract max ;
6710 struct v4l2_fract step ;
6711};
6712#line 498 "include/linux/videodev2.h"
6713union __anonunion____missing_field_name_377 {
6714 struct v4l2_fract discrete ;
6715 struct v4l2_frmival_stepwise stepwise ;
6716};
6717#line 498 "include/linux/videodev2.h"
6718struct v4l2_frmivalenum {
6719 __u32 index ;
6720 __u32 pixel_format ;
6721 __u32 width ;
6722 __u32 height ;
6723 __u32 type ;
6724 union __anonunion____missing_field_name_377 __annonCompField56 ;
6725 __u32 reserved[2] ;
6726};
6727#line 722 "include/linux/videodev2.h"
6728struct v4l2_captureparm {
6729 __u32 capability ;
6730 __u32 capturemode ;
6731 struct v4l2_fract timeperframe ;
6732 __u32 extendedmode ;
6733 __u32 readbuffers ;
6734 __u32 reserved[4] ;
6735};
6736#line 735 "include/linux/videodev2.h"
6737struct v4l2_outputparm {
6738 __u32 capability ;
6739 __u32 outputmode ;
6740 struct v4l2_fract timeperframe ;
6741 __u32 extendedmode ;
6742 __u32 writebuffers ;
6743 __u32 reserved[4] ;
6744};
6745#line 747 "include/linux/videodev2.h"
6746struct v4l2_cropcap {
6747 enum v4l2_buf_type type ;
6748 struct v4l2_rect bounds ;
6749 struct v4l2_rect defrect ;
6750 struct v4l2_fract pixelaspect ;
6751};
6752#line 754 "include/linux/videodev2.h"
6753struct v4l2_crop {
6754 enum v4l2_buf_type type ;
6755 struct v4l2_rect c ;
6756};
6757#line 805 "include/linux/videodev2.h"
6758typedef __u64 v4l2_std_id;
6759#line 945 "include/linux/videodev2.h"
6760struct v4l2_dv_preset {
6761 __u32 preset ;
6762 __u32 reserved[4] ;
6763};
6764#line 953 "include/linux/videodev2.h"
6765struct v4l2_dv_enum_preset {
6766 __u32 index ;
6767 __u32 preset ;
6768 __u8 name[32] ;
6769 __u32 width ;
6770 __u32 height ;
6771 __u32 reserved[4] ;
6772};
6773#line 990 "include/linux/videodev2.h"
6774struct v4l2_bt_timings {
6775 __u32 width ;
6776 __u32 height ;
6777 __u32 interlaced ;
6778 __u32 polarities ;
6779 __u64 pixelclock ;
6780 __u32 hfrontporch ;
6781 __u32 hsync ;
6782 __u32 hbackporch ;
6783 __u32 vfrontporch ;
6784 __u32 vsync ;
6785 __u32 vbackporch ;
6786 __u32 il_vfrontporch ;
6787 __u32 il_vsync ;
6788 __u32 il_vbackporch ;
6789 __u32 reserved[16] ;
6790} __attribute__((__packed__)) ;
6791#line 1024 "include/linux/videodev2.h"
6792union __anonunion____missing_field_name_380 {
6793 struct v4l2_bt_timings bt ;
6794 __u32 reserved[32] ;
6795};
6796#line 1024 "include/linux/videodev2.h"
6797struct v4l2_dv_timings {
6798 __u32 type ;
6799 union __anonunion____missing_field_name_380 __annonCompField57 ;
6800} __attribute__((__packed__)) ;
6801#line 1109 "include/linux/videodev2.h"
6802struct v4l2_control {
6803 __u32 id ;
6804 __s32 value ;
6805};
6806#line 1114 "include/linux/videodev2.h"
6807union __anonunion____missing_field_name_381 {
6808 __s32 value ;
6809 __s64 value64 ;
6810 char *string ;
6811};
6812#line 1114 "include/linux/videodev2.h"
6813struct v4l2_ext_control {
6814 __u32 id ;
6815 __u32 size ;
6816 __u32 reserved2[1] ;
6817 union __anonunion____missing_field_name_381 __annonCompField58 ;
6818} __attribute__((__packed__)) ;
6819#line 1125 "include/linux/videodev2.h"
6820struct v4l2_ext_controls {
6821 __u32 ctrl_class ;
6822 __u32 count ;
6823 __u32 error_idx ;
6824 __u32 reserved[2] ;
6825 struct v4l2_ext_control *controls ;
6826};
6827#line 1145
6828enum v4l2_ctrl_type {
6829 V4L2_CTRL_TYPE_INTEGER = 1,
6830 V4L2_CTRL_TYPE_BOOLEAN = 2,
6831 V4L2_CTRL_TYPE_MENU = 3,
6832 V4L2_CTRL_TYPE_BUTTON = 4,
6833 V4L2_CTRL_TYPE_INTEGER64 = 5,
6834 V4L2_CTRL_TYPE_CTRL_CLASS = 6,
6835 V4L2_CTRL_TYPE_STRING = 7,
6836 V4L2_CTRL_TYPE_BITMASK = 8
6837} ;
6838#line 1157 "include/linux/videodev2.h"
6839struct v4l2_queryctrl {
6840 __u32 id ;
6841 enum v4l2_ctrl_type type ;
6842 __u8 name[32] ;
6843 __s32 minimum ;
6844 __s32 maximum ;
6845 __s32 step ;
6846 __s32 default_value ;
6847 __u32 flags ;
6848 __u32 reserved[2] ;
6849};
6850#line 1170 "include/linux/videodev2.h"
6851struct v4l2_querymenu {
6852 __u32 id ;
6853 __u32 index ;
6854 __u8 name[32] ;
6855 __u32 reserved ;
6856};
6857#line 1788 "include/linux/videodev2.h"
6858struct v4l2_tuner {
6859 __u32 index ;
6860 __u8 name[32] ;
6861 enum v4l2_tuner_type type ;
6862 __u32 capability ;
6863 __u32 rangelow ;
6864 __u32 rangehigh ;
6865 __u32 rxsubchans ;
6866 __u32 audmode ;
6867 __s32 signal ;
6868 __s32 afc ;
6869 __u32 reserved[4] ;
6870};
6871#line 1802 "include/linux/videodev2.h"
6872struct v4l2_modulator {
6873 __u32 index ;
6874 __u8 name[32] ;
6875 __u32 capability ;
6876 __u32 rangelow ;
6877 __u32 rangehigh ;
6878 __u32 txsubchans ;
6879 __u32 reserved[4] ;
6880};
6881#line 1839 "include/linux/videodev2.h"
6882struct v4l2_frequency {
6883 __u32 tuner ;
6884 enum v4l2_tuner_type type ;
6885 __u32 frequency ;
6886 __u32 reserved[8] ;
6887};
6888#line 2006 "include/linux/videodev2.h"
6889struct v4l2_vbi_format {
6890 __u32 sampling_rate ;
6891 __u32 offset ;
6892 __u32 samples_per_line ;
6893 __u32 sample_format ;
6894 __s32 start[2] ;
6895 __u32 count[2] ;
6896 __u32 flags ;
6897 __u32 reserved[2] ;
6898};
6899#line 2028 "include/linux/videodev2.h"
6900struct v4l2_sliced_vbi_format {
6901 __u16 service_set ;
6902 __u16 service_lines[2][24] ;
6903 __u32 io_size ;
6904 __u32 reserved[2] ;
6905};
6906#line 2052 "include/linux/videodev2.h"
6907struct v4l2_sliced_vbi_cap {
6908 __u16 service_set ;
6909 __u16 service_lines[2][24] ;
6910 enum v4l2_buf_type type ;
6911 __u32 reserved[3] ;
6912};
6913#line 2063 "include/linux/videodev2.h"
6914struct v4l2_sliced_vbi_data {
6915 __u32 id ;
6916 __u32 field ;
6917 __u32 line ;
6918 __u32 reserved ;
6919 __u8 data[48] ;
6920};
6921#line 2181 "include/linux/videodev2.h"
6922union __anonunion_parm_390 {
6923 struct v4l2_captureparm capture ;
6924 struct v4l2_outputparm output ;
6925 __u8 raw_data[200] ;
6926};
6927#line 2181 "include/linux/videodev2.h"
6928struct v4l2_streamparm {
6929 enum v4l2_buf_type type ;
6930 union __anonunion_parm_390 parm ;
6931};
6932#line 2247 "include/linux/videodev2.h"
6933struct v4l2_event_subscription {
6934 __u32 type ;
6935 __u32 id ;
6936 __u32 flags ;
6937 __u32 reserved[5] ;
6938};
6939#line 2268 "include/linux/videodev2.h"
6940union __anonunion____missing_field_name_393 {
6941 __u32 addr ;
6942 char name[32] ;
6943};
6944#line 2268 "include/linux/videodev2.h"
6945struct v4l2_dbg_match {
6946 __u32 type ;
6947 union __anonunion____missing_field_name_393 __annonCompField63 ;
6948} __attribute__((__packed__)) ;
6949#line 2276 "include/linux/videodev2.h"
6950struct v4l2_dbg_register {
6951 struct v4l2_dbg_match match ;
6952 __u32 size ;
6953 __u64 reg ;
6954 __u64 val ;
6955} __attribute__((__packed__)) ;
6956#line 2284 "include/linux/videodev2.h"
6957struct v4l2_dbg_chip_ident {
6958 struct v4l2_dbg_match match ;
6959 __u32 ident ;
6960 __u32 revision ;
6961} __attribute__((__packed__)) ;
6962#line 37 "include/linux/v4l2-mediabus.h"
6963enum v4l2_mbus_pixelcode {
6964 V4L2_MBUS_FMT_FIXED = 1,
6965 V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE = 4097,
6966 V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE = 4098,
6967 V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE = 4099,
6968 V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE = 4100,
6969 V4L2_MBUS_FMT_BGR565_2X8_BE = 4101,
6970 V4L2_MBUS_FMT_BGR565_2X8_LE = 4102,
6971 V4L2_MBUS_FMT_RGB565_2X8_BE = 4103,
6972 V4L2_MBUS_FMT_RGB565_2X8_LE = 4104,
6973 V4L2_MBUS_FMT_Y8_1X8 = 8193,
6974 V4L2_MBUS_FMT_UYVY8_1_5X8 = 8194,
6975 V4L2_MBUS_FMT_VYUY8_1_5X8 = 8195,
6976 V4L2_MBUS_FMT_YUYV8_1_5X8 = 8196,
6977 V4L2_MBUS_FMT_YVYU8_1_5X8 = 8197,
6978 V4L2_MBUS_FMT_UYVY8_2X8 = 8198,
6979 V4L2_MBUS_FMT_VYUY8_2X8 = 8199,
6980 V4L2_MBUS_FMT_YUYV8_2X8 = 8200,
6981 V4L2_MBUS_FMT_YVYU8_2X8 = 8201,
6982 V4L2_MBUS_FMT_Y10_1X10 = 8202,
6983 V4L2_MBUS_FMT_YUYV10_2X10 = 8203,
6984 V4L2_MBUS_FMT_YVYU10_2X10 = 8204,
6985 V4L2_MBUS_FMT_Y12_1X12 = 8211,
6986 V4L2_MBUS_FMT_UYVY8_1X16 = 8207,
6987 V4L2_MBUS_FMT_VYUY8_1X16 = 8208,
6988 V4L2_MBUS_FMT_YUYV8_1X16 = 8209,
6989 V4L2_MBUS_FMT_YVYU8_1X16 = 8210,
6990 V4L2_MBUS_FMT_YUYV10_1X20 = 8205,
6991 V4L2_MBUS_FMT_YVYU10_1X20 = 8206,
6992 V4L2_MBUS_FMT_SBGGR8_1X8 = 12289,
6993 V4L2_MBUS_FMT_SGBRG8_1X8 = 12307,
6994 V4L2_MBUS_FMT_SGRBG8_1X8 = 12290,
6995 V4L2_MBUS_FMT_SRGGB8_1X8 = 12308,
6996 V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 12299,
6997 V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 12300,
6998 V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 12297,
6999 V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 12301,
7000 V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 12291,
7001 V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 12292,
7002 V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 12293,
7003 V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 12294,
7004 V4L2_MBUS_FMT_SBGGR10_1X10 = 12295,
7005 V4L2_MBUS_FMT_SGBRG10_1X10 = 12302,
7006 V4L2_MBUS_FMT_SGRBG10_1X10 = 12298,
7007 V4L2_MBUS_FMT_SRGGB10_1X10 = 12303,
7008 V4L2_MBUS_FMT_SBGGR12_1X12 = 12296,
7009 V4L2_MBUS_FMT_SGBRG12_1X12 = 12304,
7010 V4L2_MBUS_FMT_SGRBG12_1X12 = 12305,
7011 V4L2_MBUS_FMT_SRGGB12_1X12 = 12306,
7012 V4L2_MBUS_FMT_JPEG_1X8 = 16385
7013} ;
7014#line 105 "include/linux/v4l2-mediabus.h"
7015struct v4l2_mbus_framefmt {
7016 __u32 width ;
7017 __u32 height ;
7018 __u32 code ;
7019 __u32 field ;
7020 __u32 colorspace ;
7021 __u32 reserved[7] ;
7022};
7023#line 46 "include/linux/v4l2-subdev.h"
7024struct v4l2_subdev_format {
7025 __u32 which ;
7026 __u32 pad ;
7027 struct v4l2_mbus_framefmt format ;
7028 __u32 reserved[8] ;
7029};
7030#line 59 "include/linux/v4l2-subdev.h"
7031struct v4l2_subdev_crop {
7032 __u32 which ;
7033 __u32 pad ;
7034 struct v4l2_rect rect ;
7035 __u32 reserved[8] ;
7036};
7037#line 72 "include/linux/v4l2-subdev.h"
7038struct v4l2_subdev_mbus_code_enum {
7039 __u32 pad ;
7040 __u32 index ;
7041 __u32 code ;
7042 __u32 reserved[9] ;
7043};
7044#line 85 "include/linux/v4l2-subdev.h"
7045struct v4l2_subdev_frame_size_enum {
7046 __u32 index ;
7047 __u32 pad ;
7048 __u32 code ;
7049 __u32 min_width ;
7050 __u32 max_width ;
7051 __u32 min_height ;
7052 __u32 max_height ;
7053 __u32 reserved[9] ;
7054};
7055#line 101 "include/linux/v4l2-subdev.h"
7056struct v4l2_subdev_frame_interval {
7057 __u32 pad ;
7058 struct v4l2_fract interval ;
7059 __u32 reserved[9] ;
7060};
7061#line 116 "include/linux/v4l2-subdev.h"
7062struct v4l2_subdev_frame_interval_enum {
7063 __u32 index ;
7064 __u32 pad ;
7065 __u32 code ;
7066 __u32 width ;
7067 __u32 height ;
7068 struct v4l2_fract interval ;
7069 __u32 reserved[9] ;
7070};
7071#line 30 "include/media/v4l2-dev.h"
7072struct video_device;
7073#line 30
7074struct video_device;
7075#line 31
7076struct v4l2_device;
7077#line 31
7078struct v4l2_device;
7079#line 32
7080struct v4l2_ctrl_handler;
7081#line 32
7082struct v4l2_ctrl_handler;
7083#line 45 "include/media/v4l2-dev.h"
7084struct v4l2_prio_state {
7085 atomic_t prios[4] ;
7086};
7087#line 58 "include/media/v4l2-dev.h"
7088struct v4l2_file_operations {
7089 struct module *owner ;
7090 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
7091 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
7092 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
7093 long (*ioctl)(struct file * , unsigned int , unsigned long ) ;
7094 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
7095 long (*compat_ioctl32)(struct file * , unsigned int , unsigned long ) ;
7096 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
7097 unsigned long , unsigned long ) ;
7098 int (*mmap)(struct file * , struct vm_area_struct * ) ;
7099 int (*open)(struct file * ) ;
7100 int (*release)(struct file * ) ;
7101};
7102#line 81
7103struct v4l2_ioctl_ops;
7104#line 81 "include/media/v4l2-dev.h"
7105struct video_device {
7106 struct media_entity entity ;
7107 struct v4l2_file_operations const *fops ;
7108 struct device dev ;
7109 struct cdev *cdev ;
7110 struct device *parent ;
7111 struct v4l2_device *v4l2_dev ;
7112 struct v4l2_ctrl_handler *ctrl_handler ;
7113 struct v4l2_prio_state *prio ;
7114 char name[32] ;
7115 int vfl_type ;
7116 int minor ;
7117 u16 num ;
7118 unsigned long flags ;
7119 int index ;
7120 spinlock_t fh_lock ;
7121 struct list_head fh_list ;
7122 int debug ;
7123 v4l2_std_id tvnorms ;
7124 v4l2_std_id current_norm ;
7125 void (*release)(struct video_device *vdev ) ;
7126 struct v4l2_ioctl_ops const *ioctl_ops ;
7127 struct mutex *lock ;
7128};
7129#line 116 "include/media/v4l2-common.h"
7130struct i2c_adapter;
7131#line 119
7132struct v4l2_device;
7133#line 120
7134struct v4l2_subdev;
7135#line 120
7136struct v4l2_subdev;
7137#line 121
7138struct v4l2_subdev_ops;
7139#line 121
7140struct v4l2_subdev_ops;
7141#line 182 "include/media/v4l2-common.h"
7142struct v4l2_priv_tun_config {
7143 int tuner ;
7144 void *priv ;
7145};
7146#line 31 "include/media/v4l2-fh.h"
7147struct video_device;
7148#line 32
7149struct v4l2_ctrl_handler;
7150#line 34 "include/media/v4l2-fh.h"
7151struct v4l2_fh {
7152 struct list_head list ;
7153 struct video_device *vdev ;
7154 struct v4l2_ctrl_handler *ctrl_handler ;
7155 enum v4l2_priority prio ;
7156 wait_queue_head_t wait ;
7157 struct list_head subscribed ;
7158 struct list_head available ;
7159 unsigned int navailable ;
7160 u32 sequence ;
7161};
7162#line 71 "include/media/v4l2-mediabus.h"
7163enum v4l2_mbus_type {
7164 V4L2_MBUS_PARALLEL = 0,
7165 V4L2_MBUS_BT656 = 1,
7166 V4L2_MBUS_CSI2 = 2
7167} ;
7168#line 82 "include/media/v4l2-mediabus.h"
7169struct v4l2_mbus_config {
7170 enum v4l2_mbus_type type ;
7171 unsigned int flags ;
7172};
7173#line 41 "include/media/v4l2-subdev.h"
7174struct v4l2_device;
7175#line 42
7176struct v4l2_ctrl_handler;
7177#line 43
7178struct v4l2_event_subscription;
7179#line 44
7180struct v4l2_fh;
7181#line 45
7182struct v4l2_subdev;
7183#line 46
7184struct v4l2_subdev_fh;
7185#line 46
7186struct v4l2_subdev_fh;
7187#line 47
7188struct tuner_setup;
7189#line 47
7190struct tuner_setup;
7191#line 50 "include/media/v4l2-subdev.h"
7192struct v4l2_decode_vbi_line {
7193 u32 is_second_field ;
7194 u8 *p ;
7195 u32 line ;
7196 u32 type ;
7197};
7198#line 108 "include/media/v4l2-subdev.h"
7199struct v4l2_subdev_io_pin_config {
7200 u32 flags ;
7201 u8 pin ;
7202 u8 function ;
7203 u8 value ;
7204 u8 strength ;
7205};
7206#line 145 "include/media/v4l2-subdev.h"
7207struct v4l2_subdev_core_ops {
7208 int (*g_chip_ident)(struct v4l2_subdev *sd , struct v4l2_dbg_chip_ident *chip ) ;
7209 int (*log_status)(struct v4l2_subdev *sd ) ;
7210 int (*s_io_pin_config)(struct v4l2_subdev *sd , size_t n , struct v4l2_subdev_io_pin_config *pincfg ) ;
7211 int (*init)(struct v4l2_subdev *sd , u32 val ) ;
7212 int (*load_fw)(struct v4l2_subdev *sd ) ;
7213 int (*reset)(struct v4l2_subdev *sd , u32 val ) ;
7214 int (*s_gpio)(struct v4l2_subdev *sd , u32 val ) ;
7215 int (*queryctrl)(struct v4l2_subdev *sd , struct v4l2_queryctrl *qc ) ;
7216 int (*g_ctrl)(struct v4l2_subdev *sd , struct v4l2_control *ctrl ) ;
7217 int (*s_ctrl)(struct v4l2_subdev *sd , struct v4l2_control *ctrl ) ;
7218 int (*g_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
7219 int (*s_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
7220 int (*try_ext_ctrls)(struct v4l2_subdev *sd , struct v4l2_ext_controls *ctrls ) ;
7221 int (*querymenu)(struct v4l2_subdev *sd , struct v4l2_querymenu *qm ) ;
7222 int (*g_std)(struct v4l2_subdev *sd , v4l2_std_id *norm ) ;
7223 int (*s_std)(struct v4l2_subdev *sd , v4l2_std_id norm ) ;
7224 long (*ioctl)(struct v4l2_subdev *sd , unsigned int cmd , void *arg ) ;
7225 int (*g_register)(struct v4l2_subdev *sd , struct v4l2_dbg_register *reg ) ;
7226 int (*s_register)(struct v4l2_subdev *sd , struct v4l2_dbg_register *reg ) ;
7227 int (*s_power)(struct v4l2_subdev *sd , int on ) ;
7228 int (*interrupt_service_routine)(struct v4l2_subdev *sd , u32 status , bool *handled ) ;
7229 int (*subscribe_event)(struct v4l2_subdev *sd , struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
7230 int (*unsubscribe_event)(struct v4l2_subdev *sd , struct v4l2_fh *fh , struct v4l2_event_subscription *sub ) ;
7231};
7232#line 190 "include/media/v4l2-subdev.h"
7233struct v4l2_subdev_tuner_ops {
7234 int (*s_radio)(struct v4l2_subdev *sd ) ;
7235 int (*s_frequency)(struct v4l2_subdev *sd , struct v4l2_frequency *freq ) ;
7236 int (*g_frequency)(struct v4l2_subdev *sd , struct v4l2_frequency *freq ) ;
7237 int (*g_tuner)(struct v4l2_subdev *sd , struct v4l2_tuner *vt ) ;
7238 int (*s_tuner)(struct v4l2_subdev *sd , struct v4l2_tuner *vt ) ;
7239 int (*g_modulator)(struct v4l2_subdev *sd , struct v4l2_modulator *vm ) ;
7240 int (*s_modulator)(struct v4l2_subdev *sd , struct v4l2_modulator *vm ) ;
7241 int (*s_type_addr)(struct v4l2_subdev *sd , struct tuner_setup *type ) ;
7242 int (*s_config)(struct v4l2_subdev *sd , struct v4l2_priv_tun_config const *config ) ;
7243};
7244#line 222 "include/media/v4l2-subdev.h"
7245struct v4l2_subdev_audio_ops {
7246 int (*s_clock_freq)(struct v4l2_subdev *sd , u32 freq ) ;
7247 int (*s_i2s_clock_freq)(struct v4l2_subdev *sd , u32 freq ) ;
7248 int (*s_routing)(struct v4l2_subdev *sd , u32 input , u32 output , u32 config ) ;
7249 int (*s_stream)(struct v4l2_subdev *sd , int enable ) ;
7250};
7251#line 278 "include/media/v4l2-subdev.h"
7252struct v4l2_subdev_video_ops {
7253 int (*s_routing)(struct v4l2_subdev *sd , u32 input , u32 output , u32 config ) ;
7254 int (*s_crystal_freq)(struct v4l2_subdev *sd , u32 freq , u32 flags ) ;
7255 int (*s_std_output)(struct v4l2_subdev *sd , v4l2_std_id std ) ;
7256 int (*g_std_output)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
7257 int (*querystd)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
7258 int (*g_tvnorms_output)(struct v4l2_subdev *sd , v4l2_std_id *std ) ;
7259 int (*g_input_status)(struct v4l2_subdev *sd , u32 *status ) ;
7260 int (*s_stream)(struct v4l2_subdev *sd , int enable ) ;
7261 int (*cropcap)(struct v4l2_subdev *sd , struct v4l2_cropcap *cc ) ;
7262 int (*g_crop)(struct v4l2_subdev *sd , struct v4l2_crop *crop ) ;
7263 int (*s_crop)(struct v4l2_subdev *sd , struct v4l2_crop *crop ) ;
7264 int (*g_parm)(struct v4l2_subdev *sd , struct v4l2_streamparm *param ) ;
7265 int (*s_parm)(struct v4l2_subdev *sd , struct v4l2_streamparm *param ) ;
7266 int (*g_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_frame_interval *interval ) ;
7267 int (*s_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_frame_interval *interval ) ;
7268 int (*enum_framesizes)(struct v4l2_subdev *sd , struct v4l2_frmsizeenum *fsize ) ;
7269 int (*enum_frameintervals)(struct v4l2_subdev *sd , struct v4l2_frmivalenum *fival ) ;
7270 int (*enum_dv_presets)(struct v4l2_subdev *sd , struct v4l2_dv_enum_preset *preset ) ;
7271 int (*s_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
7272 int (*g_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
7273 int (*query_dv_preset)(struct v4l2_subdev *sd , struct v4l2_dv_preset *preset ) ;
7274 int (*s_dv_timings)(struct v4l2_subdev *sd , struct v4l2_dv_timings *timings ) ;
7275 int (*g_dv_timings)(struct v4l2_subdev *sd , struct v4l2_dv_timings *timings ) ;
7276 int (*enum_mbus_fmt)(struct v4l2_subdev *sd , unsigned int index , enum v4l2_mbus_pixelcode *code ) ;
7277 int (*enum_mbus_fsizes)(struct v4l2_subdev *sd , struct v4l2_frmsizeenum *fsize ) ;
7278 int (*g_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
7279 int (*try_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
7280 int (*s_mbus_fmt)(struct v4l2_subdev *sd , struct v4l2_mbus_framefmt *fmt ) ;
7281 int (*g_mbus_config)(struct v4l2_subdev *sd , struct v4l2_mbus_config *cfg ) ;
7282 int (*s_mbus_config)(struct v4l2_subdev *sd , struct v4l2_mbus_config const *cfg ) ;
7283};
7284#line 355 "include/media/v4l2-subdev.h"
7285struct v4l2_subdev_vbi_ops {
7286 int (*decode_vbi_line)(struct v4l2_subdev *sd , struct v4l2_decode_vbi_line *vbi_line ) ;
7287 int (*s_vbi_data)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_data const *vbi_data ) ;
7288 int (*g_vbi_data)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_data *vbi_data ) ;
7289 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_cap *cap ) ;
7290 int (*s_raw_fmt)(struct v4l2_subdev *sd , struct v4l2_vbi_format *fmt ) ;
7291 int (*g_sliced_fmt)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_format *fmt ) ;
7292 int (*s_sliced_fmt)(struct v4l2_subdev *sd , struct v4l2_sliced_vbi_format *fmt ) ;
7293};
7294#line 375 "include/media/v4l2-subdev.h"
7295struct v4l2_subdev_sensor_ops {
7296 int (*g_skip_top_lines)(struct v4l2_subdev *sd , u32 *lines ) ;
7297 int (*g_skip_frames)(struct v4l2_subdev *sd , u32 *frames ) ;
7298};
7299#line 403
7300enum v4l2_subdev_ir_mode {
7301 V4L2_SUBDEV_IR_MODE_PULSE_WIDTH = 0
7302} ;
7303#line 407 "include/media/v4l2-subdev.h"
7304struct v4l2_subdev_ir_parameters {
7305 unsigned int bytes_per_data_element ;
7306 enum v4l2_subdev_ir_mode mode ;
7307 bool enable ;
7308 bool interrupt_enable ;
7309 bool shutdown ;
7310 bool modulation ;
7311 u32 max_pulse_width ;
7312 unsigned int carrier_freq ;
7313 unsigned int duty_cycle ;
7314 bool invert_level ;
7315 bool invert_carrier_sense ;
7316 u32 noise_filter_min_width ;
7317 unsigned int carrier_range_lower ;
7318 unsigned int carrier_range_upper ;
7319 u32 resolution ;
7320};
7321#line 432 "include/media/v4l2-subdev.h"
7322struct v4l2_subdev_ir_ops {
7323 int (*rx_read)(struct v4l2_subdev *sd , u8 *buf , size_t count , ssize_t *num ) ;
7324 int (*rx_g_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
7325 int (*rx_s_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
7326 int (*tx_write)(struct v4l2_subdev *sd , u8 *buf , size_t count , ssize_t *num ) ;
7327 int (*tx_g_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
7328 int (*tx_s_parameters)(struct v4l2_subdev *sd , struct v4l2_subdev_ir_parameters *params ) ;
7329};
7330#line 452 "include/media/v4l2-subdev.h"
7331struct v4l2_subdev_pad_ops {
7332 int (*enum_mbus_code)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_mbus_code_enum *code ) ;
7333 int (*enum_frame_size)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_frame_size_enum *fse ) ;
7334 int (*enum_frame_interval)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ,
7335 struct v4l2_subdev_frame_interval_enum *fie ) ;
7336 int (*get_fmt)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_format *format ) ;
7337 int (*set_fmt)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_format *format ) ;
7338 int (*set_crop)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_crop *crop ) ;
7339 int (*get_crop)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh , struct v4l2_subdev_crop *crop ) ;
7340};
7341#line 471 "include/media/v4l2-subdev.h"
7342struct v4l2_subdev_ops {
7343 struct v4l2_subdev_core_ops const *core ;
7344 struct v4l2_subdev_tuner_ops const *tuner ;
7345 struct v4l2_subdev_audio_ops const *audio ;
7346 struct v4l2_subdev_video_ops const *video ;
7347 struct v4l2_subdev_vbi_ops const *vbi ;
7348 struct v4l2_subdev_ir_ops const *ir ;
7349 struct v4l2_subdev_sensor_ops const *sensor ;
7350 struct v4l2_subdev_pad_ops const *pad ;
7351};
7352#line 496 "include/media/v4l2-subdev.h"
7353struct v4l2_subdev_internal_ops {
7354 int (*registered)(struct v4l2_subdev *sd ) ;
7355 void (*unregistered)(struct v4l2_subdev *sd ) ;
7356 int (*open)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ) ;
7357 int (*close)(struct v4l2_subdev *sd , struct v4l2_subdev_fh *fh ) ;
7358};
7359#line 517 "include/media/v4l2-subdev.h"
7360struct v4l2_subdev {
7361 struct media_entity entity ;
7362 struct list_head list ;
7363 struct module *owner ;
7364 u32 flags ;
7365 struct v4l2_device *v4l2_dev ;
7366 struct v4l2_subdev_ops const *ops ;
7367 struct v4l2_subdev_internal_ops const *internal_ops ;
7368 struct v4l2_ctrl_handler *ctrl_handler ;
7369 char name[32] ;
7370 u32 grp_id ;
7371 void *dev_priv ;
7372 void *host_priv ;
7373 struct video_device *devnode ;
7374};
7375#line 549 "include/media/v4l2-subdev.h"
7376struct v4l2_subdev_fh {
7377 struct v4l2_fh vfh ;
7378 struct v4l2_mbus_framefmt *try_fmt ;
7379 struct v4l2_rect *try_crop ;
7380};
7381#line 37 "include/media/v4l2-device.h"
7382struct v4l2_ctrl_handler;
7383#line 39 "include/media/v4l2-device.h"
7384struct v4l2_device {
7385 struct device *dev ;
7386 struct media_device *mdev ;
7387 struct list_head subdevs ;
7388 spinlock_t lock ;
7389 char name[36] ;
7390 void (*notify)(struct v4l2_subdev *sd , unsigned int notification , void *arg ) ;
7391 struct v4l2_ctrl_handler *ctrl_handler ;
7392 struct v4l2_prio_state prio ;
7393 struct mutex ioctl_lock ;
7394 struct kref ref ;
7395 void (*release)(struct v4l2_device *v4l2_dev ) ;
7396};
7397#line 57 "include/media/saa7146.h"
7398struct module;
7399#line 59
7400struct saa7146_dev;
7401#line 59
7402struct saa7146_dev;
7403#line 60
7404struct saa7146_extension;
7405#line 60
7406struct saa7146_extension;
7407#line 61
7408struct saa7146_vv;
7409#line 61
7410struct saa7146_vv;
7411#line 64 "include/media/saa7146.h"
7412struct saa7146_pgtable {
7413 unsigned int size ;
7414 __le32 *cpu ;
7415 dma_addr_t dma ;
7416 unsigned long offset ;
7417 struct scatterlist *slist ;
7418 int nents ;
7419};
7420#line 75 "include/media/saa7146.h"
7421struct saa7146_pci_extension_data {
7422 struct saa7146_extension *ext ;
7423 void *ext_priv ;
7424};
7425#line 89 "include/media/saa7146.h"
7426struct saa7146_extension {
7427 char name[32] ;
7428 int flags ;
7429 struct module *module ;
7430 struct pci_driver driver ;
7431 struct pci_device_id *pci_tbl ;
7432 int (*probe)(struct saa7146_dev * ) ;
7433 int (*attach)(struct saa7146_dev * , struct saa7146_pci_extension_data * ) ;
7434 int (*detach)(struct saa7146_dev * ) ;
7435 u32 irq_mask ;
7436 void (*irq_func)(struct saa7146_dev * , u32 *irq_mask ) ;
7437};
7438#line 111 "include/media/saa7146.h"
7439struct saa7146_dma {
7440 dma_addr_t dma_handle ;
7441 __le32 *cpu_addr ;
7442};
7443#line 117
7444struct saa7146_ext_vv;
7445#line 117 "include/media/saa7146.h"
7446struct saa7146_dev {
7447 struct module *module ;
7448 struct list_head item ;
7449 struct v4l2_device v4l2_dev ;
7450 spinlock_t slock ;
7451 struct mutex v4l2_lock ;
7452 unsigned char *mem ;
7453 u32 revision ;
7454 char name[32] ;
7455 struct pci_dev *pci ;
7456 u32 int_todo ;
7457 spinlock_t int_slock ;
7458 struct saa7146_extension *ext ;
7459 void *ext_priv ;
7460 struct saa7146_ext_vv *ext_vv_data ;
7461 struct saa7146_vv *vv_data ;
7462 void (*vv_callback)(struct saa7146_dev *dev , unsigned long status ) ;
7463 struct mutex i2c_lock ;
7464 u32 i2c_bitrate ;
7465 struct saa7146_dma d_i2c ;
7466 wait_queue_head_t i2c_wq ;
7467 int i2c_op ;
7468 struct saa7146_dma d_rps0 ;
7469 struct saa7146_dma d_rps1 ;
7470};
7471#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/ttpci/budget.h"
7472struct budget_info {
7473 char *name ;
7474 int type ;
7475};
7476#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/ttpci/budget.h"
7477struct budget {
7478 struct dvb_device dvb_dev ;
7479 struct dvb_net dvb_net ;
7480 struct saa7146_dev *dev ;
7481 struct i2c_adapter i2c_adap ;
7482 struct budget_info *card ;
7483 unsigned char *grabbing ;
7484 struct saa7146_pgtable pt ;
7485 struct tasklet_struct fidb_tasklet ;
7486 struct tasklet_struct vpe_tasklet ;
7487 struct dmxdev dmxdev ;
7488 struct dvb_demux demux ;
7489 struct dmx_frontend hw_frontend ;
7490 struct dmx_frontend mem_frontend ;
7491 int ci_present ;
7492 int video_port ;
7493 u32 buffer_width ;
7494 u32 buffer_height ;
7495 u32 buffer_size ;
7496 u32 buffer_warning_threshold ;
7497 u32 buffer_warnings ;
7498 unsigned long buffer_warning_time ;
7499 u32 ttbp ;
7500 int feeding ;
7501 spinlock_t feedlock ;
7502 spinlock_t debilock ;
7503 struct dvb_adapter dvb_adapter ;
7504 struct dvb_frontend *dvb_frontend ;
7505 int (*read_fe_status)(struct dvb_frontend *fe , fe_status_t *status ) ;
7506 int fe_synced ;
7507 void *priv ;
7508};
7509#line 59 "drivers/media/dvb/frontends/stv0299.h"
7510struct stv0299_config {
7511 u8 demod_address ;
7512 u8 const *inittab ;
7513 u32 mclk ;
7514 u8 invert : 1 ;
7515 u8 skip_reinit : 1 ;
7516 u8 lock_output : 2 ;
7517 u8 volt13_op0_op1 : 1 ;
7518 u8 op0_off : 1 ;
7519 int min_delay_ms ;
7520 int (*set_symbol_rate)(struct dvb_frontend *fe , u32 srate , u32 ratio ) ;
7521 int (*set_ts_params)(struct dvb_frontend *fe , int is_punctured ) ;
7522};
7523#line 31 "drivers/media/dvb/frontends/ves1x93.h"
7524struct ves1x93_config {
7525 u8 demod_address ;
7526 u32 xin ;
7527 u8 invert_pwm : 1 ;
7528};
7529#line 29 "drivers/media/dvb/frontends/ves1820.h"
7530struct ves1820_config {
7531 u8 demod_address ;
7532 u32 xin ;
7533 u8 invert : 1 ;
7534 u8 selagc : 1 ;
7535};
7536#line 28 "drivers/media/dvb/frontends/l64781.h"
7537struct l64781_config {
7538 u8 demod_address ;
7539};
7540#line 32 "drivers/media/dvb/frontends/tda8083.h"
7541struct tda8083_config {
7542 u8 demod_address ;
7543};
7544#line 29 "drivers/media/dvb/frontends/s5h1420.h"
7545struct s5h1420_config {
7546 u8 demod_address ;
7547 u8 invert : 1 ;
7548 u8 repeated_start_workaround : 1 ;
7549 u8 cdclk_polarity : 1 ;
7550 u8 serial_mpeg : 1 ;
7551};
7552#line 11 "include/linux/firmware.h"
7553struct firmware {
7554 size_t size ;
7555 u8 const *data ;
7556 struct page **pages ;
7557};
7558#line 17
7559struct module;
7560#line 18
7561struct device;
7562#line 29 "drivers/media/dvb/frontends/tda10086.h"
7563enum tda10086_xtal {
7564 TDA10086_XTAL_16M = 0,
7565 TDA10086_XTAL_4M = 1
7566} ;
7567#line 34 "drivers/media/dvb/frontends/tda10086.h"
7568struct tda10086_config {
7569 u8 demod_address ;
7570 u8 invert ;
7571 u8 diseqc_tone ;
7572 enum tda10086_xtal xtal_freq ;
7573};
7574#line 29 "drivers/media/dvb/frontends/tda1004x.h"
7575enum tda10046_xtal {
7576 TDA10046_XTAL_4M = 0,
7577 TDA10046_XTAL_16M = 1
7578} ;
7579#line 34
7580enum tda10046_agc {
7581 TDA10046_AGC_DEFAULT = 0,
7582 TDA10046_AGC_IFO_AUTO_NEG = 1,
7583 TDA10046_AGC_IFO_AUTO_POS = 2,
7584 TDA10046_AGC_TDA827X = 3
7585} ;
7586#line 45
7587enum tda10046_gpio {
7588 TDA10046_GPTRI = 0,
7589 TDA10046_GP00 = 64,
7590 TDA10046_GP01 = 66,
7591 TDA10046_GP10 = 72,
7592 TDA10046_GP11 = 74,
7593 TDA10046_GP00_I = 128,
7594 TDA10046_GP01_I = 130,
7595 TDA10046_GP10_I = 136,
7596 TDA10046_GP11_I = 138
7597} ;
7598#line 57
7599enum tda10046_if {
7600 TDA10046_FREQ_3617 = 0,
7601 TDA10046_FREQ_3613 = 1,
7602 TDA10046_FREQ_045 = 2,
7603 TDA10046_FREQ_052 = 3
7604} ;
7605#line 64
7606enum tda10046_tsout {
7607 TDA10046_TS_PARALLEL = 0,
7608 TDA10046_TS_SERIAL = 1
7609} ;
7610#line 69 "drivers/media/dvb/frontends/tda1004x.h"
7611struct tda1004x_config {
7612 u8 demod_address ;
7613 u8 invert ;
7614 u8 invert_oclk ;
7615 enum tda10046_tsout ts_mode ;
7616 enum tda10046_xtal xtal_freq ;
7617 enum tda10046_if if_freq ;
7618 enum tda10046_agc agc_config ;
7619 enum tda10046_gpio gpio_config ;
7620 u8 tuner_address ;
7621 u8 antenna_switch ;
7622 u8 i2c_gate ;
7623 int (*request_firmware)(struct dvb_frontend *fe , struct firmware const **fw ,
7624 char *name ) ;
7625};
7626#line 26 "drivers/media/dvb/frontends/stv6110x.h"
7627struct stv6110x_config {
7628 u8 addr ;
7629 u32 refclk ;
7630 u8 clk_div ;
7631};
7632#line 32
7633enum tuner_mode {
7634 TUNER_SLEEP = 1,
7635 TUNER_WAKE = 2
7636} ;
7637#line 41 "drivers/media/dvb/frontends/stv6110x.h"
7638struct stv6110x_devctl {
7639 int (*tuner_init)(struct dvb_frontend *fe ) ;
7640 int (*tuner_sleep)(struct dvb_frontend *fe ) ;
7641 int (*tuner_set_mode)(struct dvb_frontend *fe , enum tuner_mode mode ) ;
7642 int (*tuner_set_frequency)(struct dvb_frontend *fe , u32 frequency ) ;
7643 int (*tuner_get_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
7644 int (*tuner_set_bandwidth)(struct dvb_frontend *fe , u32 bandwidth ) ;
7645 int (*tuner_get_bandwidth)(struct dvb_frontend *fe , u32 *bandwidth ) ;
7646 int (*tuner_set_bbgain)(struct dvb_frontend *fe , u32 gain ) ;
7647 int (*tuner_get_bbgain)(struct dvb_frontend *fe , u32 *gain ) ;
7648 int (*tuner_set_refclk)(struct dvb_frontend *fe , u32 refclk ) ;
7649 int (*tuner_get_status)(struct dvb_frontend *fe , u32 *status ) ;
7650};
7651#line 25 "drivers/media/dvb/frontends/stv090x.h"
7652enum stv090x_demodulator {
7653 STV090x_DEMODULATOR_0 = 1,
7654 STV090x_DEMODULATOR_1 = 2
7655} ;
7656#line 30
7657enum stv090x_device {
7658 STV0903 = 0,
7659 STV0900 = 1
7660} ;
7661#line 35
7662enum stv090x_mode {
7663 STV090x_DUAL = 0,
7664 STV090x_SINGLE = 1
7665} ;
7666#line 47
7667enum stv090x_clkmode {
7668 STV090x_CLK_INT = 0,
7669 STV090x_CLK_EXT = 2
7670} ;
7671#line 52
7672enum stv090x_i2crpt {
7673 STV090x_RPTLEVEL_256 = 0,
7674 STV090x_RPTLEVEL_128 = 1,
7675 STV090x_RPTLEVEL_64 = 2,
7676 STV090x_RPTLEVEL_32 = 3,
7677 STV090x_RPTLEVEL_16 = 4,
7678 STV090x_RPTLEVEL_8 = 5,
7679 STV090x_RPTLEVEL_4 = 6,
7680 STV090x_RPTLEVEL_2 = 7
7681} ;
7682#line 63
7683enum stv090x_adc_range {
7684 STV090x_ADC_2Vpp = 0,
7685 STV090x_ADC_1Vpp = 1
7686} ;
7687#line 68 "drivers/media/dvb/frontends/stv090x.h"
7688struct stv090x_config {
7689 enum stv090x_device device ;
7690 enum stv090x_mode demod_mode ;
7691 enum stv090x_clkmode clk_mode ;
7692 u32 xtal ;
7693 u8 address ;
7694 u8 ts1_mode ;
7695 u8 ts2_mode ;
7696 u32 ts1_clk ;
7697 u32 ts2_clk ;
7698 u8 ts1_tei : 1 ;
7699 u8 ts2_tei : 1 ;
7700 enum stv090x_i2crpt repeater_level ;
7701 u8 tuner_bbgain ;
7702 enum stv090x_adc_range adc1_range ;
7703 enum stv090x_adc_range adc2_range ;
7704 bool diseqc_envelope_mode ;
7705 int (*tuner_init)(struct dvb_frontend *fe ) ;
7706 int (*tuner_sleep)(struct dvb_frontend *fe ) ;
7707 int (*tuner_set_mode)(struct dvb_frontend *fe , enum tuner_mode mode ) ;
7708 int (*tuner_set_frequency)(struct dvb_frontend *fe , u32 frequency ) ;
7709 int (*tuner_get_frequency)(struct dvb_frontend *fe , u32 *frequency ) ;
7710 int (*tuner_set_bandwidth)(struct dvb_frontend *fe , u32 bandwidth ) ;
7711 int (*tuner_get_bandwidth)(struct dvb_frontend *fe , u32 *bandwidth ) ;
7712 int (*tuner_set_bbgain)(struct dvb_frontend *fe , u32 gain ) ;
7713 int (*tuner_get_bbgain)(struct dvb_frontend *fe , u32 *gain ) ;
7714 int (*tuner_set_refclk)(struct dvb_frontend *fe , u32 refclk ) ;
7715 int (*tuner_get_status)(struct dvb_frontend *fe , u32 *status ) ;
7716 void (*tuner_i2c_lock)(struct dvb_frontend *fe , int lock ) ;
7717};
7718#line 26 "drivers/media/dvb/frontends/isl6423.h"
7719enum isl6423_current {
7720 SEC_CURRENT_275m = 0,
7721 SEC_CURRENT_515m = 1,
7722 SEC_CURRENT_635m = 2,
7723 SEC_CURRENT_800m = 3
7724} ;
7725#line 33
7726enum isl6423_curlim {
7727 SEC_CURRENT_LIM_ON = 1,
7728 SEC_CURRENT_LIM_OFF = 2
7729} ;
7730#line 38 "drivers/media/dvb/frontends/isl6423.h"
7731struct isl6423_config {
7732 enum isl6423_current current_max ;
7733 enum isl6423_curlim curlim ;
7734 u8 addr ;
7735 u8 mod_extern ;
7736};
7737#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
7738struct __anonstruct_396 {
7739 int : 0 ;
7740};
7741#line 1 "<compiler builtins>"
7742long __builtin_expect(long val , long res ) ;
7743#line 100 "include/linux/printk.h"
7744extern int ( printk)(char const *fmt , ...) ;
7745#line 152 "include/linux/mutex.h"
7746void mutex_lock(struct mutex *lock ) ;
7747#line 153
7748int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock ) ;
7749#line 154
7750int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock ) ;
7751#line 168
7752int mutex_trylock(struct mutex *lock ) ;
7753#line 169
7754void mutex_unlock(struct mutex *lock ) ;
7755#line 170
7756int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock ) ;
7757#line 69 "include/linux/i2c.h"
7758extern int i2c_transfer(struct i2c_adapter *adap , struct i2c_msg *msgs , int num ) ;
7759#line 35 "include/linux/kmod.h"
7760extern int ( __request_module)(bool wait , char const *name
7761 , ...) ;
7762#line 346 "include/linux/moduleparam.h"
7763extern struct kernel_param_ops param_ops_short ;
7764#line 356
7765extern struct kernel_param_ops param_ops_int ;
7766#line 437
7767extern struct kernel_param_ops param_array_ops ;
7768#line 26 "include/linux/export.h"
7769extern struct module __this_module ;
7770#line 67 "include/linux/module.h"
7771int init_module(void) ;
7772#line 68
7773void cleanup_module(void) ;
7774#line 188
7775extern void *__symbol_get(char const *symbol ) ;
7776#line 447
7777extern void __symbol_put(char const *symbol ) ;
7778#line 8 "include/asm-generic/delay.h"
7779extern void __udelay(unsigned long usecs ) ;
7780#line 10
7781extern void __const_udelay(unsigned long xloops ) ;
7782#line 46 "include/linux/delay.h"
7783extern void msleep(unsigned int msecs ) ;
7784#line 161 "include/linux/slab.h"
7785extern void kfree(void const * ) ;
7786#line 221 "include/linux/slub_def.h"
7787extern void *__kmalloc(size_t size , gfp_t flags ) ;
7788#line 268
7789__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
7790 gfp_t flags ) __attribute__((__no_instrument_function__)) ;
7791#line 268 "include/linux/slub_def.h"
7792__inline static void *( __attribute__((__always_inline__)) kmalloc)(size_t size ,
7793 gfp_t flags )
7794{ void *tmp___10 ;
7795
7796 {
7797 {
7798#line 283
7799 tmp___10 = __kmalloc(size, flags);
7800 }
7801#line 283
7802 return (tmp___10);
7803}
7804}
7805#line 392 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7806extern int dvb_register_frontend(struct dvb_adapter *dvb , struct dvb_frontend *fe ) ;
7807#line 395
7808extern int dvb_unregister_frontend(struct dvb_frontend *fe ) ;
7809#line 397
7810extern void dvb_frontend_detach(struct dvb_frontend *fe ) ;
7811#line 171 "include/media/saa7146.h"
7812extern int saa7146_register_extension(struct saa7146_extension * ) ;
7813#line 172
7814extern int saa7146_unregister_extension(struct saa7146_extension * ) ;
7815#line 179
7816extern void saa7146_setgpio(struct saa7146_dev *dev , int port , u32 data ) ;
7817#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/dvb/ttpci/budget.h"
7818extern int budget_debug ;
7819#line 112
7820extern int ttpci_budget_init(struct budget *budget , struct saa7146_dev *dev , struct saa7146_pci_extension_data *info ,
7821 struct module *owner , short *adapter_nums ) ;
7822#line 115
7823extern void ttpci_budget_init_hooks(struct budget *budget ) ;
7824#line 116
7825extern int ttpci_budget_deinit(struct budget *budget ) ;
7826#line 117
7827extern void ttpci_budget_irq10_handler(struct saa7146_dev *dev , u32 *isr ) ;
7828#line 110 "drivers/media/dvb/frontends/stv0299.h"
7829__inline static int stv0299_writereg(struct dvb_frontend *fe , u8 reg , u8 val ) __attribute__((__no_instrument_function__)) ;
7830#line 110 "drivers/media/dvb/frontends/stv0299.h"
7831__inline static int stv0299_writereg(struct dvb_frontend *fe , u8 reg , u8 val )
7832{ int r ;
7833 u8 buf[2] ;
7834 unsigned long __cil_tmp6 ;
7835 unsigned long __cil_tmp7 ;
7836 unsigned long __cil_tmp8 ;
7837 unsigned long __cil_tmp9 ;
7838 unsigned long __cil_tmp10 ;
7839 unsigned long __cil_tmp11 ;
7840 unsigned long __cil_tmp12 ;
7841 unsigned long __cil_tmp13 ;
7842 unsigned long __cil_tmp14 ;
7843 unsigned long __cil_tmp15 ;
7844 int (*__cil_tmp16)(struct dvb_frontend *fe , u8 const *buf , int len ) ;
7845 unsigned long __cil_tmp17 ;
7846 unsigned long __cil_tmp18 ;
7847 u8 *__cil_tmp19 ;
7848 u8 const *__cil_tmp20 ;
7849
7850 {
7851#line 111
7852 r = 0;
7853#line 112
7854 __cil_tmp6 = 0 * 1UL;
7855#line 112
7856 __cil_tmp7 = (unsigned long )(buf) + __cil_tmp6;
7857#line 112
7858 *((u8 *)__cil_tmp7) = reg;
7859#line 112
7860 __cil_tmp8 = 1 * 1UL;
7861#line 112
7862 __cil_tmp9 = (unsigned long )(buf) + __cil_tmp8;
7863#line 112
7864 *((u8 *)__cil_tmp9) = val;
7865 {
7866#line 113
7867 __cil_tmp10 = 0 + 208;
7868#line 113
7869 __cil_tmp11 = (unsigned long )fe;
7870#line 113
7871 __cil_tmp12 = __cil_tmp11 + __cil_tmp10;
7872#line 113
7873 if (*((int (**)(struct dvb_frontend *fe , u8 const *buf , int len ))__cil_tmp12)) {
7874 {
7875#line 114
7876 __cil_tmp13 = 0 + 208;
7877#line 114
7878 __cil_tmp14 = (unsigned long )fe;
7879#line 114
7880 __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
7881#line 114
7882 __cil_tmp16 = *((int (**)(struct dvb_frontend *fe , u8 const *buf , int len ))__cil_tmp15);
7883#line 114
7884 __cil_tmp17 = 0 * 1UL;
7885#line 114
7886 __cil_tmp18 = (unsigned long )(buf) + __cil_tmp17;
7887#line 114
7888 __cil_tmp19 = (u8 *)__cil_tmp18;
7889#line 114
7890 __cil_tmp20 = (u8 const *)__cil_tmp19;
7891#line 114
7892 r = (*__cil_tmp16)(fe, __cil_tmp20, 2);
7893 }
7894 } else {
7895
7896 }
7897 }
7898#line 115
7899 return (r);
7900}
7901}
7902#line 39 "include/linux/firmware.h"
7903extern int request_firmware(struct firmware const **fw , char const *name , struct device *device ) ;
7904#line 28 "drivers/media/dvb/frontends/bsru6.h"
7905static u8 alps_bsru6_inittab[78] =
7906#line 28 "drivers/media/dvb/frontends/bsru6.h"
7907 { (u8 )1, (u8 )21, (u8 )2, (u8 )48,
7908 (u8 )3, (u8 )0, (u8 )4, (u8 )125,
7909 (u8 )5, (u8 )53, (u8 )6, (u8 )64,
7910 (u8 )7, (u8 )0, (u8 )8, (u8 )64,
7911 (u8 )9, (u8 )0, (u8 )12, (u8 )81,
7912 (u8 )13, (u8 )130, (u8 )14, (u8 )35,
7913 (u8 )16, (u8 )63, (u8 )17, (u8 )132,
7914 (u8 )18, (u8 )185, (u8 )21, (u8 )201,
7915 (u8 )22, (u8 )0, (u8 )23, (u8 )0,
7916 (u8 )24, (u8 )0, (u8 )25, (u8 )0,
7917 (u8 )26, (u8 )0, (u8 )31, (u8 )80,
7918 (u8 )32, (u8 )0, (u8 )33, (u8 )0,
7919 (u8 )34, (u8 )0, (u8 )35, (u8 )0,
7920 (u8 )40, (u8 )0, (u8 )41, (u8 )30,
7921 (u8 )42, (u8 )20, (u8 )43, (u8 )15,
7922 (u8 )44, (u8 )9, (u8 )45, (u8 )5,
7923 (u8 )46, (u8 )1, (u8 )49, (u8 )31,
7924 (u8 )50, (u8 )25, (u8 )51, (u8 )252,
7925 (u8 )52, (u8 )147, (u8 )15, (u8 )82,
7926 (u8 )255, (u8 )255};
7927#line 70 "drivers/media/dvb/frontends/bsru6.h"
7928static int alps_bsru6_set_symbol_rate(struct dvb_frontend *fe , u32 srate , u32 ratio )
7929{ u8 aclk ;
7930 u8 bclk ;
7931 u8 __cil_tmp6 ;
7932 u8 __cil_tmp7 ;
7933 u8 __cil_tmp8 ;
7934 u32 __cil_tmp9 ;
7935 unsigned int __cil_tmp10 ;
7936 u8 __cil_tmp11 ;
7937 u8 __cil_tmp12 ;
7938 u32 __cil_tmp13 ;
7939 unsigned int __cil_tmp14 ;
7940 u8 __cil_tmp15 ;
7941 u8 __cil_tmp16 ;
7942 unsigned int __cil_tmp17 ;
7943 u8 __cil_tmp18 ;
7944
7945 {
7946#line 72
7947 aclk = (u8 )0;
7948#line 73
7949 bclk = (u8 )0;
7950#line 75
7951 if (srate < 1500000U) {
7952#line 76
7953 aclk = (u8 )183;
7954#line 77
7955 bclk = (u8 )71;
7956 } else
7957#line 78
7958 if (srate < 3000000U) {
7959#line 79
7960 aclk = (u8 )183;
7961#line 80
7962 bclk = (u8 )75;
7963 } else
7964#line 81
7965 if (srate < 7000000U) {
7966#line 82
7967 aclk = (u8 )183;
7968#line 83
7969 bclk = (u8 )79;
7970 } else
7971#line 84
7972 if (srate < 14000000U) {
7973#line 85
7974 aclk = (u8 )183;
7975#line 86
7976 bclk = (u8 )83;
7977 } else
7978#line 87
7979 if (srate < 30000000U) {
7980#line 88
7981 aclk = (u8 )182;
7982#line 89
7983 bclk = (u8 )83;
7984 } else
7985#line 90
7986 if (srate < 45000000U) {
7987#line 91
7988 aclk = (u8 )180;
7989#line 92
7990 bclk = (u8 )81;
7991 } else {
7992
7993 }
7994 {
7995#line 95
7996 __cil_tmp6 = (u8 )19;
7997#line 95
7998 stv0299_writereg(fe, __cil_tmp6, aclk);
7999#line 96
8000 __cil_tmp7 = (u8 )20;
8001#line 96
8002 stv0299_writereg(fe, __cil_tmp7, bclk);
8003#line 97
8004 __cil_tmp8 = (u8 )31;
8005#line 97
8006 __cil_tmp9 = ratio >> 16;
8007#line 97
8008 __cil_tmp10 = __cil_tmp9 & 255U;
8009#line 97
8010 __cil_tmp11 = (u8 )__cil_tmp10;
8011#line 97
8012 stv0299_writereg(fe, __cil_tmp8, __cil_tmp11);
8013#line 98
8014 __cil_tmp12 = (u8 )32;
8015#line 98
8016 __cil_tmp13 = ratio >> 8;
8017#line 98
8018 __cil_tmp14 = __cil_tmp13 & 255U;
8019#line 98
8020 __cil_tmp15 = (u8 )__cil_tmp14;
8021#line 98
8022 stv0299_writereg(fe, __cil_tmp12, __cil_tmp15);
8023#line 99
8024 __cil_tmp16 = (u8 )33;
8025#line 99
8026 __cil_tmp17 = ratio & 240U;
8027#line 99
8028 __cil_tmp18 = (u8 )__cil_tmp17;
8029#line 99
8030 stv0299_writereg(fe, __cil_tmp16, __cil_tmp18);
8031 }
8032#line 101
8033 return (0);
8034}
8035}
8036#line 104 "drivers/media/dvb/frontends/bsru6.h"
8037static int alps_bsru6_tuner_set_params(struct dvb_frontend *fe )
8038{ struct dtv_frontend_properties *p ;
8039 u8 buf[4] ;
8040 u32 div ;
8041 struct i2c_msg msg ;
8042 struct i2c_adapter *i2c ;
8043 int tmp___7 ;
8044 unsigned long __cil_tmp8 ;
8045 unsigned long __cil_tmp9 ;
8046 struct i2c_msg *__cil_tmp10 ;
8047 unsigned long __cil_tmp11 ;
8048 unsigned long __cil_tmp12 ;
8049 unsigned long __cil_tmp13 ;
8050 unsigned long __cil_tmp14 ;
8051 unsigned long __cil_tmp15 ;
8052 unsigned long __cil_tmp16 ;
8053 unsigned long __cil_tmp17 ;
8054 void *__cil_tmp18 ;
8055 unsigned long __cil_tmp19 ;
8056 unsigned long __cil_tmp20 ;
8057 u32 __cil_tmp21 ;
8058 unsigned long __cil_tmp22 ;
8059 unsigned long __cil_tmp23 ;
8060 u32 __cil_tmp24 ;
8061 unsigned long __cil_tmp25 ;
8062 unsigned long __cil_tmp26 ;
8063 u32 __cil_tmp27 ;
8064 u32 __cil_tmp28 ;
8065 unsigned long __cil_tmp29 ;
8066 unsigned long __cil_tmp30 ;
8067 u32 __cil_tmp31 ;
8068 unsigned int __cil_tmp32 ;
8069 unsigned long __cil_tmp33 ;
8070 unsigned long __cil_tmp34 ;
8071 unsigned int __cil_tmp35 ;
8072 unsigned long __cil_tmp36 ;
8073 unsigned long __cil_tmp37 ;
8074 unsigned int __cil_tmp38 ;
8075 unsigned int __cil_tmp39 ;
8076 unsigned int __cil_tmp40 ;
8077 unsigned int __cil_tmp41 ;
8078 unsigned long __cil_tmp42 ;
8079 unsigned long __cil_tmp43 ;
8080 unsigned long __cil_tmp44 ;
8081 unsigned long __cil_tmp45 ;
8082 u32 __cil_tmp46 ;
8083 unsigned long __cil_tmp47 ;
8084 unsigned long __cil_tmp48 ;
8085 unsigned long __cil_tmp49 ;
8086 unsigned long __cil_tmp50 ;
8087 unsigned long __cil_tmp51 ;
8088 unsigned long __cil_tmp52 ;
8089 unsigned long __cil_tmp53 ;
8090 unsigned long __cil_tmp54 ;
8091 int (*__cil_tmp55)(struct dvb_frontend *fe , int enable ) ;
8092
8093 {
8094#line 106
8095 __cil_tmp8 = (unsigned long )fe;
8096#line 106
8097 __cil_tmp9 = __cil_tmp8 + 800;
8098#line 106
8099 p = (struct dtv_frontend_properties *)__cil_tmp9;
8100#line 109
8101 __cil_tmp10 = & msg;
8102#line 109
8103 *((__u16 *)__cil_tmp10) = (__u16 )97;
8104#line 109
8105 __cil_tmp11 = (unsigned long )(& msg) + 2;
8106#line 109
8107 *((__u16 *)__cil_tmp11) = (__u16 )0;
8108#line 109
8109 __cil_tmp12 = (unsigned long )(& msg) + 4;
8110#line 109
8111 *((__u16 *)__cil_tmp12) = (__u16 )4UL;
8112#line 109
8113 __cil_tmp13 = (unsigned long )(& msg) + 8;
8114#line 109
8115 __cil_tmp14 = 0 * 1UL;
8116#line 109
8117 __cil_tmp15 = (unsigned long )(buf) + __cil_tmp14;
8118#line 109
8119 *((__u8 **)__cil_tmp13) = (u8 *)__cil_tmp15;
8120#line 110
8121 __cil_tmp16 = (unsigned long )fe;
8122#line 110
8123 __cil_tmp17 = __cil_tmp16 + 768;
8124#line 110
8125 __cil_tmp18 = *((void **)__cil_tmp17);
8126#line 110
8127 i2c = (struct i2c_adapter *)__cil_tmp18;
8128 {
8129#line 112
8130 __cil_tmp19 = (unsigned long )p;
8131#line 112
8132 __cil_tmp20 = __cil_tmp19 + 4;
8133#line 112
8134 __cil_tmp21 = *((u32 *)__cil_tmp20);
8135#line 112
8136 if (__cil_tmp21 < 950000U) {
8137#line 113
8138 return (-22);
8139 } else {
8140 {
8141#line 112
8142 __cil_tmp22 = (unsigned long )p;
8143#line 112
8144 __cil_tmp23 = __cil_tmp22 + 4;
8145#line 112
8146 __cil_tmp24 = *((u32 *)__cil_tmp23);
8147#line 112
8148 if (__cil_tmp24 > 2150000U) {
8149#line 113
8150 return (-22);
8151 } else {
8152
8153 }
8154 }
8155 }
8156 }
8157#line 115
8158 __cil_tmp25 = (unsigned long )p;
8159#line 115
8160 __cil_tmp26 = __cil_tmp25 + 4;
8161#line 115
8162 __cil_tmp27 = *((u32 *)__cil_tmp26);
8163#line 115
8164 __cil_tmp28 = __cil_tmp27 + 124U;
8165#line 115
8166 div = __cil_tmp28 / 125U;
8167#line 116
8168 __cil_tmp29 = 0 * 1UL;
8169#line 116
8170 __cil_tmp30 = (unsigned long )(buf) + __cil_tmp29;
8171#line 116
8172 __cil_tmp31 = div >> 8;
8173#line 116
8174 __cil_tmp32 = __cil_tmp31 & 127U;
8175#line 116
8176 *((u8 *)__cil_tmp30) = (u8 )__cil_tmp32;
8177#line 117
8178 __cil_tmp33 = 1 * 1UL;
8179#line 117
8180 __cil_tmp34 = (unsigned long )(buf) + __cil_tmp33;
8181#line 117
8182 __cil_tmp35 = div & 255U;
8183#line 117
8184 *((u8 *)__cil_tmp34) = (u8 )__cil_tmp35;
8185#line 118
8186 __cil_tmp36 = 2 * 1UL;
8187#line 118
8188 __cil_tmp37 = (unsigned long )(buf) + __cil_tmp36;
8189#line 118
8190 __cil_tmp38 = div & 98304U;
8191#line 118
8192 __cil_tmp39 = __cil_tmp38 >> 10;
8193#line 118
8194 __cil_tmp40 = 128U | __cil_tmp39;
8195#line 118
8196 __cil_tmp41 = __cil_tmp40 | 4U;
8197#line 118
8198 *((u8 *)__cil_tmp37) = (u8 )__cil_tmp41;
8199#line 119
8200 __cil_tmp42 = 3 * 1UL;
8201#line 119
8202 __cil_tmp43 = (unsigned long )(buf) + __cil_tmp42;
8203#line 119
8204 *((u8 *)__cil_tmp43) = (u8 )196;
8205 {
8206#line 121
8207 __cil_tmp44 = (unsigned long )p;
8208#line 121
8209 __cil_tmp45 = __cil_tmp44 + 4;
8210#line 121
8211 __cil_tmp46 = *((u32 *)__cil_tmp45);
8212#line 121
8213 if (__cil_tmp46 > 1530000U) {
8214#line 122
8215 __cil_tmp47 = 3 * 1UL;
8216#line 122
8217 __cil_tmp48 = (unsigned long )(buf) + __cil_tmp47;
8218#line 122
8219 *((u8 *)__cil_tmp48) = (u8 )192;
8220 } else {
8221
8222 }
8223 }
8224 {
8225#line 124
8226 __cil_tmp49 = 0 + 360;
8227#line 124
8228 __cil_tmp50 = (unsigned long )fe;
8229#line 124
8230 __cil_tmp51 = __cil_tmp50 + __cil_tmp49;
8231#line 124
8232 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp51)) {
8233 {
8234#line 125
8235 __cil_tmp52 = 0 + 360;
8236#line 125
8237 __cil_tmp53 = (unsigned long )fe;
8238#line 125
8239 __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
8240#line 125
8241 __cil_tmp55 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp54);
8242#line 125
8243 (*__cil_tmp55)(fe, 1);
8244 }
8245 } else {
8246
8247 }
8248 }
8249 {
8250#line 126
8251 tmp___7 = i2c_transfer(i2c, & msg, 1);
8252 }
8253#line 126
8254 if (tmp___7 != 1) {
8255#line 127
8256 return (-5);
8257 } else {
8258
8259 }
8260#line 128
8261 return (0);
8262}
8263}
8264#line 131 "drivers/media/dvb/frontends/bsru6.h"
8265static struct stv0299_config alps_bsru6_config =
8266#line 131
8267 {(u8 )104, (u8 const *)(alps_bsru6_inittab), (u32 )88000000UL, (u8 )1, (u8 )0,
8268 (u8 )1, (u8 )1, (unsigned char)0, 100, & alps_bsru6_set_symbol_rate, (int (*)(struct dvb_frontend *fe ,
8269 int is_punctured ))0};
8270#line 28 "drivers/media/dvb/frontends/bsbe1.h"
8271static u8 alps_bsbe1_inittab[38] =
8272#line 28 "drivers/media/dvb/frontends/bsbe1.h"
8273 { (u8 )1, (u8 )21, (u8 )2, (u8 )48,
8274 (u8 )3, (u8 )0, (u8 )4, (u8 )125,
8275 (u8 )5, (u8 )5, (u8 )6, (u8 )0,
8276 (u8 )8, (u8 )64, (u8 )9, (u8 )0,
8277 (u8 )12, (u8 )81, (u8 )13, (u8 )130,
8278 (u8 )15, (u8 )146, (u8 )16, (u8 )52,
8279 (u8 )17, (u8 )132, (u8 )18, (u8 )185,
8280 (u8 )21, (u8 )201, (u8 )40, (u8 )0,
8281 (u8 )51, (u8 )252, (u8 )52, (u8 )147,
8282 (u8 )255, (u8 )255};
8283#line 51 "drivers/media/dvb/frontends/bsbe1.h"
8284static int alps_bsbe1_set_symbol_rate(struct dvb_frontend *fe , u32 srate , u32 ratio )
8285{ u8 aclk ;
8286 u8 bclk ;
8287 u8 __cil_tmp6 ;
8288 u8 __cil_tmp7 ;
8289 u8 __cil_tmp8 ;
8290 u32 __cil_tmp9 ;
8291 unsigned int __cil_tmp10 ;
8292 u8 __cil_tmp11 ;
8293 u8 __cil_tmp12 ;
8294 u32 __cil_tmp13 ;
8295 unsigned int __cil_tmp14 ;
8296 u8 __cil_tmp15 ;
8297 u8 __cil_tmp16 ;
8298 unsigned int __cil_tmp17 ;
8299 u8 __cil_tmp18 ;
8300
8301 {
8302#line 53
8303 aclk = (u8 )0;
8304#line 54
8305 bclk = (u8 )0;
8306#line 56
8307 if (srate < 1500000U) {
8308#line 56
8309 aclk = (u8 )183;
8310#line 56
8311 bclk = (u8 )71;
8312 } else
8313#line 57
8314 if (srate < 3000000U) {
8315#line 57
8316 aclk = (u8 )183;
8317#line 57
8318 bclk = (u8 )75;
8319 } else
8320#line 58
8321 if (srate < 7000000U) {
8322#line 58
8323 aclk = (u8 )183;
8324#line 58
8325 bclk = (u8 )79;
8326 } else
8327#line 59
8328 if (srate < 14000000U) {
8329#line 59
8330 aclk = (u8 )183;
8331#line 59
8332 bclk = (u8 )83;
8333 } else
8334#line 60
8335 if (srate < 30000000U) {
8336#line 60
8337 aclk = (u8 )182;
8338#line 60
8339 bclk = (u8 )83;
8340 } else
8341#line 61
8342 if (srate < 45000000U) {
8343#line 61
8344 aclk = (u8 )180;
8345#line 61
8346 bclk = (u8 )81;
8347 } else {
8348
8349 }
8350 {
8351#line 63
8352 __cil_tmp6 = (u8 )19;
8353#line 63
8354 stv0299_writereg(fe, __cil_tmp6, aclk);
8355#line 64
8356 __cil_tmp7 = (u8 )20;
8357#line 64
8358 stv0299_writereg(fe, __cil_tmp7, bclk);
8359#line 65
8360 __cil_tmp8 = (u8 )31;
8361#line 65
8362 __cil_tmp9 = ratio >> 16;
8363#line 65
8364 __cil_tmp10 = __cil_tmp9 & 255U;
8365#line 65
8366 __cil_tmp11 = (u8 )__cil_tmp10;
8367#line 65
8368 stv0299_writereg(fe, __cil_tmp8, __cil_tmp11);
8369#line 66
8370 __cil_tmp12 = (u8 )32;
8371#line 66
8372 __cil_tmp13 = ratio >> 8;
8373#line 66
8374 __cil_tmp14 = __cil_tmp13 & 255U;
8375#line 66
8376 __cil_tmp15 = (u8 )__cil_tmp14;
8377#line 66
8378 stv0299_writereg(fe, __cil_tmp12, __cil_tmp15);
8379#line 67
8380 __cil_tmp16 = (u8 )33;
8381#line 67
8382 __cil_tmp17 = ratio & 240U;
8383#line 67
8384 __cil_tmp18 = (u8 )__cil_tmp17;
8385#line 67
8386 stv0299_writereg(fe, __cil_tmp16, __cil_tmp18);
8387 }
8388#line 69
8389 return (0);
8390}
8391}
8392#line 72 "drivers/media/dvb/frontends/bsbe1.h"
8393static int alps_bsbe1_tuner_set_params(struct dvb_frontend *fe )
8394{ struct dtv_frontend_properties *p ;
8395 int ret ;
8396 u8 data[4] ;
8397 u32 div ;
8398 struct i2c_msg msg ;
8399 struct i2c_adapter *i2c ;
8400 int tmp___7 ;
8401 unsigned long __cil_tmp9 ;
8402 unsigned long __cil_tmp10 ;
8403 struct i2c_msg *__cil_tmp11 ;
8404 unsigned long __cil_tmp12 ;
8405 unsigned long __cil_tmp13 ;
8406 unsigned long __cil_tmp14 ;
8407 unsigned long __cil_tmp15 ;
8408 unsigned long __cil_tmp16 ;
8409 unsigned long __cil_tmp17 ;
8410 unsigned long __cil_tmp18 ;
8411 void *__cil_tmp19 ;
8412 unsigned long __cil_tmp20 ;
8413 unsigned long __cil_tmp21 ;
8414 u32 __cil_tmp22 ;
8415 unsigned long __cil_tmp23 ;
8416 unsigned long __cil_tmp24 ;
8417 u32 __cil_tmp25 ;
8418 unsigned long __cil_tmp26 ;
8419 unsigned long __cil_tmp27 ;
8420 u32 __cil_tmp28 ;
8421 unsigned long __cil_tmp29 ;
8422 unsigned long __cil_tmp30 ;
8423 u32 __cil_tmp31 ;
8424 unsigned int __cil_tmp32 ;
8425 unsigned long __cil_tmp33 ;
8426 unsigned long __cil_tmp34 ;
8427 unsigned int __cil_tmp35 ;
8428 unsigned long __cil_tmp36 ;
8429 unsigned long __cil_tmp37 ;
8430 unsigned int __cil_tmp38 ;
8431 unsigned int __cil_tmp39 ;
8432 unsigned int __cil_tmp40 ;
8433 unsigned int __cil_tmp41 ;
8434 unsigned long __cil_tmp42 ;
8435 unsigned long __cil_tmp43 ;
8436 unsigned long __cil_tmp44 ;
8437 unsigned long __cil_tmp45 ;
8438 unsigned long __cil_tmp46 ;
8439 unsigned long __cil_tmp47 ;
8440 unsigned long __cil_tmp48 ;
8441 unsigned long __cil_tmp49 ;
8442 int (*__cil_tmp50)(struct dvb_frontend *fe , int enable ) ;
8443
8444 {
8445#line 74
8446 __cil_tmp9 = (unsigned long )fe;
8447#line 74
8448 __cil_tmp10 = __cil_tmp9 + 800;
8449#line 74
8450 p = (struct dtv_frontend_properties *)__cil_tmp10;
8451#line 78
8452 __cil_tmp11 = & msg;
8453#line 78
8454 *((__u16 *)__cil_tmp11) = (__u16 )97;
8455#line 78
8456 __cil_tmp12 = (unsigned long )(& msg) + 2;
8457#line 78
8458 *((__u16 *)__cil_tmp12) = (__u16 )0;
8459#line 78
8460 __cil_tmp13 = (unsigned long )(& msg) + 4;
8461#line 78
8462 *((__u16 *)__cil_tmp13) = (__u16 )4UL;
8463#line 78
8464 __cil_tmp14 = (unsigned long )(& msg) + 8;
8465#line 78
8466 __cil_tmp15 = 0 * 1UL;
8467#line 78
8468 __cil_tmp16 = (unsigned long )(data) + __cil_tmp15;
8469#line 78
8470 *((__u8 **)__cil_tmp14) = (u8 *)__cil_tmp16;
8471#line 79
8472 __cil_tmp17 = (unsigned long )fe;
8473#line 79
8474 __cil_tmp18 = __cil_tmp17 + 768;
8475#line 79
8476 __cil_tmp19 = *((void **)__cil_tmp18);
8477#line 79
8478 i2c = (struct i2c_adapter *)__cil_tmp19;
8479 {
8480#line 81
8481 __cil_tmp20 = (unsigned long )p;
8482#line 81
8483 __cil_tmp21 = __cil_tmp20 + 4;
8484#line 81
8485 __cil_tmp22 = *((u32 *)__cil_tmp21);
8486#line 81
8487 if (__cil_tmp22 < 950000U) {
8488#line 82
8489 return (-22);
8490 } else {
8491 {
8492#line 81
8493 __cil_tmp23 = (unsigned long )p;
8494#line 81
8495 __cil_tmp24 = __cil_tmp23 + 4;
8496#line 81
8497 __cil_tmp25 = *((u32 *)__cil_tmp24);
8498#line 81
8499 if (__cil_tmp25 > 2150000U) {
8500#line 82
8501 return (-22);
8502 } else {
8503
8504 }
8505 }
8506 }
8507 }
8508#line 84
8509 __cil_tmp26 = (unsigned long )p;
8510#line 84
8511 __cil_tmp27 = __cil_tmp26 + 4;
8512#line 84
8513 __cil_tmp28 = *((u32 *)__cil_tmp27);
8514#line 84
8515 div = __cil_tmp28 / 1000U;
8516#line 85
8517 __cil_tmp29 = 0 * 1UL;
8518#line 85
8519 __cil_tmp30 = (unsigned long )(data) + __cil_tmp29;
8520#line 85
8521 __cil_tmp31 = div >> 8;
8522#line 85
8523 __cil_tmp32 = __cil_tmp31 & 127U;
8524#line 85
8525 *((u8 *)__cil_tmp30) = (u8 )__cil_tmp32;
8526#line 86
8527 __cil_tmp33 = 1 * 1UL;
8528#line 86
8529 __cil_tmp34 = (unsigned long )(data) + __cil_tmp33;
8530#line 86
8531 __cil_tmp35 = div & 255U;
8532#line 86
8533 *((u8 *)__cil_tmp34) = (u8 )__cil_tmp35;
8534#line 87
8535 __cil_tmp36 = 2 * 1UL;
8536#line 87
8537 __cil_tmp37 = (unsigned long )(data) + __cil_tmp36;
8538#line 87
8539 __cil_tmp38 = div & 98304U;
8540#line 87
8541 __cil_tmp39 = __cil_tmp38 >> 10;
8542#line 87
8543 __cil_tmp40 = 128U | __cil_tmp39;
8544#line 87
8545 __cil_tmp41 = __cil_tmp40 | 1U;
8546#line 87
8547 *((u8 *)__cil_tmp37) = (u8 )__cil_tmp41;
8548#line 88
8549 __cil_tmp42 = 3 * 1UL;
8550#line 88
8551 __cil_tmp43 = (unsigned long )(data) + __cil_tmp42;
8552#line 88
8553 *((u8 *)__cil_tmp43) = (u8 )224;
8554 {
8555#line 90
8556 __cil_tmp44 = 0 + 360;
8557#line 90
8558 __cil_tmp45 = (unsigned long )fe;
8559#line 90
8560 __cil_tmp46 = __cil_tmp45 + __cil_tmp44;
8561#line 90
8562 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp46)) {
8563 {
8564#line 91
8565 __cil_tmp47 = 0 + 360;
8566#line 91
8567 __cil_tmp48 = (unsigned long )fe;
8568#line 91
8569 __cil_tmp49 = __cil_tmp48 + __cil_tmp47;
8570#line 91
8571 __cil_tmp50 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp49);
8572#line 91
8573 (*__cil_tmp50)(fe, 1);
8574 }
8575 } else {
8576
8577 }
8578 }
8579 {
8580#line 92
8581 ret = i2c_transfer(i2c, & msg, 1);
8582 }
8583#line 93
8584 if (ret != 1) {
8585#line 93
8586 tmp___7 = -5;
8587 } else {
8588#line 93
8589 tmp___7 = 0;
8590 }
8591#line 93
8592 return (tmp___7);
8593}
8594}
8595#line 31 "drivers/media/dvb/frontends/tdhd1.h"
8596static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe , struct firmware const **fw ,
8597 char *name ) ;
8598#line 33 "drivers/media/dvb/frontends/tdhd1.h"
8599static struct tda1004x_config alps_tdhd1_204a_config =
8600#line 33
8601 {(u8 )8, (u8 )1, (u8 )0, 0, (enum tda10046_xtal )0, (enum tda10046_if )0, (enum tda10046_agc )0,
8602 0, (unsigned char)0, (unsigned char)0, (unsigned char)0, & alps_tdhd1_204_request_firmware};
8603#line 43 "drivers/media/dvb/frontends/tdhd1.h"
8604static int alps_tdhd1_204a_tuner_set_params(struct dvb_frontend *fe )
8605{ struct dtv_frontend_properties *p ;
8606 struct i2c_adapter *i2c ;
8607 u8 data[4] ;
8608 struct i2c_msg msg ;
8609 u32 div ;
8610 int tmp___7 ;
8611 unsigned long __cil_tmp8 ;
8612 unsigned long __cil_tmp9 ;
8613 unsigned long __cil_tmp10 ;
8614 unsigned long __cil_tmp11 ;
8615 void *__cil_tmp12 ;
8616 struct i2c_msg *__cil_tmp13 ;
8617 unsigned long __cil_tmp14 ;
8618 unsigned long __cil_tmp15 ;
8619 unsigned long __cil_tmp16 ;
8620 unsigned long __cil_tmp17 ;
8621 unsigned long __cil_tmp18 ;
8622 unsigned long __cil_tmp19 ;
8623 unsigned long __cil_tmp20 ;
8624 u32 __cil_tmp21 ;
8625 u32 __cil_tmp22 ;
8626 unsigned long __cil_tmp23 ;
8627 unsigned long __cil_tmp24 ;
8628 u32 __cil_tmp25 ;
8629 unsigned int __cil_tmp26 ;
8630 unsigned long __cil_tmp27 ;
8631 unsigned long __cil_tmp28 ;
8632 unsigned int __cil_tmp29 ;
8633 unsigned long __cil_tmp30 ;
8634 unsigned long __cil_tmp31 ;
8635 unsigned long __cil_tmp32 ;
8636 unsigned long __cil_tmp33 ;
8637 u32 __cil_tmp34 ;
8638 unsigned long __cil_tmp35 ;
8639 unsigned long __cil_tmp36 ;
8640 u32 __cil_tmp37 ;
8641 unsigned long __cil_tmp38 ;
8642 unsigned long __cil_tmp39 ;
8643 unsigned long __cil_tmp40 ;
8644 unsigned long __cil_tmp41 ;
8645 u32 __cil_tmp42 ;
8646 unsigned long __cil_tmp43 ;
8647 unsigned long __cil_tmp44 ;
8648 u32 __cil_tmp45 ;
8649 unsigned long __cil_tmp46 ;
8650 unsigned long __cil_tmp47 ;
8651 unsigned long __cil_tmp48 ;
8652 unsigned long __cil_tmp49 ;
8653 u32 __cil_tmp50 ;
8654 unsigned long __cil_tmp51 ;
8655 unsigned long __cil_tmp52 ;
8656 u32 __cil_tmp53 ;
8657 unsigned long __cil_tmp54 ;
8658 unsigned long __cil_tmp55 ;
8659 unsigned long __cil_tmp56 ;
8660 unsigned long __cil_tmp57 ;
8661 unsigned long __cil_tmp58 ;
8662 unsigned long __cil_tmp59 ;
8663 unsigned long __cil_tmp60 ;
8664 unsigned long __cil_tmp61 ;
8665 int (*__cil_tmp62)(struct dvb_frontend *fe , int enable ) ;
8666
8667 {
8668#line 45
8669 __cil_tmp8 = (unsigned long )fe;
8670#line 45
8671 __cil_tmp9 = __cil_tmp8 + 800;
8672#line 45
8673 p = (struct dtv_frontend_properties *)__cil_tmp9;
8674#line 46
8675 __cil_tmp10 = (unsigned long )fe;
8676#line 46
8677 __cil_tmp11 = __cil_tmp10 + 768;
8678#line 46
8679 __cil_tmp12 = *((void **)__cil_tmp11);
8680#line 46
8681 i2c = (struct i2c_adapter *)__cil_tmp12;
8682#line 48
8683 __cil_tmp13 = & msg;
8684#line 48
8685 *((__u16 *)__cil_tmp13) = (__u16 )97;
8686#line 48
8687 __cil_tmp14 = (unsigned long )(& msg) + 2;
8688#line 48
8689 *((__u16 *)__cil_tmp14) = (__u16 )0;
8690#line 48
8691 __cil_tmp15 = (unsigned long )(& msg) + 4;
8692#line 48
8693 *((__u16 *)__cil_tmp15) = (__u16 )4UL;
8694#line 48
8695 __cil_tmp16 = (unsigned long )(& msg) + 8;
8696#line 48
8697 __cil_tmp17 = 0 * 1UL;
8698#line 48
8699 __cil_tmp18 = (unsigned long )(data) + __cil_tmp17;
8700#line 48
8701 *((__u8 **)__cil_tmp16) = (u8 *)__cil_tmp18;
8702#line 51
8703 __cil_tmp19 = (unsigned long )p;
8704#line 51
8705 __cil_tmp20 = __cil_tmp19 + 4;
8706#line 51
8707 __cil_tmp21 = *((u32 *)__cil_tmp20);
8708#line 51
8709 __cil_tmp22 = __cil_tmp21 + 36166666U;
8710#line 51
8711 div = __cil_tmp22 / 166666U;
8712#line 53
8713 __cil_tmp23 = 0 * 1UL;
8714#line 53
8715 __cil_tmp24 = (unsigned long )(data) + __cil_tmp23;
8716#line 53
8717 __cil_tmp25 = div >> 8;
8718#line 53
8719 __cil_tmp26 = __cil_tmp25 & 127U;
8720#line 53
8721 *((u8 *)__cil_tmp24) = (u8 )__cil_tmp26;
8722#line 54
8723 __cil_tmp27 = 1 * 1UL;
8724#line 54
8725 __cil_tmp28 = (unsigned long )(data) + __cil_tmp27;
8726#line 54
8727 __cil_tmp29 = div & 255U;
8728#line 54
8729 *((u8 *)__cil_tmp28) = (u8 )__cil_tmp29;
8730#line 55
8731 __cil_tmp30 = 2 * 1UL;
8732#line 55
8733 __cil_tmp31 = (unsigned long )(data) + __cil_tmp30;
8734#line 55
8735 *((u8 *)__cil_tmp31) = (u8 )133;
8736 {
8737#line 57
8738 __cil_tmp32 = (unsigned long )p;
8739#line 57
8740 __cil_tmp33 = __cil_tmp32 + 4;
8741#line 57
8742 __cil_tmp34 = *((u32 *)__cil_tmp33);
8743#line 57
8744 if (__cil_tmp34 >= 174000000U) {
8745 {
8746#line 57
8747 __cil_tmp35 = (unsigned long )p;
8748#line 57
8749 __cil_tmp36 = __cil_tmp35 + 4;
8750#line 57
8751 __cil_tmp37 = *((u32 *)__cil_tmp36);
8752#line 57
8753 if (__cil_tmp37 <= 230000000U) {
8754#line 58
8755 __cil_tmp38 = 3 * 1UL;
8756#line 58
8757 __cil_tmp39 = (unsigned long )(data) + __cil_tmp38;
8758#line 58
8759 *((u8 *)__cil_tmp39) = (u8 )2;
8760 } else {
8761#line 57
8762 goto _L___0;
8763 }
8764 }
8765 } else {
8766 _L___0:
8767 {
8768#line 59
8769 __cil_tmp40 = (unsigned long )p;
8770#line 59
8771 __cil_tmp41 = __cil_tmp40 + 4;
8772#line 59
8773 __cil_tmp42 = *((u32 *)__cil_tmp41);
8774#line 59
8775 if (__cil_tmp42 >= 470000000U) {
8776 {
8777#line 59
8778 __cil_tmp43 = (unsigned long )p;
8779#line 59
8780 __cil_tmp44 = __cil_tmp43 + 4;
8781#line 59
8782 __cil_tmp45 = *((u32 *)__cil_tmp44);
8783#line 59
8784 if (__cil_tmp45 <= 823000000U) {
8785#line 60
8786 __cil_tmp46 = 3 * 1UL;
8787#line 60
8788 __cil_tmp47 = (unsigned long )(data) + __cil_tmp46;
8789#line 60
8790 *((u8 *)__cil_tmp47) = (u8 )12;
8791 } else {
8792#line 59
8793 goto _L;
8794 }
8795 }
8796 } else {
8797 _L:
8798 {
8799#line 61
8800 __cil_tmp48 = (unsigned long )p;
8801#line 61
8802 __cil_tmp49 = __cil_tmp48 + 4;
8803#line 61
8804 __cil_tmp50 = *((u32 *)__cil_tmp49);
8805#line 61
8806 if (__cil_tmp50 > 823000000U) {
8807 {
8808#line 61
8809 __cil_tmp51 = (unsigned long )p;
8810#line 61
8811 __cil_tmp52 = __cil_tmp51 + 4;
8812#line 61
8813 __cil_tmp53 = *((u32 *)__cil_tmp52);
8814#line 61
8815 if (__cil_tmp53 <= 862000000U) {
8816#line 62
8817 __cil_tmp54 = 3 * 1UL;
8818#line 62
8819 __cil_tmp55 = (unsigned long )(data) + __cil_tmp54;
8820#line 62
8821 *((u8 *)__cil_tmp55) = (u8 )140;
8822 } else {
8823#line 64
8824 return (-22);
8825 }
8826 }
8827 } else {
8828#line 64
8829 return (-22);
8830 }
8831 }
8832 }
8833 }
8834 }
8835 }
8836 {
8837#line 66
8838 __cil_tmp56 = 0 + 360;
8839#line 66
8840 __cil_tmp57 = (unsigned long )fe;
8841#line 66
8842 __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
8843#line 66
8844 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp58)) {
8845 {
8846#line 67
8847 __cil_tmp59 = 0 + 360;
8848#line 67
8849 __cil_tmp60 = (unsigned long )fe;
8850#line 67
8851 __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
8852#line 67
8853 __cil_tmp62 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp61);
8854#line 67
8855 (*__cil_tmp62)(fe, 1);
8856 }
8857 } else {
8858
8859 }
8860 }
8861 {
8862#line 68
8863 tmp___7 = i2c_transfer(i2c, & msg, 1);
8864 }
8865#line 68
8866 if (tmp___7 != 1) {
8867#line 69
8868 return (-5);
8869 } else {
8870
8871 }
8872#line 71
8873 return (0);
8874}
8875}
8876#line 55 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8877static int diseqc_method ;
8878#line 56 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8879static char const __param_str_diseqc_method[14] =
8880#line 56
8881 { (char const )'d', (char const )'i', (char const )'s', (char const )'e',
8882 (char const )'q', (char const )'c', (char const )'_', (char const )'m',
8883 (char const )'e', (char const )'t', (char const )'h', (char const )'o',
8884 (char const )'d', (char const )'\000'};
8885#line 56 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8886static struct kernel_param const __param_diseqc_method __attribute__((__used__,
8887__unused__, __section__("__param"), __aligned__(sizeof(void *)))) = {__param_str_diseqc_method, (struct kernel_param_ops const *)(& param_ops_int),
8888 (u16 )292, (s16 )0, {(void *)(& diseqc_method)}};
8889#line 56 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8890static char const __mod_diseqc_methodtype56[27] __attribute__((__used__, __unused__,
8891__section__(".modinfo"), __aligned__(1))) =
8892#line 56
8893 { (char const )'p', (char const )'a', (char const )'r', (char const )'m',
8894 (char const )'t', (char const )'y', (char const )'p', (char const )'e',
8895 (char const )'=', (char const )'d', (char const )'i', (char const )'s',
8896 (char const )'e', (char const )'q', (char const )'c', (char const )'_',
8897 (char const )'m', (char const )'e', (char const )'t', (char const )'h',
8898 (char const )'o', (char const )'d', (char const )':', (char const )'i',
8899 (char const )'n', (char const )'t', (char const )'\000'};
8900#line 57 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8901static char const __mod_diseqc_method57[124] __attribute__((__used__, __unused__,
8902__section__(".modinfo"), __aligned__(1))) =
8903#line 57
8904 { (char const )'p', (char const )'a', (char const )'r', (char const )'m',
8905 (char const )'=', (char const )'d', (char const )'i', (char const )'s',
8906 (char const )'e', (char const )'q', (char const )'c', (char const )'_',
8907 (char const )'m', (char const )'e', (char const )'t', (char const )'h',
8908 (char const )'o', (char const )'d', (char const )':', (char const )'S',
8909 (char const )'e', (char const )'l', (char const )'e', (char const )'c',
8910 (char const )'t', (char const )' ', (char const )'D', (char const )'i',
8911 (char const )'S', (char const )'E', (char const )'q', (char const )'C',
8912 (char const )' ', (char const )'m', (char const )'e', (char const )'t',
8913 (char const )'h', (char const )'o', (char const )'d', (char const )' ',
8914 (char const )'f', (char const )'o', (char const )'r', (char const )' ',
8915 (char const )'s', (char const )'u', (char const )'b', (char const )'s',
8916 (char const )'y', (char const )'s', (char const )'t', (char const )'e',
8917 (char const )'m', (char const )' ', (char const )'i', (char const )'d',
8918 (char const )' ', (char const )'1', (char const )'3', (char const )'c',
8919 (char const )'2', (char const )':', (char const )'1', (char const )'0',
8920 (char const )'0', (char const )'3', (char const )',', (char const )' ',
8921 (char const )'0', (char const )':', (char const )' ', (char const )'d',
8922 (char const )'e', (char const )'f', (char const )'a', (char const )'u',
8923 (char const )'l', (char const )'t', (char const )',', (char const )' ',
8924 (char const )'1', (char const )':', (char const )' ', (char const )'m',
8925 (char const )'o', (char const )'r', (char const )'e', (char const )' ',
8926 (char const )'r', (char const )'e', (char const )'l', (char const )'i',
8927 (char const )'a', (char const )'b', (char const )'l', (char const )'e',
8928 (char const )' ', (char const )'(', (char const )'f', (char const )'o',
8929 (char const )'r', (char const )' ', (char const )'n', (char const )'e',
8930 (char const )'w', (char const )'e', (char const )'r', (char const )' ',
8931 (char const )'r', (char const )'e', (char const )'v', (char const )'i',
8932 (char const )'s', (char const )'i', (char const )'o', (char const )'n',
8933 (char const )'s', (char const )' ', (char const )'o', (char const )'n',
8934 (char const )'l', (char const )'y', (char const )')', (char const )'\000'};
8935#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8936static short adapter_nr[8] =
8937#line 59
8938 { (short)-1, (short)-1, (short)-1, (short)-1,
8939 (short)-1, (short)-1, (short)-1, (short)-1};
8940#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8941static struct kparam_array const __param_arr_adapter_nr = {(unsigned int )(sizeof(adapter_nr) / sizeof(adapter_nr[0]) + sizeof(struct __anonstruct_396 )),
8942 (unsigned int )sizeof(adapter_nr[0]), (unsigned int *)((void *)0), (struct kernel_param_ops const *)(& param_ops_short),
8943 (void *)(adapter_nr)};
8944#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8945static char const __param_str_adapter_nr[11] =
8946#line 59
8947 { (char const )'a', (char const )'d', (char const )'a', (char const )'p',
8948 (char const )'t', (char const )'e', (char const )'r', (char const )'_',
8949 (char const )'n', (char const )'r', (char const )'\000'};
8950#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8951static struct kernel_param const __param_adapter_nr __attribute__((__used__, __unused__,
8952__section__("__param"), __aligned__(sizeof(void *)))) = {__param_str_adapter_nr, (struct kernel_param_ops const *)(& param_array_ops),
8953 (u16 )292, (s16 )0, {.arr = & __param_arr_adapter_nr}};
8954#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8955static char const __mod_adapter_nrtype59[35] __attribute__((__used__, __unused__,
8956__section__(".modinfo"), __aligned__(1))) =
8957#line 59
8958 { (char const )'p', (char const )'a', (char const )'r', (char const )'m',
8959 (char const )'t', (char const )'y', (char const )'p', (char const )'e',
8960 (char const )'=', (char const )'a', (char const )'d', (char const )'a',
8961 (char const )'p', (char const )'t', (char const )'e', (char const )'r',
8962 (char const )'_', (char const )'n', (char const )'r', (char const )':',
8963 (char const )'a', (char const )'r', (char const )'r', (char const )'a',
8964 (char const )'y', (char const )' ', (char const )'o', (char const )'f',
8965 (char const )' ', (char const )'s', (char const )'h', (char const )'o',
8966 (char const )'r', (char const )'t', (char const )'\000'};
8967#line 59 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8968static char const __mod_adapter_nr59[36] __attribute__((__used__, __unused__, __section__(".modinfo"),
8969__aligned__(1))) =
8970#line 59
8971 { (char const )'p', (char const )'a', (char const )'r', (char const )'m',
8972 (char const )'=', (char const )'a', (char const )'d', (char const )'a',
8973 (char const )'p', (char const )'t', (char const )'e', (char const )'r',
8974 (char const )'_', (char const )'n', (char const )'r', (char const )':',
8975 (char const )'D', (char const )'V', (char const )'B', (char const )' ',
8976 (char const )'a', (char const )'d', (char const )'a', (char const )'p',
8977 (char const )'t', (char const )'e', (char const )'r', (char const )' ',
8978 (char const )'n', (char const )'u', (char const )'m', (char const )'b',
8979 (char const )'e', (char const )'r', (char const )'s', (char const )'\000'};
8980#line 61 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
8981static void Set22K(struct budget *budget , int state )
8982{ struct saa7146_dev *dev ;
8983 int tmp___7 ;
8984 unsigned long __cil_tmp5 ;
8985 unsigned long __cil_tmp6 ;
8986 u32 __cil_tmp7 ;
8987
8988 {
8989#line 63
8990 __cil_tmp5 = (unsigned long )budget;
8991#line 63
8992 __cil_tmp6 = __cil_tmp5 + 256;
8993#line 63
8994 dev = *((struct saa7146_dev **)__cil_tmp6);
8995 {
8996#line 64
8997 while (1) {
8998 while_continue: ;
8999#line 64
9000 if (budget_debug & 2) {
9001 {
9002#line 64
9003 printk("%s: %s(): ", "budget", "Set22K");
9004#line 64
9005 printk("budget: %p\n", budget);
9006 }
9007 } else {
9008
9009 }
9010#line 64
9011 goto while_break;
9012 }
9013 while_break: ;
9014 }
9015#line 65
9016 if (state) {
9017#line 65
9018 tmp___7 = 80;
9019 } else {
9020#line 65
9021 tmp___7 = 64;
9022 }
9023 {
9024#line 65
9025 __cil_tmp7 = (u32 )tmp___7;
9026#line 65
9027 saa7146_setgpio(dev, 3, __cil_tmp7);
9028 }
9029#line 66
9030 return;
9031}
9032}
9033#line 72 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9034static void DiseqcSendBit(struct budget *budget , int data )
9035{ struct saa7146_dev *dev ;
9036 int tmp___9 ;
9037 int tmp___13 ;
9038 unsigned long __cil_tmp12 ;
9039 unsigned long __cil_tmp13 ;
9040 u32 __cil_tmp14 ;
9041 unsigned long __cil_tmp15 ;
9042 u32 __cil_tmp16 ;
9043 unsigned long __cil_tmp17 ;
9044
9045 {
9046#line 74
9047 __cil_tmp12 = (unsigned long )budget;
9048#line 74
9049 __cil_tmp13 = __cil_tmp12 + 256;
9050#line 74
9051 dev = *((struct saa7146_dev **)__cil_tmp13);
9052 {
9053#line 75
9054 while (1) {
9055 while_continue: ;
9056#line 75
9057 if (budget_debug & 2) {
9058 {
9059#line 75
9060 printk("%s: %s(): ", "budget", "DiseqcSendBit");
9061#line 75
9062 printk("budget: %p\n", budget);
9063 }
9064 } else {
9065
9066 }
9067#line 75
9068 goto while_break;
9069 }
9070 while_break: ;
9071 }
9072 {
9073#line 77
9074 __cil_tmp14 = (u32 )80;
9075#line 77
9076 saa7146_setgpio(dev, 3, __cil_tmp14);
9077 }
9078#line 78
9079 if (data) {
9080#line 78
9081 tmp___9 = 500;
9082 } else {
9083#line 78
9084 tmp___9 = 1000;
9085 }
9086 {
9087#line 78
9088 __cil_tmp15 = (unsigned long )tmp___9;
9089#line 78
9090 __udelay(__cil_tmp15);
9091#line 79
9092 __cil_tmp16 = (u32 )64;
9093#line 79
9094 saa7146_setgpio(dev, 3, __cil_tmp16);
9095 }
9096#line 80
9097 if (data) {
9098#line 80
9099 tmp___13 = 1000;
9100 } else {
9101#line 80
9102 tmp___13 = 500;
9103 }
9104 {
9105#line 80
9106 __cil_tmp17 = (unsigned long )tmp___13;
9107#line 80
9108 __udelay(__cil_tmp17);
9109 }
9110#line 81
9111 return;
9112}
9113}
9114#line 83 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9115static void DiseqcSendByte(struct budget *budget , int data )
9116{ int i ;
9117 int par ;
9118 int d ;
9119 int __cil_tmp6 ;
9120
9121 {
9122#line 85
9123 par = 1;
9124 {
9125#line 87
9126 while (1) {
9127 while_continue: ;
9128#line 87
9129 if (budget_debug & 2) {
9130 {
9131#line 87
9132 printk("%s: %s(): ", "budget", "DiseqcSendByte");
9133#line 87
9134 printk("budget: %p\n", budget);
9135 }
9136 } else {
9137
9138 }
9139#line 87
9140 goto while_break;
9141 }
9142 while_break: ;
9143 }
9144#line 89
9145 i = 7;
9146 {
9147#line 89
9148 while (1) {
9149 while_continue___0: ;
9150#line 89
9151 if (i >= 0) {
9152
9153 } else {
9154#line 89
9155 goto while_break___0;
9156 }
9157 {
9158#line 90
9159 __cil_tmp6 = data >> i;
9160#line 90
9161 d = __cil_tmp6 & 1;
9162#line 91
9163 par = par ^ d;
9164#line 92
9165 DiseqcSendBit(budget, d);
9166#line 89
9167 i = i - 1;
9168 }
9169 }
9170 while_break___0: ;
9171 }
9172 {
9173#line 95
9174 DiseqcSendBit(budget, par);
9175 }
9176#line 96
9177 return;
9178}
9179}
9180#line 98 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9181static int SendDiSEqCMsg(struct budget *budget , int len , u8 *msg , unsigned long burst )
9182{ struct saa7146_dev *dev ;
9183 int i ;
9184 unsigned long __ms ;
9185 unsigned long tmp___7 ;
9186 unsigned long __ms___0 ;
9187 unsigned long tmp___8 ;
9188 unsigned long __ms___1 ;
9189 unsigned long tmp___9 ;
9190 unsigned long __cil_tmp13 ;
9191 unsigned long __cil_tmp14 ;
9192 u32 __cil_tmp15 ;
9193 u8 *__cil_tmp16 ;
9194 u8 __cil_tmp17 ;
9195 int __cil_tmp18 ;
9196 u32 __cil_tmp19 ;
9197 u32 __cil_tmp20 ;
9198
9199 {
9200#line 100
9201 __cil_tmp13 = (unsigned long )budget;
9202#line 100
9203 __cil_tmp14 = __cil_tmp13 + 256;
9204#line 100
9205 dev = *((struct saa7146_dev **)__cil_tmp14);
9206 {
9207#line 103
9208 while (1) {
9209 while_continue: ;
9210#line 103
9211 if (budget_debug & 2) {
9212 {
9213#line 103
9214 printk("%s: %s(): ", "budget", "SendDiSEqCMsg");
9215#line 103
9216 printk("budget: %p\n", budget);
9217 }
9218 } else {
9219
9220 }
9221#line 103
9222 goto while_break;
9223 }
9224 while_break: ;
9225 }
9226 {
9227#line 105
9228 __cil_tmp15 = (u32 )64;
9229#line 105
9230 saa7146_setgpio(dev, 3, __cil_tmp15);
9231#line 106
9232 __ms = 16UL;
9233 }
9234 {
9235#line 106
9236 while (1) {
9237 while_continue___0: ;
9238#line 106
9239 tmp___7 = __ms;
9240#line 106
9241 __ms = __ms - 1UL;
9242#line 106
9243 if (tmp___7) {
9244
9245 } else {
9246#line 106
9247 goto while_break___0;
9248 }
9249 {
9250#line 106
9251 __const_udelay(4295000UL);
9252 }
9253 }
9254 while_break___0: ;
9255 }
9256#line 108
9257 i = 0;
9258 {
9259#line 108
9260 while (1) {
9261 while_continue___1: ;
9262#line 108
9263 if (i < len) {
9264
9265 } else {
9266#line 108
9267 goto while_break___1;
9268 }
9269 {
9270#line 109
9271 __cil_tmp16 = msg + i;
9272#line 109
9273 __cil_tmp17 = *__cil_tmp16;
9274#line 109
9275 __cil_tmp18 = (int )__cil_tmp17;
9276#line 109
9277 DiseqcSendByte(budget, __cil_tmp18);
9278#line 108
9279 i = i + 1;
9280 }
9281 }
9282 while_break___1: ;
9283 }
9284#line 111
9285 __ms___0 = 16UL;
9286 {
9287#line 111
9288 while (1) {
9289 while_continue___2: ;
9290#line 111
9291 tmp___8 = __ms___0;
9292#line 111
9293 __ms___0 = __ms___0 - 1UL;
9294#line 111
9295 if (tmp___8) {
9296
9297 } else {
9298#line 111
9299 goto while_break___2;
9300 }
9301 {
9302#line 111
9303 __const_udelay(4295000UL);
9304 }
9305 }
9306 while_break___2: ;
9307 }
9308#line 113
9309 if (burst != 0xffffffffffffffffUL) {
9310#line 114
9311 if (burst) {
9312 {
9313#line 115
9314 DiseqcSendByte(budget, 255);
9315 }
9316 } else {
9317 {
9318#line 117
9319 __cil_tmp19 = (u32 )80;
9320#line 117
9321 saa7146_setgpio(dev, 3, __cil_tmp19);
9322#line 118
9323 __ms___1 = 12UL;
9324 }
9325 {
9326#line 118
9327 while (1) {
9328 while_continue___3: ;
9329#line 118
9330 tmp___9 = __ms___1;
9331#line 118
9332 __ms___1 = __ms___1 - 1UL;
9333#line 118
9334 if (tmp___9) {
9335
9336 } else {
9337#line 118
9338 goto while_break___3;
9339 }
9340 {
9341#line 118
9342 __const_udelay(4295000UL);
9343 }
9344 }
9345 while_break___3: ;
9346 }
9347 {
9348#line 119
9349 __const_udelay(2147500UL);
9350#line 120
9351 __cil_tmp20 = (u32 )64;
9352#line 120
9353 saa7146_setgpio(dev, 3, __cil_tmp20);
9354 }
9355 }
9356 {
9357#line 122
9358 msleep(20U);
9359 }
9360 } else {
9361
9362 }
9363#line 125
9364 return (0);
9365}
9366}
9367#line 134 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9368static int SetVoltage_Activy(struct budget *budget , fe_sec_voltage_t voltage )
9369{ struct saa7146_dev *dev ;
9370 unsigned long __cil_tmp4 ;
9371 unsigned long __cil_tmp5 ;
9372 u32 __cil_tmp6 ;
9373 u32 __cil_tmp7 ;
9374 u32 __cil_tmp8 ;
9375 u32 __cil_tmp9 ;
9376 u32 __cil_tmp10 ;
9377
9378 {
9379#line 136
9380 __cil_tmp4 = (unsigned long )budget;
9381#line 136
9382 __cil_tmp5 = __cil_tmp4 + 256;
9383#line 136
9384 dev = *((struct saa7146_dev **)__cil_tmp5);
9385 {
9386#line 138
9387 while (1) {
9388 while_continue: ;
9389#line 138
9390 if (budget_debug & 2) {
9391 {
9392#line 138
9393 printk("%s: %s(): ", "budget", "SetVoltage_Activy");
9394#line 138
9395 printk("budget: %p\n", budget);
9396 }
9397 } else {
9398
9399 }
9400#line 138
9401 goto while_break;
9402 }
9403 while_break: ;
9404 }
9405#line 141
9406 if ((int )voltage == 0) {
9407#line 141
9408 goto case_0;
9409 } else
9410#line 145
9411 if ((int )voltage == 1) {
9412#line 145
9413 goto case_1;
9414 } else
9415#line 149
9416 if ((int )voltage == 2) {
9417#line 149
9418 goto case_2;
9419 } else {
9420 {
9421#line 152
9422 goto switch_default;
9423#line 140
9424 if (0) {
9425 case_0:
9426 {
9427#line 142
9428 __cil_tmp6 = (u32 )80;
9429#line 142
9430 saa7146_setgpio(dev, 1, __cil_tmp6);
9431#line 143
9432 __cil_tmp7 = (u32 )64;
9433#line 143
9434 saa7146_setgpio(dev, 2, __cil_tmp7);
9435 }
9436#line 144
9437 goto switch_break;
9438 case_1:
9439 {
9440#line 146
9441 __cil_tmp8 = (u32 )80;
9442#line 146
9443 saa7146_setgpio(dev, 1, __cil_tmp8);
9444#line 147
9445 __cil_tmp9 = (u32 )80;
9446#line 147
9447 saa7146_setgpio(dev, 2, __cil_tmp9);
9448 }
9449#line 148
9450 goto switch_break;
9451 case_2:
9452 {
9453#line 150
9454 __cil_tmp10 = (u32 )64;
9455#line 150
9456 saa7146_setgpio(dev, 1, __cil_tmp10);
9457 }
9458#line 151
9459 goto switch_break;
9460 switch_default:
9461#line 153
9462 return (-22);
9463 } else {
9464 switch_break: ;
9465 }
9466 }
9467 }
9468#line 156
9469 return (0);
9470}
9471}
9472#line 159 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9473static int siemens_budget_set_voltage(struct dvb_frontend *fe , fe_sec_voltage_t voltage )
9474{ struct budget *budget ;
9475 int tmp___7 ;
9476 unsigned long __cil_tmp5 ;
9477 unsigned long __cil_tmp6 ;
9478 struct dvb_adapter *__cil_tmp7 ;
9479 unsigned long __cil_tmp8 ;
9480 unsigned long __cil_tmp9 ;
9481 void *__cil_tmp10 ;
9482
9483 {
9484 {
9485#line 161
9486 __cil_tmp5 = (unsigned long )fe;
9487#line 161
9488 __cil_tmp6 = __cil_tmp5 + 752;
9489#line 161
9490 __cil_tmp7 = *((struct dvb_adapter **)__cil_tmp6);
9491#line 161
9492 __cil_tmp8 = (unsigned long )__cil_tmp7;
9493#line 161
9494 __cil_tmp9 = __cil_tmp8 + 56;
9495#line 161
9496 __cil_tmp10 = *((void **)__cil_tmp9);
9497#line 161
9498 budget = (struct budget *)__cil_tmp10;
9499#line 163
9500 tmp___7 = SetVoltage_Activy(budget, voltage);
9501 }
9502#line 163
9503 return (tmp___7);
9504}
9505}
9506#line 166 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9507static int budget_set_tone(struct dvb_frontend *fe , fe_sec_tone_mode_t tone )
9508{ struct budget *budget ;
9509 unsigned long __cil_tmp4 ;
9510 unsigned long __cil_tmp5 ;
9511 struct dvb_adapter *__cil_tmp6 ;
9512 unsigned long __cil_tmp7 ;
9513 unsigned long __cil_tmp8 ;
9514 void *__cil_tmp9 ;
9515
9516 {
9517#line 168
9518 __cil_tmp4 = (unsigned long )fe;
9519#line 168
9520 __cil_tmp5 = __cil_tmp4 + 752;
9521#line 168
9522 __cil_tmp6 = *((struct dvb_adapter **)__cil_tmp5);
9523#line 168
9524 __cil_tmp7 = (unsigned long )__cil_tmp6;
9525#line 168
9526 __cil_tmp8 = __cil_tmp7 + 56;
9527#line 168
9528 __cil_tmp9 = *((void **)__cil_tmp8);
9529#line 168
9530 budget = (struct budget *)__cil_tmp9;
9531#line 171
9532 if ((int )tone == 0) {
9533#line 171
9534 goto case_0;
9535 } else
9536#line 175
9537 if ((int )tone == 1) {
9538#line 175
9539 goto case_1;
9540 } else {
9541 {
9542#line 179
9543 goto switch_default;
9544#line 170
9545 if (0) {
9546 case_0:
9547 {
9548#line 172
9549 Set22K(budget, 1);
9550 }
9551#line 173
9552 goto switch_break;
9553 case_1:
9554 {
9555#line 176
9556 Set22K(budget, 0);
9557 }
9558#line 177
9559 goto switch_break;
9560 switch_default:
9561#line 180
9562 return (-22);
9563 } else {
9564 switch_break: ;
9565 }
9566 }
9567 }
9568#line 183
9569 return (0);
9570}
9571}
9572#line 186 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9573static int budget_diseqc_send_master_cmd(struct dvb_frontend *fe , struct dvb_diseqc_master_cmd *cmd )
9574{ struct budget *budget ;
9575 unsigned long __cil_tmp4 ;
9576 unsigned long __cil_tmp5 ;
9577 struct dvb_adapter *__cil_tmp6 ;
9578 unsigned long __cil_tmp7 ;
9579 unsigned long __cil_tmp8 ;
9580 void *__cil_tmp9 ;
9581 unsigned long __cil_tmp10 ;
9582 unsigned long __cil_tmp11 ;
9583 __u8 __cil_tmp12 ;
9584 int __cil_tmp13 ;
9585 unsigned long __cil_tmp14 ;
9586 unsigned long __cil_tmp15 ;
9587 unsigned long __cil_tmp16 ;
9588 unsigned long __cil_tmp17 ;
9589 __u8 *__cil_tmp18 ;
9590
9591 {
9592 {
9593#line 188
9594 __cil_tmp4 = (unsigned long )fe;
9595#line 188
9596 __cil_tmp5 = __cil_tmp4 + 752;
9597#line 188
9598 __cil_tmp6 = *((struct dvb_adapter **)__cil_tmp5);
9599#line 188
9600 __cil_tmp7 = (unsigned long )__cil_tmp6;
9601#line 188
9602 __cil_tmp8 = __cil_tmp7 + 56;
9603#line 188
9604 __cil_tmp9 = *((void **)__cil_tmp8);
9605#line 188
9606 budget = (struct budget *)__cil_tmp9;
9607#line 190
9608 __cil_tmp10 = (unsigned long )cmd;
9609#line 190
9610 __cil_tmp11 = __cil_tmp10 + 6;
9611#line 190
9612 __cil_tmp12 = *((__u8 *)__cil_tmp11);
9613#line 190
9614 __cil_tmp13 = (int )__cil_tmp12;
9615#line 190
9616 __cil_tmp14 = 0 * 1UL;
9617#line 190
9618 __cil_tmp15 = 0 + __cil_tmp14;
9619#line 190
9620 __cil_tmp16 = (unsigned long )cmd;
9621#line 190
9622 __cil_tmp17 = __cil_tmp16 + __cil_tmp15;
9623#line 190
9624 __cil_tmp18 = (__u8 *)__cil_tmp17;
9625#line 190
9626 SendDiSEqCMsg(budget, __cil_tmp13, __cil_tmp18, 0UL);
9627 }
9628#line 192
9629 return (0);
9630}
9631}
9632#line 195 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9633static int budget_diseqc_send_burst(struct dvb_frontend *fe , fe_sec_mini_cmd_t minicmd )
9634{ struct budget *budget ;
9635 unsigned long __cil_tmp4 ;
9636 unsigned long __cil_tmp5 ;
9637 struct dvb_adapter *__cil_tmp6 ;
9638 unsigned long __cil_tmp7 ;
9639 unsigned long __cil_tmp8 ;
9640 void *__cil_tmp9 ;
9641 void *__cil_tmp10 ;
9642 u8 *__cil_tmp11 ;
9643 unsigned long __cil_tmp12 ;
9644
9645 {
9646 {
9647#line 197
9648 __cil_tmp4 = (unsigned long )fe;
9649#line 197
9650 __cil_tmp5 = __cil_tmp4 + 752;
9651#line 197
9652 __cil_tmp6 = *((struct dvb_adapter **)__cil_tmp5);
9653#line 197
9654 __cil_tmp7 = (unsigned long )__cil_tmp6;
9655#line 197
9656 __cil_tmp8 = __cil_tmp7 + 56;
9657#line 197
9658 __cil_tmp9 = *((void **)__cil_tmp8);
9659#line 197
9660 budget = (struct budget *)__cil_tmp9;
9661#line 199
9662 __cil_tmp10 = (void *)0;
9663#line 199
9664 __cil_tmp11 = (u8 *)__cil_tmp10;
9665#line 199
9666 __cil_tmp12 = (unsigned long )minicmd;
9667#line 199
9668 SendDiSEqCMsg(budget, 0, __cil_tmp11, __cil_tmp12);
9669 }
9670#line 201
9671 return (0);
9672}
9673}
9674#line 204 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9675static int alps_bsrv2_tuner_set_params(struct dvb_frontend *fe )
9676{ struct dtv_frontend_properties *c ;
9677 struct budget *budget ;
9678 u8 pwr ;
9679 u8 buf[4] ;
9680 struct i2c_msg msg ;
9681 u32 div ;
9682 int tmp___7 ;
9683 unsigned long __cil_tmp9 ;
9684 unsigned long __cil_tmp10 ;
9685 unsigned long __cil_tmp11 ;
9686 unsigned long __cil_tmp12 ;
9687 struct dvb_adapter *__cil_tmp13 ;
9688 unsigned long __cil_tmp14 ;
9689 unsigned long __cil_tmp15 ;
9690 void *__cil_tmp16 ;
9691 struct i2c_msg *__cil_tmp17 ;
9692 unsigned long __cil_tmp18 ;
9693 unsigned long __cil_tmp19 ;
9694 unsigned long __cil_tmp20 ;
9695 unsigned long __cil_tmp21 ;
9696 unsigned long __cil_tmp22 ;
9697 unsigned long __cil_tmp23 ;
9698 unsigned long __cil_tmp24 ;
9699 u32 __cil_tmp25 ;
9700 u32 __cil_tmp26 ;
9701 unsigned long __cil_tmp27 ;
9702 unsigned long __cil_tmp28 ;
9703 u32 __cil_tmp29 ;
9704 unsigned long __cil_tmp30 ;
9705 unsigned long __cil_tmp31 ;
9706 u32 __cil_tmp32 ;
9707 unsigned long __cil_tmp33 ;
9708 unsigned long __cil_tmp34 ;
9709 u32 __cil_tmp35 ;
9710 unsigned long __cil_tmp36 ;
9711 unsigned long __cil_tmp37 ;
9712 u32 __cil_tmp38 ;
9713 unsigned long __cil_tmp39 ;
9714 unsigned long __cil_tmp40 ;
9715 u32 __cil_tmp41 ;
9716 unsigned long __cil_tmp42 ;
9717 unsigned long __cil_tmp43 ;
9718 u32 __cil_tmp44 ;
9719 unsigned int __cil_tmp45 ;
9720 unsigned long __cil_tmp46 ;
9721 unsigned long __cil_tmp47 ;
9722 unsigned int __cil_tmp48 ;
9723 unsigned long __cil_tmp49 ;
9724 unsigned long __cil_tmp50 ;
9725 unsigned int __cil_tmp51 ;
9726 unsigned int __cil_tmp52 ;
9727 unsigned int __cil_tmp53 ;
9728 unsigned long __cil_tmp54 ;
9729 unsigned long __cil_tmp55 ;
9730 int __cil_tmp56 ;
9731 int __cil_tmp57 ;
9732 int __cil_tmp58 ;
9733 unsigned long __cil_tmp59 ;
9734 unsigned long __cil_tmp60 ;
9735 unsigned long __cil_tmp61 ;
9736 unsigned long __cil_tmp62 ;
9737 unsigned long __cil_tmp63 ;
9738 unsigned long __cil_tmp64 ;
9739 int (*__cil_tmp65)(struct dvb_frontend *fe , int enable ) ;
9740 unsigned long __cil_tmp66 ;
9741 unsigned long __cil_tmp67 ;
9742 struct i2c_adapter *__cil_tmp68 ;
9743
9744 {
9745#line 206
9746 __cil_tmp9 = (unsigned long )fe;
9747#line 206
9748 __cil_tmp10 = __cil_tmp9 + 800;
9749#line 206
9750 c = (struct dtv_frontend_properties *)__cil_tmp10;
9751#line 207
9752 __cil_tmp11 = (unsigned long )fe;
9753#line 207
9754 __cil_tmp12 = __cil_tmp11 + 752;
9755#line 207
9756 __cil_tmp13 = *((struct dvb_adapter **)__cil_tmp12);
9757#line 207
9758 __cil_tmp14 = (unsigned long )__cil_tmp13;
9759#line 207
9760 __cil_tmp15 = __cil_tmp14 + 56;
9761#line 207
9762 __cil_tmp16 = *((void **)__cil_tmp15);
9763#line 207
9764 budget = (struct budget *)__cil_tmp16;
9765#line 208
9766 pwr = (u8 )0;
9767#line 210
9768 __cil_tmp17 = & msg;
9769#line 210
9770 *((__u16 *)__cil_tmp17) = (__u16 )97;
9771#line 210
9772 __cil_tmp18 = (unsigned long )(& msg) + 2;
9773#line 210
9774 *((__u16 *)__cil_tmp18) = (__u16 )0;
9775#line 210
9776 __cil_tmp19 = (unsigned long )(& msg) + 4;
9777#line 210
9778 *((__u16 *)__cil_tmp19) = (__u16 )4UL;
9779#line 210
9780 __cil_tmp20 = (unsigned long )(& msg) + 8;
9781#line 210
9782 __cil_tmp21 = 0 * 1UL;
9783#line 210
9784 __cil_tmp22 = (unsigned long )(buf) + __cil_tmp21;
9785#line 210
9786 *((__u8 **)__cil_tmp20) = (u8 *)__cil_tmp22;
9787#line 211
9788 __cil_tmp23 = (unsigned long )c;
9789#line 211
9790 __cil_tmp24 = __cil_tmp23 + 4;
9791#line 211
9792 __cil_tmp25 = *((u32 *)__cil_tmp24);
9793#line 211
9794 __cil_tmp26 = __cil_tmp25 + 479500U;
9795#line 211
9796 div = __cil_tmp26 / 125U;
9797 {
9798#line 213
9799 __cil_tmp27 = (unsigned long )c;
9800#line 213
9801 __cil_tmp28 = __cil_tmp27 + 4;
9802#line 213
9803 __cil_tmp29 = *((u32 *)__cil_tmp28);
9804#line 213
9805 if (__cil_tmp29 > 2000000U) {
9806#line 214
9807 pwr = (u8 )3;
9808 } else {
9809 {
9810#line 215
9811 __cil_tmp30 = (unsigned long )c;
9812#line 215
9813 __cil_tmp31 = __cil_tmp30 + 4;
9814#line 215
9815 __cil_tmp32 = *((u32 *)__cil_tmp31);
9816#line 215
9817 if (__cil_tmp32 > 1800000U) {
9818#line 216
9819 pwr = (u8 )2;
9820 } else {
9821 {
9822#line 217
9823 __cil_tmp33 = (unsigned long )c;
9824#line 217
9825 __cil_tmp34 = __cil_tmp33 + 4;
9826#line 217
9827 __cil_tmp35 = *((u32 *)__cil_tmp34);
9828#line 217
9829 if (__cil_tmp35 > 1600000U) {
9830#line 218
9831 pwr = (u8 )1;
9832 } else {
9833 {
9834#line 219
9835 __cil_tmp36 = (unsigned long )c;
9836#line 219
9837 __cil_tmp37 = __cil_tmp36 + 4;
9838#line 219
9839 __cil_tmp38 = *((u32 *)__cil_tmp37);
9840#line 219
9841 if (__cil_tmp38 > 1200000U) {
9842#line 220
9843 pwr = (u8 )0;
9844 } else {
9845 {
9846#line 221
9847 __cil_tmp39 = (unsigned long )c;
9848#line 221
9849 __cil_tmp40 = __cil_tmp39 + 4;
9850#line 221
9851 __cil_tmp41 = *((u32 *)__cil_tmp40);
9852#line 221
9853 if (__cil_tmp41 >= 1100000U) {
9854#line 222
9855 pwr = (u8 )1;
9856 } else {
9857#line 223
9858 pwr = (u8 )2;
9859 }
9860 }
9861 }
9862 }
9863 }
9864 }
9865 }
9866 }
9867 }
9868 }
9869#line 225
9870 __cil_tmp42 = 0 * 1UL;
9871#line 225
9872 __cil_tmp43 = (unsigned long )(buf) + __cil_tmp42;
9873#line 225
9874 __cil_tmp44 = div >> 8;
9875#line 225
9876 __cil_tmp45 = __cil_tmp44 & 127U;
9877#line 225
9878 *((u8 *)__cil_tmp43) = (u8 )__cil_tmp45;
9879#line 226
9880 __cil_tmp46 = 1 * 1UL;
9881#line 226
9882 __cil_tmp47 = (unsigned long )(buf) + __cil_tmp46;
9883#line 226
9884 __cil_tmp48 = div & 255U;
9885#line 226
9886 *((u8 *)__cil_tmp47) = (u8 )__cil_tmp48;
9887#line 227
9888 __cil_tmp49 = 2 * 1UL;
9889#line 227
9890 __cil_tmp50 = (unsigned long )(buf) + __cil_tmp49;
9891#line 227
9892 __cil_tmp51 = div & 98304U;
9893#line 227
9894 __cil_tmp52 = __cil_tmp51 >> 10;
9895#line 227
9896 __cil_tmp53 = __cil_tmp52 | 149U;
9897#line 227
9898 *((u8 *)__cil_tmp50) = (u8 )__cil_tmp53;
9899#line 228
9900 __cil_tmp54 = 3 * 1UL;
9901#line 228
9902 __cil_tmp55 = (unsigned long )(buf) + __cil_tmp54;
9903#line 228
9904 __cil_tmp56 = (int )pwr;
9905#line 228
9906 __cil_tmp57 = __cil_tmp56 << 6;
9907#line 228
9908 __cil_tmp58 = __cil_tmp57 | 48;
9909#line 228
9910 *((u8 *)__cil_tmp55) = (u8 )__cil_tmp58;
9911 {
9912#line 233
9913 __cil_tmp59 = 0 + 360;
9914#line 233
9915 __cil_tmp60 = (unsigned long )fe;
9916#line 233
9917 __cil_tmp61 = __cil_tmp60 + __cil_tmp59;
9918#line 233
9919 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp61)) {
9920 {
9921#line 234
9922 __cil_tmp62 = 0 + 360;
9923#line 234
9924 __cil_tmp63 = (unsigned long )fe;
9925#line 234
9926 __cil_tmp64 = __cil_tmp63 + __cil_tmp62;
9927#line 234
9928 __cil_tmp65 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp64);
9929#line 234
9930 (*__cil_tmp65)(fe, 1);
9931 }
9932 } else {
9933
9934 }
9935 }
9936 {
9937#line 235
9938 __cil_tmp66 = (unsigned long )budget;
9939#line 235
9940 __cil_tmp67 = __cil_tmp66 + 264;
9941#line 235
9942 __cil_tmp68 = (struct i2c_adapter *)__cil_tmp67;
9943#line 235
9944 tmp___7 = i2c_transfer(__cil_tmp68, & msg, 1);
9945 }
9946#line 235
9947 if (tmp___7 != 1) {
9948#line 235
9949 return (-5);
9950 } else {
9951
9952 }
9953#line 236
9954 return (0);
9955}
9956}
9957#line 239 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9958static struct ves1x93_config alps_bsrv2_config = {(u8 )8, (u32 )90100000UL, (u8 )0};
9959#line 246 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
9960static int alps_tdbe2_tuner_set_params(struct dvb_frontend *fe )
9961{ struct dtv_frontend_properties *c ;
9962 struct budget *budget ;
9963 u32 div ;
9964 u8 data[4] ;
9965 struct i2c_msg msg ;
9966 int tmp___7 ;
9967 int tmp___8 ;
9968 unsigned long __cil_tmp9 ;
9969 unsigned long __cil_tmp10 ;
9970 unsigned long __cil_tmp11 ;
9971 unsigned long __cil_tmp12 ;
9972 struct dvb_adapter *__cil_tmp13 ;
9973 unsigned long __cil_tmp14 ;
9974 unsigned long __cil_tmp15 ;
9975 void *__cil_tmp16 ;
9976 struct i2c_msg *__cil_tmp17 ;
9977 unsigned long __cil_tmp18 ;
9978 unsigned long __cil_tmp19 ;
9979 unsigned long __cil_tmp20 ;
9980 unsigned long __cil_tmp21 ;
9981 unsigned long __cil_tmp22 ;
9982 unsigned long __cil_tmp23 ;
9983 unsigned long __cil_tmp24 ;
9984 u32 __cil_tmp25 ;
9985 u32 __cil_tmp26 ;
9986 u32 __cil_tmp27 ;
9987 unsigned long __cil_tmp28 ;
9988 unsigned long __cil_tmp29 ;
9989 u32 __cil_tmp30 ;
9990 unsigned int __cil_tmp31 ;
9991 unsigned long __cil_tmp32 ;
9992 unsigned long __cil_tmp33 ;
9993 unsigned int __cil_tmp34 ;
9994 unsigned long __cil_tmp35 ;
9995 unsigned long __cil_tmp36 ;
9996 u32 __cil_tmp37 ;
9997 unsigned int __cil_tmp38 ;
9998 unsigned int __cil_tmp39 ;
9999 unsigned long __cil_tmp40 ;
10000 unsigned long __cil_tmp41 ;
10001 u32 __cil_tmp42 ;
10002 unsigned long __cil_tmp43 ;
10003 unsigned long __cil_tmp44 ;
10004 unsigned long __cil_tmp45 ;
10005 unsigned long __cil_tmp46 ;
10006 u32 __cil_tmp47 ;
10007 unsigned long __cil_tmp48 ;
10008 unsigned long __cil_tmp49 ;
10009 unsigned long __cil_tmp50 ;
10010 unsigned long __cil_tmp51 ;
10011 unsigned long __cil_tmp52 ;
10012 unsigned long __cil_tmp53 ;
10013 unsigned long __cil_tmp54 ;
10014 unsigned long __cil_tmp55 ;
10015 int (*__cil_tmp56)(struct dvb_frontend *fe , int enable ) ;
10016 unsigned long __cil_tmp57 ;
10017 unsigned long __cil_tmp58 ;
10018 struct i2c_adapter *__cil_tmp59 ;
10019
10020 {
10021#line 248
10022 __cil_tmp9 = (unsigned long )fe;
10023#line 248
10024 __cil_tmp10 = __cil_tmp9 + 800;
10025#line 248
10026 c = (struct dtv_frontend_properties *)__cil_tmp10;
10027#line 249
10028 __cil_tmp11 = (unsigned long )fe;
10029#line 249
10030 __cil_tmp12 = __cil_tmp11 + 752;
10031#line 249
10032 __cil_tmp13 = *((struct dvb_adapter **)__cil_tmp12);
10033#line 249
10034 __cil_tmp14 = (unsigned long )__cil_tmp13;
10035#line 249
10036 __cil_tmp15 = __cil_tmp14 + 56;
10037#line 249
10038 __cil_tmp16 = *((void **)__cil_tmp15);
10039#line 249
10040 budget = (struct budget *)__cil_tmp16;
10041#line 252
10042 __cil_tmp17 = & msg;
10043#line 252
10044 *((__u16 *)__cil_tmp17) = (__u16 )98;
10045#line 252
10046 __cil_tmp18 = (unsigned long )(& msg) + 2;
10047#line 252
10048 *((__u16 *)__cil_tmp18) = (__u16 )0;
10049#line 252
10050 __cil_tmp19 = (unsigned long )(& msg) + 4;
10051#line 252
10052 *((__u16 *)__cil_tmp19) = (__u16 )4UL;
10053#line 252
10054 __cil_tmp20 = (unsigned long )(& msg) + 8;
10055#line 252
10056 __cil_tmp21 = 0 * 1UL;
10057#line 252
10058 __cil_tmp22 = (unsigned long )(data) + __cil_tmp21;
10059#line 252
10060 *((__u8 **)__cil_tmp20) = (u8 *)__cil_tmp22;
10061#line 254
10062 __cil_tmp23 = (unsigned long )c;
10063#line 254
10064 __cil_tmp24 = __cil_tmp23 + 4;
10065#line 254
10066 __cil_tmp25 = *((u32 *)__cil_tmp24);
10067#line 254
10068 __cil_tmp26 = __cil_tmp25 + 35937500U;
10069#line 254
10070 __cil_tmp27 = __cil_tmp26 + 31250U;
10071#line 254
10072 div = __cil_tmp27 / 62500U;
10073#line 256
10074 __cil_tmp28 = 0 * 1UL;
10075#line 256
10076 __cil_tmp29 = (unsigned long )(data) + __cil_tmp28;
10077#line 256
10078 __cil_tmp30 = div >> 8;
10079#line 256
10080 __cil_tmp31 = __cil_tmp30 & 127U;
10081#line 256
10082 *((u8 *)__cil_tmp29) = (u8 )__cil_tmp31;
10083#line 257
10084 __cil_tmp32 = 1 * 1UL;
10085#line 257
10086 __cil_tmp33 = (unsigned long )(data) + __cil_tmp32;
10087#line 257
10088 __cil_tmp34 = div & 255U;
10089#line 257
10090 *((u8 *)__cil_tmp33) = (u8 )__cil_tmp34;
10091#line 258
10092 __cil_tmp35 = 2 * 1UL;
10093#line 258
10094 __cil_tmp36 = (unsigned long )(data) + __cil_tmp35;
10095#line 258
10096 __cil_tmp37 = div >> 10;
10097#line 258
10098 __cil_tmp38 = __cil_tmp37 & 96U;
10099#line 258
10100 __cil_tmp39 = 133U | __cil_tmp38;
10101#line 258
10102 *((u8 *)__cil_tmp36) = (u8 )__cil_tmp39;
10103 {
10104#line 259
10105 __cil_tmp40 = (unsigned long )c;
10106#line 259
10107 __cil_tmp41 = __cil_tmp40 + 4;
10108#line 259
10109 __cil_tmp42 = *((u32 *)__cil_tmp41);
10110#line 259
10111 if (__cil_tmp42 < 174000000U) {
10112#line 259
10113 __cil_tmp43 = 3 * 1UL;
10114#line 259
10115 __cil_tmp44 = (unsigned long )(data) + __cil_tmp43;
10116#line 259
10117 *((u8 *)__cil_tmp44) = (u8 )136;
10118 } else {
10119 {
10120#line 259
10121 __cil_tmp45 = (unsigned long )c;
10122#line 259
10123 __cil_tmp46 = __cil_tmp45 + 4;
10124#line 259
10125 __cil_tmp47 = *((u32 *)__cil_tmp46);
10126#line 259
10127 if (__cil_tmp47 < 470000000U) {
10128#line 259
10129 tmp___7 = 132;
10130 } else {
10131#line 259
10132 tmp___7 = 129;
10133 }
10134 }
10135#line 259
10136 __cil_tmp48 = 3 * 1UL;
10137#line 259
10138 __cil_tmp49 = (unsigned long )(data) + __cil_tmp48;
10139#line 259
10140 *((u8 *)__cil_tmp49) = (u8 )tmp___7;
10141 }
10142 }
10143 {
10144#line 261
10145 __cil_tmp50 = 0 + 360;
10146#line 261
10147 __cil_tmp51 = (unsigned long )fe;
10148#line 261
10149 __cil_tmp52 = __cil_tmp51 + __cil_tmp50;
10150#line 261
10151 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp52)) {
10152 {
10153#line 262
10154 __cil_tmp53 = 0 + 360;
10155#line 262
10156 __cil_tmp54 = (unsigned long )fe;
10157#line 262
10158 __cil_tmp55 = __cil_tmp54 + __cil_tmp53;
10159#line 262
10160 __cil_tmp56 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp55);
10161#line 262
10162 (*__cil_tmp56)(fe, 1);
10163 }
10164 } else {
10165
10166 }
10167 }
10168 {
10169#line 263
10170 __cil_tmp57 = (unsigned long )budget;
10171#line 263
10172 __cil_tmp58 = __cil_tmp57 + 264;
10173#line 263
10174 __cil_tmp59 = (struct i2c_adapter *)__cil_tmp58;
10175#line 263
10176 tmp___8 = i2c_transfer(__cil_tmp59, & msg, 1);
10177 }
10178#line 263
10179 if (tmp___8 != 1) {
10180#line 263
10181 return (-5);
10182 } else {
10183
10184 }
10185#line 264
10186 return (0);
10187}
10188}
10189#line 267 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10190static struct ves1820_config alps_tdbe2_config = {(u8 )9, (u32 )57840000UL, (u8 )1, (u8 )1};
10191#line 274 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10192static int grundig_29504_401_tuner_set_params(struct dvb_frontend *fe )
10193{ struct dtv_frontend_properties *c ;
10194 struct budget *budget ;
10195 u8 *tuner_addr ;
10196 u32 div ;
10197 u8 cfg ;
10198 u8 cpump ;
10199 u8 band_select ;
10200 u8 data[4] ;
10201 struct i2c_msg msg ;
10202 int tmp___7 ;
10203 unsigned long __cil_tmp12 ;
10204 unsigned long __cil_tmp13 ;
10205 unsigned long __cil_tmp14 ;
10206 unsigned long __cil_tmp15 ;
10207 struct dvb_adapter *__cil_tmp16 ;
10208 unsigned long __cil_tmp17 ;
10209 unsigned long __cil_tmp18 ;
10210 void *__cil_tmp19 ;
10211 unsigned long __cil_tmp20 ;
10212 unsigned long __cil_tmp21 ;
10213 void *__cil_tmp22 ;
10214 struct i2c_msg *__cil_tmp23 ;
10215 unsigned long __cil_tmp24 ;
10216 unsigned long __cil_tmp25 ;
10217 unsigned long __cil_tmp26 ;
10218 unsigned long __cil_tmp27 ;
10219 unsigned long __cil_tmp28 ;
10220 struct i2c_msg *__cil_tmp29 ;
10221 u8 __cil_tmp30 ;
10222 struct i2c_msg *__cil_tmp31 ;
10223 unsigned long __cil_tmp32 ;
10224 unsigned long __cil_tmp33 ;
10225 u32 __cil_tmp34 ;
10226 u32 __cil_tmp35 ;
10227 unsigned long __cil_tmp36 ;
10228 unsigned long __cil_tmp37 ;
10229 u32 __cil_tmp38 ;
10230 unsigned long __cil_tmp39 ;
10231 unsigned long __cil_tmp40 ;
10232 u32 __cil_tmp41 ;
10233 unsigned long __cil_tmp42 ;
10234 unsigned long __cil_tmp43 ;
10235 u32 __cil_tmp44 ;
10236 unsigned long __cil_tmp45 ;
10237 unsigned long __cil_tmp46 ;
10238 u32 __cil_tmp47 ;
10239 unsigned long __cil_tmp48 ;
10240 unsigned long __cil_tmp49 ;
10241 u32 __cil_tmp50 ;
10242 unsigned long __cil_tmp51 ;
10243 unsigned long __cil_tmp52 ;
10244 u32 __cil_tmp53 ;
10245 unsigned long __cil_tmp54 ;
10246 unsigned long __cil_tmp55 ;
10247 u32 __cil_tmp56 ;
10248 unsigned int __cil_tmp57 ;
10249 unsigned long __cil_tmp58 ;
10250 unsigned long __cil_tmp59 ;
10251 unsigned int __cil_tmp60 ;
10252 unsigned long __cil_tmp61 ;
10253 unsigned long __cil_tmp62 ;
10254 unsigned int __cil_tmp63 ;
10255 u32 __cil_tmp64 ;
10256 unsigned int __cil_tmp65 ;
10257 unsigned int __cil_tmp66 ;
10258 unsigned long __cil_tmp67 ;
10259 unsigned long __cil_tmp68 ;
10260 int __cil_tmp69 ;
10261 int __cil_tmp70 ;
10262 int __cil_tmp71 ;
10263 int __cil_tmp72 ;
10264 unsigned long __cil_tmp73 ;
10265 unsigned long __cil_tmp74 ;
10266 unsigned long __cil_tmp75 ;
10267 unsigned long __cil_tmp76 ;
10268 unsigned long __cil_tmp77 ;
10269 unsigned long __cil_tmp78 ;
10270 int (*__cil_tmp79)(struct dvb_frontend *fe , int enable ) ;
10271 unsigned long __cil_tmp80 ;
10272 unsigned long __cil_tmp81 ;
10273 struct i2c_adapter *__cil_tmp82 ;
10274
10275 {
10276#line 276
10277 __cil_tmp12 = (unsigned long )fe;
10278#line 276
10279 __cil_tmp13 = __cil_tmp12 + 800;
10280#line 276
10281 c = (struct dtv_frontend_properties *)__cil_tmp13;
10282#line 277
10283 __cil_tmp14 = (unsigned long )fe;
10284#line 277
10285 __cil_tmp15 = __cil_tmp14 + 752;
10286#line 277
10287 __cil_tmp16 = *((struct dvb_adapter **)__cil_tmp15);
10288#line 277
10289 __cil_tmp17 = (unsigned long )__cil_tmp16;
10290#line 277
10291 __cil_tmp18 = __cil_tmp17 + 56;
10292#line 277
10293 __cil_tmp19 = *((void **)__cil_tmp18);
10294#line 277
10295 budget = (struct budget *)__cil_tmp19;
10296#line 278
10297 __cil_tmp20 = (unsigned long )fe;
10298#line 278
10299 __cil_tmp21 = __cil_tmp20 + 768;
10300#line 278
10301 __cil_tmp22 = *((void **)__cil_tmp21);
10302#line 278
10303 tuner_addr = (u8 *)__cil_tmp22;
10304#line 282
10305 __cil_tmp23 = & msg;
10306#line 282
10307 *((__u16 *)__cil_tmp23) = (unsigned short)0;
10308#line 282
10309 __cil_tmp24 = (unsigned long )(& msg) + 2;
10310#line 282
10311 *((__u16 *)__cil_tmp24) = (__u16 )0;
10312#line 282
10313 __cil_tmp25 = (unsigned long )(& msg) + 4;
10314#line 282
10315 *((__u16 *)__cil_tmp25) = (__u16 )4UL;
10316#line 282
10317 __cil_tmp26 = (unsigned long )(& msg) + 8;
10318#line 282
10319 __cil_tmp27 = 0 * 1UL;
10320#line 282
10321 __cil_tmp28 = (unsigned long )(data) + __cil_tmp27;
10322#line 282
10323 *((__u8 **)__cil_tmp26) = (u8 *)__cil_tmp28;
10324#line 284
10325 if (tuner_addr) {
10326#line 285
10327 __cil_tmp29 = & msg;
10328#line 285
10329 __cil_tmp30 = *tuner_addr;
10330#line 285
10331 *((__u16 *)__cil_tmp29) = (__u16 )__cil_tmp30;
10332 } else {
10333#line 287
10334 __cil_tmp31 = & msg;
10335#line 287
10336 *((__u16 *)__cil_tmp31) = (__u16 )97;
10337 }
10338#line 289
10339 __cil_tmp32 = (unsigned long )c;
10340#line 289
10341 __cil_tmp33 = __cil_tmp32 + 4;
10342#line 289
10343 __cil_tmp34 = *((u32 *)__cil_tmp33);
10344#line 289
10345 __cil_tmp35 = 36125000U + __cil_tmp34;
10346#line 289
10347 div = __cil_tmp35 / 166666U;
10348#line 291
10349 cfg = (u8 )136;
10350 {
10351#line 293
10352 __cil_tmp36 = (unsigned long )c;
10353#line 293
10354 __cil_tmp37 = __cil_tmp36 + 4;
10355#line 293
10356 __cil_tmp38 = *((u32 *)__cil_tmp37);
10357#line 293
10358 if (__cil_tmp38 < 175000000U) {
10359#line 294
10360 cpump = (u8 )2;
10361 } else {
10362 {
10363#line 295
10364 __cil_tmp39 = (unsigned long )c;
10365#line 295
10366 __cil_tmp40 = __cil_tmp39 + 4;
10367#line 295
10368 __cil_tmp41 = *((u32 *)__cil_tmp40);
10369#line 295
10370 if (__cil_tmp41 < 390000000U) {
10371#line 296
10372 cpump = (u8 )1;
10373 } else {
10374 {
10375#line 297
10376 __cil_tmp42 = (unsigned long )c;
10377#line 297
10378 __cil_tmp43 = __cil_tmp42 + 4;
10379#line 297
10380 __cil_tmp44 = *((u32 *)__cil_tmp43);
10381#line 297
10382 if (__cil_tmp44 < 470000000U) {
10383#line 298
10384 cpump = (u8 )2;
10385 } else {
10386 {
10387#line 299
10388 __cil_tmp45 = (unsigned long )c;
10389#line 299
10390 __cil_tmp46 = __cil_tmp45 + 4;
10391#line 299
10392 __cil_tmp47 = *((u32 *)__cil_tmp46);
10393#line 299
10394 if (__cil_tmp47 < 750000000U) {
10395#line 300
10396 cpump = (u8 )1;
10397 } else {
10398#line 302
10399 cpump = (u8 )3;
10400 }
10401 }
10402 }
10403 }
10404 }
10405 }
10406 }
10407 }
10408 {
10409#line 304
10410 __cil_tmp48 = (unsigned long )c;
10411#line 304
10412 __cil_tmp49 = __cil_tmp48 + 4;
10413#line 304
10414 __cil_tmp50 = *((u32 *)__cil_tmp49);
10415#line 304
10416 if (__cil_tmp50 < 175000000U) {
10417#line 305
10418 band_select = (u8 )14;
10419 } else {
10420 {
10421#line 306
10422 __cil_tmp51 = (unsigned long )c;
10423#line 306
10424 __cil_tmp52 = __cil_tmp51 + 4;
10425#line 306
10426 __cil_tmp53 = *((u32 *)__cil_tmp52);
10427#line 306
10428 if (__cil_tmp53 < 470000000U) {
10429#line 307
10430 band_select = (u8 )5;
10431 } else {
10432#line 309
10433 band_select = (u8 )3;
10434 }
10435 }
10436 }
10437 }
10438#line 311
10439 __cil_tmp54 = 0 * 1UL;
10440#line 311
10441 __cil_tmp55 = (unsigned long )(data) + __cil_tmp54;
10442#line 311
10443 __cil_tmp56 = div >> 8;
10444#line 311
10445 __cil_tmp57 = __cil_tmp56 & 127U;
10446#line 311
10447 *((u8 *)__cil_tmp55) = (u8 )__cil_tmp57;
10448#line 312
10449 __cil_tmp58 = 1 * 1UL;
10450#line 312
10451 __cil_tmp59 = (unsigned long )(data) + __cil_tmp58;
10452#line 312
10453 __cil_tmp60 = div & 255U;
10454#line 312
10455 *((u8 *)__cil_tmp59) = (u8 )__cil_tmp60;
10456#line 313
10457 __cil_tmp61 = 2 * 1UL;
10458#line 313
10459 __cil_tmp62 = (unsigned long )(data) + __cil_tmp61;
10460#line 313
10461 __cil_tmp63 = (unsigned int )cfg;
10462#line 313
10463 __cil_tmp64 = div >> 10;
10464#line 313
10465 __cil_tmp65 = __cil_tmp64 & 96U;
10466#line 313
10467 __cil_tmp66 = __cil_tmp65 | __cil_tmp63;
10468#line 313
10469 *((u8 *)__cil_tmp62) = (u8 )__cil_tmp66;
10470#line 314
10471 __cil_tmp67 = 3 * 1UL;
10472#line 314
10473 __cil_tmp68 = (unsigned long )(data) + __cil_tmp67;
10474#line 314
10475 __cil_tmp69 = (int )band_select;
10476#line 314
10477 __cil_tmp70 = (int )cpump;
10478#line 314
10479 __cil_tmp71 = __cil_tmp70 << 6;
10480#line 314
10481 __cil_tmp72 = __cil_tmp71 | __cil_tmp69;
10482#line 314
10483 *((u8 *)__cil_tmp68) = (u8 )__cil_tmp72;
10484 {
10485#line 316
10486 __cil_tmp73 = 0 + 360;
10487#line 316
10488 __cil_tmp74 = (unsigned long )fe;
10489#line 316
10490 __cil_tmp75 = __cil_tmp74 + __cil_tmp73;
10491#line 316
10492 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp75)) {
10493 {
10494#line 317
10495 __cil_tmp76 = 0 + 360;
10496#line 317
10497 __cil_tmp77 = (unsigned long )fe;
10498#line 317
10499 __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
10500#line 317
10501 __cil_tmp79 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp78);
10502#line 317
10503 (*__cil_tmp79)(fe, 1);
10504 }
10505 } else {
10506
10507 }
10508 }
10509 {
10510#line 318
10511 __cil_tmp80 = (unsigned long )budget;
10512#line 318
10513 __cil_tmp81 = __cil_tmp80 + 264;
10514#line 318
10515 __cil_tmp82 = (struct i2c_adapter *)__cil_tmp81;
10516#line 318
10517 tmp___7 = i2c_transfer(__cil_tmp82, & msg, 1);
10518 }
10519#line 318
10520 if (tmp___7 != 1) {
10521#line 318
10522 return (-5);
10523 } else {
10524
10525 }
10526#line 319
10527 return (0);
10528}
10529}
10530#line 322 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10531static struct l64781_config grundig_29504_401_config = {(u8 )85};
10532#line 326 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10533static struct l64781_config grundig_29504_401_config_activy = {(u8 )84};
10534#line 330 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10535static u8 tuner_address_grundig_29504_401_activy = (u8 )96;
10536#line 332 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10537static int grundig_29504_451_tuner_set_params(struct dvb_frontend *fe )
10538{ struct dtv_frontend_properties *c ;
10539 struct budget *budget ;
10540 u32 div ;
10541 u8 data[4] ;
10542 struct i2c_msg msg ;
10543 int tmp___7 ;
10544 unsigned long __cil_tmp8 ;
10545 unsigned long __cil_tmp9 ;
10546 unsigned long __cil_tmp10 ;
10547 unsigned long __cil_tmp11 ;
10548 struct dvb_adapter *__cil_tmp12 ;
10549 unsigned long __cil_tmp13 ;
10550 unsigned long __cil_tmp14 ;
10551 void *__cil_tmp15 ;
10552 struct i2c_msg *__cil_tmp16 ;
10553 unsigned long __cil_tmp17 ;
10554 unsigned long __cil_tmp18 ;
10555 unsigned long __cil_tmp19 ;
10556 unsigned long __cil_tmp20 ;
10557 unsigned long __cil_tmp21 ;
10558 unsigned long __cil_tmp22 ;
10559 unsigned long __cil_tmp23 ;
10560 u32 __cil_tmp24 ;
10561 unsigned long __cil_tmp25 ;
10562 unsigned long __cil_tmp26 ;
10563 u32 __cil_tmp27 ;
10564 unsigned int __cil_tmp28 ;
10565 unsigned long __cil_tmp29 ;
10566 unsigned long __cil_tmp30 ;
10567 unsigned int __cil_tmp31 ;
10568 unsigned long __cil_tmp32 ;
10569 unsigned long __cil_tmp33 ;
10570 unsigned long __cil_tmp34 ;
10571 unsigned long __cil_tmp35 ;
10572 unsigned long __cil_tmp36 ;
10573 unsigned long __cil_tmp37 ;
10574 unsigned long __cil_tmp38 ;
10575 unsigned long __cil_tmp39 ;
10576 unsigned long __cil_tmp40 ;
10577 unsigned long __cil_tmp41 ;
10578 int (*__cil_tmp42)(struct dvb_frontend *fe , int enable ) ;
10579 unsigned long __cil_tmp43 ;
10580 unsigned long __cil_tmp44 ;
10581 struct i2c_adapter *__cil_tmp45 ;
10582
10583 {
10584#line 334
10585 __cil_tmp8 = (unsigned long )fe;
10586#line 334
10587 __cil_tmp9 = __cil_tmp8 + 800;
10588#line 334
10589 c = (struct dtv_frontend_properties *)__cil_tmp9;
10590#line 335
10591 __cil_tmp10 = (unsigned long )fe;
10592#line 335
10593 __cil_tmp11 = __cil_tmp10 + 752;
10594#line 335
10595 __cil_tmp12 = *((struct dvb_adapter **)__cil_tmp11);
10596#line 335
10597 __cil_tmp13 = (unsigned long )__cil_tmp12;
10598#line 335
10599 __cil_tmp14 = __cil_tmp13 + 56;
10600#line 335
10601 __cil_tmp15 = *((void **)__cil_tmp14);
10602#line 335
10603 budget = (struct budget *)__cil_tmp15;
10604#line 338
10605 __cil_tmp16 = & msg;
10606#line 338
10607 *((__u16 *)__cil_tmp16) = (__u16 )97;
10608#line 338
10609 __cil_tmp17 = (unsigned long )(& msg) + 2;
10610#line 338
10611 *((__u16 *)__cil_tmp17) = (__u16 )0;
10612#line 338
10613 __cil_tmp18 = (unsigned long )(& msg) + 4;
10614#line 338
10615 *((__u16 *)__cil_tmp18) = (__u16 )4UL;
10616#line 338
10617 __cil_tmp19 = (unsigned long )(& msg) + 8;
10618#line 338
10619 __cil_tmp20 = 0 * 1UL;
10620#line 338
10621 __cil_tmp21 = (unsigned long )(data) + __cil_tmp20;
10622#line 338
10623 *((__u8 **)__cil_tmp19) = (u8 *)__cil_tmp21;
10624#line 340
10625 __cil_tmp22 = (unsigned long )c;
10626#line 340
10627 __cil_tmp23 = __cil_tmp22 + 4;
10628#line 340
10629 __cil_tmp24 = *((u32 *)__cil_tmp23);
10630#line 340
10631 div = __cil_tmp24 / 125U;
10632#line 341
10633 __cil_tmp25 = 0 * 1UL;
10634#line 341
10635 __cil_tmp26 = (unsigned long )(data) + __cil_tmp25;
10636#line 341
10637 __cil_tmp27 = div >> 8;
10638#line 341
10639 __cil_tmp28 = __cil_tmp27 & 127U;
10640#line 341
10641 *((u8 *)__cil_tmp26) = (u8 )__cil_tmp28;
10642#line 342
10643 __cil_tmp29 = 1 * 1UL;
10644#line 342
10645 __cil_tmp30 = (unsigned long )(data) + __cil_tmp29;
10646#line 342
10647 __cil_tmp31 = div & 255U;
10648#line 342
10649 *((u8 *)__cil_tmp30) = (u8 )__cil_tmp31;
10650#line 343
10651 __cil_tmp32 = 2 * 1UL;
10652#line 343
10653 __cil_tmp33 = (unsigned long )(data) + __cil_tmp32;
10654#line 343
10655 *((u8 *)__cil_tmp33) = (u8 )142;
10656#line 344
10657 __cil_tmp34 = 3 * 1UL;
10658#line 344
10659 __cil_tmp35 = (unsigned long )(data) + __cil_tmp34;
10660#line 344
10661 *((u8 *)__cil_tmp35) = (u8 )0;
10662 {
10663#line 346
10664 __cil_tmp36 = 0 + 360;
10665#line 346
10666 __cil_tmp37 = (unsigned long )fe;
10667#line 346
10668 __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
10669#line 346
10670 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp38)) {
10671 {
10672#line 347
10673 __cil_tmp39 = 0 + 360;
10674#line 347
10675 __cil_tmp40 = (unsigned long )fe;
10676#line 347
10677 __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
10678#line 347
10679 __cil_tmp42 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp41);
10680#line 347
10681 (*__cil_tmp42)(fe, 1);
10682 }
10683 } else {
10684
10685 }
10686 }
10687 {
10688#line 348
10689 __cil_tmp43 = (unsigned long )budget;
10690#line 348
10691 __cil_tmp44 = __cil_tmp43 + 264;
10692#line 348
10693 __cil_tmp45 = (struct i2c_adapter *)__cil_tmp44;
10694#line 348
10695 tmp___7 = i2c_transfer(__cil_tmp45, & msg, 1);
10696 }
10697#line 348
10698 if (tmp___7 != 1) {
10699#line 348
10700 return (-5);
10701 } else {
10702
10703 }
10704#line 349
10705 return (0);
10706}
10707}
10708#line 352 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10709static struct tda8083_config grundig_29504_451_config = {(u8 )104};
10710#line 356 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10711static int s5h1420_tuner_set_params(struct dvb_frontend *fe )
10712{ struct dtv_frontend_properties *c ;
10713 struct budget *budget ;
10714 u32 div ;
10715 u8 data[4] ;
10716 struct i2c_msg msg ;
10717 int tmp___7 ;
10718 unsigned long __cil_tmp8 ;
10719 unsigned long __cil_tmp9 ;
10720 unsigned long __cil_tmp10 ;
10721 unsigned long __cil_tmp11 ;
10722 struct dvb_adapter *__cil_tmp12 ;
10723 unsigned long __cil_tmp13 ;
10724 unsigned long __cil_tmp14 ;
10725 void *__cil_tmp15 ;
10726 struct i2c_msg *__cil_tmp16 ;
10727 unsigned long __cil_tmp17 ;
10728 unsigned long __cil_tmp18 ;
10729 unsigned long __cil_tmp19 ;
10730 unsigned long __cil_tmp20 ;
10731 unsigned long __cil_tmp21 ;
10732 unsigned long __cil_tmp22 ;
10733 unsigned long __cil_tmp23 ;
10734 u32 __cil_tmp24 ;
10735 unsigned long __cil_tmp25 ;
10736 unsigned long __cil_tmp26 ;
10737 u32 __cil_tmp27 ;
10738 unsigned int __cil_tmp28 ;
10739 unsigned long __cil_tmp29 ;
10740 unsigned long __cil_tmp30 ;
10741 unsigned int __cil_tmp31 ;
10742 unsigned long __cil_tmp32 ;
10743 unsigned long __cil_tmp33 ;
10744 unsigned long __cil_tmp34 ;
10745 unsigned long __cil_tmp35 ;
10746 unsigned long __cil_tmp36 ;
10747 unsigned long __cil_tmp37 ;
10748 unsigned long __cil_tmp38 ;
10749 unsigned long __cil_tmp39 ;
10750 unsigned long __cil_tmp40 ;
10751 unsigned long __cil_tmp41 ;
10752 unsigned long __cil_tmp42 ;
10753 unsigned long __cil_tmp43 ;
10754 unsigned long __cil_tmp44 ;
10755 unsigned long __cil_tmp45 ;
10756 unsigned long __cil_tmp46 ;
10757 unsigned long __cil_tmp47 ;
10758 int (*__cil_tmp48)(struct dvb_frontend *fe , int enable ) ;
10759 unsigned long __cil_tmp49 ;
10760 unsigned long __cil_tmp50 ;
10761 struct i2c_adapter *__cil_tmp51 ;
10762
10763 {
10764#line 358
10765 __cil_tmp8 = (unsigned long )fe;
10766#line 358
10767 __cil_tmp9 = __cil_tmp8 + 800;
10768#line 358
10769 c = (struct dtv_frontend_properties *)__cil_tmp9;
10770#line 359
10771 __cil_tmp10 = (unsigned long )fe;
10772#line 359
10773 __cil_tmp11 = __cil_tmp10 + 752;
10774#line 359
10775 __cil_tmp12 = *((struct dvb_adapter **)__cil_tmp11);
10776#line 359
10777 __cil_tmp13 = (unsigned long )__cil_tmp12;
10778#line 359
10779 __cil_tmp14 = __cil_tmp13 + 56;
10780#line 359
10781 __cil_tmp15 = *((void **)__cil_tmp14);
10782#line 359
10783 budget = (struct budget *)__cil_tmp15;
10784#line 362
10785 __cil_tmp16 = & msg;
10786#line 362
10787 *((__u16 *)__cil_tmp16) = (__u16 )97;
10788#line 362
10789 __cil_tmp17 = (unsigned long )(& msg) + 2;
10790#line 362
10791 *((__u16 *)__cil_tmp17) = (__u16 )0;
10792#line 362
10793 __cil_tmp18 = (unsigned long )(& msg) + 4;
10794#line 362
10795 *((__u16 *)__cil_tmp18) = (__u16 )4UL;
10796#line 362
10797 __cil_tmp19 = (unsigned long )(& msg) + 8;
10798#line 362
10799 __cil_tmp20 = 0 * 1UL;
10800#line 362
10801 __cil_tmp21 = (unsigned long )(data) + __cil_tmp20;
10802#line 362
10803 *((__u8 **)__cil_tmp19) = (u8 *)__cil_tmp21;
10804#line 364
10805 __cil_tmp22 = (unsigned long )c;
10806#line 364
10807 __cil_tmp23 = __cil_tmp22 + 4;
10808#line 364
10809 __cil_tmp24 = *((u32 *)__cil_tmp23);
10810#line 364
10811 div = __cil_tmp24 / 1000U;
10812#line 365
10813 __cil_tmp25 = 0 * 1UL;
10814#line 365
10815 __cil_tmp26 = (unsigned long )(data) + __cil_tmp25;
10816#line 365
10817 __cil_tmp27 = div >> 8;
10818#line 365
10819 __cil_tmp28 = __cil_tmp27 & 127U;
10820#line 365
10821 *((u8 *)__cil_tmp26) = (u8 )__cil_tmp28;
10822#line 366
10823 __cil_tmp29 = 1 * 1UL;
10824#line 366
10825 __cil_tmp30 = (unsigned long )(data) + __cil_tmp29;
10826#line 366
10827 __cil_tmp31 = div & 255U;
10828#line 366
10829 *((u8 *)__cil_tmp30) = (u8 )__cil_tmp31;
10830#line 367
10831 __cil_tmp32 = 2 * 1UL;
10832#line 367
10833 __cil_tmp33 = (unsigned long )(data) + __cil_tmp32;
10834#line 367
10835 *((u8 *)__cil_tmp33) = (u8 )194;
10836#line 369
10837 if (div < 1450U) {
10838#line 370
10839 __cil_tmp34 = 3 * 1UL;
10840#line 370
10841 __cil_tmp35 = (unsigned long )(data) + __cil_tmp34;
10842#line 370
10843 *((u8 *)__cil_tmp35) = (u8 )0;
10844 } else
10845#line 371
10846 if (div < 1850U) {
10847#line 372
10848 __cil_tmp36 = 3 * 1UL;
10849#line 372
10850 __cil_tmp37 = (unsigned long )(data) + __cil_tmp36;
10851#line 372
10852 *((u8 *)__cil_tmp37) = (u8 )64;
10853 } else
10854#line 373
10855 if (div < 2000U) {
10856#line 374
10857 __cil_tmp38 = 3 * 1UL;
10858#line 374
10859 __cil_tmp39 = (unsigned long )(data) + __cil_tmp38;
10860#line 374
10861 *((u8 *)__cil_tmp39) = (u8 )128;
10862 } else {
10863#line 376
10864 __cil_tmp40 = 3 * 1UL;
10865#line 376
10866 __cil_tmp41 = (unsigned long )(data) + __cil_tmp40;
10867#line 376
10868 *((u8 *)__cil_tmp41) = (u8 )192;
10869 }
10870 {
10871#line 378
10872 __cil_tmp42 = 0 + 360;
10873#line 378
10874 __cil_tmp43 = (unsigned long )fe;
10875#line 378
10876 __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
10877#line 378
10878 if (*((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp44)) {
10879 {
10880#line 379
10881 __cil_tmp45 = 0 + 360;
10882#line 379
10883 __cil_tmp46 = (unsigned long )fe;
10884#line 379
10885 __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
10886#line 379
10887 __cil_tmp48 = *((int (**)(struct dvb_frontend *fe , int enable ))__cil_tmp47);
10888#line 379
10889 (*__cil_tmp48)(fe, 1);
10890 }
10891 } else {
10892
10893 }
10894 }
10895 {
10896#line 380
10897 __cil_tmp49 = (unsigned long )budget;
10898#line 380
10899 __cil_tmp50 = __cil_tmp49 + 264;
10900#line 380
10901 __cil_tmp51 = (struct i2c_adapter *)__cil_tmp50;
10902#line 380
10903 tmp___7 = i2c_transfer(__cil_tmp51, & msg, 1);
10904 }
10905#line 380
10906 if (tmp___7 != 1) {
10907#line 380
10908 return (-5);
10909 } else {
10910
10911 }
10912#line 382
10913 return (0);
10914}
10915}
10916#line 385 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10917static struct s5h1420_config s5h1420_config = {(u8 )83, (u8 )1, (unsigned char)0, (u8 )1, (unsigned char)0};
10918#line 391 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10919static struct tda10086_config tda10086_config = {(u8 )14, (u8 )0, (u8 )1, (enum tda10086_xtal )0};
10920#line 398 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10921static struct stv0299_config alps_bsru6_config_activy =
10922#line 398
10923 {(u8 )104, (u8 const *)(alps_bsru6_inittab), (u32 )88000000UL, (u8 )1, (unsigned char)0,
10924 (unsigned char)0, (unsigned char)0, (u8 )1, 100, & alps_bsru6_set_symbol_rate,
10925 (int (*)(struct dvb_frontend *fe , int is_punctured ))0};
10926#line 408 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10927static struct stv0299_config alps_bsbe1_config_activy =
10928#line 408
10929 {(u8 )104, (u8 const *)(alps_bsbe1_inittab), (u32 )88000000UL, (u8 )1, (unsigned char)0,
10930 (unsigned char)0, (unsigned char)0, (u8 )1, 100, & alps_bsbe1_set_symbol_rate,
10931 (int (*)(struct dvb_frontend *fe , int is_punctured ))0};
10932#line 418 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10933static int alps_tdhd1_204_request_firmware(struct dvb_frontend *fe , struct firmware const **fw ,
10934 char *name )
10935{ struct budget *budget ;
10936 int tmp___7 ;
10937 unsigned long __cil_tmp6 ;
10938 unsigned long __cil_tmp7 ;
10939 struct dvb_adapter *__cil_tmp8 ;
10940 unsigned long __cil_tmp9 ;
10941 unsigned long __cil_tmp10 ;
10942 void *__cil_tmp11 ;
10943 char const *__cil_tmp12 ;
10944 unsigned long __cil_tmp13 ;
10945 unsigned long __cil_tmp14 ;
10946 struct saa7146_dev *__cil_tmp15 ;
10947 unsigned long __cil_tmp16 ;
10948 unsigned long __cil_tmp17 ;
10949 struct pci_dev *__cil_tmp18 ;
10950 unsigned long __cil_tmp19 ;
10951 unsigned long __cil_tmp20 ;
10952 struct device *__cil_tmp21 ;
10953
10954 {
10955 {
10956#line 420
10957 __cil_tmp6 = (unsigned long )fe;
10958#line 420
10959 __cil_tmp7 = __cil_tmp6 + 752;
10960#line 420
10961 __cil_tmp8 = *((struct dvb_adapter **)__cil_tmp7);
10962#line 420
10963 __cil_tmp9 = (unsigned long )__cil_tmp8;
10964#line 420
10965 __cil_tmp10 = __cil_tmp9 + 56;
10966#line 420
10967 __cil_tmp11 = *((void **)__cil_tmp10);
10968#line 420
10969 budget = (struct budget *)__cil_tmp11;
10970#line 422
10971 __cil_tmp12 = (char const *)name;
10972#line 422
10973 __cil_tmp13 = (unsigned long )budget;
10974#line 422
10975 __cil_tmp14 = __cil_tmp13 + 256;
10976#line 422
10977 __cil_tmp15 = *((struct saa7146_dev **)__cil_tmp14);
10978#line 422
10979 __cil_tmp16 = (unsigned long )__cil_tmp15;
10980#line 422
10981 __cil_tmp17 = __cil_tmp16 + 384;
10982#line 422
10983 __cil_tmp18 = *((struct pci_dev **)__cil_tmp17);
10984#line 422
10985 __cil_tmp19 = (unsigned long )__cil_tmp18;
10986#line 422
10987 __cil_tmp20 = __cil_tmp19 + 144;
10988#line 422
10989 __cil_tmp21 = (struct device *)__cil_tmp20;
10990#line 422
10991 tmp___7 = request_firmware(fw, __cil_tmp12, __cil_tmp21);
10992 }
10993#line 422
10994 return (tmp___7);
10995}
10996}
10997#line 426 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
10998static int i2c_readreg(struct i2c_adapter *i2c , u8 adr , u8 reg )
10999{ u8 val ;
11000 struct i2c_msg msg[2] ;
11001 int tmp___8 ;
11002 int tmp___9 ;
11003 unsigned long __cil_tmp9 ;
11004 unsigned long __cil_tmp10 ;
11005 unsigned long __cil_tmp11 ;
11006 unsigned long __cil_tmp12 ;
11007 unsigned long __cil_tmp13 ;
11008 unsigned long __cil_tmp14 ;
11009 unsigned long __cil_tmp15 ;
11010 unsigned long __cil_tmp16 ;
11011 unsigned long __cil_tmp17 ;
11012 unsigned long __cil_tmp18 ;
11013 unsigned long __cil_tmp19 ;
11014 unsigned long __cil_tmp20 ;
11015 unsigned long __cil_tmp21 ;
11016 unsigned long __cil_tmp22 ;
11017 unsigned long __cil_tmp23 ;
11018 unsigned long __cil_tmp24 ;
11019 unsigned long __cil_tmp25 ;
11020 unsigned long __cil_tmp26 ;
11021 unsigned long __cil_tmp27 ;
11022 unsigned long __cil_tmp28 ;
11023 unsigned long __cil_tmp29 ;
11024 unsigned long __cil_tmp30 ;
11025 unsigned long __cil_tmp31 ;
11026 unsigned long __cil_tmp32 ;
11027 struct i2c_msg *__cil_tmp33 ;
11028 u8 *__cil_tmp34 ;
11029 u8 __cil_tmp35 ;
11030
11031 {
11032 {
11033#line 429
11034 __cil_tmp9 = 0 * 16UL;
11035#line 429
11036 __cil_tmp10 = (unsigned long )(msg) + __cil_tmp9;
11037#line 429
11038 *((__u16 *)__cil_tmp10) = (__u16 )adr;
11039#line 429
11040 __cil_tmp11 = 0 * 16UL;
11041#line 429
11042 __cil_tmp12 = __cil_tmp11 + 2;
11043#line 429
11044 __cil_tmp13 = (unsigned long )(msg) + __cil_tmp12;
11045#line 429
11046 *((__u16 *)__cil_tmp13) = (__u16 )0;
11047#line 429
11048 __cil_tmp14 = 0 * 16UL;
11049#line 429
11050 __cil_tmp15 = __cil_tmp14 + 4;
11051#line 429
11052 __cil_tmp16 = (unsigned long )(msg) + __cil_tmp15;
11053#line 429
11054 *((__u16 *)__cil_tmp16) = (__u16 )1;
11055#line 429
11056 __cil_tmp17 = 0 * 16UL;
11057#line 429
11058 __cil_tmp18 = __cil_tmp17 + 8;
11059#line 429
11060 __cil_tmp19 = (unsigned long )(msg) + __cil_tmp18;
11061#line 429
11062 *((__u8 **)__cil_tmp19) = & reg;
11063#line 429
11064 __cil_tmp20 = 1 * 16UL;
11065#line 429
11066 __cil_tmp21 = (unsigned long )(msg) + __cil_tmp20;
11067#line 429
11068 *((__u16 *)__cil_tmp21) = (__u16 )adr;
11069#line 429
11070 __cil_tmp22 = 1 * 16UL;
11071#line 429
11072 __cil_tmp23 = __cil_tmp22 + 2;
11073#line 429
11074 __cil_tmp24 = (unsigned long )(msg) + __cil_tmp23;
11075#line 429
11076 *((__u16 *)__cil_tmp24) = (__u16 )1;
11077#line 429
11078 __cil_tmp25 = 1 * 16UL;
11079#line 429
11080 __cil_tmp26 = __cil_tmp25 + 4;
11081#line 429
11082 __cil_tmp27 = (unsigned long )(msg) + __cil_tmp26;
11083#line 429
11084 *((__u16 *)__cil_tmp27) = (__u16 )1;
11085#line 429
11086 __cil_tmp28 = 1 * 16UL;
11087#line 429
11088 __cil_tmp29 = __cil_tmp28 + 8;
11089#line 429
11090 __cil_tmp30 = (unsigned long )(msg) + __cil_tmp29;
11091#line 429
11092 *((__u8 **)__cil_tmp30) = & val;
11093#line 434
11094 __cil_tmp31 = 0 * 16UL;
11095#line 434
11096 __cil_tmp32 = (unsigned long )(msg) + __cil_tmp31;
11097#line 434
11098 __cil_tmp33 = (struct i2c_msg *)__cil_tmp32;
11099#line 434
11100 tmp___9 = i2c_transfer(i2c, __cil_tmp33, 2);
11101 }
11102#line 434
11103 if (tmp___9 != 2) {
11104#line 434
11105 tmp___8 = -5;
11106 } else {
11107#line 434
11108 __cil_tmp34 = & val;
11109#line 434
11110 __cil_tmp35 = *__cil_tmp34;
11111#line 434
11112 tmp___8 = (int )__cil_tmp35;
11113 }
11114#line 434
11115 return (tmp___8);
11116}
11117}
11118#line 437 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
11119static u8 read_pwm(struct budget *budget )
11120{ u8 b ;
11121 u8 pwm ;
11122 struct i2c_msg msg[2] ;
11123 int tmp___7 ;
11124 u8 *__cil_tmp6 ;
11125 unsigned long __cil_tmp7 ;
11126 unsigned long __cil_tmp8 ;
11127 unsigned long __cil_tmp9 ;
11128 unsigned long __cil_tmp10 ;
11129 unsigned long __cil_tmp11 ;
11130 unsigned long __cil_tmp12 ;
11131 unsigned long __cil_tmp13 ;
11132 unsigned long __cil_tmp14 ;
11133 unsigned long __cil_tmp15 ;
11134 unsigned long __cil_tmp16 ;
11135 unsigned long __cil_tmp17 ;
11136 unsigned long __cil_tmp18 ;
11137 unsigned long __cil_tmp19 ;
11138 unsigned long __cil_tmp20 ;
11139 unsigned long __cil_tmp21 ;
11140 unsigned long __cil_tmp22 ;
11141 unsigned long __cil_tmp23 ;
11142 unsigned long __cil_tmp24 ;
11143 unsigned long __cil_tmp25 ;
11144 unsigned long __cil_tmp26 ;
11145 unsigned long __cil_tmp27 ;
11146 unsigned long __cil_tmp28 ;
11147 unsigned long __cil_tmp29 ;
11148 unsigned long __cil_tmp30 ;
11149 struct i2c_adapter *__cil_tmp31 ;
11150 unsigned long __cil_tmp32 ;
11151 unsigned long __cil_tmp33 ;
11152 struct i2c_msg *__cil_tmp34 ;
11153 u8 *__cil_tmp35 ;
11154 u8 *__cil_tmp36 ;
11155 u8 __cil_tmp37 ;
11156 int __cil_tmp38 ;
11157 u8 *__cil_tmp39 ;
11158 u8 *__cil_tmp40 ;
11159
11160 {
11161 {
11162#line 439
11163 __cil_tmp6 = & b;
11164#line 439
11165 *__cil_tmp6 = (u8 )255;
11166#line 441
11167 __cil_tmp7 = 0 * 16UL;
11168#line 441
11169 __cil_tmp8 = (unsigned long )(msg) + __cil_tmp7;
11170#line 441
11171 *((__u16 *)__cil_tmp8) = (__u16 )80;
11172#line 441
11173 __cil_tmp9 = 0 * 16UL;
11174#line 441
11175 __cil_tmp10 = __cil_tmp9 + 2;
11176#line 441
11177 __cil_tmp11 = (unsigned long )(msg) + __cil_tmp10;
11178#line 441
11179 *((__u16 *)__cil_tmp11) = (__u16 )0;
11180#line 441
11181 __cil_tmp12 = 0 * 16UL;
11182#line 441
11183 __cil_tmp13 = __cil_tmp12 + 4;
11184#line 441
11185 __cil_tmp14 = (unsigned long )(msg) + __cil_tmp13;
11186#line 441
11187 *((__u16 *)__cil_tmp14) = (__u16 )1;
11188#line 441
11189 __cil_tmp15 = 0 * 16UL;
11190#line 441
11191 __cil_tmp16 = __cil_tmp15 + 8;
11192#line 441
11193 __cil_tmp17 = (unsigned long )(msg) + __cil_tmp16;
11194#line 441
11195 *((__u8 **)__cil_tmp17) = & b;
11196#line 441
11197 __cil_tmp18 = 1 * 16UL;
11198#line 441
11199 __cil_tmp19 = (unsigned long )(msg) + __cil_tmp18;
11200#line 441
11201 *((__u16 *)__cil_tmp19) = (__u16 )80;
11202#line 441
11203 __cil_tmp20 = 1 * 16UL;
11204#line 441
11205 __cil_tmp21 = __cil_tmp20 + 2;
11206#line 441
11207 __cil_tmp22 = (unsigned long )(msg) + __cil_tmp21;
11208#line 441
11209 *((__u16 *)__cil_tmp22) = (__u16 )1;
11210#line 441
11211 __cil_tmp23 = 1 * 16UL;
11212#line 441
11213 __cil_tmp24 = __cil_tmp23 + 4;
11214#line 441
11215 __cil_tmp25 = (unsigned long )(msg) + __cil_tmp24;
11216#line 441
11217 *((__u16 *)__cil_tmp25) = (__u16 )1;
11218#line 441
11219 __cil_tmp26 = 1 * 16UL;
11220#line 441
11221 __cil_tmp27 = __cil_tmp26 + 8;
11222#line 441
11223 __cil_tmp28 = (unsigned long )(msg) + __cil_tmp27;
11224#line 441
11225 *((__u8 **)__cil_tmp28) = & pwm;
11226#line 444
11227 __cil_tmp29 = (unsigned long )budget;
11228#line 444
11229 __cil_tmp30 = __cil_tmp29 + 264;
11230#line 444
11231 __cil_tmp31 = (struct i2c_adapter *)__cil_tmp30;
11232#line 444
11233 __cil_tmp32 = 0 * 16UL;
11234#line 444
11235 __cil_tmp33 = (unsigned long )(msg) + __cil_tmp32;
11236#line 444
11237 __cil_tmp34 = (struct i2c_msg *)__cil_tmp33;
11238#line 444
11239 tmp___7 = i2c_transfer(__cil_tmp31, __cil_tmp34, 2);
11240 }
11241#line 444
11242 if (tmp___7 != 2) {
11243#line 445
11244 __cil_tmp35 = & pwm;
11245#line 445
11246 *__cil_tmp35 = (u8 )72;
11247 } else {
11248 {
11249#line 444
11250 __cil_tmp36 = & pwm;
11251#line 444
11252 __cil_tmp37 = *__cil_tmp36;
11253#line 444
11254 __cil_tmp38 = (int )__cil_tmp37;
11255#line 444
11256 if (__cil_tmp38 == 255) {
11257#line 445
11258 __cil_tmp39 = & pwm;
11259#line 445
11260 *__cil_tmp39 = (u8 )72;
11261 } else {
11262
11263 }
11264 }
11265 }
11266 {
11267#line 447
11268 __cil_tmp40 = & pwm;
11269#line 447
11270 return (*__cil_tmp40);
11271 }
11272}
11273}
11274#line 450 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
11275static struct stv090x_config tt1600_stv090x_config =
11276#line 450
11277 {(enum stv090x_device )0, (enum stv090x_mode )1, (enum stv090x_clkmode )2, (u32 )13500000,
11278 (u8 )104, (u8 )4, (u8 )2, 0U, 0U, (unsigned char)0, (unsigned char)0, (enum stv090x_i2crpt )4,
11279 (unsigned char)0, 0, 0, (_Bool)0, (int (*)(struct dvb_frontend *fe ))((void *)0),
11280 (int (*)(struct dvb_frontend *fe ))((void *)0), (int (*)(struct dvb_frontend *fe ,
11281 enum tuner_mode mode ))((void *)0),
11282 (int (*)(struct dvb_frontend *fe , u32 frequency ))((void *)0), (int (*)(struct dvb_frontend *fe ,
11283 u32 *frequency ))((void *)0),
11284 (int (*)(struct dvb_frontend *fe , u32 bandwidth ))((void *)0), (int (*)(struct dvb_frontend *fe ,
11285 u32 *bandwidth ))((void *)0),
11286 (int (*)(struct dvb_frontend *fe , u32 gain ))((void *)0), (int (*)(struct dvb_frontend *fe ,
11287 u32 *gain ))((void *)0),
11288 (int (*)(struct dvb_frontend *fe , u32 refclk ))((void *)0), (int (*)(struct dvb_frontend *fe ,
11289 u32 *status ))((void *)0),
11290 (void (*)(struct dvb_frontend *fe , int lock ))0};
11291#line 476 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
11292static struct stv6110x_config tt1600_stv6110x_config = {(u8 )96, (u32 )27000000, (u8 )2};
11293#line 482 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
11294static struct isl6423_config tt1600_isl6423_config = {(enum isl6423_current )1, (enum isl6423_curlim )1, (u8 )8, (u8 )1};
11295#line 489 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
11296static void frontend_init(struct budget *budget )
11297{ void *__r ;
11298 struct dvb_frontend *(*__a)(struct ves1x93_config const *config , struct i2c_adapter *i2c ) ;
11299 void *tmp___8 ;
11300 struct dvb_frontend *(*tmp___9)(struct ves1x93_config const *config , struct i2c_adapter *i2c ) ;
11301 void *tmp___10 ;
11302 struct dvb_frontend *tmp___11 ;
11303 void *__r___0 ;
11304 struct dvb_frontend *(*__a___0)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11305 void *tmp___13 ;
11306 struct dvb_frontend *(*tmp___14)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11307 void *tmp___15 ;
11308 struct dvb_frontend *tmp___16 ;
11309 void *__r___1 ;
11310 struct dvb_frontend *(*__a___1)(struct ves1820_config const *config , struct i2c_adapter *i2c ,
11311 u8 pwm ) ;
11312 void *tmp___18 ;
11313 struct dvb_frontend *(*tmp___19)(struct ves1820_config const *config , struct i2c_adapter *i2c ,
11314 u8 pwm ) ;
11315 void *tmp___20 ;
11316 u8 tmp___21 ;
11317 struct dvb_frontend *tmp___22 ;
11318 void *__r___2 ;
11319 struct dvb_frontend *(*__a___2)(struct l64781_config const *config , struct i2c_adapter *i2c ) ;
11320 void *tmp___24 ;
11321 struct dvb_frontend *(*tmp___25)(struct l64781_config const *config , struct i2c_adapter *i2c ) ;
11322 void *tmp___26 ;
11323 struct dvb_frontend *tmp___27 ;
11324 int subtype ;
11325 int tmp___28 ;
11326 void *__r___3 ;
11327 struct dvb_frontend *(*__a___3)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11328 void *tmp___30 ;
11329 struct dvb_frontend *(*tmp___31)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11330 void *tmp___32 ;
11331 struct dvb_frontend *tmp___33 ;
11332 void *__r___4 ;
11333 struct dvb_frontend *(*__a___4)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11334 void *tmp___35 ;
11335 struct dvb_frontend *(*tmp___36)(struct stv0299_config const *config , struct i2c_adapter *i2c ) ;
11336 void *tmp___37 ;
11337 struct dvb_frontend *tmp___38 ;
11338 void *__r___5 ;
11339 struct dvb_frontend *(*__a___5)(struct tda8083_config const *config , struct i2c_adapter *i2c ) ;
11340 void *tmp___40 ;
11341 struct dvb_frontend *(*tmp___41)(struct tda8083_config const *config , struct i2c_adapter *i2c ) ;
11342 void *tmp___42 ;
11343 struct dvb_frontend *tmp___43 ;
11344 void *__r___6 ;
11345 struct dvb_frontend *(*__a___6)(struct tda1004x_config const *config , struct i2c_adapter *i2c ) ;
11346 void *tmp___45 ;
11347 struct dvb_frontend *(*tmp___46)(struct tda1004x_config const *config , struct i2c_adapter *i2c ) ;
11348 void *tmp___47 ;
11349 struct dvb_frontend *tmp___48 ;
11350 void *__r___7 ;
11351 struct dvb_frontend *(*__a___7)(struct l64781_config const *config , struct i2c_adapter *i2c ) ;
11352 void *tmp___50 ;
11353 struct dvb_frontend *(*tmp___51)(struct l64781_config const *config , struct i2c_adapter *i2c ) ;
11354 void *tmp___52 ;
11355 struct dvb_frontend *tmp___53 ;
11356 void *__r___8 ;
11357 struct dvb_frontend *(*__a___8)(struct s5h1420_config const *config , struct i2c_adapter *i2c ) ;
11358 void *tmp___55 ;
11359 struct dvb_frontend *(*tmp___56)(struct s5h1420_config const *config , struct i2c_adapter *i2c ) ;
11360 void *tmp___57 ;
11361 struct dvb_frontend *tmp___58 ;
11362 void *__r___9 ;
11363 struct dvb_frontend *(*__a___9)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11364 u8 override_set , u8 override_clear ) ;
11365 void *tmp___60 ;
11366 struct dvb_frontend *(*tmp___61)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11367 u8 override_set , u8 override_clear ) ;
11368 void *tmp___62 ;
11369 struct dvb_frontend *tmp___63 ;
11370 void *__r___10 ;
11371 struct dvb_frontend *(*__a___10)(struct tda10086_config const *config , struct i2c_adapter *i2c ) ;
11372 void *tmp___65 ;
11373 struct dvb_frontend *(*tmp___66)(struct tda10086_config const *config , struct i2c_adapter *i2c ) ;
11374 void *tmp___67 ;
11375 struct dvb_frontend *tmp___68 ;
11376 void *__r___11 ;
11377 struct dvb_frontend *(*__a___11)(struct dvb_frontend *fe , int addr , struct i2c_adapter *i2c ,
11378 int has_loopthrough ) ;
11379 void *tmp___70 ;
11380 struct dvb_frontend *(*tmp___71)(struct dvb_frontend *fe , int addr , struct i2c_adapter *i2c ,
11381 int has_loopthrough ) ;
11382 void *tmp___72 ;
11383 struct dvb_frontend *tmp___73 ;
11384 void *__r___12 ;
11385 struct dvb_frontend *(*__a___12)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11386 u8 override_set , u8 override_clear ) ;
11387 void *tmp___75 ;
11388 struct dvb_frontend *(*tmp___76)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11389 u8 override_set , u8 override_clear ) ;
11390 void *tmp___77 ;
11391 struct dvb_frontend *tmp___78 ;
11392 struct stv6110x_devctl *ctl ;
11393 void *__r___13 ;
11394 struct dvb_frontend *(*__a___13)(struct stv090x_config const *config , struct i2c_adapter *i2c ,
11395 enum stv090x_demodulator demod ) ;
11396 void *tmp___80 ;
11397 struct dvb_frontend *(*tmp___81)(struct stv090x_config const *config , struct i2c_adapter *i2c ,
11398 enum stv090x_demodulator demod ) ;
11399 void *tmp___82 ;
11400 struct dvb_frontend *tmp___83 ;
11401 void *__r___14 ;
11402 struct stv6110x_devctl *(*__a___14)(struct dvb_frontend *fe , struct stv6110x_config const *config ,
11403 struct i2c_adapter *i2c ) ;
11404 void *tmp___85 ;
11405 struct stv6110x_devctl *(*tmp___86)(struct dvb_frontend *fe , struct stv6110x_config const *config ,
11406 struct i2c_adapter *i2c ) ;
11407 void *tmp___87 ;
11408 struct stv6110x_devctl *tmp___88 ;
11409 void *__r___15 ;
11410 struct dvb_frontend *(*__a___15)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11411 struct isl6423_config const *config ) ;
11412 void *tmp___90 ;
11413 struct dvb_frontend *(*tmp___91)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
11414 struct isl6423_config const *config ) ;
11415 void *tmp___92 ;
11416 struct dvb_frontend *tmp___93 ;
11417 int tmp___94 ;
11418 unsigned long __cil_tmp126 ;
11419 unsigned long __cil_tmp127 ;
11420 struct saa7146_dev *__cil_tmp128 ;
11421 unsigned long __cil_tmp129 ;
11422 unsigned long __cil_tmp130 ;
11423 struct pci_dev *__cil_tmp131 ;
11424 unsigned long __cil_tmp132 ;
11425 unsigned long __cil_tmp133 ;
11426 unsigned short __cil_tmp134 ;
11427 bool __cil_tmp135 ;
11428 struct ves1x93_config const *__cil_tmp136 ;
11429 unsigned long __cil_tmp137 ;
11430 unsigned long __cil_tmp138 ;
11431 struct i2c_adapter *__cil_tmp139 ;
11432 void *__cil_tmp140 ;
11433 unsigned long __cil_tmp141 ;
11434 unsigned long __cil_tmp142 ;
11435 unsigned long __cil_tmp143 ;
11436 unsigned long __cil_tmp144 ;
11437 unsigned long __cil_tmp145 ;
11438 unsigned long __cil_tmp146 ;
11439 unsigned long __cil_tmp147 ;
11440 unsigned long __cil_tmp148 ;
11441 unsigned long __cil_tmp149 ;
11442 unsigned long __cil_tmp150 ;
11443 struct dvb_frontend *__cil_tmp151 ;
11444 unsigned long __cil_tmp152 ;
11445 unsigned long __cil_tmp153 ;
11446 unsigned long __cil_tmp154 ;
11447 unsigned long __cil_tmp155 ;
11448 unsigned long __cil_tmp156 ;
11449 struct dvb_frontend *__cil_tmp157 ;
11450 unsigned long __cil_tmp158 ;
11451 unsigned long __cil_tmp159 ;
11452 unsigned long __cil_tmp160 ;
11453 unsigned long __cil_tmp161 ;
11454 unsigned long __cil_tmp162 ;
11455 struct dvb_frontend *__cil_tmp163 ;
11456 unsigned long __cil_tmp164 ;
11457 unsigned long __cil_tmp165 ;
11458 unsigned long __cil_tmp166 ;
11459 unsigned long __cil_tmp167 ;
11460 unsigned long __cil_tmp168 ;
11461 struct dvb_frontend *__cil_tmp169 ;
11462 unsigned long __cil_tmp170 ;
11463 unsigned long __cil_tmp171 ;
11464 bool __cil_tmp172 ;
11465 struct stv0299_config const *__cil_tmp173 ;
11466 unsigned long __cil_tmp174 ;
11467 unsigned long __cil_tmp175 ;
11468 struct i2c_adapter *__cil_tmp176 ;
11469 void *__cil_tmp177 ;
11470 unsigned long __cil_tmp178 ;
11471 unsigned long __cil_tmp179 ;
11472 unsigned long __cil_tmp180 ;
11473 unsigned long __cil_tmp181 ;
11474 unsigned long __cil_tmp182 ;
11475 unsigned long __cil_tmp183 ;
11476 unsigned long __cil_tmp184 ;
11477 unsigned long __cil_tmp185 ;
11478 unsigned long __cil_tmp186 ;
11479 unsigned long __cil_tmp187 ;
11480 struct dvb_frontend *__cil_tmp188 ;
11481 unsigned long __cil_tmp189 ;
11482 unsigned long __cil_tmp190 ;
11483 unsigned long __cil_tmp191 ;
11484 unsigned long __cil_tmp192 ;
11485 struct dvb_frontend *__cil_tmp193 ;
11486 unsigned long __cil_tmp194 ;
11487 unsigned long __cil_tmp195 ;
11488 unsigned long __cil_tmp196 ;
11489 unsigned long __cil_tmp197 ;
11490 struct i2c_adapter *__cil_tmp198 ;
11491 unsigned long __cil_tmp199 ;
11492 unsigned long __cil_tmp200 ;
11493 struct saa7146_dev *__cil_tmp201 ;
11494 unsigned long __cil_tmp202 ;
11495 unsigned long __cil_tmp203 ;
11496 struct pci_dev *__cil_tmp204 ;
11497 unsigned long __cil_tmp205 ;
11498 unsigned long __cil_tmp206 ;
11499 unsigned short __cil_tmp207 ;
11500 int __cil_tmp208 ;
11501 int *__cil_tmp209 ;
11502 int __cil_tmp210 ;
11503 unsigned long __cil_tmp211 ;
11504 unsigned long __cil_tmp212 ;
11505 unsigned long __cil_tmp213 ;
11506 struct dvb_frontend *__cil_tmp214 ;
11507 unsigned long __cil_tmp215 ;
11508 unsigned long __cil_tmp216 ;
11509 unsigned long __cil_tmp217 ;
11510 unsigned long __cil_tmp218 ;
11511 unsigned long __cil_tmp219 ;
11512 struct dvb_frontend *__cil_tmp220 ;
11513 unsigned long __cil_tmp221 ;
11514 unsigned long __cil_tmp222 ;
11515 unsigned long __cil_tmp223 ;
11516 unsigned long __cil_tmp224 ;
11517 unsigned long __cil_tmp225 ;
11518 struct dvb_frontend *__cil_tmp226 ;
11519 unsigned long __cil_tmp227 ;
11520 unsigned long __cil_tmp228 ;
11521 bool __cil_tmp229 ;
11522 struct ves1820_config const *__cil_tmp230 ;
11523 unsigned long __cil_tmp231 ;
11524 unsigned long __cil_tmp232 ;
11525 struct i2c_adapter *__cil_tmp233 ;
11526 void *__cil_tmp234 ;
11527 unsigned long __cil_tmp235 ;
11528 unsigned long __cil_tmp236 ;
11529 unsigned long __cil_tmp237 ;
11530 unsigned long __cil_tmp238 ;
11531 unsigned long __cil_tmp239 ;
11532 unsigned long __cil_tmp240 ;
11533 unsigned long __cil_tmp241 ;
11534 unsigned long __cil_tmp242 ;
11535 unsigned long __cil_tmp243 ;
11536 unsigned long __cil_tmp244 ;
11537 struct dvb_frontend *__cil_tmp245 ;
11538 unsigned long __cil_tmp246 ;
11539 unsigned long __cil_tmp247 ;
11540 bool __cil_tmp248 ;
11541 struct l64781_config const *__cil_tmp249 ;
11542 unsigned long __cil_tmp250 ;
11543 unsigned long __cil_tmp251 ;
11544 struct i2c_adapter *__cil_tmp252 ;
11545 void *__cil_tmp253 ;
11546 unsigned long __cil_tmp254 ;
11547 unsigned long __cil_tmp255 ;
11548 unsigned long __cil_tmp256 ;
11549 unsigned long __cil_tmp257 ;
11550 unsigned long __cil_tmp258 ;
11551 unsigned long __cil_tmp259 ;
11552 unsigned long __cil_tmp260 ;
11553 unsigned long __cil_tmp261 ;
11554 unsigned long __cil_tmp262 ;
11555 unsigned long __cil_tmp263 ;
11556 struct dvb_frontend *__cil_tmp264 ;
11557 unsigned long __cil_tmp265 ;
11558 unsigned long __cil_tmp266 ;
11559 unsigned long __cil_tmp267 ;
11560 unsigned long __cil_tmp268 ;
11561 struct dvb_frontend *__cil_tmp269 ;
11562 unsigned long __cil_tmp270 ;
11563 unsigned long __cil_tmp271 ;
11564 unsigned long __cil_tmp272 ;
11565 unsigned long __cil_tmp273 ;
11566 struct i2c_adapter *__cil_tmp274 ;
11567 u8 __cil_tmp275 ;
11568 u8 __cil_tmp276 ;
11569 bool __cil_tmp277 ;
11570 struct stv0299_config const *__cil_tmp278 ;
11571 unsigned long __cil_tmp279 ;
11572 unsigned long __cil_tmp280 ;
11573 struct i2c_adapter *__cil_tmp281 ;
11574 void *__cil_tmp282 ;
11575 unsigned long __cil_tmp283 ;
11576 unsigned long __cil_tmp284 ;
11577 unsigned long __cil_tmp285 ;
11578 unsigned long __cil_tmp286 ;
11579 unsigned long __cil_tmp287 ;
11580 unsigned long __cil_tmp288 ;
11581 unsigned long __cil_tmp289 ;
11582 unsigned long __cil_tmp290 ;
11583 unsigned long __cil_tmp291 ;
11584 unsigned long __cil_tmp292 ;
11585 struct dvb_frontend *__cil_tmp293 ;
11586 unsigned long __cil_tmp294 ;
11587 unsigned long __cil_tmp295 ;
11588 unsigned long __cil_tmp296 ;
11589 unsigned long __cil_tmp297 ;
11590 struct dvb_frontend *__cil_tmp298 ;
11591 unsigned long __cil_tmp299 ;
11592 unsigned long __cil_tmp300 ;
11593 unsigned long __cil_tmp301 ;
11594 unsigned long __cil_tmp302 ;
11595 struct i2c_adapter *__cil_tmp303 ;
11596 unsigned long __cil_tmp304 ;
11597 unsigned long __cil_tmp305 ;
11598 unsigned long __cil_tmp306 ;
11599 struct dvb_frontend *__cil_tmp307 ;
11600 unsigned long __cil_tmp308 ;
11601 unsigned long __cil_tmp309 ;
11602 unsigned long __cil_tmp310 ;
11603 unsigned long __cil_tmp311 ;
11604 unsigned long __cil_tmp312 ;
11605 struct dvb_frontend *__cil_tmp313 ;
11606 unsigned long __cil_tmp314 ;
11607 unsigned long __cil_tmp315 ;
11608 void *__cil_tmp316 ;
11609 unsigned long __cil_tmp317 ;
11610 unsigned long __cil_tmp318 ;
11611 struct saa7146_dev *__cil_tmp319 ;
11612 u32 __cil_tmp320 ;
11613 unsigned long __cil_tmp321 ;
11614 unsigned long __cil_tmp322 ;
11615 struct saa7146_dev *__cil_tmp323 ;
11616 u32 __cil_tmp324 ;
11617 bool __cil_tmp325 ;
11618 struct stv0299_config const *__cil_tmp326 ;
11619 unsigned long __cil_tmp327 ;
11620 unsigned long __cil_tmp328 ;
11621 struct i2c_adapter *__cil_tmp329 ;
11622 void *__cil_tmp330 ;
11623 unsigned long __cil_tmp331 ;
11624 unsigned long __cil_tmp332 ;
11625 unsigned long __cil_tmp333 ;
11626 unsigned long __cil_tmp334 ;
11627 unsigned long __cil_tmp335 ;
11628 unsigned long __cil_tmp336 ;
11629 unsigned long __cil_tmp337 ;
11630 unsigned long __cil_tmp338 ;
11631 unsigned long __cil_tmp339 ;
11632 unsigned long __cil_tmp340 ;
11633 struct dvb_frontend *__cil_tmp341 ;
11634 unsigned long __cil_tmp342 ;
11635 unsigned long __cil_tmp343 ;
11636 unsigned long __cil_tmp344 ;
11637 unsigned long __cil_tmp345 ;
11638 struct dvb_frontend *__cil_tmp346 ;
11639 unsigned long __cil_tmp347 ;
11640 unsigned long __cil_tmp348 ;
11641 unsigned long __cil_tmp349 ;
11642 unsigned long __cil_tmp350 ;
11643 struct i2c_adapter *__cil_tmp351 ;
11644 unsigned long __cil_tmp352 ;
11645 unsigned long __cil_tmp353 ;
11646 unsigned long __cil_tmp354 ;
11647 struct dvb_frontend *__cil_tmp355 ;
11648 unsigned long __cil_tmp356 ;
11649 unsigned long __cil_tmp357 ;
11650 unsigned long __cil_tmp358 ;
11651 unsigned long __cil_tmp359 ;
11652 unsigned long __cil_tmp360 ;
11653 struct dvb_frontend *__cil_tmp361 ;
11654 unsigned long __cil_tmp362 ;
11655 unsigned long __cil_tmp363 ;
11656 void *__cil_tmp364 ;
11657 bool __cil_tmp365 ;
11658 struct tda8083_config const *__cil_tmp366 ;
11659 unsigned long __cil_tmp367 ;
11660 unsigned long __cil_tmp368 ;
11661 struct i2c_adapter *__cil_tmp369 ;
11662 void *__cil_tmp370 ;
11663 unsigned long __cil_tmp371 ;
11664 unsigned long __cil_tmp372 ;
11665 unsigned long __cil_tmp373 ;
11666 unsigned long __cil_tmp374 ;
11667 unsigned long __cil_tmp375 ;
11668 unsigned long __cil_tmp376 ;
11669 unsigned long __cil_tmp377 ;
11670 unsigned long __cil_tmp378 ;
11671 unsigned long __cil_tmp379 ;
11672 unsigned long __cil_tmp380 ;
11673 struct dvb_frontend *__cil_tmp381 ;
11674 unsigned long __cil_tmp382 ;
11675 unsigned long __cil_tmp383 ;
11676 unsigned long __cil_tmp384 ;
11677 unsigned long __cil_tmp385 ;
11678 unsigned long __cil_tmp386 ;
11679 struct dvb_frontend *__cil_tmp387 ;
11680 unsigned long __cil_tmp388 ;
11681 unsigned long __cil_tmp389 ;
11682 unsigned long __cil_tmp390 ;
11683 unsigned long __cil_tmp391 ;
11684 unsigned long __cil_tmp392 ;
11685 struct dvb_frontend *__cil_tmp393 ;
11686 unsigned long __cil_tmp394 ;
11687 unsigned long __cil_tmp395 ;
11688 void *__cil_tmp396 ;
11689 bool __cil_tmp397 ;
11690 struct tda1004x_config const *__cil_tmp398 ;
11691 unsigned long __cil_tmp399 ;
11692 unsigned long __cil_tmp400 ;
11693 struct i2c_adapter *__cil_tmp401 ;
11694 void *__cil_tmp402 ;
11695 unsigned long __cil_tmp403 ;
11696 unsigned long __cil_tmp404 ;
11697 unsigned long __cil_tmp405 ;
11698 unsigned long __cil_tmp406 ;
11699 unsigned long __cil_tmp407 ;
11700 unsigned long __cil_tmp408 ;
11701 unsigned long __cil_tmp409 ;
11702 unsigned long __cil_tmp410 ;
11703 unsigned long __cil_tmp411 ;
11704 unsigned long __cil_tmp412 ;
11705 struct dvb_frontend *__cil_tmp413 ;
11706 unsigned long __cil_tmp414 ;
11707 unsigned long __cil_tmp415 ;
11708 unsigned long __cil_tmp416 ;
11709 unsigned long __cil_tmp417 ;
11710 struct dvb_frontend *__cil_tmp418 ;
11711 unsigned long __cil_tmp419 ;
11712 unsigned long __cil_tmp420 ;
11713 unsigned long __cil_tmp421 ;
11714 unsigned long __cil_tmp422 ;
11715 struct i2c_adapter *__cil_tmp423 ;
11716 bool __cil_tmp424 ;
11717 struct l64781_config const *__cil_tmp425 ;
11718 unsigned long __cil_tmp426 ;
11719 unsigned long __cil_tmp427 ;
11720 struct i2c_adapter *__cil_tmp428 ;
11721 void *__cil_tmp429 ;
11722 unsigned long __cil_tmp430 ;
11723 unsigned long __cil_tmp431 ;
11724 unsigned long __cil_tmp432 ;
11725 unsigned long __cil_tmp433 ;
11726 unsigned long __cil_tmp434 ;
11727 unsigned long __cil_tmp435 ;
11728 unsigned long __cil_tmp436 ;
11729 unsigned long __cil_tmp437 ;
11730 struct dvb_frontend *__cil_tmp438 ;
11731 unsigned long __cil_tmp439 ;
11732 unsigned long __cil_tmp440 ;
11733 unsigned long __cil_tmp441 ;
11734 unsigned long __cil_tmp442 ;
11735 unsigned long __cil_tmp443 ;
11736 unsigned long __cil_tmp444 ;
11737 struct dvb_frontend *__cil_tmp445 ;
11738 unsigned long __cil_tmp446 ;
11739 unsigned long __cil_tmp447 ;
11740 bool __cil_tmp448 ;
11741 struct s5h1420_config const *__cil_tmp449 ;
11742 unsigned long __cil_tmp450 ;
11743 unsigned long __cil_tmp451 ;
11744 struct i2c_adapter *__cil_tmp452 ;
11745 void *__cil_tmp453 ;
11746 unsigned long __cil_tmp454 ;
11747 unsigned long __cil_tmp455 ;
11748 unsigned long __cil_tmp456 ;
11749 unsigned long __cil_tmp457 ;
11750 unsigned long __cil_tmp458 ;
11751 unsigned long __cil_tmp459 ;
11752 unsigned long __cil_tmp460 ;
11753 unsigned long __cil_tmp461 ;
11754 unsigned long __cil_tmp462 ;
11755 unsigned long __cil_tmp463 ;
11756 struct dvb_frontend *__cil_tmp464 ;
11757 unsigned long __cil_tmp465 ;
11758 unsigned long __cil_tmp466 ;
11759 bool __cil_tmp467 ;
11760 unsigned long __cil_tmp468 ;
11761 unsigned long __cil_tmp469 ;
11762 struct dvb_frontend *__cil_tmp470 ;
11763 unsigned long __cil_tmp471 ;
11764 unsigned long __cil_tmp472 ;
11765 struct i2c_adapter *__cil_tmp473 ;
11766 u8 __cil_tmp474 ;
11767 u8 __cil_tmp475 ;
11768 void *__cil_tmp476 ;
11769 unsigned long __cil_tmp477 ;
11770 unsigned long __cil_tmp478 ;
11771 void *__cil_tmp479 ;
11772 unsigned long __cil_tmp480 ;
11773 unsigned long __cil_tmp481 ;
11774 unsigned long __cil_tmp482 ;
11775 unsigned long __cil_tmp483 ;
11776 struct saa7146_dev *__cil_tmp484 ;
11777 u32 __cil_tmp485 ;
11778 unsigned long __cil_tmp486 ;
11779 unsigned long __cil_tmp487 ;
11780 struct saa7146_dev *__cil_tmp488 ;
11781 u32 __cil_tmp489 ;
11782 bool __cil_tmp490 ;
11783 struct tda10086_config const *__cil_tmp491 ;
11784 unsigned long __cil_tmp492 ;
11785 unsigned long __cil_tmp493 ;
11786 struct i2c_adapter *__cil_tmp494 ;
11787 void *__cil_tmp495 ;
11788 unsigned long __cil_tmp496 ;
11789 unsigned long __cil_tmp497 ;
11790 unsigned long __cil_tmp498 ;
11791 unsigned long __cil_tmp499 ;
11792 unsigned long __cil_tmp500 ;
11793 unsigned long __cil_tmp501 ;
11794 bool __cil_tmp502 ;
11795 unsigned long __cil_tmp503 ;
11796 unsigned long __cil_tmp504 ;
11797 struct dvb_frontend *__cil_tmp505 ;
11798 unsigned long __cil_tmp506 ;
11799 unsigned long __cil_tmp507 ;
11800 struct i2c_adapter *__cil_tmp508 ;
11801 void *__cil_tmp509 ;
11802 unsigned long __cil_tmp510 ;
11803 unsigned long __cil_tmp511 ;
11804 void *__cil_tmp512 ;
11805 unsigned long __cil_tmp513 ;
11806 unsigned long __cil_tmp514 ;
11807 bool __cil_tmp515 ;
11808 unsigned long __cil_tmp516 ;
11809 unsigned long __cil_tmp517 ;
11810 struct dvb_frontend *__cil_tmp518 ;
11811 unsigned long __cil_tmp519 ;
11812 unsigned long __cil_tmp520 ;
11813 struct i2c_adapter *__cil_tmp521 ;
11814 u8 __cil_tmp522 ;
11815 u8 __cil_tmp523 ;
11816 void *__cil_tmp524 ;
11817 unsigned long __cil_tmp525 ;
11818 unsigned long __cil_tmp526 ;
11819 void *__cil_tmp527 ;
11820 unsigned long __cil_tmp528 ;
11821 unsigned long __cil_tmp529 ;
11822 unsigned long __cil_tmp530 ;
11823 unsigned long __cil_tmp531 ;
11824 struct saa7146_dev *__cil_tmp532 ;
11825 u32 __cil_tmp533 ;
11826 unsigned long __cil_tmp534 ;
11827 unsigned long __cil_tmp535 ;
11828 struct saa7146_dev *__cil_tmp536 ;
11829 u32 __cil_tmp537 ;
11830 bool __cil_tmp538 ;
11831 struct stv090x_config const *__cil_tmp539 ;
11832 unsigned long __cil_tmp540 ;
11833 unsigned long __cil_tmp541 ;
11834 struct i2c_adapter *__cil_tmp542 ;
11835 enum stv090x_demodulator __cil_tmp543 ;
11836 void *__cil_tmp544 ;
11837 unsigned long __cil_tmp545 ;
11838 unsigned long __cil_tmp546 ;
11839 unsigned long __cil_tmp547 ;
11840 unsigned long __cil_tmp548 ;
11841 unsigned long __cil_tmp549 ;
11842 unsigned long __cil_tmp550 ;
11843 bool __cil_tmp551 ;
11844 unsigned long __cil_tmp552 ;
11845 unsigned long __cil_tmp553 ;
11846 struct dvb_frontend *__cil_tmp554 ;
11847 struct stv6110x_config const *__cil_tmp555 ;
11848 unsigned long __cil_tmp556 ;
11849 unsigned long __cil_tmp557 ;
11850 struct i2c_adapter *__cil_tmp558 ;
11851 void *__cil_tmp559 ;
11852 unsigned long __cil_tmp560 ;
11853 unsigned long __cil_tmp561 ;
11854 unsigned long __cil_tmp562 ;
11855 unsigned long __cil_tmp563 ;
11856 unsigned long __cil_tmp564 ;
11857 unsigned long __cil_tmp565 ;
11858 unsigned long __cil_tmp566 ;
11859 unsigned long __cil_tmp567 ;
11860 unsigned long __cil_tmp568 ;
11861 unsigned long __cil_tmp569 ;
11862 unsigned long __cil_tmp570 ;
11863 unsigned long __cil_tmp571 ;
11864 unsigned long __cil_tmp572 ;
11865 unsigned long __cil_tmp573 ;
11866 unsigned long __cil_tmp574 ;
11867 unsigned long __cil_tmp575 ;
11868 unsigned long __cil_tmp576 ;
11869 unsigned long __cil_tmp577 ;
11870 unsigned long __cil_tmp578 ;
11871 unsigned long __cil_tmp579 ;
11872 unsigned long __cil_tmp580 ;
11873 unsigned long __cil_tmp581 ;
11874 unsigned long __cil_tmp582 ;
11875 unsigned long __cil_tmp583 ;
11876 unsigned long __cil_tmp584 ;
11877 unsigned long __cil_tmp585 ;
11878 unsigned long __cil_tmp586 ;
11879 unsigned long __cil_tmp587 ;
11880 unsigned long __cil_tmp588 ;
11881 unsigned long __cil_tmp589 ;
11882 unsigned long __cil_tmp590 ;
11883 unsigned long __cil_tmp591 ;
11884 unsigned long __cil_tmp592 ;
11885 unsigned long __cil_tmp593 ;
11886 unsigned long __cil_tmp594 ;
11887 unsigned long __cil_tmp595 ;
11888 struct dvb_frontend *__cil_tmp596 ;
11889 unsigned long __cil_tmp597 ;
11890 unsigned long __cil_tmp598 ;
11891 unsigned long __cil_tmp599 ;
11892 unsigned long __cil_tmp600 ;
11893 unsigned long __cil_tmp601 ;
11894 struct dvb_frontend *__cil_tmp602 ;
11895 unsigned long __cil_tmp603 ;
11896 unsigned long __cil_tmp604 ;
11897 int (*__cil_tmp605)(struct dvb_frontend *fe ) ;
11898 unsigned long __cil_tmp606 ;
11899 unsigned long __cil_tmp607 ;
11900 struct dvb_frontend *__cil_tmp608 ;
11901 bool __cil_tmp609 ;
11902 unsigned long __cil_tmp610 ;
11903 unsigned long __cil_tmp611 ;
11904 struct dvb_frontend *__cil_tmp612 ;
11905 unsigned long __cil_tmp613 ;
11906 unsigned long __cil_tmp614 ;
11907 struct i2c_adapter *__cil_tmp615 ;
11908 struct isl6423_config const *__cil_tmp616 ;
11909 void *__cil_tmp617 ;
11910 unsigned long __cil_tmp618 ;
11911 unsigned long __cil_tmp619 ;
11912 void *__cil_tmp620 ;
11913 unsigned long __cil_tmp621 ;
11914 unsigned long __cil_tmp622 ;
11915 void *__cil_tmp623 ;
11916 unsigned long __cil_tmp624 ;
11917 unsigned long __cil_tmp625 ;
11918 unsigned long __cil_tmp626 ;
11919 struct dvb_frontend *__cil_tmp627 ;
11920 unsigned long __cil_tmp628 ;
11921 unsigned long __cil_tmp629 ;
11922 unsigned long __cil_tmp630 ;
11923 struct saa7146_dev *__cil_tmp631 ;
11924 unsigned long __cil_tmp632 ;
11925 unsigned long __cil_tmp633 ;
11926 struct pci_dev *__cil_tmp634 ;
11927 unsigned long __cil_tmp635 ;
11928 unsigned long __cil_tmp636 ;
11929 unsigned short __cil_tmp637 ;
11930 int __cil_tmp638 ;
11931 unsigned long __cil_tmp639 ;
11932 unsigned long __cil_tmp640 ;
11933 struct saa7146_dev *__cil_tmp641 ;
11934 unsigned long __cil_tmp642 ;
11935 unsigned long __cil_tmp643 ;
11936 struct pci_dev *__cil_tmp644 ;
11937 unsigned long __cil_tmp645 ;
11938 unsigned long __cil_tmp646 ;
11939 unsigned short __cil_tmp647 ;
11940 int __cil_tmp648 ;
11941 unsigned long __cil_tmp649 ;
11942 unsigned long __cil_tmp650 ;
11943 struct saa7146_dev *__cil_tmp651 ;
11944 unsigned long __cil_tmp652 ;
11945 unsigned long __cil_tmp653 ;
11946 struct pci_dev *__cil_tmp654 ;
11947 unsigned long __cil_tmp655 ;
11948 unsigned long __cil_tmp656 ;
11949 unsigned short __cil_tmp657 ;
11950 int __cil_tmp658 ;
11951 unsigned long __cil_tmp659 ;
11952 unsigned long __cil_tmp660 ;
11953 struct saa7146_dev *__cil_tmp661 ;
11954 unsigned long __cil_tmp662 ;
11955 unsigned long __cil_tmp663 ;
11956 struct pci_dev *__cil_tmp664 ;
11957 unsigned long __cil_tmp665 ;
11958 unsigned long __cil_tmp666 ;
11959 unsigned short __cil_tmp667 ;
11960 int __cil_tmp668 ;
11961 unsigned long __cil_tmp669 ;
11962 unsigned long __cil_tmp670 ;
11963 struct dvb_adapter *__cil_tmp671 ;
11964 unsigned long __cil_tmp672 ;
11965 unsigned long __cil_tmp673 ;
11966 struct dvb_frontend *__cil_tmp674 ;
11967 unsigned long __cil_tmp675 ;
11968 unsigned long __cil_tmp676 ;
11969 struct dvb_frontend *__cil_tmp677 ;
11970 unsigned long __cil_tmp678 ;
11971 unsigned long __cil_tmp679 ;
11972 void *__cil_tmp680 ;
11973
11974 {
11975 {
11976#line 493
11977 __cil_tmp126 = (unsigned long )budget;
11978#line 493
11979 __cil_tmp127 = __cil_tmp126 + 256;
11980#line 493
11981 __cil_tmp128 = *((struct saa7146_dev **)__cil_tmp127);
11982#line 493
11983 __cil_tmp129 = (unsigned long )__cil_tmp128;
11984#line 493
11985 __cil_tmp130 = __cil_tmp129 + 384;
11986#line 493
11987 __cil_tmp131 = *((struct pci_dev **)__cil_tmp130);
11988#line 493
11989 __cil_tmp132 = (unsigned long )__cil_tmp131;
11990#line 493
11991 __cil_tmp133 = __cil_tmp132 + 66;
11992#line 493
11993 __cil_tmp134 = *((unsigned short *)__cil_tmp133);
11994#line 494
11995 if ((int )__cil_tmp134 == 4099) {
11996#line 494
11997 goto case_4099;
11998 } else
11999#line 495
12000 if ((int )__cil_tmp134 == 4115) {
12001#line 495
12002 goto case_4099;
12003 } else
12004#line 520
12005 if ((int )__cil_tmp134 == 4100) {
12006#line 520
12007 goto case_4100;
12008 } else
12009#line 529
12010 if ((int )__cil_tmp134 == 4101) {
12011#line 529
12012 goto case_4101;
12013 } else
12014#line 539
12015 if ((int )__cil_tmp134 == 20320) {
12016#line 539
12017 goto case_20320;
12018 } else
12019#line 577
12020 if ((int )__cil_tmp134 == 20321) {
12021#line 577
12022 goto case_20321;
12023 } else
12024#line 586
12025 if ((int )__cil_tmp134 == 24416) {
12026#line 586
12027 goto case_24416;
12028 } else
12029#line 594
12030 if ((int )__cil_tmp134 == 24417) {
12031#line 594
12032 goto case_24417;
12033 } else
12034#line 602
12035 if ((int )__cil_tmp134 == 4118) {
12036#line 602
12037 goto case_4118;
12038 } else
12039#line 613
12040 if ((int )__cil_tmp134 == 4120) {
12041#line 613
12042 goto case_4120;
12043 } else
12044#line 631
12045 if ((int )__cil_tmp134 == 4124) {
12046#line 631
12047 goto case_4124;
12048 } else
12049#line 493
12050 if (0) {
12051 case_4099:
12052 case_4115:
12053 {
12054#line 497
12055 __r = (void *)0;
12056#line 497
12057 tmp___10 = __symbol_get("ves1x93_attach");
12058#line 497
12059 tmp___9 = (struct dvb_frontend *(*)(struct ves1x93_config const *config , struct i2c_adapter *i2c ))tmp___10;
12060 }
12061#line 497
12062 if (tmp___9) {
12063
12064 } else {
12065 {
12066#line 497
12067 __cil_tmp135 = (bool )1;
12068#line 497
12069 __request_module(__cil_tmp135, "symbol:ves1x93_attach");
12070#line 497
12071 tmp___8 = __symbol_get("ves1x93_attach");
12072#line 497
12073 tmp___9 = (struct dvb_frontend *(*)(struct ves1x93_config const *config ,
12074 struct i2c_adapter *i2c ))tmp___8;
12075 }
12076 }
12077#line 497
12078 __a = tmp___9;
12079#line 497
12080 if (__a) {
12081 {
12082#line 497
12083 __cil_tmp136 = (struct ves1x93_config const *)(& alps_bsrv2_config);
12084#line 497
12085 __cil_tmp137 = (unsigned long )budget;
12086#line 497
12087 __cil_tmp138 = __cil_tmp137 + 264;
12088#line 497
12089 __cil_tmp139 = (struct i2c_adapter *)__cil_tmp138;
12090#line 497
12091 tmp___11 = (*__a)(__cil_tmp136, __cil_tmp139);
12092#line 497
12093 __r = (void *)tmp___11;
12094 }
12095 {
12096#line 497
12097 __cil_tmp140 = (void *)0;
12098#line 497
12099 __cil_tmp141 = (unsigned long )__cil_tmp140;
12100#line 497
12101 __cil_tmp142 = (unsigned long )__r;
12102#line 497
12103 if (__cil_tmp142 == __cil_tmp141) {
12104 {
12105#line 497
12106 __symbol_put("ves1x93_attach");
12107 }
12108 } else {
12109
12110 }
12111 }
12112 } else {
12113 {
12114#line 497
12115 printk("<3>DVB: Unable to find symbol ves1x93_attach()\n");
12116 }
12117 }
12118#line 497
12119 __cil_tmp143 = (unsigned long )budget;
12120#line 497
12121 __cil_tmp144 = __cil_tmp143 + 2880;
12122#line 497
12123 *((struct dvb_frontend **)__cil_tmp144) = (struct dvb_frontend *)__r;
12124 {
12125#line 498
12126 __cil_tmp145 = (unsigned long )budget;
12127#line 498
12128 __cil_tmp146 = __cil_tmp145 + 2880;
12129#line 498
12130 if (*((struct dvb_frontend **)__cil_tmp146)) {
12131#line 499
12132 __cil_tmp147 = 384 + 176;
12133#line 499
12134 __cil_tmp148 = 0 + __cil_tmp147;
12135#line 499
12136 __cil_tmp149 = (unsigned long )budget;
12137#line 499
12138 __cil_tmp150 = __cil_tmp149 + 2880;
12139#line 499
12140 __cil_tmp151 = *((struct dvb_frontend **)__cil_tmp150);
12141#line 499
12142 __cil_tmp152 = (unsigned long )__cil_tmp151;
12143#line 499
12144 __cil_tmp153 = __cil_tmp152 + __cil_tmp148;
12145#line 499
12146 *((int (**)(struct dvb_frontend *fe ))__cil_tmp153) = & alps_bsrv2_tuner_set_params;
12147#line 500
12148 __cil_tmp154 = 0 + 304;
12149#line 500
12150 __cil_tmp155 = (unsigned long )budget;
12151#line 500
12152 __cil_tmp156 = __cil_tmp155 + 2880;
12153#line 500
12154 __cil_tmp157 = *((struct dvb_frontend **)__cil_tmp156);
12155#line 500
12156 __cil_tmp158 = (unsigned long )__cil_tmp157;
12157#line 500
12158 __cil_tmp159 = __cil_tmp158 + __cil_tmp154;
12159#line 500
12160 *((int (**)(struct dvb_frontend *fe , struct dvb_diseqc_master_cmd *cmd ))__cil_tmp159) = & budget_diseqc_send_master_cmd;
12161#line 501
12162 __cil_tmp160 = 0 + 320;
12163#line 501
12164 __cil_tmp161 = (unsigned long )budget;
12165#line 501
12166 __cil_tmp162 = __cil_tmp161 + 2880;
12167#line 501
12168 __cil_tmp163 = *((struct dvb_frontend **)__cil_tmp162);
12169#line 501
12170 __cil_tmp164 = (unsigned long )__cil_tmp163;
12171#line 501
12172 __cil_tmp165 = __cil_tmp164 + __cil_tmp160;
12173#line 501
12174 *((int (**)(struct dvb_frontend *fe , fe_sec_mini_cmd_t minicmd ))__cil_tmp165) = & budget_diseqc_send_burst;
12175#line 502
12176 __cil_tmp166 = 0 + 328;
12177#line 502
12178 __cil_tmp167 = (unsigned long )budget;
12179#line 502
12180 __cil_tmp168 = __cil_tmp167 + 2880;
12181#line 502
12182 __cil_tmp169 = *((struct dvb_frontend **)__cil_tmp168);
12183#line 502
12184 __cil_tmp170 = (unsigned long )__cil_tmp169;
12185#line 502
12186 __cil_tmp171 = __cil_tmp170 + __cil_tmp166;
12187#line 502
12188 *((int (**)(struct dvb_frontend *fe , fe_sec_tone_mode_t tone ))__cil_tmp171) = & budget_set_tone;
12189#line 503
12190 goto switch_break;
12191 } else {
12192
12193 }
12194 }
12195 {
12196#line 507
12197 __r___0 = (void *)0;
12198#line 507
12199 tmp___15 = __symbol_get("stv0299_attach");
12200#line 507
12201 tmp___14 = (struct dvb_frontend *(*)(struct stv0299_config const *config , struct i2c_adapter *i2c ))tmp___15;
12202 }
12203#line 507
12204 if (tmp___14) {
12205
12206 } else {
12207 {
12208#line 507
12209 __cil_tmp172 = (bool )1;
12210#line 507
12211 __request_module(__cil_tmp172, "symbol:stv0299_attach");
12212#line 507
12213 tmp___13 = __symbol_get("stv0299_attach");
12214#line 507
12215 tmp___14 = (struct dvb_frontend *(*)(struct stv0299_config const *config ,
12216 struct i2c_adapter *i2c ))tmp___13;
12217 }
12218 }
12219#line 507
12220 __a___0 = tmp___14;
12221#line 507
12222 if (__a___0) {
12223 {
12224#line 507
12225 __cil_tmp173 = (struct stv0299_config const *)(& alps_bsru6_config);
12226#line 507
12227 __cil_tmp174 = (unsigned long )budget;
12228#line 507
12229 __cil_tmp175 = __cil_tmp174 + 264;
12230#line 507
12231 __cil_tmp176 = (struct i2c_adapter *)__cil_tmp175;
12232#line 507
12233 tmp___16 = (*__a___0)(__cil_tmp173, __cil_tmp176);
12234#line 507
12235 __r___0 = (void *)tmp___16;
12236 }
12237 {
12238#line 507
12239 __cil_tmp177 = (void *)0;
12240#line 507
12241 __cil_tmp178 = (unsigned long )__cil_tmp177;
12242#line 507
12243 __cil_tmp179 = (unsigned long )__r___0;
12244#line 507
12245 if (__cil_tmp179 == __cil_tmp178) {
12246 {
12247#line 507
12248 __symbol_put("stv0299_attach");
12249 }
12250 } else {
12251
12252 }
12253 }
12254 } else {
12255 {
12256#line 507
12257 printk("<3>DVB: Unable to find symbol stv0299_attach()\n");
12258 }
12259 }
12260#line 507
12261 __cil_tmp180 = (unsigned long )budget;
12262#line 507
12263 __cil_tmp181 = __cil_tmp180 + 2880;
12264#line 507
12265 *((struct dvb_frontend **)__cil_tmp181) = (struct dvb_frontend *)__r___0;
12266 {
12267#line 508
12268 __cil_tmp182 = (unsigned long )budget;
12269#line 508
12270 __cil_tmp183 = __cil_tmp182 + 2880;
12271#line 508
12272 if (*((struct dvb_frontend **)__cil_tmp183)) {
12273#line 509
12274 __cil_tmp184 = 384 + 176;
12275#line 509
12276 __cil_tmp185 = 0 + __cil_tmp184;
12277#line 509
12278 __cil_tmp186 = (unsigned long )budget;
12279#line 509
12280 __cil_tmp187 = __cil_tmp186 + 2880;
12281#line 509
12282 __cil_tmp188 = *((struct dvb_frontend **)__cil_tmp187);
12283#line 509
12284 __cil_tmp189 = (unsigned long )__cil_tmp188;
12285#line 509
12286 __cil_tmp190 = __cil_tmp189 + __cil_tmp185;
12287#line 509
12288 *((int (**)(struct dvb_frontend *fe ))__cil_tmp190) = & alps_bsru6_tuner_set_params;
12289#line 510
12290 __cil_tmp191 = (unsigned long )budget;
12291#line 510
12292 __cil_tmp192 = __cil_tmp191 + 2880;
12293#line 510
12294 __cil_tmp193 = *((struct dvb_frontend **)__cil_tmp192);
12295#line 510
12296 __cil_tmp194 = (unsigned long )__cil_tmp193;
12297#line 510
12298 __cil_tmp195 = __cil_tmp194 + 768;
12299#line 510
12300 __cil_tmp196 = (unsigned long )budget;
12301#line 510
12302 __cil_tmp197 = __cil_tmp196 + 264;
12303#line 510
12304 __cil_tmp198 = (struct i2c_adapter *)__cil_tmp197;
12305#line 510
12306 *((void **)__cil_tmp195) = (void *)__cil_tmp198;
12307 {
12308#line 511
12309 __cil_tmp199 = (unsigned long )budget;
12310#line 511
12311 __cil_tmp200 = __cil_tmp199 + 256;
12312#line 511
12313 __cil_tmp201 = *((struct saa7146_dev **)__cil_tmp200);
12314#line 511
12315 __cil_tmp202 = (unsigned long )__cil_tmp201;
12316#line 511
12317 __cil_tmp203 = __cil_tmp202 + 384;
12318#line 511
12319 __cil_tmp204 = *((struct pci_dev **)__cil_tmp203);
12320#line 511
12321 __cil_tmp205 = (unsigned long )__cil_tmp204;
12322#line 511
12323 __cil_tmp206 = __cil_tmp205 + 66;
12324#line 511
12325 __cil_tmp207 = *((unsigned short *)__cil_tmp206);
12326#line 511
12327 __cil_tmp208 = (int )__cil_tmp207;
12328#line 511
12329 if (__cil_tmp208 == 4099) {
12330 {
12331#line 511
12332 __cil_tmp209 = & diseqc_method;
12333#line 511
12334 __cil_tmp210 = *__cil_tmp209;
12335#line 511
12336 if (__cil_tmp210 == 0) {
12337#line 512
12338 __cil_tmp211 = 0 + 304;
12339#line 512
12340 __cil_tmp212 = (unsigned long )budget;
12341#line 512
12342 __cil_tmp213 = __cil_tmp212 + 2880;
12343#line 512
12344 __cil_tmp214 = *((struct dvb_frontend **)__cil_tmp213);
12345#line 512
12346 __cil_tmp215 = (unsigned long )__cil_tmp214;
12347#line 512
12348 __cil_tmp216 = __cil_tmp215 + __cil_tmp211;
12349#line 512
12350 *((int (**)(struct dvb_frontend *fe , struct dvb_diseqc_master_cmd *cmd ))__cil_tmp216) = & budget_diseqc_send_master_cmd;
12351#line 513
12352 __cil_tmp217 = 0 + 320;
12353#line 513
12354 __cil_tmp218 = (unsigned long )budget;
12355#line 513
12356 __cil_tmp219 = __cil_tmp218 + 2880;
12357#line 513
12358 __cil_tmp220 = *((struct dvb_frontend **)__cil_tmp219);
12359#line 513
12360 __cil_tmp221 = (unsigned long )__cil_tmp220;
12361#line 513
12362 __cil_tmp222 = __cil_tmp221 + __cil_tmp217;
12363#line 513
12364 *((int (**)(struct dvb_frontend *fe , fe_sec_mini_cmd_t minicmd ))__cil_tmp222) = & budget_diseqc_send_burst;
12365#line 514
12366 __cil_tmp223 = 0 + 328;
12367#line 514
12368 __cil_tmp224 = (unsigned long )budget;
12369#line 514
12370 __cil_tmp225 = __cil_tmp224 + 2880;
12371#line 514
12372 __cil_tmp226 = *((struct dvb_frontend **)__cil_tmp225);
12373#line 514
12374 __cil_tmp227 = (unsigned long )__cil_tmp226;
12375#line 514
12376 __cil_tmp228 = __cil_tmp227 + __cil_tmp223;
12377#line 514
12378 *((int (**)(struct dvb_frontend *fe , fe_sec_tone_mode_t tone ))__cil_tmp228) = & budget_set_tone;
12379 } else {
12380
12381 }
12382 }
12383 } else {
12384
12385 }
12386 }
12387#line 516
12388 goto switch_break;
12389 } else {
12390
12391 }
12392 }
12393#line 518
12394 goto switch_break;
12395 case_4100:
12396 {
12397#line 522
12398 __r___1 = (void *)0;
12399#line 522
12400 tmp___20 = __symbol_get("ves1820_attach");
12401#line 522
12402 tmp___19 = (struct dvb_frontend *(*)(struct ves1820_config const *config , struct i2c_adapter *i2c ,
12403 u8 pwm ))tmp___20;
12404 }
12405#line 522
12406 if (tmp___19) {
12407
12408 } else {
12409 {
12410#line 522
12411 __cil_tmp229 = (bool )1;
12412#line 522
12413 __request_module(__cil_tmp229, "symbol:ves1820_attach");
12414#line 522
12415 tmp___18 = __symbol_get("ves1820_attach");
12416#line 522
12417 tmp___19 = (struct dvb_frontend *(*)(struct ves1820_config const *config ,
12418 struct i2c_adapter *i2c , u8 pwm ))tmp___18;
12419 }
12420 }
12421#line 522
12422 __a___1 = tmp___19;
12423#line 522
12424 if (__a___1) {
12425 {
12426#line 522
12427 tmp___21 = read_pwm(budget);
12428#line 522
12429 __cil_tmp230 = (struct ves1820_config const *)(& alps_tdbe2_config);
12430#line 522
12431 __cil_tmp231 = (unsigned long )budget;
12432#line 522
12433 __cil_tmp232 = __cil_tmp231 + 264;
12434#line 522
12435 __cil_tmp233 = (struct i2c_adapter *)__cil_tmp232;
12436#line 522
12437 tmp___22 = (*__a___1)(__cil_tmp230, __cil_tmp233, tmp___21);
12438#line 522
12439 __r___1 = (void *)tmp___22;
12440 }
12441 {
12442#line 522
12443 __cil_tmp234 = (void *)0;
12444#line 522
12445 __cil_tmp235 = (unsigned long )__cil_tmp234;
12446#line 522
12447 __cil_tmp236 = (unsigned long )__r___1;
12448#line 522
12449 if (__cil_tmp236 == __cil_tmp235) {
12450 {
12451#line 522
12452 __symbol_put("ves1820_attach");
12453 }
12454 } else {
12455
12456 }
12457 }
12458 } else {
12459 {
12460#line 522
12461 printk("<3>DVB: Unable to find symbol ves1820_attach()\n");
12462 }
12463 }
12464#line 522
12465 __cil_tmp237 = (unsigned long )budget;
12466#line 522
12467 __cil_tmp238 = __cil_tmp237 + 2880;
12468#line 522
12469 *((struct dvb_frontend **)__cil_tmp238) = (struct dvb_frontend *)__r___1;
12470 {
12471#line 523
12472 __cil_tmp239 = (unsigned long )budget;
12473#line 523
12474 __cil_tmp240 = __cil_tmp239 + 2880;
12475#line 523
12476 if (*((struct dvb_frontend **)__cil_tmp240)) {
12477#line 524
12478 __cil_tmp241 = 384 + 176;
12479#line 524
12480 __cil_tmp242 = 0 + __cil_tmp241;
12481#line 524
12482 __cil_tmp243 = (unsigned long )budget;
12483#line 524
12484 __cil_tmp244 = __cil_tmp243 + 2880;
12485#line 524
12486 __cil_tmp245 = *((struct dvb_frontend **)__cil_tmp244);
12487#line 524
12488 __cil_tmp246 = (unsigned long )__cil_tmp245;
12489#line 524
12490 __cil_tmp247 = __cil_tmp246 + __cil_tmp242;
12491#line 524
12492 *((int (**)(struct dvb_frontend *fe ))__cil_tmp247) = & alps_tdbe2_tuner_set_params;
12493#line 525
12494 goto switch_break;
12495 } else {
12496
12497 }
12498 }
12499#line 527
12500 goto switch_break;
12501 case_4101:
12502 {
12503#line 531
12504 __r___2 = (void *)0;
12505#line 531
12506 tmp___26 = __symbol_get("l64781_attach");
12507#line 531
12508 tmp___25 = (struct dvb_frontend *(*)(struct l64781_config const *config , struct i2c_adapter *i2c ))tmp___26;
12509 }
12510#line 531
12511 if (tmp___25) {
12512
12513 } else {
12514 {
12515#line 531
12516 __cil_tmp248 = (bool )1;
12517#line 531
12518 __request_module(__cil_tmp248, "symbol:l64781_attach");
12519#line 531
12520 tmp___24 = __symbol_get("l64781_attach");
12521#line 531
12522 tmp___25 = (struct dvb_frontend *(*)(struct l64781_config const *config ,
12523 struct i2c_adapter *i2c ))tmp___24;
12524 }
12525 }
12526#line 531
12527 __a___2 = tmp___25;
12528#line 531
12529 if (__a___2) {
12530 {
12531#line 531
12532 __cil_tmp249 = (struct l64781_config const *)(& grundig_29504_401_config);
12533#line 531
12534 __cil_tmp250 = (unsigned long )budget;
12535#line 531
12536 __cil_tmp251 = __cil_tmp250 + 264;
12537#line 531
12538 __cil_tmp252 = (struct i2c_adapter *)__cil_tmp251;
12539#line 531
12540 tmp___27 = (*__a___2)(__cil_tmp249, __cil_tmp252);
12541#line 531
12542 __r___2 = (void *)tmp___27;
12543 }
12544 {
12545#line 531
12546 __cil_tmp253 = (void *)0;
12547#line 531
12548 __cil_tmp254 = (unsigned long )__cil_tmp253;
12549#line 531
12550 __cil_tmp255 = (unsigned long )__r___2;
12551#line 531
12552 if (__cil_tmp255 == __cil_tmp254) {
12553 {
12554#line 531
12555 __symbol_put("l64781_attach");
12556 }
12557 } else {
12558
12559 }
12560 }
12561 } else {
12562 {
12563#line 531
12564 printk("<3>DVB: Unable to find symbol l64781_attach()\n");
12565 }
12566 }
12567#line 531
12568 __cil_tmp256 = (unsigned long )budget;
12569#line 531
12570 __cil_tmp257 = __cil_tmp256 + 2880;
12571#line 531
12572 *((struct dvb_frontend **)__cil_tmp257) = (struct dvb_frontend *)__r___2;
12573 {
12574#line 532
12575 __cil_tmp258 = (unsigned long )budget;
12576#line 532
12577 __cil_tmp259 = __cil_tmp258 + 2880;
12578#line 532
12579 if (*((struct dvb_frontend **)__cil_tmp259)) {
12580#line 533
12581 __cil_tmp260 = 384 + 176;
12582#line 533
12583 __cil_tmp261 = 0 + __cil_tmp260;
12584#line 533
12585 __cil_tmp262 = (unsigned long )budget;
12586#line 533
12587 __cil_tmp263 = __cil_tmp262 + 2880;
12588#line 533
12589 __cil_tmp264 = *((struct dvb_frontend **)__cil_tmp263);
12590#line 533
12591 __cil_tmp265 = (unsigned long )__cil_tmp264;
12592#line 533
12593 __cil_tmp266 = __cil_tmp265 + __cil_tmp261;
12594#line 533
12595 *((int (**)(struct dvb_frontend *fe ))__cil_tmp266) = & grundig_29504_401_tuner_set_params;
12596#line 534
12597 __cil_tmp267 = (unsigned long )budget;
12598#line 534
12599 __cil_tmp268 = __cil_tmp267 + 2880;
12600#line 534
12601 __cil_tmp269 = *((struct dvb_frontend **)__cil_tmp268);
12602#line 534
12603 __cil_tmp270 = (unsigned long )__cil_tmp269;
12604#line 534
12605 __cil_tmp271 = __cil_tmp270 + 768;
12606#line 534
12607 *((void **)__cil_tmp271) = (void *)0;
12608#line 535
12609 goto switch_break;
12610 } else {
12611
12612 }
12613 }
12614#line 537
12615 goto switch_break;
12616 case_20320:
12617 {
12618#line 541
12619 __cil_tmp272 = (unsigned long )budget;
12620#line 541
12621 __cil_tmp273 = __cil_tmp272 + 264;
12622#line 541
12623 __cil_tmp274 = (struct i2c_adapter *)__cil_tmp273;
12624#line 541
12625 __cil_tmp275 = (u8 )80;
12626#line 541
12627 __cil_tmp276 = (u8 )103;
12628#line 541
12629 tmp___28 = i2c_readreg(__cil_tmp274, __cil_tmp275, __cil_tmp276);
12630#line 541
12631 subtype = tmp___28;
12632 }
12633#line 543
12634 if (subtype < 0) {
12635#line 544
12636 goto switch_break;
12637 } else {
12638
12639 }
12640#line 546
12641 if (subtype < 54) {
12642 {
12643#line 548
12644 __r___3 = (void *)0;
12645#line 548
12646 tmp___32 = __symbol_get("stv0299_attach");
12647#line 548
12648 tmp___31 = (struct dvb_frontend *(*)(struct stv0299_config const *config ,
12649 struct i2c_adapter *i2c ))tmp___32;
12650 }
12651#line 548
12652 if (tmp___31) {
12653
12654 } else {
12655 {
12656#line 548
12657 __cil_tmp277 = (bool )1;
12658#line 548
12659 __request_module(__cil_tmp277, "symbol:stv0299_attach");
12660#line 548
12661 tmp___30 = __symbol_get("stv0299_attach");
12662#line 548
12663 tmp___31 = (struct dvb_frontend *(*)(struct stv0299_config const *config ,
12664 struct i2c_adapter *i2c ))tmp___30;
12665 }
12666 }
12667#line 548
12668 __a___3 = tmp___31;
12669#line 548
12670 if (__a___3) {
12671 {
12672#line 548
12673 __cil_tmp278 = (struct stv0299_config const *)(& alps_bsru6_config_activy);
12674#line 548
12675 __cil_tmp279 = (unsigned long )budget;
12676#line 548
12677 __cil_tmp280 = __cil_tmp279 + 264;
12678#line 548
12679 __cil_tmp281 = (struct i2c_adapter *)__cil_tmp280;
12680#line 548
12681 tmp___33 = (*__a___3)(__cil_tmp278, __cil_tmp281);
12682#line 548
12683 __r___3 = (void *)tmp___33;
12684 }
12685 {
12686#line 548
12687 __cil_tmp282 = (void *)0;
12688#line 548
12689 __cil_tmp283 = (unsigned long )__cil_tmp282;
12690#line 548
12691 __cil_tmp284 = (unsigned long )__r___3;
12692#line 548
12693 if (__cil_tmp284 == __cil_tmp283) {
12694 {
12695#line 548
12696 __symbol_put("stv0299_attach");
12697 }
12698 } else {
12699
12700 }
12701 }
12702 } else {
12703 {
12704#line 548
12705 printk("<3>DVB: Unable to find symbol stv0299_attach()\n");
12706 }
12707 }
12708#line 548
12709 __cil_tmp285 = (unsigned long )budget;
12710#line 548
12711 __cil_tmp286 = __cil_tmp285 + 2880;
12712#line 548
12713 *((struct dvb_frontend **)__cil_tmp286) = (struct dvb_frontend *)__r___3;
12714 {
12715#line 549
12716 __cil_tmp287 = (unsigned long )budget;
12717#line 549
12718 __cil_tmp288 = __cil_tmp287 + 2880;
12719#line 549
12720 if (*((struct dvb_frontend **)__cil_tmp288)) {
12721 {
12722#line 550
12723 printk("<6>budget: tuner ALPS BSRU6 detected\n");
12724#line 551
12725 __cil_tmp289 = 384 + 176;
12726#line 551
12727 __cil_tmp290 = 0 + __cil_tmp289;
12728#line 551
12729 __cil_tmp291 = (unsigned long )budget;
12730#line 551
12731 __cil_tmp292 = __cil_tmp291 + 2880;
12732#line 551
12733 __cil_tmp293 = *((struct dvb_frontend **)__cil_tmp292);
12734#line 551
12735 __cil_tmp294 = (unsigned long )__cil_tmp293;
12736#line 551
12737 __cil_tmp295 = __cil_tmp294 + __cil_tmp290;
12738#line 551
12739 *((int (**)(struct dvb_frontend *fe ))__cil_tmp295) = & alps_bsru6_tuner_set_params;
12740#line 552
12741 __cil_tmp296 = (unsigned long )budget;
12742#line 552
12743 __cil_tmp297 = __cil_tmp296 + 2880;
12744#line 552
12745 __cil_tmp298 = *((struct dvb_frontend **)__cil_tmp297);
12746#line 552
12747 __cil_tmp299 = (unsigned long )__cil_tmp298;
12748#line 552
12749 __cil_tmp300 = __cil_tmp299 + 768;
12750#line 552
12751 __cil_tmp301 = (unsigned long )budget;
12752#line 552
12753 __cil_tmp302 = __cil_tmp301 + 264;
12754#line 552
12755 __cil_tmp303 = (struct i2c_adapter *)__cil_tmp302;
12756#line 552
12757 *((void **)__cil_tmp300) = (void *)__cil_tmp303;
12758#line 553
12759 __cil_tmp304 = 0 + 336;
12760#line 553
12761 __cil_tmp305 = (unsigned long )budget;
12762#line 553
12763 __cil_tmp306 = __cil_tmp305 + 2880;
12764#line 553
12765 __cil_tmp307 = *((struct dvb_frontend **)__cil_tmp306);
12766#line 553
12767 __cil_tmp308 = (unsigned long )__cil_tmp307;
12768#line 553
12769 __cil_tmp309 = __cil_tmp308 + __cil_tmp304;
12770#line 553
12771 *((int (**)(struct dvb_frontend *fe , fe_sec_voltage_t voltage ))__cil_tmp309) = & siemens_budget_set_voltage;
12772#line 554
12773 __cil_tmp310 = 0 + 352;
12774#line 554
12775 __cil_tmp311 = (unsigned long )budget;
12776#line 554
12777 __cil_tmp312 = __cil_tmp311 + 2880;
12778#line 554
12779 __cil_tmp313 = *((struct dvb_frontend **)__cil_tmp312);
12780#line 554
12781 __cil_tmp314 = (unsigned long )__cil_tmp313;
12782#line 554
12783 __cil_tmp315 = __cil_tmp314 + __cil_tmp310;
12784#line 554
12785 __cil_tmp316 = (void *)0;
12786#line 554
12787 *((int (**)(struct dvb_frontend *fe , unsigned long cmd ))__cil_tmp315) = (int (*)(struct dvb_frontend *fe ,
12788 unsigned long cmd ))__cil_tmp316;
12789 }
12790#line 555
12791 goto switch_break;
12792 } else {
12793
12794 }
12795 }
12796 } else {
12797 {
12798#line 560
12799 __cil_tmp317 = (unsigned long )budget;
12800#line 560
12801 __cil_tmp318 = __cil_tmp317 + 256;
12802#line 560
12803 __cil_tmp319 = *((struct saa7146_dev **)__cil_tmp318);
12804#line 560
12805 __cil_tmp320 = (u32 )64;
12806#line 560
12807 saa7146_setgpio(__cil_tmp319, 3, __cil_tmp320);
12808#line 561
12809 msleep(50U);
12810#line 562
12811 __cil_tmp321 = (unsigned long )budget;
12812#line 562
12813 __cil_tmp322 = __cil_tmp321 + 256;
12814#line 562
12815 __cil_tmp323 = *((struct saa7146_dev **)__cil_tmp322);
12816#line 562
12817 __cil_tmp324 = (u32 )80;
12818#line 562
12819 saa7146_setgpio(__cil_tmp323, 3, __cil_tmp324);
12820#line 563
12821 msleep(250U);
12822#line 564
12823 __r___4 = (void *)0;
12824#line 564
12825 tmp___37 = __symbol_get("stv0299_attach");
12826#line 564
12827 tmp___36 = (struct dvb_frontend *(*)(struct stv0299_config const *config ,
12828 struct i2c_adapter *i2c ))tmp___37;
12829 }
12830#line 564
12831 if (tmp___36) {
12832
12833 } else {
12834 {
12835#line 564
12836 __cil_tmp325 = (bool )1;
12837#line 564
12838 __request_module(__cil_tmp325, "symbol:stv0299_attach");
12839#line 564
12840 tmp___35 = __symbol_get("stv0299_attach");
12841#line 564
12842 tmp___36 = (struct dvb_frontend *(*)(struct stv0299_config const *config ,
12843 struct i2c_adapter *i2c ))tmp___35;
12844 }
12845 }
12846#line 564
12847 __a___4 = tmp___36;
12848#line 564
12849 if (__a___4) {
12850 {
12851#line 564
12852 __cil_tmp326 = (struct stv0299_config const *)(& alps_bsbe1_config_activy);
12853#line 564
12854 __cil_tmp327 = (unsigned long )budget;
12855#line 564
12856 __cil_tmp328 = __cil_tmp327 + 264;
12857#line 564
12858 __cil_tmp329 = (struct i2c_adapter *)__cil_tmp328;
12859#line 564
12860 tmp___38 = (*__a___4)(__cil_tmp326, __cil_tmp329);
12861#line 564
12862 __r___4 = (void *)tmp___38;
12863 }
12864 {
12865#line 564
12866 __cil_tmp330 = (void *)0;
12867#line 564
12868 __cil_tmp331 = (unsigned long )__cil_tmp330;
12869#line 564
12870 __cil_tmp332 = (unsigned long )__r___4;
12871#line 564
12872 if (__cil_tmp332 == __cil_tmp331) {
12873 {
12874#line 564
12875 __symbol_put("stv0299_attach");
12876 }
12877 } else {
12878
12879 }
12880 }
12881 } else {
12882 {
12883#line 564
12884 printk("<3>DVB: Unable to find symbol stv0299_attach()\n");
12885 }
12886 }
12887#line 564
12888 __cil_tmp333 = (unsigned long )budget;
12889#line 564
12890 __cil_tmp334 = __cil_tmp333 + 2880;
12891#line 564
12892 *((struct dvb_frontend **)__cil_tmp334) = (struct dvb_frontend *)__r___4;
12893 {
12894#line 565
12895 __cil_tmp335 = (unsigned long )budget;
12896#line 565
12897 __cil_tmp336 = __cil_tmp335 + 2880;
12898#line 565
12899 if (*((struct dvb_frontend **)__cil_tmp336)) {
12900 {
12901#line 566
12902 printk("<6>budget: tuner ALPS BSBE1 detected\n");
12903#line 567
12904 __cil_tmp337 = 384 + 176;
12905#line 567
12906 __cil_tmp338 = 0 + __cil_tmp337;
12907#line 567
12908 __cil_tmp339 = (unsigned long )budget;
12909#line 567
12910 __cil_tmp340 = __cil_tmp339 + 2880;
12911#line 567
12912 __cil_tmp341 = *((struct dvb_frontend **)__cil_tmp340);
12913#line 567
12914 __cil_tmp342 = (unsigned long )__cil_tmp341;
12915#line 567
12916 __cil_tmp343 = __cil_tmp342 + __cil_tmp338;
12917#line 567
12918 *((int (**)(struct dvb_frontend *fe ))__cil_tmp343) = & alps_bsbe1_tuner_set_params;
12919#line 568
12920 __cil_tmp344 = (unsigned long )budget;
12921#line 568
12922 __cil_tmp345 = __cil_tmp344 + 2880;
12923#line 568
12924 __cil_tmp346 = *((struct dvb_frontend **)__cil_tmp345);
12925#line 568
12926 __cil_tmp347 = (unsigned long )__cil_tmp346;
12927#line 568
12928 __cil_tmp348 = __cil_tmp347 + 768;
12929#line 568
12930 __cil_tmp349 = (unsigned long )budget;
12931#line 568
12932 __cil_tmp350 = __cil_tmp349 + 264;
12933#line 568
12934 __cil_tmp351 = (struct i2c_adapter *)__cil_tmp350;
12935#line 568
12936 *((void **)__cil_tmp348) = (void *)__cil_tmp351;
12937#line 569
12938 __cil_tmp352 = 0 + 336;
12939#line 569
12940 __cil_tmp353 = (unsigned long )budget;
12941#line 569
12942 __cil_tmp354 = __cil_tmp353 + 2880;
12943#line 569
12944 __cil_tmp355 = *((struct dvb_frontend **)__cil_tmp354);
12945#line 569
12946 __cil_tmp356 = (unsigned long )__cil_tmp355;
12947#line 569
12948 __cil_tmp357 = __cil_tmp356 + __cil_tmp352;
12949#line 569
12950 *((int (**)(struct dvb_frontend *fe , fe_sec_voltage_t voltage ))__cil_tmp357) = & siemens_budget_set_voltage;
12951#line 570
12952 __cil_tmp358 = 0 + 352;
12953#line 570
12954 __cil_tmp359 = (unsigned long )budget;
12955#line 570
12956 __cil_tmp360 = __cil_tmp359 + 2880;
12957#line 570
12958 __cil_tmp361 = *((struct dvb_frontend **)__cil_tmp360);
12959#line 570
12960 __cil_tmp362 = (unsigned long )__cil_tmp361;
12961#line 570
12962 __cil_tmp363 = __cil_tmp362 + __cil_tmp358;
12963#line 570
12964 __cil_tmp364 = (void *)0;
12965#line 570
12966 *((int (**)(struct dvb_frontend *fe , unsigned long cmd ))__cil_tmp363) = (int (*)(struct dvb_frontend *fe ,
12967 unsigned long cmd ))__cil_tmp364;
12968 }
12969#line 571
12970 goto switch_break;
12971 } else {
12972
12973 }
12974 }
12975 }
12976#line 574
12977 goto switch_break;
12978 case_20321:
12979 {
12980#line 578
12981 __r___5 = (void *)0;
12982#line 578
12983 tmp___42 = __symbol_get("tda8083_attach");
12984#line 578
12985 tmp___41 = (struct dvb_frontend *(*)(struct tda8083_config const *config , struct i2c_adapter *i2c ))tmp___42;
12986 }
12987#line 578
12988 if (tmp___41) {
12989
12990 } else {
12991 {
12992#line 578
12993 __cil_tmp365 = (bool )1;
12994#line 578
12995 __request_module(__cil_tmp365, "symbol:tda8083_attach");
12996#line 578
12997 tmp___40 = __symbol_get("tda8083_attach");
12998#line 578
12999 tmp___41 = (struct dvb_frontend *(*)(struct tda8083_config const *config ,
13000 struct i2c_adapter *i2c ))tmp___40;
13001 }
13002 }
13003#line 578
13004 __a___5 = tmp___41;
13005#line 578
13006 if (__a___5) {
13007 {
13008#line 578
13009 __cil_tmp366 = (struct tda8083_config const *)(& grundig_29504_451_config);
13010#line 578
13011 __cil_tmp367 = (unsigned long )budget;
13012#line 578
13013 __cil_tmp368 = __cil_tmp367 + 264;
13014#line 578
13015 __cil_tmp369 = (struct i2c_adapter *)__cil_tmp368;
13016#line 578
13017 tmp___43 = (*__a___5)(__cil_tmp366, __cil_tmp369);
13018#line 578
13019 __r___5 = (void *)tmp___43;
13020 }
13021 {
13022#line 578
13023 __cil_tmp370 = (void *)0;
13024#line 578
13025 __cil_tmp371 = (unsigned long )__cil_tmp370;
13026#line 578
13027 __cil_tmp372 = (unsigned long )__r___5;
13028#line 578
13029 if (__cil_tmp372 == __cil_tmp371) {
13030 {
13031#line 578
13032 __symbol_put("tda8083_attach");
13033 }
13034 } else {
13035
13036 }
13037 }
13038 } else {
13039 {
13040#line 578
13041 printk("<3>DVB: Unable to find symbol tda8083_attach()\n");
13042 }
13043 }
13044#line 578
13045 __cil_tmp373 = (unsigned long )budget;
13046#line 578
13047 __cil_tmp374 = __cil_tmp373 + 2880;
13048#line 578
13049 *((struct dvb_frontend **)__cil_tmp374) = (struct dvb_frontend *)__r___5;
13050 {
13051#line 579
13052 __cil_tmp375 = (unsigned long )budget;
13053#line 579
13054 __cil_tmp376 = __cil_tmp375 + 2880;
13055#line 579
13056 if (*((struct dvb_frontend **)__cil_tmp376)) {
13057#line 580
13058 __cil_tmp377 = 384 + 176;
13059#line 580
13060 __cil_tmp378 = 0 + __cil_tmp377;
13061#line 580
13062 __cil_tmp379 = (unsigned long )budget;
13063#line 580
13064 __cil_tmp380 = __cil_tmp379 + 2880;
13065#line 580
13066 __cil_tmp381 = *((struct dvb_frontend **)__cil_tmp380);
13067#line 580
13068 __cil_tmp382 = (unsigned long )__cil_tmp381;
13069#line 580
13070 __cil_tmp383 = __cil_tmp382 + __cil_tmp378;
13071#line 580
13072 *((int (**)(struct dvb_frontend *fe ))__cil_tmp383) = & grundig_29504_451_tuner_set_params;
13073#line 581
13074 __cil_tmp384 = 0 + 336;
13075#line 581
13076 __cil_tmp385 = (unsigned long )budget;
13077#line 581
13078 __cil_tmp386 = __cil_tmp385 + 2880;
13079#line 581
13080 __cil_tmp387 = *((struct dvb_frontend **)__cil_tmp386);
13081#line 581
13082 __cil_tmp388 = (unsigned long )__cil_tmp387;
13083#line 581
13084 __cil_tmp389 = __cil_tmp388 + __cil_tmp384;
13085#line 581
13086 *((int (**)(struct dvb_frontend *fe , fe_sec_voltage_t voltage ))__cil_tmp389) = & siemens_budget_set_voltage;
13087#line 582
13088 __cil_tmp390 = 0 + 352;
13089#line 582
13090 __cil_tmp391 = (unsigned long )budget;
13091#line 582
13092 __cil_tmp392 = __cil_tmp391 + 2880;
13093#line 582
13094 __cil_tmp393 = *((struct dvb_frontend **)__cil_tmp392);
13095#line 582
13096 __cil_tmp394 = (unsigned long )__cil_tmp393;
13097#line 582
13098 __cil_tmp395 = __cil_tmp394 + __cil_tmp390;
13099#line 582
13100 __cil_tmp396 = (void *)0;
13101#line 582
13102 *((int (**)(struct dvb_frontend *fe , unsigned long cmd ))__cil_tmp395) = (int (*)(struct dvb_frontend *fe ,
13103 unsigned long cmd ))__cil_tmp396;
13104 } else {
13105
13106 }
13107 }
13108#line 584
13109 goto switch_break;
13110 case_24416:
13111 {
13112#line 587
13113 __r___6 = (void *)0;
13114#line 587
13115 tmp___47 = __symbol_get("tda10046_attach");
13116#line 587
13117 tmp___46 = (struct dvb_frontend *(*)(struct tda1004x_config const *config ,
13118 struct i2c_adapter *i2c ))tmp___47;
13119 }
13120#line 587
13121 if (tmp___46) {
13122
13123 } else {
13124 {
13125#line 587
13126 __cil_tmp397 = (bool )1;
13127#line 587
13128 __request_module(__cil_tmp397, "symbol:tda10046_attach");
13129#line 587
13130 tmp___45 = __symbol_get("tda10046_attach");
13131#line 587
13132 tmp___46 = (struct dvb_frontend *(*)(struct tda1004x_config const *config ,
13133 struct i2c_adapter *i2c ))tmp___45;
13134 }
13135 }
13136#line 587
13137 __a___6 = tmp___46;
13138#line 587
13139 if (__a___6) {
13140 {
13141#line 587
13142 __cil_tmp398 = (struct tda1004x_config const *)(& alps_tdhd1_204a_config);
13143#line 587
13144 __cil_tmp399 = (unsigned long )budget;
13145#line 587
13146 __cil_tmp400 = __cil_tmp399 + 264;
13147#line 587
13148 __cil_tmp401 = (struct i2c_adapter *)__cil_tmp400;
13149#line 587
13150 tmp___48 = (*__a___6)(__cil_tmp398, __cil_tmp401);
13151#line 587
13152 __r___6 = (void *)tmp___48;
13153 }
13154 {
13155#line 587
13156 __cil_tmp402 = (void *)0;
13157#line 587
13158 __cil_tmp403 = (unsigned long )__cil_tmp402;
13159#line 587
13160 __cil_tmp404 = (unsigned long )__r___6;
13161#line 587
13162 if (__cil_tmp404 == __cil_tmp403) {
13163 {
13164#line 587
13165 __symbol_put("tda10046_attach");
13166 }
13167 } else {
13168
13169 }
13170 }
13171 } else {
13172 {
13173#line 587
13174 printk("<3>DVB: Unable to find symbol tda10046_attach()\n");
13175 }
13176 }
13177#line 587
13178 __cil_tmp405 = (unsigned long )budget;
13179#line 587
13180 __cil_tmp406 = __cil_tmp405 + 2880;
13181#line 587
13182 *((struct dvb_frontend **)__cil_tmp406) = (struct dvb_frontend *)__r___6;
13183 {
13184#line 588
13185 __cil_tmp407 = (unsigned long )budget;
13186#line 588
13187 __cil_tmp408 = __cil_tmp407 + 2880;
13188#line 588
13189 if (*((struct dvb_frontend **)__cil_tmp408)) {
13190#line 589
13191 __cil_tmp409 = 384 + 176;
13192#line 589
13193 __cil_tmp410 = 0 + __cil_tmp409;
13194#line 589
13195 __cil_tmp411 = (unsigned long )budget;
13196#line 589
13197 __cil_tmp412 = __cil_tmp411 + 2880;
13198#line 589
13199 __cil_tmp413 = *((struct dvb_frontend **)__cil_tmp412);
13200#line 589
13201 __cil_tmp414 = (unsigned long )__cil_tmp413;
13202#line 589
13203 __cil_tmp415 = __cil_tmp414 + __cil_tmp410;
13204#line 589
13205 *((int (**)(struct dvb_frontend *fe ))__cil_tmp415) = & alps_tdhd1_204a_tuner_set_params;
13206#line 590
13207 __cil_tmp416 = (unsigned long )budget;
13208#line 590
13209 __cil_tmp417 = __cil_tmp416 + 2880;
13210#line 590
13211 __cil_tmp418 = *((struct dvb_frontend **)__cil_tmp417);
13212#line 590
13213 __cil_tmp419 = (unsigned long )__cil_tmp418;
13214#line 590
13215 __cil_tmp420 = __cil_tmp419 + 768;
13216#line 590
13217 __cil_tmp421 = (unsigned long )budget;
13218#line 590
13219 __cil_tmp422 = __cil_tmp421 + 264;
13220#line 590
13221 __cil_tmp423 = (struct i2c_adapter *)__cil_tmp422;
13222#line 590
13223 *((void **)__cil_tmp420) = (void *)__cil_tmp423;
13224 } else {
13225
13226 }
13227 }
13228#line 592
13229 goto switch_break;
13230 case_24417:
13231 {
13232#line 595
13233 __r___7 = (void *)0;
13234#line 595
13235 tmp___52 = __symbol_get("l64781_attach");
13236#line 595
13237 tmp___51 = (struct dvb_frontend *(*)(struct l64781_config const *config , struct i2c_adapter *i2c ))tmp___52;
13238 }
13239#line 595
13240 if (tmp___51) {
13241
13242 } else {
13243 {
13244#line 595
13245 __cil_tmp424 = (bool )1;
13246#line 595
13247 __request_module(__cil_tmp424, "symbol:l64781_attach");
13248#line 595
13249 tmp___50 = __symbol_get("l64781_attach");
13250#line 595
13251 tmp___51 = (struct dvb_frontend *(*)(struct l64781_config const *config ,
13252 struct i2c_adapter *i2c ))tmp___50;
13253 }
13254 }
13255#line 595
13256 __a___7 = tmp___51;
13257#line 595
13258 if (__a___7) {
13259 {
13260#line 595
13261 __cil_tmp425 = (struct l64781_config const *)(& grundig_29504_401_config_activy);
13262#line 595
13263 __cil_tmp426 = (unsigned long )budget;
13264#line 595
13265 __cil_tmp427 = __cil_tmp426 + 264;
13266#line 595
13267 __cil_tmp428 = (struct i2c_adapter *)__cil_tmp427;
13268#line 595
13269 tmp___53 = (*__a___7)(__cil_tmp425, __cil_tmp428);
13270#line 595
13271 __r___7 = (void *)tmp___53;
13272 }
13273 {
13274#line 595
13275 __cil_tmp429 = (void *)0;
13276#line 595
13277 __cil_tmp430 = (unsigned long )__cil_tmp429;
13278#line 595
13279 __cil_tmp431 = (unsigned long )__r___7;
13280#line 595
13281 if (__cil_tmp431 == __cil_tmp430) {
13282 {
13283#line 595
13284 __symbol_put("l64781_attach");
13285 }
13286 } else {
13287
13288 }
13289 }
13290 } else {
13291 {
13292#line 595
13293 printk("<3>DVB: Unable to find symbol l64781_attach()\n");
13294 }
13295 }
13296#line 595
13297 __cil_tmp432 = (unsigned long )budget;
13298#line 595
13299 __cil_tmp433 = __cil_tmp432 + 2880;
13300#line 595
13301 *((struct dvb_frontend **)__cil_tmp433) = (struct dvb_frontend *)__r___7;
13302 {
13303#line 596
13304 __cil_tmp434 = (unsigned long )budget;
13305#line 596
13306 __cil_tmp435 = __cil_tmp434 + 2880;
13307#line 596
13308 if (*((struct dvb_frontend **)__cil_tmp435)) {
13309#line 597
13310 __cil_tmp436 = (unsigned long )budget;
13311#line 597
13312 __cil_tmp437 = __cil_tmp436 + 2880;
13313#line 597
13314 __cil_tmp438 = *((struct dvb_frontend **)__cil_tmp437);
13315#line 597
13316 __cil_tmp439 = (unsigned long )__cil_tmp438;
13317#line 597
13318 __cil_tmp440 = __cil_tmp439 + 768;
13319#line 597
13320 *((void **)__cil_tmp440) = (void *)(& tuner_address_grundig_29504_401_activy);
13321#line 598
13322 __cil_tmp441 = 384 + 176;
13323#line 598
13324 __cil_tmp442 = 0 + __cil_tmp441;
13325#line 598
13326 __cil_tmp443 = (unsigned long )budget;
13327#line 598
13328 __cil_tmp444 = __cil_tmp443 + 2880;
13329#line 598
13330 __cil_tmp445 = *((struct dvb_frontend **)__cil_tmp444);
13331#line 598
13332 __cil_tmp446 = (unsigned long )__cil_tmp445;
13333#line 598
13334 __cil_tmp447 = __cil_tmp446 + __cil_tmp442;
13335#line 598
13336 *((int (**)(struct dvb_frontend *fe ))__cil_tmp447) = & grundig_29504_401_tuner_set_params;
13337 } else {
13338
13339 }
13340 }
13341#line 600
13342 goto switch_break;
13343 case_4118:
13344 {
13345#line 603
13346 __r___8 = (void *)0;
13347#line 603
13348 tmp___57 = __symbol_get("s5h1420_attach");
13349#line 603
13350 tmp___56 = (struct dvb_frontend *(*)(struct s5h1420_config const *config , struct i2c_adapter *i2c ))tmp___57;
13351 }
13352#line 603
13353 if (tmp___56) {
13354
13355 } else {
13356 {
13357#line 603
13358 __cil_tmp448 = (bool )1;
13359#line 603
13360 __request_module(__cil_tmp448, "symbol:s5h1420_attach");
13361#line 603
13362 tmp___55 = __symbol_get("s5h1420_attach");
13363#line 603
13364 tmp___56 = (struct dvb_frontend *(*)(struct s5h1420_config const *config ,
13365 struct i2c_adapter *i2c ))tmp___55;
13366 }
13367 }
13368#line 603
13369 __a___8 = tmp___56;
13370#line 603
13371 if (__a___8) {
13372 {
13373#line 603
13374 __cil_tmp449 = (struct s5h1420_config const *)(& s5h1420_config);
13375#line 603
13376 __cil_tmp450 = (unsigned long )budget;
13377#line 603
13378 __cil_tmp451 = __cil_tmp450 + 264;
13379#line 603
13380 __cil_tmp452 = (struct i2c_adapter *)__cil_tmp451;
13381#line 603
13382 tmp___58 = (*__a___8)(__cil_tmp449, __cil_tmp452);
13383#line 603
13384 __r___8 = (void *)tmp___58;
13385 }
13386 {
13387#line 603
13388 __cil_tmp453 = (void *)0;
13389#line 603
13390 __cil_tmp454 = (unsigned long )__cil_tmp453;
13391#line 603
13392 __cil_tmp455 = (unsigned long )__r___8;
13393#line 603
13394 if (__cil_tmp455 == __cil_tmp454) {
13395 {
13396#line 603
13397 __symbol_put("s5h1420_attach");
13398 }
13399 } else {
13400
13401 }
13402 }
13403 } else {
13404 {
13405#line 603
13406 printk("<3>DVB: Unable to find symbol s5h1420_attach()\n");
13407 }
13408 }
13409#line 603
13410 __cil_tmp456 = (unsigned long )budget;
13411#line 603
13412 __cil_tmp457 = __cil_tmp456 + 2880;
13413#line 603
13414 *((struct dvb_frontend **)__cil_tmp457) = (struct dvb_frontend *)__r___8;
13415 {
13416#line 604
13417 __cil_tmp458 = (unsigned long )budget;
13418#line 604
13419 __cil_tmp459 = __cil_tmp458 + 2880;
13420#line 604
13421 if (*((struct dvb_frontend **)__cil_tmp459)) {
13422 {
13423#line 605
13424 __cil_tmp460 = 384 + 176;
13425#line 605
13426 __cil_tmp461 = 0 + __cil_tmp460;
13427#line 605
13428 __cil_tmp462 = (unsigned long )budget;
13429#line 605
13430 __cil_tmp463 = __cil_tmp462 + 2880;
13431#line 605
13432 __cil_tmp464 = *((struct dvb_frontend **)__cil_tmp463);
13433#line 605
13434 __cil_tmp465 = (unsigned long )__cil_tmp464;
13435#line 605
13436 __cil_tmp466 = __cil_tmp465 + __cil_tmp461;
13437#line 605
13438 *((int (**)(struct dvb_frontend *fe ))__cil_tmp466) = & s5h1420_tuner_set_params;
13439#line 606
13440 __r___9 = (void *)0;
13441#line 606
13442 tmp___62 = __symbol_get("lnbp21_attach");
13443#line 606
13444 tmp___61 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
13445 u8 override_set , u8 override_clear ))tmp___62;
13446 }
13447#line 606
13448 if (tmp___61) {
13449
13450 } else {
13451 {
13452#line 606
13453 __cil_tmp467 = (bool )1;
13454#line 606
13455 __request_module(__cil_tmp467, "symbol:lnbp21_attach");
13456#line 606
13457 tmp___60 = __symbol_get("lnbp21_attach");
13458#line 606
13459 tmp___61 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
13460 u8 override_set , u8 override_clear ))tmp___60;
13461 }
13462 }
13463#line 606
13464 __a___9 = tmp___61;
13465#line 606
13466 if (__a___9) {
13467 {
13468#line 606
13469 __cil_tmp468 = (unsigned long )budget;
13470#line 606
13471 __cil_tmp469 = __cil_tmp468 + 2880;
13472#line 606
13473 __cil_tmp470 = *((struct dvb_frontend **)__cil_tmp469);
13474#line 606
13475 __cil_tmp471 = (unsigned long )budget;
13476#line 606
13477 __cil_tmp472 = __cil_tmp471 + 264;
13478#line 606
13479 __cil_tmp473 = (struct i2c_adapter *)__cil_tmp472;
13480#line 606
13481 __cil_tmp474 = (u8 )0;
13482#line 606
13483 __cil_tmp475 = (u8 )0;
13484#line 606
13485 tmp___63 = (*__a___9)(__cil_tmp470, __cil_tmp473, __cil_tmp474, __cil_tmp475);
13486#line 606
13487 __r___9 = (void *)tmp___63;
13488 }
13489 {
13490#line 606
13491 __cil_tmp476 = (void *)0;
13492#line 606
13493 __cil_tmp477 = (unsigned long )__cil_tmp476;
13494#line 606
13495 __cil_tmp478 = (unsigned long )__r___9;
13496#line 606
13497 if (__cil_tmp478 == __cil_tmp477) {
13498 {
13499#line 606
13500 __symbol_put("lnbp21_attach");
13501 }
13502 } else {
13503
13504 }
13505 }
13506 } else {
13507 {
13508#line 606
13509 printk("<3>DVB: Unable to find symbol lnbp21_attach()\n");
13510 }
13511 }
13512 {
13513#line 606
13514 __cil_tmp479 = (void *)0;
13515#line 606
13516 __cil_tmp480 = (unsigned long )__cil_tmp479;
13517#line 606
13518 __cil_tmp481 = (unsigned long )__r___9;
13519#line 606
13520 if (__cil_tmp481 == __cil_tmp480) {
13521 {
13522#line 607
13523 printk("%s: No LNBP21 found!\n", "frontend_init");
13524 }
13525#line 608
13526 goto error_out;
13527 } else {
13528
13529 }
13530 }
13531#line 610
13532 goto switch_break;
13533 } else {
13534
13535 }
13536 }
13537 case_4120:
13538 {
13539#line 615
13540 __cil_tmp482 = (unsigned long )budget;
13541#line 615
13542 __cil_tmp483 = __cil_tmp482 + 256;
13543#line 615
13544 __cil_tmp484 = *((struct saa7146_dev **)__cil_tmp483);
13545#line 615
13546 __cil_tmp485 = (u32 )64;
13547#line 615
13548 saa7146_setgpio(__cil_tmp484, 2, __cil_tmp485);
13549#line 616
13550 msleep(1U);
13551#line 617
13552 __cil_tmp486 = (unsigned long )budget;
13553#line 617
13554 __cil_tmp487 = __cil_tmp486 + 256;
13555#line 617
13556 __cil_tmp488 = *((struct saa7146_dev **)__cil_tmp487);
13557#line 617
13558 __cil_tmp489 = (u32 )80;
13559#line 617
13560 saa7146_setgpio(__cil_tmp488, 2, __cil_tmp489);
13561#line 618
13562 msleep(1U);
13563#line 620
13564 __r___10 = (void *)0;
13565#line 620
13566 tmp___67 = __symbol_get("tda10086_attach");
13567#line 620
13568 tmp___66 = (struct dvb_frontend *(*)(struct tda10086_config const *config ,
13569 struct i2c_adapter *i2c ))tmp___67;
13570 }
13571#line 620
13572 if (tmp___66) {
13573
13574 } else {
13575 {
13576#line 620
13577 __cil_tmp490 = (bool )1;
13578#line 620
13579 __request_module(__cil_tmp490, "symbol:tda10086_attach");
13580#line 620
13581 tmp___65 = __symbol_get("tda10086_attach");
13582#line 620
13583 tmp___66 = (struct dvb_frontend *(*)(struct tda10086_config const *config ,
13584 struct i2c_adapter *i2c ))tmp___65;
13585 }
13586 }
13587#line 620
13588 __a___10 = tmp___66;
13589#line 620
13590 if (__a___10) {
13591 {
13592#line 620
13593 __cil_tmp491 = (struct tda10086_config const *)(& tda10086_config);
13594#line 620
13595 __cil_tmp492 = (unsigned long )budget;
13596#line 620
13597 __cil_tmp493 = __cil_tmp492 + 264;
13598#line 620
13599 __cil_tmp494 = (struct i2c_adapter *)__cil_tmp493;
13600#line 620
13601 tmp___68 = (*__a___10)(__cil_tmp491, __cil_tmp494);
13602#line 620
13603 __r___10 = (void *)tmp___68;
13604 }
13605 {
13606#line 620
13607 __cil_tmp495 = (void *)0;
13608#line 620
13609 __cil_tmp496 = (unsigned long )__cil_tmp495;
13610#line 620
13611 __cil_tmp497 = (unsigned long )__r___10;
13612#line 620
13613 if (__cil_tmp497 == __cil_tmp496) {
13614 {
13615#line 620
13616 __symbol_put("tda10086_attach");
13617 }
13618 } else {
13619
13620 }
13621 }
13622 } else {
13623 {
13624#line 620
13625 printk("<3>DVB: Unable to find symbol tda10086_attach()\n");
13626 }
13627 }
13628#line 620
13629 __cil_tmp498 = (unsigned long )budget;
13630#line 620
13631 __cil_tmp499 = __cil_tmp498 + 2880;
13632#line 620
13633 *((struct dvb_frontend **)__cil_tmp499) = (struct dvb_frontend *)__r___10;
13634 {
13635#line 621
13636 __cil_tmp500 = (unsigned long )budget;
13637#line 621
13638 __cil_tmp501 = __cil_tmp500 + 2880;
13639#line 621
13640 if (*((struct dvb_frontend **)__cil_tmp501)) {
13641 {
13642#line 622
13643 __r___11 = (void *)0;
13644#line 622
13645 tmp___72 = __symbol_get("tda826x_attach");
13646#line 622
13647 tmp___71 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , int addr , struct i2c_adapter *i2c ,
13648 int has_loopthrough ))tmp___72;
13649 }
13650#line 622
13651 if (tmp___71) {
13652
13653 } else {
13654 {
13655#line 622
13656 __cil_tmp502 = (bool )1;
13657#line 622
13658 __request_module(__cil_tmp502, "symbol:tda826x_attach");
13659#line 622
13660 tmp___70 = __symbol_get("tda826x_attach");
13661#line 622
13662 tmp___71 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , int addr ,
13663 struct i2c_adapter *i2c , int has_loopthrough ))tmp___70;
13664 }
13665 }
13666#line 622
13667 __a___11 = tmp___71;
13668#line 622
13669 if (__a___11) {
13670 {
13671#line 622
13672 __cil_tmp503 = (unsigned long )budget;
13673#line 622
13674 __cil_tmp504 = __cil_tmp503 + 2880;
13675#line 622
13676 __cil_tmp505 = *((struct dvb_frontend **)__cil_tmp504);
13677#line 622
13678 __cil_tmp506 = (unsigned long )budget;
13679#line 622
13680 __cil_tmp507 = __cil_tmp506 + 264;
13681#line 622
13682 __cil_tmp508 = (struct i2c_adapter *)__cil_tmp507;
13683#line 622
13684 tmp___73 = (*__a___11)(__cil_tmp505, 96, __cil_tmp508, 0);
13685#line 622
13686 __r___11 = (void *)tmp___73;
13687 }
13688 {
13689#line 622
13690 __cil_tmp509 = (void *)0;
13691#line 622
13692 __cil_tmp510 = (unsigned long )__cil_tmp509;
13693#line 622
13694 __cil_tmp511 = (unsigned long )__r___11;
13695#line 622
13696 if (__cil_tmp511 == __cil_tmp510) {
13697 {
13698#line 622
13699 __symbol_put("tda826x_attach");
13700 }
13701 } else {
13702
13703 }
13704 }
13705 } else {
13706 {
13707#line 622
13708 printk("<3>DVB: Unable to find symbol tda826x_attach()\n");
13709 }
13710 }
13711 {
13712#line 622
13713 __cil_tmp512 = (void *)0;
13714#line 622
13715 __cil_tmp513 = (unsigned long )__cil_tmp512;
13716#line 622
13717 __cil_tmp514 = (unsigned long )__r___11;
13718#line 622
13719 if (__cil_tmp514 == __cil_tmp513) {
13720 {
13721#line 623
13722 printk("%s: No tda826x found!\n", "frontend_init");
13723 }
13724 } else {
13725
13726 }
13727 }
13728 {
13729#line 624
13730 __r___12 = (void *)0;
13731#line 624
13732 tmp___77 = __symbol_get("lnbp21_attach");
13733#line 624
13734 tmp___76 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
13735 u8 override_set , u8 override_clear ))tmp___77;
13736 }
13737#line 624
13738 if (tmp___76) {
13739
13740 } else {
13741 {
13742#line 624
13743 __cil_tmp515 = (bool )1;
13744#line 624
13745 __request_module(__cil_tmp515, "symbol:lnbp21_attach");
13746#line 624
13747 tmp___75 = __symbol_get("lnbp21_attach");
13748#line 624
13749 tmp___76 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
13750 u8 override_set , u8 override_clear ))tmp___75;
13751 }
13752 }
13753#line 624
13754 __a___12 = tmp___76;
13755#line 624
13756 if (__a___12) {
13757 {
13758#line 624
13759 __cil_tmp516 = (unsigned long )budget;
13760#line 624
13761 __cil_tmp517 = __cil_tmp516 + 2880;
13762#line 624
13763 __cil_tmp518 = *((struct dvb_frontend **)__cil_tmp517);
13764#line 624
13765 __cil_tmp519 = (unsigned long )budget;
13766#line 624
13767 __cil_tmp520 = __cil_tmp519 + 264;
13768#line 624
13769 __cil_tmp521 = (struct i2c_adapter *)__cil_tmp520;
13770#line 624
13771 __cil_tmp522 = (u8 )0;
13772#line 624
13773 __cil_tmp523 = (u8 )0;
13774#line 624
13775 tmp___78 = (*__a___12)(__cil_tmp518, __cil_tmp521, __cil_tmp522, __cil_tmp523);
13776#line 624
13777 __r___12 = (void *)tmp___78;
13778 }
13779 {
13780#line 624
13781 __cil_tmp524 = (void *)0;
13782#line 624
13783 __cil_tmp525 = (unsigned long )__cil_tmp524;
13784#line 624
13785 __cil_tmp526 = (unsigned long )__r___12;
13786#line 624
13787 if (__cil_tmp526 == __cil_tmp525) {
13788 {
13789#line 624
13790 __symbol_put("lnbp21_attach");
13791 }
13792 } else {
13793
13794 }
13795 }
13796 } else {
13797 {
13798#line 624
13799 printk("<3>DVB: Unable to find symbol lnbp21_attach()\n");
13800 }
13801 }
13802 {
13803#line 624
13804 __cil_tmp527 = (void *)0;
13805#line 624
13806 __cil_tmp528 = (unsigned long )__cil_tmp527;
13807#line 624
13808 __cil_tmp529 = (unsigned long )__r___12;
13809#line 624
13810 if (__cil_tmp529 == __cil_tmp528) {
13811 {
13812#line 625
13813 printk("%s: No LNBP21 found!\n", "frontend_init");
13814 }
13815#line 626
13816 goto error_out;
13817 } else {
13818
13819 }
13820 }
13821#line 628
13822 goto switch_break;
13823 } else {
13824
13825 }
13826 }
13827 case_4124:
13828 {
13829#line 633
13830 __cil_tmp530 = (unsigned long )budget;
13831#line 633
13832 __cil_tmp531 = __cil_tmp530 + 256;
13833#line 633
13834 __cil_tmp532 = *((struct saa7146_dev **)__cil_tmp531);
13835#line 633
13836 __cil_tmp533 = (u32 )64;
13837#line 633
13838 saa7146_setgpio(__cil_tmp532, 2, __cil_tmp533);
13839#line 634
13840 msleep(50U);
13841#line 635
13842 __cil_tmp534 = (unsigned long )budget;
13843#line 635
13844 __cil_tmp535 = __cil_tmp534 + 256;
13845#line 635
13846 __cil_tmp536 = *((struct saa7146_dev **)__cil_tmp535);
13847#line 635
13848 __cil_tmp537 = (u32 )80;
13849#line 635
13850 saa7146_setgpio(__cil_tmp536, 2, __cil_tmp537);
13851#line 636
13852 msleep(250U);
13853#line 638
13854 __r___13 = (void *)0;
13855#line 638
13856 tmp___82 = __symbol_get("stv090x_attach");
13857#line 638
13858 tmp___81 = (struct dvb_frontend *(*)(struct stv090x_config const *config , struct i2c_adapter *i2c ,
13859 enum stv090x_demodulator demod ))tmp___82;
13860 }
13861#line 638
13862 if (tmp___81) {
13863
13864 } else {
13865 {
13866#line 638
13867 __cil_tmp538 = (bool )1;
13868#line 638
13869 __request_module(__cil_tmp538, "symbol:stv090x_attach");
13870#line 638
13871 tmp___80 = __symbol_get("stv090x_attach");
13872#line 638
13873 tmp___81 = (struct dvb_frontend *(*)(struct stv090x_config const *config ,
13874 struct i2c_adapter *i2c , enum stv090x_demodulator demod ))tmp___80;
13875 }
13876 }
13877#line 638
13878 __a___13 = tmp___81;
13879#line 638
13880 if (__a___13) {
13881 {
13882#line 638
13883 __cil_tmp539 = (struct stv090x_config const *)(& tt1600_stv090x_config);
13884#line 638
13885 __cil_tmp540 = (unsigned long )budget;
13886#line 638
13887 __cil_tmp541 = __cil_tmp540 + 264;
13888#line 638
13889 __cil_tmp542 = (struct i2c_adapter *)__cil_tmp541;
13890#line 638
13891 __cil_tmp543 = (enum stv090x_demodulator )1;
13892#line 638
13893 tmp___83 = (*__a___13)(__cil_tmp539, __cil_tmp542, __cil_tmp543);
13894#line 638
13895 __r___13 = (void *)tmp___83;
13896 }
13897 {
13898#line 638
13899 __cil_tmp544 = (void *)0;
13900#line 638
13901 __cil_tmp545 = (unsigned long )__cil_tmp544;
13902#line 638
13903 __cil_tmp546 = (unsigned long )__r___13;
13904#line 638
13905 if (__cil_tmp546 == __cil_tmp545) {
13906 {
13907#line 638
13908 __symbol_put("stv090x_attach");
13909 }
13910 } else {
13911
13912 }
13913 }
13914 } else {
13915 {
13916#line 638
13917 printk("<3>DVB: Unable to find symbol stv090x_attach()\n");
13918 }
13919 }
13920#line 638
13921 __cil_tmp547 = (unsigned long )budget;
13922#line 638
13923 __cil_tmp548 = __cil_tmp547 + 2880;
13924#line 638
13925 *((struct dvb_frontend **)__cil_tmp548) = (struct dvb_frontend *)__r___13;
13926 {
13927#line 643
13928 __cil_tmp549 = (unsigned long )budget;
13929#line 643
13930 __cil_tmp550 = __cil_tmp549 + 2880;
13931#line 643
13932 if (*((struct dvb_frontend **)__cil_tmp550)) {
13933 {
13934#line 645
13935 __r___14 = (void *)0;
13936#line 645
13937 tmp___87 = __symbol_get("stv6110x_attach");
13938#line 645
13939 tmp___86 = (struct stv6110x_devctl *(*)(struct dvb_frontend *fe , struct stv6110x_config const *config ,
13940 struct i2c_adapter *i2c ))tmp___87;
13941 }
13942#line 645
13943 if (tmp___86) {
13944
13945 } else {
13946 {
13947#line 645
13948 __cil_tmp551 = (bool )1;
13949#line 645
13950 __request_module(__cil_tmp551, "symbol:stv6110x_attach");
13951#line 645
13952 tmp___85 = __symbol_get("stv6110x_attach");
13953#line 645
13954 tmp___86 = (struct stv6110x_devctl *(*)(struct dvb_frontend *fe , struct stv6110x_config const *config ,
13955 struct i2c_adapter *i2c ))tmp___85;
13956 }
13957 }
13958#line 645
13959 __a___14 = tmp___86;
13960#line 645
13961 if (__a___14) {
13962 {
13963#line 645
13964 __cil_tmp552 = (unsigned long )budget;
13965#line 645
13966 __cil_tmp553 = __cil_tmp552 + 2880;
13967#line 645
13968 __cil_tmp554 = *((struct dvb_frontend **)__cil_tmp553);
13969#line 645
13970 __cil_tmp555 = (struct stv6110x_config const *)(& tt1600_stv6110x_config);
13971#line 645
13972 __cil_tmp556 = (unsigned long )budget;
13973#line 645
13974 __cil_tmp557 = __cil_tmp556 + 264;
13975#line 645
13976 __cil_tmp558 = (struct i2c_adapter *)__cil_tmp557;
13977#line 645
13978 tmp___88 = (*__a___14)(__cil_tmp554, __cil_tmp555, __cil_tmp558);
13979#line 645
13980 __r___14 = (void *)tmp___88;
13981 }
13982 {
13983#line 645
13984 __cil_tmp559 = (void *)0;
13985#line 645
13986 __cil_tmp560 = (unsigned long )__cil_tmp559;
13987#line 645
13988 __cil_tmp561 = (unsigned long )__r___14;
13989#line 645
13990 if (__cil_tmp561 == __cil_tmp560) {
13991 {
13992#line 645
13993 __symbol_put("stv6110x_attach");
13994 }
13995 } else {
13996
13997 }
13998 }
13999 } else {
14000 {
14001#line 645
14002 printk("<3>DVB: Unable to find symbol stv6110x_attach()\n");
14003 }
14004 }
14005#line 645
14006 ctl = (struct stv6110x_devctl *)__r___14;
14007#line 650
14008 if (ctl) {
14009#line 651
14010 __cil_tmp562 = (unsigned long )(& tt1600_stv090x_config) + 56;
14011#line 651
14012 *((int (**)(struct dvb_frontend *fe ))__cil_tmp562) = *((int (**)(struct dvb_frontend *fe ))ctl);
14013#line 652
14014 __cil_tmp563 = (unsigned long )(& tt1600_stv090x_config) + 64;
14015#line 652
14016 __cil_tmp564 = (unsigned long )ctl;
14017#line 652
14018 __cil_tmp565 = __cil_tmp564 + 8;
14019#line 652
14020 *((int (**)(struct dvb_frontend *fe ))__cil_tmp563) = *((int (**)(struct dvb_frontend *fe ))__cil_tmp565);
14021#line 653
14022 __cil_tmp566 = (unsigned long )(& tt1600_stv090x_config) + 72;
14023#line 653
14024 __cil_tmp567 = (unsigned long )ctl;
14025#line 653
14026 __cil_tmp568 = __cil_tmp567 + 16;
14027#line 653
14028 *((int (**)(struct dvb_frontend *fe , enum tuner_mode mode ))__cil_tmp566) = *((int (**)(struct dvb_frontend *fe ,
14029 enum tuner_mode mode ))__cil_tmp568);
14030#line 654
14031 __cil_tmp569 = (unsigned long )(& tt1600_stv090x_config) + 80;
14032#line 654
14033 __cil_tmp570 = (unsigned long )ctl;
14034#line 654
14035 __cil_tmp571 = __cil_tmp570 + 24;
14036#line 654
14037 *((int (**)(struct dvb_frontend *fe , u32 frequency ))__cil_tmp569) = *((int (**)(struct dvb_frontend *fe ,
14038 u32 frequency ))__cil_tmp571);
14039#line 655
14040 __cil_tmp572 = (unsigned long )(& tt1600_stv090x_config) + 88;
14041#line 655
14042 __cil_tmp573 = (unsigned long )ctl;
14043#line 655
14044 __cil_tmp574 = __cil_tmp573 + 32;
14045#line 655
14046 *((int (**)(struct dvb_frontend *fe , u32 *frequency ))__cil_tmp572) = *((int (**)(struct dvb_frontend *fe ,
14047 u32 *frequency ))__cil_tmp574);
14048#line 656
14049 __cil_tmp575 = (unsigned long )(& tt1600_stv090x_config) + 96;
14050#line 656
14051 __cil_tmp576 = (unsigned long )ctl;
14052#line 656
14053 __cil_tmp577 = __cil_tmp576 + 40;
14054#line 656
14055 *((int (**)(struct dvb_frontend *fe , u32 bandwidth ))__cil_tmp575) = *((int (**)(struct dvb_frontend *fe ,
14056 u32 bandwidth ))__cil_tmp577);
14057#line 657
14058 __cil_tmp578 = (unsigned long )(& tt1600_stv090x_config) + 104;
14059#line 657
14060 __cil_tmp579 = (unsigned long )ctl;
14061#line 657
14062 __cil_tmp580 = __cil_tmp579 + 48;
14063#line 657
14064 *((int (**)(struct dvb_frontend *fe , u32 *bandwidth ))__cil_tmp578) = *((int (**)(struct dvb_frontend *fe ,
14065 u32 *bandwidth ))__cil_tmp580);
14066#line 658
14067 __cil_tmp581 = (unsigned long )(& tt1600_stv090x_config) + 112;
14068#line 658
14069 __cil_tmp582 = (unsigned long )ctl;
14070#line 658
14071 __cil_tmp583 = __cil_tmp582 + 56;
14072#line 658
14073 *((int (**)(struct dvb_frontend *fe , u32 gain ))__cil_tmp581) = *((int (**)(struct dvb_frontend *fe ,
14074 u32 gain ))__cil_tmp583);
14075#line 659
14076 __cil_tmp584 = (unsigned long )(& tt1600_stv090x_config) + 120;
14077#line 659
14078 __cil_tmp585 = (unsigned long )ctl;
14079#line 659
14080 __cil_tmp586 = __cil_tmp585 + 64;
14081#line 659
14082 *((int (**)(struct dvb_frontend *fe , u32 *gain ))__cil_tmp584) = *((int (**)(struct dvb_frontend *fe ,
14083 u32 *gain ))__cil_tmp586);
14084#line 660
14085 __cil_tmp587 = (unsigned long )(& tt1600_stv090x_config) + 128;
14086#line 660
14087 __cil_tmp588 = (unsigned long )ctl;
14088#line 660
14089 __cil_tmp589 = __cil_tmp588 + 72;
14090#line 660
14091 *((int (**)(struct dvb_frontend *fe , u32 refclk ))__cil_tmp587) = *((int (**)(struct dvb_frontend *fe ,
14092 u32 refclk ))__cil_tmp589);
14093#line 661
14094 __cil_tmp590 = (unsigned long )(& tt1600_stv090x_config) + 136;
14095#line 661
14096 __cil_tmp591 = (unsigned long )ctl;
14097#line 661
14098 __cil_tmp592 = __cil_tmp591 + 80;
14099#line 661
14100 *((int (**)(struct dvb_frontend *fe , u32 *status ))__cil_tmp590) = *((int (**)(struct dvb_frontend *fe ,
14101 u32 *status ))__cil_tmp592);
14102 {
14103#line 666
14104 __cil_tmp593 = 0 + 192;
14105#line 666
14106 __cil_tmp594 = (unsigned long )budget;
14107#line 666
14108 __cil_tmp595 = __cil_tmp594 + 2880;
14109#line 666
14110 __cil_tmp596 = *((struct dvb_frontend **)__cil_tmp595);
14111#line 666
14112 __cil_tmp597 = (unsigned long )__cil_tmp596;
14113#line 666
14114 __cil_tmp598 = __cil_tmp597 + __cil_tmp593;
14115#line 666
14116 if (*((int (**)(struct dvb_frontend *fe ))__cil_tmp598)) {
14117 {
14118#line 667
14119 __cil_tmp599 = 0 + 192;
14120#line 667
14121 __cil_tmp600 = (unsigned long )budget;
14122#line 667
14123 __cil_tmp601 = __cil_tmp600 + 2880;
14124#line 667
14125 __cil_tmp602 = *((struct dvb_frontend **)__cil_tmp601);
14126#line 667
14127 __cil_tmp603 = (unsigned long )__cil_tmp602;
14128#line 667
14129 __cil_tmp604 = __cil_tmp603 + __cil_tmp599;
14130#line 667
14131 __cil_tmp605 = *((int (**)(struct dvb_frontend *fe ))__cil_tmp604);
14132#line 667
14133 __cil_tmp606 = (unsigned long )budget;
14134#line 667
14135 __cil_tmp607 = __cil_tmp606 + 2880;
14136#line 667
14137 __cil_tmp608 = *((struct dvb_frontend **)__cil_tmp607);
14138#line 667
14139 (*__cil_tmp605)(__cil_tmp608);
14140 }
14141 } else {
14142
14143 }
14144 }
14145 {
14146#line 669
14147 __r___15 = (void *)0;
14148#line 669
14149 tmp___92 = __symbol_get("isl6423_attach");
14150#line 669
14151 tmp___91 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
14152 struct isl6423_config const *config ))tmp___92;
14153 }
14154#line 669
14155 if (tmp___91) {
14156
14157 } else {
14158 {
14159#line 669
14160 __cil_tmp609 = (bool )1;
14161#line 669
14162 __request_module(__cil_tmp609, "symbol:isl6423_attach");
14163#line 669
14164 tmp___90 = __symbol_get("isl6423_attach");
14165#line 669
14166 tmp___91 = (struct dvb_frontend *(*)(struct dvb_frontend *fe , struct i2c_adapter *i2c ,
14167 struct isl6423_config const *config ))tmp___90;
14168 }
14169 }
14170#line 669
14171 __a___15 = tmp___91;
14172#line 669
14173 if (__a___15) {
14174 {
14175#line 669
14176 __cil_tmp610 = (unsigned long )budget;
14177#line 669
14178 __cil_tmp611 = __cil_tmp610 + 2880;
14179#line 669
14180 __cil_tmp612 = *((struct dvb_frontend **)__cil_tmp611);
14181#line 669
14182 __cil_tmp613 = (unsigned long )budget;
14183#line 669
14184 __cil_tmp614 = __cil_tmp613 + 264;
14185#line 669
14186 __cil_tmp615 = (struct i2c_adapter *)__cil_tmp614;
14187#line 669
14188 __cil_tmp616 = (struct isl6423_config const *)(& tt1600_isl6423_config);
14189#line 669
14190 tmp___93 = (*__a___15)(__cil_tmp612, __cil_tmp615, __cil_tmp616);
14191#line 669
14192 __r___15 = (void *)tmp___93;
14193 }
14194 {
14195#line 669
14196 __cil_tmp617 = (void *)0;
14197#line 669
14198 __cil_tmp618 = (unsigned long )__cil_tmp617;
14199#line 669
14200 __cil_tmp619 = (unsigned long )__r___15;
14201#line 669
14202 if (__cil_tmp619 == __cil_tmp618) {
14203 {
14204#line 669
14205 __symbol_put("isl6423_attach");
14206 }
14207 } else {
14208
14209 }
14210 }
14211 } else {
14212 {
14213#line 669
14214 printk("<3>DVB: Unable to find symbol isl6423_attach()\n");
14215 }
14216 }
14217 {
14218#line 669
14219 __cil_tmp620 = (void *)0;
14220#line 669
14221 __cil_tmp621 = (unsigned long )__cil_tmp620;
14222#line 669
14223 __cil_tmp622 = (unsigned long )__r___15;
14224#line 669
14225 if (__cil_tmp622 == __cil_tmp621) {
14226 {
14227#line 673
14228 printk("<3>%s: No Intersil ISL6423 found!\n", "frontend_init");
14229 }
14230#line 674
14231 goto error_out;
14232 } else {
14233
14234 }
14235 }
14236 } else {
14237 {
14238#line 677
14239 printk("<3>%s: No STV6110(A) Silicon Tuner found!\n", "frontend_init");
14240 }
14241#line 678
14242 goto error_out;
14243 }
14244 } else {
14245
14246 }
14247 }
14248#line 682
14249 goto switch_break;
14250 } else {
14251 switch_break: ;
14252 }
14253 }
14254 {
14255#line 685
14256 __cil_tmp623 = (void *)0;
14257#line 685
14258 __cil_tmp624 = (unsigned long )__cil_tmp623;
14259#line 685
14260 __cil_tmp625 = (unsigned long )budget;
14261#line 685
14262 __cil_tmp626 = __cil_tmp625 + 2880;
14263#line 685
14264 __cil_tmp627 = *((struct dvb_frontend **)__cil_tmp626);
14265#line 685
14266 __cil_tmp628 = (unsigned long )__cil_tmp627;
14267#line 685
14268 if (__cil_tmp628 == __cil_tmp624) {
14269 {
14270#line 686
14271 __cil_tmp629 = (unsigned long )budget;
14272#line 686
14273 __cil_tmp630 = __cil_tmp629 + 256;
14274#line 686
14275 __cil_tmp631 = *((struct saa7146_dev **)__cil_tmp630);
14276#line 686
14277 __cil_tmp632 = (unsigned long )__cil_tmp631;
14278#line 686
14279 __cil_tmp633 = __cil_tmp632 + 384;
14280#line 686
14281 __cil_tmp634 = *((struct pci_dev **)__cil_tmp633);
14282#line 686
14283 __cil_tmp635 = (unsigned long )__cil_tmp634;
14284#line 686
14285 __cil_tmp636 = __cil_tmp635 + 60;
14286#line 686
14287 __cil_tmp637 = *((unsigned short *)__cil_tmp636);
14288#line 686
14289 __cil_tmp638 = (int )__cil_tmp637;
14290#line 686
14291 __cil_tmp639 = (unsigned long )budget;
14292#line 686
14293 __cil_tmp640 = __cil_tmp639 + 256;
14294#line 686
14295 __cil_tmp641 = *((struct saa7146_dev **)__cil_tmp640);
14296#line 686
14297 __cil_tmp642 = (unsigned long )__cil_tmp641;
14298#line 686
14299 __cil_tmp643 = __cil_tmp642 + 384;
14300#line 686
14301 __cil_tmp644 = *((struct pci_dev **)__cil_tmp643);
14302#line 686
14303 __cil_tmp645 = (unsigned long )__cil_tmp644;
14304#line 686
14305 __cil_tmp646 = __cil_tmp645 + 62;
14306#line 686
14307 __cil_tmp647 = *((unsigned short *)__cil_tmp646);
14308#line 686
14309 __cil_tmp648 = (int )__cil_tmp647;
14310#line 686
14311 __cil_tmp649 = (unsigned long )budget;
14312#line 686
14313 __cil_tmp650 = __cil_tmp649 + 256;
14314#line 686
14315 __cil_tmp651 = *((struct saa7146_dev **)__cil_tmp650);
14316#line 686
14317 __cil_tmp652 = (unsigned long )__cil_tmp651;
14318#line 686
14319 __cil_tmp653 = __cil_tmp652 + 384;
14320#line 686
14321 __cil_tmp654 = *((struct pci_dev **)__cil_tmp653);
14322#line 686
14323 __cil_tmp655 = (unsigned long )__cil_tmp654;
14324#line 686
14325 __cil_tmp656 = __cil_tmp655 + 64;
14326#line 686
14327 __cil_tmp657 = *((unsigned short *)__cil_tmp656);
14328#line 686
14329 __cil_tmp658 = (int )__cil_tmp657;
14330#line 686
14331 __cil_tmp659 = (unsigned long )budget;
14332#line 686
14333 __cil_tmp660 = __cil_tmp659 + 256;
14334#line 686
14335 __cil_tmp661 = *((struct saa7146_dev **)__cil_tmp660);
14336#line 686
14337 __cil_tmp662 = (unsigned long )__cil_tmp661;
14338#line 686
14339 __cil_tmp663 = __cil_tmp662 + 384;
14340#line 686
14341 __cil_tmp664 = *((struct pci_dev **)__cil_tmp663);
14342#line 686
14343 __cil_tmp665 = (unsigned long )__cil_tmp664;
14344#line 686
14345 __cil_tmp666 = __cil_tmp665 + 66;
14346#line 686
14347 __cil_tmp667 = *((unsigned short *)__cil_tmp666);
14348#line 686
14349 __cil_tmp668 = (int )__cil_tmp667;
14350#line 686
14351 printk("budget: A frontend driver was not found for device [%04x:%04x] subsystem [%04x:%04x]\n",
14352 __cil_tmp638, __cil_tmp648, __cil_tmp658, __cil_tmp668);
14353 }
14354 } else {
14355 {
14356#line 692
14357 __cil_tmp669 = (unsigned long )budget;
14358#line 692
14359 __cil_tmp670 = __cil_tmp669 + 2704;
14360#line 692
14361 __cil_tmp671 = (struct dvb_adapter *)__cil_tmp670;
14362#line 692
14363 __cil_tmp672 = (unsigned long )budget;
14364#line 692
14365 __cil_tmp673 = __cil_tmp672 + 2880;
14366#line 692
14367 __cil_tmp674 = *((struct dvb_frontend **)__cil_tmp673);
14368#line 692
14369 tmp___94 = dvb_register_frontend(__cil_tmp671, __cil_tmp674);
14370 }
14371#line 692
14372 if (tmp___94) {
14373#line 693
14374 goto error_out;
14375 } else {
14376
14377 }
14378 }
14379 }
14380#line 695
14381 return;
14382 error_out:
14383 {
14384#line 698
14385 printk("budget: Frontend registration failed!\n");
14386#line 699
14387 __cil_tmp675 = (unsigned long )budget;
14388#line 699
14389 __cil_tmp676 = __cil_tmp675 + 2880;
14390#line 699
14391 __cil_tmp677 = *((struct dvb_frontend **)__cil_tmp676);
14392#line 699
14393 dvb_frontend_detach(__cil_tmp677);
14394#line 700
14395 __cil_tmp678 = (unsigned long )budget;
14396#line 700
14397 __cil_tmp679 = __cil_tmp678 + 2880;
14398#line 700
14399 __cil_tmp680 = (void *)0;
14400#line 700
14401 *((struct dvb_frontend **)__cil_tmp679) = (struct dvb_frontend *)__cil_tmp680;
14402 }
14403#line 701
14404 return;
14405}
14406}
14407#line 704 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14408static int budget_attach(struct saa7146_dev *dev , struct saa7146_pci_extension_data *info )
14409{ struct budget *budget ;
14410 int err ;
14411 void *tmp___7 ;
14412 void *__cil_tmp6 ;
14413 unsigned long __cil_tmp7 ;
14414 void *__cil_tmp8 ;
14415 unsigned long __cil_tmp9 ;
14416 unsigned long __cil_tmp10 ;
14417 unsigned long __cil_tmp11 ;
14418 unsigned long __cil_tmp12 ;
14419 unsigned long __cil_tmp13 ;
14420 short *__cil_tmp14 ;
14421 void const *__cil_tmp15 ;
14422 unsigned long __cil_tmp16 ;
14423 unsigned long __cil_tmp17 ;
14424 unsigned long __cil_tmp18 ;
14425
14426 {
14427 {
14428#line 706
14429 __cil_tmp6 = (void *)0;
14430#line 706
14431 budget = (struct budget *)__cil_tmp6;
14432#line 709
14433 tmp___7 = kmalloc(2912UL, 208U);
14434#line 709
14435 budget = (struct budget *)tmp___7;
14436 }
14437 {
14438#line 710
14439 __cil_tmp7 = (unsigned long )budget;
14440#line 710
14441 __cil_tmp8 = (void *)0;
14442#line 710
14443 __cil_tmp9 = (unsigned long )__cil_tmp8;
14444#line 710
14445 if (__cil_tmp9 == __cil_tmp7) {
14446#line 711
14447 return (-12);
14448 } else {
14449
14450 }
14451 }
14452 {
14453#line 714
14454 while (1) {
14455 while_continue: ;
14456#line 714
14457 if (budget_debug & 2) {
14458 {
14459#line 714
14460 printk("%s: %s(): ", "budget", "budget_attach");
14461#line 714
14462 printk("dev:%p, info:%p, budget:%p\n", dev, info, budget);
14463 }
14464 } else {
14465
14466 }
14467#line 714
14468 goto while_break;
14469 }
14470 while_break: ;
14471 }
14472 {
14473#line 716
14474 __cil_tmp10 = (unsigned long )dev;
14475#line 716
14476 __cil_tmp11 = __cil_tmp10 + 432;
14477#line 716
14478 *((void **)__cil_tmp11) = (void *)budget;
14479#line 718
14480 __cil_tmp12 = 0 * 2UL;
14481#line 718
14482 __cil_tmp13 = (unsigned long )(adapter_nr) + __cil_tmp12;
14483#line 718
14484 __cil_tmp14 = (short *)__cil_tmp13;
14485#line 718
14486 err = ttpci_budget_init(budget, dev, info, & __this_module, __cil_tmp14);
14487 }
14488#line 719
14489 if (err) {
14490 {
14491#line 720
14492 printk("==> failed\n");
14493#line 721
14494 __cil_tmp15 = (void const *)budget;
14495#line 721
14496 kfree(__cil_tmp15);
14497 }
14498#line 722
14499 return (err);
14500 } else {
14501
14502 }
14503 {
14504#line 725
14505 __cil_tmp16 = 2704 + 56;
14506#line 725
14507 __cil_tmp17 = (unsigned long )budget;
14508#line 725
14509 __cil_tmp18 = __cil_tmp17 + __cil_tmp16;
14510#line 725
14511 *((void **)__cil_tmp18) = (void *)budget;
14512#line 726
14513 frontend_init(budget);
14514#line 728
14515 ttpci_budget_init_hooks(budget);
14516 }
14517#line 730
14518 return (0);
14519}
14520}
14521#line 733 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14522static int budget_detach(struct saa7146_dev *dev )
14523{ struct budget *budget ;
14524 int err ;
14525 unsigned long __cil_tmp4 ;
14526 unsigned long __cil_tmp5 ;
14527 void *__cil_tmp6 ;
14528 unsigned long __cil_tmp7 ;
14529 unsigned long __cil_tmp8 ;
14530 unsigned long __cil_tmp9 ;
14531 unsigned long __cil_tmp10 ;
14532 struct dvb_frontend *__cil_tmp11 ;
14533 unsigned long __cil_tmp12 ;
14534 unsigned long __cil_tmp13 ;
14535 struct dvb_frontend *__cil_tmp14 ;
14536 void const *__cil_tmp15 ;
14537 unsigned long __cil_tmp16 ;
14538 unsigned long __cil_tmp17 ;
14539
14540 {
14541#line 735
14542 __cil_tmp4 = (unsigned long )dev;
14543#line 735
14544 __cil_tmp5 = __cil_tmp4 + 432;
14545#line 735
14546 __cil_tmp6 = *((void **)__cil_tmp5);
14547#line 735
14548 budget = (struct budget *)__cil_tmp6;
14549 {
14550#line 738
14551 __cil_tmp7 = (unsigned long )budget;
14552#line 738
14553 __cil_tmp8 = __cil_tmp7 + 2880;
14554#line 738
14555 if (*((struct dvb_frontend **)__cil_tmp8)) {
14556 {
14557#line 739
14558 __cil_tmp9 = (unsigned long )budget;
14559#line 739
14560 __cil_tmp10 = __cil_tmp9 + 2880;
14561#line 739
14562 __cil_tmp11 = *((struct dvb_frontend **)__cil_tmp10);
14563#line 739
14564 dvb_unregister_frontend(__cil_tmp11);
14565#line 740
14566 __cil_tmp12 = (unsigned long )budget;
14567#line 740
14568 __cil_tmp13 = __cil_tmp12 + 2880;
14569#line 740
14570 __cil_tmp14 = *((struct dvb_frontend **)__cil_tmp13);
14571#line 740
14572 dvb_frontend_detach(__cil_tmp14);
14573 }
14574 } else {
14575
14576 }
14577 }
14578 {
14579#line 743
14580 err = ttpci_budget_deinit(budget);
14581#line 745
14582 __cil_tmp15 = (void const *)budget;
14583#line 745
14584 kfree(__cil_tmp15);
14585#line 746
14586 __cil_tmp16 = (unsigned long )dev;
14587#line 746
14588 __cil_tmp17 = __cil_tmp16 + 432;
14589#line 746
14590 *((void **)__cil_tmp17) = (void *)0;
14591 }
14592#line 748
14593 return (err);
14594}
14595}
14596#line 751
14597static struct saa7146_extension budget_extension ;
14598#line 753 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14599static struct budget_info ttbs_info = {(char *)"TT-Budget/WinTV-NOVA-S PCI", 0};
14600#line 753 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14601static struct saa7146_pci_extension_data ttbs = {& budget_extension, (void *)(& ttbs_info)};
14602#line 754 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14603static struct budget_info ttbc_info = {(char *)"TT-Budget/WinTV-NOVA-C PCI", 0};
14604#line 754 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14605static struct saa7146_pci_extension_data ttbc = {& budget_extension, (void *)(& ttbc_info)};
14606#line 755 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14607static struct budget_info ttbt_info = {(char *)"TT-Budget/WinTV-NOVA-T PCI", 0};
14608#line 755 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14609static struct saa7146_pci_extension_data ttbt = {& budget_extension, (void *)(& ttbt_info)};
14610#line 756 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14611static struct budget_info satel_info = {(char *)"SATELCO Multimedia PCI", 1};
14612#line 756 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14613static struct saa7146_pci_extension_data satel = {& budget_extension, (void *)(& satel_info)};
14614#line 757 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14615static struct budget_info ttbs1401_info = {(char *)"TT-Budget-S-1401 PCI", 0};
14616#line 757 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14617static struct saa7146_pci_extension_data ttbs1401 = {& budget_extension, (void *)(& ttbs1401_info)};
14618#line 758 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14619static struct budget_info tt1600_info = {(char *)"TT-Budget S2-1600 PCI", 0};
14620#line 758 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14621static struct saa7146_pci_extension_data tt1600 = {& budget_extension, (void *)(& tt1600_info)};
14622#line 759 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14623static struct budget_info fsacs0_info = {(char *)"Fujitsu Siemens Activy Budget-S PCI (rev GR/grundig frontend)", 4};
14624#line 759 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14625static struct saa7146_pci_extension_data fsacs0 = {& budget_extension, (void *)(& fsacs0_info)};
14626#line 760 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14627static struct budget_info fsacs1_info = {(char *)"Fujitsu Siemens Activy Budget-S PCI (rev AL/alps frontend)", 4};
14628#line 760 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14629static struct saa7146_pci_extension_data fsacs1 = {& budget_extension, (void *)(& fsacs1_info)};
14630#line 761 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14631static struct budget_info fsact_info = {(char *)"Fujitsu Siemens Activy Budget-T PCI (rev GR/Grundig frontend)", 4};
14632#line 761 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14633static struct saa7146_pci_extension_data fsact = {& budget_extension, (void *)(& fsact_info)};
14634#line 762 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14635static struct budget_info fsact1_info = {(char *)"Fujitsu Siemens Activy Budget-T PCI (rev AL/ALPS TDHD1-204A)", 4};
14636#line 762 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14637static struct saa7146_pci_extension_data fsact1 = {& budget_extension, (void *)(& fsact1_info)};
14638#line 764 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14639static struct pci_device_id pci_tbl[12] =
14640#line 764
14641 { {(__u32 )4401, (__u32 )28998, (__u32 )5058, (__u32 )4099, 0U, 0U, (unsigned long )(& ttbs)},
14642 {(__u32 )4401,
14643 (__u32 )28998, (__u32 )5058, (__u32 )4100, 0U, 0U, (unsigned long )(& ttbc)},
14644 {(__u32 )4401,
14645 (__u32 )28998, (__u32 )5058, (__u32 )4101, 0U, 0U, (unsigned long )(& ttbt)},
14646 {(__u32 )4401,
14647 (__u32 )28998, (__u32 )5058, (__u32 )4115, 0U, 0U, (unsigned long )(& satel)},
14648 {(__u32 )4401,
14649 (__u32 )28998, (__u32 )5058, (__u32 )4118, 0U, 0U, (unsigned long )(& ttbs)},
14650 {(__u32 )4401,
14651 (__u32 )28998, (__u32 )5058, (__u32 )4120, 0U, 0U, (unsigned long )(& ttbs1401)},
14652 {(__u32 )4401,
14653 (__u32 )28998, (__u32 )5058, (__u32 )4124, 0U, 0U, (unsigned long )(& tt1600)},
14654 {(__u32 )4401,
14655 (__u32 )28998, (__u32 )4401, (__u32 )20320, 0U, 0U, (unsigned long )(& fsacs1)},
14656 {(__u32 )4401,
14657 (__u32 )28998, (__u32 )4401, (__u32 )20321, 0U, 0U, (unsigned long )(& fsacs0)},
14658 {(__u32 )4401,
14659 (__u32 )28998, (__u32 )4401, (__u32 )24416, 0U, 0U, (unsigned long )(& fsact1)},
14660 {(__u32 )4401,
14661 (__u32 )28998, (__u32 )4401, (__u32 )24417, 0U, 0U, (unsigned long )(& fsact)},
14662 {(__u32 )0,
14663 0U, 0U, 0U, 0U, 0U, 0UL}};
14664#line 781
14665extern struct pci_device_id const __mod_pci_device_table __attribute__((__unused__,
14666__alias__("pci_tbl"))) ;
14667#line 783 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14668static struct saa7146_extension budget_extension =
14669#line 783
14670 {{(char )'b', (char )'u', (char )'d', (char )'g', (char )'e', (char )'t', (char )' ',
14671 (char )'d', (char )'v', (char )'b', (char )'\000'}, 1, & __this_module, {{(struct list_head *)0,
14672 (struct list_head *)0},
14673 (char const *)0,
14674 (struct pci_device_id const *)0,
14675 (int (*)(struct pci_dev *dev ,
14676 struct pci_device_id const *id ))0,
14677 (void (*)(struct pci_dev *dev ))0,
14678 (int (*)(struct pci_dev *dev ,
14679 pm_message_t state ))0,
14680 (int (*)(struct pci_dev *dev ,
14681 pm_message_t state ))0,
14682 (int (*)(struct pci_dev *dev ))0,
14683 (int (*)(struct pci_dev *dev ))0,
14684 (void (*)(struct pci_dev *dev ))0,
14685 (struct pci_error_handlers *)0,
14686 {(char const *)0,
14687 (struct bus_type *)0,
14688 (struct module *)0,
14689 (char const *)0,
14690 (_Bool)0,
14691 (struct of_device_id const *)0,
14692 (int (*)(struct device *dev ))0,
14693 (int (*)(struct device *dev ))0,
14694 (void (*)(struct device *dev ))0,
14695 (int (*)(struct device *dev ,
14696 pm_message_t state ))0,
14697 (int (*)(struct device *dev ))0,
14698 (struct attribute_group const **)0,
14699 (struct dev_pm_ops const *)0,
14700 (struct driver_private *)0},
14701 {{{{{{0U}},
14702 0U,
14703 0U,
14704 (void *)0}}},
14705 {(struct list_head *)0,
14706 (struct list_head *)0}}},
14707 pci_tbl, (int (*)(struct saa7146_dev * ))0, & budget_attach, & budget_detach,
14708 (u32 )1024, & ttpci_budget_irq10_handler};
14709#line 796
14710static int budget_init(void) __attribute__((__section__(".init.text"), __no_instrument_function__)) ;
14711#line 796 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14712static int budget_init(void)
14713{ int tmp___7 ;
14714
14715 {
14716 {
14717#line 798
14718 tmp___7 = saa7146_register_extension(& budget_extension);
14719 }
14720#line 798
14721 return (tmp___7);
14722}
14723}
14724#line 801
14725static void budget_exit(void) __attribute__((__section__(".exit.text"), __no_instrument_function__)) ;
14726#line 801 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14727static void budget_exit(void)
14728{
14729
14730 {
14731 {
14732#line 803
14733 saa7146_unregister_extension(& budget_extension);
14734 }
14735#line 804
14736 return;
14737}
14738}
14739#line 806 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14740int init_module(void)
14741{ int tmp___7 ;
14742
14743 {
14744 {
14745#line 806
14746 tmp___7 = budget_init();
14747 }
14748#line 806
14749 return (tmp___7);
14750}
14751}
14752#line 807 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14753void cleanup_module(void)
14754{
14755
14756 {
14757 {
14758#line 807
14759 budget_exit();
14760 }
14761#line 807
14762 return;
14763}
14764}
14765#line 809 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14766static char const __mod_license809[12] __attribute__((__used__, __unused__, __section__(".modinfo"),
14767__aligned__(1))) =
14768#line 809
14769 { (char const )'l', (char const )'i', (char const )'c', (char const )'e',
14770 (char const )'n', (char const )'s', (char const )'e', (char const )'=',
14771 (char const )'G', (char const )'P', (char const )'L', (char const )'\000'};
14772#line 810 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14773static char const __mod_author810[61] __attribute__((__used__, __unused__, __section__(".modinfo"),
14774__aligned__(1))) =
14775#line 810
14776 { (char const )'a', (char const )'u', (char const )'t', (char const )'h',
14777 (char const )'o', (char const )'r', (char const )'=', (char const )'R',
14778 (char const )'a', (char const )'l', (char const )'p', (char const )'h',
14779 (char const )' ', (char const )'M', (char const )'e', (char const )'t',
14780 (char const )'z', (char const )'l', (char const )'e', (char const )'r',
14781 (char const )',', (char const )' ', (char const )'M', (char const )'a',
14782 (char const )'r', (char const )'c', (char const )'u', (char const )'s',
14783 (char const )' ', (char const )'M', (char const )'e', (char const )'t',
14784 (char const )'z', (char const )'l', (char const )'e', (char const )'r',
14785 (char const )',', (char const )' ', (char const )'M', (char const )'i',
14786 (char const )'c', (char const )'h', (char const )'a', (char const )'e',
14787 (char const )'l', (char const )' ', (char const )'H', (char const )'u',
14788 (char const )'n', (char const )'o', (char const )'l', (char const )'d',
14789 (char const )',', (char const )' ', (char const )'o', (char const )'t',
14790 (char const )'h', (char const )'e', (char const )'r', (char const )'s',
14791 (char const )'\000'};
14792#line 811 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14793static char const __mod_description812[107] __attribute__((__used__, __unused__,
14794__section__(".modinfo"), __aligned__(1))) =
14795#line 811
14796 { (char const )'d', (char const )'e', (char const )'s', (char const )'c',
14797 (char const )'r', (char const )'i', (char const )'p', (char const )'t',
14798 (char const )'i', (char const )'o', (char const )'n', (char const )'=',
14799 (char const )'d', (char const )'r', (char const )'i', (char const )'v',
14800 (char const )'e', (char const )'r', (char const )' ', (char const )'f',
14801 (char const )'o', (char const )'r', (char const )' ', (char const )'t',
14802 (char const )'h', (char const )'e', (char const )' ', (char const )'S',
14803 (char const )'A', (char const )'A', (char const )'7', (char const )'1',
14804 (char const )'4', (char const )'6', (char const )' ', (char const )'b',
14805 (char const )'a', (char const )'s', (char const )'e', (char const )'d',
14806 (char const )' ', (char const )'s', (char const )'o', (char const )'-',
14807 (char const )'c', (char const )'a', (char const )'l', (char const )'l',
14808 (char const )'e', (char const )'d', (char const )' ', (char const )'b',
14809 (char const )'u', (char const )'d', (char const )'g', (char const )'e',
14810 (char const )'t', (char const )' ', (char const )'P', (char const )'C',
14811 (char const )'I', (char const )' ', (char const )'D', (char const )'V',
14812 (char const )'B', (char const )' ', (char const )'c', (char const )'a',
14813 (char const )'r', (char const )'d', (char const )'s', (char const )' ',
14814 (char const )'b', (char const )'y', (char const )' ', (char const )'S',
14815 (char const )'i', (char const )'e', (char const )'m', (char const )'e',
14816 (char const )'n', (char const )'s', (char const )',', (char const )' ',
14817 (char const )'T', (char const )'e', (char const )'c', (char const )'h',
14818 (char const )'n', (char const )'o', (char const )'t', (char const )'r',
14819 (char const )'e', (char const )'n', (char const )'d', (char const )',',
14820 (char const )' ', (char const )'H', (char const )'a', (char const )'u',
14821 (char const )'p', (char const )'p', (char const )'a', (char const )'u',
14822 (char const )'g', (char const )'e', (char const )'\000'};
14823#line 830
14824void ldv_check_final_state(void) ;
14825#line 836
14826extern void ldv_initialize(void) ;
14827#line 839
14828extern int __VERIFIER_nondet_int(void) ;
14829#line 842 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14830int LDV_IN_INTERRUPT ;
14831#line 845 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
14832void main(void)
14833{ struct saa7146_dev *var_group1 ;
14834 struct saa7146_pci_extension_data *var_group2 ;
14835 int tmp___7 ;
14836 int tmp___8 ;
14837 int tmp___9 ;
14838
14839 {
14840 {
14841#line 867
14842 LDV_IN_INTERRUPT = 1;
14843#line 876
14844 ldv_initialize();
14845#line 882
14846 tmp___7 = budget_init();
14847 }
14848#line 882
14849 if (tmp___7) {
14850#line 883
14851 goto ldv_final;
14852 } else {
14853
14854 }
14855 {
14856#line 887
14857 while (1) {
14858 while_continue: ;
14859 {
14860#line 887
14861 tmp___9 = __VERIFIER_nondet_int();
14862 }
14863#line 887
14864 if (tmp___9) {
14865
14866 } else {
14867#line 887
14868 goto while_break;
14869 }
14870 {
14871#line 890
14872 tmp___8 = __VERIFIER_nondet_int();
14873 }
14874#line 892
14875 if (tmp___8 == 0) {
14876#line 892
14877 goto case_0;
14878 } else
14879#line 908
14880 if (tmp___8 == 1) {
14881#line 908
14882 goto case_1;
14883 } else {
14884 {
14885#line 924
14886 goto switch_default;
14887#line 890
14888 if (0) {
14889 case_0:
14890 {
14891#line 900
14892 budget_attach(var_group1, var_group2);
14893 }
14894#line 907
14895 goto switch_break;
14896 case_1:
14897 {
14898#line 916
14899 budget_detach(var_group1);
14900 }
14901#line 923
14902 goto switch_break;
14903 switch_default:
14904#line 924
14905 goto switch_break;
14906 } else {
14907 switch_break: ;
14908 }
14909 }
14910 }
14911 }
14912 while_break: ;
14913 }
14914 {
14915#line 936
14916 budget_exit();
14917 }
14918 ldv_final:
14919 {
14920#line 939
14921 ldv_check_final_state();
14922 }
14923#line 942
14924 return;
14925}
14926}
14927#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast-assert.h"
14928void ldv_blast_assert(void)
14929{
14930
14931 {
14932 ERROR:
14933#line 6
14934 goto ERROR;
14935}
14936}
14937#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/engine-blast.h"
14938extern int __VERIFIER_nondet_int(void) ;
14939#line 19 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14940int ldv_mutex = 1;
14941#line 22 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14942int __attribute__((__warn_unused_result__)) mutex_lock_interruptible(struct mutex *lock )
14943{ int nondetermined ;
14944
14945 {
14946#line 29
14947 if (ldv_mutex == 1) {
14948
14949 } else {
14950 {
14951#line 29
14952 ldv_blast_assert();
14953 }
14954 }
14955 {
14956#line 32
14957 nondetermined = __VERIFIER_nondet_int();
14958 }
14959#line 35
14960 if (nondetermined) {
14961#line 38
14962 ldv_mutex = 2;
14963#line 40
14964 return (0);
14965 } else {
14966#line 45
14967 return (-4);
14968 }
14969}
14970}
14971#line 50 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
14972int __attribute__((__warn_unused_result__)) mutex_lock_killable(struct mutex *lock )
14973{ int nondetermined ;
14974
14975 {
14976#line 57
14977 if (ldv_mutex == 1) {
14978
14979 } else {
14980 {
14981#line 57
14982 ldv_blast_assert();
14983 }
14984 }
14985 {
14986#line 60
14987 nondetermined = __VERIFIER_nondet_int();
14988 }
14989#line 63
14990 if (nondetermined) {
14991#line 66
14992 ldv_mutex = 2;
14993#line 68
14994 return (0);
14995 } else {
14996#line 73
14997 return (-4);
14998 }
14999}
15000}
15001#line 78 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
15002int atomic_dec_and_mutex_lock(atomic_t *cnt , struct mutex *lock )
15003{ int atomic_value_after_dec ;
15004
15005 {
15006#line 83
15007 if (ldv_mutex == 1) {
15008
15009 } else {
15010 {
15011#line 83
15012 ldv_blast_assert();
15013 }
15014 }
15015 {
15016#line 86
15017 atomic_value_after_dec = __VERIFIER_nondet_int();
15018 }
15019#line 89
15020 if (atomic_value_after_dec == 0) {
15021#line 92
15022 ldv_mutex = 2;
15023#line 94
15024 return (1);
15025 } else {
15026
15027 }
15028#line 98
15029 return (0);
15030}
15031}
15032#line 103 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
15033void mutex_lock(struct mutex *lock )
15034{
15035
15036 {
15037#line 108
15038 if (ldv_mutex == 1) {
15039
15040 } else {
15041 {
15042#line 108
15043 ldv_blast_assert();
15044 }
15045 }
15046#line 110
15047 ldv_mutex = 2;
15048#line 111
15049 return;
15050}
15051}
15052#line 114 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
15053int mutex_trylock(struct mutex *lock )
15054{ int nondetermined ;
15055
15056 {
15057#line 121
15058 if (ldv_mutex == 1) {
15059
15060 } else {
15061 {
15062#line 121
15063 ldv_blast_assert();
15064 }
15065 }
15066 {
15067#line 124
15068 nondetermined = __VERIFIER_nondet_int();
15069 }
15070#line 127
15071 if (nondetermined) {
15072#line 130
15073 ldv_mutex = 2;
15074#line 132
15075 return (1);
15076 } else {
15077#line 137
15078 return (0);
15079 }
15080}
15081}
15082#line 142 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
15083void mutex_unlock(struct mutex *lock )
15084{
15085
15086 {
15087#line 147
15088 if (ldv_mutex == 2) {
15089
15090 } else {
15091 {
15092#line 147
15093 ldv_blast_assert();
15094 }
15095 }
15096#line 149
15097 ldv_mutex = 1;
15098#line 150
15099 return;
15100}
15101}
15102#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/kernel-rules/files/model0032.c"
15103void ldv_check_final_state(void)
15104{
15105
15106 {
15107#line 156
15108 if (ldv_mutex == 1) {
15109
15110 } else {
15111 {
15112#line 156
15113 ldv_blast_assert();
15114 }
15115 }
15116#line 157
15117 return;
15118}
15119}
15120#line 951 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--32_1--X--cpachecker/linux-3.4/csd_deg_dscv/13236/dscv_tempdir/dscv/ri/32_1/drivers/media/dvb/ttpci/budget.c.common.c"
15121long s__builtin_expect(long val , long res )
15122{
15123
15124 {
15125#line 952
15126 return (val);
15127}
15128}