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 44 "include/asm-generic/posix_types.h"
45typedef __kernel_long_t __kernel_suseconds_t;
46#line 52 "include/asm-generic/posix_types.h"
47typedef unsigned int __kernel_uid32_t;
48#line 53 "include/asm-generic/posix_types.h"
49typedef unsigned int __kernel_gid32_t;
50#line 75 "include/asm-generic/posix_types.h"
51typedef __kernel_ulong_t __kernel_size_t;
52#line 76 "include/asm-generic/posix_types.h"
53typedef __kernel_long_t __kernel_ssize_t;
54#line 90 "include/asm-generic/posix_types.h"
55typedef __kernel_long_t __kernel_off_t;
56#line 91 "include/asm-generic/posix_types.h"
57typedef long long __kernel_loff_t;
58#line 92 "include/asm-generic/posix_types.h"
59typedef __kernel_long_t __kernel_time_t;
60#line 93 "include/asm-generic/posix_types.h"
61typedef __kernel_long_t __kernel_clock_t;
62#line 94 "include/asm-generic/posix_types.h"
63typedef int __kernel_timer_t;
64#line 95 "include/asm-generic/posix_types.h"
65typedef int __kernel_clockid_t;
66#line 21 "include/linux/types.h"
67typedef __u32 __kernel_dev_t;
68#line 24 "include/linux/types.h"
69typedef __kernel_dev_t dev_t;
70#line 27 "include/linux/types.h"
71typedef unsigned short umode_t;
72#line 28 "include/linux/types.h"
73typedef __kernel_nlink_t nlink_t;
74#line 29 "include/linux/types.h"
75typedef __kernel_off_t off_t;
76#line 30 "include/linux/types.h"
77typedef __kernel_pid_t pid_t;
78#line 35 "include/linux/types.h"
79typedef __kernel_clockid_t clockid_t;
80#line 38 "include/linux/types.h"
81typedef _Bool bool;
82#line 40 "include/linux/types.h"
83typedef __kernel_uid32_t uid_t;
84#line 41 "include/linux/types.h"
85typedef __kernel_gid32_t gid_t;
86#line 54 "include/linux/types.h"
87typedef __kernel_loff_t loff_t;
88#line 63 "include/linux/types.h"
89typedef __kernel_size_t size_t;
90#line 68 "include/linux/types.h"
91typedef __kernel_ssize_t ssize_t;
92#line 78 "include/linux/types.h"
93typedef __kernel_time_t time_t;
94#line 111 "include/linux/types.h"
95typedef __s32 int32_t;
96#line 115 "include/linux/types.h"
97typedef __u8 uint8_t;
98#line 117 "include/linux/types.h"
99typedef __u32 uint32_t;
100#line 120 "include/linux/types.h"
101typedef __u64 uint64_t;
102#line 142 "include/linux/types.h"
103typedef unsigned long sector_t;
104#line 143 "include/linux/types.h"
105typedef unsigned long blkcnt_t;
106#line 155 "include/linux/types.h"
107typedef u64 dma_addr_t;
108#line 178 "include/linux/types.h"
109typedef __u16 __le16;
110#line 179 "include/linux/types.h"
111typedef __u16 __be16;
112#line 180 "include/linux/types.h"
113typedef __u32 __le32;
114#line 181 "include/linux/types.h"
115typedef __u32 __be32;
116#line 186 "include/linux/types.h"
117typedef __u32 __wsum;
118#line 202 "include/linux/types.h"
119typedef unsigned int gfp_t;
120#line 203 "include/linux/types.h"
121typedef unsigned int fmode_t;
122#line 221 "include/linux/types.h"
123struct __anonstruct_atomic_t_6 {
124 int counter ;
125};
126#line 221 "include/linux/types.h"
127typedef struct __anonstruct_atomic_t_6 atomic_t;
128#line 226 "include/linux/types.h"
129struct __anonstruct_atomic64_t_7 {
130 long counter ;
131};
132#line 226 "include/linux/types.h"
133typedef struct __anonstruct_atomic64_t_7 atomic64_t;
134#line 227 "include/linux/types.h"
135struct list_head {
136 struct list_head *next ;
137 struct list_head *prev ;
138};
139#line 232
140struct hlist_node;
141#line 232 "include/linux/types.h"
142struct hlist_head {
143 struct hlist_node *first ;
144};
145#line 236 "include/linux/types.h"
146struct hlist_node {
147 struct hlist_node *next ;
148 struct hlist_node **pprev ;
149};
150#line 247 "include/linux/types.h"
151struct rcu_head {
152 struct rcu_head *next ;
153 void (*func)(struct rcu_head * ) ;
154};
155#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
156struct module;
157#line 55
158struct module;
159#line 146 "include/linux/init.h"
160typedef void (*ctor_fn_t)(void);
161#line 46 "include/linux/dynamic_debug.h"
162struct device;
163#line 46
164struct device;
165#line 51
166struct net_device;
167#line 51
168struct net_device;
169#line 57
170struct completion;
171#line 57
172struct completion;
173#line 58
174struct pt_regs;
175#line 58
176struct pt_regs;
177#line 348 "include/linux/kernel.h"
178struct pid;
179#line 348
180struct pid;
181#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
182struct timespec;
183#line 112
184struct timespec;
185#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
186struct page;
187#line 58
188struct page;
189#line 26 "include/asm-generic/getorder.h"
190struct task_struct;
191#line 26
192struct task_struct;
193#line 28
194struct mm_struct;
195#line 28
196struct mm_struct;
197#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
198struct pt_regs {
199 unsigned long r15 ;
200 unsigned long r14 ;
201 unsigned long r13 ;
202 unsigned long r12 ;
203 unsigned long bp ;
204 unsigned long bx ;
205 unsigned long r11 ;
206 unsigned long r10 ;
207 unsigned long r9 ;
208 unsigned long r8 ;
209 unsigned long ax ;
210 unsigned long cx ;
211 unsigned long dx ;
212 unsigned long si ;
213 unsigned long di ;
214 unsigned long orig_ax ;
215 unsigned long ip ;
216 unsigned long cs ;
217 unsigned long flags ;
218 unsigned long sp ;
219 unsigned long ss ;
220};
221#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
222struct __anonstruct_ldv_2180_13 {
223 unsigned int a ;
224 unsigned int b ;
225};
226#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
227struct __anonstruct_ldv_2195_14 {
228 u16 limit0 ;
229 u16 base0 ;
230 unsigned char base1 ;
231 unsigned char type : 4 ;
232 unsigned char s : 1 ;
233 unsigned char dpl : 2 ;
234 unsigned char p : 1 ;
235 unsigned char limit : 4 ;
236 unsigned char avl : 1 ;
237 unsigned char l : 1 ;
238 unsigned char d : 1 ;
239 unsigned char g : 1 ;
240 unsigned char base2 ;
241};
242#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
243union __anonunion_ldv_2196_12 {
244 struct __anonstruct_ldv_2180_13 ldv_2180 ;
245 struct __anonstruct_ldv_2195_14 ldv_2195 ;
246};
247#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
248struct desc_struct {
249 union __anonunion_ldv_2196_12 ldv_2196 ;
250};
251#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
252typedef unsigned long pgdval_t;
253#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
254typedef unsigned long pgprotval_t;
255#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
256struct pgprot {
257 pgprotval_t pgprot ;
258};
259#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
260typedef struct pgprot pgprot_t;
261#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
262struct __anonstruct_pgd_t_16 {
263 pgdval_t pgd ;
264};
265#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
266typedef struct __anonstruct_pgd_t_16 pgd_t;
267#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
268typedef struct page *pgtable_t;
269#line 290
270struct file;
271#line 290
272struct file;
273#line 305
274struct seq_file;
275#line 305
276struct seq_file;
277#line 337
278struct thread_struct;
279#line 337
280struct thread_struct;
281#line 339
282struct cpumask;
283#line 339
284struct cpumask;
285#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
286struct arch_spinlock;
287#line 327
288struct arch_spinlock;
289#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
290struct kernel_vm86_regs {
291 struct pt_regs pt ;
292 unsigned short es ;
293 unsigned short __esh ;
294 unsigned short ds ;
295 unsigned short __dsh ;
296 unsigned short fs ;
297 unsigned short __fsh ;
298 unsigned short gs ;
299 unsigned short __gsh ;
300};
301#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
302union __anonunion_ldv_2824_19 {
303 struct pt_regs *regs ;
304 struct kernel_vm86_regs *vm86 ;
305};
306#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
307struct math_emu_info {
308 long ___orig_eip ;
309 union __anonunion_ldv_2824_19 ldv_2824 ;
310};
311#line 306 "include/linux/bitmap.h"
312struct bug_entry {
313 int bug_addr_disp ;
314 int file_disp ;
315 unsigned short line ;
316 unsigned short flags ;
317};
318#line 89 "include/linux/bug.h"
319struct cpumask {
320 unsigned long bits[64U] ;
321};
322#line 14 "include/linux/cpumask.h"
323typedef struct cpumask cpumask_t;
324#line 637 "include/linux/cpumask.h"
325typedef struct cpumask *cpumask_var_t;
326#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
327struct static_key;
328#line 234
329struct static_key;
330#line 153 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
331struct seq_operations;
332#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
333struct i387_fsave_struct {
334 u32 cwd ;
335 u32 swd ;
336 u32 twd ;
337 u32 fip ;
338 u32 fcs ;
339 u32 foo ;
340 u32 fos ;
341 u32 st_space[20U] ;
342 u32 status ;
343};
344#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
345struct __anonstruct_ldv_5180_24 {
346 u64 rip ;
347 u64 rdp ;
348};
349#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
350struct __anonstruct_ldv_5186_25 {
351 u32 fip ;
352 u32 fcs ;
353 u32 foo ;
354 u32 fos ;
355};
356#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
357union __anonunion_ldv_5187_23 {
358 struct __anonstruct_ldv_5180_24 ldv_5180 ;
359 struct __anonstruct_ldv_5186_25 ldv_5186 ;
360};
361#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
362union __anonunion_ldv_5196_26 {
363 u32 padding1[12U] ;
364 u32 sw_reserved[12U] ;
365};
366#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
367struct i387_fxsave_struct {
368 u16 cwd ;
369 u16 swd ;
370 u16 twd ;
371 u16 fop ;
372 union __anonunion_ldv_5187_23 ldv_5187 ;
373 u32 mxcsr ;
374 u32 mxcsr_mask ;
375 u32 st_space[32U] ;
376 u32 xmm_space[64U] ;
377 u32 padding[12U] ;
378 union __anonunion_ldv_5196_26 ldv_5196 ;
379};
380#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
381struct i387_soft_struct {
382 u32 cwd ;
383 u32 swd ;
384 u32 twd ;
385 u32 fip ;
386 u32 fcs ;
387 u32 foo ;
388 u32 fos ;
389 u32 st_space[20U] ;
390 u8 ftop ;
391 u8 changed ;
392 u8 lookahead ;
393 u8 no_update ;
394 u8 rm ;
395 u8 alimit ;
396 struct math_emu_info *info ;
397 u32 entry_eip ;
398};
399#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
400struct ymmh_struct {
401 u32 ymmh_space[64U] ;
402};
403#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
404struct xsave_hdr_struct {
405 u64 xstate_bv ;
406 u64 reserved1[2U] ;
407 u64 reserved2[5U] ;
408};
409#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
410struct xsave_struct {
411 struct i387_fxsave_struct i387 ;
412 struct xsave_hdr_struct xsave_hdr ;
413 struct ymmh_struct ymmh ;
414};
415#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
416union thread_xstate {
417 struct i387_fsave_struct fsave ;
418 struct i387_fxsave_struct fxsave ;
419 struct i387_soft_struct soft ;
420 struct xsave_struct xsave ;
421};
422#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
423struct fpu {
424 unsigned int last_cpu ;
425 unsigned int has_fpu ;
426 union thread_xstate *state ;
427};
428#line 433
429struct kmem_cache;
430#line 434
431struct perf_event;
432#line 434
433struct perf_event;
434#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
435struct thread_struct {
436 struct desc_struct tls_array[3U] ;
437 unsigned long sp0 ;
438 unsigned long sp ;
439 unsigned long usersp ;
440 unsigned short es ;
441 unsigned short ds ;
442 unsigned short fsindex ;
443 unsigned short gsindex ;
444 unsigned long fs ;
445 unsigned long gs ;
446 struct perf_event *ptrace_bps[4U] ;
447 unsigned long debugreg6 ;
448 unsigned long ptrace_dr7 ;
449 unsigned long cr2 ;
450 unsigned long trap_nr ;
451 unsigned long error_code ;
452 struct fpu fpu ;
453 unsigned long *io_bitmap_ptr ;
454 unsigned long iopl ;
455 unsigned int io_bitmap_max ;
456};
457#line 23 "include/asm-generic/atomic-long.h"
458typedef atomic64_t atomic_long_t;
459#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
460typedef u16 __ticket_t;
461#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
462typedef u32 __ticketpair_t;
463#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
464struct __raw_tickets {
465 __ticket_t head ;
466 __ticket_t tail ;
467};
468#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
469union __anonunion_ldv_5907_29 {
470 __ticketpair_t head_tail ;
471 struct __raw_tickets tickets ;
472};
473#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
474struct arch_spinlock {
475 union __anonunion_ldv_5907_29 ldv_5907 ;
476};
477#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
478typedef struct arch_spinlock arch_spinlock_t;
479#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
480struct __anonstruct_ldv_5914_31 {
481 u32 read ;
482 s32 write ;
483};
484#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
485union __anonunion_arch_rwlock_t_30 {
486 s64 lock ;
487 struct __anonstruct_ldv_5914_31 ldv_5914 ;
488};
489#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
490typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
491#line 34
492struct lockdep_map;
493#line 34
494struct lockdep_map;
495#line 55 "include/linux/debug_locks.h"
496struct stack_trace {
497 unsigned int nr_entries ;
498 unsigned int max_entries ;
499 unsigned long *entries ;
500 int skip ;
501};
502#line 26 "include/linux/stacktrace.h"
503struct lockdep_subclass_key {
504 char __one_byte ;
505};
506#line 53 "include/linux/lockdep.h"
507struct lock_class_key {
508 struct lockdep_subclass_key subkeys[8U] ;
509};
510#line 59 "include/linux/lockdep.h"
511struct lock_class {
512 struct list_head hash_entry ;
513 struct list_head lock_entry ;
514 struct lockdep_subclass_key *key ;
515 unsigned int subclass ;
516 unsigned int dep_gen_id ;
517 unsigned long usage_mask ;
518 struct stack_trace usage_traces[13U] ;
519 struct list_head locks_after ;
520 struct list_head locks_before ;
521 unsigned int version ;
522 unsigned long ops ;
523 char const *name ;
524 int name_version ;
525 unsigned long contention_point[4U] ;
526 unsigned long contending_point[4U] ;
527};
528#line 144 "include/linux/lockdep.h"
529struct lockdep_map {
530 struct lock_class_key *key ;
531 struct lock_class *class_cache[2U] ;
532 char const *name ;
533 int cpu ;
534 unsigned long ip ;
535};
536#line 187 "include/linux/lockdep.h"
537struct held_lock {
538 u64 prev_chain_key ;
539 unsigned long acquire_ip ;
540 struct lockdep_map *instance ;
541 struct lockdep_map *nest_lock ;
542 u64 waittime_stamp ;
543 u64 holdtime_stamp ;
544 unsigned short class_idx : 13 ;
545 unsigned char irq_context : 2 ;
546 unsigned char trylock : 1 ;
547 unsigned char read : 2 ;
548 unsigned char check : 2 ;
549 unsigned char hardirqs_off : 1 ;
550 unsigned short references : 11 ;
551};
552#line 556 "include/linux/lockdep.h"
553struct raw_spinlock {
554 arch_spinlock_t raw_lock ;
555 unsigned int magic ;
556 unsigned int owner_cpu ;
557 void *owner ;
558 struct lockdep_map dep_map ;
559};
560#line 32 "include/linux/spinlock_types.h"
561typedef struct raw_spinlock raw_spinlock_t;
562#line 33 "include/linux/spinlock_types.h"
563struct __anonstruct_ldv_6122_33 {
564 u8 __padding[24U] ;
565 struct lockdep_map dep_map ;
566};
567#line 33 "include/linux/spinlock_types.h"
568union __anonunion_ldv_6123_32 {
569 struct raw_spinlock rlock ;
570 struct __anonstruct_ldv_6122_33 ldv_6122 ;
571};
572#line 33 "include/linux/spinlock_types.h"
573struct spinlock {
574 union __anonunion_ldv_6123_32 ldv_6123 ;
575};
576#line 76 "include/linux/spinlock_types.h"
577typedef struct spinlock spinlock_t;
578#line 23 "include/linux/rwlock_types.h"
579struct __anonstruct_rwlock_t_34 {
580 arch_rwlock_t raw_lock ;
581 unsigned int magic ;
582 unsigned int owner_cpu ;
583 void *owner ;
584 struct lockdep_map dep_map ;
585};
586#line 23 "include/linux/rwlock_types.h"
587typedef struct __anonstruct_rwlock_t_34 rwlock_t;
588#line 36 "include/linux/seqlock.h"
589struct __anonstruct_seqlock_t_35 {
590 unsigned int sequence ;
591 spinlock_t lock ;
592};
593#line 36 "include/linux/seqlock.h"
594typedef struct __anonstruct_seqlock_t_35 seqlock_t;
595#line 110 "include/linux/seqlock.h"
596struct seqcount {
597 unsigned int sequence ;
598};
599#line 121 "include/linux/seqlock.h"
600typedef struct seqcount seqcount_t;
601#line 254 "include/linux/seqlock.h"
602struct timespec {
603 __kernel_time_t tv_sec ;
604 long tv_nsec ;
605};
606#line 18 "include/linux/time.h"
607struct timeval {
608 __kernel_time_t tv_sec ;
609 __kernel_suseconds_t tv_usec ;
610};
611#line 286 "include/linux/time.h"
612struct kstat {
613 u64 ino ;
614 dev_t dev ;
615 umode_t mode ;
616 unsigned int nlink ;
617 uid_t uid ;
618 gid_t gid ;
619 dev_t rdev ;
620 loff_t size ;
621 struct timespec atime ;
622 struct timespec mtime ;
623 struct timespec ctime ;
624 unsigned long blksize ;
625 unsigned long long blocks ;
626};
627#line 48 "include/linux/wait.h"
628struct __wait_queue_head {
629 spinlock_t lock ;
630 struct list_head task_list ;
631};
632#line 53 "include/linux/wait.h"
633typedef struct __wait_queue_head wait_queue_head_t;
634#line 98 "include/linux/nodemask.h"
635struct __anonstruct_nodemask_t_36 {
636 unsigned long bits[16U] ;
637};
638#line 98 "include/linux/nodemask.h"
639typedef struct __anonstruct_nodemask_t_36 nodemask_t;
640#line 670 "include/linux/mmzone.h"
641struct mutex {
642 atomic_t count ;
643 spinlock_t wait_lock ;
644 struct list_head wait_list ;
645 struct task_struct *owner ;
646 char const *name ;
647 void *magic ;
648 struct lockdep_map dep_map ;
649};
650#line 63 "include/linux/mutex.h"
651struct mutex_waiter {
652 struct list_head list ;
653 struct task_struct *task ;
654 void *magic ;
655};
656#line 171
657struct rw_semaphore;
658#line 171
659struct rw_semaphore;
660#line 172 "include/linux/mutex.h"
661struct rw_semaphore {
662 long count ;
663 raw_spinlock_t wait_lock ;
664 struct list_head wait_list ;
665 struct lockdep_map dep_map ;
666};
667#line 128 "include/linux/rwsem.h"
668struct completion {
669 unsigned int done ;
670 wait_queue_head_t wait ;
671};
672#line 188 "include/linux/rcupdate.h"
673struct notifier_block;
674#line 188
675struct notifier_block;
676#line 239 "include/linux/srcu.h"
677struct notifier_block {
678 int (*notifier_call)(struct notifier_block * , unsigned long , void * ) ;
679 struct notifier_block *next ;
680 int priority ;
681};
682#line 60 "include/linux/notifier.h"
683struct blocking_notifier_head {
684 struct rw_semaphore rwsem ;
685 struct notifier_block *head ;
686};
687#line 793 "include/linux/mmzone.h"
688struct ctl_table;
689#line 793
690struct ctl_table;
691#line 312 "include/linux/jiffies.h"
692union ktime {
693 s64 tv64 ;
694};
695#line 59 "include/linux/ktime.h"
696typedef union ktime ktime_t;
697#line 341
698struct tvec_base;
699#line 341
700struct tvec_base;
701#line 342 "include/linux/ktime.h"
702struct timer_list {
703 struct list_head entry ;
704 unsigned long expires ;
705 struct tvec_base *base ;
706 void (*function)(unsigned long ) ;
707 unsigned long data ;
708 int slack ;
709 int start_pid ;
710 void *start_site ;
711 char start_comm[16U] ;
712 struct lockdep_map lockdep_map ;
713};
714#line 289 "include/linux/timer.h"
715struct hrtimer;
716#line 289
717struct hrtimer;
718#line 290
719enum hrtimer_restart;
720#line 302
721struct work_struct;
722#line 302
723struct work_struct;
724#line 45 "include/linux/workqueue.h"
725struct work_struct {
726 atomic_long_t data ;
727 struct list_head entry ;
728 void (*func)(struct work_struct * ) ;
729 struct lockdep_map lockdep_map ;
730};
731#line 86 "include/linux/workqueue.h"
732struct delayed_work {
733 struct work_struct work ;
734 struct timer_list timer ;
735};
736#line 46 "include/linux/pm.h"
737struct pm_message {
738 int event ;
739};
740#line 52 "include/linux/pm.h"
741typedef struct pm_message pm_message_t;
742#line 53 "include/linux/pm.h"
743struct dev_pm_ops {
744 int (*prepare)(struct device * ) ;
745 void (*complete)(struct device * ) ;
746 int (*suspend)(struct device * ) ;
747 int (*resume)(struct device * ) ;
748 int (*freeze)(struct device * ) ;
749 int (*thaw)(struct device * ) ;
750 int (*poweroff)(struct device * ) ;
751 int (*restore)(struct device * ) ;
752 int (*suspend_late)(struct device * ) ;
753 int (*resume_early)(struct device * ) ;
754 int (*freeze_late)(struct device * ) ;
755 int (*thaw_early)(struct device * ) ;
756 int (*poweroff_late)(struct device * ) ;
757 int (*restore_early)(struct device * ) ;
758 int (*suspend_noirq)(struct device * ) ;
759 int (*resume_noirq)(struct device * ) ;
760 int (*freeze_noirq)(struct device * ) ;
761 int (*thaw_noirq)(struct device * ) ;
762 int (*poweroff_noirq)(struct device * ) ;
763 int (*restore_noirq)(struct device * ) ;
764 int (*runtime_suspend)(struct device * ) ;
765 int (*runtime_resume)(struct device * ) ;
766 int (*runtime_idle)(struct device * ) ;
767};
768#line 289
769enum rpm_status {
770 RPM_ACTIVE = 0,
771 RPM_RESUMING = 1,
772 RPM_SUSPENDED = 2,
773 RPM_SUSPENDING = 3
774} ;
775#line 296
776enum rpm_request {
777 RPM_REQ_NONE = 0,
778 RPM_REQ_IDLE = 1,
779 RPM_REQ_SUSPEND = 2,
780 RPM_REQ_AUTOSUSPEND = 3,
781 RPM_REQ_RESUME = 4
782} ;
783#line 304
784struct wakeup_source;
785#line 304
786struct wakeup_source;
787#line 494 "include/linux/pm.h"
788struct pm_subsys_data {
789 spinlock_t lock ;
790 unsigned int refcount ;
791};
792#line 499
793struct dev_pm_qos_request;
794#line 499
795struct pm_qos_constraints;
796#line 499 "include/linux/pm.h"
797struct dev_pm_info {
798 pm_message_t power_state ;
799 unsigned char can_wakeup : 1 ;
800 unsigned char async_suspend : 1 ;
801 bool is_prepared ;
802 bool is_suspended ;
803 bool ignore_children ;
804 spinlock_t lock ;
805 struct list_head entry ;
806 struct completion completion ;
807 struct wakeup_source *wakeup ;
808 bool wakeup_path ;
809 struct timer_list suspend_timer ;
810 unsigned long timer_expires ;
811 struct work_struct work ;
812 wait_queue_head_t wait_queue ;
813 atomic_t usage_count ;
814 atomic_t child_count ;
815 unsigned char disable_depth : 3 ;
816 unsigned char idle_notification : 1 ;
817 unsigned char request_pending : 1 ;
818 unsigned char deferred_resume : 1 ;
819 unsigned char run_wake : 1 ;
820 unsigned char runtime_auto : 1 ;
821 unsigned char no_callbacks : 1 ;
822 unsigned char irq_safe : 1 ;
823 unsigned char use_autosuspend : 1 ;
824 unsigned char timer_autosuspends : 1 ;
825 enum rpm_request request ;
826 enum rpm_status runtime_status ;
827 int runtime_error ;
828 int autosuspend_delay ;
829 unsigned long last_busy ;
830 unsigned long active_jiffies ;
831 unsigned long suspended_jiffies ;
832 unsigned long accounting_timestamp ;
833 ktime_t suspend_time ;
834 s64 max_time_suspended_ns ;
835 struct dev_pm_qos_request *pq_req ;
836 struct pm_subsys_data *subsys_data ;
837 struct pm_qos_constraints *constraints ;
838};
839#line 558 "include/linux/pm.h"
840struct dev_pm_domain {
841 struct dev_pm_ops ops ;
842};
843#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
844struct __anonstruct_mm_context_t_101 {
845 void *ldt ;
846 int size ;
847 unsigned short ia32_compat ;
848 struct mutex lock ;
849 void *vdso ;
850};
851#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
852typedef struct __anonstruct_mm_context_t_101 mm_context_t;
853#line 18 "include/asm-generic/pci_iomap.h"
854struct vm_area_struct;
855#line 18
856struct vm_area_struct;
857#line 835 "include/linux/sysctl.h"
858struct rb_node {
859 unsigned long rb_parent_color ;
860 struct rb_node *rb_right ;
861 struct rb_node *rb_left ;
862};
863#line 108 "include/linux/rbtree.h"
864struct rb_root {
865 struct rb_node *rb_node ;
866};
867#line 176
868struct nsproxy;
869#line 176
870struct nsproxy;
871#line 177
872struct ctl_table_root;
873#line 177
874struct ctl_table_root;
875#line 178
876struct ctl_table_header;
877#line 178
878struct ctl_table_header;
879#line 179
880struct ctl_dir;
881#line 179
882struct ctl_dir;
883#line 946 "include/linux/sysctl.h"
884typedef int proc_handler(struct ctl_table * , int , void * , size_t * , loff_t * );
885#line 966 "include/linux/sysctl.h"
886struct ctl_table_poll {
887 atomic_t event ;
888 wait_queue_head_t wait ;
889};
890#line 1005 "include/linux/sysctl.h"
891struct ctl_table {
892 char const *procname ;
893 void *data ;
894 int maxlen ;
895 umode_t mode ;
896 struct ctl_table *child ;
897 proc_handler *proc_handler ;
898 struct ctl_table_poll *poll ;
899 void *extra1 ;
900 void *extra2 ;
901};
902#line 1026 "include/linux/sysctl.h"
903struct ctl_node {
904 struct rb_node node ;
905 struct ctl_table_header *header ;
906};
907#line 1031 "include/linux/sysctl.h"
908struct __anonstruct_ldv_12569_129 {
909 struct ctl_table *ctl_table ;
910 int used ;
911 int count ;
912 int nreg ;
913};
914#line 1031 "include/linux/sysctl.h"
915union __anonunion_ldv_12571_128 {
916 struct __anonstruct_ldv_12569_129 ldv_12569 ;
917 struct rcu_head rcu ;
918};
919#line 1031
920struct ctl_table_set;
921#line 1031 "include/linux/sysctl.h"
922struct ctl_table_header {
923 union __anonunion_ldv_12571_128 ldv_12571 ;
924 struct completion *unregistering ;
925 struct ctl_table *ctl_table_arg ;
926 struct ctl_table_root *root ;
927 struct ctl_table_set *set ;
928 struct ctl_dir *parent ;
929 struct ctl_node *node ;
930};
931#line 1052 "include/linux/sysctl.h"
932struct ctl_dir {
933 struct ctl_table_header header ;
934 struct rb_root root ;
935};
936#line 1058 "include/linux/sysctl.h"
937struct ctl_table_set {
938 int (*is_seen)(struct ctl_table_set * ) ;
939 struct ctl_dir dir ;
940};
941#line 1063 "include/linux/sysctl.h"
942struct ctl_table_root {
943 struct ctl_table_set default_set ;
944 struct ctl_table_set *(*lookup)(struct ctl_table_root * , struct nsproxy * ) ;
945 int (*permissions)(struct ctl_table_root * , struct nsproxy * , struct ctl_table * ) ;
946};
947#line 37 "include/linux/kmod.h"
948struct cred;
949#line 37
950struct cred;
951#line 18 "include/linux/elf.h"
952typedef __u64 Elf64_Addr;
953#line 19 "include/linux/elf.h"
954typedef __u16 Elf64_Half;
955#line 23 "include/linux/elf.h"
956typedef __u32 Elf64_Word;
957#line 24 "include/linux/elf.h"
958typedef __u64 Elf64_Xword;
959#line 193 "include/linux/elf.h"
960struct elf64_sym {
961 Elf64_Word st_name ;
962 unsigned char st_info ;
963 unsigned char st_other ;
964 Elf64_Half st_shndx ;
965 Elf64_Addr st_value ;
966 Elf64_Xword st_size ;
967};
968#line 201 "include/linux/elf.h"
969typedef struct elf64_sym Elf64_Sym;
970#line 445
971struct sock;
972#line 445
973struct sock;
974#line 446
975struct kobject;
976#line 446
977struct kobject;
978#line 447
979enum kobj_ns_type {
980 KOBJ_NS_TYPE_NONE = 0,
981 KOBJ_NS_TYPE_NET = 1,
982 KOBJ_NS_TYPES = 2
983} ;
984#line 453 "include/linux/elf.h"
985struct kobj_ns_type_operations {
986 enum kobj_ns_type type ;
987 void *(*grab_current_ns)(void) ;
988 void const *(*netlink_ns)(struct sock * ) ;
989 void const *(*initial_ns)(void) ;
990 void (*drop_ns)(void * ) ;
991};
992#line 57 "include/linux/kobject_ns.h"
993struct attribute {
994 char const *name ;
995 umode_t mode ;
996 struct lock_class_key *key ;
997 struct lock_class_key skey ;
998};
999#line 33 "include/linux/sysfs.h"
1000struct attribute_group {
1001 char const *name ;
1002 umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
1003 struct attribute **attrs ;
1004};
1005#line 62 "include/linux/sysfs.h"
1006struct bin_attribute {
1007 struct attribute attr ;
1008 size_t size ;
1009 void *private ;
1010 ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1011 loff_t , size_t ) ;
1012 ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
1013 loff_t , size_t ) ;
1014 int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
1015};
1016#line 98 "include/linux/sysfs.h"
1017struct sysfs_ops {
1018 ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
1019 ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
1020 void const *(*namespace)(struct kobject * , struct attribute const * ) ;
1021};
1022#line 117
1023struct sysfs_dirent;
1024#line 117
1025struct sysfs_dirent;
1026#line 182 "include/linux/sysfs.h"
1027struct kref {
1028 atomic_t refcount ;
1029};
1030#line 49 "include/linux/kobject.h"
1031struct kset;
1032#line 49
1033struct kobj_type;
1034#line 49 "include/linux/kobject.h"
1035struct kobject {
1036 char const *name ;
1037 struct list_head entry ;
1038 struct kobject *parent ;
1039 struct kset *kset ;
1040 struct kobj_type *ktype ;
1041 struct sysfs_dirent *sd ;
1042 struct kref kref ;
1043 unsigned char state_initialized : 1 ;
1044 unsigned char state_in_sysfs : 1 ;
1045 unsigned char state_add_uevent_sent : 1 ;
1046 unsigned char state_remove_uevent_sent : 1 ;
1047 unsigned char uevent_suppress : 1 ;
1048};
1049#line 107 "include/linux/kobject.h"
1050struct kobj_type {
1051 void (*release)(struct kobject * ) ;
1052 struct sysfs_ops const *sysfs_ops ;
1053 struct attribute **default_attrs ;
1054 struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject * ) ;
1055 void const *(*namespace)(struct kobject * ) ;
1056};
1057#line 115 "include/linux/kobject.h"
1058struct kobj_uevent_env {
1059 char *envp[32U] ;
1060 int envp_idx ;
1061 char buf[2048U] ;
1062 int buflen ;
1063};
1064#line 122 "include/linux/kobject.h"
1065struct kset_uevent_ops {
1066 int (* const filter)(struct kset * , struct kobject * ) ;
1067 char const *(* const name)(struct kset * , struct kobject * ) ;
1068 int (* const uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
1069};
1070#line 139 "include/linux/kobject.h"
1071struct kset {
1072 struct list_head list ;
1073 spinlock_t list_lock ;
1074 struct kobject kobj ;
1075 struct kset_uevent_ops const *uevent_ops ;
1076};
1077#line 215
1078struct kernel_param;
1079#line 215
1080struct kernel_param;
1081#line 216 "include/linux/kobject.h"
1082struct kernel_param_ops {
1083 int (*set)(char const * , struct kernel_param const * ) ;
1084 int (*get)(char * , struct kernel_param const * ) ;
1085 void (*free)(void * ) ;
1086};
1087#line 49 "include/linux/moduleparam.h"
1088struct kparam_string;
1089#line 49
1090struct kparam_array;
1091#line 49 "include/linux/moduleparam.h"
1092union __anonunion_ldv_13363_134 {
1093 void *arg ;
1094 struct kparam_string const *str ;
1095 struct kparam_array const *arr ;
1096};
1097#line 49 "include/linux/moduleparam.h"
1098struct kernel_param {
1099 char const *name ;
1100 struct kernel_param_ops const *ops ;
1101 u16 perm ;
1102 s16 level ;
1103 union __anonunion_ldv_13363_134 ldv_13363 ;
1104};
1105#line 61 "include/linux/moduleparam.h"
1106struct kparam_string {
1107 unsigned int maxlen ;
1108 char *string ;
1109};
1110#line 67 "include/linux/moduleparam.h"
1111struct kparam_array {
1112 unsigned int max ;
1113 unsigned int elemsize ;
1114 unsigned int *num ;
1115 struct kernel_param_ops const *ops ;
1116 void *elem ;
1117};
1118#line 458 "include/linux/moduleparam.h"
1119struct static_key {
1120 atomic_t enabled ;
1121};
1122#line 225 "include/linux/jump_label.h"
1123struct tracepoint;
1124#line 225
1125struct tracepoint;
1126#line 226 "include/linux/jump_label.h"
1127struct tracepoint_func {
1128 void *func ;
1129 void *data ;
1130};
1131#line 29 "include/linux/tracepoint.h"
1132struct tracepoint {
1133 char const *name ;
1134 struct static_key key ;
1135 void (*regfunc)(void) ;
1136 void (*unregfunc)(void) ;
1137 struct tracepoint_func *funcs ;
1138};
1139#line 86 "include/linux/tracepoint.h"
1140struct kernel_symbol {
1141 unsigned long value ;
1142 char const *name ;
1143};
1144#line 27 "include/linux/export.h"
1145struct mod_arch_specific {
1146
1147};
1148#line 34 "include/linux/module.h"
1149struct module_param_attrs;
1150#line 34 "include/linux/module.h"
1151struct module_kobject {
1152 struct kobject kobj ;
1153 struct module *mod ;
1154 struct kobject *drivers_dir ;
1155 struct module_param_attrs *mp ;
1156};
1157#line 43 "include/linux/module.h"
1158struct module_attribute {
1159 struct attribute attr ;
1160 ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
1161 ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const * ,
1162 size_t ) ;
1163 void (*setup)(struct module * , char const * ) ;
1164 int (*test)(struct module * ) ;
1165 void (*free)(struct module * ) ;
1166};
1167#line 69
1168struct exception_table_entry;
1169#line 69
1170struct exception_table_entry;
1171#line 198
1172enum module_state {
1173 MODULE_STATE_LIVE = 0,
1174 MODULE_STATE_COMING = 1,
1175 MODULE_STATE_GOING = 2
1176} ;
1177#line 204 "include/linux/module.h"
1178struct module_ref {
1179 unsigned long incs ;
1180 unsigned long decs ;
1181};
1182#line 219
1183struct module_sect_attrs;
1184#line 219
1185struct module_notes_attrs;
1186#line 219
1187struct ftrace_event_call;
1188#line 219 "include/linux/module.h"
1189struct module {
1190 enum module_state state ;
1191 struct list_head list ;
1192 char name[56U] ;
1193 struct module_kobject mkobj ;
1194 struct module_attribute *modinfo_attrs ;
1195 char const *version ;
1196 char const *srcversion ;
1197 struct kobject *holders_dir ;
1198 struct kernel_symbol const *syms ;
1199 unsigned long const *crcs ;
1200 unsigned int num_syms ;
1201 struct kernel_param *kp ;
1202 unsigned int num_kp ;
1203 unsigned int num_gpl_syms ;
1204 struct kernel_symbol const *gpl_syms ;
1205 unsigned long const *gpl_crcs ;
1206 struct kernel_symbol const *unused_syms ;
1207 unsigned long const *unused_crcs ;
1208 unsigned int num_unused_syms ;
1209 unsigned int num_unused_gpl_syms ;
1210 struct kernel_symbol const *unused_gpl_syms ;
1211 unsigned long const *unused_gpl_crcs ;
1212 struct kernel_symbol const *gpl_future_syms ;
1213 unsigned long const *gpl_future_crcs ;
1214 unsigned int num_gpl_future_syms ;
1215 unsigned int num_exentries ;
1216 struct exception_table_entry *extable ;
1217 int (*init)(void) ;
1218 void *module_init ;
1219 void *module_core ;
1220 unsigned int init_size ;
1221 unsigned int core_size ;
1222 unsigned int init_text_size ;
1223 unsigned int core_text_size ;
1224 unsigned int init_ro_size ;
1225 unsigned int core_ro_size ;
1226 struct mod_arch_specific arch ;
1227 unsigned int taints ;
1228 unsigned int num_bugs ;
1229 struct list_head bug_list ;
1230 struct bug_entry *bug_table ;
1231 Elf64_Sym *symtab ;
1232 Elf64_Sym *core_symtab ;
1233 unsigned int num_symtab ;
1234 unsigned int core_num_syms ;
1235 char *strtab ;
1236 char *core_strtab ;
1237 struct module_sect_attrs *sect_attrs ;
1238 struct module_notes_attrs *notes_attrs ;
1239 char *args ;
1240 void *percpu ;
1241 unsigned int percpu_size ;
1242 unsigned int num_tracepoints ;
1243 struct tracepoint * const *tracepoints_ptrs ;
1244 unsigned int num_trace_bprintk_fmt ;
1245 char const **trace_bprintk_fmt_start ;
1246 struct ftrace_event_call **trace_events ;
1247 unsigned int num_trace_events ;
1248 struct list_head source_list ;
1249 struct list_head target_list ;
1250 struct task_struct *waiter ;
1251 void (*exit)(void) ;
1252 struct module_ref *refptr ;
1253 ctor_fn_t (**ctors)(void) ;
1254 unsigned int num_ctors ;
1255};
1256#line 88 "include/linux/kmemleak.h"
1257struct kmem_cache_cpu {
1258 void **freelist ;
1259 unsigned long tid ;
1260 struct page *page ;
1261 struct page *partial ;
1262 int node ;
1263 unsigned int stat[26U] ;
1264};
1265#line 55 "include/linux/slub_def.h"
1266struct kmem_cache_node {
1267 spinlock_t list_lock ;
1268 unsigned long nr_partial ;
1269 struct list_head partial ;
1270 atomic_long_t nr_slabs ;
1271 atomic_long_t total_objects ;
1272 struct list_head full ;
1273};
1274#line 66 "include/linux/slub_def.h"
1275struct kmem_cache_order_objects {
1276 unsigned long x ;
1277};
1278#line 76 "include/linux/slub_def.h"
1279struct kmem_cache {
1280 struct kmem_cache_cpu *cpu_slab ;
1281 unsigned long flags ;
1282 unsigned long min_partial ;
1283 int size ;
1284 int objsize ;
1285 int offset ;
1286 int cpu_partial ;
1287 struct kmem_cache_order_objects oo ;
1288 struct kmem_cache_order_objects max ;
1289 struct kmem_cache_order_objects min ;
1290 gfp_t allocflags ;
1291 int refcount ;
1292 void (*ctor)(void * ) ;
1293 int inuse ;
1294 int align ;
1295 int reserved ;
1296 char const *name ;
1297 struct list_head list ;
1298 struct kobject kobj ;
1299 int remote_node_defrag_ratio ;
1300 struct kmem_cache_node *node[1024U] ;
1301};
1302#line 12 "include/linux/mod_devicetable.h"
1303typedef unsigned long kernel_ulong_t;
1304#line 215 "include/linux/mod_devicetable.h"
1305struct of_device_id {
1306 char name[32U] ;
1307 char type[32U] ;
1308 char compatible[128U] ;
1309 void *data ;
1310};
1311#line 269 "include/linux/mod_devicetable.h"
1312struct input_device_id {
1313 kernel_ulong_t flags ;
1314 __u16 bustype ;
1315 __u16 vendor ;
1316 __u16 product ;
1317 __u16 version ;
1318 kernel_ulong_t evbit[1U] ;
1319 kernel_ulong_t keybit[12U] ;
1320 kernel_ulong_t relbit[1U] ;
1321 kernel_ulong_t absbit[1U] ;
1322 kernel_ulong_t mscbit[1U] ;
1323 kernel_ulong_t ledbit[1U] ;
1324 kernel_ulong_t sndbit[1U] ;
1325 kernel_ulong_t ffbit[2U] ;
1326 kernel_ulong_t swbit[1U] ;
1327 kernel_ulong_t driver_info ;
1328};
1329#line 425 "include/linux/mod_devicetable.h"
1330struct i2c_device_id {
1331 char name[20U] ;
1332 kernel_ulong_t driver_data ;
1333};
1334#line 245 "include/linux/usb/ch9.h"
1335struct usb_device_descriptor {
1336 __u8 bLength ;
1337 __u8 bDescriptorType ;
1338 __le16 bcdUSB ;
1339 __u8 bDeviceClass ;
1340 __u8 bDeviceSubClass ;
1341 __u8 bDeviceProtocol ;
1342 __u8 bMaxPacketSize0 ;
1343 __le16 idVendor ;
1344 __le16 idProduct ;
1345 __le16 bcdDevice ;
1346 __u8 iManufacturer ;
1347 __u8 iProduct ;
1348 __u8 iSerialNumber ;
1349 __u8 bNumConfigurations ;
1350};
1351#line 267 "include/linux/usb/ch9.h"
1352struct usb_config_descriptor {
1353 __u8 bLength ;
1354 __u8 bDescriptorType ;
1355 __le16 wTotalLength ;
1356 __u8 bNumInterfaces ;
1357 __u8 bConfigurationValue ;
1358 __u8 iConfiguration ;
1359 __u8 bmAttributes ;
1360 __u8 bMaxPower ;
1361};
1362#line 335 "include/linux/usb/ch9.h"
1363struct usb_interface_descriptor {
1364 __u8 bLength ;
1365 __u8 bDescriptorType ;
1366 __u8 bInterfaceNumber ;
1367 __u8 bAlternateSetting ;
1368 __u8 bNumEndpoints ;
1369 __u8 bInterfaceClass ;
1370 __u8 bInterfaceSubClass ;
1371 __u8 bInterfaceProtocol ;
1372 __u8 iInterface ;
1373};
1374#line 355 "include/linux/usb/ch9.h"
1375struct usb_endpoint_descriptor {
1376 __u8 bLength ;
1377 __u8 bDescriptorType ;
1378 __u8 bEndpointAddress ;
1379 __u8 bmAttributes ;
1380 __le16 wMaxPacketSize ;
1381 __u8 bInterval ;
1382 __u8 bRefresh ;
1383 __u8 bSynchAddress ;
1384};
1385#line 594 "include/linux/usb/ch9.h"
1386struct usb_ss_ep_comp_descriptor {
1387 __u8 bLength ;
1388 __u8 bDescriptorType ;
1389 __u8 bMaxBurst ;
1390 __u8 bmAttributes ;
1391 __le16 wBytesPerInterval ;
1392};
1393#line 673 "include/linux/usb/ch9.h"
1394struct usb_interface_assoc_descriptor {
1395 __u8 bLength ;
1396 __u8 bDescriptorType ;
1397 __u8 bFirstInterface ;
1398 __u8 bInterfaceCount ;
1399 __u8 bFunctionClass ;
1400 __u8 bFunctionSubClass ;
1401 __u8 bFunctionProtocol ;
1402 __u8 iFunction ;
1403};
1404#line 732 "include/linux/usb/ch9.h"
1405struct usb_bos_descriptor {
1406 __u8 bLength ;
1407 __u8 bDescriptorType ;
1408 __le16 wTotalLength ;
1409 __u8 bNumDeviceCaps ;
1410};
1411#line 782 "include/linux/usb/ch9.h"
1412struct usb_ext_cap_descriptor {
1413 __u8 bLength ;
1414 __u8 bDescriptorType ;
1415 __u8 bDevCapabilityType ;
1416 __le32 bmAttributes ;
1417};
1418#line 792 "include/linux/usb/ch9.h"
1419struct usb_ss_cap_descriptor {
1420 __u8 bLength ;
1421 __u8 bDescriptorType ;
1422 __u8 bDevCapabilityType ;
1423 __u8 bmAttributes ;
1424 __le16 wSpeedSupported ;
1425 __u8 bFunctionalitySupport ;
1426 __u8 bU1devExitLat ;
1427 __le16 bU2DevExitLat ;
1428};
1429#line 821 "include/linux/usb/ch9.h"
1430struct usb_ss_container_id_descriptor {
1431 __u8 bLength ;
1432 __u8 bDescriptorType ;
1433 __u8 bDevCapabilityType ;
1434 __u8 bReserved ;
1435 __u8 ContainerID[16U] ;
1436};
1437#line 886
1438enum usb_device_speed {
1439 USB_SPEED_UNKNOWN = 0,
1440 USB_SPEED_LOW = 1,
1441 USB_SPEED_FULL = 2,
1442 USB_SPEED_HIGH = 3,
1443 USB_SPEED_WIRELESS = 4,
1444 USB_SPEED_SUPER = 5
1445} ;
1446#line 908
1447enum usb_device_state {
1448 USB_STATE_NOTATTACHED = 0,
1449 USB_STATE_ATTACHED = 1,
1450 USB_STATE_POWERED = 2,
1451 USB_STATE_RECONNECTING = 3,
1452 USB_STATE_UNAUTHENTICATED = 4,
1453 USB_STATE_DEFAULT = 5,
1454 USB_STATE_ADDRESS = 6,
1455 USB_STATE_CONFIGURED = 7,
1456 USB_STATE_SUSPENDED = 8
1457} ;
1458#line 348 "include/linux/irq.h"
1459struct proc_dir_entry;
1460#line 348
1461struct proc_dir_entry;
1462#line 41 "include/asm-generic/sections.h"
1463struct exception_table_entry {
1464 unsigned long insn ;
1465 unsigned long fixup ;
1466};
1467#line 189 "include/linux/hardirq.h"
1468struct timerqueue_node {
1469 struct rb_node node ;
1470 ktime_t expires ;
1471};
1472#line 12 "include/linux/timerqueue.h"
1473struct timerqueue_head {
1474 struct rb_root head ;
1475 struct timerqueue_node *next ;
1476};
1477#line 50
1478struct hrtimer_clock_base;
1479#line 50
1480struct hrtimer_clock_base;
1481#line 51
1482struct hrtimer_cpu_base;
1483#line 51
1484struct hrtimer_cpu_base;
1485#line 60
1486enum hrtimer_restart {
1487 HRTIMER_NORESTART = 0,
1488 HRTIMER_RESTART = 1
1489} ;
1490#line 65 "include/linux/timerqueue.h"
1491struct hrtimer {
1492 struct timerqueue_node node ;
1493 ktime_t _softexpires ;
1494 enum hrtimer_restart (*function)(struct hrtimer * ) ;
1495 struct hrtimer_clock_base *base ;
1496 unsigned long state ;
1497 int start_pid ;
1498 void *start_site ;
1499 char start_comm[16U] ;
1500};
1501#line 132 "include/linux/hrtimer.h"
1502struct hrtimer_clock_base {
1503 struct hrtimer_cpu_base *cpu_base ;
1504 int index ;
1505 clockid_t clockid ;
1506 struct timerqueue_head active ;
1507 ktime_t resolution ;
1508 ktime_t (*get_time)(void) ;
1509 ktime_t softirq_time ;
1510 ktime_t offset ;
1511};
1512#line 162 "include/linux/hrtimer.h"
1513struct hrtimer_cpu_base {
1514 raw_spinlock_t lock ;
1515 unsigned long active_bases ;
1516 ktime_t expires_next ;
1517 int hres_active ;
1518 int hang_detected ;
1519 unsigned long nr_events ;
1520 unsigned long nr_retries ;
1521 unsigned long nr_hangs ;
1522 ktime_t max_hang_time ;
1523 struct hrtimer_clock_base clock_base[3U] ;
1524};
1525#line 702 "include/linux/interrupt.h"
1526struct klist_node;
1527#line 702
1528struct klist_node;
1529#line 37 "include/linux/klist.h"
1530struct klist_node {
1531 void *n_klist ;
1532 struct list_head n_node ;
1533 struct kref n_ref ;
1534};
1535#line 67
1536struct dma_map_ops;
1537#line 67 "include/linux/klist.h"
1538struct dev_archdata {
1539 void *acpi_handle ;
1540 struct dma_map_ops *dma_ops ;
1541 void *iommu ;
1542};
1543#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1544struct device_private;
1545#line 17
1546struct device_private;
1547#line 18
1548struct device_driver;
1549#line 18
1550struct device_driver;
1551#line 19
1552struct driver_private;
1553#line 19
1554struct driver_private;
1555#line 20
1556struct class;
1557#line 20
1558struct class;
1559#line 21
1560struct subsys_private;
1561#line 21
1562struct subsys_private;
1563#line 22
1564struct bus_type;
1565#line 22
1566struct bus_type;
1567#line 23
1568struct device_node;
1569#line 23
1570struct device_node;
1571#line 24
1572struct iommu_ops;
1573#line 24
1574struct iommu_ops;
1575#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1576struct bus_attribute {
1577 struct attribute attr ;
1578 ssize_t (*show)(struct bus_type * , char * ) ;
1579 ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
1580};
1581#line 51 "include/linux/device.h"
1582struct device_attribute;
1583#line 51
1584struct driver_attribute;
1585#line 51 "include/linux/device.h"
1586struct bus_type {
1587 char const *name ;
1588 char const *dev_name ;
1589 struct device *dev_root ;
1590 struct bus_attribute *bus_attrs ;
1591 struct device_attribute *dev_attrs ;
1592 struct driver_attribute *drv_attrs ;
1593 int (*match)(struct device * , struct device_driver * ) ;
1594 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1595 int (*probe)(struct device * ) ;
1596 int (*remove)(struct device * ) ;
1597 void (*shutdown)(struct device * ) ;
1598 int (*suspend)(struct device * , pm_message_t ) ;
1599 int (*resume)(struct device * ) ;
1600 struct dev_pm_ops const *pm ;
1601 struct iommu_ops *iommu_ops ;
1602 struct subsys_private *p ;
1603};
1604#line 125
1605struct device_type;
1606#line 182 "include/linux/device.h"
1607struct device_driver {
1608 char const *name ;
1609 struct bus_type *bus ;
1610 struct module *owner ;
1611 char const *mod_name ;
1612 bool suppress_bind_attrs ;
1613 struct of_device_id const *of_match_table ;
1614 int (*probe)(struct device * ) ;
1615 int (*remove)(struct device * ) ;
1616 void (*shutdown)(struct device * ) ;
1617 int (*suspend)(struct device * , pm_message_t ) ;
1618 int (*resume)(struct device * ) ;
1619 struct attribute_group const **groups ;
1620 struct dev_pm_ops const *pm ;
1621 struct driver_private *p ;
1622};
1623#line 245 "include/linux/device.h"
1624struct driver_attribute {
1625 struct attribute attr ;
1626 ssize_t (*show)(struct device_driver * , char * ) ;
1627 ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
1628};
1629#line 299
1630struct class_attribute;
1631#line 299 "include/linux/device.h"
1632struct class {
1633 char const *name ;
1634 struct module *owner ;
1635 struct class_attribute *class_attrs ;
1636 struct device_attribute *dev_attrs ;
1637 struct bin_attribute *dev_bin_attrs ;
1638 struct kobject *dev_kobj ;
1639 int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1640 char *(*devnode)(struct device * , umode_t * ) ;
1641 void (*class_release)(struct class * ) ;
1642 void (*dev_release)(struct device * ) ;
1643 int (*suspend)(struct device * , pm_message_t ) ;
1644 int (*resume)(struct device * ) ;
1645 struct kobj_ns_type_operations const *ns_type ;
1646 void const *(*namespace)(struct device * ) ;
1647 struct dev_pm_ops const *pm ;
1648 struct subsys_private *p ;
1649};
1650#line 394 "include/linux/device.h"
1651struct class_attribute {
1652 struct attribute attr ;
1653 ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1654 ssize_t (*store)(struct class * , struct class_attribute * , char const * , size_t ) ;
1655 void const *(*namespace)(struct class * , struct class_attribute const * ) ;
1656};
1657#line 447 "include/linux/device.h"
1658struct device_type {
1659 char const *name ;
1660 struct attribute_group const **groups ;
1661 int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1662 char *(*devnode)(struct device * , umode_t * ) ;
1663 void (*release)(struct device * ) ;
1664 struct dev_pm_ops const *pm ;
1665};
1666#line 474 "include/linux/device.h"
1667struct device_attribute {
1668 struct attribute attr ;
1669 ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1670 ssize_t (*store)(struct device * , struct device_attribute * , char const * ,
1671 size_t ) ;
1672};
1673#line 557 "include/linux/device.h"
1674struct device_dma_parameters {
1675 unsigned int max_segment_size ;
1676 unsigned long segment_boundary_mask ;
1677};
1678#line 567
1679struct dma_coherent_mem;
1680#line 567 "include/linux/device.h"
1681struct device {
1682 struct device *parent ;
1683 struct device_private *p ;
1684 struct kobject kobj ;
1685 char const *init_name ;
1686 struct device_type const *type ;
1687 struct mutex mutex ;
1688 struct bus_type *bus ;
1689 struct device_driver *driver ;
1690 void *platform_data ;
1691 struct dev_pm_info power ;
1692 struct dev_pm_domain *pm_domain ;
1693 int numa_node ;
1694 u64 *dma_mask ;
1695 u64 coherent_dma_mask ;
1696 struct device_dma_parameters *dma_parms ;
1697 struct list_head dma_pools ;
1698 struct dma_coherent_mem *dma_mem ;
1699 struct dev_archdata archdata ;
1700 struct device_node *of_node ;
1701 dev_t devt ;
1702 u32 id ;
1703 spinlock_t devres_lock ;
1704 struct list_head devres_head ;
1705 struct klist_node knode_class ;
1706 struct class *class ;
1707 struct attribute_group const **groups ;
1708 void (*release)(struct device * ) ;
1709};
1710#line 681 "include/linux/device.h"
1711struct wakeup_source {
1712 char const *name ;
1713 struct list_head entry ;
1714 spinlock_t lock ;
1715 struct timer_list timer ;
1716 unsigned long timer_expires ;
1717 ktime_t total_time ;
1718 ktime_t max_time ;
1719 ktime_t last_time ;
1720 unsigned long event_count ;
1721 unsigned long active_count ;
1722 unsigned long relax_count ;
1723 unsigned long hit_count ;
1724 unsigned char active : 1 ;
1725};
1726#line 994
1727struct block_device;
1728#line 994
1729struct block_device;
1730#line 93 "include/linux/bit_spinlock.h"
1731struct hlist_bl_node;
1732#line 93 "include/linux/bit_spinlock.h"
1733struct hlist_bl_head {
1734 struct hlist_bl_node *first ;
1735};
1736#line 36 "include/linux/list_bl.h"
1737struct hlist_bl_node {
1738 struct hlist_bl_node *next ;
1739 struct hlist_bl_node **pprev ;
1740};
1741#line 114 "include/linux/rculist_bl.h"
1742struct nameidata;
1743#line 114
1744struct nameidata;
1745#line 115
1746struct path;
1747#line 115
1748struct path;
1749#line 116
1750struct vfsmount;
1751#line 116
1752struct vfsmount;
1753#line 117 "include/linux/rculist_bl.h"
1754struct qstr {
1755 unsigned int hash ;
1756 unsigned int len ;
1757 unsigned char const *name ;
1758};
1759#line 72 "include/linux/dcache.h"
1760struct inode;
1761#line 72
1762struct dentry_operations;
1763#line 72
1764struct super_block;
1765#line 72 "include/linux/dcache.h"
1766union __anonunion_d_u_137 {
1767 struct list_head d_child ;
1768 struct rcu_head d_rcu ;
1769};
1770#line 72 "include/linux/dcache.h"
1771struct dentry {
1772 unsigned int d_flags ;
1773 seqcount_t d_seq ;
1774 struct hlist_bl_node d_hash ;
1775 struct dentry *d_parent ;
1776 struct qstr d_name ;
1777 struct inode *d_inode ;
1778 unsigned char d_iname[32U] ;
1779 unsigned int d_count ;
1780 spinlock_t d_lock ;
1781 struct dentry_operations const *d_op ;
1782 struct super_block *d_sb ;
1783 unsigned long d_time ;
1784 void *d_fsdata ;
1785 struct list_head d_lru ;
1786 union __anonunion_d_u_137 d_u ;
1787 struct list_head d_subdirs ;
1788 struct list_head d_alias ;
1789};
1790#line 123 "include/linux/dcache.h"
1791struct dentry_operations {
1792 int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
1793 int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
1794 int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
1795 struct inode const * , unsigned int , char const * , struct qstr const * ) ;
1796 int (*d_delete)(struct dentry const * ) ;
1797 void (*d_release)(struct dentry * ) ;
1798 void (*d_prune)(struct dentry * ) ;
1799 void (*d_iput)(struct dentry * , struct inode * ) ;
1800 char *(*d_dname)(struct dentry * , char * , int ) ;
1801 struct vfsmount *(*d_automount)(struct path * ) ;
1802 int (*d_manage)(struct dentry * , bool ) ;
1803};
1804#line 402 "include/linux/dcache.h"
1805struct path {
1806 struct vfsmount *mnt ;
1807 struct dentry *dentry ;
1808};
1809#line 58 "include/linux/radix-tree.h"
1810struct radix_tree_node;
1811#line 58 "include/linux/radix-tree.h"
1812struct radix_tree_root {
1813 unsigned int height ;
1814 gfp_t gfp_mask ;
1815 struct radix_tree_node *rnode ;
1816};
1817#line 377
1818struct prio_tree_node;
1819#line 377 "include/linux/radix-tree.h"
1820struct raw_prio_tree_node {
1821 struct prio_tree_node *left ;
1822 struct prio_tree_node *right ;
1823 struct prio_tree_node *parent ;
1824};
1825#line 19 "include/linux/prio_tree.h"
1826struct prio_tree_node {
1827 struct prio_tree_node *left ;
1828 struct prio_tree_node *right ;
1829 struct prio_tree_node *parent ;
1830 unsigned long start ;
1831 unsigned long last ;
1832};
1833#line 27 "include/linux/prio_tree.h"
1834struct prio_tree_root {
1835 struct prio_tree_node *prio_tree_node ;
1836 unsigned short index_bits ;
1837 unsigned short raw ;
1838};
1839#line 111
1840enum pid_type {
1841 PIDTYPE_PID = 0,
1842 PIDTYPE_PGID = 1,
1843 PIDTYPE_SID = 2,
1844 PIDTYPE_MAX = 3
1845} ;
1846#line 118
1847struct pid_namespace;
1848#line 118 "include/linux/prio_tree.h"
1849struct upid {
1850 int nr ;
1851 struct pid_namespace *ns ;
1852 struct hlist_node pid_chain ;
1853};
1854#line 56 "include/linux/pid.h"
1855struct pid {
1856 atomic_t count ;
1857 unsigned int level ;
1858 struct hlist_head tasks[3U] ;
1859 struct rcu_head rcu ;
1860 struct upid numbers[1U] ;
1861};
1862#line 68 "include/linux/pid.h"
1863struct pid_link {
1864 struct hlist_node node ;
1865 struct pid *pid ;
1866};
1867#line 93 "include/linux/capability.h"
1868struct kernel_cap_struct {
1869 __u32 cap[2U] ;
1870};
1871#line 96 "include/linux/capability.h"
1872typedef struct kernel_cap_struct kernel_cap_t;
1873#line 104
1874struct user_namespace;
1875#line 104
1876struct user_namespace;
1877#line 45 "include/linux/semaphore.h"
1878struct fiemap_extent {
1879 __u64 fe_logical ;
1880 __u64 fe_physical ;
1881 __u64 fe_length ;
1882 __u64 fe_reserved64[2U] ;
1883 __u32 fe_flags ;
1884 __u32 fe_reserved[3U] ;
1885};
1886#line 38 "include/linux/fiemap.h"
1887struct shrink_control {
1888 gfp_t gfp_mask ;
1889 unsigned long nr_to_scan ;
1890};
1891#line 14 "include/linux/shrinker.h"
1892struct shrinker {
1893 int (*shrink)(struct shrinker * , struct shrink_control * ) ;
1894 int seeks ;
1895 long batch ;
1896 struct list_head list ;
1897 atomic_long_t nr_in_batch ;
1898};
1899#line 43
1900enum migrate_mode {
1901 MIGRATE_ASYNC = 0,
1902 MIGRATE_SYNC_LIGHT = 1,
1903 MIGRATE_SYNC = 2
1904} ;
1905#line 49
1906struct export_operations;
1907#line 49
1908struct export_operations;
1909#line 51
1910struct iovec;
1911#line 51
1912struct iovec;
1913#line 52
1914struct kiocb;
1915#line 52
1916struct kiocb;
1917#line 53
1918struct pipe_inode_info;
1919#line 53
1920struct pipe_inode_info;
1921#line 54
1922struct poll_table_struct;
1923#line 54
1924struct poll_table_struct;
1925#line 55
1926struct kstatfs;
1927#line 55
1928struct kstatfs;
1929#line 435 "include/linux/fs.h"
1930struct iattr {
1931 unsigned int ia_valid ;
1932 umode_t ia_mode ;
1933 uid_t ia_uid ;
1934 gid_t ia_gid ;
1935 loff_t ia_size ;
1936 struct timespec ia_atime ;
1937 struct timespec ia_mtime ;
1938 struct timespec ia_ctime ;
1939 struct file *ia_file ;
1940};
1941#line 119 "include/linux/quota.h"
1942struct if_dqinfo {
1943 __u64 dqi_bgrace ;
1944 __u64 dqi_igrace ;
1945 __u32 dqi_flags ;
1946 __u32 dqi_valid ;
1947};
1948#line 152 "include/linux/quota.h"
1949struct percpu_counter {
1950 raw_spinlock_t lock ;
1951 s64 count ;
1952 struct list_head list ;
1953 s32 *counters ;
1954};
1955#line 176 "include/linux/percpu_counter.h"
1956struct fs_disk_quota {
1957 __s8 d_version ;
1958 __s8 d_flags ;
1959 __u16 d_fieldmask ;
1960 __u32 d_id ;
1961 __u64 d_blk_hardlimit ;
1962 __u64 d_blk_softlimit ;
1963 __u64 d_ino_hardlimit ;
1964 __u64 d_ino_softlimit ;
1965 __u64 d_bcount ;
1966 __u64 d_icount ;
1967 __s32 d_itimer ;
1968 __s32 d_btimer ;
1969 __u16 d_iwarns ;
1970 __u16 d_bwarns ;
1971 __s32 d_padding2 ;
1972 __u64 d_rtb_hardlimit ;
1973 __u64 d_rtb_softlimit ;
1974 __u64 d_rtbcount ;
1975 __s32 d_rtbtimer ;
1976 __u16 d_rtbwarns ;
1977 __s16 d_padding3 ;
1978 char d_padding4[8U] ;
1979};
1980#line 75 "include/linux/dqblk_xfs.h"
1981struct fs_qfilestat {
1982 __u64 qfs_ino ;
1983 __u64 qfs_nblks ;
1984 __u32 qfs_nextents ;
1985};
1986#line 150 "include/linux/dqblk_xfs.h"
1987typedef struct fs_qfilestat fs_qfilestat_t;
1988#line 151 "include/linux/dqblk_xfs.h"
1989struct fs_quota_stat {
1990 __s8 qs_version ;
1991 __u16 qs_flags ;
1992 __s8 qs_pad ;
1993 fs_qfilestat_t qs_uquota ;
1994 fs_qfilestat_t qs_gquota ;
1995 __u32 qs_incoredqs ;
1996 __s32 qs_btimelimit ;
1997 __s32 qs_itimelimit ;
1998 __s32 qs_rtbtimelimit ;
1999 __u16 qs_bwarnlimit ;
2000 __u16 qs_iwarnlimit ;
2001};
2002#line 165
2003struct dquot;
2004#line 165
2005struct dquot;
2006#line 185 "include/linux/quota.h"
2007typedef __kernel_uid32_t qid_t;
2008#line 186 "include/linux/quota.h"
2009typedef long long qsize_t;
2010#line 189 "include/linux/quota.h"
2011struct mem_dqblk {
2012 qsize_t dqb_bhardlimit ;
2013 qsize_t dqb_bsoftlimit ;
2014 qsize_t dqb_curspace ;
2015 qsize_t dqb_rsvspace ;
2016 qsize_t dqb_ihardlimit ;
2017 qsize_t dqb_isoftlimit ;
2018 qsize_t dqb_curinodes ;
2019 time_t dqb_btime ;
2020 time_t dqb_itime ;
2021};
2022#line 211
2023struct quota_format_type;
2024#line 211
2025struct quota_format_type;
2026#line 212 "include/linux/quota.h"
2027struct mem_dqinfo {
2028 struct quota_format_type *dqi_format ;
2029 int dqi_fmt_id ;
2030 struct list_head dqi_dirty_list ;
2031 unsigned long dqi_flags ;
2032 unsigned int dqi_bgrace ;
2033 unsigned int dqi_igrace ;
2034 qsize_t dqi_maxblimit ;
2035 qsize_t dqi_maxilimit ;
2036 void *dqi_priv ;
2037};
2038#line 275 "include/linux/quota.h"
2039struct dquot {
2040 struct hlist_node dq_hash ;
2041 struct list_head dq_inuse ;
2042 struct list_head dq_free ;
2043 struct list_head dq_dirty ;
2044 struct mutex dq_lock ;
2045 atomic_t dq_count ;
2046 wait_queue_head_t dq_wait_unused ;
2047 struct super_block *dq_sb ;
2048 unsigned int dq_id ;
2049 loff_t dq_off ;
2050 unsigned long dq_flags ;
2051 short dq_type ;
2052 struct mem_dqblk dq_dqb ;
2053};
2054#line 303 "include/linux/quota.h"
2055struct quota_format_ops {
2056 int (*check_quota_file)(struct super_block * , int ) ;
2057 int (*read_file_info)(struct super_block * , int ) ;
2058 int (*write_file_info)(struct super_block * , int ) ;
2059 int (*free_file_info)(struct super_block * , int ) ;
2060 int (*read_dqblk)(struct dquot * ) ;
2061 int (*commit_dqblk)(struct dquot * ) ;
2062 int (*release_dqblk)(struct dquot * ) ;
2063};
2064#line 314 "include/linux/quota.h"
2065struct dquot_operations {
2066 int (*write_dquot)(struct dquot * ) ;
2067 struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
2068 void (*destroy_dquot)(struct dquot * ) ;
2069 int (*acquire_dquot)(struct dquot * ) ;
2070 int (*release_dquot)(struct dquot * ) ;
2071 int (*mark_dirty)(struct dquot * ) ;
2072 int (*write_info)(struct super_block * , int ) ;
2073 qsize_t *(*get_reserved_space)(struct inode * ) ;
2074};
2075#line 328 "include/linux/quota.h"
2076struct quotactl_ops {
2077 int (*quota_on)(struct super_block * , int , int , struct path * ) ;
2078 int (*quota_on_meta)(struct super_block * , int , int ) ;
2079 int (*quota_off)(struct super_block * , int ) ;
2080 int (*quota_sync)(struct super_block * , int , int ) ;
2081 int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
2082 int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
2083 int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2084 int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
2085 int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
2086 int (*set_xstate)(struct super_block * , unsigned int , int ) ;
2087};
2088#line 344 "include/linux/quota.h"
2089struct quota_format_type {
2090 int qf_fmt_id ;
2091 struct quota_format_ops const *qf_ops ;
2092 struct module *qf_owner ;
2093 struct quota_format_type *qf_next ;
2094};
2095#line 390 "include/linux/quota.h"
2096struct quota_info {
2097 unsigned int flags ;
2098 struct mutex dqio_mutex ;
2099 struct mutex dqonoff_mutex ;
2100 struct rw_semaphore dqptr_sem ;
2101 struct inode *files[2U] ;
2102 struct mem_dqinfo info[2U] ;
2103 struct quota_format_ops const *ops[2U] ;
2104};
2105#line 421
2106struct address_space;
2107#line 421
2108struct address_space;
2109#line 422
2110struct writeback_control;
2111#line 422
2112struct writeback_control;
2113#line 585 "include/linux/fs.h"
2114union __anonunion_arg_140 {
2115 char *buf ;
2116 void *data ;
2117};
2118#line 585 "include/linux/fs.h"
2119struct __anonstruct_read_descriptor_t_139 {
2120 size_t written ;
2121 size_t count ;
2122 union __anonunion_arg_140 arg ;
2123 int error ;
2124};
2125#line 585 "include/linux/fs.h"
2126typedef struct __anonstruct_read_descriptor_t_139 read_descriptor_t;
2127#line 588 "include/linux/fs.h"
2128struct address_space_operations {
2129 int (*writepage)(struct page * , struct writeback_control * ) ;
2130 int (*readpage)(struct file * , struct page * ) ;
2131 int (*writepages)(struct address_space * , struct writeback_control * ) ;
2132 int (*set_page_dirty)(struct page * ) ;
2133 int (*readpages)(struct file * , struct address_space * , struct list_head * ,
2134 unsigned int ) ;
2135 int (*write_begin)(struct file * , struct address_space * , loff_t , unsigned int ,
2136 unsigned int , struct page ** , void ** ) ;
2137 int (*write_end)(struct file * , struct address_space * , loff_t , unsigned int ,
2138 unsigned int , struct page * , void * ) ;
2139 sector_t (*bmap)(struct address_space * , sector_t ) ;
2140 void (*invalidatepage)(struct page * , unsigned long ) ;
2141 int (*releasepage)(struct page * , gfp_t ) ;
2142 void (*freepage)(struct page * ) ;
2143 ssize_t (*direct_IO)(int , struct kiocb * , struct iovec const * , loff_t ,
2144 unsigned long ) ;
2145 int (*get_xip_mem)(struct address_space * , unsigned long , int , void ** , unsigned long * ) ;
2146 int (*migratepage)(struct address_space * , struct page * , struct page * , enum migrate_mode ) ;
2147 int (*launder_page)(struct page * ) ;
2148 int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
2149 int (*error_remove_page)(struct address_space * , struct page * ) ;
2150};
2151#line 642
2152struct backing_dev_info;
2153#line 642
2154struct backing_dev_info;
2155#line 643 "include/linux/fs.h"
2156struct address_space {
2157 struct inode *host ;
2158 struct radix_tree_root page_tree ;
2159 spinlock_t tree_lock ;
2160 unsigned int i_mmap_writable ;
2161 struct prio_tree_root i_mmap ;
2162 struct list_head i_mmap_nonlinear ;
2163 struct mutex i_mmap_mutex ;
2164 unsigned long nrpages ;
2165 unsigned long writeback_index ;
2166 struct address_space_operations const *a_ops ;
2167 unsigned long flags ;
2168 struct backing_dev_info *backing_dev_info ;
2169 spinlock_t private_lock ;
2170 struct list_head private_list ;
2171 struct address_space *assoc_mapping ;
2172};
2173#line 664
2174struct request_queue;
2175#line 664
2176struct request_queue;
2177#line 665
2178struct hd_struct;
2179#line 665
2180struct gendisk;
2181#line 665 "include/linux/fs.h"
2182struct block_device {
2183 dev_t bd_dev ;
2184 int bd_openers ;
2185 struct inode *bd_inode ;
2186 struct super_block *bd_super ;
2187 struct mutex bd_mutex ;
2188 struct list_head bd_inodes ;
2189 void *bd_claiming ;
2190 void *bd_holder ;
2191 int bd_holders ;
2192 bool bd_write_holder ;
2193 struct list_head bd_holder_disks ;
2194 struct block_device *bd_contains ;
2195 unsigned int bd_block_size ;
2196 struct hd_struct *bd_part ;
2197 unsigned int bd_part_count ;
2198 int bd_invalidated ;
2199 struct gendisk *bd_disk ;
2200 struct request_queue *bd_queue ;
2201 struct list_head bd_list ;
2202 unsigned long bd_private ;
2203 int bd_fsfreeze_count ;
2204 struct mutex bd_fsfreeze_mutex ;
2205};
2206#line 737
2207struct posix_acl;
2208#line 737
2209struct posix_acl;
2210#line 738
2211struct inode_operations;
2212#line 738 "include/linux/fs.h"
2213union __anonunion_ldv_18565_141 {
2214 unsigned int const i_nlink ;
2215 unsigned int __i_nlink ;
2216};
2217#line 738 "include/linux/fs.h"
2218union __anonunion_ldv_18584_142 {
2219 struct list_head i_dentry ;
2220 struct rcu_head i_rcu ;
2221};
2222#line 738
2223struct file_operations;
2224#line 738
2225struct file_lock;
2226#line 738
2227struct cdev;
2228#line 738 "include/linux/fs.h"
2229union __anonunion_ldv_18602_143 {
2230 struct pipe_inode_info *i_pipe ;
2231 struct block_device *i_bdev ;
2232 struct cdev *i_cdev ;
2233};
2234#line 738 "include/linux/fs.h"
2235struct inode {
2236 umode_t i_mode ;
2237 unsigned short i_opflags ;
2238 uid_t i_uid ;
2239 gid_t i_gid ;
2240 unsigned int i_flags ;
2241 struct posix_acl *i_acl ;
2242 struct posix_acl *i_default_acl ;
2243 struct inode_operations const *i_op ;
2244 struct super_block *i_sb ;
2245 struct address_space *i_mapping ;
2246 void *i_security ;
2247 unsigned long i_ino ;
2248 union __anonunion_ldv_18565_141 ldv_18565 ;
2249 dev_t i_rdev ;
2250 struct timespec i_atime ;
2251 struct timespec i_mtime ;
2252 struct timespec i_ctime ;
2253 spinlock_t i_lock ;
2254 unsigned short i_bytes ;
2255 blkcnt_t i_blocks ;
2256 loff_t i_size ;
2257 unsigned long i_state ;
2258 struct mutex i_mutex ;
2259 unsigned long dirtied_when ;
2260 struct hlist_node i_hash ;
2261 struct list_head i_wb_list ;
2262 struct list_head i_lru ;
2263 struct list_head i_sb_list ;
2264 union __anonunion_ldv_18584_142 ldv_18584 ;
2265 atomic_t i_count ;
2266 unsigned int i_blkbits ;
2267 u64 i_version ;
2268 atomic_t i_dio_count ;
2269 atomic_t i_writecount ;
2270 struct file_operations const *i_fop ;
2271 struct file_lock *i_flock ;
2272 struct address_space i_data ;
2273 struct dquot *i_dquot[2U] ;
2274 struct list_head i_devices ;
2275 union __anonunion_ldv_18602_143 ldv_18602 ;
2276 __u32 i_generation ;
2277 __u32 i_fsnotify_mask ;
2278 struct hlist_head i_fsnotify_marks ;
2279 atomic_t i_readcount ;
2280 void *i_private ;
2281};
2282#line 941 "include/linux/fs.h"
2283struct fown_struct {
2284 rwlock_t lock ;
2285 struct pid *pid ;
2286 enum pid_type pid_type ;
2287 uid_t uid ;
2288 uid_t euid ;
2289 int signum ;
2290};
2291#line 949 "include/linux/fs.h"
2292struct file_ra_state {
2293 unsigned long start ;
2294 unsigned int size ;
2295 unsigned int async_size ;
2296 unsigned int ra_pages ;
2297 unsigned int mmap_miss ;
2298 loff_t prev_pos ;
2299};
2300#line 972 "include/linux/fs.h"
2301union __anonunion_f_u_144 {
2302 struct list_head fu_list ;
2303 struct rcu_head fu_rcuhead ;
2304};
2305#line 972 "include/linux/fs.h"
2306struct file {
2307 union __anonunion_f_u_144 f_u ;
2308 struct path f_path ;
2309 struct file_operations const *f_op ;
2310 spinlock_t f_lock ;
2311 int f_sb_list_cpu ;
2312 atomic_long_t f_count ;
2313 unsigned int f_flags ;
2314 fmode_t f_mode ;
2315 loff_t f_pos ;
2316 struct fown_struct f_owner ;
2317 struct cred const *f_cred ;
2318 struct file_ra_state f_ra ;
2319 u64 f_version ;
2320 void *f_security ;
2321 void *private_data ;
2322 struct list_head f_ep_links ;
2323 struct list_head f_tfile_llink ;
2324 struct address_space *f_mapping ;
2325 unsigned long f_mnt_write_state ;
2326};
2327#line 1111
2328struct files_struct;
2329#line 1111 "include/linux/fs.h"
2330typedef struct files_struct *fl_owner_t;
2331#line 1112 "include/linux/fs.h"
2332struct file_lock_operations {
2333 void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
2334 void (*fl_release_private)(struct file_lock * ) ;
2335};
2336#line 1117 "include/linux/fs.h"
2337struct lock_manager_operations {
2338 int (*lm_compare_owner)(struct file_lock * , struct file_lock * ) ;
2339 void (*lm_notify)(struct file_lock * ) ;
2340 int (*lm_grant)(struct file_lock * , struct file_lock * , int ) ;
2341 void (*lm_release_private)(struct file_lock * ) ;
2342 void (*lm_break)(struct file_lock * ) ;
2343 int (*lm_change)(struct file_lock ** , int ) ;
2344};
2345#line 1134
2346struct nlm_lockowner;
2347#line 1134
2348struct nlm_lockowner;
2349#line 1135 "include/linux/fs.h"
2350struct nfs_lock_info {
2351 u32 state ;
2352 struct nlm_lockowner *owner ;
2353 struct list_head list ;
2354};
2355#line 14 "include/linux/nfs_fs_i.h"
2356struct nfs4_lock_state;
2357#line 14
2358struct nfs4_lock_state;
2359#line 15 "include/linux/nfs_fs_i.h"
2360struct nfs4_lock_info {
2361 struct nfs4_lock_state *owner ;
2362};
2363#line 19
2364struct fasync_struct;
2365#line 19 "include/linux/nfs_fs_i.h"
2366struct __anonstruct_afs_146 {
2367 struct list_head link ;
2368 int state ;
2369};
2370#line 19 "include/linux/nfs_fs_i.h"
2371union __anonunion_fl_u_145 {
2372 struct nfs_lock_info nfs_fl ;
2373 struct nfs4_lock_info nfs4_fl ;
2374 struct __anonstruct_afs_146 afs ;
2375};
2376#line 19 "include/linux/nfs_fs_i.h"
2377struct file_lock {
2378 struct file_lock *fl_next ;
2379 struct list_head fl_link ;
2380 struct list_head fl_block ;
2381 fl_owner_t fl_owner ;
2382 unsigned int fl_flags ;
2383 unsigned char fl_type ;
2384 unsigned int fl_pid ;
2385 struct pid *fl_nspid ;
2386 wait_queue_head_t fl_wait ;
2387 struct file *fl_file ;
2388 loff_t fl_start ;
2389 loff_t fl_end ;
2390 struct fasync_struct *fl_fasync ;
2391 unsigned long fl_break_time ;
2392 unsigned long fl_downgrade_time ;
2393 struct file_lock_operations const *fl_ops ;
2394 struct lock_manager_operations const *fl_lmops ;
2395 union __anonunion_fl_u_145 fl_u ;
2396};
2397#line 1221 "include/linux/fs.h"
2398struct fasync_struct {
2399 spinlock_t fa_lock ;
2400 int magic ;
2401 int fa_fd ;
2402 struct fasync_struct *fa_next ;
2403 struct file *fa_file ;
2404 struct rcu_head fa_rcu ;
2405};
2406#line 1417
2407struct file_system_type;
2408#line 1417
2409struct super_operations;
2410#line 1417
2411struct xattr_handler;
2412#line 1417
2413struct mtd_info;
2414#line 1417 "include/linux/fs.h"
2415struct super_block {
2416 struct list_head s_list ;
2417 dev_t s_dev ;
2418 unsigned char s_dirt ;
2419 unsigned char s_blocksize_bits ;
2420 unsigned long s_blocksize ;
2421 loff_t s_maxbytes ;
2422 struct file_system_type *s_type ;
2423 struct super_operations const *s_op ;
2424 struct dquot_operations const *dq_op ;
2425 struct quotactl_ops const *s_qcop ;
2426 struct export_operations const *s_export_op ;
2427 unsigned long s_flags ;
2428 unsigned long s_magic ;
2429 struct dentry *s_root ;
2430 struct rw_semaphore s_umount ;
2431 struct mutex s_lock ;
2432 int s_count ;
2433 atomic_t s_active ;
2434 void *s_security ;
2435 struct xattr_handler const **s_xattr ;
2436 struct list_head s_inodes ;
2437 struct hlist_bl_head s_anon ;
2438 struct list_head *s_files ;
2439 struct list_head s_mounts ;
2440 struct list_head s_dentry_lru ;
2441 int s_nr_dentry_unused ;
2442 spinlock_t s_inode_lru_lock ;
2443 struct list_head s_inode_lru ;
2444 int s_nr_inodes_unused ;
2445 struct block_device *s_bdev ;
2446 struct backing_dev_info *s_bdi ;
2447 struct mtd_info *s_mtd ;
2448 struct hlist_node s_instances ;
2449 struct quota_info s_dquot ;
2450 int s_frozen ;
2451 wait_queue_head_t s_wait_unfrozen ;
2452 char s_id[32U] ;
2453 u8 s_uuid[16U] ;
2454 void *s_fs_info ;
2455 unsigned int s_max_links ;
2456 fmode_t s_mode ;
2457 u32 s_time_gran ;
2458 struct mutex s_vfs_rename_mutex ;
2459 char *s_subtype ;
2460 char *s_options ;
2461 struct dentry_operations const *s_d_op ;
2462 int cleancache_poolid ;
2463 struct shrinker s_shrink ;
2464 atomic_long_t s_remove_count ;
2465 int s_readonly_remount ;
2466};
2467#line 1563 "include/linux/fs.h"
2468struct fiemap_extent_info {
2469 unsigned int fi_flags ;
2470 unsigned int fi_extents_mapped ;
2471 unsigned int fi_extents_max ;
2472 struct fiemap_extent *fi_extents_start ;
2473};
2474#line 1602 "include/linux/fs.h"
2475struct file_operations {
2476 struct module *owner ;
2477 loff_t (*llseek)(struct file * , loff_t , int ) ;
2478 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
2479 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
2480 ssize_t (*aio_read)(struct kiocb * , struct iovec const * , unsigned long ,
2481 loff_t ) ;
2482 ssize_t (*aio_write)(struct kiocb * , struct iovec const * , unsigned long ,
2483 loff_t ) ;
2484 int (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
2485 loff_t , u64 , unsigned int ) ) ;
2486 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
2487 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
2488 long (*compat_ioctl)(struct file * , unsigned int , unsigned long ) ;
2489 int (*mmap)(struct file * , struct vm_area_struct * ) ;
2490 int (*open)(struct inode * , struct file * ) ;
2491 int (*flush)(struct file * , fl_owner_t ) ;
2492 int (*release)(struct inode * , struct file * ) ;
2493 int (*fsync)(struct file * , loff_t , loff_t , int ) ;
2494 int (*aio_fsync)(struct kiocb * , int ) ;
2495 int (*fasync)(int , struct file * , int ) ;
2496 int (*lock)(struct file * , int , struct file_lock * ) ;
2497 ssize_t (*sendpage)(struct file * , struct page * , int , size_t , loff_t * ,
2498 int ) ;
2499 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2500 unsigned long , unsigned long ) ;
2501 int (*check_flags)(int ) ;
2502 int (*flock)(struct file * , int , struct file_lock * ) ;
2503 ssize_t (*splice_write)(struct pipe_inode_info * , struct file * , loff_t * , size_t ,
2504 unsigned int ) ;
2505 ssize_t (*splice_read)(struct file * , loff_t * , struct pipe_inode_info * , size_t ,
2506 unsigned int ) ;
2507 int (*setlease)(struct file * , long , struct file_lock ** ) ;
2508 long (*fallocate)(struct file * , int , loff_t , loff_t ) ;
2509};
2510#line 1637 "include/linux/fs.h"
2511struct inode_operations {
2512 struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
2513 void *(*follow_link)(struct dentry * , struct nameidata * ) ;
2514 int (*permission)(struct inode * , int ) ;
2515 struct posix_acl *(*get_acl)(struct inode * , int ) ;
2516 int (*readlink)(struct dentry * , char * , int ) ;
2517 void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
2518 int (*create)(struct inode * , struct dentry * , umode_t , struct nameidata * ) ;
2519 int (*link)(struct dentry * , struct inode * , struct dentry * ) ;
2520 int (*unlink)(struct inode * , struct dentry * ) ;
2521 int (*symlink)(struct inode * , struct dentry * , char const * ) ;
2522 int (*mkdir)(struct inode * , struct dentry * , umode_t ) ;
2523 int (*rmdir)(struct inode * , struct dentry * ) ;
2524 int (*mknod)(struct inode * , struct dentry * , umode_t , dev_t ) ;
2525 int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
2526 void (*truncate)(struct inode * ) ;
2527 int (*setattr)(struct dentry * , struct iattr * ) ;
2528 int (*getattr)(struct vfsmount * , struct dentry * , struct kstat * ) ;
2529 int (*setxattr)(struct dentry * , char const * , void const * , size_t , int ) ;
2530 ssize_t (*getxattr)(struct dentry * , char const * , void * , size_t ) ;
2531 ssize_t (*listxattr)(struct dentry * , char * , size_t ) ;
2532 int (*removexattr)(struct dentry * , char const * ) ;
2533 void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
2534 int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
2535};
2536#line 1682 "include/linux/fs.h"
2537struct super_operations {
2538 struct inode *(*alloc_inode)(struct super_block * ) ;
2539 void (*destroy_inode)(struct inode * ) ;
2540 void (*dirty_inode)(struct inode * , int ) ;
2541 int (*write_inode)(struct inode * , struct writeback_control * ) ;
2542 int (*drop_inode)(struct inode * ) ;
2543 void (*evict_inode)(struct inode * ) ;
2544 void (*put_super)(struct super_block * ) ;
2545 void (*write_super)(struct super_block * ) ;
2546 int (*sync_fs)(struct super_block * , int ) ;
2547 int (*freeze_fs)(struct super_block * ) ;
2548 int (*unfreeze_fs)(struct super_block * ) ;
2549 int (*statfs)(struct dentry * , struct kstatfs * ) ;
2550 int (*remount_fs)(struct super_block * , int * , char * ) ;
2551 void (*umount_begin)(struct super_block * ) ;
2552 int (*show_options)(struct seq_file * , struct dentry * ) ;
2553 int (*show_devname)(struct seq_file * , struct dentry * ) ;
2554 int (*show_path)(struct seq_file * , struct dentry * ) ;
2555 int (*show_stats)(struct seq_file * , struct dentry * ) ;
2556 ssize_t (*quota_read)(struct super_block * , int , char * , size_t , loff_t ) ;
2557 ssize_t (*quota_write)(struct super_block * , int , char const * , size_t ,
2558 loff_t ) ;
2559 int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
2560 int (*nr_cached_objects)(struct super_block * ) ;
2561 void (*free_cached_objects)(struct super_block * , int ) ;
2562};
2563#line 1834 "include/linux/fs.h"
2564struct file_system_type {
2565 char const *name ;
2566 int fs_flags ;
2567 struct dentry *(*mount)(struct file_system_type * , int , char const * , void * ) ;
2568 void (*kill_sb)(struct super_block * ) ;
2569 struct module *owner ;
2570 struct file_system_type *next ;
2571 struct hlist_head fs_supers ;
2572 struct lock_class_key s_lock_key ;
2573 struct lock_class_key s_umount_key ;
2574 struct lock_class_key s_vfs_rename_key ;
2575 struct lock_class_key i_lock_key ;
2576 struct lock_class_key i_mutex_key ;
2577 struct lock_class_key i_mutex_dir_key ;
2578};
2579#line 55 "include/linux/sched.h"
2580union __anonunion_ldv_20501_148 {
2581 unsigned long index ;
2582 void *freelist ;
2583};
2584#line 55 "include/linux/sched.h"
2585struct __anonstruct_ldv_20511_152 {
2586 unsigned short inuse ;
2587 unsigned short objects : 15 ;
2588 unsigned char frozen : 1 ;
2589};
2590#line 55 "include/linux/sched.h"
2591union __anonunion_ldv_20512_151 {
2592 atomic_t _mapcount ;
2593 struct __anonstruct_ldv_20511_152 ldv_20511 ;
2594};
2595#line 55 "include/linux/sched.h"
2596struct __anonstruct_ldv_20514_150 {
2597 union __anonunion_ldv_20512_151 ldv_20512 ;
2598 atomic_t _count ;
2599};
2600#line 55 "include/linux/sched.h"
2601union __anonunion_ldv_20515_149 {
2602 unsigned long counters ;
2603 struct __anonstruct_ldv_20514_150 ldv_20514 ;
2604};
2605#line 55 "include/linux/sched.h"
2606struct __anonstruct_ldv_20516_147 {
2607 union __anonunion_ldv_20501_148 ldv_20501 ;
2608 union __anonunion_ldv_20515_149 ldv_20515 ;
2609};
2610#line 55 "include/linux/sched.h"
2611struct __anonstruct_ldv_20523_154 {
2612 struct page *next ;
2613 int pages ;
2614 int pobjects ;
2615};
2616#line 55 "include/linux/sched.h"
2617union __anonunion_ldv_20524_153 {
2618 struct list_head lru ;
2619 struct __anonstruct_ldv_20523_154 ldv_20523 ;
2620};
2621#line 55 "include/linux/sched.h"
2622union __anonunion_ldv_20529_155 {
2623 unsigned long private ;
2624 struct kmem_cache *slab ;
2625 struct page *first_page ;
2626};
2627#line 55 "include/linux/sched.h"
2628struct page {
2629 unsigned long flags ;
2630 struct address_space *mapping ;
2631 struct __anonstruct_ldv_20516_147 ldv_20516 ;
2632 union __anonunion_ldv_20524_153 ldv_20524 ;
2633 union __anonunion_ldv_20529_155 ldv_20529 ;
2634 unsigned long debug_flags ;
2635};
2636#line 192 "include/linux/mm_types.h"
2637struct __anonstruct_vm_set_157 {
2638 struct list_head list ;
2639 void *parent ;
2640 struct vm_area_struct *head ;
2641};
2642#line 192 "include/linux/mm_types.h"
2643union __anonunion_shared_156 {
2644 struct __anonstruct_vm_set_157 vm_set ;
2645 struct raw_prio_tree_node prio_tree_node ;
2646};
2647#line 192
2648struct anon_vma;
2649#line 192
2650struct vm_operations_struct;
2651#line 192
2652struct mempolicy;
2653#line 192 "include/linux/mm_types.h"
2654struct vm_area_struct {
2655 struct mm_struct *vm_mm ;
2656 unsigned long vm_start ;
2657 unsigned long vm_end ;
2658 struct vm_area_struct *vm_next ;
2659 struct vm_area_struct *vm_prev ;
2660 pgprot_t vm_page_prot ;
2661 unsigned long vm_flags ;
2662 struct rb_node vm_rb ;
2663 union __anonunion_shared_156 shared ;
2664 struct list_head anon_vma_chain ;
2665 struct anon_vma *anon_vma ;
2666 struct vm_operations_struct const *vm_ops ;
2667 unsigned long vm_pgoff ;
2668 struct file *vm_file ;
2669 void *vm_private_data ;
2670 struct mempolicy *vm_policy ;
2671};
2672#line 255 "include/linux/mm_types.h"
2673struct core_thread {
2674 struct task_struct *task ;
2675 struct core_thread *next ;
2676};
2677#line 261 "include/linux/mm_types.h"
2678struct core_state {
2679 atomic_t nr_threads ;
2680 struct core_thread dumper ;
2681 struct completion startup ;
2682};
2683#line 274 "include/linux/mm_types.h"
2684struct mm_rss_stat {
2685 atomic_long_t count[3U] ;
2686};
2687#line 287
2688struct linux_binfmt;
2689#line 287
2690struct mmu_notifier_mm;
2691#line 287 "include/linux/mm_types.h"
2692struct mm_struct {
2693 struct vm_area_struct *mmap ;
2694 struct rb_root mm_rb ;
2695 struct vm_area_struct *mmap_cache ;
2696 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
2697 unsigned long , unsigned long ) ;
2698 void (*unmap_area)(struct mm_struct * , unsigned long ) ;
2699 unsigned long mmap_base ;
2700 unsigned long task_size ;
2701 unsigned long cached_hole_size ;
2702 unsigned long free_area_cache ;
2703 pgd_t *pgd ;
2704 atomic_t mm_users ;
2705 atomic_t mm_count ;
2706 int map_count ;
2707 spinlock_t page_table_lock ;
2708 struct rw_semaphore mmap_sem ;
2709 struct list_head mmlist ;
2710 unsigned long hiwater_rss ;
2711 unsigned long hiwater_vm ;
2712 unsigned long total_vm ;
2713 unsigned long locked_vm ;
2714 unsigned long pinned_vm ;
2715 unsigned long shared_vm ;
2716 unsigned long exec_vm ;
2717 unsigned long stack_vm ;
2718 unsigned long reserved_vm ;
2719 unsigned long def_flags ;
2720 unsigned long nr_ptes ;
2721 unsigned long start_code ;
2722 unsigned long end_code ;
2723 unsigned long start_data ;
2724 unsigned long end_data ;
2725 unsigned long start_brk ;
2726 unsigned long brk ;
2727 unsigned long start_stack ;
2728 unsigned long arg_start ;
2729 unsigned long arg_end ;
2730 unsigned long env_start ;
2731 unsigned long env_end ;
2732 unsigned long saved_auxv[44U] ;
2733 struct mm_rss_stat rss_stat ;
2734 struct linux_binfmt *binfmt ;
2735 cpumask_var_t cpu_vm_mask_var ;
2736 mm_context_t context ;
2737 unsigned int faultstamp ;
2738 unsigned int token_priority ;
2739 unsigned int last_interval ;
2740 unsigned long flags ;
2741 struct core_state *core_state ;
2742 spinlock_t ioctx_lock ;
2743 struct hlist_head ioctx_list ;
2744 struct task_struct *owner ;
2745 struct file *exe_file ;
2746 unsigned long num_exe_file_vmas ;
2747 struct mmu_notifier_mm *mmu_notifier_mm ;
2748 pgtable_t pmd_huge_pte ;
2749 struct cpumask cpumask_allocation ;
2750};
2751#line 7 "include/asm-generic/cputime.h"
2752typedef unsigned long cputime_t;
2753#line 98 "include/linux/sem.h"
2754struct sem_undo_list;
2755#line 98 "include/linux/sem.h"
2756struct sysv_sem {
2757 struct sem_undo_list *undo_list ;
2758};
2759#line 107
2760struct siginfo;
2761#line 107
2762struct siginfo;
2763#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2764struct __anonstruct_sigset_t_158 {
2765 unsigned long sig[1U] ;
2766};
2767#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2768typedef struct __anonstruct_sigset_t_158 sigset_t;
2769#line 17 "include/asm-generic/signal-defs.h"
2770typedef void __signalfn_t(int );
2771#line 18 "include/asm-generic/signal-defs.h"
2772typedef __signalfn_t *__sighandler_t;
2773#line 20 "include/asm-generic/signal-defs.h"
2774typedef void __restorefn_t(void);
2775#line 21 "include/asm-generic/signal-defs.h"
2776typedef __restorefn_t *__sigrestore_t;
2777#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2778struct sigaction {
2779 __sighandler_t sa_handler ;
2780 unsigned long sa_flags ;
2781 __sigrestore_t sa_restorer ;
2782 sigset_t sa_mask ;
2783};
2784#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2785struct k_sigaction {
2786 struct sigaction sa ;
2787};
2788#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
2789union sigval {
2790 int sival_int ;
2791 void *sival_ptr ;
2792};
2793#line 10 "include/asm-generic/siginfo.h"
2794typedef union sigval sigval_t;
2795#line 11 "include/asm-generic/siginfo.h"
2796struct __anonstruct__kill_160 {
2797 __kernel_pid_t _pid ;
2798 __kernel_uid32_t _uid ;
2799};
2800#line 11 "include/asm-generic/siginfo.h"
2801struct __anonstruct__timer_161 {
2802 __kernel_timer_t _tid ;
2803 int _overrun ;
2804 char _pad[0U] ;
2805 sigval_t _sigval ;
2806 int _sys_private ;
2807};
2808#line 11 "include/asm-generic/siginfo.h"
2809struct __anonstruct__rt_162 {
2810 __kernel_pid_t _pid ;
2811 __kernel_uid32_t _uid ;
2812 sigval_t _sigval ;
2813};
2814#line 11 "include/asm-generic/siginfo.h"
2815struct __anonstruct__sigchld_163 {
2816 __kernel_pid_t _pid ;
2817 __kernel_uid32_t _uid ;
2818 int _status ;
2819 __kernel_clock_t _utime ;
2820 __kernel_clock_t _stime ;
2821};
2822#line 11 "include/asm-generic/siginfo.h"
2823struct __anonstruct__sigfault_164 {
2824 void *_addr ;
2825 short _addr_lsb ;
2826};
2827#line 11 "include/asm-generic/siginfo.h"
2828struct __anonstruct__sigpoll_165 {
2829 long _band ;
2830 int _fd ;
2831};
2832#line 11 "include/asm-generic/siginfo.h"
2833union __anonunion__sifields_159 {
2834 int _pad[28U] ;
2835 struct __anonstruct__kill_160 _kill ;
2836 struct __anonstruct__timer_161 _timer ;
2837 struct __anonstruct__rt_162 _rt ;
2838 struct __anonstruct__sigchld_163 _sigchld ;
2839 struct __anonstruct__sigfault_164 _sigfault ;
2840 struct __anonstruct__sigpoll_165 _sigpoll ;
2841};
2842#line 11 "include/asm-generic/siginfo.h"
2843struct siginfo {
2844 int si_signo ;
2845 int si_errno ;
2846 int si_code ;
2847 union __anonunion__sifields_159 _sifields ;
2848};
2849#line 102 "include/asm-generic/siginfo.h"
2850typedef struct siginfo siginfo_t;
2851#line 14 "include/linux/signal.h"
2852struct user_struct;
2853#line 24 "include/linux/signal.h"
2854struct sigpending {
2855 struct list_head list ;
2856 sigset_t signal ;
2857};
2858#line 10 "include/linux/seccomp.h"
2859struct __anonstruct_seccomp_t_168 {
2860 int mode ;
2861};
2862#line 10 "include/linux/seccomp.h"
2863typedef struct __anonstruct_seccomp_t_168 seccomp_t;
2864#line 26 "include/linux/seccomp.h"
2865struct plist_head {
2866 struct list_head node_list ;
2867};
2868#line 84 "include/linux/plist.h"
2869struct plist_node {
2870 int prio ;
2871 struct list_head prio_list ;
2872 struct list_head node_list ;
2873};
2874#line 20 "include/linux/rtmutex.h"
2875struct rt_mutex {
2876 raw_spinlock_t wait_lock ;
2877 struct plist_head wait_list ;
2878 struct task_struct *owner ;
2879 int save_state ;
2880 char const *name ;
2881 char const *file ;
2882 int line ;
2883 void *magic ;
2884};
2885#line 38
2886struct rt_mutex_waiter;
2887#line 38
2888struct rt_mutex_waiter;
2889#line 41 "include/linux/resource.h"
2890struct rlimit {
2891 unsigned long rlim_cur ;
2892 unsigned long rlim_max ;
2893};
2894#line 85 "include/linux/resource.h"
2895struct task_io_accounting {
2896 u64 rchar ;
2897 u64 wchar ;
2898 u64 syscr ;
2899 u64 syscw ;
2900 u64 read_bytes ;
2901 u64 write_bytes ;
2902 u64 cancelled_write_bytes ;
2903};
2904#line 45 "include/linux/task_io_accounting.h"
2905struct latency_record {
2906 unsigned long backtrace[12U] ;
2907 unsigned int count ;
2908 unsigned long time ;
2909 unsigned long max ;
2910};
2911#line 29 "include/linux/key.h"
2912typedef int32_t key_serial_t;
2913#line 32 "include/linux/key.h"
2914typedef uint32_t key_perm_t;
2915#line 33
2916struct key;
2917#line 33
2918struct key;
2919#line 34
2920struct signal_struct;
2921#line 34
2922struct signal_struct;
2923#line 35
2924struct key_type;
2925#line 35
2926struct key_type;
2927#line 37
2928struct keyring_list;
2929#line 37
2930struct keyring_list;
2931#line 115
2932struct key_user;
2933#line 115 "include/linux/key.h"
2934union __anonunion_ldv_21329_169 {
2935 time_t expiry ;
2936 time_t revoked_at ;
2937};
2938#line 115 "include/linux/key.h"
2939union __anonunion_type_data_170 {
2940 struct list_head link ;
2941 unsigned long x[2U] ;
2942 void *p[2U] ;
2943 int reject_error ;
2944};
2945#line 115 "include/linux/key.h"
2946union __anonunion_payload_171 {
2947 unsigned long value ;
2948 void *rcudata ;
2949 void *data ;
2950 struct keyring_list *subscriptions ;
2951};
2952#line 115 "include/linux/key.h"
2953struct key {
2954 atomic_t usage ;
2955 key_serial_t serial ;
2956 struct rb_node serial_node ;
2957 struct key_type *type ;
2958 struct rw_semaphore sem ;
2959 struct key_user *user ;
2960 void *security ;
2961 union __anonunion_ldv_21329_169 ldv_21329 ;
2962 uid_t uid ;
2963 gid_t gid ;
2964 key_perm_t perm ;
2965 unsigned short quotalen ;
2966 unsigned short datalen ;
2967 unsigned long flags ;
2968 char *description ;
2969 union __anonunion_type_data_170 type_data ;
2970 union __anonunion_payload_171 payload ;
2971};
2972#line 316
2973struct audit_context;
2974#line 316
2975struct audit_context;
2976#line 27 "include/linux/selinux.h"
2977struct group_info {
2978 atomic_t usage ;
2979 int ngroups ;
2980 int nblocks ;
2981 gid_t small_block[32U] ;
2982 gid_t *blocks[0U] ;
2983};
2984#line 77 "include/linux/cred.h"
2985struct thread_group_cred {
2986 atomic_t usage ;
2987 pid_t tgid ;
2988 spinlock_t lock ;
2989 struct key *session_keyring ;
2990 struct key *process_keyring ;
2991 struct rcu_head rcu ;
2992};
2993#line 91 "include/linux/cred.h"
2994struct cred {
2995 atomic_t usage ;
2996 atomic_t subscribers ;
2997 void *put_addr ;
2998 unsigned int magic ;
2999 uid_t uid ;
3000 gid_t gid ;
3001 uid_t suid ;
3002 gid_t sgid ;
3003 uid_t euid ;
3004 gid_t egid ;
3005 uid_t fsuid ;
3006 gid_t fsgid ;
3007 unsigned int securebits ;
3008 kernel_cap_t cap_inheritable ;
3009 kernel_cap_t cap_permitted ;
3010 kernel_cap_t cap_effective ;
3011 kernel_cap_t cap_bset ;
3012 unsigned char jit_keyring ;
3013 struct key *thread_keyring ;
3014 struct key *request_key_auth ;
3015 struct thread_group_cred *tgcred ;
3016 void *security ;
3017 struct user_struct *user ;
3018 struct user_namespace *user_ns ;
3019 struct group_info *group_info ;
3020 struct rcu_head rcu ;
3021};
3022#line 264
3023struct llist_node;
3024#line 64 "include/linux/llist.h"
3025struct llist_node {
3026 struct llist_node *next ;
3027};
3028#line 185
3029struct futex_pi_state;
3030#line 185
3031struct futex_pi_state;
3032#line 186
3033struct robust_list_head;
3034#line 186
3035struct robust_list_head;
3036#line 187
3037struct bio_list;
3038#line 187
3039struct bio_list;
3040#line 188
3041struct fs_struct;
3042#line 188
3043struct fs_struct;
3044#line 189
3045struct perf_event_context;
3046#line 189
3047struct perf_event_context;
3048#line 190
3049struct blk_plug;
3050#line 190
3051struct blk_plug;
3052#line 149 "include/linux/sched.h"
3053struct cfs_rq;
3054#line 149
3055struct cfs_rq;
3056#line 44 "include/linux/aio_abi.h"
3057struct io_event {
3058 __u64 data ;
3059 __u64 obj ;
3060 __s64 res ;
3061 __s64 res2 ;
3062};
3063#line 106 "include/linux/aio_abi.h"
3064struct iovec {
3065 void *iov_base ;
3066 __kernel_size_t iov_len ;
3067};
3068#line 54 "include/linux/uio.h"
3069struct kioctx;
3070#line 54
3071struct kioctx;
3072#line 55 "include/linux/uio.h"
3073union __anonunion_ki_obj_172 {
3074 void *user ;
3075 struct task_struct *tsk ;
3076};
3077#line 55
3078struct eventfd_ctx;
3079#line 55 "include/linux/uio.h"
3080struct kiocb {
3081 struct list_head ki_run_list ;
3082 unsigned long ki_flags ;
3083 int ki_users ;
3084 unsigned int ki_key ;
3085 struct file *ki_filp ;
3086 struct kioctx *ki_ctx ;
3087 int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
3088 ssize_t (*ki_retry)(struct kiocb * ) ;
3089 void (*ki_dtor)(struct kiocb * ) ;
3090 union __anonunion_ki_obj_172 ki_obj ;
3091 __u64 ki_user_data ;
3092 loff_t ki_pos ;
3093 void *private ;
3094 unsigned short ki_opcode ;
3095 size_t ki_nbytes ;
3096 char *ki_buf ;
3097 size_t ki_left ;
3098 struct iovec ki_inline_vec ;
3099 struct iovec *ki_iovec ;
3100 unsigned long ki_nr_segs ;
3101 unsigned long ki_cur_seg ;
3102 struct list_head ki_list ;
3103 struct list_head ki_batch ;
3104 struct eventfd_ctx *ki_eventfd ;
3105};
3106#line 162 "include/linux/aio.h"
3107struct aio_ring_info {
3108 unsigned long mmap_base ;
3109 unsigned long mmap_size ;
3110 struct page **ring_pages ;
3111 spinlock_t ring_lock ;
3112 long nr_pages ;
3113 unsigned int nr ;
3114 unsigned int tail ;
3115 struct page *internal_pages[8U] ;
3116};
3117#line 178 "include/linux/aio.h"
3118struct kioctx {
3119 atomic_t users ;
3120 int dead ;
3121 struct mm_struct *mm ;
3122 unsigned long user_id ;
3123 struct hlist_node list ;
3124 wait_queue_head_t wait ;
3125 spinlock_t ctx_lock ;
3126 int reqs_active ;
3127 struct list_head active_reqs ;
3128 struct list_head run_list ;
3129 unsigned int max_reqs ;
3130 struct aio_ring_info ring_info ;
3131 struct delayed_work wq ;
3132 struct rcu_head rcu_head ;
3133};
3134#line 406 "include/linux/sched.h"
3135struct sighand_struct {
3136 atomic_t count ;
3137 struct k_sigaction action[64U] ;
3138 spinlock_t siglock ;
3139 wait_queue_head_t signalfd_wqh ;
3140};
3141#line 449 "include/linux/sched.h"
3142struct pacct_struct {
3143 int ac_flag ;
3144 long ac_exitcode ;
3145 unsigned long ac_mem ;
3146 cputime_t ac_utime ;
3147 cputime_t ac_stime ;
3148 unsigned long ac_minflt ;
3149 unsigned long ac_majflt ;
3150};
3151#line 457 "include/linux/sched.h"
3152struct cpu_itimer {
3153 cputime_t expires ;
3154 cputime_t incr ;
3155 u32 error ;
3156 u32 incr_error ;
3157};
3158#line 464 "include/linux/sched.h"
3159struct task_cputime {
3160 cputime_t utime ;
3161 cputime_t stime ;
3162 unsigned long long sum_exec_runtime ;
3163};
3164#line 481 "include/linux/sched.h"
3165struct thread_group_cputimer {
3166 struct task_cputime cputime ;
3167 int running ;
3168 raw_spinlock_t lock ;
3169};
3170#line 517
3171struct autogroup;
3172#line 517
3173struct autogroup;
3174#line 518
3175struct tty_struct;
3176#line 518
3177struct taskstats;
3178#line 518
3179struct tty_audit_buf;
3180#line 518 "include/linux/sched.h"
3181struct signal_struct {
3182 atomic_t sigcnt ;
3183 atomic_t live ;
3184 int nr_threads ;
3185 wait_queue_head_t wait_chldexit ;
3186 struct task_struct *curr_target ;
3187 struct sigpending shared_pending ;
3188 int group_exit_code ;
3189 int notify_count ;
3190 struct task_struct *group_exit_task ;
3191 int group_stop_count ;
3192 unsigned int flags ;
3193 unsigned char is_child_subreaper : 1 ;
3194 unsigned char has_child_subreaper : 1 ;
3195 struct list_head posix_timers ;
3196 struct hrtimer real_timer ;
3197 struct pid *leader_pid ;
3198 ktime_t it_real_incr ;
3199 struct cpu_itimer it[2U] ;
3200 struct thread_group_cputimer cputimer ;
3201 struct task_cputime cputime_expires ;
3202 struct list_head cpu_timers[3U] ;
3203 struct pid *tty_old_pgrp ;
3204 int leader ;
3205 struct tty_struct *tty ;
3206 struct autogroup *autogroup ;
3207 cputime_t utime ;
3208 cputime_t stime ;
3209 cputime_t cutime ;
3210 cputime_t cstime ;
3211 cputime_t gtime ;
3212 cputime_t cgtime ;
3213 cputime_t prev_utime ;
3214 cputime_t prev_stime ;
3215 unsigned long nvcsw ;
3216 unsigned long nivcsw ;
3217 unsigned long cnvcsw ;
3218 unsigned long cnivcsw ;
3219 unsigned long min_flt ;
3220 unsigned long maj_flt ;
3221 unsigned long cmin_flt ;
3222 unsigned long cmaj_flt ;
3223 unsigned long inblock ;
3224 unsigned long oublock ;
3225 unsigned long cinblock ;
3226 unsigned long coublock ;
3227 unsigned long maxrss ;
3228 unsigned long cmaxrss ;
3229 struct task_io_accounting ioac ;
3230 unsigned long long sum_sched_runtime ;
3231 struct rlimit rlim[16U] ;
3232 struct pacct_struct pacct ;
3233 struct taskstats *stats ;
3234 unsigned int audit_tty ;
3235 struct tty_audit_buf *tty_audit_buf ;
3236 struct rw_semaphore group_rwsem ;
3237 int oom_adj ;
3238 int oom_score_adj ;
3239 int oom_score_adj_min ;
3240 struct mutex cred_guard_mutex ;
3241};
3242#line 699 "include/linux/sched.h"
3243struct user_struct {
3244 atomic_t __count ;
3245 atomic_t processes ;
3246 atomic_t files ;
3247 atomic_t sigpending ;
3248 atomic_t inotify_watches ;
3249 atomic_t inotify_devs ;
3250 atomic_t fanotify_listeners ;
3251 atomic_long_t epoll_watches ;
3252 unsigned long mq_bytes ;
3253 unsigned long locked_shm ;
3254 struct key *uid_keyring ;
3255 struct key *session_keyring ;
3256 struct hlist_node uidhash_node ;
3257 uid_t uid ;
3258 struct user_namespace *user_ns ;
3259 atomic_long_t locked_vm ;
3260};
3261#line 744
3262struct reclaim_state;
3263#line 744
3264struct reclaim_state;
3265#line 745 "include/linux/sched.h"
3266struct sched_info {
3267 unsigned long pcount ;
3268 unsigned long long run_delay ;
3269 unsigned long long last_arrival ;
3270 unsigned long long last_queued ;
3271};
3272#line 760 "include/linux/sched.h"
3273struct task_delay_info {
3274 spinlock_t lock ;
3275 unsigned int flags ;
3276 struct timespec blkio_start ;
3277 struct timespec blkio_end ;
3278 u64 blkio_delay ;
3279 u64 swapin_delay ;
3280 u32 blkio_count ;
3281 u32 swapin_count ;
3282 struct timespec freepages_start ;
3283 struct timespec freepages_end ;
3284 u64 freepages_delay ;
3285 u32 freepages_count ;
3286};
3287#line 1069
3288struct io_context;
3289#line 1069
3290struct io_context;
3291#line 1098
3292struct rq;
3293#line 1098
3294struct rq;
3295#line 1099 "include/linux/sched.h"
3296struct sched_class {
3297 struct sched_class const *next ;
3298 void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
3299 void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
3300 void (*yield_task)(struct rq * ) ;
3301 bool (*yield_to_task)(struct rq * , struct task_struct * , bool ) ;
3302 void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
3303 struct task_struct *(*pick_next_task)(struct rq * ) ;
3304 void (*put_prev_task)(struct rq * , struct task_struct * ) ;
3305 int (*select_task_rq)(struct task_struct * , int , int ) ;
3306 void (*pre_schedule)(struct rq * , struct task_struct * ) ;
3307 void (*post_schedule)(struct rq * ) ;
3308 void (*task_waking)(struct task_struct * ) ;
3309 void (*task_woken)(struct rq * , struct task_struct * ) ;
3310 void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
3311 void (*rq_online)(struct rq * ) ;
3312 void (*rq_offline)(struct rq * ) ;
3313 void (*set_curr_task)(struct rq * ) ;
3314 void (*task_tick)(struct rq * , struct task_struct * , int ) ;
3315 void (*task_fork)(struct task_struct * ) ;
3316 void (*switched_from)(struct rq * , struct task_struct * ) ;
3317 void (*switched_to)(struct rq * , struct task_struct * ) ;
3318 void (*prio_changed)(struct rq * , struct task_struct * , int ) ;
3319 unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
3320 void (*task_move_group)(struct task_struct * , int ) ;
3321};
3322#line 1165 "include/linux/sched.h"
3323struct load_weight {
3324 unsigned long weight ;
3325 unsigned long inv_weight ;
3326};
3327#line 1170 "include/linux/sched.h"
3328struct sched_statistics {
3329 u64 wait_start ;
3330 u64 wait_max ;
3331 u64 wait_count ;
3332 u64 wait_sum ;
3333 u64 iowait_count ;
3334 u64 iowait_sum ;
3335 u64 sleep_start ;
3336 u64 sleep_max ;
3337 s64 sum_sleep_runtime ;
3338 u64 block_start ;
3339 u64 block_max ;
3340 u64 exec_max ;
3341 u64 slice_max ;
3342 u64 nr_migrations_cold ;
3343 u64 nr_failed_migrations_affine ;
3344 u64 nr_failed_migrations_running ;
3345 u64 nr_failed_migrations_hot ;
3346 u64 nr_forced_migrations ;
3347 u64 nr_wakeups ;
3348 u64 nr_wakeups_sync ;
3349 u64 nr_wakeups_migrate ;
3350 u64 nr_wakeups_local ;
3351 u64 nr_wakeups_remote ;
3352 u64 nr_wakeups_affine ;
3353 u64 nr_wakeups_affine_attempts ;
3354 u64 nr_wakeups_passive ;
3355 u64 nr_wakeups_idle ;
3356};
3357#line 1205 "include/linux/sched.h"
3358struct sched_entity {
3359 struct load_weight load ;
3360 struct rb_node run_node ;
3361 struct list_head group_node ;
3362 unsigned int on_rq ;
3363 u64 exec_start ;
3364 u64 sum_exec_runtime ;
3365 u64 vruntime ;
3366 u64 prev_sum_exec_runtime ;
3367 u64 nr_migrations ;
3368 struct sched_statistics statistics ;
3369 struct sched_entity *parent ;
3370 struct cfs_rq *cfs_rq ;
3371 struct cfs_rq *my_q ;
3372};
3373#line 1231
3374struct rt_rq;
3375#line 1231 "include/linux/sched.h"
3376struct sched_rt_entity {
3377 struct list_head run_list ;
3378 unsigned long timeout ;
3379 unsigned int time_slice ;
3380 int nr_cpus_allowed ;
3381 struct sched_rt_entity *back ;
3382 struct sched_rt_entity *parent ;
3383 struct rt_rq *rt_rq ;
3384 struct rt_rq *my_q ;
3385};
3386#line 1255
3387struct mem_cgroup;
3388#line 1255 "include/linux/sched.h"
3389struct memcg_batch_info {
3390 int do_batch ;
3391 struct mem_cgroup *memcg ;
3392 unsigned long nr_pages ;
3393 unsigned long memsw_nr_pages ;
3394};
3395#line 1616
3396struct css_set;
3397#line 1616
3398struct compat_robust_list_head;
3399#line 1616 "include/linux/sched.h"
3400struct task_struct {
3401 long volatile state ;
3402 void *stack ;
3403 atomic_t usage ;
3404 unsigned int flags ;
3405 unsigned int ptrace ;
3406 struct llist_node wake_entry ;
3407 int on_cpu ;
3408 int on_rq ;
3409 int prio ;
3410 int static_prio ;
3411 int normal_prio ;
3412 unsigned int rt_priority ;
3413 struct sched_class const *sched_class ;
3414 struct sched_entity se ;
3415 struct sched_rt_entity rt ;
3416 struct hlist_head preempt_notifiers ;
3417 unsigned char fpu_counter ;
3418 unsigned int policy ;
3419 cpumask_t cpus_allowed ;
3420 struct sched_info sched_info ;
3421 struct list_head tasks ;
3422 struct plist_node pushable_tasks ;
3423 struct mm_struct *mm ;
3424 struct mm_struct *active_mm ;
3425 unsigned char brk_randomized : 1 ;
3426 int exit_state ;
3427 int exit_code ;
3428 int exit_signal ;
3429 int pdeath_signal ;
3430 unsigned int jobctl ;
3431 unsigned int personality ;
3432 unsigned char did_exec : 1 ;
3433 unsigned char in_execve : 1 ;
3434 unsigned char in_iowait : 1 ;
3435 unsigned char sched_reset_on_fork : 1 ;
3436 unsigned char sched_contributes_to_load : 1 ;
3437 unsigned char irq_thread : 1 ;
3438 pid_t pid ;
3439 pid_t tgid ;
3440 unsigned long stack_canary ;
3441 struct task_struct *real_parent ;
3442 struct task_struct *parent ;
3443 struct list_head children ;
3444 struct list_head sibling ;
3445 struct task_struct *group_leader ;
3446 struct list_head ptraced ;
3447 struct list_head ptrace_entry ;
3448 struct pid_link pids[3U] ;
3449 struct list_head thread_group ;
3450 struct completion *vfork_done ;
3451 int *set_child_tid ;
3452 int *clear_child_tid ;
3453 cputime_t utime ;
3454 cputime_t stime ;
3455 cputime_t utimescaled ;
3456 cputime_t stimescaled ;
3457 cputime_t gtime ;
3458 cputime_t prev_utime ;
3459 cputime_t prev_stime ;
3460 unsigned long nvcsw ;
3461 unsigned long nivcsw ;
3462 struct timespec start_time ;
3463 struct timespec real_start_time ;
3464 unsigned long min_flt ;
3465 unsigned long maj_flt ;
3466 struct task_cputime cputime_expires ;
3467 struct list_head cpu_timers[3U] ;
3468 struct cred const *real_cred ;
3469 struct cred const *cred ;
3470 struct cred *replacement_session_keyring ;
3471 char comm[16U] ;
3472 int link_count ;
3473 int total_link_count ;
3474 struct sysv_sem sysvsem ;
3475 unsigned long last_switch_count ;
3476 struct thread_struct thread ;
3477 struct fs_struct *fs ;
3478 struct files_struct *files ;
3479 struct nsproxy *nsproxy ;
3480 struct signal_struct *signal ;
3481 struct sighand_struct *sighand ;
3482 sigset_t blocked ;
3483 sigset_t real_blocked ;
3484 sigset_t saved_sigmask ;
3485 struct sigpending pending ;
3486 unsigned long sas_ss_sp ;
3487 size_t sas_ss_size ;
3488 int (*notifier)(void * ) ;
3489 void *notifier_data ;
3490 sigset_t *notifier_mask ;
3491 struct audit_context *audit_context ;
3492 uid_t loginuid ;
3493 unsigned int sessionid ;
3494 seccomp_t seccomp ;
3495 u32 parent_exec_id ;
3496 u32 self_exec_id ;
3497 spinlock_t alloc_lock ;
3498 raw_spinlock_t pi_lock ;
3499 struct plist_head pi_waiters ;
3500 struct rt_mutex_waiter *pi_blocked_on ;
3501 struct mutex_waiter *blocked_on ;
3502 unsigned int irq_events ;
3503 unsigned long hardirq_enable_ip ;
3504 unsigned long hardirq_disable_ip ;
3505 unsigned int hardirq_enable_event ;
3506 unsigned int hardirq_disable_event ;
3507 int hardirqs_enabled ;
3508 int hardirq_context ;
3509 unsigned long softirq_disable_ip ;
3510 unsigned long softirq_enable_ip ;
3511 unsigned int softirq_disable_event ;
3512 unsigned int softirq_enable_event ;
3513 int softirqs_enabled ;
3514 int softirq_context ;
3515 u64 curr_chain_key ;
3516 int lockdep_depth ;
3517 unsigned int lockdep_recursion ;
3518 struct held_lock held_locks[48U] ;
3519 gfp_t lockdep_reclaim_gfp ;
3520 void *journal_info ;
3521 struct bio_list *bio_list ;
3522 struct blk_plug *plug ;
3523 struct reclaim_state *reclaim_state ;
3524 struct backing_dev_info *backing_dev_info ;
3525 struct io_context *io_context ;
3526 unsigned long ptrace_message ;
3527 siginfo_t *last_siginfo ;
3528 struct task_io_accounting ioac ;
3529 u64 acct_rss_mem1 ;
3530 u64 acct_vm_mem1 ;
3531 cputime_t acct_timexpd ;
3532 nodemask_t mems_allowed ;
3533 seqcount_t mems_allowed_seq ;
3534 int cpuset_mem_spread_rotor ;
3535 int cpuset_slab_spread_rotor ;
3536 struct css_set *cgroups ;
3537 struct list_head cg_list ;
3538 struct robust_list_head *robust_list ;
3539 struct compat_robust_list_head *compat_robust_list ;
3540 struct list_head pi_state_list ;
3541 struct futex_pi_state *pi_state_cache ;
3542 struct perf_event_context *perf_event_ctxp[2U] ;
3543 struct mutex perf_event_mutex ;
3544 struct list_head perf_event_list ;
3545 struct mempolicy *mempolicy ;
3546 short il_next ;
3547 short pref_node_fork ;
3548 struct rcu_head rcu ;
3549 struct pipe_inode_info *splice_pipe ;
3550 struct task_delay_info *delays ;
3551 int make_it_fail ;
3552 int nr_dirtied ;
3553 int nr_dirtied_pause ;
3554 unsigned long dirty_paused_when ;
3555 int latency_record_count ;
3556 struct latency_record latency_record[32U] ;
3557 unsigned long timer_slack_ns ;
3558 unsigned long default_timer_slack_ns ;
3559 struct list_head *scm_work_list ;
3560 unsigned long trace ;
3561 unsigned long trace_recursion ;
3562 struct memcg_batch_info memcg_batch ;
3563 atomic_t ptrace_bp_refcnt ;
3564};
3565#line 253 "include/linux/pm_runtime.h"
3566struct usb_device;
3567#line 253
3568struct usb_device;
3569#line 255
3570struct wusb_dev;
3571#line 255
3572struct wusb_dev;
3573#line 256
3574struct ep_device;
3575#line 256
3576struct ep_device;
3577#line 257 "include/linux/pm_runtime.h"
3578struct usb_host_endpoint {
3579 struct usb_endpoint_descriptor desc ;
3580 struct usb_ss_ep_comp_descriptor ss_ep_comp ;
3581 struct list_head urb_list ;
3582 void *hcpriv ;
3583 struct ep_device *ep_dev ;
3584 unsigned char *extra ;
3585 int extralen ;
3586 int enabled ;
3587};
3588#line 75 "include/linux/usb.h"
3589struct usb_host_interface {
3590 struct usb_interface_descriptor desc ;
3591 struct usb_host_endpoint *endpoint ;
3592 char *string ;
3593 unsigned char *extra ;
3594 int extralen ;
3595};
3596#line 89
3597enum usb_interface_condition {
3598 USB_INTERFACE_UNBOUND = 0,
3599 USB_INTERFACE_BINDING = 1,
3600 USB_INTERFACE_BOUND = 2,
3601 USB_INTERFACE_UNBINDING = 3
3602} ;
3603#line 96 "include/linux/usb.h"
3604struct usb_interface {
3605 struct usb_host_interface *altsetting ;
3606 struct usb_host_interface *cur_altsetting ;
3607 unsigned int num_altsetting ;
3608 struct usb_interface_assoc_descriptor *intf_assoc ;
3609 int minor ;
3610 enum usb_interface_condition condition ;
3611 unsigned char sysfs_files_created : 1 ;
3612 unsigned char ep_devs_created : 1 ;
3613 unsigned char unregistering : 1 ;
3614 unsigned char needs_remote_wakeup : 1 ;
3615 unsigned char needs_altsetting0 : 1 ;
3616 unsigned char needs_binding : 1 ;
3617 unsigned char reset_running : 1 ;
3618 unsigned char resetting_device : 1 ;
3619 struct device dev ;
3620 struct device *usb_dev ;
3621 atomic_t pm_usage_cnt ;
3622 struct work_struct reset_ws ;
3623};
3624#line 203 "include/linux/usb.h"
3625struct usb_interface_cache {
3626 unsigned int num_altsetting ;
3627 struct kref ref ;
3628 struct usb_host_interface altsetting[0U] ;
3629};
3630#line 230 "include/linux/usb.h"
3631struct usb_host_config {
3632 struct usb_config_descriptor desc ;
3633 char *string ;
3634 struct usb_interface_assoc_descriptor *intf_assoc[16U] ;
3635 struct usb_interface *interface[32U] ;
3636 struct usb_interface_cache *intf_cache[32U] ;
3637 unsigned char *extra ;
3638 int extralen ;
3639};
3640#line 294 "include/linux/usb.h"
3641struct usb_host_bos {
3642 struct usb_bos_descriptor *desc ;
3643 struct usb_ext_cap_descriptor *ext_cap ;
3644 struct usb_ss_cap_descriptor *ss_cap ;
3645 struct usb_ss_container_id_descriptor *ss_id ;
3646};
3647#line 306 "include/linux/usb.h"
3648struct usb_devmap {
3649 unsigned long devicemap[2U] ;
3650};
3651#line 318
3652struct mon_bus;
3653#line 318 "include/linux/usb.h"
3654struct usb_bus {
3655 struct device *controller ;
3656 int busnum ;
3657 char const *bus_name ;
3658 u8 uses_dma ;
3659 u8 uses_pio_for_control ;
3660 u8 otg_port ;
3661 unsigned char is_b_host : 1 ;
3662 unsigned char b_hnp_enable : 1 ;
3663 unsigned int sg_tablesize ;
3664 int devnum_next ;
3665 struct usb_devmap devmap ;
3666 struct usb_device *root_hub ;
3667 struct usb_bus *hs_companion ;
3668 struct list_head bus_list ;
3669 int bandwidth_allocated ;
3670 int bandwidth_int_reqs ;
3671 int bandwidth_isoc_reqs ;
3672 struct dentry *usbfs_dentry ;
3673 struct mon_bus *mon_bus ;
3674 int monitored ;
3675};
3676#line 362
3677struct usb_tt;
3678#line 362
3679struct usb_tt;
3680#line 363
3681enum usb_device_removable {
3682 USB_DEVICE_REMOVABLE_UNKNOWN = 0,
3683 USB_DEVICE_REMOVABLE = 1,
3684 USB_DEVICE_FIXED = 2
3685} ;
3686#line 369 "include/linux/usb.h"
3687struct usb_device {
3688 int devnum ;
3689 char devpath[16U] ;
3690 u32 route ;
3691 enum usb_device_state state ;
3692 enum usb_device_speed speed ;
3693 struct usb_tt *tt ;
3694 int ttport ;
3695 unsigned int toggle[2U] ;
3696 struct usb_device *parent ;
3697 struct usb_bus *bus ;
3698 struct usb_host_endpoint ep0 ;
3699 struct device dev ;
3700 struct usb_device_descriptor descriptor ;
3701 struct usb_host_bos *bos ;
3702 struct usb_host_config *config ;
3703 struct usb_host_config *actconfig ;
3704 struct usb_host_endpoint *ep_in[16U] ;
3705 struct usb_host_endpoint *ep_out[16U] ;
3706 char **rawdescriptors ;
3707 unsigned short bus_mA ;
3708 u8 portnum ;
3709 u8 level ;
3710 unsigned char can_submit : 1 ;
3711 unsigned char persist_enabled : 1 ;
3712 unsigned char have_langid : 1 ;
3713 unsigned char authorized : 1 ;
3714 unsigned char authenticated : 1 ;
3715 unsigned char wusb : 1 ;
3716 unsigned char lpm_capable : 1 ;
3717 unsigned char usb2_hw_lpm_capable : 1 ;
3718 unsigned char usb2_hw_lpm_enabled : 1 ;
3719 int string_langid ;
3720 char *product ;
3721 char *manufacturer ;
3722 char *serial ;
3723 struct list_head filelist ;
3724 struct device *usb_classdev ;
3725 struct dentry *usbfs_dentry ;
3726 int maxchild ;
3727 struct usb_device **children ;
3728 u32 quirks ;
3729 atomic_t urbnum ;
3730 unsigned long active_duration ;
3731 unsigned long connect_time ;
3732 unsigned char do_remote_wakeup : 1 ;
3733 unsigned char reset_resume : 1 ;
3734 struct wusb_dev *wusb_dev ;
3735 int slot_id ;
3736 enum usb_device_removable removable ;
3737};
3738#line 986 "include/linux/usb.h"
3739struct usb_iso_packet_descriptor {
3740 unsigned int offset ;
3741 unsigned int length ;
3742 unsigned int actual_length ;
3743 int status ;
3744};
3745#line 1028
3746struct urb;
3747#line 1028
3748struct urb;
3749#line 1029 "include/linux/usb.h"
3750struct usb_anchor {
3751 struct list_head urb_list ;
3752 wait_queue_head_t wait ;
3753 spinlock_t lock ;
3754 unsigned char poisoned : 1 ;
3755};
3756#line 1046
3757struct scatterlist;
3758#line 1046 "include/linux/usb.h"
3759struct urb {
3760 struct kref kref ;
3761 void *hcpriv ;
3762 atomic_t use_count ;
3763 atomic_t reject ;
3764 int unlinked ;
3765 struct list_head urb_list ;
3766 struct list_head anchor_list ;
3767 struct usb_anchor *anchor ;
3768 struct usb_device *dev ;
3769 struct usb_host_endpoint *ep ;
3770 unsigned int pipe ;
3771 unsigned int stream_id ;
3772 int status ;
3773 unsigned int transfer_flags ;
3774 void *transfer_buffer ;
3775 dma_addr_t transfer_dma ;
3776 struct scatterlist *sg ;
3777 int num_mapped_sgs ;
3778 int num_sgs ;
3779 u32 transfer_buffer_length ;
3780 u32 actual_length ;
3781 unsigned char *setup_packet ;
3782 dma_addr_t setup_dma ;
3783 int start_frame ;
3784 int number_of_packets ;
3785 int interval ;
3786 int error_count ;
3787 void *context ;
3788 void (*complete)(struct urb * ) ;
3789 struct usb_iso_packet_descriptor iso_frame_desc[0U] ;
3790};
3791#line 1660
3792enum v4l2_field {
3793 V4L2_FIELD_ANY = 0,
3794 V4L2_FIELD_NONE = 1,
3795 V4L2_FIELD_TOP = 2,
3796 V4L2_FIELD_BOTTOM = 3,
3797 V4L2_FIELD_INTERLACED = 4,
3798 V4L2_FIELD_SEQ_TB = 5,
3799 V4L2_FIELD_SEQ_BT = 6,
3800 V4L2_FIELD_ALTERNATE = 7,
3801 V4L2_FIELD_INTERLACED_TB = 8,
3802 V4L2_FIELD_INTERLACED_BT = 9
3803} ;
3804#line 1673
3805enum v4l2_buf_type {
3806 V4L2_BUF_TYPE_VIDEO_CAPTURE = 1,
3807 V4L2_BUF_TYPE_VIDEO_OUTPUT = 2,
3808 V4L2_BUF_TYPE_VIDEO_OVERLAY = 3,
3809 V4L2_BUF_TYPE_VBI_CAPTURE = 4,
3810 V4L2_BUF_TYPE_VBI_OUTPUT = 5,
3811 V4L2_BUF_TYPE_SLICED_VBI_CAPTURE = 6,
3812 V4L2_BUF_TYPE_SLICED_VBI_OUTPUT = 7,
3813 V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = 8,
3814 V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE = 9,
3815 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE = 10,
3816 V4L2_BUF_TYPE_PRIVATE = 128
3817} ;
3818#line 1687
3819enum v4l2_tuner_type {
3820 V4L2_TUNER_RADIO = 1,
3821 V4L2_TUNER_ANALOG_TV = 2,
3822 V4L2_TUNER_DIGITAL_TV = 3
3823} ;
3824#line 1693
3825enum v4l2_memory {
3826 V4L2_MEMORY_MMAP = 1,
3827 V4L2_MEMORY_USERPTR = 2,
3828 V4L2_MEMORY_OVERLAY = 3
3829} ;
3830#line 1699
3831enum v4l2_colorspace {
3832 V4L2_COLORSPACE_SMPTE170M = 1,
3833 V4L2_COLORSPACE_SMPTE240M = 2,
3834 V4L2_COLORSPACE_REC709 = 3,
3835 V4L2_COLORSPACE_BT878 = 4,
3836 V4L2_COLORSPACE_470_SYSTEM_M = 5,
3837 V4L2_COLORSPACE_470_SYSTEM_BG = 6,
3838 V4L2_COLORSPACE_JPEG = 7,
3839 V4L2_COLORSPACE_SRGB = 8
3840} ;
3841#line 1710
3842enum v4l2_priority {
3843 V4L2_PRIORITY_UNSET = 0,
3844 V4L2_PRIORITY_BACKGROUND = 1,
3845 V4L2_PRIORITY_INTERACTIVE = 2,
3846 V4L2_PRIORITY_RECORD = 3,
3847 V4L2_PRIORITY_DEFAULT = 2
3848} ;
3849#line 1718 "include/linux/usb.h"
3850struct v4l2_rect {
3851 __s32 left ;
3852 __s32 top ;
3853 __s32 width ;
3854 __s32 height ;
3855};
3856#line 232 "include/linux/videodev2.h"
3857struct v4l2_fract {
3858 __u32 numerator ;
3859 __u32 denominator ;
3860};
3861#line 258 "include/linux/videodev2.h"
3862struct v4l2_pix_format {
3863 __u32 width ;
3864 __u32 height ;
3865 __u32 pixelformat ;
3866 enum v4l2_field field ;
3867 __u32 bytesperline ;
3868 __u32 sizeimage ;
3869 enum v4l2_colorspace colorspace ;
3870 __u32 priv ;
3871};
3872#line 447 "include/linux/videodev2.h"
3873struct v4l2_frmsize_discrete {
3874 __u32 width ;
3875 __u32 height ;
3876};
3877#line 460 "include/linux/videodev2.h"
3878struct v4l2_frmsize_stepwise {
3879 __u32 min_width ;
3880 __u32 max_width ;
3881 __u32 step_width ;
3882 __u32 min_height ;
3883 __u32 max_height ;
3884 __u32 step_height ;
3885};
3886#line 469 "include/linux/videodev2.h"
3887union __anonunion_ldv_23973_174 {
3888 struct v4l2_frmsize_discrete discrete ;
3889 struct v4l2_frmsize_stepwise stepwise ;
3890};
3891#line 469 "include/linux/videodev2.h"
3892struct v4l2_frmsizeenum {
3893 __u32 index ;
3894 __u32 pixel_format ;
3895 __u32 type ;
3896 union __anonunion_ldv_23973_174 ldv_23973 ;
3897 __u32 reserved[2U] ;
3898};
3899#line 488 "include/linux/videodev2.h"
3900struct v4l2_frmival_stepwise {
3901 struct v4l2_fract min ;
3902 struct v4l2_fract max ;
3903 struct v4l2_fract step ;
3904};
3905#line 497 "include/linux/videodev2.h"
3906union __anonunion_ldv_23992_175 {
3907 struct v4l2_fract discrete ;
3908 struct v4l2_frmival_stepwise stepwise ;
3909};
3910#line 497 "include/linux/videodev2.h"
3911struct v4l2_frmivalenum {
3912 __u32 index ;
3913 __u32 pixel_format ;
3914 __u32 width ;
3915 __u32 height ;
3916 __u32 type ;
3917 union __anonunion_ldv_23992_175 ldv_23992 ;
3918 __u32 reserved[2U] ;
3919};
3920#line 658 "include/linux/videodev2.h"
3921struct v4l2_framebuffer {
3922 __u32 capability ;
3923 __u32 flags ;
3924 void *base ;
3925 struct v4l2_pix_format fmt ;
3926};
3927#line 718 "include/linux/videodev2.h"
3928struct v4l2_captureparm {
3929 __u32 capability ;
3930 __u32 capturemode ;
3931 struct v4l2_fract timeperframe ;
3932 __u32 extendedmode ;
3933 __u32 readbuffers ;
3934 __u32 reserved[4U] ;
3935};
3936#line 730 "include/linux/videodev2.h"
3937struct v4l2_outputparm {
3938 __u32 capability ;
3939 __u32 outputmode ;
3940 struct v4l2_fract timeperframe ;
3941 __u32 extendedmode ;
3942 __u32 writebuffers ;
3943 __u32 reserved[4U] ;
3944};
3945#line 743 "include/linux/videodev2.h"
3946struct v4l2_cropcap {
3947 enum v4l2_buf_type type ;
3948 struct v4l2_rect bounds ;
3949 struct v4l2_rect defrect ;
3950 struct v4l2_fract pixelaspect ;
3951};
3952#line 753 "include/linux/videodev2.h"
3953struct v4l2_crop {
3954 enum v4l2_buf_type type ;
3955 struct v4l2_rect c ;
3956};
3957#line 805 "include/linux/videodev2.h"
3958typedef __u64 v4l2_std_id;
3959#line 941 "include/linux/videodev2.h"
3960struct v4l2_dv_preset {
3961 __u32 preset ;
3962 __u32 reserved[4U] ;
3963};
3964#line 949 "include/linux/videodev2.h"
3965struct v4l2_dv_enum_preset {
3966 __u32 index ;
3967 __u32 preset ;
3968 __u8 name[32U] ;
3969 __u32 width ;
3970 __u32 height ;
3971 __u32 reserved[4U] ;
3972};
3973#line 961 "include/linux/videodev2.h"
3974struct v4l2_bt_timings {
3975 __u32 width ;
3976 __u32 height ;
3977 __u32 interlaced ;
3978 __u32 polarities ;
3979 __u64 pixelclock ;
3980 __u32 hfrontporch ;
3981 __u32 hsync ;
3982 __u32 hbackporch ;
3983 __u32 vfrontporch ;
3984 __u32 vsync ;
3985 __u32 vbackporch ;
3986 __u32 il_vfrontporch ;
3987 __u32 il_vsync ;
3988 __u32 il_vbackporch ;
3989 __u32 reserved[16U] ;
3990};
3991#line 1013 "include/linux/videodev2.h"
3992union __anonunion_ldv_24125_178 {
3993 struct v4l2_bt_timings bt ;
3994 __u32 reserved[32U] ;
3995};
3996#line 1013 "include/linux/videodev2.h"
3997struct v4l2_dv_timings {
3998 __u32 type ;
3999 union __anonunion_ldv_24125_178 ldv_24125 ;
4000};
4001#line 1096 "include/linux/videodev2.h"
4002struct v4l2_control {
4003 __u32 id ;
4004 __s32 value ;
4005};
4006#line 1113 "include/linux/videodev2.h"
4007union __anonunion_ldv_24156_179 {
4008 __s32 value ;
4009 __s64 value64 ;
4010 char *string ;
4011};
4012#line 1113 "include/linux/videodev2.h"
4013struct v4l2_ext_control {
4014 __u32 id ;
4015 __u32 size ;
4016 __u32 reserved2[1U] ;
4017 union __anonunion_ldv_24156_179 ldv_24156 ;
4018};
4019#line 1124 "include/linux/videodev2.h"
4020struct v4l2_ext_controls {
4021 __u32 ctrl_class ;
4022 __u32 count ;
4023 __u32 error_idx ;
4024 __u32 reserved[2U] ;
4025 struct v4l2_ext_control *controls ;
4026};
4027#line 1132
4028enum v4l2_ctrl_type {
4029 V4L2_CTRL_TYPE_INTEGER = 1,
4030 V4L2_CTRL_TYPE_BOOLEAN = 2,
4031 V4L2_CTRL_TYPE_MENU = 3,
4032 V4L2_CTRL_TYPE_BUTTON = 4,
4033 V4L2_CTRL_TYPE_INTEGER64 = 5,
4034 V4L2_CTRL_TYPE_CTRL_CLASS = 6,
4035 V4L2_CTRL_TYPE_STRING = 7,
4036 V4L2_CTRL_TYPE_BITMASK = 8
4037} ;
4038#line 1143 "include/linux/videodev2.h"
4039struct v4l2_queryctrl {
4040 __u32 id ;
4041 enum v4l2_ctrl_type type ;
4042 __u8 name[32U] ;
4043 __s32 minimum ;
4044 __s32 maximum ;
4045 __s32 step ;
4046 __s32 default_value ;
4047 __u32 flags ;
4048 __u32 reserved[2U] ;
4049};
4050#line 1168 "include/linux/videodev2.h"
4051struct v4l2_querymenu {
4052 __u32 id ;
4053 __u32 index ;
4054 __u8 name[32U] ;
4055 __u32 reserved ;
4056};
4057#line 1196
4058enum v4l2_mpeg_stream_type {
4059 V4L2_MPEG_STREAM_TYPE_MPEG2_PS = 0,
4060 V4L2_MPEG_STREAM_TYPE_MPEG2_TS = 1,
4061 V4L2_MPEG_STREAM_TYPE_MPEG1_SS = 2,
4062 V4L2_MPEG_STREAM_TYPE_MPEG2_DVD = 3,
4063 V4L2_MPEG_STREAM_TYPE_MPEG1_VCD = 4,
4064 V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD = 5
4065} ;
4066#line 1205
4067enum v4l2_mpeg_stream_vbi_fmt {
4068 V4L2_MPEG_STREAM_VBI_FMT_NONE = 0,
4069 V4L2_MPEG_STREAM_VBI_FMT_IVTV = 1
4070} ;
4071#line 1210
4072enum v4l2_mpeg_audio_sampling_freq {
4073 V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100 = 0,
4074 V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000 = 1,
4075 V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000 = 2
4076} ;
4077#line 1216
4078enum v4l2_mpeg_audio_encoding {
4079 V4L2_MPEG_AUDIO_ENCODING_LAYER_1 = 0,
4080 V4L2_MPEG_AUDIO_ENCODING_LAYER_2 = 1,
4081 V4L2_MPEG_AUDIO_ENCODING_LAYER_3 = 2,
4082 V4L2_MPEG_AUDIO_ENCODING_AAC = 3,
4083 V4L2_MPEG_AUDIO_ENCODING_AC3 = 4
4084} ;
4085#line 1241
4086enum v4l2_mpeg_audio_l2_bitrate {
4087 V4L2_MPEG_AUDIO_L2_BITRATE_32K = 0,
4088 V4L2_MPEG_AUDIO_L2_BITRATE_48K = 1,
4089 V4L2_MPEG_AUDIO_L2_BITRATE_56K = 2,
4090 V4L2_MPEG_AUDIO_L2_BITRATE_64K = 3,
4091 V4L2_MPEG_AUDIO_L2_BITRATE_80K = 4,
4092 V4L2_MPEG_AUDIO_L2_BITRATE_96K = 5,
4093 V4L2_MPEG_AUDIO_L2_BITRATE_112K = 6,
4094 V4L2_MPEG_AUDIO_L2_BITRATE_128K = 7,
4095 V4L2_MPEG_AUDIO_L2_BITRATE_160K = 8,
4096 V4L2_MPEG_AUDIO_L2_BITRATE_192K = 9,
4097 V4L2_MPEG_AUDIO_L2_BITRATE_224K = 10,
4098 V4L2_MPEG_AUDIO_L2_BITRATE_256K = 11,
4099 V4L2_MPEG_AUDIO_L2_BITRATE_320K = 12,
4100 V4L2_MPEG_AUDIO_L2_BITRATE_384K = 13
4101} ;
4102#line 1275
4103enum v4l2_mpeg_audio_mode {
4104 V4L2_MPEG_AUDIO_MODE_STEREO = 0,
4105 V4L2_MPEG_AUDIO_MODE_JOINT_STEREO = 1,
4106 V4L2_MPEG_AUDIO_MODE_DUAL = 2,
4107 V4L2_MPEG_AUDIO_MODE_MONO = 3
4108} ;
4109#line 1282
4110enum v4l2_mpeg_audio_mode_extension {
4111 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4 = 0,
4112 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8 = 1,
4113 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12 = 2,
4114 V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16 = 3
4115} ;
4116#line 1289
4117enum v4l2_mpeg_audio_emphasis {
4118 V4L2_MPEG_AUDIO_EMPHASIS_NONE = 0,
4119 V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS = 1,
4120 V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17 = 2
4121} ;
4122#line 1295
4123enum v4l2_mpeg_audio_crc {
4124 V4L2_MPEG_AUDIO_CRC_NONE = 0,
4125 V4L2_MPEG_AUDIO_CRC_CRC16 = 1
4126} ;
4127#line 1300
4128enum v4l2_mpeg_audio_ac3_bitrate {
4129 V4L2_MPEG_AUDIO_AC3_BITRATE_32K = 0,
4130 V4L2_MPEG_AUDIO_AC3_BITRATE_40K = 1,
4131 V4L2_MPEG_AUDIO_AC3_BITRATE_48K = 2,
4132 V4L2_MPEG_AUDIO_AC3_BITRATE_56K = 3,
4133 V4L2_MPEG_AUDIO_AC3_BITRATE_64K = 4,
4134 V4L2_MPEG_AUDIO_AC3_BITRATE_80K = 5,
4135 V4L2_MPEG_AUDIO_AC3_BITRATE_96K = 6,
4136 V4L2_MPEG_AUDIO_AC3_BITRATE_112K = 7,
4137 V4L2_MPEG_AUDIO_AC3_BITRATE_128K = 8,
4138 V4L2_MPEG_AUDIO_AC3_BITRATE_160K = 9,
4139 V4L2_MPEG_AUDIO_AC3_BITRATE_192K = 10,
4140 V4L2_MPEG_AUDIO_AC3_BITRATE_224K = 11,
4141 V4L2_MPEG_AUDIO_AC3_BITRATE_256K = 12,
4142 V4L2_MPEG_AUDIO_AC3_BITRATE_320K = 13,
4143 V4L2_MPEG_AUDIO_AC3_BITRATE_384K = 14,
4144 V4L2_MPEG_AUDIO_AC3_BITRATE_448K = 15,
4145 V4L2_MPEG_AUDIO_AC3_BITRATE_512K = 16,
4146 V4L2_MPEG_AUDIO_AC3_BITRATE_576K = 17,
4147 V4L2_MPEG_AUDIO_AC3_BITRATE_640K = 18
4148} ;
4149#line 1331
4150enum v4l2_mpeg_video_encoding {
4151 V4L2_MPEG_VIDEO_ENCODING_MPEG_1 = 0,
4152 V4L2_MPEG_VIDEO_ENCODING_MPEG_2 = 1,
4153 V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC = 2
4154} ;
4155#line 1337
4156enum v4l2_mpeg_video_aspect {
4157 V4L2_MPEG_VIDEO_ASPECT_1x1 = 0,
4158 V4L2_MPEG_VIDEO_ASPECT_4x3 = 1,
4159 V4L2_MPEG_VIDEO_ASPECT_16x9 = 2,
4160 V4L2_MPEG_VIDEO_ASPECT_221x100 = 3
4161} ;
4162#line 1344
4163enum v4l2_mpeg_video_bitrate_mode {
4164 V4L2_MPEG_VIDEO_BITRATE_MODE_VBR = 0,
4165 V4L2_MPEG_VIDEO_BITRATE_MODE_CBR = 1
4166} ;
4167#line 1450
4168enum v4l2_mpeg_cx2341x_video_spatial_filter_mode {
4169 V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL = 0,
4170 V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO = 1
4171} ;
4172#line 1455
4173enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type {
4174 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF = 0,
4175 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR = 1,
4176 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT = 2,
4177 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE = 3,
4178 V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE = 4
4179} ;
4180#line 1463
4181enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type {
4182 V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF = 0,
4183 V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR = 1
4184} ;
4185#line 1468
4186enum v4l2_mpeg_cx2341x_video_temporal_filter_mode {
4187 V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL = 0,
4188 V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO = 1
4189} ;
4190#line 1473
4191enum v4l2_mpeg_cx2341x_video_median_filter_type {
4192 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF = 0,
4193 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR = 1,
4194 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT = 2,
4195 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT = 3,
4196 V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG = 4
4197} ;
4198#line 1526 "include/linux/videodev2.h"
4199struct v4l2_tuner {
4200 __u32 index ;
4201 __u8 name[32U] ;
4202 enum v4l2_tuner_type type ;
4203 __u32 capability ;
4204 __u32 rangelow ;
4205 __u32 rangehigh ;
4206 __u32 rxsubchans ;
4207 __u32 audmode ;
4208 __s32 signal ;
4209 __s32 afc ;
4210 __u32 reserved[4U] ;
4211};
4212#line 1801 "include/linux/videodev2.h"
4213struct v4l2_modulator {
4214 __u32 index ;
4215 __u8 name[32U] ;
4216 __u32 capability ;
4217 __u32 rangelow ;
4218 __u32 rangehigh ;
4219 __u32 txsubchans ;
4220 __u32 reserved[4U] ;
4221};
4222#line 1811 "include/linux/videodev2.h"
4223struct v4l2_frequency {
4224 __u32 tuner ;
4225 enum v4l2_tuner_type type ;
4226 __u32 frequency ;
4227 __u32 reserved[8U] ;
4228};
4229#line 1996 "include/linux/videodev2.h"
4230struct v4l2_vbi_format {
4231 __u32 sampling_rate ;
4232 __u32 offset ;
4233 __u32 samples_per_line ;
4234 __u32 sample_format ;
4235 __s32 start[2U] ;
4236 __u32 count[2U] ;
4237 __u32 flags ;
4238 __u32 reserved[2U] ;
4239};
4240#line 2016 "include/linux/videodev2.h"
4241struct v4l2_sliced_vbi_format {
4242 __u16 service_set ;
4243 __u16 service_lines[2U][24U] ;
4244 __u32 io_size ;
4245 __u32 reserved[2U] ;
4246};
4247#line 2038 "include/linux/videodev2.h"
4248struct v4l2_sliced_vbi_cap {
4249 __u16 service_set ;
4250 __u16 service_lines[2U][24U] ;
4251 enum v4l2_buf_type type ;
4252 __u32 reserved[3U] ;
4253};
4254#line 2062 "include/linux/videodev2.h"
4255struct v4l2_sliced_vbi_data {
4256 __u32 id ;
4257 __u32 field ;
4258 __u32 line ;
4259 __u32 reserved ;
4260 __u8 data[48U] ;
4261};
4262#line 2178 "include/linux/videodev2.h"
4263union __anonunion_parm_188 {
4264 struct v4l2_captureparm capture ;
4265 struct v4l2_outputparm output ;
4266 __u8 raw_data[200U] ;
4267};
4268#line 2178 "include/linux/videodev2.h"
4269struct v4l2_streamparm {
4270 enum v4l2_buf_type type ;
4271 union __anonunion_parm_188 parm ;
4272};
4273#line 2243 "include/linux/videodev2.h"
4274struct v4l2_event_subscription {
4275 __u32 type ;
4276 __u32 id ;
4277 __u32 flags ;
4278 __u32 reserved[5U] ;
4279};
4280#line 2253 "include/linux/videodev2.h"
4281union __anonunion_ldv_24649_191 {
4282 __u32 addr ;
4283 char name[32U] ;
4284};
4285#line 2253 "include/linux/videodev2.h"
4286struct v4l2_dbg_match {
4287 __u32 type ;
4288 union __anonunion_ldv_24649_191 ldv_24649 ;
4289};
4290#line 2275 "include/linux/videodev2.h"
4291struct v4l2_dbg_register {
4292 struct v4l2_dbg_match match ;
4293 __u32 size ;
4294 __u64 reg ;
4295 __u64 val ;
4296};
4297#line 2282 "include/linux/videodev2.h"
4298struct v4l2_dbg_chip_ident {
4299 struct v4l2_dbg_match match ;
4300 __u32 ident ;
4301 __u32 revision ;
4302};
4303#line 28 "include/linux/of.h"
4304typedef u32 phandle;
4305#line 30 "include/linux/of.h"
4306struct property {
4307 char *name ;
4308 int length ;
4309 void *value ;
4310 struct property *next ;
4311 unsigned long _flags ;
4312 unsigned int unique_id ;
4313};
4314#line 39 "include/linux/of.h"
4315struct device_node {
4316 char const *name ;
4317 char const *type ;
4318 phandle phandle ;
4319 char *full_name ;
4320 struct property *properties ;
4321 struct property *deadprops ;
4322 struct device_node *parent ;
4323 struct device_node *child ;
4324 struct device_node *sibling ;
4325 struct device_node *next ;
4326 struct device_node *allnext ;
4327 struct proc_dir_entry *pde ;
4328 struct kref kref ;
4329 unsigned long _flags ;
4330 void *data ;
4331};
4332#line 41 "include/linux/i2c.h"
4333struct i2c_msg;
4334#line 41
4335struct i2c_msg;
4336#line 42
4337struct i2c_algorithm;
4338#line 42
4339struct i2c_algorithm;
4340#line 43
4341struct i2c_adapter;
4342#line 43
4343struct i2c_adapter;
4344#line 44
4345struct i2c_client;
4346#line 44
4347struct i2c_client;
4348#line 45
4349struct i2c_driver;
4350#line 45
4351struct i2c_driver;
4352#line 46
4353union i2c_smbus_data;
4354#line 46
4355union i2c_smbus_data;
4356#line 47
4357struct i2c_board_info;
4358#line 47
4359struct i2c_board_info;
4360#line 119 "include/linux/i2c.h"
4361struct i2c_driver {
4362 unsigned int class ;
4363 int (*attach_adapter)(struct i2c_adapter * ) ;
4364 int (*detach_adapter)(struct i2c_adapter * ) ;
4365 int (*probe)(struct i2c_client * , struct i2c_device_id const * ) ;
4366 int (*remove)(struct i2c_client * ) ;
4367 void (*shutdown)(struct i2c_client * ) ;
4368 int (*suspend)(struct i2c_client * , pm_message_t ) ;
4369 int (*resume)(struct i2c_client * ) ;
4370 void (*alert)(struct i2c_client * , unsigned int ) ;
4371 int (*command)(struct i2c_client * , unsigned int , void * ) ;
4372 struct device_driver driver ;
4373 struct i2c_device_id const *id_table ;
4374 int (*detect)(struct i2c_client * , struct i2c_board_info * ) ;
4375 unsigned short const *address_list ;
4376 struct list_head clients ;
4377};
4378#line 200 "include/linux/i2c.h"
4379struct i2c_client {
4380 unsigned short flags ;
4381 unsigned short addr ;
4382 char name[20U] ;
4383 struct i2c_adapter *adapter ;
4384 struct i2c_driver *driver ;
4385 struct device dev ;
4386 int irq ;
4387 struct list_head detected ;
4388};
4389#line 251 "include/linux/i2c.h"
4390struct i2c_board_info {
4391 char type[20U] ;
4392 unsigned short flags ;
4393 unsigned short addr ;
4394 void *platform_data ;
4395 struct dev_archdata *archdata ;
4396 struct device_node *of_node ;
4397 int irq ;
4398};
4399#line 336 "include/linux/i2c.h"
4400struct i2c_algorithm {
4401 int (*master_xfer)(struct i2c_adapter * , struct i2c_msg * , int ) ;
4402 int (*smbus_xfer)(struct i2c_adapter * , u16 , unsigned short , char , u8 ,
4403 int , union i2c_smbus_data * ) ;
4404 u32 (*functionality)(struct i2c_adapter * ) ;
4405};
4406#line 368 "include/linux/i2c.h"
4407struct i2c_adapter {
4408 struct module *owner ;
4409 unsigned int class ;
4410 struct i2c_algorithm const *algo ;
4411 void *algo_data ;
4412 struct rt_mutex bus_lock ;
4413 int timeout ;
4414 int retries ;
4415 struct device dev ;
4416 int nr ;
4417 char name[48U] ;
4418 struct completion dev_released ;
4419 struct mutex userspace_clients_lock ;
4420 struct list_head userspace_clients ;
4421};
4422#line 486 "include/linux/i2c.h"
4423struct i2c_msg {
4424 __u16 addr ;
4425 __u16 flags ;
4426 __u16 len ;
4427 __u8 *buf ;
4428};
4429#line 551 "include/linux/i2c.h"
4430union i2c_smbus_data {
4431 __u8 byte ;
4432 __u16 word ;
4433 __u8 block[34U] ;
4434};
4435#line 601 "include/linux/i2c.h"
4436struct i2c_algo_bit_data {
4437 void *data ;
4438 void (*setsda)(void * , int ) ;
4439 void (*setscl)(void * , int ) ;
4440 int (*getsda)(void * ) ;
4441 int (*getscl)(void * ) ;
4442 int (*pre_xfer)(struct i2c_adapter * ) ;
4443 void (*post_xfer)(struct i2c_adapter * ) ;
4444 int udelay ;
4445 int timeout ;
4446};
4447#line 54 "include/linux/i2c-algo-bit.h"
4448struct v4l2_ctrl_handler;
4449#line 54
4450struct v4l2_ctrl_handler;
4451#line 55
4452struct v4l2_ctrl_helper;
4453#line 55
4454struct v4l2_ctrl_helper;
4455#line 56
4456struct v4l2_ctrl;
4457#line 56
4458struct v4l2_ctrl;
4459#line 57
4460struct video_device;
4461#line 57
4462struct video_device;
4463#line 58
4464struct v4l2_subdev;
4465#line 58
4466struct v4l2_subdev;
4467#line 60
4468struct v4l2_fh;
4469#line 60
4470struct v4l2_fh;
4471#line 61 "include/linux/i2c-algo-bit.h"
4472struct v4l2_ctrl_ops {
4473 int (*g_volatile_ctrl)(struct v4l2_ctrl * ) ;
4474 int (*try_ctrl)(struct v4l2_ctrl * ) ;
4475 int (*s_ctrl)(struct v4l2_ctrl * ) ;
4476};
4477#line 54 "include/media/v4l2-ctrls.h"
4478union __anonunion_ldv_25078_192 {
4479 u32 step ;
4480 u32 menu_skip_mask ;
4481};
4482#line 54 "include/media/v4l2-ctrls.h"
4483union __anonunion_cur_193 {
4484 s32 val ;
4485 s64 val64 ;
4486 char *string ;
4487};
4488#line 54 "include/media/v4l2-ctrls.h"
4489union __anonunion_ldv_25090_194 {
4490 s32 val ;
4491 s64 val64 ;
4492 char *string ;
4493};
4494#line 54 "include/media/v4l2-ctrls.h"
4495struct v4l2_ctrl {
4496 struct list_head node ;
4497 struct list_head ev_subs ;
4498 struct v4l2_ctrl_handler *handler ;
4499 struct v4l2_ctrl **cluster ;
4500 unsigned int ncontrols ;
4501 unsigned char done : 1 ;
4502 unsigned char is_new : 1 ;
4503 unsigned char is_private : 1 ;
4504 unsigned char is_auto : 1 ;
4505 unsigned char has_volatiles : 1 ;
4506 unsigned char manual_mode_value ;
4507 struct v4l2_ctrl_ops const *ops ;
4508 u32 id ;
4509 char const *name ;
4510 enum v4l2_ctrl_type type ;
4511 s32 minimum ;
4512 s32 maximum ;
4513 s32 default_value ;
4514 union __anonunion_ldv_25078_192 ldv_25078 ;
4515 char const * const *qmenu ;
4516 unsigned long flags ;
4517 union __anonunion_cur_193 cur ;
4518 union __anonunion_ldv_25090_194 ldv_25090 ;
4519 void *priv ;
4520};
4521#line 146 "include/media/v4l2-ctrls.h"
4522struct v4l2_ctrl_ref {
4523 struct list_head node ;
4524 struct v4l2_ctrl_ref *next ;
4525 struct v4l2_ctrl *ctrl ;
4526 struct v4l2_ctrl_helper *helper ;
4527};
4528#line 163 "include/media/v4l2-ctrls.h"
4529struct v4l2_ctrl_handler {
4530 struct mutex lock ;
4531 struct list_head ctrls ;
4532 struct list_head ctrl_refs ;
4533 struct v4l2_ctrl_ref *cached ;
4534 struct v4l2_ctrl_ref **buckets ;
4535 u16 nr_of_buckets ;
4536 int error ;
4537};
4538#line 527
4539enum cx2341x_port {
4540 CX2341X_PORT_MEMORY = 0,
4541 CX2341X_PORT_STREAMING = 1,
4542 CX2341X_PORT_SERIAL = 2
4543} ;
4544#line 539 "include/media/v4l2-ctrls.h"
4545struct cx2341x_mpeg_params {
4546 u32 capabilities ;
4547 enum cx2341x_port port ;
4548 u16 width ;
4549 u16 height ;
4550 u16 is_50hz ;
4551 enum v4l2_mpeg_stream_type stream_type ;
4552 enum v4l2_mpeg_stream_vbi_fmt stream_vbi_fmt ;
4553 u16 stream_insert_nav_packets ;
4554 enum v4l2_mpeg_audio_sampling_freq audio_sampling_freq ;
4555 enum v4l2_mpeg_audio_encoding audio_encoding ;
4556 enum v4l2_mpeg_audio_l2_bitrate audio_l2_bitrate ;
4557 enum v4l2_mpeg_audio_ac3_bitrate audio_ac3_bitrate ;
4558 enum v4l2_mpeg_audio_mode audio_mode ;
4559 enum v4l2_mpeg_audio_mode_extension audio_mode_extension ;
4560 enum v4l2_mpeg_audio_emphasis audio_emphasis ;
4561 enum v4l2_mpeg_audio_crc audio_crc ;
4562 u32 audio_properties ;
4563 u16 audio_mute ;
4564 enum v4l2_mpeg_video_encoding video_encoding ;
4565 enum v4l2_mpeg_video_aspect video_aspect ;
4566 u16 video_b_frames ;
4567 u16 video_gop_size ;
4568 u16 video_gop_closure ;
4569 enum v4l2_mpeg_video_bitrate_mode video_bitrate_mode ;
4570 u32 video_bitrate ;
4571 u32 video_bitrate_peak ;
4572 u16 video_temporal_decimation ;
4573 u16 video_mute ;
4574 u32 video_mute_yuv ;
4575 enum v4l2_mpeg_cx2341x_video_spatial_filter_mode video_spatial_filter_mode ;
4576 u16 video_spatial_filter ;
4577 enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type video_luma_spatial_filter_type ;
4578 enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type video_chroma_spatial_filter_type ;
4579 enum v4l2_mpeg_cx2341x_video_temporal_filter_mode video_temporal_filter_mode ;
4580 u16 video_temporal_filter ;
4581 enum v4l2_mpeg_cx2341x_video_median_filter_type video_median_filter_type ;
4582 u16 video_luma_median_filter_top ;
4583 u16 video_luma_median_filter_bottom ;
4584 u16 video_chroma_median_filter_top ;
4585 u16 video_chroma_median_filter_bottom ;
4586};
4587#line 34 "include/linux/poll.h"
4588struct poll_table_struct {
4589 void (*_qproc)(struct file * , wait_queue_head_t * , struct poll_table_struct * ) ;
4590 unsigned long _key ;
4591};
4592#line 165
4593struct videobuf_buffer;
4594#line 165
4595struct videobuf_buffer;
4596#line 166
4597struct videobuf_queue;
4598#line 166
4599struct videobuf_queue;
4600#line 167 "include/linux/poll.h"
4601struct videobuf_mapping {
4602 unsigned int count ;
4603 struct videobuf_queue *q ;
4604};
4605#line 55 "include/media/videobuf-core.h"
4606enum videobuf_state {
4607 VIDEOBUF_NEEDS_INIT = 0,
4608 VIDEOBUF_PREPARED = 1,
4609 VIDEOBUF_QUEUED = 2,
4610 VIDEOBUF_ACTIVE = 3,
4611 VIDEOBUF_DONE = 4,
4612 VIDEOBUF_ERROR = 5,
4613 VIDEOBUF_IDLE = 6
4614} ;
4615#line 65 "include/media/videobuf-core.h"
4616struct videobuf_buffer {
4617 unsigned int i ;
4618 u32 magic ;
4619 unsigned int width ;
4620 unsigned int height ;
4621 unsigned int bytesperline ;
4622 unsigned long size ;
4623 unsigned int input ;
4624 enum v4l2_field field ;
4625 enum videobuf_state state ;
4626 struct list_head stream ;
4627 struct list_head queue ;
4628 wait_queue_head_t done ;
4629 unsigned int field_count ;
4630 struct timeval ts ;
4631 enum v4l2_memory memory ;
4632 size_t bsize ;
4633 size_t boff ;
4634 unsigned long baddr ;
4635 struct videobuf_mapping *map ;
4636 int privsize ;
4637 void *priv ;
4638};
4639#line 105 "include/media/videobuf-core.h"
4640struct videobuf_queue_ops {
4641 int (*buf_setup)(struct videobuf_queue * , unsigned int * , unsigned int * ) ;
4642 int (*buf_prepare)(struct videobuf_queue * , struct videobuf_buffer * , enum v4l2_field ) ;
4643 void (*buf_queue)(struct videobuf_queue * , struct videobuf_buffer * ) ;
4644 void (*buf_release)(struct videobuf_queue * , struct videobuf_buffer * ) ;
4645};
4646#line 116 "include/media/videobuf-core.h"
4647struct videobuf_qtype_ops {
4648 u32 magic ;
4649 struct videobuf_buffer *(*alloc_vb)(size_t ) ;
4650 void *(*vaddr)(struct videobuf_buffer * ) ;
4651 int (*iolock)(struct videobuf_queue * , struct videobuf_buffer * , struct v4l2_framebuffer * ) ;
4652 int (*sync)(struct videobuf_queue * , struct videobuf_buffer * ) ;
4653 int (*mmap_mapper)(struct videobuf_queue * , struct videobuf_buffer * , struct vm_area_struct * ) ;
4654};
4655#line 133 "include/media/videobuf-core.h"
4656struct videobuf_queue {
4657 struct mutex vb_lock ;
4658 struct mutex *ext_lock ;
4659 spinlock_t *irqlock ;
4660 struct device *dev ;
4661 wait_queue_head_t wait ;
4662 enum v4l2_buf_type type ;
4663 unsigned int inputs ;
4664 unsigned int msize ;
4665 enum v4l2_field field ;
4666 enum v4l2_field last ;
4667 struct videobuf_buffer *bufs[32U] ;
4668 struct videobuf_queue_ops const *ops ;
4669 struct videobuf_qtype_ops *int_ops ;
4670 unsigned char streaming : 1 ;
4671 unsigned char reading : 1 ;
4672 struct list_head stream ;
4673 unsigned int read_off ;
4674 struct videobuf_buffer *read_buf ;
4675 void *priv_data ;
4676};
4677#line 45 "include/media/videobuf-vmalloc.h"
4678struct cdev {
4679 struct kobject kobj ;
4680 struct module *owner ;
4681 struct file_operations const *ops ;
4682 struct list_head list ;
4683 dev_t dev ;
4684 unsigned int count ;
4685};
4686#line 34 "include/linux/cdev.h"
4687struct media_file_operations {
4688 struct module *owner ;
4689 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
4690 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
4691 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
4692 long (*ioctl)(struct file * , unsigned int , unsigned long ) ;
4693 int (*open)(struct file * ) ;
4694 int (*release)(struct file * ) ;
4695};
4696#line 52 "include/media/media-devnode.h"
4697struct media_devnode {
4698 struct media_file_operations const *fops ;
4699 struct device dev ;
4700 struct cdev cdev ;
4701 struct device *parent ;
4702 int minor ;
4703 unsigned long flags ;
4704 void (*release)(struct media_devnode * ) ;
4705};
4706#line 126 "include/linux/media.h"
4707struct media_pipeline {
4708
4709};
4710#line 129
4711struct media_pad;
4712#line 129 "include/linux/media.h"
4713struct media_link {
4714 struct media_pad *source ;
4715 struct media_pad *sink ;
4716 struct media_link *reverse ;
4717 unsigned long flags ;
4718};
4719#line 38 "include/media/media-entity.h"
4720struct media_entity;
4721#line 38 "include/media/media-entity.h"
4722struct media_pad {
4723 struct media_entity *entity ;
4724 u16 index ;
4725 unsigned long flags ;
4726};
4727#line 44 "include/media/media-entity.h"
4728struct media_entity_operations {
4729 int (*link_setup)(struct media_entity * , struct media_pad const * , struct media_pad const * ,
4730 u32 ) ;
4731};
4732#line 48
4733struct media_device;
4734#line 48 "include/media/media-entity.h"
4735struct __anonstruct_v4l_209 {
4736 u32 major ;
4737 u32 minor ;
4738};
4739#line 48 "include/media/media-entity.h"
4740struct __anonstruct_fb_210 {
4741 u32 major ;
4742 u32 minor ;
4743};
4744#line 48 "include/media/media-entity.h"
4745struct __anonstruct_alsa_211 {
4746 u32 card ;
4747 u32 device ;
4748 u32 subdevice ;
4749};
4750#line 48 "include/media/media-entity.h"
4751union __anonunion_info_208 {
4752 struct __anonstruct_v4l_209 v4l ;
4753 struct __anonstruct_fb_210 fb ;
4754 struct __anonstruct_alsa_211 alsa ;
4755 int dvb ;
4756};
4757#line 48 "include/media/media-entity.h"
4758struct media_entity {
4759 struct list_head list ;
4760 struct media_device *parent ;
4761 u32 id ;
4762 char const *name ;
4763 u32 type ;
4764 u32 revision ;
4765 unsigned long flags ;
4766 u32 group_id ;
4767 u16 num_pads ;
4768 u16 num_links ;
4769 u16 num_backlinks ;
4770 u16 max_links ;
4771 struct media_pad *pads ;
4772 struct media_link *links ;
4773 struct media_entity_operations const *ops ;
4774 int stream_count ;
4775 int use_count ;
4776 struct media_pipeline *pipe ;
4777 union __anonunion_info_208 info ;
4778};
4779#line 146 "include/media/media-entity.h"
4780struct media_device {
4781 struct device *dev ;
4782 struct media_devnode devnode ;
4783 char model[32U] ;
4784 char serial[40U] ;
4785 char bus_info[32U] ;
4786 u32 hw_revision ;
4787 u32 driver_version ;
4788 u32 entity_id ;
4789 struct list_head entities ;
4790 spinlock_t lock ;
4791 struct mutex graph_mutex ;
4792 int (*link_notify)(struct media_pad * , struct media_pad * , u32 ) ;
4793};
4794#line 91 "include/media/media-device.h"
4795enum v4l2_mbus_pixelcode {
4796 V4L2_MBUS_FMT_FIXED = 1,
4797 V4L2_MBUS_FMT_RGB444_2X8_PADHI_BE = 4097,
4798 V4L2_MBUS_FMT_RGB444_2X8_PADHI_LE = 4098,
4799 V4L2_MBUS_FMT_RGB555_2X8_PADHI_BE = 4099,
4800 V4L2_MBUS_FMT_RGB555_2X8_PADHI_LE = 4100,
4801 V4L2_MBUS_FMT_BGR565_2X8_BE = 4101,
4802 V4L2_MBUS_FMT_BGR565_2X8_LE = 4102,
4803 V4L2_MBUS_FMT_RGB565_2X8_BE = 4103,
4804 V4L2_MBUS_FMT_RGB565_2X8_LE = 4104,
4805 V4L2_MBUS_FMT_Y8_1X8 = 8193,
4806 V4L2_MBUS_FMT_UYVY8_1_5X8 = 8194,
4807 V4L2_MBUS_FMT_VYUY8_1_5X8 = 8195,
4808 V4L2_MBUS_FMT_YUYV8_1_5X8 = 8196,
4809 V4L2_MBUS_FMT_YVYU8_1_5X8 = 8197,
4810 V4L2_MBUS_FMT_UYVY8_2X8 = 8198,
4811 V4L2_MBUS_FMT_VYUY8_2X8 = 8199,
4812 V4L2_MBUS_FMT_YUYV8_2X8 = 8200,
4813 V4L2_MBUS_FMT_YVYU8_2X8 = 8201,
4814 V4L2_MBUS_FMT_Y10_1X10 = 8202,
4815 V4L2_MBUS_FMT_YUYV10_2X10 = 8203,
4816 V4L2_MBUS_FMT_YVYU10_2X10 = 8204,
4817 V4L2_MBUS_FMT_Y12_1X12 = 8211,
4818 V4L2_MBUS_FMT_UYVY8_1X16 = 8207,
4819 V4L2_MBUS_FMT_VYUY8_1X16 = 8208,
4820 V4L2_MBUS_FMT_YUYV8_1X16 = 8209,
4821 V4L2_MBUS_FMT_YVYU8_1X16 = 8210,
4822 V4L2_MBUS_FMT_YUYV10_1X20 = 8205,
4823 V4L2_MBUS_FMT_YVYU10_1X20 = 8206,
4824 V4L2_MBUS_FMT_SBGGR8_1X8 = 12289,
4825 V4L2_MBUS_FMT_SGBRG8_1X8 = 12307,
4826 V4L2_MBUS_FMT_SGRBG8_1X8 = 12290,
4827 V4L2_MBUS_FMT_SRGGB8_1X8 = 12308,
4828 V4L2_MBUS_FMT_SBGGR10_DPCM8_1X8 = 12299,
4829 V4L2_MBUS_FMT_SGBRG10_DPCM8_1X8 = 12300,
4830 V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 = 12297,
4831 V4L2_MBUS_FMT_SRGGB10_DPCM8_1X8 = 12301,
4832 V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_BE = 12291,
4833 V4L2_MBUS_FMT_SBGGR10_2X8_PADHI_LE = 12292,
4834 V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_BE = 12293,
4835 V4L2_MBUS_FMT_SBGGR10_2X8_PADLO_LE = 12294,
4836 V4L2_MBUS_FMT_SBGGR10_1X10 = 12295,
4837 V4L2_MBUS_FMT_SGBRG10_1X10 = 12302,
4838 V4L2_MBUS_FMT_SGRBG10_1X10 = 12298,
4839 V4L2_MBUS_FMT_SRGGB10_1X10 = 12303,
4840 V4L2_MBUS_FMT_SBGGR12_1X12 = 12296,
4841 V4L2_MBUS_FMT_SGBRG12_1X12 = 12304,
4842 V4L2_MBUS_FMT_SGRBG12_1X12 = 12305,
4843 V4L2_MBUS_FMT_SRGGB12_1X12 = 12306,
4844 V4L2_MBUS_FMT_JPEG_1X8 = 16385
4845} ;
4846#line 143 "include/media/media-device.h"
4847struct v4l2_mbus_framefmt {
4848 __u32 width ;
4849 __u32 height ;
4850 __u32 code ;
4851 __u32 field ;
4852 __u32 colorspace ;
4853 __u32 reserved[7U] ;
4854};
4855#line 118 "include/linux/v4l2-mediabus.h"
4856struct v4l2_subdev_format {
4857 __u32 which ;
4858 __u32 pad ;
4859 struct v4l2_mbus_framefmt format ;
4860 __u32 reserved[8U] ;
4861};
4862#line 52 "include/linux/v4l2-subdev.h"
4863struct v4l2_subdev_crop {
4864 __u32 which ;
4865 __u32 pad ;
4866 struct v4l2_rect rect ;
4867 __u32 reserved[8U] ;
4868};
4869#line 65 "include/linux/v4l2-subdev.h"
4870struct v4l2_subdev_mbus_code_enum {
4871 __u32 pad ;
4872 __u32 index ;
4873 __u32 code ;
4874 __u32 reserved[9U] ;
4875};
4876#line 78 "include/linux/v4l2-subdev.h"
4877struct v4l2_subdev_frame_size_enum {
4878 __u32 index ;
4879 __u32 pad ;
4880 __u32 code ;
4881 __u32 min_width ;
4882 __u32 max_width ;
4883 __u32 min_height ;
4884 __u32 max_height ;
4885 __u32 reserved[9U] ;
4886};
4887#line 95 "include/linux/v4l2-subdev.h"
4888struct v4l2_subdev_frame_interval {
4889 __u32 pad ;
4890 struct v4l2_fract interval ;
4891 __u32 reserved[9U] ;
4892};
4893#line 106 "include/linux/v4l2-subdev.h"
4894struct v4l2_subdev_frame_interval_enum {
4895 __u32 index ;
4896 __u32 pad ;
4897 __u32 code ;
4898 __u32 width ;
4899 __u32 height ;
4900 struct v4l2_fract interval ;
4901 __u32 reserved[9U] ;
4902};
4903#line 126
4904struct v4l2_device;
4905#line 126
4906struct v4l2_device;
4907#line 127 "include/linux/v4l2-subdev.h"
4908struct v4l2_prio_state {
4909 atomic_t prios[4U] ;
4910};
4911#line 56 "include/media/v4l2-dev.h"
4912struct v4l2_file_operations {
4913 struct module *owner ;
4914 ssize_t (*read)(struct file * , char * , size_t , loff_t * ) ;
4915 ssize_t (*write)(struct file * , char const * , size_t , loff_t * ) ;
4916 unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
4917 long (*ioctl)(struct file * , unsigned int , unsigned long ) ;
4918 long (*unlocked_ioctl)(struct file * , unsigned int , unsigned long ) ;
4919 long (*compat_ioctl32)(struct file * , unsigned int , unsigned long ) ;
4920 unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
4921 unsigned long , unsigned long ) ;
4922 int (*mmap)(struct file * , struct vm_area_struct * ) ;
4923 int (*open)(struct file * ) ;
4924 int (*release)(struct file * ) ;
4925};
4926#line 74
4927struct v4l2_ioctl_ops;
4928#line 74 "include/media/v4l2-dev.h"
4929struct video_device {
4930 struct media_entity entity ;
4931 struct v4l2_file_operations const *fops ;
4932 struct device dev ;
4933 struct cdev *cdev ;
4934 struct device *parent ;
4935 struct v4l2_device *v4l2_dev ;
4936 struct v4l2_ctrl_handler *ctrl_handler ;
4937 struct v4l2_prio_state *prio ;
4938 char name[32U] ;
4939 int vfl_type ;
4940 int minor ;
4941 u16 num ;
4942 unsigned long flags ;
4943 int index ;
4944 spinlock_t fh_lock ;
4945 struct list_head fh_list ;
4946 int debug ;
4947 v4l2_std_id tvnorms ;
4948 v4l2_std_id current_norm ;
4949 void (*release)(struct video_device * ) ;
4950 struct v4l2_ioctl_ops const *ioctl_ops ;
4951 struct mutex *lock ;
4952};
4953#line 110 "include/media/v4l2-common.h"
4954struct v4l2_subdev_ops;
4955#line 110
4956struct v4l2_subdev_ops;
4957#line 171 "include/media/v4l2-common.h"
4958struct v4l2_priv_tun_config {
4959 int tuner ;
4960 void *priv ;
4961};
4962#line 212 "include/media/v4l2-common.h"
4963struct v4l2_fh {
4964 struct list_head list ;
4965 struct video_device *vdev ;
4966 struct v4l2_ctrl_handler *ctrl_handler ;
4967 enum v4l2_priority prio ;
4968 wait_queue_head_t wait ;
4969 struct list_head subscribed ;
4970 struct list_head available ;
4971 unsigned int navailable ;
4972 u32 sequence ;
4973};
4974#line 100 "include/media/v4l2-fh.h"
4975enum v4l2_mbus_type {
4976 V4L2_MBUS_PARALLEL = 0,
4977 V4L2_MBUS_BT656 = 1,
4978 V4L2_MBUS_CSI2 = 2
4979} ;
4980#line 106 "include/media/v4l2-fh.h"
4981struct v4l2_mbus_config {
4982 enum v4l2_mbus_type type ;
4983 unsigned int flags ;
4984};
4985#line 106 "include/media/v4l2-mediabus.h"
4986struct v4l2_subdev_fh;
4987#line 106
4988struct v4l2_subdev_fh;
4989#line 107
4990struct tuner_setup;
4991#line 107
4992struct tuner_setup;
4993#line 108 "include/media/v4l2-mediabus.h"
4994struct v4l2_decode_vbi_line {
4995 u32 is_second_field ;
4996 u8 *p ;
4997 u32 line ;
4998 u32 type ;
4999};
5000#line 58 "include/media/v4l2-subdev.h"
5001struct v4l2_subdev_io_pin_config {
5002 u32 flags ;
5003 u8 pin ;
5004 u8 function ;
5005 u8 value ;
5006 u8 strength ;
5007};
5008#line 115 "include/media/v4l2-subdev.h"
5009struct v4l2_subdev_core_ops {
5010 int (*g_chip_ident)(struct v4l2_subdev * , struct v4l2_dbg_chip_ident * ) ;
5011 int (*log_status)(struct v4l2_subdev * ) ;
5012 int (*s_io_pin_config)(struct v4l2_subdev * , size_t , struct v4l2_subdev_io_pin_config * ) ;
5013 int (*init)(struct v4l2_subdev * , u32 ) ;
5014 int (*load_fw)(struct v4l2_subdev * ) ;
5015 int (*reset)(struct v4l2_subdev * , u32 ) ;
5016 int (*s_gpio)(struct v4l2_subdev * , u32 ) ;
5017 int (*queryctrl)(struct v4l2_subdev * , struct v4l2_queryctrl * ) ;
5018 int (*g_ctrl)(struct v4l2_subdev * , struct v4l2_control * ) ;
5019 int (*s_ctrl)(struct v4l2_subdev * , struct v4l2_control * ) ;
5020 int (*g_ext_ctrls)(struct v4l2_subdev * , struct v4l2_ext_controls * ) ;
5021 int (*s_ext_ctrls)(struct v4l2_subdev * , struct v4l2_ext_controls * ) ;
5022 int (*try_ext_ctrls)(struct v4l2_subdev * , struct v4l2_ext_controls * ) ;
5023 int (*querymenu)(struct v4l2_subdev * , struct v4l2_querymenu * ) ;
5024 int (*g_std)(struct v4l2_subdev * , v4l2_std_id * ) ;
5025 int (*s_std)(struct v4l2_subdev * , v4l2_std_id ) ;
5026 long (*ioctl)(struct v4l2_subdev * , unsigned int , void * ) ;
5027 int (*g_register)(struct v4l2_subdev * , struct v4l2_dbg_register * ) ;
5028 int (*s_register)(struct v4l2_subdev * , struct v4l2_dbg_register * ) ;
5029 int (*s_power)(struct v4l2_subdev * , int ) ;
5030 int (*interrupt_service_routine)(struct v4l2_subdev * , u32 , bool * ) ;
5031 int (*subscribe_event)(struct v4l2_subdev * , struct v4l2_fh * , struct v4l2_event_subscription * ) ;
5032 int (*unsubscribe_event)(struct v4l2_subdev * , struct v4l2_fh * , struct v4l2_event_subscription * ) ;
5033};
5034#line 175 "include/media/v4l2-subdev.h"
5035struct v4l2_subdev_tuner_ops {
5036 int (*s_radio)(struct v4l2_subdev * ) ;
5037 int (*s_frequency)(struct v4l2_subdev * , struct v4l2_frequency * ) ;
5038 int (*g_frequency)(struct v4l2_subdev * , struct v4l2_frequency * ) ;
5039 int (*g_tuner)(struct v4l2_subdev * , struct v4l2_tuner * ) ;
5040 int (*s_tuner)(struct v4l2_subdev * , struct v4l2_tuner * ) ;
5041 int (*g_modulator)(struct v4l2_subdev * , struct v4l2_modulator * ) ;
5042 int (*s_modulator)(struct v4l2_subdev * , struct v4l2_modulator * ) ;
5043 int (*s_type_addr)(struct v4l2_subdev * , struct tuner_setup * ) ;
5044 int (*s_config)(struct v4l2_subdev * , struct v4l2_priv_tun_config const * ) ;
5045};
5046#line 201 "include/media/v4l2-subdev.h"
5047struct v4l2_subdev_audio_ops {
5048 int (*s_clock_freq)(struct v4l2_subdev * , u32 ) ;
5049 int (*s_i2s_clock_freq)(struct v4l2_subdev * , u32 ) ;
5050 int (*s_routing)(struct v4l2_subdev * , u32 , u32 , u32 ) ;
5051 int (*s_stream)(struct v4l2_subdev * , int ) ;
5052};
5053#line 228 "include/media/v4l2-subdev.h"
5054struct v4l2_subdev_video_ops {
5055 int (*s_routing)(struct v4l2_subdev * , u32 , u32 , u32 ) ;
5056 int (*s_crystal_freq)(struct v4l2_subdev * , u32 , u32 ) ;
5057 int (*s_std_output)(struct v4l2_subdev * , v4l2_std_id ) ;
5058 int (*g_std_output)(struct v4l2_subdev * , v4l2_std_id * ) ;
5059 int (*querystd)(struct v4l2_subdev * , v4l2_std_id * ) ;
5060 int (*g_tvnorms_output)(struct v4l2_subdev * , v4l2_std_id * ) ;
5061 int (*g_input_status)(struct v4l2_subdev * , u32 * ) ;
5062 int (*s_stream)(struct v4l2_subdev * , int ) ;
5063 int (*cropcap)(struct v4l2_subdev * , struct v4l2_cropcap * ) ;
5064 int (*g_crop)(struct v4l2_subdev * , struct v4l2_crop * ) ;
5065 int (*s_crop)(struct v4l2_subdev * , struct v4l2_crop * ) ;
5066 int (*g_parm)(struct v4l2_subdev * , struct v4l2_streamparm * ) ;
5067 int (*s_parm)(struct v4l2_subdev * , struct v4l2_streamparm * ) ;
5068 int (*g_frame_interval)(struct v4l2_subdev * , struct v4l2_subdev_frame_interval * ) ;
5069 int (*s_frame_interval)(struct v4l2_subdev * , struct v4l2_subdev_frame_interval * ) ;
5070 int (*enum_framesizes)(struct v4l2_subdev * , struct v4l2_frmsizeenum * ) ;
5071 int (*enum_frameintervals)(struct v4l2_subdev * , struct v4l2_frmivalenum * ) ;
5072 int (*enum_dv_presets)(struct v4l2_subdev * , struct v4l2_dv_enum_preset * ) ;
5073 int (*s_dv_preset)(struct v4l2_subdev * , struct v4l2_dv_preset * ) ;
5074 int (*g_dv_preset)(struct v4l2_subdev * , struct v4l2_dv_preset * ) ;
5075 int (*query_dv_preset)(struct v4l2_subdev * , struct v4l2_dv_preset * ) ;
5076 int (*s_dv_timings)(struct v4l2_subdev * , struct v4l2_dv_timings * ) ;
5077 int (*g_dv_timings)(struct v4l2_subdev * , struct v4l2_dv_timings * ) ;
5078 int (*enum_mbus_fmt)(struct v4l2_subdev * , unsigned int , enum v4l2_mbus_pixelcode * ) ;
5079 int (*enum_mbus_fsizes)(struct v4l2_subdev * , struct v4l2_frmsizeenum * ) ;
5080 int (*g_mbus_fmt)(struct v4l2_subdev * , struct v4l2_mbus_framefmt * ) ;
5081 int (*try_mbus_fmt)(struct v4l2_subdev * , struct v4l2_mbus_framefmt * ) ;
5082 int (*s_mbus_fmt)(struct v4l2_subdev * , struct v4l2_mbus_framefmt * ) ;
5083 int (*g_mbus_config)(struct v4l2_subdev * , struct v4l2_mbus_config * ) ;
5084 int (*s_mbus_config)(struct v4l2_subdev * , struct v4l2_mbus_config const * ) ;
5085};
5086#line 324 "include/media/v4l2-subdev.h"
5087struct v4l2_subdev_vbi_ops {
5088 int (*decode_vbi_line)(struct v4l2_subdev * , struct v4l2_decode_vbi_line * ) ;
5089 int (*s_vbi_data)(struct v4l2_subdev * , struct v4l2_sliced_vbi_data const * ) ;
5090 int (*g_vbi_data)(struct v4l2_subdev * , struct v4l2_sliced_vbi_data * ) ;
5091 int (*g_sliced_vbi_cap)(struct v4l2_subdev * , struct v4l2_sliced_vbi_cap * ) ;
5092 int (*s_raw_fmt)(struct v4l2_subdev * , struct v4l2_vbi_format * ) ;
5093 int (*g_sliced_fmt)(struct v4l2_subdev * , struct v4l2_sliced_vbi_format * ) ;
5094 int (*s_sliced_fmt)(struct v4l2_subdev * , struct v4l2_sliced_vbi_format * ) ;
5095};
5096#line 364 "include/media/v4l2-subdev.h"
5097struct v4l2_subdev_sensor_ops {
5098 int (*g_skip_top_lines)(struct v4l2_subdev * , u32 * ) ;
5099 int (*g_skip_frames)(struct v4l2_subdev * , u32 * ) ;
5100};
5101#line 379
5102enum v4l2_subdev_ir_mode {
5103 V4L2_SUBDEV_IR_MODE_PULSE_WIDTH = 0
5104} ;
5105#line 383 "include/media/v4l2-subdev.h"
5106struct v4l2_subdev_ir_parameters {
5107 unsigned int bytes_per_data_element ;
5108 enum v4l2_subdev_ir_mode mode ;
5109 bool enable ;
5110 bool interrupt_enable ;
5111 bool shutdown ;
5112 bool modulation ;
5113 u32 max_pulse_width ;
5114 unsigned int carrier_freq ;
5115 unsigned int duty_cycle ;
5116 bool invert_level ;
5117 bool invert_carrier_sense ;
5118 u32 noise_filter_min_width ;
5119 unsigned int carrier_range_lower ;
5120 unsigned int carrier_range_upper ;
5121 u32 resolution ;
5122};
5123#line 431 "include/media/v4l2-subdev.h"
5124struct v4l2_subdev_ir_ops {
5125 int (*rx_read)(struct v4l2_subdev * , u8 * , size_t , ssize_t * ) ;
5126 int (*rx_g_parameters)(struct v4l2_subdev * , struct v4l2_subdev_ir_parameters * ) ;
5127 int (*rx_s_parameters)(struct v4l2_subdev * , struct v4l2_subdev_ir_parameters * ) ;
5128 int (*tx_write)(struct v4l2_subdev * , u8 * , size_t , ssize_t * ) ;
5129 int (*tx_g_parameters)(struct v4l2_subdev * , struct v4l2_subdev_ir_parameters * ) ;
5130 int (*tx_s_parameters)(struct v4l2_subdev * , struct v4l2_subdev_ir_parameters * ) ;
5131};
5132#line 450 "include/media/v4l2-subdev.h"
5133struct v4l2_subdev_pad_ops {
5134 int (*enum_mbus_code)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_mbus_code_enum * ) ;
5135 int (*enum_frame_size)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_frame_size_enum * ) ;
5136 int (*enum_frame_interval)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_frame_interval_enum * ) ;
5137 int (*get_fmt)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_format * ) ;
5138 int (*set_fmt)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_format * ) ;
5139 int (*set_crop)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_crop * ) ;
5140 int (*get_crop)(struct v4l2_subdev * , struct v4l2_subdev_fh * , struct v4l2_subdev_crop * ) ;
5141};
5142#line 469 "include/media/v4l2-subdev.h"
5143struct v4l2_subdev_ops {
5144 struct v4l2_subdev_core_ops const *core ;
5145 struct v4l2_subdev_tuner_ops const *tuner ;
5146 struct v4l2_subdev_audio_ops const *audio ;
5147 struct v4l2_subdev_video_ops const *video ;
5148 struct v4l2_subdev_vbi_ops const *vbi ;
5149 struct v4l2_subdev_ir_ops const *ir ;
5150 struct v4l2_subdev_sensor_ops const *sensor ;
5151 struct v4l2_subdev_pad_ops const *pad ;
5152};
5153#line 481 "include/media/v4l2-subdev.h"
5154struct v4l2_subdev_internal_ops {
5155 int (*registered)(struct v4l2_subdev * ) ;
5156 void (*unregistered)(struct v4l2_subdev * ) ;
5157 int (*open)(struct v4l2_subdev * , struct v4l2_subdev_fh * ) ;
5158 int (*close)(struct v4l2_subdev * , struct v4l2_subdev_fh * ) ;
5159};
5160#line 502 "include/media/v4l2-subdev.h"
5161struct v4l2_subdev {
5162 struct media_entity entity ;
5163 struct list_head list ;
5164 struct module *owner ;
5165 u32 flags ;
5166 struct v4l2_device *v4l2_dev ;
5167 struct v4l2_subdev_ops const *ops ;
5168 struct v4l2_subdev_internal_ops const *internal_ops ;
5169 struct v4l2_ctrl_handler *ctrl_handler ;
5170 char name[32U] ;
5171 u32 grp_id ;
5172 void *dev_priv ;
5173 void *host_priv ;
5174 struct video_device *devnode ;
5175};
5176#line 540 "include/media/v4l2-subdev.h"
5177struct v4l2_subdev_fh {
5178 struct v4l2_fh vfh ;
5179 struct v4l2_mbus_framefmt *try_fmt ;
5180 struct v4l2_rect *try_crop ;
5181};
5182#line 597 "include/media/v4l2-subdev.h"
5183struct v4l2_device {
5184 struct device *dev ;
5185 struct media_device *mdev ;
5186 struct list_head subdevs ;
5187 spinlock_t lock ;
5188 char name[36U] ;
5189 void (*notify)(struct v4l2_subdev * , unsigned int , void * ) ;
5190 struct v4l2_ctrl_handler *ctrl_handler ;
5191 struct v4l2_prio_state prio ;
5192 struct mutex ioctl_lock ;
5193 struct kref ref ;
5194 void (*release)(struct v4l2_device * ) ;
5195};
5196#line 178 "include/linux/mm.h"
5197struct vm_fault {
5198 unsigned int flags ;
5199 unsigned long pgoff ;
5200 void *virtual_address ;
5201 struct page *page ;
5202};
5203#line 195 "include/linux/mm.h"
5204struct vm_operations_struct {
5205 void (*open)(struct vm_area_struct * ) ;
5206 void (*close)(struct vm_area_struct * ) ;
5207 int (*fault)(struct vm_area_struct * , struct vm_fault * ) ;
5208 int (*page_mkwrite)(struct vm_area_struct * , struct vm_fault * ) ;
5209 int (*access)(struct vm_area_struct * , unsigned long , void * , int , int ) ;
5210 int (*set_policy)(struct vm_area_struct * , struct mempolicy * ) ;
5211 struct mempolicy *(*get_policy)(struct vm_area_struct * , unsigned long ) ;
5212 int (*migrate)(struct vm_area_struct * , nodemask_t const * , nodemask_t const * ,
5213 unsigned long ) ;
5214};
5215#line 1631 "include/linux/mm.h"
5216struct scatterlist {
5217 unsigned long sg_magic ;
5218 unsigned long page_link ;
5219 unsigned int offset ;
5220 unsigned int length ;
5221 dma_addr_t dma_address ;
5222 unsigned int dma_length ;
5223};
5224#line 32 "include/linux/input.h"
5225struct input_id {
5226 __u16 bustype ;
5227 __u16 vendor ;
5228 __u16 product ;
5229 __u16 version ;
5230};
5231#line 49 "include/linux/input.h"
5232struct input_absinfo {
5233 __s32 value ;
5234 __s32 minimum ;
5235 __s32 maximum ;
5236 __s32 fuzz ;
5237 __s32 flat ;
5238 __s32 resolution ;
5239};
5240#line 77 "include/linux/input.h"
5241struct input_keymap_entry {
5242 __u8 flags ;
5243 __u8 len ;
5244 __u16 index ;
5245 __u32 keycode ;
5246 __u8 scancode[32U] ;
5247};
5248#line 101 "include/linux/input.h"
5249struct ff_replay {
5250 __u16 length ;
5251 __u16 delay ;
5252};
5253#line 961 "include/linux/input.h"
5254struct ff_trigger {
5255 __u16 button ;
5256 __u16 interval ;
5257};
5258#line 971 "include/linux/input.h"
5259struct ff_envelope {
5260 __u16 attack_length ;
5261 __u16 attack_level ;
5262 __u16 fade_length ;
5263 __u16 fade_level ;
5264};
5265#line 990 "include/linux/input.h"
5266struct ff_constant_effect {
5267 __s16 level ;
5268 struct ff_envelope envelope ;
5269};
5270#line 1000 "include/linux/input.h"
5271struct ff_ramp_effect {
5272 __s16 start_level ;
5273 __s16 end_level ;
5274 struct ff_envelope envelope ;
5275};
5276#line 1012 "include/linux/input.h"
5277struct ff_condition_effect {
5278 __u16 right_saturation ;
5279 __u16 left_saturation ;
5280 __s16 right_coeff ;
5281 __s16 left_coeff ;
5282 __u16 deadband ;
5283 __s16 center ;
5284};
5285#line 1033 "include/linux/input.h"
5286struct ff_periodic_effect {
5287 __u16 waveform ;
5288 __u16 period ;
5289 __s16 magnitude ;
5290 __s16 offset ;
5291 __u16 phase ;
5292 struct ff_envelope envelope ;
5293 __u32 custom_len ;
5294 __s16 *custom_data ;
5295};
5296#line 1064 "include/linux/input.h"
5297struct ff_rumble_effect {
5298 __u16 strong_magnitude ;
5299 __u16 weak_magnitude ;
5300};
5301#line 1077 "include/linux/input.h"
5302union __anonunion_u_216 {
5303 struct ff_constant_effect constant ;
5304 struct ff_ramp_effect ramp ;
5305 struct ff_periodic_effect periodic ;
5306 struct ff_condition_effect condition[2U] ;
5307 struct ff_rumble_effect rumble ;
5308};
5309#line 1077 "include/linux/input.h"
5310struct ff_effect {
5311 __u16 type ;
5312 __s16 id ;
5313 __u16 direction ;
5314 struct ff_trigger trigger ;
5315 struct ff_replay replay ;
5316 union __anonunion_u_216 u ;
5317};
5318#line 1116
5319struct ff_device;
5320#line 1116
5321struct input_mt_slot;
5322#line 1116
5323struct input_handle;
5324#line 1116 "include/linux/input.h"
5325struct input_dev {
5326 char const *name ;
5327 char const *phys ;
5328 char const *uniq ;
5329 struct input_id id ;
5330 unsigned long propbit[1U] ;
5331 unsigned long evbit[1U] ;
5332 unsigned long keybit[12U] ;
5333 unsigned long relbit[1U] ;
5334 unsigned long absbit[1U] ;
5335 unsigned long mscbit[1U] ;
5336 unsigned long ledbit[1U] ;
5337 unsigned long sndbit[1U] ;
5338 unsigned long ffbit[2U] ;
5339 unsigned long swbit[1U] ;
5340 unsigned int hint_events_per_packet ;
5341 unsigned int keycodemax ;
5342 unsigned int keycodesize ;
5343 void *keycode ;
5344 int (*setkeycode)(struct input_dev * , struct input_keymap_entry const * , unsigned int * ) ;
5345 int (*getkeycode)(struct input_dev * , struct input_keymap_entry * ) ;
5346 struct ff_device *ff ;
5347 unsigned int repeat_key ;
5348 struct timer_list timer ;
5349 int rep[2U] ;
5350 struct input_mt_slot *mt ;
5351 int mtsize ;
5352 int slot ;
5353 int trkid ;
5354 struct input_absinfo *absinfo ;
5355 unsigned long key[12U] ;
5356 unsigned long led[1U] ;
5357 unsigned long snd[1U] ;
5358 unsigned long sw[1U] ;
5359 int (*open)(struct input_dev * ) ;
5360 void (*close)(struct input_dev * ) ;
5361 int (*flush)(struct input_dev * , struct file * ) ;
5362 int (*event)(struct input_dev * , unsigned int , unsigned int , int ) ;
5363 struct input_handle *grab ;
5364 spinlock_t event_lock ;
5365 struct mutex mutex ;
5366 unsigned int users ;
5367 bool going_away ;
5368 bool sync ;
5369 struct device dev ;
5370 struct list_head h_list ;
5371 struct list_head node ;
5372};
5373#line 1319 "include/linux/input.h"
5374struct input_handler {
5375 void *private ;
5376 void (*event)(struct input_handle * , unsigned int , unsigned int , int ) ;
5377 bool (*filter)(struct input_handle * , unsigned int , unsigned int , int ) ;
5378 bool (*match)(struct input_handler * , struct input_dev * ) ;
5379 int (*connect)(struct input_handler * , struct input_dev * , struct input_device_id const * ) ;
5380 void (*disconnect)(struct input_handle * ) ;
5381 void (*start)(struct input_handle * ) ;
5382 struct file_operations const *fops ;
5383 int minor ;
5384 char const *name ;
5385 struct input_device_id const *id_table ;
5386 struct list_head h_list ;
5387 struct list_head node ;
5388};
5389#line 1429 "include/linux/input.h"
5390struct input_handle {
5391 void *private ;
5392 int open ;
5393 char const *name ;
5394 struct input_dev *dev ;
5395 struct input_handler *handler ;
5396 struct list_head d_node ;
5397 struct list_head h_node ;
5398};
5399#line 1591 "include/linux/input.h"
5400struct ff_device {
5401 int (*upload)(struct input_dev * , struct ff_effect * , struct ff_effect * ) ;
5402 int (*erase)(struct input_dev * , int ) ;
5403 int (*playback)(struct input_dev * , int , int ) ;
5404 void (*set_gain)(struct input_dev * , u16 ) ;
5405 void (*set_autocenter)(struct input_dev * , u16 ) ;
5406 void (*destroy)(struct ff_device * ) ;
5407 void *private ;
5408 unsigned long ffbit[2U] ;
5409 struct mutex mutex ;
5410 int max_effects ;
5411 struct ff_effect *effects ;
5412 struct file *effect_owners[0U] ;
5413};
5414#line 1650 "include/linux/input.h"
5415struct rc_map_table {
5416 u32 scancode ;
5417 u32 keycode ;
5418};
5419#line 35 "include/media/rc-map.h"
5420struct rc_map {
5421 struct rc_map_table *scan ;
5422 unsigned int size ;
5423 unsigned int len ;
5424 unsigned int alloc ;
5425 u64 rc_type ;
5426 char const *name ;
5427 spinlock_t lock ;
5428};
5429#line 26 "include/media/rc-core.h"
5430enum rc_driver_type {
5431 RC_DRIVER_SCANCODE = 0,
5432 RC_DRIVER_IR_RAW = 1
5433} ;
5434#line 31
5435struct ir_raw_event_ctrl;
5436#line 31 "include/media/rc-core.h"
5437struct rc_dev {
5438 struct device dev ;
5439 char const *input_name ;
5440 char const *input_phys ;
5441 struct input_id input_id ;
5442 char *driver_name ;
5443 char const *map_name ;
5444 struct rc_map rc_map ;
5445 struct mutex lock ;
5446 unsigned long devno ;
5447 struct ir_raw_event_ctrl *raw ;
5448 struct input_dev *input_dev ;
5449 enum rc_driver_type driver_type ;
5450 bool idle ;
5451 u64 allowed_protos ;
5452 u32 scanmask ;
5453 void *priv ;
5454 spinlock_t keylock ;
5455 bool keypressed ;
5456 unsigned long keyup_jiffies ;
5457 struct timer_list timer_keyup ;
5458 u32 last_keycode ;
5459 u32 last_scancode ;
5460 u8 last_toggle ;
5461 u32 timeout ;
5462 u32 min_timeout ;
5463 u32 max_timeout ;
5464 u32 rx_resolution ;
5465 u32 tx_resolution ;
5466 int (*change_protocol)(struct rc_dev * , u64 ) ;
5467 int (*open)(struct rc_dev * ) ;
5468 void (*close)(struct rc_dev * ) ;
5469 int (*s_tx_mask)(struct rc_dev * , u32 ) ;
5470 int (*s_tx_carrier)(struct rc_dev * , u32 ) ;
5471 int (*s_tx_duty_cycle)(struct rc_dev * , u32 ) ;
5472 int (*s_rx_carrier_range)(struct rc_dev * , u32 , u32 ) ;
5473 int (*tx_ir)(struct rc_dev * , unsigned int * , unsigned int ) ;
5474 void (*s_idle)(struct rc_dev * , bool ) ;
5475 int (*s_learning_mode)(struct rc_dev * , int ) ;
5476 int (*s_carrier_report)(struct rc_dev * , int ) ;
5477};
5478#line 228
5479struct IR_i2c;
5480#line 228
5481struct IR_i2c;
5482#line 229 "include/media/rc-core.h"
5483struct IR_i2c {
5484 char *ir_codes ;
5485 struct i2c_client *c ;
5486 struct rc_dev *rc ;
5487 unsigned char old ;
5488 u32 polling_interval ;
5489 struct delayed_work work ;
5490 char name[32U] ;
5491 char phys[32U] ;
5492 int (*get_key)(struct IR_i2c * , u32 * , u32 * ) ;
5493};
5494#line 25 "include/media/ir-kbd-i2c.h"
5495enum ir_kbd_get_key_fn {
5496 IR_KBD_GET_KEY_CUSTOM = 0,
5497 IR_KBD_GET_KEY_PIXELVIEW = 1,
5498 IR_KBD_GET_KEY_HAUP = 2,
5499 IR_KBD_GET_KEY_KNC1 = 3,
5500 IR_KBD_GET_KEY_FUSIONHDTV = 4,
5501 IR_KBD_GET_KEY_HAUP_XVR = 5,
5502 IR_KBD_GET_KEY_AVERMEDIA_CARDBUS = 6
5503} ;
5504#line 35 "include/media/ir-kbd-i2c.h"
5505struct IR_i2c_init_data {
5506 char *ir_codes ;
5507 char const *name ;
5508 u64 type ;
5509 u32 polling_interval ;
5510 int (*get_key)(struct IR_i2c * , u32 * , u32 * ) ;
5511 enum ir_kbd_get_key_fn internal_get_key_func ;
5512 struct rc_dev *rc_dev ;
5513};
5514#line 52
5515struct dvb_frontend;
5516#line 52
5517struct dvb_frontend;
5518#line 53
5519struct dvb_device;
5520#line 53 "include/media/ir-kbd-i2c.h"
5521struct dvb_adapter {
5522 int num ;
5523 struct list_head list_head ;
5524 struct list_head device_list ;
5525 char const *name ;
5526 u8 proposed_mac[6U] ;
5527 void *priv ;
5528 struct device *device ;
5529 struct module *module ;
5530 int mfe_shared ;
5531 struct dvb_device *mfe_dvbdev ;
5532 struct mutex mfe_lock ;
5533 int (*fe_ioctl_override)(struct dvb_frontend * , unsigned int , void * , unsigned int ) ;
5534};
5535#line 99 "drivers/media/dvb/dvb-core/dvbdev.h"
5536struct dvb_device {
5537 struct list_head list_head ;
5538 struct file_operations const *fops ;
5539 struct dvb_adapter *adapter ;
5540 int type ;
5541 int minor ;
5542 u32 id ;
5543 int readers ;
5544 int writers ;
5545 int users ;
5546 wait_queue_head_t wait_queue ;
5547 int (*kernel_ioctl)(struct file * , unsigned int , void * ) ;
5548 void *priv ;
5549};
5550#line 148
5551enum ldv_22826 {
5552 DMX_OUT_DECODER = 0,
5553 DMX_OUT_TAP = 1,
5554 DMX_OUT_TS_TAP = 2,
5555 DMX_OUT_TSDEMUX_TAP = 3
5556} ;
5557#line 46 "include/linux/dvb/dmx.h"
5558typedef enum ldv_22826 dmx_output_t;
5559#line 47
5560enum ldv_22828 {
5561 DMX_IN_FRONTEND = 0,
5562 DMX_IN_DVR = 1
5563} ;
5564#line 53 "include/linux/dvb/dmx.h"
5565typedef enum ldv_22828 dmx_input_t;
5566#line 54
5567enum ldv_22830 {
5568 DMX_PES_AUDIO0 = 0,
5569 DMX_PES_VIDEO0 = 1,
5570 DMX_PES_TELETEXT0 = 2,
5571 DMX_PES_SUBTITLE0 = 3,
5572 DMX_PES_PCR0 = 4,
5573 DMX_PES_AUDIO1 = 5,
5574 DMX_PES_VIDEO1 = 6,
5575 DMX_PES_TELETEXT1 = 7,
5576 DMX_PES_SUBTITLE1 = 8,
5577 DMX_PES_PCR1 = 9,
5578 DMX_PES_AUDIO2 = 10,
5579 DMX_PES_VIDEO2 = 11,
5580 DMX_PES_TELETEXT2 = 12,
5581 DMX_PES_SUBTITLE2 = 13,
5582 DMX_PES_PCR2 = 14,
5583 DMX_PES_AUDIO3 = 15,
5584 DMX_PES_VIDEO3 = 16,
5585 DMX_PES_TELETEXT3 = 17,
5586 DMX_PES_SUBTITLE3 = 18,
5587 DMX_PES_PCR3 = 19,
5588 DMX_PES_OTHER = 20
5589} ;
5590#line 83 "include/linux/dvb/dmx.h"
5591typedef enum ldv_22830 dmx_pes_type_t;
5592#line 84 "include/linux/dvb/dmx.h"
5593struct dmx_filter {
5594 __u8 filter[16U] ;
5595 __u8 mask[16U] ;
5596 __u8 mode[16U] ;
5597};
5598#line 97 "include/linux/dvb/dmx.h"
5599typedef struct dmx_filter dmx_filter_t;
5600#line 98 "include/linux/dvb/dmx.h"
5601struct dmx_sct_filter_params {
5602 __u16 pid ;
5603 dmx_filter_t filter ;
5604 __u32 timeout ;
5605 __u32 flags ;
5606};
5607#line 107 "include/linux/dvb/dmx.h"
5608struct dmx_pes_filter_params {
5609 __u16 pid ;
5610 dmx_input_t input ;
5611 dmx_output_t output ;
5612 dmx_pes_type_t pes_type ;
5613 __u32 flags ;
5614};
5615#line 121 "include/linux/dvb/dmx.h"
5616struct dmx_caps {
5617 __u32 caps ;
5618 int num_decoders ;
5619};
5620#line 126
5621enum ldv_22844 {
5622 DMX_SOURCE_FRONT0 = 0,
5623 DMX_SOURCE_FRONT1 = 1,
5624 DMX_SOURCE_FRONT2 = 2,
5625 DMX_SOURCE_FRONT3 = 3,
5626 DMX_SOURCE_DVR0 = 16,
5627 DMX_SOURCE_DVR1 = 17,
5628 DMX_SOURCE_DVR2 = 18,
5629 DMX_SOURCE_DVR3 = 19
5630} ;
5631#line 136 "include/linux/dvb/dmx.h"
5632typedef enum ldv_22844 dmx_source_t;
5633#line 143
5634enum dmx_success {
5635 DMX_OK = 0,
5636 DMX_LENGTH_ERROR = 1,
5637 DMX_OVERRUN_ERROR = 2,
5638 DMX_CRC_ERROR = 3,
5639 DMX_FRAME_ERROR = 4,
5640 DMX_FIFO_ERROR = 5,
5641 DMX_MISSED_ERROR = 6
5642} ;
5643#line 153
5644enum dmx_ts_pes {
5645 DMX_TS_PES_AUDIO0 = 0,
5646 DMX_TS_PES_VIDEO0 = 1,
5647 DMX_TS_PES_TELETEXT0 = 2,
5648 DMX_TS_PES_SUBTITLE0 = 3,
5649 DMX_TS_PES_PCR0 = 4,
5650 DMX_TS_PES_AUDIO1 = 5,
5651 DMX_TS_PES_VIDEO1 = 6,
5652 DMX_TS_PES_TELETEXT1 = 7,
5653 DMX_TS_PES_SUBTITLE1 = 8,
5654 DMX_TS_PES_PCR1 = 9,
5655 DMX_TS_PES_AUDIO2 = 10,
5656 DMX_TS_PES_VIDEO2 = 11,
5657 DMX_TS_PES_TELETEXT2 = 12,
5658 DMX_TS_PES_SUBTITLE2 = 13,
5659 DMX_TS_PES_PCR2 = 14,
5660 DMX_TS_PES_AUDIO3 = 15,
5661 DMX_TS_PES_VIDEO3 = 16,
5662 DMX_TS_PES_TELETEXT3 = 17,
5663 DMX_TS_PES_SUBTITLE3 = 18,
5664 DMX_TS_PES_PCR3 = 19,
5665 DMX_TS_PES_OTHER = 20
5666} ;
5667#line 177
5668struct dmx_demux;
5669#line 177 "include/linux/dvb/dmx.h"
5670struct dmx_ts_feed {
5671 int is_filtering ;
5672 struct dmx_demux *parent ;
5673 void *priv ;
5674 int (*set)(struct dmx_ts_feed * , u16 , int , enum dmx_ts_pes , size_t , struct timespec ) ;
5675 int (*start_filtering)(struct dmx_ts_feed * ) ;
5676 int (*stop_filtering)(struct dmx_ts_feed * ) ;
5677};
5678#line 138 "drivers/media/dvb/dvb-core/demux.h"
5679struct dmx_section_feed;
5680#line 138 "drivers/media/dvb/dvb-core/demux.h"
5681struct dmx_section_filter {
5682 u8 filter_value[18U] ;
5683 u8 filter_mask[18U] ;
5684 u8 filter_mode[18U] ;
5685 struct dmx_section_feed *parent ;
5686 void *priv ;
5687};
5688#line 150 "drivers/media/dvb/dvb-core/demux.h"
5689struct dmx_section_feed {
5690 int is_filtering ;
5691 struct dmx_demux *parent ;
5692 void *priv ;
5693 int check_crc ;
5694 u32 crc_val ;
5695 u8 *secbuf ;
5696 u8 secbuf_base[4284U] ;
5697 u16 secbufp ;
5698 u16 seclen ;
5699 u16 tsfeedp ;
5700 int (*set)(struct dmx_section_feed * , u16 , size_t , int ) ;
5701 int (*allocate_filter)(struct dmx_section_feed * , struct dmx_section_filter ** ) ;
5702 int (*release_filter)(struct dmx_section_feed * , struct dmx_section_filter * ) ;
5703 int (*start_filtering)(struct dmx_section_feed * ) ;
5704 int (*stop_filtering)(struct dmx_section_feed * ) ;
5705};
5706#line 187
5707enum dmx_frontend_source {
5708 DMX_MEMORY_FE = 0,
5709 DMX_FRONTEND_0 = 1,
5710 DMX_FRONTEND_1 = 2,
5711 DMX_FRONTEND_2 = 3,
5712 DMX_FRONTEND_3 = 4,
5713 DMX_STREAM_0 = 5,
5714 DMX_STREAM_1 = 6,
5715 DMX_STREAM_2 = 7,
5716 DMX_STREAM_3 = 8
5717} ;
5718#line 199 "drivers/media/dvb/dvb-core/demux.h"
5719struct dmx_frontend {
5720 struct list_head connectivity_list ;
5721 enum dmx_frontend_source source ;
5722};
5723#line 215 "drivers/media/dvb/dvb-core/demux.h"
5724struct dmx_demux {
5725 u32 capabilities ;
5726 struct dmx_frontend *frontend ;
5727 void *priv ;
5728 int (*open)(struct dmx_demux * ) ;
5729 int (*close)(struct dmx_demux * ) ;
5730 int (*write)(struct dmx_demux * , char const * , size_t ) ;
5731 int (*allocate_ts_feed)(struct dmx_demux * , struct dmx_ts_feed ** , int (*)(u8 const * ,
5732 size_t ,
5733 u8 const * ,
5734 size_t ,
5735 struct dmx_ts_feed * ,
5736 enum dmx_success ) ) ;
5737 int (*release_ts_feed)(struct dmx_demux * , struct dmx_ts_feed * ) ;
5738 int (*allocate_section_feed)(struct dmx_demux * , struct dmx_section_feed ** ,
5739 int (*)(u8 const * , size_t , u8 const * , size_t ,
5740 struct dmx_section_filter * , enum dmx_success ) ) ;
5741 int (*release_section_feed)(struct dmx_demux * , struct dmx_section_feed * ) ;
5742 int (*add_frontend)(struct dmx_demux * , struct dmx_frontend * ) ;
5743 int (*remove_frontend)(struct dmx_demux * , struct dmx_frontend * ) ;
5744 struct list_head *(*get_frontends)(struct dmx_demux * ) ;
5745 int (*connect_frontend)(struct dmx_demux * , struct dmx_frontend * ) ;
5746 int (*disconnect_frontend)(struct dmx_demux * ) ;
5747 int (*get_pes_pids)(struct dmx_demux * , u16 * ) ;
5748 int (*get_caps)(struct dmx_demux * , struct dmx_caps * ) ;
5749 int (*set_source)(struct dmx_demux * , dmx_source_t const * ) ;
5750 int (*get_stc)(struct dmx_demux * , unsigned int , u64 * , unsigned int * ) ;
5751};
5752#line 278 "drivers/media/dvb/dvb-core/demux.h"
5753struct dvb_ringbuffer {
5754 u8 *data ;
5755 ssize_t size ;
5756 ssize_t pread ;
5757 ssize_t pwrite ;
5758 int error ;
5759 wait_queue_head_t queue ;
5760 spinlock_t lock ;
5761};
5762#line 184 "drivers/media/dvb/dvb-core/dvb_ringbuffer.h"
5763enum dmxdev_type {
5764 DMXDEV_TYPE_NONE = 0,
5765 DMXDEV_TYPE_SEC = 1,
5766 DMXDEV_TYPE_PES = 2
5767} ;
5768#line 190
5769enum dmxdev_state {
5770 DMXDEV_STATE_FREE = 0,
5771 DMXDEV_STATE_ALLOCATED = 1,
5772 DMXDEV_STATE_SET = 2,
5773 DMXDEV_STATE_GO = 3,
5774 DMXDEV_STATE_DONE = 4,
5775 DMXDEV_STATE_TIMEDOUT = 5
5776} ;
5777#line 62 "drivers/media/dvb/dvb-core/dmxdev.h"
5778union __anonunion_filter_219 {
5779 struct dmx_section_filter *sec ;
5780};
5781#line 62 "drivers/media/dvb/dvb-core/dmxdev.h"
5782union __anonunion_feed_220 {
5783 struct list_head ts ;
5784 struct dmx_section_feed *sec ;
5785};
5786#line 62 "drivers/media/dvb/dvb-core/dmxdev.h"
5787union __anonunion_params_221 {
5788 struct dmx_sct_filter_params sec ;
5789 struct dmx_pes_filter_params pes ;
5790};
5791#line 62
5792struct dmxdev;
5793#line 62 "drivers/media/dvb/dvb-core/dmxdev.h"
5794struct dmxdev_filter {
5795 union __anonunion_filter_219 filter ;
5796 union __anonunion_feed_220 feed ;
5797 union __anonunion_params_221 params ;
5798 enum dmxdev_type type ;
5799 enum dmxdev_state state ;
5800 struct dmxdev *dev ;
5801 struct dvb_ringbuffer buffer ;
5802 struct mutex mutex ;
5803 struct timer_list timer ;
5804 int todo ;
5805 u8 secheader[3U] ;
5806};
5807#line 91 "drivers/media/dvb/dvb-core/dmxdev.h"
5808struct dmxdev {
5809 struct dvb_device *dvbdev ;
5810 struct dvb_device *dvr_dvbdev ;
5811 struct dmxdev_filter *filter ;
5812 struct dmx_demux *demux ;
5813 int filternum ;
5814 int capabilities ;
5815 unsigned char exit : 1 ;
5816 struct dmx_frontend *dvr_orig_fe ;
5817 struct dvb_ringbuffer dvr_buffer ;
5818 struct mutex mutex ;
5819 spinlock_t lock ;
5820};
5821#line 117
5822struct dvb_demux_feed;
5823#line 117 "drivers/media/dvb/dvb-core/dmxdev.h"
5824struct dvb_demux_filter {
5825 struct dmx_section_filter filter ;
5826 u8 maskandmode[18U] ;
5827 u8 maskandnotmode[18U] ;
5828 int doneq ;
5829 struct dvb_demux_filter *next ;
5830 struct dvb_demux_feed *feed ;
5831 int index ;
5832 int state ;
5833 int type ;
5834 u16 hw_handle ;
5835 struct timer_list timer ;
5836};
5837#line 64 "drivers/media/dvb/dvb-core/dvb_demux.h"
5838union __anonunion_feed_222 {
5839 struct dmx_ts_feed ts ;
5840 struct dmx_section_feed sec ;
5841};
5842#line 64 "drivers/media/dvb/dvb-core/dvb_demux.h"
5843union __anonunion_cb_223 {
5844 int (*ts)(u8 const * , size_t , u8 const * , size_t , struct dmx_ts_feed * ,
5845 enum dmx_success ) ;
5846 int (*sec)(u8 const * , size_t , u8 const * , size_t , struct dmx_section_filter * ,
5847 enum dmx_success ) ;
5848};
5849#line 64
5850struct dvb_demux;
5851#line 64 "drivers/media/dvb/dvb-core/dvb_demux.h"
5852struct dvb_demux_feed {
5853 union __anonunion_feed_222 feed ;
5854 union __anonunion_cb_223 cb ;
5855 struct dvb_demux *demux ;
5856 void *priv ;
5857 int type ;
5858 int state ;
5859 u16 pid ;
5860 u8 *buffer ;
5861 int buffer_size ;
5862 struct timespec timeout ;
5863 struct dvb_demux_filter *filter ;
5864 int ts_type ;
5865 enum dmx_ts_pes pes_type ;
5866 int cc ;
5867 int pusi_seen ;
5868 u16 peslen ;
5869 struct list_head list_head ;
5870 unsigned int index ;
5871};
5872#line 100 "drivers/media/dvb/dvb-core/dvb_demux.h"
5873struct dvb_demux {
5874 struct dmx_demux dmx ;
5875 void *priv ;
5876 int filternum ;
5877 int feednum ;
5878 int (*start_feed)(struct dvb_demux_feed * ) ;
5879 int (*stop_feed)(struct dvb_demux_feed * ) ;
5880 int (*write_to_decoder)(struct dvb_demux_feed * , u8 const * , size_t ) ;
5881 u32 (*check_crc32)(struct dvb_demux_feed * , u8 const * , size_t ) ;
5882 void (*memcopy)(struct dvb_demux_feed * , u8 * , u8 const * , size_t ) ;
5883 int users ;
5884 struct dvb_demux_filter *filter ;
5885 struct dvb_demux_feed *feed ;
5886 struct list_head frontend_list ;
5887 struct dvb_demux_feed *pesfilter[20U] ;
5888 u16 pids[20U] ;
5889 int playing ;
5890 int recording ;
5891 struct list_head feed_list ;
5892 u8 tsbuf[204U] ;
5893 int tsbufp ;
5894 struct mutex mutex ;
5895 spinlock_t lock ;
5896 uint8_t *cnt_storage ;
5897 struct timespec speed_last_time ;
5898 uint32_t speed_pkts_cnt ;
5899};
5900#line 11 "include/linux/socket.h"
5901typedef unsigned short __kernel_sa_family_t;
5902#line 40 "include/linux/socket.h"
5903typedef __kernel_sa_family_t sa_family_t;
5904#line 41 "include/linux/socket.h"
5905struct sockaddr {
5906 sa_family_t sa_family ;
5907 char sa_data[14U] ;
5908};
5909#line 41 "include/linux/hdlc/ioctl.h"
5910struct __anonstruct_sync_serial_settings_224 {
5911 unsigned int clock_rate ;
5912 unsigned int clock_type ;
5913 unsigned short loopback ;
5914};
5915#line 41 "include/linux/hdlc/ioctl.h"
5916typedef struct __anonstruct_sync_serial_settings_224 sync_serial_settings;
5917#line 48 "include/linux/hdlc/ioctl.h"
5918struct __anonstruct_te1_settings_225 {
5919 unsigned int clock_rate ;
5920 unsigned int clock_type ;
5921 unsigned short loopback ;
5922 unsigned int slot_map ;
5923};
5924#line 48 "include/linux/hdlc/ioctl.h"
5925typedef struct __anonstruct_te1_settings_225 te1_settings;
5926#line 53 "include/linux/hdlc/ioctl.h"
5927struct __anonstruct_raw_hdlc_proto_226 {
5928 unsigned short encoding ;
5929 unsigned short parity ;
5930};
5931#line 53 "include/linux/hdlc/ioctl.h"
5932typedef struct __anonstruct_raw_hdlc_proto_226 raw_hdlc_proto;
5933#line 63 "include/linux/hdlc/ioctl.h"
5934struct __anonstruct_fr_proto_227 {
5935 unsigned int t391 ;
5936 unsigned int t392 ;
5937 unsigned int n391 ;
5938 unsigned int n392 ;
5939 unsigned int n393 ;
5940 unsigned short lmi ;
5941 unsigned short dce ;
5942};
5943#line 63 "include/linux/hdlc/ioctl.h"
5944typedef struct __anonstruct_fr_proto_227 fr_proto;
5945#line 67 "include/linux/hdlc/ioctl.h"
5946struct __anonstruct_fr_proto_pvc_228 {
5947 unsigned int dlci ;
5948};
5949#line 67 "include/linux/hdlc/ioctl.h"
5950typedef struct __anonstruct_fr_proto_pvc_228 fr_proto_pvc;
5951#line 72 "include/linux/hdlc/ioctl.h"
5952struct __anonstruct_fr_proto_pvc_info_229 {
5953 unsigned int dlci ;
5954 char master[16U] ;
5955};
5956#line 72 "include/linux/hdlc/ioctl.h"
5957typedef struct __anonstruct_fr_proto_pvc_info_229 fr_proto_pvc_info;
5958#line 77 "include/linux/hdlc/ioctl.h"
5959struct __anonstruct_cisco_proto_230 {
5960 unsigned int interval ;
5961 unsigned int timeout ;
5962};
5963#line 77 "include/linux/hdlc/ioctl.h"
5964typedef struct __anonstruct_cisco_proto_230 cisco_proto;
5965#line 93 "include/linux/hdlc/ioctl.h"
5966struct ifmap {
5967 unsigned long mem_start ;
5968 unsigned long mem_end ;
5969 unsigned short base_addr ;
5970 unsigned char irq ;
5971 unsigned char dma ;
5972 unsigned char port ;
5973};
5974#line 148 "include/linux/if.h"
5975union __anonunion_ifs_ifsu_231 {
5976 raw_hdlc_proto *raw_hdlc ;
5977 cisco_proto *cisco ;
5978 fr_proto *fr ;
5979 fr_proto_pvc *fr_pvc ;
5980 fr_proto_pvc_info *fr_pvc_info ;
5981 sync_serial_settings *sync ;
5982 te1_settings *te1 ;
5983};
5984#line 148 "include/linux/if.h"
5985struct if_settings {
5986 unsigned int type ;
5987 unsigned int size ;
5988 union __anonunion_ifs_ifsu_231 ifs_ifsu ;
5989};
5990#line 166 "include/linux/if.h"
5991union __anonunion_ifr_ifrn_232 {
5992 char ifrn_name[16U] ;
5993};
5994#line 166 "include/linux/if.h"
5995union __anonunion_ifr_ifru_233 {
5996 struct sockaddr ifru_addr ;
5997 struct sockaddr ifru_dstaddr ;
5998 struct sockaddr ifru_broadaddr ;
5999 struct sockaddr ifru_netmask ;
6000 struct sockaddr ifru_hwaddr ;
6001 short ifru_flags ;
6002 int ifru_ivalue ;
6003 int ifru_mtu ;
6004 struct ifmap ifru_map ;
6005 char ifru_slave[16U] ;
6006 char ifru_newname[16U] ;
6007 void *ifru_data ;
6008 struct if_settings ifru_settings ;
6009};
6010#line 166 "include/linux/if.h"
6011struct ifreq {
6012 union __anonunion_ifr_ifrn_232 ifr_ifrn ;
6013 union __anonunion_ifr_ifru_233 ifr_ifru ;
6014};
6015#line 230 "include/linux/if.h"
6016struct ethhdr {
6017 unsigned char h_dest[6U] ;
6018 unsigned char h_source[6U] ;
6019 __be16 h_proto ;
6020};
6021#line 74 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/archrandom.h"
6022struct net;
6023#line 74
6024struct net;
6025#line 108 "include/net/checksum.h"
6026struct sk_buff;
6027#line 108
6028struct sk_buff;
6029#line 37 "include/linux/dmaengine.h"
6030typedef s32 dma_cookie_t;
6031#line 1007 "include/linux/dmaengine.h"
6032struct dma_attrs {
6033 unsigned long flags[1U] ;
6034};
6035#line 67 "include/linux/dma-attrs.h"
6036enum dma_data_direction {
6037 DMA_BIDIRECTIONAL = 0,
6038 DMA_TO_DEVICE = 1,
6039 DMA_FROM_DEVICE = 2,
6040 DMA_NONE = 3
6041} ;
6042#line 74 "include/linux/dma-attrs.h"
6043struct dma_map_ops {
6044 void *(*alloc)(struct device * , size_t , dma_addr_t * , gfp_t , struct dma_attrs * ) ;
6045 void (*free)(struct device * , size_t , void * , dma_addr_t , struct dma_attrs * ) ;
6046 int (*mmap)(struct device * , struct vm_area_struct * , void * , dma_addr_t ,
6047 size_t , struct dma_attrs * ) ;
6048 dma_addr_t (*map_page)(struct device * , struct page * , unsigned long , size_t ,
6049 enum dma_data_direction , struct dma_attrs * ) ;
6050 void (*unmap_page)(struct device * , dma_addr_t , size_t , enum dma_data_direction ,
6051 struct dma_attrs * ) ;
6052 int (*map_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
6053 struct dma_attrs * ) ;
6054 void (*unmap_sg)(struct device * , struct scatterlist * , int , enum dma_data_direction ,
6055 struct dma_attrs * ) ;
6056 void (*sync_single_for_cpu)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
6057 void (*sync_single_for_device)(struct device * , dma_addr_t , size_t , enum dma_data_direction ) ;
6058 void (*sync_sg_for_cpu)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
6059 void (*sync_sg_for_device)(struct device * , struct scatterlist * , int , enum dma_data_direction ) ;
6060 int (*mapping_error)(struct device * , dma_addr_t ) ;
6061 int (*dma_supported)(struct device * , u64 ) ;
6062 int (*set_dma_mask)(struct device * , u64 ) ;
6063 int is_phys ;
6064};
6065#line 15 "include/linux/netdev_features.h"
6066typedef u64 netdev_features_t;
6067#line 56 "include/linux/netdev_features.h"
6068struct nf_conntrack {
6069 atomic_t use ;
6070};
6071#line 116 "include/linux/skbuff.h"
6072struct nf_bridge_info {
6073 atomic_t use ;
6074 struct net_device *physindev ;
6075 struct net_device *physoutdev ;
6076 unsigned int mask ;
6077 unsigned long data[4U] ;
6078};
6079#line 126 "include/linux/skbuff.h"
6080struct sk_buff_head {
6081 struct sk_buff *next ;
6082 struct sk_buff *prev ;
6083 __u32 qlen ;
6084 spinlock_t lock ;
6085};
6086#line 318 "include/linux/skbuff.h"
6087typedef unsigned int sk_buff_data_t;
6088#line 319
6089struct sec_path;
6090#line 319 "include/linux/skbuff.h"
6091struct __anonstruct_ldv_32619_238 {
6092 __u16 csum_start ;
6093 __u16 csum_offset ;
6094};
6095#line 319 "include/linux/skbuff.h"
6096union __anonunion_ldv_32620_237 {
6097 __wsum csum ;
6098 struct __anonstruct_ldv_32619_238 ldv_32619 ;
6099};
6100#line 319 "include/linux/skbuff.h"
6101union __anonunion_ldv_32656_239 {
6102 __u32 mark ;
6103 __u32 dropcount ;
6104 __u32 avail_size ;
6105};
6106#line 319 "include/linux/skbuff.h"
6107struct sk_buff {
6108 struct sk_buff *next ;
6109 struct sk_buff *prev ;
6110 ktime_t tstamp ;
6111 struct sock *sk ;
6112 struct net_device *dev ;
6113 char cb[48U] ;
6114 unsigned long _skb_refdst ;
6115 struct sec_path *sp ;
6116 unsigned int len ;
6117 unsigned int data_len ;
6118 __u16 mac_len ;
6119 __u16 hdr_len ;
6120 union __anonunion_ldv_32620_237 ldv_32620 ;
6121 __u32 priority ;
6122 unsigned char local_df : 1 ;
6123 unsigned char cloned : 1 ;
6124 unsigned char ip_summed : 2 ;
6125 unsigned char nohdr : 1 ;
6126 unsigned char nfctinfo : 3 ;
6127 unsigned char pkt_type : 3 ;
6128 unsigned char fclone : 2 ;
6129 unsigned char ipvs_property : 1 ;
6130 unsigned char peeked : 1 ;
6131 unsigned char nf_trace : 1 ;
6132 __be16 protocol ;
6133 void (*destructor)(struct sk_buff * ) ;
6134 struct nf_conntrack *nfct ;
6135 struct sk_buff *nfct_reasm ;
6136 struct nf_bridge_info *nf_bridge ;
6137 int skb_iif ;
6138 __u32 rxhash ;
6139 __u16 vlan_tci ;
6140 __u16 tc_index ;
6141 __u16 tc_verd ;
6142 __u16 queue_mapping ;
6143 unsigned char ndisc_nodetype : 2 ;
6144 unsigned char ooo_okay : 1 ;
6145 unsigned char l4_rxhash : 1 ;
6146 unsigned char wifi_acked_valid : 1 ;
6147 unsigned char wifi_acked : 1 ;
6148 unsigned char no_fcs : 1 ;
6149 dma_cookie_t dma_cookie ;
6150 __u32 secmark ;
6151 union __anonunion_ldv_32656_239 ldv_32656 ;
6152 sk_buff_data_t transport_header ;
6153 sk_buff_data_t network_header ;
6154 sk_buff_data_t mac_header ;
6155 sk_buff_data_t tail ;
6156 sk_buff_data_t end ;
6157 unsigned char *head ;
6158 unsigned char *data ;
6159 unsigned int truesize ;
6160 atomic_t users ;
6161};
6162#line 520
6163struct dst_entry;
6164#line 117 "include/linux/netlink.h"
6165struct nlattr {
6166 __u16 nla_len ;
6167 __u16 nla_type ;
6168};
6169#line 39 "include/linux/if_link.h"
6170struct rtnl_link_stats64 {
6171 __u64 rx_packets ;
6172 __u64 tx_packets ;
6173 __u64 rx_bytes ;
6174 __u64 tx_bytes ;
6175 __u64 rx_errors ;
6176 __u64 tx_errors ;
6177 __u64 rx_dropped ;
6178 __u64 tx_dropped ;
6179 __u64 multicast ;
6180 __u64 collisions ;
6181 __u64 rx_length_errors ;
6182 __u64 rx_over_errors ;
6183 __u64 rx_crc_errors ;
6184 __u64 rx_frame_errors ;
6185 __u64 rx_fifo_errors ;
6186 __u64 rx_missed_errors ;
6187 __u64 tx_aborted_errors ;
6188 __u64 tx_carrier_errors ;
6189 __u64 tx_fifo_errors ;
6190 __u64 tx_heartbeat_errors ;
6191 __u64 tx_window_errors ;
6192 __u64 rx_compressed ;
6193 __u64 tx_compressed ;
6194};
6195#line 309 "include/linux/if_link.h"
6196struct ifla_vf_info {
6197 __u32 vf ;
6198 __u8 mac[32U] ;
6199 __u32 vlan ;
6200 __u32 qos ;
6201 __u32 tx_rate ;
6202 __u32 spoofchk ;
6203};
6204#line 71 "include/linux/miscdevice.h"
6205struct pm_qos_request {
6206 struct plist_node node ;
6207 int pm_qos_class ;
6208 struct delayed_work work ;
6209};
6210#line 35 "include/linux/pm_qos.h"
6211struct dev_pm_qos_request {
6212 struct plist_node node ;
6213 struct device *dev ;
6214};
6215#line 40
6216enum pm_qos_type {
6217 PM_QOS_UNITIALIZED = 0,
6218 PM_QOS_MAX = 1,
6219 PM_QOS_MIN = 2
6220} ;
6221#line 46 "include/linux/pm_qos.h"
6222struct pm_qos_constraints {
6223 struct plist_head list ;
6224 s32 target_value ;
6225 s32 default_value ;
6226 enum pm_qos_type type ;
6227 struct blocking_notifier_head *notifiers ;
6228};
6229#line 147 "include/linux/pm_qos.h"
6230struct dql {
6231 unsigned int num_queued ;
6232 unsigned int adj_limit ;
6233 unsigned int last_obj_cnt ;
6234 unsigned int limit ;
6235 unsigned int num_completed ;
6236 unsigned int prev_ovlimit ;
6237 unsigned int prev_num_queued ;
6238 unsigned int prev_last_obj_cnt ;
6239 unsigned int lowest_slack ;
6240 unsigned long slack_start_time ;
6241 unsigned int max_limit ;
6242 unsigned int min_limit ;
6243 unsigned int slack_hold_time ;
6244};
6245#line 39 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
6246typedef s32 compat_long_t;
6247#line 212 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/compat.h"
6248typedef u32 compat_uptr_t;
6249#line 225 "include/linux/compat.h"
6250struct compat_robust_list {
6251 compat_uptr_t next ;
6252};
6253#line 229 "include/linux/compat.h"
6254struct compat_robust_list_head {
6255 struct compat_robust_list list ;
6256 compat_long_t futex_offset ;
6257 compat_uptr_t list_op_pending ;
6258};
6259#line 590 "include/linux/compat.h"
6260struct ethtool_cmd {
6261 __u32 cmd ;
6262 __u32 supported ;
6263 __u32 advertising ;
6264 __u16 speed ;
6265 __u8 duplex ;
6266 __u8 port ;
6267 __u8 phy_address ;
6268 __u8 transceiver ;
6269 __u8 autoneg ;
6270 __u8 mdio_support ;
6271 __u32 maxtxpkt ;
6272 __u32 maxrxpkt ;
6273 __u16 speed_hi ;
6274 __u8 eth_tp_mdix ;
6275 __u8 reserved2 ;
6276 __u32 lp_advertising ;
6277 __u32 reserved[2U] ;
6278};
6279#line 66 "include/linux/ethtool.h"
6280struct ethtool_drvinfo {
6281 __u32 cmd ;
6282 char driver[32U] ;
6283 char version[32U] ;
6284 char fw_version[32U] ;
6285 char bus_info[32U] ;
6286 char reserved1[32U] ;
6287 char reserved2[12U] ;
6288 __u32 n_priv_flags ;
6289 __u32 n_stats ;
6290 __u32 testinfo_len ;
6291 __u32 eedump_len ;
6292 __u32 regdump_len ;
6293};
6294#line 106 "include/linux/ethtool.h"
6295struct ethtool_wolinfo {
6296 __u32 cmd ;
6297 __u32 supported ;
6298 __u32 wolopts ;
6299 __u8 sopass[6U] ;
6300};
6301#line 121 "include/linux/ethtool.h"
6302struct ethtool_regs {
6303 __u32 cmd ;
6304 __u32 version ;
6305 __u32 len ;
6306 __u8 data[0U] ;
6307};
6308#line 129 "include/linux/ethtool.h"
6309struct ethtool_eeprom {
6310 __u32 cmd ;
6311 __u32 magic ;
6312 __u32 offset ;
6313 __u32 len ;
6314 __u8 data[0U] ;
6315};
6316#line 138 "include/linux/ethtool.h"
6317struct ethtool_coalesce {
6318 __u32 cmd ;
6319 __u32 rx_coalesce_usecs ;
6320 __u32 rx_max_coalesced_frames ;
6321 __u32 rx_coalesce_usecs_irq ;
6322 __u32 rx_max_coalesced_frames_irq ;
6323 __u32 tx_coalesce_usecs ;
6324 __u32 tx_max_coalesced_frames ;
6325 __u32 tx_coalesce_usecs_irq ;
6326 __u32 tx_max_coalesced_frames_irq ;
6327 __u32 stats_block_coalesce_usecs ;
6328 __u32 use_adaptive_rx_coalesce ;
6329 __u32 use_adaptive_tx_coalesce ;
6330 __u32 pkt_rate_low ;
6331 __u32 rx_coalesce_usecs_low ;
6332 __u32 rx_max_coalesced_frames_low ;
6333 __u32 tx_coalesce_usecs_low ;
6334 __u32 tx_max_coalesced_frames_low ;
6335 __u32 pkt_rate_high ;
6336 __u32 rx_coalesce_usecs_high ;
6337 __u32 rx_max_coalesced_frames_high ;
6338 __u32 tx_coalesce_usecs_high ;
6339 __u32 tx_max_coalesced_frames_high ;
6340 __u32 rate_sample_interval ;
6341};
6342#line 236 "include/linux/ethtool.h"
6343struct ethtool_ringparam {
6344 __u32 cmd ;
6345 __u32 rx_max_pending ;
6346 __u32 rx_mini_max_pending ;
6347 __u32 rx_jumbo_max_pending ;
6348 __u32 tx_max_pending ;
6349 __u32 rx_pending ;
6350 __u32 rx_mini_pending ;
6351 __u32 rx_jumbo_pending ;
6352 __u32 tx_pending ;
6353};
6354#line 258 "include/linux/ethtool.h"
6355struct ethtool_channels {
6356 __u32 cmd ;
6357 __u32 max_rx ;
6358 __u32 max_tx ;
6359 __u32 max_other ;
6360 __u32 max_combined ;
6361 __u32 rx_count ;
6362 __u32 tx_count ;
6363 __u32 other_count ;
6364 __u32 combined_count ;
6365};
6366#line 286 "include/linux/ethtool.h"
6367struct ethtool_pauseparam {
6368 __u32 cmd ;
6369 __u32 autoneg ;
6370 __u32 rx_pause ;
6371 __u32 tx_pause ;
6372};
6373#line 337 "include/linux/ethtool.h"
6374struct ethtool_test {
6375 __u32 cmd ;
6376 __u32 flags ;
6377 __u32 reserved ;
6378 __u32 len ;
6379 __u64 data[0U] ;
6380};
6381#line 359 "include/linux/ethtool.h"
6382struct ethtool_stats {
6383 __u32 cmd ;
6384 __u32 n_stats ;
6385 __u64 data[0U] ;
6386};
6387#line 380 "include/linux/ethtool.h"
6388struct ethtool_tcpip4_spec {
6389 __be32 ip4src ;
6390 __be32 ip4dst ;
6391 __be16 psrc ;
6392 __be16 pdst ;
6393 __u8 tos ;
6394};
6395#line 413 "include/linux/ethtool.h"
6396struct ethtool_ah_espip4_spec {
6397 __be32 ip4src ;
6398 __be32 ip4dst ;
6399 __be32 spi ;
6400 __u8 tos ;
6401};
6402#line 429 "include/linux/ethtool.h"
6403struct ethtool_usrip4_spec {
6404 __be32 ip4src ;
6405 __be32 ip4dst ;
6406 __be32 l4_4_bytes ;
6407 __u8 tos ;
6408 __u8 ip_ver ;
6409 __u8 proto ;
6410};
6411#line 449 "include/linux/ethtool.h"
6412union ethtool_flow_union {
6413 struct ethtool_tcpip4_spec tcp_ip4_spec ;
6414 struct ethtool_tcpip4_spec udp_ip4_spec ;
6415 struct ethtool_tcpip4_spec sctp_ip4_spec ;
6416 struct ethtool_ah_espip4_spec ah_ip4_spec ;
6417 struct ethtool_ah_espip4_spec esp_ip4_spec ;
6418 struct ethtool_usrip4_spec usr_ip4_spec ;
6419 struct ethhdr ether_spec ;
6420 __u8 hdata[60U] ;
6421};
6422#line 460 "include/linux/ethtool.h"
6423struct ethtool_flow_ext {
6424 __be16 vlan_etype ;
6425 __be16 vlan_tci ;
6426 __be32 data[2U] ;
6427};
6428#line 466 "include/linux/ethtool.h"
6429struct ethtool_rx_flow_spec {
6430 __u32 flow_type ;
6431 union ethtool_flow_union h_u ;
6432 struct ethtool_flow_ext h_ext ;
6433 union ethtool_flow_union m_u ;
6434 struct ethtool_flow_ext m_ext ;
6435 __u64 ring_cookie ;
6436 __u32 location ;
6437};
6438#line 491 "include/linux/ethtool.h"
6439struct ethtool_rxnfc {
6440 __u32 cmd ;
6441 __u32 flow_type ;
6442 __u64 data ;
6443 struct ethtool_rx_flow_spec fs ;
6444 __u32 rule_cnt ;
6445 __u32 rule_locs[0U] ;
6446};
6447#line 649 "include/linux/ethtool.h"
6448struct ethtool_flash {
6449 __u32 cmd ;
6450 __u32 region ;
6451 char data[128U] ;
6452};
6453#line 657 "include/linux/ethtool.h"
6454struct ethtool_dump {
6455 __u32 cmd ;
6456 __u32 version ;
6457 __u32 flag ;
6458 __u32 len ;
6459 __u8 data[0U] ;
6460};
6461#line 769
6462enum ethtool_phys_id_state {
6463 ETHTOOL_ID_INACTIVE = 0,
6464 ETHTOOL_ID_ACTIVE = 1,
6465 ETHTOOL_ID_ON = 2,
6466 ETHTOOL_ID_OFF = 3
6467} ;
6468#line 803 "include/linux/ethtool.h"
6469struct ethtool_ops {
6470 int (*get_settings)(struct net_device * , struct ethtool_cmd * ) ;
6471 int (*set_settings)(struct net_device * , struct ethtool_cmd * ) ;
6472 void (*get_drvinfo)(struct net_device * , struct ethtool_drvinfo * ) ;
6473 int (*get_regs_len)(struct net_device * ) ;
6474 void (*get_regs)(struct net_device * , struct ethtool_regs * , void * ) ;
6475 void (*get_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
6476 int (*set_wol)(struct net_device * , struct ethtool_wolinfo * ) ;
6477 u32 (*get_msglevel)(struct net_device * ) ;
6478 void (*set_msglevel)(struct net_device * , u32 ) ;
6479 int (*nway_reset)(struct net_device * ) ;
6480 u32 (*get_link)(struct net_device * ) ;
6481 int (*get_eeprom_len)(struct net_device * ) ;
6482 int (*get_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
6483 int (*set_eeprom)(struct net_device * , struct ethtool_eeprom * , u8 * ) ;
6484 int (*get_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
6485 int (*set_coalesce)(struct net_device * , struct ethtool_coalesce * ) ;
6486 void (*get_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
6487 int (*set_ringparam)(struct net_device * , struct ethtool_ringparam * ) ;
6488 void (*get_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
6489 int (*set_pauseparam)(struct net_device * , struct ethtool_pauseparam * ) ;
6490 void (*self_test)(struct net_device * , struct ethtool_test * , u64 * ) ;
6491 void (*get_strings)(struct net_device * , u32 , u8 * ) ;
6492 int (*set_phys_id)(struct net_device * , enum ethtool_phys_id_state ) ;
6493 void (*get_ethtool_stats)(struct net_device * , struct ethtool_stats * , u64 * ) ;
6494 int (*begin)(struct net_device * ) ;
6495 void (*complete)(struct net_device * ) ;
6496 u32 (*get_priv_flags)(struct net_device * ) ;
6497 int (*set_priv_flags)(struct net_device * , u32 ) ;
6498 int (*get_sset_count)(struct net_device * , int ) ;
6499 int (*get_rxnfc)(struct net_device * , struct ethtool_rxnfc * , u32 * ) ;
6500 int (*set_rxnfc)(struct net_device * , struct ethtool_rxnfc * ) ;
6501 int (*flash_device)(struct net_device * , struct ethtool_flash * ) ;
6502 int (*reset)(struct net_device * , u32 * ) ;
6503 u32 (*get_rxfh_indir_size)(struct net_device * ) ;
6504 int (*get_rxfh_indir)(struct net_device * , u32 * ) ;
6505 int (*set_rxfh_indir)(struct net_device * , u32 const * ) ;
6506 void (*get_channels)(struct net_device * , struct ethtool_channels * ) ;
6507 int (*set_channels)(struct net_device * , struct ethtool_channels * ) ;
6508 int (*get_dump_flag)(struct net_device * , struct ethtool_dump * ) ;
6509 int (*get_dump_data)(struct net_device * , struct ethtool_dump * , void * ) ;
6510 int (*set_dump)(struct net_device * , struct ethtool_dump * ) ;
6511};
6512#line 971
6513struct prot_inuse;
6514#line 971
6515struct prot_inuse;
6516#line 972 "include/linux/ethtool.h"
6517struct netns_core {
6518 struct ctl_table_header *sysctl_hdr ;
6519 int sysctl_somaxconn ;
6520 struct prot_inuse *inuse ;
6521};
6522#line 38 "include/net/snmp.h"
6523struct u64_stats_sync {
6524
6525};
6526#line 138 "include/linux/u64_stats_sync.h"
6527struct ipstats_mib {
6528 u64 mibs[31U] ;
6529 struct u64_stats_sync syncp ;
6530};
6531#line 61 "include/net/snmp.h"
6532struct icmp_mib {
6533 unsigned long mibs[27U] ;
6534};
6535#line 67 "include/net/snmp.h"
6536struct icmpmsg_mib {
6537 atomic_long_t mibs[512U] ;
6538};
6539#line 72 "include/net/snmp.h"
6540struct icmpv6_mib {
6541 unsigned long mibs[5U] ;
6542};
6543#line 83 "include/net/snmp.h"
6544struct icmpv6msg_mib {
6545 atomic_long_t mibs[512U] ;
6546};
6547#line 93 "include/net/snmp.h"
6548struct tcp_mib {
6549 unsigned long mibs[15U] ;
6550};
6551#line 100 "include/net/snmp.h"
6552struct udp_mib {
6553 unsigned long mibs[7U] ;
6554};
6555#line 106 "include/net/snmp.h"
6556struct linux_mib {
6557 unsigned long mibs[83U] ;
6558};
6559#line 112 "include/net/snmp.h"
6560struct linux_xfrm_mib {
6561 unsigned long mibs[27U] ;
6562};
6563#line 118 "include/net/snmp.h"
6564struct netns_mib {
6565 struct tcp_mib *tcp_statistics[1U] ;
6566 struct ipstats_mib *ip_statistics[1U] ;
6567 struct linux_mib *net_statistics[1U] ;
6568 struct udp_mib *udp_statistics[1U] ;
6569 struct udp_mib *udplite_statistics[1U] ;
6570 struct icmp_mib *icmp_statistics[1U] ;
6571 struct icmpmsg_mib *icmpmsg_statistics ;
6572 struct proc_dir_entry *proc_net_devsnmp6 ;
6573 struct udp_mib *udp_stats_in6[1U] ;
6574 struct udp_mib *udplite_stats_in6[1U] ;
6575 struct ipstats_mib *ipv6_statistics[1U] ;
6576 struct icmpv6_mib *icmpv6_statistics[1U] ;
6577 struct icmpv6msg_mib *icmpv6msg_statistics ;
6578 struct linux_xfrm_mib *xfrm_statistics[1U] ;
6579};
6580#line 26 "include/net/netns/mib.h"
6581struct netns_unix {
6582 int sysctl_max_dgram_qlen ;
6583 struct ctl_table_header *ctl ;
6584};
6585#line 12 "include/net/netns/unix.h"
6586struct netns_packet {
6587 spinlock_t sklist_lock ;
6588 struct hlist_head sklist ;
6589};
6590#line 14 "include/net/netns/packet.h"
6591struct netns_frags {
6592 int nqueues ;
6593 atomic_t mem ;
6594 struct list_head lru_list ;
6595 int timeout ;
6596 int high_thresh ;
6597 int low_thresh ;
6598};
6599#line 73 "include/net/inet_frag.h"
6600struct ipv4_devconf;
6601#line 73
6602struct ipv4_devconf;
6603#line 74
6604struct fib_rules_ops;
6605#line 74
6606struct fib_rules_ops;
6607#line 75
6608struct xt_table;
6609#line 75 "include/net/inet_frag.h"
6610struct netns_ipv4 {
6611 struct ctl_table_header *forw_hdr ;
6612 struct ctl_table_header *frags_hdr ;
6613 struct ctl_table_header *ipv4_hdr ;
6614 struct ctl_table_header *route_hdr ;
6615 struct ipv4_devconf *devconf_all ;
6616 struct ipv4_devconf *devconf_dflt ;
6617 struct fib_rules_ops *rules_ops ;
6618 struct hlist_head *fib_table_hash ;
6619 struct sock *fibnl ;
6620 struct sock **icmp_sk ;
6621 struct sock *tcp_sock ;
6622 struct netns_frags frags ;
6623 struct xt_table *iptable_filter ;
6624 struct xt_table *iptable_mangle ;
6625 struct xt_table *iptable_raw ;
6626 struct xt_table *arptable_filter ;
6627 struct xt_table *iptable_security ;
6628 struct xt_table *nat_table ;
6629 struct hlist_head *nat_bysource ;
6630 unsigned int nat_htable_size ;
6631 int sysctl_icmp_echo_ignore_all ;
6632 int sysctl_icmp_echo_ignore_broadcasts ;
6633 int sysctl_icmp_ignore_bogus_error_responses ;
6634 int sysctl_icmp_ratelimit ;
6635 int sysctl_icmp_ratemask ;
6636 int sysctl_icmp_errors_use_inbound_ifaddr ;
6637 int sysctl_rt_cache_rebuild_count ;
6638 int current_rt_cache_rebuild_count ;
6639 unsigned int sysctl_ping_group_range[2U] ;
6640 long sysctl_tcp_mem[3U] ;
6641 atomic_t rt_genid ;
6642 atomic_t dev_addr_genid ;
6643 struct list_head mr_tables ;
6644 struct fib_rules_ops *mr_rules_ops ;
6645};
6646#line 71 "include/net/netns/ipv4.h"
6647struct neighbour;
6648#line 71 "include/net/netns/ipv4.h"
6649struct dst_ops {
6650 unsigned short family ;
6651 __be16 protocol ;
6652 unsigned int gc_thresh ;
6653 int (*gc)(struct dst_ops * ) ;
6654 struct dst_entry *(*check)(struct dst_entry * , __u32 ) ;
6655 unsigned int (*default_advmss)(struct dst_entry const * ) ;
6656 unsigned int (*mtu)(struct dst_entry const * ) ;
6657 u32 *(*cow_metrics)(struct dst_entry * , unsigned long ) ;
6658 void (*destroy)(struct dst_entry * ) ;
6659 void (*ifdown)(struct dst_entry * , struct net_device * , int ) ;
6660 struct dst_entry *(*negative_advice)(struct dst_entry * ) ;
6661 void (*link_failure)(struct sk_buff * ) ;
6662 void (*update_pmtu)(struct dst_entry * , u32 ) ;
6663 int (*local_out)(struct sk_buff * ) ;
6664 struct neighbour *(*neigh_lookup)(struct dst_entry const * , void const * ) ;
6665 struct kmem_cache *kmem_cachep ;
6666 struct percpu_counter pcpuc_entries ;
6667};
6668#line 67 "include/net/dst_ops.h"
6669struct netns_sysctl_ipv6 {
6670 struct ctl_table_header *table ;
6671 struct ctl_table_header *frags_hdr ;
6672 int bindv6only ;
6673 int flush_delay ;
6674 int ip6_rt_max_size ;
6675 int ip6_rt_gc_min_interval ;
6676 int ip6_rt_gc_timeout ;
6677 int ip6_rt_gc_interval ;
6678 int ip6_rt_gc_elasticity ;
6679 int ip6_rt_mtu_expires ;
6680 int ip6_rt_min_advmss ;
6681 int icmpv6_time ;
6682};
6683#line 29 "include/net/netns/ipv6.h"
6684struct ipv6_devconf;
6685#line 29
6686struct rt6_info;
6687#line 29
6688struct rt6_statistics;
6689#line 29
6690struct fib6_table;
6691#line 29 "include/net/netns/ipv6.h"
6692struct netns_ipv6 {
6693 struct netns_sysctl_ipv6 sysctl ;
6694 struct ipv6_devconf *devconf_all ;
6695 struct ipv6_devconf *devconf_dflt ;
6696 struct netns_frags frags ;
6697 struct xt_table *ip6table_filter ;
6698 struct xt_table *ip6table_mangle ;
6699 struct xt_table *ip6table_raw ;
6700 struct xt_table *ip6table_security ;
6701 struct rt6_info *ip6_null_entry ;
6702 struct rt6_statistics *rt6_stats ;
6703 struct timer_list ip6_fib_timer ;
6704 struct hlist_head *fib_table_hash ;
6705 struct fib6_table *fib6_main_tbl ;
6706 struct dst_ops ip6_dst_ops ;
6707 unsigned int ip6_rt_gc_expire ;
6708 unsigned long ip6_rt_last_gc ;
6709 struct rt6_info *ip6_prohibit_entry ;
6710 struct rt6_info *ip6_blk_hole_entry ;
6711 struct fib6_table *fib6_local_tbl ;
6712 struct fib_rules_ops *fib6_rules_ops ;
6713 struct sock **icmp_sk ;
6714 struct sock *ndisc_sk ;
6715 struct sock *tcp_sk ;
6716 struct sock *igmp_sk ;
6717 struct list_head mr6_tables ;
6718 struct fib_rules_ops *mr6_rules_ops ;
6719};
6720#line 68 "include/net/netns/ipv6.h"
6721struct netns_dccp {
6722 struct sock *v4_ctl_sk ;
6723 struct sock *v6_ctl_sk ;
6724};
6725#line 46 "include/linux/proc_fs.h"
6726typedef int read_proc_t(char * , char ** , off_t , int , int * , void * );
6727#line 48 "include/linux/proc_fs.h"
6728typedef int write_proc_t(struct file * , char const * , unsigned long , void * );
6729#line 49 "include/linux/proc_fs.h"
6730struct proc_dir_entry {
6731 unsigned int low_ino ;
6732 umode_t mode ;
6733 nlink_t nlink ;
6734 uid_t uid ;
6735 gid_t gid ;
6736 loff_t size ;
6737 struct inode_operations const *proc_iops ;
6738 struct file_operations const *proc_fops ;
6739 struct proc_dir_entry *next ;
6740 struct proc_dir_entry *parent ;
6741 struct proc_dir_entry *subdir ;
6742 void *data ;
6743 read_proc_t *read_proc ;
6744 write_proc_t *write_proc ;
6745 atomic_t count ;
6746 int pde_users ;
6747 struct completion *pde_unload_completion ;
6748 struct list_head pde_openers ;
6749 spinlock_t pde_unload_lock ;
6750 u8 namelen ;
6751 char name[0U] ;
6752};
6753#line 392 "include/linux/netfilter.h"
6754struct ebt_table;
6755#line 392
6756struct ebt_table;
6757#line 393 "include/linux/netfilter.h"
6758struct netns_xt {
6759 struct list_head tables[13U] ;
6760 struct ebt_table *broute_table ;
6761 struct ebt_table *frame_filter ;
6762 struct ebt_table *frame_nat ;
6763};
6764#line 17 "include/net/netns/x_tables.h"
6765struct hlist_nulls_node;
6766#line 17 "include/net/netns/x_tables.h"
6767struct hlist_nulls_head {
6768 struct hlist_nulls_node *first ;
6769};
6770#line 20 "include/linux/list_nulls.h"
6771struct hlist_nulls_node {
6772 struct hlist_nulls_node *next ;
6773 struct hlist_nulls_node **pprev ;
6774};
6775#line 86
6776struct ip_conntrack_stat;
6777#line 86
6778struct nf_ct_event_notifier;
6779#line 86
6780struct nf_exp_event_notifier;
6781#line 86 "include/linux/list_nulls.h"
6782struct netns_ct {
6783 atomic_t count ;
6784 unsigned int expect_count ;
6785 unsigned int htable_size ;
6786 struct kmem_cache *nf_conntrack_cachep ;
6787 struct hlist_nulls_head *hash ;
6788 struct hlist_head *expect_hash ;
6789 struct hlist_nulls_head unconfirmed ;
6790 struct hlist_nulls_head dying ;
6791 struct ip_conntrack_stat *stat ;
6792 struct nf_ct_event_notifier *nf_conntrack_event_cb ;
6793 struct nf_exp_event_notifier *nf_expect_event_cb ;
6794 int sysctl_events ;
6795 unsigned int sysctl_events_retry_timeout ;
6796 int sysctl_acct ;
6797 int sysctl_tstamp ;
6798 int sysctl_checksum ;
6799 unsigned int sysctl_log_invalid ;
6800 struct ctl_table_header *sysctl_header ;
6801 struct ctl_table_header *acct_sysctl_header ;
6802 struct ctl_table_header *tstamp_sysctl_header ;
6803 struct ctl_table_header *event_sysctl_header ;
6804 char *slabname ;
6805};
6806#line 484 "include/linux/xfrm.h"
6807struct xfrm_policy_hash {
6808 struct hlist_head *table ;
6809 unsigned int hmask ;
6810};
6811#line 16 "include/net/netns/xfrm.h"
6812struct netns_xfrm {
6813 struct list_head state_all ;
6814 struct hlist_head *state_bydst ;
6815 struct hlist_head *state_bysrc ;
6816 struct hlist_head *state_byspi ;
6817 unsigned int state_hmask ;
6818 unsigned int state_num ;
6819 struct work_struct state_hash_work ;
6820 struct hlist_head state_gc_list ;
6821 struct work_struct state_gc_work ;
6822 wait_queue_head_t km_waitq ;
6823 struct list_head policy_all ;
6824 struct hlist_head *policy_byidx ;
6825 unsigned int policy_idx_hmask ;
6826 struct hlist_head policy_inexact[6U] ;
6827 struct xfrm_policy_hash policy_bydst[6U] ;
6828 unsigned int policy_count[6U] ;
6829 struct work_struct policy_hash_work ;
6830 struct sock *nlsk ;
6831 struct sock *nlsk_stash ;
6832 u32 sysctl_aevent_etime ;
6833 u32 sysctl_aevent_rseqth ;
6834 int sysctl_larval_drop ;
6835 u32 sysctl_acq_expires ;
6836 struct ctl_table_header *sysctl_hdr ;
6837 struct dst_ops xfrm4_dst_ops ;
6838 struct dst_ops xfrm6_dst_ops ;
6839};
6840#line 62
6841struct net_generic;
6842#line 62
6843struct net_generic;
6844#line 63
6845struct netns_ipvs;
6846#line 63
6847struct netns_ipvs;
6848#line 64 "include/net/netns/xfrm.h"
6849struct net {
6850 atomic_t passive ;
6851 atomic_t count ;
6852 spinlock_t rules_mod_lock ;
6853 struct list_head list ;
6854 struct list_head cleanup_list ;
6855 struct list_head exit_list ;
6856 struct proc_dir_entry *proc_net ;
6857 struct proc_dir_entry *proc_net_stat ;
6858 struct ctl_table_set sysctls ;
6859 struct sock *rtnl ;
6860 struct sock *genl_sock ;
6861 struct list_head dev_base_head ;
6862 struct hlist_head *dev_name_head ;
6863 struct hlist_head *dev_index_head ;
6864 unsigned int dev_base_seq ;
6865 struct list_head rules_ops ;
6866 struct net_device *loopback_dev ;
6867 struct netns_core core ;
6868 struct netns_mib mib ;
6869 struct netns_packet packet ;
6870 struct netns_unix unx ;
6871 struct netns_ipv4 ipv4 ;
6872 struct netns_ipv6 ipv6 ;
6873 struct netns_dccp dccp ;
6874 struct netns_xt xt ;
6875 struct netns_ct ct ;
6876 struct sock *nfnl ;
6877 struct sock *nfnl_stash ;
6878 struct sk_buff_head wext_nlevents ;
6879 struct net_generic *gen ;
6880 struct netns_xfrm xfrm ;
6881 struct netns_ipvs *ipvs ;
6882};
6883#line 105 "include/net/net_namespace.h"
6884struct seq_file {
6885 char *buf ;
6886 size_t size ;
6887 size_t from ;
6888 size_t count ;
6889 loff_t index ;
6890 loff_t read_pos ;
6891 u64 version ;
6892 struct mutex lock ;
6893 struct seq_operations const *op ;
6894 int poll_event ;
6895 void *private ;
6896};
6897#line 30 "include/linux/seq_file.h"
6898struct seq_operations {
6899 void *(*start)(struct seq_file * , loff_t * ) ;
6900 void (*stop)(struct seq_file * , void * ) ;
6901 void *(*next)(struct seq_file * , void * , loff_t * ) ;
6902 int (*show)(struct seq_file * , void * ) ;
6903};
6904#line 291 "include/net/net_namespace.h"
6905struct dsa_chip_data {
6906 struct device *mii_bus ;
6907 int sw_addr ;
6908 char *port_names[12U] ;
6909 s8 *rtable ;
6910};
6911#line 46 "include/net/dsa.h"
6912struct dsa_platform_data {
6913 struct device *netdev ;
6914 int nr_chips ;
6915 struct dsa_chip_data *chip ;
6916};
6917#line 61
6918struct dsa_switch;
6919#line 61 "include/net/dsa.h"
6920struct dsa_switch_tree {
6921 struct dsa_platform_data *pd ;
6922 struct net_device *master_netdev ;
6923 __be16 tag_protocol ;
6924 s8 cpu_switch ;
6925 s8 cpu_port ;
6926 int link_poll_needed ;
6927 struct work_struct link_poll_work ;
6928 struct timer_list link_poll_timer ;
6929 struct dsa_switch *ds[4U] ;
6930};
6931#line 94
6932struct dsa_switch_driver;
6933#line 94
6934struct mii_bus;
6935#line 94 "include/net/dsa.h"
6936struct dsa_switch {
6937 struct dsa_switch_tree *dst ;
6938 int index ;
6939 struct dsa_chip_data *pd ;
6940 struct dsa_switch_driver *drv ;
6941 struct mii_bus *master_mii_bus ;
6942 u32 dsa_port_mask ;
6943 u32 phys_port_mask ;
6944 struct mii_bus *slave_mii_bus ;
6945 struct net_device *ports[12U] ;
6946};
6947#line 146 "include/net/dsa.h"
6948struct dsa_switch_driver {
6949 struct list_head list ;
6950 __be16 tag_protocol ;
6951 int priv_size ;
6952 char *(*probe)(struct mii_bus * , int ) ;
6953 int (*setup)(struct dsa_switch * ) ;
6954 int (*set_addr)(struct dsa_switch * , u8 * ) ;
6955 int (*phy_read)(struct dsa_switch * , int , int ) ;
6956 int (*phy_write)(struct dsa_switch * , int , int , u16 ) ;
6957 void (*poll_link)(struct dsa_switch * ) ;
6958 void (*get_strings)(struct dsa_switch * , int , uint8_t * ) ;
6959 void (*get_ethtool_stats)(struct dsa_switch * , int , uint64_t * ) ;
6960 int (*get_sset_count)(struct dsa_switch * ) ;
6961};
6962#line 200 "include/net/dsa.h"
6963struct ieee_ets {
6964 __u8 willing ;
6965 __u8 ets_cap ;
6966 __u8 cbs ;
6967 __u8 tc_tx_bw[8U] ;
6968 __u8 tc_rx_bw[8U] ;
6969 __u8 tc_tsa[8U] ;
6970 __u8 prio_tc[8U] ;
6971 __u8 tc_reco_bw[8U] ;
6972 __u8 tc_reco_tsa[8U] ;
6973 __u8 reco_prio_tc[8U] ;
6974};
6975#line 69 "include/linux/dcbnl.h"
6976struct ieee_pfc {
6977 __u8 pfc_cap ;
6978 __u8 pfc_en ;
6979 __u8 mbc ;
6980 __u16 delay ;
6981 __u64 requests[8U] ;
6982 __u64 indications[8U] ;
6983};
6984#line 89 "include/linux/dcbnl.h"
6985struct cee_pg {
6986 __u8 willing ;
6987 __u8 error ;
6988 __u8 pg_en ;
6989 __u8 tcs_supported ;
6990 __u8 pg_bw[8U] ;
6991 __u8 prio_pg[8U] ;
6992};
6993#line 112 "include/linux/dcbnl.h"
6994struct cee_pfc {
6995 __u8 willing ;
6996 __u8 error ;
6997 __u8 pfc_en ;
6998 __u8 tcs_supported ;
6999};
7000#line 127 "include/linux/dcbnl.h"
7001struct dcb_app {
7002 __u8 selector ;
7003 __u8 priority ;
7004 __u16 protocol ;
7005};
7006#line 156 "include/linux/dcbnl.h"
7007struct dcb_peer_app_info {
7008 __u8 willing ;
7009 __u8 error ;
7010};
7011#line 41 "include/net/dcbnl.h"
7012struct dcbnl_rtnl_ops {
7013 int (*ieee_getets)(struct net_device * , struct ieee_ets * ) ;
7014 int (*ieee_setets)(struct net_device * , struct ieee_ets * ) ;
7015 int (*ieee_getpfc)(struct net_device * , struct ieee_pfc * ) ;
7016 int (*ieee_setpfc)(struct net_device * , struct ieee_pfc * ) ;
7017 int (*ieee_getapp)(struct net_device * , struct dcb_app * ) ;
7018 int (*ieee_setapp)(struct net_device * , struct dcb_app * ) ;
7019 int (*ieee_delapp)(struct net_device * , struct dcb_app * ) ;
7020 int (*ieee_peer_getets)(struct net_device * , struct ieee_ets * ) ;
7021 int (*ieee_peer_getpfc)(struct net_device * , struct ieee_pfc * ) ;
7022 u8 (*getstate)(struct net_device * ) ;
7023 u8 (*setstate)(struct net_device * , u8 ) ;
7024 void (*getpermhwaddr)(struct net_device * , u8 * ) ;
7025 void (*setpgtccfgtx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
7026 void (*setpgbwgcfgtx)(struct net_device * , int , u8 ) ;
7027 void (*setpgtccfgrx)(struct net_device * , int , u8 , u8 , u8 , u8 ) ;
7028 void (*setpgbwgcfgrx)(struct net_device * , int , u8 ) ;
7029 void (*getpgtccfgtx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
7030 void (*getpgbwgcfgtx)(struct net_device * , int , u8 * ) ;
7031 void (*getpgtccfgrx)(struct net_device * , int , u8 * , u8 * , u8 * , u8 * ) ;
7032 void (*getpgbwgcfgrx)(struct net_device * , int , u8 * ) ;
7033 void (*setpfccfg)(struct net_device * , int , u8 ) ;
7034 void (*getpfccfg)(struct net_device * , int , u8 * ) ;
7035 u8 (*setall)(struct net_device * ) ;
7036 u8 (*getcap)(struct net_device * , int , u8 * ) ;
7037 int (*getnumtcs)(struct net_device * , int , u8 * ) ;
7038 int (*setnumtcs)(struct net_device * , int , u8 ) ;
7039 u8 (*getpfcstate)(struct net_device * ) ;
7040 void (*setpfcstate)(struct net_device * , u8 ) ;
7041 void (*getbcncfg)(struct net_device * , int , u32 * ) ;
7042 void (*setbcncfg)(struct net_device * , int , u32 ) ;
7043 void (*getbcnrp)(struct net_device * , int , u8 * ) ;
7044 void (*setbcnrp)(struct net_device * , int , u8 ) ;
7045 u8 (*setapp)(struct net_device * , u8 , u16 , u8 ) ;
7046 u8 (*getapp)(struct net_device * , u8 , u16 ) ;
7047 u8 (*getfeatcfg)(struct net_device * , int , u8 * ) ;
7048 u8 (*setfeatcfg)(struct net_device * , int , u8 ) ;
7049 u8 (*getdcbx)(struct net_device * ) ;
7050 u8 (*setdcbx)(struct net_device * , u8 ) ;
7051 int (*peer_getappinfo)(struct net_device * , struct dcb_peer_app_info * , u16 * ) ;
7052 int (*peer_getapptable)(struct net_device * , struct dcb_app * ) ;
7053 int (*cee_peer_getpg)(struct net_device * , struct cee_pg * ) ;
7054 int (*cee_peer_getpfc)(struct net_device * , struct cee_pfc * ) ;
7055};
7056#line 101 "include/net/dcbnl.h"
7057struct taskstats {
7058 __u16 version ;
7059 __u32 ac_exitcode ;
7060 __u8 ac_flag ;
7061 __u8 ac_nice ;
7062 __u64 cpu_count ;
7063 __u64 cpu_delay_total ;
7064 __u64 blkio_count ;
7065 __u64 blkio_delay_total ;
7066 __u64 swapin_count ;
7067 __u64 swapin_delay_total ;
7068 __u64 cpu_run_real_total ;
7069 __u64 cpu_run_virtual_total ;
7070 char ac_comm[32U] ;
7071 __u8 ac_sched ;
7072 __u8 ac_pad[3U] ;
7073 __u32 ac_uid ;
7074 __u32 ac_gid ;
7075 __u32 ac_pid ;
7076 __u32 ac_ppid ;
7077 __u32 ac_btime ;
7078 __u64 ac_etime ;
7079 __u64 ac_utime ;
7080 __u64 ac_stime ;
7081 __u64 ac_minflt ;
7082 __u64 ac_majflt ;
7083 __u64 coremem ;
7084 __u64 virtmem ;
7085 __u64 hiwater_rss ;
7086 __u64 hiwater_vm ;
7087 __u64 read_char ;
7088 __u64 write_char ;
7089 __u64 read_syscalls ;
7090 __u64 write_syscalls ;
7091 __u64 read_bytes ;
7092 __u64 write_bytes ;
7093 __u64 cancelled_write_bytes ;
7094 __u64 nvcsw ;
7095 __u64 nivcsw ;
7096 __u64 ac_utimescaled ;
7097 __u64 ac_stimescaled ;
7098 __u64 cpu_scaled_run_real_total ;
7099 __u64 freepages_count ;
7100 __u64 freepages_delay_total ;
7101};
7102#line 154 "include/linux/idr.h"
7103struct cgroupfs_root;
7104#line 154
7105struct cgroupfs_root;
7106#line 156
7107struct cgroup;
7108#line 156
7109struct cgroup;
7110#line 157
7111struct css_id;
7112#line 157
7113struct css_id;
7114#line 56 "include/linux/cgroup.h"
7115struct cgroup_subsys_state {
7116 struct cgroup *cgroup ;
7117 atomic_t refcnt ;
7118 unsigned long flags ;
7119 struct css_id *id ;
7120};
7121#line 149 "include/linux/cgroup.h"
7122struct cgroup {
7123 unsigned long flags ;
7124 atomic_t count ;
7125 struct list_head sibling ;
7126 struct list_head children ;
7127 struct cgroup *parent ;
7128 struct dentry *dentry ;
7129 struct cgroup_subsys_state *subsys[64U] ;
7130 struct cgroupfs_root *root ;
7131 struct cgroup *top_cgroup ;
7132 struct list_head css_sets ;
7133 struct list_head release_list ;
7134 struct list_head pidlists ;
7135 struct mutex pidlist_mutex ;
7136 struct rcu_head rcu_head ;
7137 struct list_head event_list ;
7138 spinlock_t event_list_lock ;
7139};
7140#line 215 "include/linux/cgroup.h"
7141struct css_set {
7142 atomic_t refcount ;
7143 struct hlist_node hlist ;
7144 struct list_head tasks ;
7145 struct list_head cg_links ;
7146 struct cgroup_subsys_state *subsys[64U] ;
7147 struct rcu_head rcu_head ;
7148};
7149#line 606 "include/linux/cgroup.h"
7150struct netprio_map {
7151 struct rcu_head rcu ;
7152 u32 priomap_len ;
7153 u32 priomap[0U] ;
7154};
7155#line 74 "include/net/netprio_cgroup.h"
7156struct netpoll_info;
7157#line 74
7158struct netpoll_info;
7159#line 75
7160struct phy_device;
7161#line 75
7162struct phy_device;
7163#line 76
7164struct wireless_dev;
7165#line 76
7166struct wireless_dev;
7167#line 77
7168enum netdev_tx {
7169 __NETDEV_TX_MIN = (-0x7FFFFFFF-1),
7170 NETDEV_TX_OK = 0,
7171 NETDEV_TX_BUSY = 16,
7172 NETDEV_TX_LOCKED = 32
7173} ;
7174#line 115 "include/linux/netdevice.h"
7175typedef enum netdev_tx netdev_tx_t;
7176#line 134 "include/linux/netdevice.h"
7177struct net_device_stats {
7178 unsigned long rx_packets ;
7179 unsigned long tx_packets ;
7180 unsigned long rx_bytes ;
7181 unsigned long tx_bytes ;
7182 unsigned long rx_errors ;
7183 unsigned long tx_errors ;
7184 unsigned long rx_dropped ;
7185 unsigned long tx_dropped ;
7186 unsigned long multicast ;
7187 unsigned long collisions ;
7188 unsigned long rx_length_errors ;
7189 unsigned long rx_over_errors ;
7190 unsigned long rx_crc_errors ;
7191 unsigned long rx_frame_errors ;
7192 unsigned long rx_fifo_errors ;
7193 unsigned long rx_missed_errors ;
7194 unsigned long tx_aborted_errors ;
7195 unsigned long tx_carrier_errors ;
7196 unsigned long tx_fifo_errors ;
7197 unsigned long tx_heartbeat_errors ;
7198 unsigned long tx_window_errors ;
7199 unsigned long rx_compressed ;
7200 unsigned long tx_compressed ;
7201};
7202#line 220
7203struct neigh_parms;
7204#line 220
7205struct neigh_parms;
7206#line 240 "include/linux/netdevice.h"
7207struct netdev_hw_addr_list {
7208 struct list_head list ;
7209 int count ;
7210};
7211#line 245 "include/linux/netdevice.h"
7212struct hh_cache {
7213 u16 hh_len ;
7214 u16 __pad ;
7215 seqlock_t hh_lock ;
7216 unsigned long hh_data[16U] ;
7217};
7218#line 274 "include/linux/netdevice.h"
7219struct header_ops {
7220 int (*create)(struct sk_buff * , struct net_device * , unsigned short , void const * ,
7221 void const * , unsigned int ) ;
7222 int (*parse)(struct sk_buff const * , unsigned char * ) ;
7223 int (*rebuild)(struct sk_buff * ) ;
7224 int (*cache)(struct neighbour const * , struct hh_cache * , __be16 ) ;
7225 void (*cache_update)(struct hh_cache * , struct net_device const * , unsigned char const * ) ;
7226};
7227#line 368
7228enum rx_handler_result {
7229 RX_HANDLER_CONSUMED = 0,
7230 RX_HANDLER_ANOTHER = 1,
7231 RX_HANDLER_EXACT = 2,
7232 RX_HANDLER_PASS = 3
7233} ;
7234#line 416 "include/linux/netdevice.h"
7235typedef enum rx_handler_result rx_handler_result_t;
7236#line 417 "include/linux/netdevice.h"
7237typedef rx_handler_result_t rx_handler_func_t(struct sk_buff ** );
7238#line 525
7239struct Qdisc;
7240#line 525 "include/linux/netdevice.h"
7241struct netdev_queue {
7242 struct net_device *dev ;
7243 struct Qdisc *qdisc ;
7244 struct Qdisc *qdisc_sleeping ;
7245 struct kobject kobj ;
7246 int numa_node ;
7247 spinlock_t _xmit_lock ;
7248 int xmit_lock_owner ;
7249 unsigned long trans_start ;
7250 unsigned long trans_timeout ;
7251 unsigned long state ;
7252 struct dql dql ;
7253};
7254#line 589 "include/linux/netdevice.h"
7255struct rps_map {
7256 unsigned int len ;
7257 struct rcu_head rcu ;
7258 u16 cpus[0U] ;
7259};
7260#line 601 "include/linux/netdevice.h"
7261struct rps_dev_flow {
7262 u16 cpu ;
7263 u16 filter ;
7264 unsigned int last_qtail ;
7265};
7266#line 613 "include/linux/netdevice.h"
7267struct rps_dev_flow_table {
7268 unsigned int mask ;
7269 struct rcu_head rcu ;
7270 struct work_struct free_work ;
7271 struct rps_dev_flow flows[0U] ;
7272};
7273#line 665 "include/linux/netdevice.h"
7274struct netdev_rx_queue {
7275 struct rps_map *rps_map ;
7276 struct rps_dev_flow_table *rps_flow_table ;
7277 struct kobject kobj ;
7278 struct net_device *dev ;
7279};
7280#line 675 "include/linux/netdevice.h"
7281struct xps_map {
7282 unsigned int len ;
7283 unsigned int alloc_len ;
7284 struct rcu_head rcu ;
7285 u16 queues[0U] ;
7286};
7287#line 688 "include/linux/netdevice.h"
7288struct xps_dev_maps {
7289 struct rcu_head rcu ;
7290 struct xps_map *cpu_map[0U] ;
7291};
7292#line 699 "include/linux/netdevice.h"
7293struct netdev_tc_txq {
7294 u16 count ;
7295 u16 offset ;
7296};
7297#line 710 "include/linux/netdevice.h"
7298struct netdev_fcoe_hbainfo {
7299 char manufacturer[64U] ;
7300 char serial_number[64U] ;
7301 char hardware_version[64U] ;
7302 char driver_version[64U] ;
7303 char optionrom_version[64U] ;
7304 char firmware_version[64U] ;
7305 char model[256U] ;
7306 char model_description[256U] ;
7307};
7308#line 726 "include/linux/netdevice.h"
7309struct net_device_ops {
7310 int (*ndo_init)(struct net_device * ) ;
7311 void (*ndo_uninit)(struct net_device * ) ;
7312 int (*ndo_open)(struct net_device * ) ;
7313 int (*ndo_stop)(struct net_device * ) ;
7314 netdev_tx_t (*ndo_start_xmit)(struct sk_buff * , struct net_device * ) ;
7315 u16 (*ndo_select_queue)(struct net_device * , struct sk_buff * ) ;
7316 void (*ndo_change_rx_flags)(struct net_device * , int ) ;
7317 void (*ndo_set_rx_mode)(struct net_device * ) ;
7318 int (*ndo_set_mac_address)(struct net_device * , void * ) ;
7319 int (*ndo_validate_addr)(struct net_device * ) ;
7320 int (*ndo_do_ioctl)(struct net_device * , struct ifreq * , int ) ;
7321 int (*ndo_set_config)(struct net_device * , struct ifmap * ) ;
7322 int (*ndo_change_mtu)(struct net_device * , int ) ;
7323 int (*ndo_neigh_setup)(struct net_device * , struct neigh_parms * ) ;
7324 void (*ndo_tx_timeout)(struct net_device * ) ;
7325 struct rtnl_link_stats64 *(*ndo_get_stats64)(struct net_device * , struct rtnl_link_stats64 * ) ;
7326 struct net_device_stats *(*ndo_get_stats)(struct net_device * ) ;
7327 int (*ndo_vlan_rx_add_vid)(struct net_device * , unsigned short ) ;
7328 int (*ndo_vlan_rx_kill_vid)(struct net_device * , unsigned short ) ;
7329 void (*ndo_poll_controller)(struct net_device * ) ;
7330 int (*ndo_netpoll_setup)(struct net_device * , struct netpoll_info * ) ;
7331 void (*ndo_netpoll_cleanup)(struct net_device * ) ;
7332 int (*ndo_set_vf_mac)(struct net_device * , int , u8 * ) ;
7333 int (*ndo_set_vf_vlan)(struct net_device * , int , u16 , u8 ) ;
7334 int (*ndo_set_vf_tx_rate)(struct net_device * , int , int ) ;
7335 int (*ndo_set_vf_spoofchk)(struct net_device * , int , bool ) ;
7336 int (*ndo_get_vf_config)(struct net_device * , int , struct ifla_vf_info * ) ;
7337 int (*ndo_set_vf_port)(struct net_device * , int , struct nlattr ** ) ;
7338 int (*ndo_get_vf_port)(struct net_device * , int , struct sk_buff * ) ;
7339 int (*ndo_setup_tc)(struct net_device * , u8 ) ;
7340 int (*ndo_fcoe_enable)(struct net_device * ) ;
7341 int (*ndo_fcoe_disable)(struct net_device * ) ;
7342 int (*ndo_fcoe_ddp_setup)(struct net_device * , u16 , struct scatterlist * , unsigned int ) ;
7343 int (*ndo_fcoe_ddp_done)(struct net_device * , u16 ) ;
7344 int (*ndo_fcoe_ddp_target)(struct net_device * , u16 , struct scatterlist * ,
7345 unsigned int ) ;
7346 int (*ndo_fcoe_get_hbainfo)(struct net_device * , struct netdev_fcoe_hbainfo * ) ;
7347 int (*ndo_fcoe_get_wwn)(struct net_device * , u64 * , int ) ;
7348 int (*ndo_rx_flow_steer)(struct net_device * , struct sk_buff const * , u16 ,
7349 u32 ) ;
7350 int (*ndo_add_slave)(struct net_device * , struct net_device * ) ;
7351 int (*ndo_del_slave)(struct net_device * , struct net_device * ) ;
7352 netdev_features_t (*ndo_fix_features)(struct net_device * , netdev_features_t ) ;
7353 int (*ndo_set_features)(struct net_device * , netdev_features_t ) ;
7354 int (*ndo_neigh_construct)(struct neighbour * ) ;
7355 void (*ndo_neigh_destroy)(struct neighbour * ) ;
7356};
7357#line 1020
7358struct iw_handler_def;
7359#line 1020
7360struct iw_public_data;
7361#line 1020
7362struct vlan_info;
7363#line 1020
7364struct in_device;
7365#line 1020
7366struct dn_dev;
7367#line 1020
7368struct inet6_dev;
7369#line 1020
7370struct cpu_rmap;
7371#line 1020
7372struct pcpu_lstats;
7373#line 1020
7374struct pcpu_tstats;
7375#line 1020
7376struct pcpu_dstats;
7377#line 1020 "include/linux/netdevice.h"
7378union __anonunion_ldv_38992_256 {
7379 void *ml_priv ;
7380 struct pcpu_lstats *lstats ;
7381 struct pcpu_tstats *tstats ;
7382 struct pcpu_dstats *dstats ;
7383};
7384#line 1020
7385struct garp_port;
7386#line 1020
7387struct rtnl_link_ops;
7388#line 1020 "include/linux/netdevice.h"
7389struct net_device {
7390 char name[16U] ;
7391 struct pm_qos_request pm_qos_req ;
7392 struct hlist_node name_hlist ;
7393 char *ifalias ;
7394 unsigned long mem_end ;
7395 unsigned long mem_start ;
7396 unsigned long base_addr ;
7397 unsigned int irq ;
7398 unsigned long state ;
7399 struct list_head dev_list ;
7400 struct list_head napi_list ;
7401 struct list_head unreg_list ;
7402 netdev_features_t features ;
7403 netdev_features_t hw_features ;
7404 netdev_features_t wanted_features ;
7405 netdev_features_t vlan_features ;
7406 int ifindex ;
7407 int iflink ;
7408 struct net_device_stats stats ;
7409 atomic_long_t rx_dropped ;
7410 struct iw_handler_def const *wireless_handlers ;
7411 struct iw_public_data *wireless_data ;
7412 struct net_device_ops const *netdev_ops ;
7413 struct ethtool_ops const *ethtool_ops ;
7414 struct header_ops const *header_ops ;
7415 unsigned int flags ;
7416 unsigned int priv_flags ;
7417 unsigned short gflags ;
7418 unsigned short padded ;
7419 unsigned char operstate ;
7420 unsigned char link_mode ;
7421 unsigned char if_port ;
7422 unsigned char dma ;
7423 unsigned int mtu ;
7424 unsigned short type ;
7425 unsigned short hard_header_len ;
7426 unsigned short needed_headroom ;
7427 unsigned short needed_tailroom ;
7428 unsigned char perm_addr[32U] ;
7429 unsigned char addr_assign_type ;
7430 unsigned char addr_len ;
7431 unsigned char neigh_priv_len ;
7432 unsigned short dev_id ;
7433 spinlock_t addr_list_lock ;
7434 struct netdev_hw_addr_list uc ;
7435 struct netdev_hw_addr_list mc ;
7436 bool uc_promisc ;
7437 unsigned int promiscuity ;
7438 unsigned int allmulti ;
7439 struct vlan_info *vlan_info ;
7440 struct dsa_switch_tree *dsa_ptr ;
7441 void *atalk_ptr ;
7442 struct in_device *ip_ptr ;
7443 struct dn_dev *dn_ptr ;
7444 struct inet6_dev *ip6_ptr ;
7445 void *ec_ptr ;
7446 void *ax25_ptr ;
7447 struct wireless_dev *ieee80211_ptr ;
7448 unsigned long last_rx ;
7449 struct net_device *master ;
7450 unsigned char *dev_addr ;
7451 struct netdev_hw_addr_list dev_addrs ;
7452 unsigned char broadcast[32U] ;
7453 struct kset *queues_kset ;
7454 struct netdev_rx_queue *_rx ;
7455 unsigned int num_rx_queues ;
7456 unsigned int real_num_rx_queues ;
7457 struct cpu_rmap *rx_cpu_rmap ;
7458 rx_handler_func_t *rx_handler ;
7459 void *rx_handler_data ;
7460 struct netdev_queue *ingress_queue ;
7461 struct netdev_queue *_tx ;
7462 unsigned int num_tx_queues ;
7463 unsigned int real_num_tx_queues ;
7464 struct Qdisc *qdisc ;
7465 unsigned long tx_queue_len ;
7466 spinlock_t tx_global_lock ;
7467 struct xps_dev_maps *xps_maps ;
7468 unsigned long trans_start ;
7469 int watchdog_timeo ;
7470 struct timer_list watchdog_timer ;
7471 int *pcpu_refcnt ;
7472 struct list_head todo_list ;
7473 struct hlist_node index_hlist ;
7474 struct list_head link_watch_list ;
7475 unsigned char reg_state ;
7476 bool dismantle ;
7477 unsigned short rtnl_link_state ;
7478 void (*destructor)(struct net_device * ) ;
7479 struct netpoll_info *npinfo ;
7480 struct net *nd_net ;
7481 union __anonunion_ldv_38992_256 ldv_38992 ;
7482 struct garp_port *garp_port ;
7483 struct device dev ;
7484 struct attribute_group const *sysfs_groups[4U] ;
7485 struct rtnl_link_ops const *rtnl_link_ops ;
7486 unsigned int gso_max_size ;
7487 struct dcbnl_rtnl_ops const *dcbnl_ops ;
7488 u8 num_tc ;
7489 struct netdev_tc_txq tc_to_txq[16U] ;
7490 u8 prio_tc_map[16U] ;
7491 unsigned int fcoe_ddp_xid ;
7492 struct netprio_map *priomap ;
7493 struct phy_device *phydev ;
7494 int group ;
7495};
7496#line 832 "include/linux/rtnetlink.h"
7497struct ipv4_devconf {
7498 void *sysctl ;
7499 int data[25U] ;
7500 unsigned long state[1U] ;
7501};
7502#line 51 "include/linux/inetdevice.h"
7503struct in_ifaddr;
7504#line 51
7505struct ip_mc_list;
7506#line 51 "include/linux/inetdevice.h"
7507struct in_device {
7508 struct net_device *dev ;
7509 atomic_t refcnt ;
7510 int dead ;
7511 struct in_ifaddr *ifa_list ;
7512 struct ip_mc_list *mc_list ;
7513 int mc_count ;
7514 spinlock_t mc_tomb_lock ;
7515 struct ip_mc_list *mc_tomb ;
7516 unsigned long mr_v1_seen ;
7517 unsigned long mr_v2_seen ;
7518 unsigned long mr_maxdelay ;
7519 unsigned char mr_qrv ;
7520 unsigned char mr_gq_running ;
7521 unsigned char mr_ifc_count ;
7522 struct timer_list mr_gq_timer ;
7523 struct timer_list mr_ifc_timer ;
7524 struct neigh_parms *arp_parms ;
7525 struct ipv4_devconf cnf ;
7526 struct rcu_head rcu_head ;
7527};
7528#line 97 "include/linux/inetdevice.h"
7529struct in_ifaddr {
7530 struct hlist_node hash ;
7531 struct in_ifaddr *ifa_next ;
7532 struct in_device *ifa_dev ;
7533 struct rcu_head rcu_head ;
7534 __be32 ifa_local ;
7535 __be32 ifa_address ;
7536 __be32 ifa_mask ;
7537 __be32 ifa_broadcast ;
7538 unsigned char ifa_scope ;
7539 unsigned char ifa_flags ;
7540 unsigned char ifa_prefixlen ;
7541 char ifa_label[16U] ;
7542};
7543#line 272 "include/linux/etherdevice.h"
7544struct dvb_net {
7545 struct dvb_device *dvbdev ;
7546 struct net_device *device[10U] ;
7547 int state[10U] ;
7548 unsigned char exit : 1 ;
7549 struct dmx_demux *demux ;
7550};
7551#line 47 "drivers/media/dvb/dvb-core/dvb_net.h"
7552enum fe_type {
7553 FE_QPSK = 0,
7554 FE_QAM = 1,
7555 FE_OFDM = 2,
7556 FE_ATSC = 3
7557} ;
7558#line 36 "include/linux/dvb/frontend.h"
7559typedef enum fe_type fe_type_t;
7560#line 37
7561enum fe_caps {
7562 FE_IS_STUPID = 0,
7563 FE_CAN_INVERSION_AUTO = 1,
7564 FE_CAN_FEC_1_2 = 2,
7565 FE_CAN_FEC_2_3 = 4,
7566 FE_CAN_FEC_3_4 = 8,
7567 FE_CAN_FEC_4_5 = 16,
7568 FE_CAN_FEC_5_6 = 32,
7569 FE_CAN_FEC_6_7 = 64,
7570 FE_CAN_FEC_7_8 = 128,
7571 FE_CAN_FEC_8_9 = 256,
7572 FE_CAN_FEC_AUTO = 512,
7573 FE_CAN_QPSK = 1024,
7574 FE_CAN_QAM_16 = 2048,
7575 FE_CAN_QAM_32 = 4096,
7576 FE_CAN_QAM_64 = 8192,
7577 FE_CAN_QAM_128 = 16384,
7578 FE_CAN_QAM_256 = 32768,
7579 FE_CAN_QAM_AUTO = 65536,
7580 FE_CAN_TRANSMISSION_MODE_AUTO = 131072,
7581 FE_CAN_BANDWIDTH_AUTO = 262144,
7582 FE_CAN_GUARD_INTERVAL_AUTO = 524288,
7583 FE_CAN_HIERARCHY_AUTO = 1048576,
7584 FE_CAN_8VSB = 2097152,
7585 FE_CAN_16VSB = 4194304,
7586 FE_HAS_EXTENDED_CAPS = 8388608,
7587 FE_CAN_TURBO_FEC = 134217728,
7588 FE_CAN_2G_MODULATION = 268435456,
7589 FE_NEEDS_BENDING = 536870912,
7590 FE_CAN_RECOVER = 1073741824,
7591 FE_CAN_MUTE_TS = (-0x7FFFFFFF-1)
7592} ;
7593#line 70 "include/linux/dvb/frontend.h"
7594typedef enum fe_caps fe_caps_t;
7595#line 71 "include/linux/dvb/frontend.h"
7596struct dvb_frontend_info {
7597 char name[128U] ;
7598 fe_type_t type ;
7599 __u32 frequency_min ;
7600 __u32 frequency_max ;
7601 __u32 frequency_stepsize ;
7602 __u32 frequency_tolerance ;
7603 __u32 symbol_rate_min ;
7604 __u32 symbol_rate_max ;
7605 __u32 symbol_rate_tolerance ;
7606 __u32 notifier_delay ;
7607 fe_caps_t caps ;
7608};
7609#line 86 "include/linux/dvb/frontend.h"
7610struct dvb_diseqc_master_cmd {
7611 __u8 msg[6U] ;
7612 __u8 msg_len ;
7613};
7614#line 96 "include/linux/dvb/frontend.h"
7615struct dvb_diseqc_slave_reply {
7616 __u8 msg[4U] ;
7617 __u8 msg_len ;
7618 int timeout ;
7619};
7620#line 103
7621enum fe_sec_voltage {
7622 SEC_VOLTAGE_13 = 0,
7623 SEC_VOLTAGE_18 = 1,
7624 SEC_VOLTAGE_OFF = 2
7625} ;
7626#line 109 "include/linux/dvb/frontend.h"
7627typedef enum fe_sec_voltage fe_sec_voltage_t;
7628#line 110
7629enum fe_sec_tone_mode {
7630 SEC_TONE_ON = 0,
7631 SEC_TONE_OFF = 1
7632} ;
7633#line 115 "include/linux/dvb/frontend.h"
7634typedef enum fe_sec_tone_mode fe_sec_tone_mode_t;
7635#line 116
7636enum fe_sec_mini_cmd {
7637 SEC_MINI_A = 0,
7638 SEC_MINI_B = 1
7639} ;
7640#line 121 "include/linux/dvb/frontend.h"
7641typedef enum fe_sec_mini_cmd fe_sec_mini_cmd_t;
7642#line 122
7643enum fe_status {
7644 FE_HAS_SIGNAL = 1,
7645 FE_HAS_CARRIER = 2,
7646 FE_HAS_VITERBI = 4,
7647 FE_HAS_SYNC = 8,
7648 FE_HAS_LOCK = 16,
7649 FE_TIMEDOUT = 32,
7650 FE_REINIT = 64
7651} ;
7652#line 132 "include/linux/dvb/frontend.h"
7653typedef enum fe_status fe_status_t;
7654#line 133
7655enum fe_spectral_inversion {
7656 INVERSION_OFF = 0,
7657 INVERSION_ON = 1,
7658 INVERSION_AUTO = 2
7659} ;
7660#line 139 "include/linux/dvb/frontend.h"
7661typedef enum fe_spectral_inversion fe_spectral_inversion_t;
7662#line 140
7663enum fe_code_rate {
7664 FEC_NONE = 0,
7665 FEC_1_2 = 1,
7666 FEC_2_3 = 2,
7667 FEC_3_4 = 3,
7668 FEC_4_5 = 4,
7669 FEC_5_6 = 5,
7670 FEC_6_7 = 6,
7671 FEC_7_8 = 7,
7672 FEC_8_9 = 8,
7673 FEC_AUTO = 9,
7674 FEC_3_5 = 10,
7675 FEC_9_10 = 11
7676} ;
7677#line 155 "include/linux/dvb/frontend.h"
7678typedef enum fe_code_rate fe_code_rate_t;
7679#line 156
7680enum fe_modulation {
7681 QPSK = 0,
7682 QAM_16 = 1,
7683 QAM_32 = 2,
7684 QAM_64 = 3,
7685 QAM_128 = 4,
7686 QAM_256 = 5,
7687 QAM_AUTO = 6,
7688 VSB_8 = 7,
7689 VSB_16 = 8,
7690 PSK_8 = 9,
7691 APSK_16 = 10,
7692 APSK_32 = 11,
7693 DQPSK = 12
7694} ;
7695#line 172 "include/linux/dvb/frontend.h"
7696typedef enum fe_modulation fe_modulation_t;
7697#line 173
7698enum fe_transmit_mode {
7699 TRANSMISSION_MODE_2K = 0,
7700 TRANSMISSION_MODE_8K = 1,
7701 TRANSMISSION_MODE_AUTO = 2,
7702 TRANSMISSION_MODE_4K = 3,
7703 TRANSMISSION_MODE_1K = 4,
7704 TRANSMISSION_MODE_16K = 5,
7705 TRANSMISSION_MODE_32K = 6
7706} ;
7707#line 182 "include/linux/dvb/frontend.h"
7708typedef enum fe_transmit_mode fe_transmit_mode_t;
7709#line 183
7710enum fe_guard_interval {
7711 GUARD_INTERVAL_1_32 = 0,
7712 GUARD_INTERVAL_1_16 = 1,
7713 GUARD_INTERVAL_1_8 = 2,
7714 GUARD_INTERVAL_1_4 = 3,
7715 GUARD_INTERVAL_AUTO = 4,
7716 GUARD_INTERVAL_1_128 = 5,
7717 GUARD_INTERVAL_19_128 = 6,
7718 GUARD_INTERVAL_19_256 = 7
7719} ;
7720#line 205 "include/linux/dvb/frontend.h"
7721typedef enum fe_guard_interval fe_guard_interval_t;
7722#line 206
7723enum fe_hierarchy {
7724 HIERARCHY_NONE = 0,
7725 HIERARCHY_1 = 1,
7726 HIERARCHY_2 = 2,
7727 HIERARCHY_4 = 3,
7728 HIERARCHY_AUTO = 4
7729} ;
7730#line 214 "include/linux/dvb/frontend.h"
7731typedef enum fe_hierarchy fe_hierarchy_t;
7732#line 215
7733enum fe_pilot {
7734 PILOT_ON = 0,
7735 PILOT_OFF = 1,
7736 PILOT_AUTO = 2
7737} ;
7738#line 329 "include/linux/dvb/frontend.h"
7739typedef enum fe_pilot fe_pilot_t;
7740#line 330
7741enum fe_rolloff {
7742 ROLLOFF_35 = 0,
7743 ROLLOFF_20 = 1,
7744 ROLLOFF_25 = 2,
7745 ROLLOFF_AUTO = 3
7746} ;
7747#line 336 "include/linux/dvb/frontend.h"
7748typedef enum fe_rolloff fe_rolloff_t;
7749#line 337
7750enum fe_delivery_system {
7751 SYS_UNDEFINED = 0,
7752 SYS_DVBC_ANNEX_A = 1,
7753 SYS_DVBC_ANNEX_B = 2,
7754 SYS_DVBT = 3,
7755 SYS_DSS = 4,
7756 SYS_DVBS = 5,
7757 SYS_DVBS2 = 6,
7758 SYS_DVBH = 7,
7759 SYS_ISDBT = 8,
7760 SYS_ISDBS = 9,
7761 SYS_ISDBC = 10,
7762 SYS_ATSC = 11,
7763 SYS_ATSCMH = 12,
7764 SYS_DMBTH = 13,
7765 SYS_CMMB = 14,
7766 SYS_DAB = 15,
7767 SYS_DVBT2 = 16,
7768 SYS_TURBO = 17,
7769 SYS_DVBC_ANNEX_C = 18
7770} ;
7771#line 358 "include/linux/dvb/frontend.h"
7772typedef enum fe_delivery_system fe_delivery_system_t;
7773#line 374 "include/linux/dvb/frontend.h"
7774struct __anonstruct_buffer_261 {
7775 __u8 data[32U] ;
7776 __u32 len ;
7777 __u32 reserved1[3U] ;
7778 void *reserved2 ;
7779};
7780#line 374 "include/linux/dvb/frontend.h"
7781union __anonunion_u_260 {
7782 __u32 data ;
7783 struct __anonstruct_buffer_261 buffer ;
7784};
7785#line 374 "include/linux/dvb/frontend.h"
7786struct dtv_property {
7787 __u32 cmd ;
7788 __u32 reserved[3U] ;
7789 union __anonunion_u_260 u ;
7790 int result ;
7791};
7792#line 397 "include/linux/dvb/frontend.h"
7793struct dvb_frontend_tune_settings {
7794 int min_delay_ms ;
7795 int step_size ;
7796 int max_drift ;
7797};
7798#line 56 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7799struct dvb_tuner_info {
7800 char name[128U] ;
7801 u32 frequency_min ;
7802 u32 frequency_max ;
7803 u32 frequency_step ;
7804 u32 bandwidth_min ;
7805 u32 bandwidth_max ;
7806 u32 bandwidth_step ;
7807};
7808#line 70 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7809struct analog_parameters {
7810 unsigned int frequency ;
7811 unsigned int mode ;
7812 unsigned int audmode ;
7813 u64 std ;
7814};
7815#line 113
7816enum tuner_param {
7817 DVBFE_TUNER_FREQUENCY = 1,
7818 DVBFE_TUNER_TUNERSTEP = 2,
7819 DVBFE_TUNER_IFFREQ = 4,
7820 DVBFE_TUNER_BANDWIDTH = 8,
7821 DVBFE_TUNER_REFCLOCK = 16,
7822 DVBFE_TUNER_IQSENSE = 32,
7823 DVBFE_TUNER_DUMMY = (-0x7FFFFFFF-1)
7824} ;
7825#line 123
7826enum dvbfe_algo {
7827 DVBFE_ALGO_HW = 1,
7828 DVBFE_ALGO_SW = 2,
7829 DVBFE_ALGO_CUSTOM = 4,
7830 DVBFE_ALGO_RECOVERY = (-0x7FFFFFFF-1)
7831} ;
7832#line 130 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7833struct tuner_state {
7834 u32 frequency ;
7835 u32 tunerstep ;
7836 u32 ifreq ;
7837 u32 bandwidth ;
7838 u32 iqsense ;
7839 u32 refclock ;
7840};
7841#line 164
7842enum dvbfe_search {
7843 DVBFE_ALGO_SEARCH_SUCCESS = 1,
7844 DVBFE_ALGO_SEARCH_ASLEEP = 2,
7845 DVBFE_ALGO_SEARCH_FAILED = 4,
7846 DVBFE_ALGO_SEARCH_INVALID = 8,
7847 DVBFE_ALGO_SEARCH_AGAIN = 16,
7848 DVBFE_ALGO_SEARCH_ERROR = (-0x7FFFFFFF-1)
7849} ;
7850#line 173 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7851struct dvb_tuner_ops {
7852 struct dvb_tuner_info info ;
7853 int (*release)(struct dvb_frontend * ) ;
7854 int (*init)(struct dvb_frontend * ) ;
7855 int (*sleep)(struct dvb_frontend * ) ;
7856 int (*set_params)(struct dvb_frontend * ) ;
7857 int (*set_analog_params)(struct dvb_frontend * , struct analog_parameters * ) ;
7858 int (*calc_regs)(struct dvb_frontend * , u8 * , int ) ;
7859 int (*set_config)(struct dvb_frontend * , void * ) ;
7860 int (*get_frequency)(struct dvb_frontend * , u32 * ) ;
7861 int (*get_bandwidth)(struct dvb_frontend * , u32 * ) ;
7862 int (*get_if_frequency)(struct dvb_frontend * , u32 * ) ;
7863 int (*get_status)(struct dvb_frontend * , u32 * ) ;
7864 int (*get_rf_strength)(struct dvb_frontend * , u16 * ) ;
7865 int (*set_frequency)(struct dvb_frontend * , u32 ) ;
7866 int (*set_bandwidth)(struct dvb_frontend * , u32 ) ;
7867 int (*set_state)(struct dvb_frontend * , enum tuner_param , struct tuner_state * ) ;
7868 int (*get_state)(struct dvb_frontend * , enum tuner_param , struct tuner_state * ) ;
7869};
7870#line 236 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7871struct analog_demod_info {
7872 char *name ;
7873};
7874#line 240 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7875struct analog_demod_ops {
7876 struct analog_demod_info info ;
7877 void (*set_params)(struct dvb_frontend * , struct analog_parameters * ) ;
7878 int (*has_signal)(struct dvb_frontend * ) ;
7879 int (*get_afc)(struct dvb_frontend * ) ;
7880 void (*tuner_status)(struct dvb_frontend * ) ;
7881 void (*standby)(struct dvb_frontend * ) ;
7882 void (*release)(struct dvb_frontend * ) ;
7883 int (*i2c_gate_ctrl)(struct dvb_frontend * , int ) ;
7884 int (*set_config)(struct dvb_frontend * , void * ) ;
7885};
7886#line 257
7887struct dtv_frontend_properties;
7888#line 257
7889struct dtv_frontend_properties;
7890#line 258 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7891struct dvb_frontend_ops {
7892 struct dvb_frontend_info info ;
7893 u8 delsys[8U] ;
7894 void (*release)(struct dvb_frontend * ) ;
7895 void (*release_sec)(struct dvb_frontend * ) ;
7896 int (*init)(struct dvb_frontend * ) ;
7897 int (*sleep)(struct dvb_frontend * ) ;
7898 int (*write)(struct dvb_frontend * , u8 const * , int ) ;
7899 int (*tune)(struct dvb_frontend * , bool , unsigned int , unsigned int * , fe_status_t * ) ;
7900 enum dvbfe_algo (*get_frontend_algo)(struct dvb_frontend * ) ;
7901 int (*set_frontend)(struct dvb_frontend * ) ;
7902 int (*get_tune_settings)(struct dvb_frontend * , struct dvb_frontend_tune_settings * ) ;
7903 int (*get_frontend)(struct dvb_frontend * ) ;
7904 int (*read_status)(struct dvb_frontend * , fe_status_t * ) ;
7905 int (*read_ber)(struct dvb_frontend * , u32 * ) ;
7906 int (*read_signal_strength)(struct dvb_frontend * , u16 * ) ;
7907 int (*read_snr)(struct dvb_frontend * , u16 * ) ;
7908 int (*read_ucblocks)(struct dvb_frontend * , u32 * ) ;
7909 int (*diseqc_reset_overload)(struct dvb_frontend * ) ;
7910 int (*diseqc_send_master_cmd)(struct dvb_frontend * , struct dvb_diseqc_master_cmd * ) ;
7911 int (*diseqc_recv_slave_reply)(struct dvb_frontend * , struct dvb_diseqc_slave_reply * ) ;
7912 int (*diseqc_send_burst)(struct dvb_frontend * , fe_sec_mini_cmd_t ) ;
7913 int (*set_tone)(struct dvb_frontend * , fe_sec_tone_mode_t ) ;
7914 int (*set_voltage)(struct dvb_frontend * , fe_sec_voltage_t ) ;
7915 int (*enable_high_lnb_voltage)(struct dvb_frontend * , long ) ;
7916 int (*dishnetwork_send_legacy_command)(struct dvb_frontend * , unsigned long ) ;
7917 int (*i2c_gate_ctrl)(struct dvb_frontend * , int ) ;
7918 int (*ts_bus_ctrl)(struct dvb_frontend * , int ) ;
7919 enum dvbfe_search (*search)(struct dvb_frontend * ) ;
7920 struct dvb_tuner_ops tuner_ops ;
7921 struct analog_demod_ops analog_ops ;
7922 int (*set_property)(struct dvb_frontend * , struct dtv_property * ) ;
7923 int (*get_property)(struct dvb_frontend * , struct dtv_property * ) ;
7924};
7925#line 317 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7926struct __anonstruct_layer_262 {
7927 u8 segment_count ;
7928 fe_code_rate_t fec ;
7929 fe_modulation_t modulation ;
7930 u8 interleaving ;
7931};
7932#line 317 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7933struct dtv_frontend_properties {
7934 u32 state ;
7935 u32 frequency ;
7936 fe_modulation_t modulation ;
7937 fe_sec_voltage_t voltage ;
7938 fe_sec_tone_mode_t sectone ;
7939 fe_spectral_inversion_t inversion ;
7940 fe_code_rate_t fec_inner ;
7941 fe_transmit_mode_t transmission_mode ;
7942 u32 bandwidth_hz ;
7943 fe_guard_interval_t guard_interval ;
7944 fe_hierarchy_t hierarchy ;
7945 u32 symbol_rate ;
7946 fe_code_rate_t code_rate_HP ;
7947 fe_code_rate_t code_rate_LP ;
7948 fe_pilot_t pilot ;
7949 fe_rolloff_t rolloff ;
7950 fe_delivery_system_t delivery_system ;
7951 u8 isdbt_partial_reception ;
7952 u8 isdbt_sb_mode ;
7953 u8 isdbt_sb_subchannel ;
7954 u32 isdbt_sb_segment_idx ;
7955 u32 isdbt_sb_segment_count ;
7956 u8 isdbt_layer_enabled ;
7957 struct __anonstruct_layer_262 layer[3U] ;
7958 u32 isdbs_ts_id ;
7959 u32 dvbt2_plp_id ;
7960};
7961#line 376 "drivers/media/dvb/dvb-core/dvb_frontend.h"
7962struct dvb_frontend {
7963 struct dvb_frontend_ops ops ;
7964 struct dvb_adapter *dvb ;
7965 void *demodulator_priv ;
7966 void *tuner_priv ;
7967 void *frontend_priv ;
7968 void *sec_priv ;
7969 void *analog_demod_priv ;
7970 struct dtv_frontend_properties dtv_property_cache ;
7971 int (*callback)(void * , int , int , int ) ;
7972 int id ;
7973};
7974#line 34 "include/media/videobuf-dvb.h"
7975struct videobuf_dvb_frontends {
7976 struct list_head felist ;
7977 struct mutex lock ;
7978 struct dvb_adapter adapter ;
7979 int active_fe_id ;
7980 int gate ;
7981};
7982#line 126 "include/media/videobuf-dvb.h"
7983struct INTERFACE_INFO {
7984 u8 interrupt_index ;
7985 u8 ts1_index ;
7986 u8 ts2_index ;
7987 u8 audio_index ;
7988 u8 video_index ;
7989 u8 vanc_index ;
7990 u8 hanc_index ;
7991 u8 ir_index ;
7992};
7993#line 178 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx-pcb-cfg.h"
7994struct CONFIG_INFO {
7995 u8 config_index ;
7996 struct INTERFACE_INFO interface_info ;
7997};
7998#line 186 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx-pcb-cfg.h"
7999struct pcb_config {
8000 u8 index ;
8001 u8 type ;
8002 u8 speed ;
8003 u8 mode ;
8004 u32 ts1_source ;
8005 u32 ts2_source ;
8006 u32 analog_source ;
8007 u8 digital_index ;
8008 u8 analog_index ;
8009 u8 dif_index ;
8010 u8 external_index ;
8011 u8 config_num ;
8012 struct CONFIG_INFO hs_config_info[3U] ;
8013 struct CONFIG_INFO fs_config_info[3U] ;
8014};
8015#line 225
8016struct cx231xx;
8017#line 225
8018struct cx231xx;
8019#line 129 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8020enum cx231xx_mode {
8021 CX231XX_SUSPEND = 0,
8022 CX231XX_ANALOG_MODE = 1,
8023 CX231XX_DIGITAL_MODE = 2
8024} ;
8025#line 135
8026enum cx231xx_std_mode {
8027 CX231XX_TV_AIR = 0,
8028 CX231XX_TV_CABLE = 1
8029} ;
8030#line 146
8031struct cx231xx_buffer;
8032#line 146 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8033struct cx231xx_isoc_ctl {
8034 int max_pkt_size ;
8035 int num_bufs ;
8036 struct urb **urb ;
8037 char **transfer_buffer ;
8038 u8 cmd ;
8039 int pos ;
8040 int size ;
8041 int pktsize ;
8042 int field ;
8043 u32 tmp_buf ;
8044 int tmp_buf_len ;
8045 struct cx231xx_buffer *buf ;
8046 int nfields ;
8047 int (*isoc_copy)(struct cx231xx * , struct urb * ) ;
8048};
8049#line 181 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8050struct cx231xx_bulk_ctl {
8051 int max_pkt_size ;
8052 int num_bufs ;
8053 struct urb **urb ;
8054 char **transfer_buffer ;
8055 u8 cmd ;
8056 int pos ;
8057 int size ;
8058 int pktsize ;
8059 int field ;
8060 u32 tmp_buf ;
8061 int tmp_buf_len ;
8062 struct cx231xx_buffer *buf ;
8063 int nfields ;
8064 int (*bulk_copy)(struct cx231xx * , struct urb * ) ;
8065};
8066#line 215 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8067struct cx231xx_fmt {
8068 char *name ;
8069 u32 fourcc ;
8070 int depth ;
8071 int reg ;
8072};
8073#line 222 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8074struct cx231xx_buffer {
8075 struct videobuf_buffer vb ;
8076 struct list_head frame ;
8077 int top_field ;
8078 int receiving ;
8079};
8080#line 232
8081enum ps_package_head {
8082 CX231XX_NEED_ADD_PS_PACKAGE_HEAD = 0,
8083 CX231XX_NONEED_PS_PACKAGE_HEAD = 1
8084} ;
8085#line 237 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8086struct cx231xx_dmaqueue {
8087 struct list_head active ;
8088 struct list_head queued ;
8089 wait_queue_head_t wq ;
8090 int pos ;
8091 u8 is_partial_line ;
8092 u8 partial_buf[8U] ;
8093 u8 last_sav ;
8094 int current_field ;
8095 u32 bytes_left_in_line ;
8096 u32 lines_completed ;
8097 u8 field1_done ;
8098 u32 lines_per_field ;
8099 u8 *p_left_data ;
8100 u32 left_data_count ;
8101 u8 mpeg_buffer_done ;
8102 u32 mpeg_buffer_completed ;
8103 enum ps_package_head add_ps_package_head ;
8104 char ps_head[10U] ;
8105};
8106#line 263
8107enum cx231xx_itype {
8108 CX231XX_VMUX_COMPOSITE1 = 1,
8109 CX231XX_VMUX_SVIDEO = 2,
8110 CX231XX_VMUX_TELEVISION = 3,
8111 CX231XX_VMUX_CABLE = 4,
8112 CX231XX_RADIO = 5,
8113 CX231XX_VMUX_DVB = 6,
8114 CX231XX_VMUX_DEBUG = 7
8115} ;
8116#line 286
8117enum cx231xx_amux {
8118 CX231XX_AMUX_VIDEO = 0,
8119 CX231XX_AMUX_LINE_IN = 1
8120} ;
8121#line 291 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8122struct cx231xx_reg_seq {
8123 unsigned char bit ;
8124 unsigned char val ;
8125 int sleep ;
8126};
8127#line 303 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8128struct cx231xx_input {
8129 enum cx231xx_itype type ;
8130 unsigned int vmux ;
8131 enum cx231xx_amux amux ;
8132 struct cx231xx_reg_seq *gpio ;
8133};
8134#line 310
8135enum cx231xx_decoder {
8136 CX231XX_NODECODER = 0,
8137 CX231XX_AVDECODER = 1
8138} ;
8139#line 322 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8140struct cx231xx_board {
8141 char *name ;
8142 int vchannels ;
8143 int tuner_type ;
8144 int tuner_addr ;
8145 v4l2_std_id norm ;
8146 int demod_addr ;
8147 u8 demod_xfer_mode ;
8148 struct cx231xx_reg_seq *dvb_gpio ;
8149 struct cx231xx_reg_seq *suspend_gpio ;
8150 struct cx231xx_reg_seq *tuner_gpio ;
8151 s8 tuner_sif_gpio ;
8152 s8 tuner_scl_gpio ;
8153 s8 tuner_sda_gpio ;
8154 u32 ctl_pin_status_mask ;
8155 u8 agc_analog_digital_select_gpio ;
8156 u32 gpio_pin_status_mask ;
8157 u8 tuner_i2c_master ;
8158 u8 demod_i2c_master ;
8159 u8 ir_i2c_master ;
8160 char *rc_map_name ;
8161 unsigned char max_range_640_480 : 1 ;
8162 unsigned char has_dvb : 1 ;
8163 unsigned char has_417 : 1 ;
8164 unsigned char valid : 1 ;
8165 unsigned char no_alt_vanc : 1 ;
8166 unsigned char external_av : 1 ;
8167 unsigned char dont_use_port_3 : 1 ;
8168 unsigned char xclk ;
8169 unsigned char i2c_speed ;
8170 enum cx231xx_decoder decoder ;
8171 int output_mode ;
8172 struct cx231xx_input input[4U] ;
8173 struct cx231xx_input radio ;
8174 struct rc_map *ir_codes ;
8175};
8176#line 375
8177enum cx231xx_dev_state {
8178 DEV_INITIALIZED = 1,
8179 DEV_DISCONNECTED = 2
8180} ;
8181#line 380
8182enum AFE_MODE {
8183 AFE_MODE_LOW_IF = 0,
8184 AFE_MODE_BASEBAND = 1,
8185 AFE_MODE_EU_HI_IF = 2,
8186 AFE_MODE_US_HI_IF = 3,
8187 AFE_MODE_JAPAN_HI_IF = 4
8188} ;
8189#line 396
8190struct snd_pcm_substream;
8191#line 396
8192struct snd_card;
8193#line 396 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8194struct cx231xx_audio {
8195 char name[50U] ;
8196 char *transfer_buffer[5U] ;
8197 struct urb *urb[5U] ;
8198 struct usb_device *udev ;
8199 unsigned int capture_transfer_done ;
8200 struct snd_pcm_substream *capture_pcm_substream ;
8201 unsigned int hwptr_done_capture ;
8202 struct snd_card *sndcard ;
8203 int users ;
8204 int shutdown ;
8205 spinlock_t slock ;
8206 int alt ;
8207 int max_pkt_size ;
8208 int num_alt ;
8209 unsigned int *alt_max_pkt_size ;
8210 u16 end_point_addr ;
8211};
8212#line 461 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8213struct cx231xx_i2c {
8214 struct cx231xx *dev ;
8215 int nr ;
8216 struct i2c_adapter i2c_adap ;
8217 struct i2c_algo_bit_data i2c_algo ;
8218 struct i2c_client i2c_client ;
8219 u32 i2c_rc ;
8220 u8 i2c_period ;
8221 u8 i2c_nostop ;
8222 u8 i2c_reserve ;
8223};
8224#line 493 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8225struct cx231xx_i2c_xfer_data {
8226 u8 dev_addr ;
8227 u8 direction ;
8228 u8 saddr_len ;
8229 u16 saddr_dat ;
8230 u8 buf_size ;
8231 u8 *p_buffer ;
8232};
8233#line 512 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8234struct cx231xx_tvnorm {
8235 char *name ;
8236 v4l2_std_id id ;
8237 u32 cxiformat ;
8238 u32 cxoformat ;
8239};
8240#line 537 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8241struct cx231xx_video_mode {
8242 struct cx231xx_dmaqueue vidq ;
8243 struct cx231xx_isoc_ctl isoc_ctl ;
8244 struct cx231xx_bulk_ctl bulk_ctl ;
8245 spinlock_t slock ;
8246 int alt ;
8247 int max_pkt_size ;
8248 int num_alt ;
8249 unsigned int *alt_max_pkt_size ;
8250 u16 end_point_addr ;
8251};
8252#line 553 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8253struct cx231xx_tsport {
8254 struct cx231xx *dev ;
8255 int nr ;
8256 int sram_chno ;
8257 struct videobuf_dvb_frontends frontends ;
8258 u32 ts_packet_size ;
8259 u32 ts_packet_count ;
8260 int width ;
8261 int height ;
8262 spinlock_t slock ;
8263 u32 reg_gpcnt ;
8264 u32 reg_gpcnt_ctl ;
8265 u32 reg_dma_ctl ;
8266 u32 reg_lngth ;
8267 u32 reg_hw_sop_ctrl ;
8268 u32 reg_gen_ctrl ;
8269 u32 reg_bd_pkt_status ;
8270 u32 reg_sop_status ;
8271 u32 reg_fifo_ovfl_stat ;
8272 u32 reg_vld_misc ;
8273 u32 reg_ts_clk_en ;
8274 u32 reg_ts_int_msk ;
8275 u32 reg_ts_int_stat ;
8276 u32 reg_src_sel ;
8277 int pci_irqmask ;
8278 u32 dma_ctl_val ;
8279 u32 ts_int_msk_val ;
8280 u32 gen_ctrl_val ;
8281 u32 ts_clk_en_val ;
8282 u32 src_sel_val ;
8283 u32 vld_misc_val ;
8284 u32 hw_sop_ctrl_val ;
8285 u32 num_frontends ;
8286 void *port_priv ;
8287};
8288#line 611
8289struct cx231xx_dvb;
8290#line 611 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8291struct cx231xx {
8292 char name[30U] ;
8293 int model ;
8294 int devno ;
8295 struct cx231xx_board board ;
8296 struct IR_i2c_init_data init_data ;
8297 struct i2c_client *ir_i2c_client ;
8298 unsigned char stream_on : 1 ;
8299 unsigned char vbi_stream_on : 1 ;
8300 unsigned char has_audio_class : 1 ;
8301 unsigned char has_alsa_audio : 1 ;
8302 struct cx231xx_fmt *format ;
8303 struct v4l2_device v4l2_dev ;
8304 struct v4l2_subdev *sd_cx25840 ;
8305 struct v4l2_subdev *sd_tuner ;
8306 struct work_struct wq_trigger ;
8307 atomic_t stream_started ;
8308 struct list_head devlist ;
8309 int tuner_type ;
8310 int tuner_addr ;
8311 struct cx231xx_i2c i2c_bus[3U] ;
8312 unsigned char xc_fw_load_done : 1 ;
8313 struct mutex gpio_i2c_lock ;
8314 struct mutex i2c_lock ;
8315 int users ;
8316 struct video_device *vdev ;
8317 v4l2_std_id norm ;
8318 int ctl_freq ;
8319 unsigned int ctl_ainput ;
8320 int mute ;
8321 int volume ;
8322 int width ;
8323 int height ;
8324 int interlaced ;
8325 struct cx231xx_audio adev ;
8326 enum cx231xx_dev_state state ;
8327 struct work_struct request_module_wk ;
8328 struct mutex lock ;
8329 struct mutex ctrl_urb_lock ;
8330 struct list_head inqueue ;
8331 struct list_head outqueue ;
8332 wait_queue_head_t open ;
8333 wait_queue_head_t wait_frame ;
8334 wait_queue_head_t wait_stream ;
8335 struct video_device *vbi_dev ;
8336 struct video_device *radio_dev ;
8337 unsigned char eedata[256U] ;
8338 struct cx231xx_video_mode video_mode ;
8339 struct cx231xx_video_mode vbi_mode ;
8340 struct cx231xx_video_mode sliced_cc_mode ;
8341 struct cx231xx_video_mode ts1_mode ;
8342 atomic_t devlist_count ;
8343 struct usb_device *udev ;
8344 char urb_buf[80U] ;
8345 int (*cx231xx_read_ctrl_reg)(struct cx231xx * , u8 , u16 , char * , int ) ;
8346 int (*cx231xx_write_ctrl_reg)(struct cx231xx * , u8 , u16 , char * , int ) ;
8347 int (*cx231xx_send_usb_command)(struct cx231xx_i2c * , struct cx231xx_i2c_xfer_data * ) ;
8348 int (*cx231xx_gpio_i2c_read)(struct cx231xx * , u8 , u8 * , u8 ) ;
8349 int (*cx231xx_gpio_i2c_write)(struct cx231xx * , u8 , u8 * , u8 ) ;
8350 int (*cx231xx_set_analog_freq)(struct cx231xx * , u32 ) ;
8351 int (*cx231xx_reset_analog_tuner)(struct cx231xx * ) ;
8352 enum cx231xx_mode mode ;
8353 struct cx231xx_dvb *dvb ;
8354 struct pcb_config current_pcb_config ;
8355 u8 current_scenario_idx ;
8356 u8 interface_count ;
8357 u8 max_iad_interface_count ;
8358 u32 gpio_dir ;
8359 u32 gpio_val ;
8360 int power_mode ;
8361 enum AFE_MODE afe_mode ;
8362 u32 afe_ref_count ;
8363 u32 video_input ;
8364 u32 active_mode ;
8365 u8 vbi_or_sliced_cc_mode ;
8366 enum cx231xx_std_mode std_mode ;
8367 u8 mode_tv ;
8368 u8 USE_ISO ;
8369 struct cx231xx_tvnorm encodernorm ;
8370 struct cx231xx_tsport ts1 ;
8371 struct cx231xx_tsport ts2 ;
8372 struct cx2341x_mpeg_params mpeg_params ;
8373 struct video_device *v4l_device ;
8374 atomic_t v4l_reader_count ;
8375 u32 freq ;
8376 unsigned int input ;
8377 u32 cx23417_mailbox ;
8378 u32 *lmmio ;
8379 u8 *bmmio ;
8380};
8381#line 751 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8382struct cx231xx_ops {
8383 struct list_head next ;
8384 char *name ;
8385 int id ;
8386 int (*init)(struct cx231xx * ) ;
8387 int (*fini)(struct cx231xx * ) ;
8388};
8389#line 47 "include/linux/firmware.h"
8390struct xc5000_config {
8391 u8 i2c_address ;
8392 u32 if_khz ;
8393 u8 radio_input ;
8394 u32 xtal_khz ;
8395 int chip_id ;
8396};
8397#line 62 "drivers/media/common/tuners/xc5000.h"
8398struct s5h1432_config {
8399 u8 output_mode ;
8400 u8 gpio ;
8401 u16 mpeg_timing ;
8402 u16 qam_if ;
8403 u16 vsb_if ;
8404 u8 inversion ;
8405 u8 status_mode ;
8406};
8407#line 80 "drivers/media/dvb/frontends/s5h1432.h"
8408struct tda18271_std_map_item {
8409 u16 if_freq ;
8410 unsigned char agc_mode : 2 ;
8411 unsigned char std : 3 ;
8412 unsigned char fm_rfn : 1 ;
8413 unsigned char if_lvl : 3 ;
8414 unsigned char rfagc_top : 7 ;
8415};
8416#line 41 "drivers/media/common/tuners/tda18271.h"
8417struct tda18271_std_map {
8418 struct tda18271_std_map_item fm_radio ;
8419 struct tda18271_std_map_item atv_b ;
8420 struct tda18271_std_map_item atv_dk ;
8421 struct tda18271_std_map_item atv_gh ;
8422 struct tda18271_std_map_item atv_i ;
8423 struct tda18271_std_map_item atv_l ;
8424 struct tda18271_std_map_item atv_lc ;
8425 struct tda18271_std_map_item atv_mn ;
8426 struct tda18271_std_map_item atsc_6 ;
8427 struct tda18271_std_map_item dvbt_6 ;
8428 struct tda18271_std_map_item dvbt_7 ;
8429 struct tda18271_std_map_item dvbt_8 ;
8430 struct tda18271_std_map_item qam_6 ;
8431 struct tda18271_std_map_item qam_7 ;
8432 struct tda18271_std_map_item qam_8 ;
8433};
8434#line 59
8435enum tda18271_role {
8436 TDA18271_MASTER = 0,
8437 TDA18271_SLAVE = 1
8438} ;
8439#line 64
8440enum tda18271_i2c_gate {
8441 TDA18271_GATE_AUTO = 0,
8442 TDA18271_GATE_ANALOG = 1,
8443 TDA18271_GATE_DIGITAL = 2
8444} ;
8445#line 70
8446enum tda18271_output_options {
8447 TDA18271_OUTPUT_LT_XT_ON = 0,
8448 TDA18271_OUTPUT_LT_OFF = 1,
8449 TDA18271_OUTPUT_XT_OFF = 2
8450} ;
8451#line 76
8452enum tda18271_small_i2c {
8453 TDA18271_39_BYTE_CHUNK_INIT = 0,
8454 TDA18271_16_BYTE_CHUNK_INIT = 16,
8455 TDA18271_08_BYTE_CHUNK_INIT = 8,
8456 TDA18271_03_BYTE_CHUNK_INIT = 3
8457} ;
8458#line 83 "drivers/media/common/tuners/tda18271.h"
8459struct tda18271_config {
8460 struct tda18271_std_map *std_map ;
8461 enum tda18271_role role ;
8462 enum tda18271_i2c_gate gate ;
8463 enum tda18271_output_options output_opt ;
8464 enum tda18271_small_i2c small_i2c ;
8465 unsigned char rf_cal_on_startup : 1 ;
8466 unsigned int config ;
8467};
8468#line 121 "drivers/media/common/tuners/tda18271.h"
8469struct s5h1411_config {
8470 u8 output_mode ;
8471 u8 gpio ;
8472 u16 mpeg_timing ;
8473 u16 qam_if ;
8474 u16 vsb_if ;
8475 u8 inversion ;
8476 u8 status_mode ;
8477};
8478#line 74 "drivers/media/dvb/frontends/s5h1411.h"
8479enum lgdt3305_mpeg_mode {
8480 LGDT3305_MPEG_PARALLEL = 0,
8481 LGDT3305_MPEG_SERIAL = 1
8482} ;
8483#line 79
8484enum lgdt3305_tp_clock_edge {
8485 LGDT3305_TPCLK_RISING_EDGE = 0,
8486 LGDT3305_TPCLK_FALLING_EDGE = 1
8487} ;
8488#line 84
8489enum lgdt3305_tp_valid_polarity {
8490 LGDT3305_TP_VALID_LOW = 0,
8491 LGDT3305_TP_VALID_HIGH = 1
8492} ;
8493#line 89
8494enum lgdt_demod_chip_type {
8495 LGDT3305 = 0,
8496 LGDT3304 = 1
8497} ;
8498#line 94 "drivers/media/dvb/frontends/s5h1411.h"
8499struct lgdt3305_config {
8500 u8 i2c_addr ;
8501 u16 qam_if_khz ;
8502 u16 vsb_if_khz ;
8503 u16 usref_8vsb ;
8504 u16 usref_qam64 ;
8505 u16 usref_qam256 ;
8506 unsigned char deny_i2c_rptr : 1 ;
8507 unsigned char spectral_inversion : 1 ;
8508 unsigned char rf_agc_loop : 1 ;
8509 enum lgdt3305_mpeg_mode mpeg_mode ;
8510 enum lgdt3305_tp_clock_edge tpclk_edge ;
8511 enum lgdt3305_tp_valid_polarity tpvalid_polarity ;
8512 enum lgdt_demod_chip_type demod_chip ;
8513};
8514#line 80 "drivers/media/dvb/frontends/lgdt3305.h"
8515struct mb86a20s_config {
8516 u8 demod_address ;
8517 bool is_serial ;
8518};
8519#line 61 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8520struct cx231xx_dvb {
8521 struct dvb_frontend *frontend ;
8522 struct mutex lock ;
8523 int nfeeds ;
8524 struct dvb_adapter adapter ;
8525 struct dvb_demux demux ;
8526 struct dmxdev dmxdev ;
8527 struct dmx_frontend fe_hw ;
8528 struct dmx_frontend fe_mem ;
8529 struct dvb_net net ;
8530};
8531#line 2
8532void ldv_spin_lock(void) ;
8533#line 3
8534void ldv_spin_unlock(void) ;
8535#line 4
8536int ldv_spin_trylock(void) ;
8537#line 101 "include/linux/printk.h"
8538extern int printk(char const * , ...) ;
8539#line 115 "include/linux/mutex.h"
8540extern void __mutex_init(struct mutex * , char const * , struct lock_class_key * ) ;
8541#line 134
8542extern void mutex_lock_nested(struct mutex * , unsigned int ) ;
8543#line 169
8544extern void mutex_unlock(struct mutex * ) ;
8545#line 36 "include/linux/kmod.h"
8546extern int __request_module(bool , char const * , ...) ;
8547#line 26 "include/linux/export.h"
8548extern struct module __this_module ;
8549#line 188 "include/linux/module.h"
8550extern void *__symbol_get(char const * ) ;
8551#line 447
8552extern void __symbol_put(char const * ) ;
8553#line 161 "include/linux/slab.h"
8554extern void kfree(void const * ) ;
8555#line 220 "include/linux/slub_def.h"
8556extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t ) ;
8557#line 223
8558void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
8559#line 353 "include/linux/slab.h"
8560__inline static void *kzalloc(size_t size , gfp_t flags ) ;
8561#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8562extern void *__VERIFIER_nondet_pointer(void) ;
8563#line 11
8564void ldv_check_alloc_flags(gfp_t flags ) ;
8565#line 12
8566void ldv_check_alloc_nonatomic(void) ;
8567#line 14
8568struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
8569#line 482 "include/linux/i2c.h"
8570__inline static int i2c_adapter_id(struct i2c_adapter *adap )
8571{ unsigned long __cil_tmp2 ;
8572 unsigned long __cil_tmp3 ;
8573
8574 {
8575 {
8576#line 484
8577 __cil_tmp2 = (unsigned long )adap;
8578#line 484
8579 __cil_tmp3 = __cil_tmp2 + 1328;
8580#line 484
8581 return (*((int *)__cil_tmp3));
8582 }
8583}
8584}
8585#line 125 "drivers/media/dvb/dvb-core/dvbdev.h"
8586extern int dvb_register_adapter(struct dvb_adapter * , char const * , struct module * ,
8587 struct device * , short * ) ;
8588#line 128
8589extern int dvb_unregister_adapter(struct dvb_adapter * ) ;
8590#line 115 "drivers/media/dvb/dvb-core/dmxdev.h"
8591extern int dvb_dmxdev_init(struct dmxdev * , struct dvb_adapter * ) ;
8592#line 116
8593extern void dvb_dmxdev_release(struct dmxdev * ) ;
8594#line 141 "drivers/media/dvb/dvb-core/dvb_demux.h"
8595extern int dvb_dmx_init(struct dvb_demux * ) ;
8596#line 142
8597extern void dvb_dmx_release(struct dvb_demux * ) ;
8598#line 145
8599extern void dvb_dmx_swfilter(struct dvb_demux * , u8 const * , size_t ) ;
8600#line 591 "include/linux/skbuff.h"
8601extern struct sk_buff *skb_clone(struct sk_buff * , gfp_t ) ;
8602#line 595
8603struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
8604#line 597
8605extern struct sk_buff *skb_copy(struct sk_buff const * , gfp_t ) ;
8606#line 601
8607struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
8608#line 606
8609extern int pskb_expand_head(struct sk_buff * , int , int , gfp_t ) ;
8610#line 611
8611int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
8612 gfp_t ldv_func_arg4 ) ;
8613#line 1690
8614extern struct sk_buff *__netdev_alloc_skb(struct net_device * , unsigned int , gfp_t ) ;
8615#line 1694
8616struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
8617 gfp_t ldv_func_arg3 ) ;
8618#line 1698
8619struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
8620 gfp_t ldv_func_arg3 ) ;
8621#line 45 "drivers/media/dvb/dvb-core/dvb_net.h"
8622extern void dvb_net_release(struct dvb_net * ) ;
8623#line 46
8624extern int dvb_net_init(struct dvb_adapter * , struct dvb_net * , struct dmx_demux * ) ;
8625#line 392 "drivers/media/dvb/dvb-core/dvb_frontend.h"
8626extern int dvb_register_frontend(struct dvb_adapter * , struct dvb_frontend * ) ;
8627#line 395
8628extern int dvb_unregister_frontend(struct dvb_frontend * ) ;
8629#line 397
8630extern void dvb_frontend_detach(struct dvb_frontend * ) ;
8631#line 768 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/drivers/media/video/cx231xx/cx231xx.h"
8632int cx231xx_set_analog_freq(struct cx231xx *dev , u32 freq ) ;
8633#line 769
8634int cx231xx_reset_analog_tuner(struct cx231xx *dev ) ;
8635#line 893
8636extern int cx231xx_set_alt_setting(struct cx231xx * , u8 , u8 ) ;
8637#line 896
8638extern int cx231xx_init_isoc(struct cx231xx * , int , int , int , int (*)(struct cx231xx * ,
8639 struct urb * ) ) ;
8640#line 900
8641extern int cx231xx_init_bulk(struct cx231xx * , int , int , int , int (*)(struct cx231xx * ,
8642 struct urb * ) ) ;
8643#line 906
8644extern void cx231xx_uninit_isoc(struct cx231xx * ) ;
8645#line 907
8646extern void cx231xx_uninit_bulk(struct cx231xx * ) ;
8647#line 908
8648extern int cx231xx_set_mode(struct cx231xx * , enum cx231xx_mode ) ;
8649#line 913
8650extern int cx231xx_demod_reset(struct cx231xx * ) ;
8651#line 945
8652extern int cx231xx_enable_i2c_port_3(struct cx231xx * , bool ) ;
8653#line 955
8654extern int cx231xx_register_extension(struct cx231xx_ops * ) ;
8655#line 956
8656extern void cx231xx_unregister_extension(struct cx231xx_ops * ) ;
8657#line 966
8658extern int cx231xx_tuner_callback(void * , int , int , int ) ;
8659#line 56 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8660static unsigned int debug ;
8661#line 60 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8662static short adapter_nr[8U] =
8663#line 60
8664 { (short)-1, (short)-1, (short)-1, (short)-1,
8665 (short)-1, (short)-1, (short)-1, (short)-1};
8666#line 87 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8667static struct s5h1432_config dvico_s5h1432_config = {(u8 )1U, (u8 )1U, (u16 )1U, (u16 )4000U, (u16 )4000U, (u8 )0U, (u8 )1U};
8668#line 97 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8669static struct tda18271_std_map cnxt_rde253s_tda18271_std_map =
8670#line 97
8671 {{(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8672 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8673 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8674 (unsigned char)0, (unsigned char)0,
8675 (unsigned char)0, (unsigned char)0,
8676 (unsigned char)0},
8677 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8678 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8679 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8680 (unsigned char)0, (unsigned char)0,
8681 (unsigned char)0, (unsigned char)0,
8682 (unsigned char)0},
8683 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8684 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8685 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8686 (unsigned char)0, (unsigned char)0,
8687 (unsigned char)0, (unsigned char)0,
8688 (unsigned char)0},
8689 {(u16 )4000U, (unsigned char)3, (unsigned char)4, (unsigned char)0, (unsigned char)1,
8690 (unsigned char)55}, {(u16 )4000U, (unsigned char)3, (unsigned char)5, (unsigned char)0,
8691 (unsigned char)1, (unsigned char)55}, {(u16 )4000U, (unsigned char)3,
8692 (unsigned char)6,
8693 (unsigned char)0,
8694 (unsigned char)1,
8695 (unsigned char)55},
8696 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8697 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8698 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8699 (unsigned char)0, (unsigned char)0,
8700 (unsigned char)0, (unsigned char)0,
8701 (unsigned char)0}};
8702#line 106 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8703static struct tda18271_std_map mb86a20s_tda18271_config =
8704#line 106
8705 {{(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8706 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8707 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8708 (unsigned char)0, (unsigned char)0,
8709 (unsigned char)0, (unsigned char)0,
8710 (unsigned char)0},
8711 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8712 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8713 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8714 (unsigned char)0, (unsigned char)0,
8715 (unsigned char)0, (unsigned char)0,
8716 (unsigned char)0},
8717 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8718 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8719 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8720 (unsigned char)0, (unsigned char)0,
8721 (unsigned char)0, (unsigned char)0,
8722 (unsigned char)0},
8723 {(u16 )3300U, (unsigned char)3, (unsigned char)4, (unsigned char)0, (unsigned char)7,
8724 (unsigned char)55}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8725 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8726 (unsigned char)0,
8727 (unsigned char)0,
8728 (unsigned char)0,
8729 (unsigned char)0,
8730 (unsigned char)0},
8731 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8732 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8733 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8734 (unsigned char)0, (unsigned char)0,
8735 (unsigned char)0, (unsigned char)0,
8736 (unsigned char)0}};
8737#line 111 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8738static struct tda18271_config cnxt_rde253s_tunerconfig = {& cnxt_rde253s_tda18271_std_map, 0, (enum tda18271_i2c_gate )1, 0, 0, (unsigned char)0,
8739 0U};
8740#line 116 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8741static struct s5h1411_config tda18271_s5h1411_config = {(u8 )1U, (u8 )0U, (u16 )1U, (u16 )4000U, (u16 )3250U, (u8 )1U, (u8 )1U};
8742#line 125 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8743static struct s5h1411_config xc5000_s5h1411_config = {(u8 )1U, (u8 )0U, (u16 )1U, (u16 )3250U, (u16 )3250U, (u8 )0U, (u8 )1U};
8744#line 135 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8745static struct lgdt3305_config hcw_lgdt3305_config =
8746#line 135
8747 {(u8 )14U, (u16 )4000U, (u16 )3250U, (unsigned short)0, (unsigned short)0, (unsigned short)0,
8748 (unsigned char)1, (unsigned char)1, (unsigned char)0, (enum lgdt3305_mpeg_mode )1,
8749 (enum lgdt3305_tp_clock_edge )1, (enum lgdt3305_tp_valid_polarity )1, 0};
8750#line 146 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8751static struct tda18271_std_map hauppauge_tda18271_std_map =
8752#line 146
8753 {{(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8754 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8755 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8756 (unsigned char)0, (unsigned char)0,
8757 (unsigned char)0, (unsigned char)0,
8758 (unsigned char)0},
8759 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8760 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8761 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8762 (unsigned char)0, (unsigned char)0,
8763 (unsigned char)0, (unsigned char)0,
8764 (unsigned char)0},
8765 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8766 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8767 (unsigned char)0, (unsigned char)0}, {(u16 )3250U, (unsigned char)3,
8768 (unsigned char)4, (unsigned char)0,
8769 (unsigned char)1, (unsigned char)88},
8770 {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8771 (unsigned char)0}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8772 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8773 (unsigned char)0, (unsigned char)0,
8774 (unsigned char)0, (unsigned char)0,
8775 (unsigned char)0},
8776 {(u16 )4000U, (unsigned char)3, (unsigned char)5, (unsigned char)0, (unsigned char)1,
8777 (unsigned char)88}, {(unsigned short)0, (unsigned char)0, (unsigned char)0, (unsigned char)0,
8778 (unsigned char)0, (unsigned char)0}, {(unsigned short)0,
8779 (unsigned char)0,
8780 (unsigned char)0,
8781 (unsigned char)0,
8782 (unsigned char)0,
8783 (unsigned char)0}};
8784#line 153 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8785static struct tda18271_config hcw_tda18271_config = {& hauppauge_tda18271_std_map, 0, (enum tda18271_i2c_gate )2, 0, 0, (unsigned char)0,
8786 0U};
8787#line 158 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8788static struct mb86a20s_config const pv_mb86a20s_config = {(u8 )16U, (bool )1};
8789#line 163 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8790static struct tda18271_config pv_tda18271_config = {& mb86a20s_tda18271_config, 0, (enum tda18271_i2c_gate )2, 0, (enum tda18271_small_i2c )3,
8791 (unsigned char)0, 0U};
8792#line 169 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8793__inline static void print_err_status(struct cx231xx *dev , int packet , int status )
8794{ char *errmsg ;
8795 unsigned int *__cil_tmp5 ;
8796 unsigned int __cil_tmp6 ;
8797 char (*__cil_tmp7)[30U] ;
8798 char *__cil_tmp8 ;
8799 unsigned int *__cil_tmp9 ;
8800 unsigned int __cil_tmp10 ;
8801 char (*__cil_tmp11)[30U] ;
8802 char *__cil_tmp12 ;
8803
8804 {
8805#line 171
8806 errmsg = (char *)"Unknown";
8807#line 174
8808 if (status == -2) {
8809#line 174
8810 goto case_neg_2;
8811 } else
8812#line 177
8813 if (status == -104) {
8814#line 177
8815 goto case_neg_104;
8816 } else
8817#line 180
8818 if (status == -63) {
8819#line 180
8820 goto case_neg_63;
8821 } else
8822#line 183
8823 if (status == -32) {
8824#line 183
8825 goto case_neg_32;
8826 } else
8827#line 186
8828 if (status == -75) {
8829#line 186
8830 goto case_neg_75;
8831 } else
8832#line 189
8833 if (status == -71) {
8834#line 189
8835 goto case_neg_71;
8836 } else
8837#line 192
8838 if (status == -84) {
8839#line 192
8840 goto case_neg_84;
8841 } else
8842#line 195
8843 if (status == -62) {
8844#line 195
8845 goto case_neg_62;
8846 } else
8847#line 173
8848 if (0) {
8849 case_neg_2:
8850#line 175
8851 errmsg = (char *)"unlinked synchronuously";
8852#line 176
8853 goto ldv_42389;
8854 case_neg_104:
8855#line 178
8856 errmsg = (char *)"unlinked asynchronuously";
8857#line 179
8858 goto ldv_42389;
8859 case_neg_63:
8860#line 181
8861 errmsg = (char *)"Buffer error (overrun)";
8862#line 182
8863 goto ldv_42389;
8864 case_neg_32:
8865#line 184
8866 errmsg = (char *)"Stalled (device not responding)";
8867#line 185
8868 goto ldv_42389;
8869 case_neg_75:
8870#line 187
8871 errmsg = (char *)"Babble (bad cable?)";
8872#line 188
8873 goto ldv_42389;
8874 case_neg_71:
8875#line 190
8876 errmsg = (char *)"Bit-stuff error (bad cable?)";
8877#line 191
8878 goto ldv_42389;
8879 case_neg_84:
8880#line 193
8881 errmsg = (char *)"CRC/Timeout (could be anything)";
8882#line 194
8883 goto ldv_42389;
8884 case_neg_62:
8885#line 196
8886 errmsg = (char *)"Device does not respond";
8887#line 197
8888 goto ldv_42389;
8889 } else {
8890 switch_break: ;
8891 }
8892 ldv_42389: ;
8893#line 199
8894 if (packet < 0) {
8895 {
8896#line 200
8897 __cil_tmp5 = & debug;
8898#line 200
8899 __cil_tmp6 = *__cil_tmp5;
8900#line 200
8901 if (__cil_tmp6 != 0U) {
8902 {
8903#line 200
8904 __cil_tmp7 = (char (*)[30U])dev;
8905#line 200
8906 __cil_tmp8 = (char *)__cil_tmp7;
8907#line 200
8908 printk("<7>%s/2-dvb: URB status %d [%s].\n", __cil_tmp8, status, errmsg);
8909 }
8910 } else {
8911 {
8912#line 202
8913 __cil_tmp9 = & debug;
8914#line 202
8915 __cil_tmp10 = *__cil_tmp9;
8916#line 202
8917 if (__cil_tmp10 != 0U) {
8918 {
8919#line 202
8920 __cil_tmp11 = (char (*)[30U])dev;
8921#line 202
8922 __cil_tmp12 = (char *)__cil_tmp11;
8923#line 202
8924 printk("<7>%s/2-dvb: URB packet %d, status %d [%s].\n", __cil_tmp12, packet,
8925 status, errmsg);
8926 }
8927 } else {
8928
8929 }
8930 }
8931 }
8932 }
8933 } else {
8934
8935 }
8936#line 203
8937 return;
8938}
8939}
8940#line 207 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
8941__inline static int dvb_isoc_copy(struct cx231xx *dev , struct urb *urb )
8942{ int i ;
8943 int status ;
8944 struct cx231xx *__cil_tmp5 ;
8945 unsigned long __cil_tmp6 ;
8946 unsigned long __cil_tmp7 ;
8947 unsigned long __cil_tmp8 ;
8948 unsigned long __cil_tmp9 ;
8949 enum cx231xx_dev_state __cil_tmp10 ;
8950 unsigned int __cil_tmp11 ;
8951 unsigned int __cil_tmp12 ;
8952 unsigned long __cil_tmp13 ;
8953 unsigned long __cil_tmp14 ;
8954 int __cil_tmp15 ;
8955 unsigned long __cil_tmp16 ;
8956 unsigned long __cil_tmp17 ;
8957 int __cil_tmp18 ;
8958 unsigned long __cil_tmp19 ;
8959 unsigned long __cil_tmp20 ;
8960 int __cil_tmp21 ;
8961 unsigned long __cil_tmp22 ;
8962 unsigned long __cil_tmp23 ;
8963 unsigned long __cil_tmp24 ;
8964 unsigned long __cil_tmp25 ;
8965 unsigned long __cil_tmp26 ;
8966 unsigned long __cil_tmp27 ;
8967 unsigned long __cil_tmp28 ;
8968 unsigned long __cil_tmp29 ;
8969 unsigned long __cil_tmp30 ;
8970 unsigned long __cil_tmp31 ;
8971 int __cil_tmp32 ;
8972 unsigned long __cil_tmp33 ;
8973 unsigned long __cil_tmp34 ;
8974 struct cx231xx_dvb *__cil_tmp35 ;
8975 unsigned long __cil_tmp36 ;
8976 unsigned long __cil_tmp37 ;
8977 struct dvb_demux *__cil_tmp38 ;
8978 unsigned long __cil_tmp39 ;
8979 unsigned long __cil_tmp40 ;
8980 unsigned long __cil_tmp41 ;
8981 unsigned long __cil_tmp42 ;
8982 unsigned int __cil_tmp43 ;
8983 unsigned long __cil_tmp44 ;
8984 unsigned long __cil_tmp45 ;
8985 unsigned long __cil_tmp46 ;
8986 void *__cil_tmp47 ;
8987 u8 const *__cil_tmp48 ;
8988 u8 const *__cil_tmp49 ;
8989 unsigned long __cil_tmp50 ;
8990 unsigned long __cil_tmp51 ;
8991 unsigned long __cil_tmp52 ;
8992 unsigned long __cil_tmp53 ;
8993 unsigned long __cil_tmp54 ;
8994 unsigned int __cil_tmp55 ;
8995 size_t __cil_tmp56 ;
8996 unsigned long __cil_tmp57 ;
8997 unsigned long __cil_tmp58 ;
8998 int __cil_tmp59 ;
8999
9000 {
9001 {
9002#line 211
9003 __cil_tmp5 = (struct cx231xx *)0;
9004#line 211
9005 __cil_tmp6 = (unsigned long )__cil_tmp5;
9006#line 211
9007 __cil_tmp7 = (unsigned long )dev;
9008#line 211
9009 if (__cil_tmp7 == __cil_tmp6) {
9010#line 212
9011 return (0);
9012 } else {
9013
9014 }
9015 }
9016 {
9017#line 214
9018 __cil_tmp8 = (unsigned long )dev;
9019#line 214
9020 __cil_tmp9 = __cil_tmp8 + 10440;
9021#line 214
9022 __cil_tmp10 = *((enum cx231xx_dev_state *)__cil_tmp9);
9023#line 214
9024 __cil_tmp11 = (unsigned int )__cil_tmp10;
9025#line 214
9026 __cil_tmp12 = __cil_tmp11 & 2U;
9027#line 214
9028 if (__cil_tmp12 != 0U) {
9029#line 215
9030 return (0);
9031 } else {
9032
9033 }
9034 }
9035 {
9036#line 217
9037 __cil_tmp13 = (unsigned long )urb;
9038#line 217
9039 __cil_tmp14 = __cil_tmp13 + 96;
9040#line 217
9041 __cil_tmp15 = *((int *)__cil_tmp14);
9042#line 217
9043 if (__cil_tmp15 < 0) {
9044 {
9045#line 218
9046 __cil_tmp16 = (unsigned long )urb;
9047#line 218
9048 __cil_tmp17 = __cil_tmp16 + 96;
9049#line 218
9050 __cil_tmp18 = *((int *)__cil_tmp17);
9051#line 218
9052 print_err_status(dev, -1, __cil_tmp18);
9053 }
9054 {
9055#line 219
9056 __cil_tmp19 = (unsigned long )urb;
9057#line 219
9058 __cil_tmp20 = __cil_tmp19 + 96;
9059#line 219
9060 __cil_tmp21 = *((int *)__cil_tmp20);
9061#line 219
9062 if (__cil_tmp21 == -2) {
9063#line 220
9064 return (0);
9065 } else {
9066
9067 }
9068 }
9069 } else {
9070
9071 }
9072 }
9073#line 223
9074 i = 0;
9075#line 223
9076 goto ldv_42405;
9077 ldv_42404:
9078#line 224
9079 __cil_tmp22 = i * 16UL;
9080#line 224
9081 __cil_tmp23 = __cil_tmp22 + 12;
9082#line 224
9083 __cil_tmp24 = 192 + __cil_tmp23;
9084#line 224
9085 __cil_tmp25 = (unsigned long )urb;
9086#line 224
9087 __cil_tmp26 = __cil_tmp25 + __cil_tmp24;
9088#line 224
9089 status = *((int *)__cil_tmp26);
9090#line 226
9091 if (status < 0) {
9092 {
9093#line 227
9094 print_err_status(dev, i, status);
9095 }
9096 {
9097#line 228
9098 __cil_tmp27 = i * 16UL;
9099#line 228
9100 __cil_tmp28 = __cil_tmp27 + 12;
9101#line 228
9102 __cil_tmp29 = 192 + __cil_tmp28;
9103#line 228
9104 __cil_tmp30 = (unsigned long )urb;
9105#line 228
9106 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
9107#line 228
9108 __cil_tmp32 = *((int *)__cil_tmp31);
9109#line 228
9110 if (__cil_tmp32 != -71) {
9111#line 229
9112 goto ldv_42403;
9113 } else {
9114
9115 }
9116 }
9117 } else {
9118
9119 }
9120 {
9121#line 232
9122 __cil_tmp33 = (unsigned long )dev;
9123#line 232
9124 __cil_tmp34 = __cil_tmp33 + 13448;
9125#line 232
9126 __cil_tmp35 = *((struct cx231xx_dvb **)__cil_tmp34);
9127#line 232
9128 __cil_tmp36 = (unsigned long )__cil_tmp35;
9129#line 232
9130 __cil_tmp37 = __cil_tmp36 + 456;
9131#line 232
9132 __cil_tmp38 = (struct dvb_demux *)__cil_tmp37;
9133#line 232
9134 __cil_tmp39 = i * 16UL;
9135#line 232
9136 __cil_tmp40 = 192 + __cil_tmp39;
9137#line 232
9138 __cil_tmp41 = (unsigned long )urb;
9139#line 232
9140 __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
9141#line 232
9142 __cil_tmp43 = *((unsigned int *)__cil_tmp42);
9143#line 232
9144 __cil_tmp44 = (unsigned long )__cil_tmp43;
9145#line 232
9146 __cil_tmp45 = (unsigned long )urb;
9147#line 232
9148 __cil_tmp46 = __cil_tmp45 + 104;
9149#line 232
9150 __cil_tmp47 = *((void **)__cil_tmp46);
9151#line 232
9152 __cil_tmp48 = (u8 const *)__cil_tmp47;
9153#line 232
9154 __cil_tmp49 = __cil_tmp48 + __cil_tmp44;
9155#line 232
9156 __cil_tmp50 = i * 16UL;
9157#line 232
9158 __cil_tmp51 = __cil_tmp50 + 8;
9159#line 232
9160 __cil_tmp52 = 192 + __cil_tmp51;
9161#line 232
9162 __cil_tmp53 = (unsigned long )urb;
9163#line 232
9164 __cil_tmp54 = __cil_tmp53 + __cil_tmp52;
9165#line 232
9166 __cil_tmp55 = *((unsigned int *)__cil_tmp54);
9167#line 232
9168 __cil_tmp56 = (size_t )__cil_tmp55;
9169#line 232
9170 dvb_dmx_swfilter(__cil_tmp38, __cil_tmp49, __cil_tmp56);
9171 }
9172 ldv_42403:
9173#line 223
9174 i = i + 1;
9175 ldv_42405: ;
9176 {
9177#line 223
9178 __cil_tmp57 = (unsigned long )urb;
9179#line 223
9180 __cil_tmp58 = __cil_tmp57 + 164;
9181#line 223
9182 __cil_tmp59 = *((int *)__cil_tmp58);
9183#line 223
9184 if (__cil_tmp59 > i) {
9185#line 224
9186 goto ldv_42404;
9187 } else {
9188#line 226
9189 goto ldv_42406;
9190 }
9191 }
9192 ldv_42406: ;
9193#line 238
9194 return (0);
9195}
9196}
9197#line 241 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9198__inline static int dvb_bulk_copy(struct cx231xx *dev , struct urb *urb )
9199{ struct cx231xx *__cil_tmp3 ;
9200 unsigned long __cil_tmp4 ;
9201 unsigned long __cil_tmp5 ;
9202 unsigned long __cil_tmp6 ;
9203 unsigned long __cil_tmp7 ;
9204 enum cx231xx_dev_state __cil_tmp8 ;
9205 unsigned int __cil_tmp9 ;
9206 unsigned int __cil_tmp10 ;
9207 unsigned long __cil_tmp11 ;
9208 unsigned long __cil_tmp12 ;
9209 int __cil_tmp13 ;
9210 unsigned long __cil_tmp14 ;
9211 unsigned long __cil_tmp15 ;
9212 int __cil_tmp16 ;
9213 unsigned long __cil_tmp17 ;
9214 unsigned long __cil_tmp18 ;
9215 int __cil_tmp19 ;
9216 unsigned long __cil_tmp20 ;
9217 unsigned long __cil_tmp21 ;
9218 struct cx231xx_dvb *__cil_tmp22 ;
9219 unsigned long __cil_tmp23 ;
9220 unsigned long __cil_tmp24 ;
9221 struct dvb_demux *__cil_tmp25 ;
9222 unsigned long __cil_tmp26 ;
9223 unsigned long __cil_tmp27 ;
9224 void *__cil_tmp28 ;
9225 u8 const *__cil_tmp29 ;
9226 unsigned long __cil_tmp30 ;
9227 unsigned long __cil_tmp31 ;
9228 u32 __cil_tmp32 ;
9229 size_t __cil_tmp33 ;
9230
9231 {
9232 {
9233#line 243
9234 __cil_tmp3 = (struct cx231xx *)0;
9235#line 243
9236 __cil_tmp4 = (unsigned long )__cil_tmp3;
9237#line 243
9238 __cil_tmp5 = (unsigned long )dev;
9239#line 243
9240 if (__cil_tmp5 == __cil_tmp4) {
9241#line 244
9242 return (0);
9243 } else {
9244
9245 }
9246 }
9247 {
9248#line 246
9249 __cil_tmp6 = (unsigned long )dev;
9250#line 246
9251 __cil_tmp7 = __cil_tmp6 + 10440;
9252#line 246
9253 __cil_tmp8 = *((enum cx231xx_dev_state *)__cil_tmp7);
9254#line 246
9255 __cil_tmp9 = (unsigned int )__cil_tmp8;
9256#line 246
9257 __cil_tmp10 = __cil_tmp9 & 2U;
9258#line 246
9259 if (__cil_tmp10 != 0U) {
9260#line 247
9261 return (0);
9262 } else {
9263
9264 }
9265 }
9266 {
9267#line 249
9268 __cil_tmp11 = (unsigned long )urb;
9269#line 249
9270 __cil_tmp12 = __cil_tmp11 + 96;
9271#line 249
9272 __cil_tmp13 = *((int *)__cil_tmp12);
9273#line 249
9274 if (__cil_tmp13 < 0) {
9275 {
9276#line 250
9277 __cil_tmp14 = (unsigned long )urb;
9278#line 250
9279 __cil_tmp15 = __cil_tmp14 + 96;
9280#line 250
9281 __cil_tmp16 = *((int *)__cil_tmp15);
9282#line 250
9283 print_err_status(dev, -1, __cil_tmp16);
9284 }
9285 {
9286#line 251
9287 __cil_tmp17 = (unsigned long )urb;
9288#line 251
9289 __cil_tmp18 = __cil_tmp17 + 96;
9290#line 251
9291 __cil_tmp19 = *((int *)__cil_tmp18);
9292#line 251
9293 if (__cil_tmp19 == -2) {
9294#line 252
9295 return (0);
9296 } else {
9297
9298 }
9299 }
9300 } else {
9301
9302 }
9303 }
9304 {
9305#line 256
9306 __cil_tmp20 = (unsigned long )dev;
9307#line 256
9308 __cil_tmp21 = __cil_tmp20 + 13448;
9309#line 256
9310 __cil_tmp22 = *((struct cx231xx_dvb **)__cil_tmp21);
9311#line 256
9312 __cil_tmp23 = (unsigned long )__cil_tmp22;
9313#line 256
9314 __cil_tmp24 = __cil_tmp23 + 456;
9315#line 256
9316 __cil_tmp25 = (struct dvb_demux *)__cil_tmp24;
9317#line 256
9318 __cil_tmp26 = (unsigned long )urb;
9319#line 256
9320 __cil_tmp27 = __cil_tmp26 + 104;
9321#line 256
9322 __cil_tmp28 = *((void **)__cil_tmp27);
9323#line 256
9324 __cil_tmp29 = (u8 const *)__cil_tmp28;
9325#line 256
9326 __cil_tmp30 = (unsigned long )urb;
9327#line 256
9328 __cil_tmp31 = __cil_tmp30 + 140;
9329#line 256
9330 __cil_tmp32 = *((u32 *)__cil_tmp31);
9331#line 256
9332 __cil_tmp33 = (size_t )__cil_tmp32;
9333#line 256
9334 dvb_dmx_swfilter(__cil_tmp25, __cil_tmp29, __cil_tmp33);
9335 }
9336#line 259
9337 return (0);
9338}
9339}
9340#line 262 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9341static int start_streaming(struct cx231xx_dvb *dvb )
9342{ int rc ;
9343 struct cx231xx *dev ;
9344 int tmp ;
9345 int tmp___0 ;
9346 unsigned long __cil_tmp6 ;
9347 unsigned long __cil_tmp7 ;
9348 unsigned long __cil_tmp8 ;
9349 void *__cil_tmp9 ;
9350 unsigned long __cil_tmp10 ;
9351 unsigned long __cil_tmp11 ;
9352 u8 __cil_tmp12 ;
9353 unsigned int __cil_tmp13 ;
9354 char (*__cil_tmp14)[30U] ;
9355 char *__cil_tmp15 ;
9356 unsigned long __cil_tmp16 ;
9357 unsigned long __cil_tmp17 ;
9358 struct mutex *__cil_tmp18 ;
9359 bool __cil_tmp19 ;
9360 u8 __cil_tmp20 ;
9361 u8 __cil_tmp21 ;
9362 bool __cil_tmp22 ;
9363 unsigned long __cil_tmp23 ;
9364 unsigned long __cil_tmp24 ;
9365 struct mutex *__cil_tmp25 ;
9366 enum cx231xx_mode __cil_tmp26 ;
9367 unsigned long __cil_tmp27 ;
9368 unsigned long __cil_tmp28 ;
9369 unsigned long __cil_tmp29 ;
9370 unsigned long __cil_tmp30 ;
9371 unsigned long __cil_tmp31 ;
9372 int __cil_tmp32 ;
9373 char (*__cil_tmp33)[30U] ;
9374 char *__cil_tmp34 ;
9375 u8 __cil_tmp35 ;
9376 u8 __cil_tmp36 ;
9377 enum cx231xx_mode __cil_tmp37 ;
9378 unsigned long __cil_tmp38 ;
9379 unsigned long __cil_tmp39 ;
9380 unsigned long __cil_tmp40 ;
9381 unsigned long __cil_tmp41 ;
9382 unsigned long __cil_tmp42 ;
9383 int __cil_tmp43 ;
9384
9385 {
9386#line 265
9387 __cil_tmp6 = 184 + 56;
9388#line 265
9389 __cil_tmp7 = (unsigned long )dvb;
9390#line 265
9391 __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
9392#line 265
9393 __cil_tmp9 = *((void **)__cil_tmp8);
9394#line 265
9395 dev = (struct cx231xx *)__cil_tmp9;
9396 {
9397#line 267
9398 __cil_tmp10 = (unsigned long )dev;
9399#line 267
9400 __cil_tmp11 = __cil_tmp10 + 13573;
9401#line 267
9402 __cil_tmp12 = *((u8 *)__cil_tmp11);
9403#line 267
9404 __cil_tmp13 = (unsigned int )__cil_tmp12;
9405#line 267
9406 if (__cil_tmp13 != 0U) {
9407 {
9408#line 268
9409 __cil_tmp14 = (char (*)[30U])dev;
9410#line 268
9411 __cil_tmp15 = (char *)__cil_tmp14;
9412#line 268
9413 printk("<6>%s: DVB transfer mode is ISO.\n", __cil_tmp15);
9414#line 269
9415 __cil_tmp16 = (unsigned long )dev;
9416#line 269
9417 __cil_tmp17 = __cil_tmp16 + 9928;
9418#line 269
9419 __cil_tmp18 = (struct mutex *)__cil_tmp17;
9420#line 269
9421 mutex_lock_nested(__cil_tmp18, 0U);
9422#line 270
9423 __cil_tmp19 = (bool )0;
9424#line 270
9425 cx231xx_enable_i2c_port_3(dev, __cil_tmp19);
9426#line 271
9427 __cil_tmp20 = (u8 )1;
9428#line 271
9429 __cil_tmp21 = (u8 )4;
9430#line 271
9431 cx231xx_set_alt_setting(dev, __cil_tmp20, __cil_tmp21);
9432#line 272
9433 __cil_tmp22 = (bool )1;
9434#line 272
9435 cx231xx_enable_i2c_port_3(dev, __cil_tmp22);
9436#line 273
9437 __cil_tmp23 = (unsigned long )dev;
9438#line 273
9439 __cil_tmp24 = __cil_tmp23 + 9928;
9440#line 273
9441 __cil_tmp25 = (struct mutex *)__cil_tmp24;
9442#line 273
9443 mutex_unlock(__cil_tmp25);
9444#line 274
9445 __cil_tmp26 = (enum cx231xx_mode )2;
9446#line 274
9447 rc = cx231xx_set_mode(dev, __cil_tmp26);
9448 }
9449#line 275
9450 if (rc < 0) {
9451#line 276
9452 return (rc);
9453 } else {
9454
9455 }
9456 {
9457#line 277
9458 __cil_tmp27 = (unsigned long )dev;
9459#line 277
9460 __cil_tmp28 = __cil_tmp27 + 13572;
9461#line 277
9462 *((u8 *)__cil_tmp28) = (u8 )1U;
9463#line 278
9464 __cil_tmp29 = 12824 + 436;
9465#line 278
9466 __cil_tmp30 = (unsigned long )dev;
9467#line 278
9468 __cil_tmp31 = __cil_tmp30 + __cil_tmp29;
9469#line 278
9470 __cil_tmp32 = *((int *)__cil_tmp31);
9471#line 278
9472 tmp = cx231xx_init_isoc(dev, 64, 5, __cil_tmp32, & dvb_isoc_copy);
9473 }
9474#line 278
9475 return (tmp);
9476 } else {
9477 {
9478#line 283
9479 __cil_tmp33 = (char (*)[30U])dev;
9480#line 283
9481 __cil_tmp34 = (char *)__cil_tmp33;
9482#line 283
9483 printk("<6>%s: DVB transfer mode is BULK.\n", __cil_tmp34);
9484#line 284
9485 __cil_tmp35 = (u8 )1;
9486#line 284
9487 __cil_tmp36 = (u8 )0;
9488#line 284
9489 cx231xx_set_alt_setting(dev, __cil_tmp35, __cil_tmp36);
9490#line 285
9491 __cil_tmp37 = (enum cx231xx_mode )2;
9492#line 285
9493 rc = cx231xx_set_mode(dev, __cil_tmp37);
9494 }
9495#line 286
9496 if (rc < 0) {
9497#line 287
9498 return (rc);
9499 } else {
9500
9501 }
9502 {
9503#line 288
9504 __cil_tmp38 = (unsigned long )dev;
9505#line 288
9506 __cil_tmp39 = __cil_tmp38 + 13572;
9507#line 288
9508 *((u8 *)__cil_tmp39) = (u8 )1U;
9509#line 289
9510 __cil_tmp40 = 12824 + 436;
9511#line 289
9512 __cil_tmp41 = (unsigned long )dev;
9513#line 289
9514 __cil_tmp42 = __cil_tmp41 + __cil_tmp40;
9515#line 289
9516 __cil_tmp43 = *((int *)__cil_tmp42);
9517#line 289
9518 tmp___0 = cx231xx_init_bulk(dev, 64, 5, __cil_tmp43, & dvb_bulk_copy);
9519 }
9520#line 289
9521 return (tmp___0);
9522 }
9523 }
9524}
9525}
9526#line 297 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9527static int stop_streaming(struct cx231xx_dvb *dvb )
9528{ struct cx231xx *dev ;
9529 unsigned long __cil_tmp3 ;
9530 unsigned long __cil_tmp4 ;
9531 unsigned long __cil_tmp5 ;
9532 void *__cil_tmp6 ;
9533 unsigned long __cil_tmp7 ;
9534 unsigned long __cil_tmp8 ;
9535 u8 __cil_tmp9 ;
9536 unsigned int __cil_tmp10 ;
9537 enum cx231xx_mode __cil_tmp11 ;
9538
9539 {
9540#line 299
9541 __cil_tmp3 = 184 + 56;
9542#line 299
9543 __cil_tmp4 = (unsigned long )dvb;
9544#line 299
9545 __cil_tmp5 = __cil_tmp4 + __cil_tmp3;
9546#line 299
9547 __cil_tmp6 = *((void **)__cil_tmp5);
9548#line 299
9549 dev = (struct cx231xx *)__cil_tmp6;
9550 {
9551#line 301
9552 __cil_tmp7 = (unsigned long )dev;
9553#line 301
9554 __cil_tmp8 = __cil_tmp7 + 13573;
9555#line 301
9556 __cil_tmp9 = *((u8 *)__cil_tmp8);
9557#line 301
9558 __cil_tmp10 = (unsigned int )__cil_tmp9;
9559#line 301
9560 if (__cil_tmp10 != 0U) {
9561 {
9562#line 302
9563 cx231xx_uninit_isoc(dev);
9564 }
9565 } else {
9566 {
9567#line 304
9568 cx231xx_uninit_bulk(dev);
9569 }
9570 }
9571 }
9572 {
9573#line 306
9574 __cil_tmp11 = (enum cx231xx_mode )0;
9575#line 306
9576 cx231xx_set_mode(dev, __cil_tmp11);
9577 }
9578#line 308
9579 return (0);
9580}
9581}
9582#line 311 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9583static int start_feed(struct dvb_demux_feed *feed )
9584{ struct dvb_demux *demux ;
9585 struct cx231xx_dvb *dvb ;
9586 int rc ;
9587 int ret ;
9588 unsigned long __cil_tmp6 ;
9589 unsigned long __cil_tmp7 ;
9590 unsigned long __cil_tmp8 ;
9591 unsigned long __cil_tmp9 ;
9592 void *__cil_tmp10 ;
9593 struct dmx_frontend *__cil_tmp11 ;
9594 unsigned long __cil_tmp12 ;
9595 unsigned long __cil_tmp13 ;
9596 unsigned long __cil_tmp14 ;
9597 unsigned long __cil_tmp15 ;
9598 struct dmx_frontend *__cil_tmp16 ;
9599 unsigned long __cil_tmp17 ;
9600 unsigned long __cil_tmp18 ;
9601 unsigned long __cil_tmp19 ;
9602 struct mutex *__cil_tmp20 ;
9603 unsigned long __cil_tmp21 ;
9604 unsigned long __cil_tmp22 ;
9605 unsigned long __cil_tmp23 ;
9606 unsigned long __cil_tmp24 ;
9607 int __cil_tmp25 ;
9608 unsigned long __cil_tmp26 ;
9609 unsigned long __cil_tmp27 ;
9610 unsigned long __cil_tmp28 ;
9611 unsigned long __cil_tmp29 ;
9612 int __cil_tmp30 ;
9613 unsigned long __cil_tmp31 ;
9614 unsigned long __cil_tmp32 ;
9615 struct mutex *__cil_tmp33 ;
9616
9617 {
9618#line 313
9619 __cil_tmp6 = (unsigned long )feed;
9620#line 313
9621 __cil_tmp7 = __cil_tmp6 + 4384;
9622#line 313
9623 demux = *((struct dvb_demux **)__cil_tmp7);
9624#line 314
9625 __cil_tmp8 = (unsigned long )demux;
9626#line 314
9627 __cil_tmp9 = __cil_tmp8 + 152;
9628#line 314
9629 __cil_tmp10 = *((void **)__cil_tmp9);
9630#line 314
9631 dvb = (struct cx231xx_dvb *)__cil_tmp10;
9632 {
9633#line 317
9634 __cil_tmp11 = (struct dmx_frontend *)0;
9635#line 317
9636 __cil_tmp12 = (unsigned long )__cil_tmp11;
9637#line 317
9638 __cil_tmp13 = 0 + 8;
9639#line 317
9640 __cil_tmp14 = (unsigned long )demux;
9641#line 317
9642 __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
9643#line 317
9644 __cil_tmp16 = *((struct dmx_frontend **)__cil_tmp15);
9645#line 317
9646 __cil_tmp17 = (unsigned long )__cil_tmp16;
9647#line 317
9648 if (__cil_tmp17 == __cil_tmp12) {
9649#line 318
9650 return (-22);
9651 } else {
9652
9653 }
9654 }
9655 {
9656#line 320
9657 __cil_tmp18 = (unsigned long )dvb;
9658#line 320
9659 __cil_tmp19 = __cil_tmp18 + 8;
9660#line 320
9661 __cil_tmp20 = (struct mutex *)__cil_tmp19;
9662#line 320
9663 mutex_lock_nested(__cil_tmp20, 0U);
9664#line 321
9665 __cil_tmp21 = (unsigned long )dvb;
9666#line 321
9667 __cil_tmp22 = __cil_tmp21 + 176;
9668#line 321
9669 __cil_tmp23 = (unsigned long )dvb;
9670#line 321
9671 __cil_tmp24 = __cil_tmp23 + 176;
9672#line 321
9673 __cil_tmp25 = *((int *)__cil_tmp24);
9674#line 321
9675 *((int *)__cil_tmp22) = __cil_tmp25 + 1;
9676#line 322
9677 __cil_tmp26 = (unsigned long )dvb;
9678#line 322
9679 __cil_tmp27 = __cil_tmp26 + 176;
9680#line 322
9681 rc = *((int *)__cil_tmp27);
9682 }
9683 {
9684#line 324
9685 __cil_tmp28 = (unsigned long )dvb;
9686#line 324
9687 __cil_tmp29 = __cil_tmp28 + 176;
9688#line 324
9689 __cil_tmp30 = *((int *)__cil_tmp29);
9690#line 324
9691 if (__cil_tmp30 == 1) {
9692 {
9693#line 325
9694 ret = start_streaming(dvb);
9695 }
9696#line 326
9697 if (ret < 0) {
9698#line 327
9699 rc = ret;
9700 } else {
9701
9702 }
9703 } else {
9704
9705 }
9706 }
9707 {
9708#line 330
9709 __cil_tmp31 = (unsigned long )dvb;
9710#line 330
9711 __cil_tmp32 = __cil_tmp31 + 8;
9712#line 330
9713 __cil_tmp33 = (struct mutex *)__cil_tmp32;
9714#line 330
9715 mutex_unlock(__cil_tmp33);
9716 }
9717#line 331
9718 return (rc);
9719}
9720}
9721#line 334 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9722static int stop_feed(struct dvb_demux_feed *feed )
9723{ struct dvb_demux *demux ;
9724 struct cx231xx_dvb *dvb ;
9725 int err ;
9726 unsigned long __cil_tmp5 ;
9727 unsigned long __cil_tmp6 ;
9728 unsigned long __cil_tmp7 ;
9729 unsigned long __cil_tmp8 ;
9730 void *__cil_tmp9 ;
9731 unsigned long __cil_tmp10 ;
9732 unsigned long __cil_tmp11 ;
9733 struct mutex *__cil_tmp12 ;
9734 unsigned long __cil_tmp13 ;
9735 unsigned long __cil_tmp14 ;
9736 unsigned long __cil_tmp15 ;
9737 unsigned long __cil_tmp16 ;
9738 int __cil_tmp17 ;
9739 unsigned long __cil_tmp18 ;
9740 unsigned long __cil_tmp19 ;
9741 int __cil_tmp20 ;
9742 unsigned long __cil_tmp21 ;
9743 unsigned long __cil_tmp22 ;
9744 struct mutex *__cil_tmp23 ;
9745
9746 {
9747 {
9748#line 336
9749 __cil_tmp5 = (unsigned long )feed;
9750#line 336
9751 __cil_tmp6 = __cil_tmp5 + 4384;
9752#line 336
9753 demux = *((struct dvb_demux **)__cil_tmp6);
9754#line 337
9755 __cil_tmp7 = (unsigned long )demux;
9756#line 337
9757 __cil_tmp8 = __cil_tmp7 + 152;
9758#line 337
9759 __cil_tmp9 = *((void **)__cil_tmp8);
9760#line 337
9761 dvb = (struct cx231xx_dvb *)__cil_tmp9;
9762#line 338
9763 err = 0;
9764#line 340
9765 __cil_tmp10 = (unsigned long )dvb;
9766#line 340
9767 __cil_tmp11 = __cil_tmp10 + 8;
9768#line 340
9769 __cil_tmp12 = (struct mutex *)__cil_tmp11;
9770#line 340
9771 mutex_lock_nested(__cil_tmp12, 0U);
9772#line 341
9773 __cil_tmp13 = (unsigned long )dvb;
9774#line 341
9775 __cil_tmp14 = __cil_tmp13 + 176;
9776#line 341
9777 __cil_tmp15 = (unsigned long )dvb;
9778#line 341
9779 __cil_tmp16 = __cil_tmp15 + 176;
9780#line 341
9781 __cil_tmp17 = *((int *)__cil_tmp16);
9782#line 341
9783 *((int *)__cil_tmp14) = __cil_tmp17 - 1;
9784 }
9785 {
9786#line 343
9787 __cil_tmp18 = (unsigned long )dvb;
9788#line 343
9789 __cil_tmp19 = __cil_tmp18 + 176;
9790#line 343
9791 __cil_tmp20 = *((int *)__cil_tmp19);
9792#line 343
9793 if (__cil_tmp20 == 0) {
9794 {
9795#line 344
9796 err = stop_streaming(dvb);
9797 }
9798 } else {
9799
9800 }
9801 }
9802 {
9803#line 346
9804 __cil_tmp21 = (unsigned long )dvb;
9805#line 346
9806 __cil_tmp22 = __cil_tmp21 + 8;
9807#line 346
9808 __cil_tmp23 = (struct mutex *)__cil_tmp22;
9809#line 346
9810 mutex_unlock(__cil_tmp23);
9811 }
9812#line 347
9813 return (err);
9814}
9815}
9816#line 351 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9817static int cx231xx_dvb_bus_ctrl(struct dvb_frontend *fe , int acquire )
9818{ struct cx231xx *dev ;
9819 int tmp ;
9820 int tmp___0 ;
9821 unsigned long __cil_tmp6 ;
9822 unsigned long __cil_tmp7 ;
9823 struct dvb_adapter *__cil_tmp8 ;
9824 unsigned long __cil_tmp9 ;
9825 unsigned long __cil_tmp10 ;
9826 void *__cil_tmp11 ;
9827 enum cx231xx_mode __cil_tmp12 ;
9828 enum cx231xx_mode __cil_tmp13 ;
9829
9830 {
9831#line 353
9832 __cil_tmp6 = (unsigned long )fe;
9833#line 353
9834 __cil_tmp7 = __cil_tmp6 + 752;
9835#line 353
9836 __cil_tmp8 = *((struct dvb_adapter **)__cil_tmp7);
9837#line 353
9838 __cil_tmp9 = (unsigned long )__cil_tmp8;
9839#line 353
9840 __cil_tmp10 = __cil_tmp9 + 56;
9841#line 353
9842 __cil_tmp11 = *((void **)__cil_tmp10);
9843#line 353
9844 dev = (struct cx231xx *)__cil_tmp11;
9845#line 355
9846 if (acquire != 0) {
9847 {
9848#line 356
9849 __cil_tmp12 = (enum cx231xx_mode )2;
9850#line 356
9851 tmp = cx231xx_set_mode(dev, __cil_tmp12);
9852 }
9853#line 356
9854 return (tmp);
9855 } else {
9856 {
9857#line 358
9858 __cil_tmp13 = (enum cx231xx_mode )0;
9859#line 358
9860 tmp___0 = cx231xx_set_mode(dev, __cil_tmp13);
9861 }
9862#line 358
9863 return (tmp___0);
9864 }
9865}
9866}
9867#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9868static struct xc5000_config cnxt_rde250_tunerconfig = {(u8 )97U, 4000U, (unsigned char)0, 0U, 0};
9869#line 367 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9870static struct xc5000_config cnxt_rdu250_tunerconfig = {(u8 )97U, 3250U, (unsigned char)0, 0U, 0};
9871#line 404 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
9872int cx231xx_set_analog_freq(struct cx231xx *dev , u32 freq )
9873{ int status ;
9874 struct dvb_tuner_ops *dops ;
9875 struct analog_parameters params ;
9876 struct cx231xx_dvb *__cil_tmp6 ;
9877 unsigned long __cil_tmp7 ;
9878 unsigned long __cil_tmp8 ;
9879 unsigned long __cil_tmp9 ;
9880 struct cx231xx_dvb *__cil_tmp10 ;
9881 unsigned long __cil_tmp11 ;
9882 struct dvb_frontend *__cil_tmp12 ;
9883 unsigned long __cil_tmp13 ;
9884 unsigned long __cil_tmp14 ;
9885 unsigned long __cil_tmp15 ;
9886 struct cx231xx_dvb *__cil_tmp16 ;
9887 struct dvb_frontend *__cil_tmp17 ;
9888 unsigned long __cil_tmp18 ;
9889 unsigned long __cil_tmp19 ;
9890 unsigned long __cil_tmp20 ;
9891 unsigned long __cil_tmp21 ;
9892 struct cx231xx_dvb *__cil_tmp22 ;
9893 struct dvb_frontend *__cil_tmp23 ;
9894 unsigned long __cil_tmp24 ;
9895 unsigned long __cil_tmp25 ;
9896 int (*__cil_tmp26)(struct dvb_frontend * , struct analog_parameters * ) ;
9897 unsigned long __cil_tmp27 ;
9898 unsigned long __cil_tmp28 ;
9899 unsigned long __cil_tmp29 ;
9900 int (*__cil_tmp30)(struct dvb_frontend * , struct analog_parameters * ) ;
9901 unsigned long __cil_tmp31 ;
9902 struct analog_parameters *__cil_tmp32 ;
9903 unsigned long __cil_tmp33 ;
9904 unsigned long __cil_tmp34 ;
9905 unsigned long __cil_tmp35 ;
9906 unsigned long __cil_tmp36 ;
9907 unsigned long __cil_tmp37 ;
9908 unsigned long __cil_tmp38 ;
9909 int (*__cil_tmp39)(struct dvb_frontend * , struct analog_parameters * ) ;
9910 unsigned long __cil_tmp40 ;
9911 unsigned long __cil_tmp41 ;
9912 struct cx231xx_dvb *__cil_tmp42 ;
9913 struct dvb_frontend *__cil_tmp43 ;
9914
9915 {
9916#line 406
9917 status = 0;
9918 {
9919#line 408
9920 __cil_tmp6 = (struct cx231xx_dvb *)0;
9921#line 408
9922 __cil_tmp7 = (unsigned long )__cil_tmp6;
9923#line 408
9924 __cil_tmp8 = (unsigned long )dev;
9925#line 408
9926 __cil_tmp9 = __cil_tmp8 + 13448;
9927#line 408
9928 __cil_tmp10 = *((struct cx231xx_dvb **)__cil_tmp9);
9929#line 408
9930 __cil_tmp11 = (unsigned long )__cil_tmp10;
9931#line 408
9932 if (__cil_tmp11 != __cil_tmp7) {
9933 {
9934#line 408
9935 __cil_tmp12 = (struct dvb_frontend *)0;
9936#line 408
9937 __cil_tmp13 = (unsigned long )__cil_tmp12;
9938#line 408
9939 __cil_tmp14 = (unsigned long )dev;
9940#line 408
9941 __cil_tmp15 = __cil_tmp14 + 13448;
9942#line 408
9943 __cil_tmp16 = *((struct cx231xx_dvb **)__cil_tmp15);
9944#line 408
9945 __cil_tmp17 = *((struct dvb_frontend **)__cil_tmp16);
9946#line 408
9947 __cil_tmp18 = (unsigned long )__cil_tmp17;
9948#line 408
9949 if (__cil_tmp18 != __cil_tmp13) {
9950#line 410
9951 __cil_tmp19 = 0 + 384;
9952#line 410
9953 __cil_tmp20 = (unsigned long )dev;
9954#line 410
9955 __cil_tmp21 = __cil_tmp20 + 13448;
9956#line 410
9957 __cil_tmp22 = *((struct cx231xx_dvb **)__cil_tmp21);
9958#line 410
9959 __cil_tmp23 = *((struct dvb_frontend **)__cil_tmp22);
9960#line 410
9961 __cil_tmp24 = (unsigned long )__cil_tmp23;
9962#line 410
9963 __cil_tmp25 = __cil_tmp24 + __cil_tmp19;
9964#line 410
9965 dops = (struct dvb_tuner_ops *)__cil_tmp25;
9966 {
9967#line 412
9968 __cil_tmp26 = (int (*)(struct dvb_frontend * , struct analog_parameters * ))0;
9969#line 412
9970 __cil_tmp27 = (unsigned long )__cil_tmp26;
9971#line 412
9972 __cil_tmp28 = (unsigned long )dops;
9973#line 412
9974 __cil_tmp29 = __cil_tmp28 + 184;
9975#line 412
9976 __cil_tmp30 = *((int (**)(struct dvb_frontend * , struct analog_parameters * ))__cil_tmp29);
9977#line 412
9978 __cil_tmp31 = (unsigned long )__cil_tmp30;
9979#line 412
9980 if (__cil_tmp31 != __cil_tmp27) {
9981 {
9982#line 415
9983 __cil_tmp32 = & params;
9984#line 415
9985 *((unsigned int *)__cil_tmp32) = freq;
9986#line 416
9987 __cil_tmp33 = (unsigned long )(& params) + 16;
9988#line 416
9989 __cil_tmp34 = (unsigned long )dev;
9990#line 416
9991 __cil_tmp35 = __cil_tmp34 + 10112;
9992#line 416
9993 *((u64 *)__cil_tmp33) = *((v4l2_std_id *)__cil_tmp35);
9994#line 417
9995 __cil_tmp36 = (unsigned long )(& params) + 4;
9996#line 417
9997 *((unsigned int *)__cil_tmp36) = 0U;
9998#line 421
9999 __cil_tmp37 = (unsigned long )dops;
10000#line 421
10001 __cil_tmp38 = __cil_tmp37 + 184;
10002#line 421
10003 __cil_tmp39 = *((int (**)(struct dvb_frontend * , struct analog_parameters * ))__cil_tmp38);
10004#line 421
10005 __cil_tmp40 = (unsigned long )dev;
10006#line 421
10007 __cil_tmp41 = __cil_tmp40 + 13448;
10008#line 421
10009 __cil_tmp42 = *((struct cx231xx_dvb **)__cil_tmp41);
10010#line 421
10011 __cil_tmp43 = *((struct dvb_frontend **)__cil_tmp42);
10012#line 421
10013 (*__cil_tmp39)(__cil_tmp43, & params);
10014 }
10015 } else {
10016
10017 }
10018 }
10019 } else {
10020
10021 }
10022 }
10023 } else {
10024
10025 }
10026 }
10027#line 426
10028 return (status);
10029}
10030}
10031#line 429 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
10032int cx231xx_reset_analog_tuner(struct cx231xx *dev )
10033{ int status ;
10034 struct dvb_tuner_ops *dops ;
10035 struct cx231xx_dvb *__cil_tmp4 ;
10036 unsigned long __cil_tmp5 ;
10037 unsigned long __cil_tmp6 ;
10038 unsigned long __cil_tmp7 ;
10039 struct cx231xx_dvb *__cil_tmp8 ;
10040 unsigned long __cil_tmp9 ;
10041 struct dvb_frontend *__cil_tmp10 ;
10042 unsigned long __cil_tmp11 ;
10043 unsigned long __cil_tmp12 ;
10044 unsigned long __cil_tmp13 ;
10045 struct cx231xx_dvb *__cil_tmp14 ;
10046 struct dvb_frontend *__cil_tmp15 ;
10047 unsigned long __cil_tmp16 ;
10048 unsigned long __cil_tmp17 ;
10049 unsigned long __cil_tmp18 ;
10050 unsigned long __cil_tmp19 ;
10051 struct cx231xx_dvb *__cil_tmp20 ;
10052 struct dvb_frontend *__cil_tmp21 ;
10053 unsigned long __cil_tmp22 ;
10054 unsigned long __cil_tmp23 ;
10055 int (*__cil_tmp24)(struct dvb_frontend * ) ;
10056 unsigned long __cil_tmp25 ;
10057 unsigned long __cil_tmp26 ;
10058 unsigned long __cil_tmp27 ;
10059 int (*__cil_tmp28)(struct dvb_frontend * ) ;
10060 unsigned long __cil_tmp29 ;
10061 unsigned char *__cil_tmp30 ;
10062 unsigned char *__cil_tmp31 ;
10063 unsigned char __cil_tmp32 ;
10064 unsigned int __cil_tmp33 ;
10065 char (*__cil_tmp34)[30U] ;
10066 char *__cil_tmp35 ;
10067 unsigned long __cil_tmp36 ;
10068 unsigned long __cil_tmp37 ;
10069 int (*__cil_tmp38)(struct dvb_frontend * ) ;
10070 unsigned long __cil_tmp39 ;
10071 unsigned long __cil_tmp40 ;
10072 struct cx231xx_dvb *__cil_tmp41 ;
10073 struct dvb_frontend *__cil_tmp42 ;
10074 unsigned long __cil_tmp43 ;
10075 unsigned long __cil_tmp44 ;
10076 char (*__cil_tmp45)[30U] ;
10077 char *__cil_tmp46 ;
10078 unsigned long __cil_tmp47 ;
10079 unsigned long __cil_tmp48 ;
10080 char (*__cil_tmp49)[30U] ;
10081 char *__cil_tmp50 ;
10082
10083 {
10084#line 431
10085 status = 0;
10086 {
10087#line 433
10088 __cil_tmp4 = (struct cx231xx_dvb *)0;
10089#line 433
10090 __cil_tmp5 = (unsigned long )__cil_tmp4;
10091#line 433
10092 __cil_tmp6 = (unsigned long )dev;
10093#line 433
10094 __cil_tmp7 = __cil_tmp6 + 13448;
10095#line 433
10096 __cil_tmp8 = *((struct cx231xx_dvb **)__cil_tmp7);
10097#line 433
10098 __cil_tmp9 = (unsigned long )__cil_tmp8;
10099#line 433
10100 if (__cil_tmp9 != __cil_tmp5) {
10101 {
10102#line 433
10103 __cil_tmp10 = (struct dvb_frontend *)0;
10104#line 433
10105 __cil_tmp11 = (unsigned long )__cil_tmp10;
10106#line 433
10107 __cil_tmp12 = (unsigned long )dev;
10108#line 433
10109 __cil_tmp13 = __cil_tmp12 + 13448;
10110#line 433
10111 __cil_tmp14 = *((struct cx231xx_dvb **)__cil_tmp13);
10112#line 433
10113 __cil_tmp15 = *((struct dvb_frontend **)__cil_tmp14);
10114#line 433
10115 __cil_tmp16 = (unsigned long )__cil_tmp15;
10116#line 433
10117 if (__cil_tmp16 != __cil_tmp11) {
10118#line 435
10119 __cil_tmp17 = 0 + 384;
10120#line 435
10121 __cil_tmp18 = (unsigned long )dev;
10122#line 435
10123 __cil_tmp19 = __cil_tmp18 + 13448;
10124#line 435
10125 __cil_tmp20 = *((struct cx231xx_dvb **)__cil_tmp19);
10126#line 435
10127 __cil_tmp21 = *((struct dvb_frontend **)__cil_tmp20);
10128#line 435
10129 __cil_tmp22 = (unsigned long )__cil_tmp21;
10130#line 435
10131 __cil_tmp23 = __cil_tmp22 + __cil_tmp17;
10132#line 435
10133 dops = (struct dvb_tuner_ops *)__cil_tmp23;
10134 {
10135#line 437
10136 __cil_tmp24 = (int (*)(struct dvb_frontend * ))0;
10137#line 437
10138 __cil_tmp25 = (unsigned long )__cil_tmp24;
10139#line 437
10140 __cil_tmp26 = (unsigned long )dops;
10141#line 437
10142 __cil_tmp27 = __cil_tmp26 + 160;
10143#line 437
10144 __cil_tmp28 = *((int (**)(struct dvb_frontend * ))__cil_tmp27);
10145#line 437
10146 __cil_tmp29 = (unsigned long )__cil_tmp28;
10147#line 437
10148 if (__cil_tmp29 != __cil_tmp25) {
10149 {
10150#line 437
10151 __cil_tmp30 = (unsigned char *)dev;
10152#line 437
10153 __cil_tmp31 = __cil_tmp30 + 9752UL;
10154#line 437
10155 __cil_tmp32 = *__cil_tmp31;
10156#line 437
10157 __cil_tmp33 = (unsigned int )__cil_tmp32;
10158#line 437
10159 if (__cil_tmp33 == 0U) {
10160 {
10161#line 439
10162 __cil_tmp34 = (char (*)[30U])dev;
10163#line 439
10164 __cil_tmp35 = (char *)__cil_tmp34;
10165#line 439
10166 printk("<6>%s: Reloading firmware for XC5000\n", __cil_tmp35);
10167#line 440
10168 __cil_tmp36 = (unsigned long )dops;
10169#line 440
10170 __cil_tmp37 = __cil_tmp36 + 160;
10171#line 440
10172 __cil_tmp38 = *((int (**)(struct dvb_frontend * ))__cil_tmp37);
10173#line 440
10174 __cil_tmp39 = (unsigned long )dev;
10175#line 440
10176 __cil_tmp40 = __cil_tmp39 + 13448;
10177#line 440
10178 __cil_tmp41 = *((struct cx231xx_dvb **)__cil_tmp40);
10179#line 440
10180 __cil_tmp42 = *((struct dvb_frontend **)__cil_tmp41);
10181#line 440
10182 status = (*__cil_tmp38)(__cil_tmp42);
10183 }
10184#line 441
10185 if (status == 0) {
10186 {
10187#line 442
10188 __cil_tmp43 = (unsigned long )dev;
10189#line 442
10190 __cil_tmp44 = __cil_tmp43 + 9752;
10191#line 442
10192 *((unsigned char *)__cil_tmp44) = (unsigned char)1;
10193#line 443
10194 __cil_tmp45 = (char (*)[30U])dev;
10195#line 443
10196 __cil_tmp46 = (char *)__cil_tmp45;
10197#line 443
10198 printk("<6>%s: XC5000 firmware download completed\n", __cil_tmp46);
10199 }
10200 } else {
10201 {
10202#line 446
10203 __cil_tmp47 = (unsigned long )dev;
10204#line 446
10205 __cil_tmp48 = __cil_tmp47 + 9752;
10206#line 446
10207 *((unsigned char *)__cil_tmp48) = (unsigned char)0;
10208#line 447
10209 __cil_tmp49 = (char (*)[30U])dev;
10210#line 447
10211 __cil_tmp50 = (char *)__cil_tmp49;
10212#line 447
10213 printk("<6>%s: XC5000 firmware download failed !!!\n", __cil_tmp50);
10214 }
10215 }
10216 } else {
10217
10218 }
10219 }
10220 } else {
10221
10222 }
10223 }
10224 } else {
10225
10226 }
10227 }
10228 } else {
10229
10230 }
10231 }
10232#line 454
10233 return (status);
10234}
10235}
10236#line 459 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
10237static int register_dvb(struct cx231xx_dvb *dvb , struct module *module , struct cx231xx *dev ,
10238 struct device *device )
10239{ int result ;
10240 struct lock_class_key __key ;
10241 unsigned long __cil_tmp7 ;
10242 unsigned long __cil_tmp8 ;
10243 struct mutex *__cil_tmp9 ;
10244 unsigned long __cil_tmp10 ;
10245 unsigned long __cil_tmp11 ;
10246 struct dvb_adapter *__cil_tmp12 ;
10247 char (*__cil_tmp13)[30U] ;
10248 char const *__cil_tmp14 ;
10249 short *__cil_tmp15 ;
10250 char (*__cil_tmp16)[30U] ;
10251 char *__cil_tmp17 ;
10252 unsigned long __cil_tmp18 ;
10253 struct dvb_frontend *__cil_tmp19 ;
10254 unsigned long __cil_tmp20 ;
10255 unsigned long __cil_tmp21 ;
10256 unsigned long __cil_tmp22 ;
10257 unsigned long __cil_tmp23 ;
10258 unsigned long __cil_tmp24 ;
10259 unsigned long __cil_tmp25 ;
10260 unsigned long __cil_tmp26 ;
10261 struct dvb_adapter *__cil_tmp27 ;
10262 struct dvb_frontend *__cil_tmp28 ;
10263 char (*__cil_tmp29)[30U] ;
10264 char *__cil_tmp30 ;
10265 unsigned long __cil_tmp31 ;
10266 unsigned long __cil_tmp32 ;
10267 unsigned long __cil_tmp33 ;
10268 unsigned long __cil_tmp34 ;
10269 unsigned long __cil_tmp35 ;
10270 unsigned long __cil_tmp36 ;
10271 unsigned long __cil_tmp37 ;
10272 unsigned long __cil_tmp38 ;
10273 unsigned long __cil_tmp39 ;
10274 unsigned long __cil_tmp40 ;
10275 unsigned long __cil_tmp41 ;
10276 unsigned long __cil_tmp42 ;
10277 unsigned long __cil_tmp43 ;
10278 unsigned long __cil_tmp44 ;
10279 unsigned long __cil_tmp45 ;
10280 unsigned long __cil_tmp46 ;
10281 unsigned long __cil_tmp47 ;
10282 unsigned long __cil_tmp48 ;
10283 unsigned long __cil_tmp49 ;
10284 struct dvb_demux *__cil_tmp50 ;
10285 char (*__cil_tmp51)[30U] ;
10286 char *__cil_tmp52 ;
10287 unsigned long __cil_tmp53 ;
10288 unsigned long __cil_tmp54 ;
10289 unsigned long __cil_tmp55 ;
10290 unsigned long __cil_tmp56 ;
10291 unsigned long __cil_tmp57 ;
10292 unsigned long __cil_tmp58 ;
10293 unsigned long __cil_tmp59 ;
10294 unsigned long __cil_tmp60 ;
10295 unsigned long __cil_tmp61 ;
10296 unsigned long __cil_tmp62 ;
10297 unsigned long __cil_tmp63 ;
10298 unsigned long __cil_tmp64 ;
10299 unsigned long __cil_tmp65 ;
10300 struct dmxdev *__cil_tmp66 ;
10301 unsigned long __cil_tmp67 ;
10302 unsigned long __cil_tmp68 ;
10303 struct dvb_adapter *__cil_tmp69 ;
10304 char (*__cil_tmp70)[30U] ;
10305 char *__cil_tmp71 ;
10306 unsigned long __cil_tmp72 ;
10307 unsigned long __cil_tmp73 ;
10308 unsigned long __cil_tmp74 ;
10309 unsigned long __cil_tmp75 ;
10310 unsigned long __cil_tmp76 ;
10311 unsigned long __cil_tmp77 ;
10312 unsigned long __cil_tmp78 ;
10313 int (*__cil_tmp79)(struct dmx_demux * , struct dmx_frontend * ) ;
10314 unsigned long __cil_tmp80 ;
10315 unsigned long __cil_tmp81 ;
10316 struct dmx_demux *__cil_tmp82 ;
10317 unsigned long __cil_tmp83 ;
10318 unsigned long __cil_tmp84 ;
10319 struct dmx_frontend *__cil_tmp85 ;
10320 char (*__cil_tmp86)[30U] ;
10321 char *__cil_tmp87 ;
10322 unsigned long __cil_tmp88 ;
10323 unsigned long __cil_tmp89 ;
10324 unsigned long __cil_tmp90 ;
10325 unsigned long __cil_tmp91 ;
10326 unsigned long __cil_tmp92 ;
10327 unsigned long __cil_tmp93 ;
10328 unsigned long __cil_tmp94 ;
10329 int (*__cil_tmp95)(struct dmx_demux * , struct dmx_frontend * ) ;
10330 unsigned long __cil_tmp96 ;
10331 unsigned long __cil_tmp97 ;
10332 struct dmx_demux *__cil_tmp98 ;
10333 unsigned long __cil_tmp99 ;
10334 unsigned long __cil_tmp100 ;
10335 struct dmx_frontend *__cil_tmp101 ;
10336 char (*__cil_tmp102)[30U] ;
10337 char *__cil_tmp103 ;
10338 unsigned long __cil_tmp104 ;
10339 unsigned long __cil_tmp105 ;
10340 unsigned long __cil_tmp106 ;
10341 unsigned long __cil_tmp107 ;
10342 int (*__cil_tmp108)(struct dmx_demux * , struct dmx_frontend * ) ;
10343 unsigned long __cil_tmp109 ;
10344 unsigned long __cil_tmp110 ;
10345 struct dmx_demux *__cil_tmp111 ;
10346 unsigned long __cil_tmp112 ;
10347 unsigned long __cil_tmp113 ;
10348 struct dmx_frontend *__cil_tmp114 ;
10349 char (*__cil_tmp115)[30U] ;
10350 char *__cil_tmp116 ;
10351 unsigned long __cil_tmp117 ;
10352 unsigned long __cil_tmp118 ;
10353 struct dvb_adapter *__cil_tmp119 ;
10354 unsigned long __cil_tmp120 ;
10355 unsigned long __cil_tmp121 ;
10356 struct dvb_net *__cil_tmp122 ;
10357 unsigned long __cil_tmp123 ;
10358 unsigned long __cil_tmp124 ;
10359 struct dmx_demux *__cil_tmp125 ;
10360 unsigned long __cil_tmp126 ;
10361 unsigned long __cil_tmp127 ;
10362 unsigned long __cil_tmp128 ;
10363 unsigned long __cil_tmp129 ;
10364 int (*__cil_tmp130)(struct dmx_demux * , struct dmx_frontend * ) ;
10365 unsigned long __cil_tmp131 ;
10366 unsigned long __cil_tmp132 ;
10367 struct dmx_demux *__cil_tmp133 ;
10368 unsigned long __cil_tmp134 ;
10369 unsigned long __cil_tmp135 ;
10370 struct dmx_frontend *__cil_tmp136 ;
10371 unsigned long __cil_tmp137 ;
10372 unsigned long __cil_tmp138 ;
10373 unsigned long __cil_tmp139 ;
10374 unsigned long __cil_tmp140 ;
10375 int (*__cil_tmp141)(struct dmx_demux * , struct dmx_frontend * ) ;
10376 unsigned long __cil_tmp142 ;
10377 unsigned long __cil_tmp143 ;
10378 struct dmx_demux *__cil_tmp144 ;
10379 unsigned long __cil_tmp145 ;
10380 unsigned long __cil_tmp146 ;
10381 struct dmx_frontend *__cil_tmp147 ;
10382 unsigned long __cil_tmp148 ;
10383 unsigned long __cil_tmp149 ;
10384 struct dmxdev *__cil_tmp150 ;
10385 unsigned long __cil_tmp151 ;
10386 unsigned long __cil_tmp152 ;
10387 struct dvb_demux *__cil_tmp153 ;
10388 struct dvb_frontend *__cil_tmp154 ;
10389 struct dvb_frontend *__cil_tmp155 ;
10390 unsigned long __cil_tmp156 ;
10391 unsigned long __cil_tmp157 ;
10392 struct dvb_adapter *__cil_tmp158 ;
10393
10394 {
10395 {
10396#line 465
10397 __cil_tmp7 = (unsigned long )dvb;
10398#line 465
10399 __cil_tmp8 = __cil_tmp7 + 8;
10400#line 465
10401 __cil_tmp9 = (struct mutex *)__cil_tmp8;
10402#line 465
10403 __mutex_init(__cil_tmp9, "&dvb->lock", & __key);
10404#line 468
10405 __cil_tmp10 = (unsigned long )dvb;
10406#line 468
10407 __cil_tmp11 = __cil_tmp10 + 184;
10408#line 468
10409 __cil_tmp12 = (struct dvb_adapter *)__cil_tmp11;
10410#line 468
10411 __cil_tmp13 = (char (*)[30U])dev;
10412#line 468
10413 __cil_tmp14 = (char const *)__cil_tmp13;
10414#line 468
10415 __cil_tmp15 = (short *)(& adapter_nr);
10416#line 468
10417 result = dvb_register_adapter(__cil_tmp12, __cil_tmp14, module, device, __cil_tmp15);
10418 }
10419#line 470
10420 if (result < 0) {
10421 {
10422#line 471
10423 __cil_tmp16 = (char (*)[30U])dev;
10424#line 471
10425 __cil_tmp17 = (char *)__cil_tmp16;
10426#line 471
10427 printk("<4>%s: dvb_register_adapter failed (errno = %d)\n", __cil_tmp17, result);
10428 }
10429#line 474
10430 goto fail_adapter;
10431 } else {
10432
10433 }
10434 {
10435#line 478
10436 __cil_tmp18 = 0 + 368;
10437#line 478
10438 __cil_tmp19 = *((struct dvb_frontend **)dvb);
10439#line 478
10440 __cil_tmp20 = (unsigned long )__cil_tmp19;
10441#line 478
10442 __cil_tmp21 = __cil_tmp20 + __cil_tmp18;
10443#line 478
10444 *((int (**)(struct dvb_frontend * , int ))__cil_tmp21) = & cx231xx_dvb_bus_ctrl;
10445#line 480
10446 __cil_tmp22 = 184 + 56;
10447#line 480
10448 __cil_tmp23 = (unsigned long )dvb;
10449#line 480
10450 __cil_tmp24 = __cil_tmp23 + __cil_tmp22;
10451#line 480
10452 *((void **)__cil_tmp24) = (void *)dev;
10453#line 483
10454 __cil_tmp25 = (unsigned long )dvb;
10455#line 483
10456 __cil_tmp26 = __cil_tmp25 + 184;
10457#line 483
10458 __cil_tmp27 = (struct dvb_adapter *)__cil_tmp26;
10459#line 483
10460 __cil_tmp28 = *((struct dvb_frontend **)dvb);
10461#line 483
10462 result = dvb_register_frontend(__cil_tmp27, __cil_tmp28);
10463 }
10464#line 484
10465 if (result < 0) {
10466 {
10467#line 485
10468 __cil_tmp29 = (char (*)[30U])dev;
10469#line 485
10470 __cil_tmp30 = (char *)__cil_tmp29;
10471#line 485
10472 printk("<4>%s: dvb_register_frontend failed (errno = %d)\n", __cil_tmp30, result);
10473 }
10474#line 488
10475 goto fail_frontend;
10476 } else {
10477
10478 }
10479 {
10480#line 492
10481 __cil_tmp31 = (unsigned long )dvb;
10482#line 492
10483 __cil_tmp32 = __cil_tmp31 + 456;
10484#line 492
10485 *((u32 *)__cil_tmp32) = 13U;
10486#line 495
10487 __cil_tmp33 = 456 + 152;
10488#line 495
10489 __cil_tmp34 = (unsigned long )dvb;
10490#line 495
10491 __cil_tmp35 = __cil_tmp34 + __cil_tmp33;
10492#line 495
10493 *((void **)__cil_tmp35) = (void *)dvb;
10494#line 496
10495 __cil_tmp36 = 456 + 160;
10496#line 496
10497 __cil_tmp37 = (unsigned long )dvb;
10498#line 496
10499 __cil_tmp38 = __cil_tmp37 + __cil_tmp36;
10500#line 496
10501 *((int *)__cil_tmp38) = 256;
10502#line 497
10503 __cil_tmp39 = 456 + 164;
10504#line 497
10505 __cil_tmp40 = (unsigned long )dvb;
10506#line 497
10507 __cil_tmp41 = __cil_tmp40 + __cil_tmp39;
10508#line 497
10509 *((int *)__cil_tmp41) = 256;
10510#line 498
10511 __cil_tmp42 = 456 + 168;
10512#line 498
10513 __cil_tmp43 = (unsigned long )dvb;
10514#line 498
10515 __cil_tmp44 = __cil_tmp43 + __cil_tmp42;
10516#line 498
10517 *((int (**)(struct dvb_demux_feed * ))__cil_tmp44) = & start_feed;
10518#line 499
10519 __cil_tmp45 = 456 + 176;
10520#line 499
10521 __cil_tmp46 = (unsigned long )dvb;
10522#line 499
10523 __cil_tmp47 = __cil_tmp46 + __cil_tmp45;
10524#line 499
10525 *((int (**)(struct dvb_demux_feed * ))__cil_tmp47) = & stop_feed;
10526#line 501
10527 __cil_tmp48 = (unsigned long )dvb;
10528#line 501
10529 __cil_tmp49 = __cil_tmp48 + 456;
10530#line 501
10531 __cil_tmp50 = (struct dvb_demux *)__cil_tmp49;
10532#line 501
10533 result = dvb_dmx_init(__cil_tmp50);
10534 }
10535#line 502
10536 if (result < 0) {
10537 {
10538#line 503
10539 __cil_tmp51 = (char (*)[30U])dev;
10540#line 503
10541 __cil_tmp52 = (char *)__cil_tmp51;
10542#line 503
10543 printk("<4>%s: dvb_dmx_init failed (errno = %d)\n", __cil_tmp52, result);
10544 }
10545#line 505
10546 goto fail_dmx;
10547 } else {
10548
10549 }
10550 {
10551#line 508
10552 __cil_tmp53 = 1408 + 32;
10553#line 508
10554 __cil_tmp54 = (unsigned long )dvb;
10555#line 508
10556 __cil_tmp55 = __cil_tmp54 + __cil_tmp53;
10557#line 508
10558 *((int *)__cil_tmp55) = 256;
10559#line 509
10560 __cil_tmp56 = 1408 + 24;
10561#line 509
10562 __cil_tmp57 = (unsigned long )dvb;
10563#line 509
10564 __cil_tmp58 = __cil_tmp57 + __cil_tmp56;
10565#line 509
10566 __cil_tmp59 = (unsigned long )dvb;
10567#line 509
10568 __cil_tmp60 = __cil_tmp59 + 456;
10569#line 509
10570 *((struct dmx_demux **)__cil_tmp58) = (struct dmx_demux *)__cil_tmp60;
10571#line 510
10572 __cil_tmp61 = 1408 + 36;
10573#line 510
10574 __cil_tmp62 = (unsigned long )dvb;
10575#line 510
10576 __cil_tmp63 = __cil_tmp62 + __cil_tmp61;
10577#line 510
10578 *((int *)__cil_tmp63) = 0;
10579#line 511
10580 __cil_tmp64 = (unsigned long )dvb;
10581#line 511
10582 __cil_tmp65 = __cil_tmp64 + 1408;
10583#line 511
10584 __cil_tmp66 = (struct dmxdev *)__cil_tmp65;
10585#line 511
10586 __cil_tmp67 = (unsigned long )dvb;
10587#line 511
10588 __cil_tmp68 = __cil_tmp67 + 184;
10589#line 511
10590 __cil_tmp69 = (struct dvb_adapter *)__cil_tmp68;
10591#line 511
10592 result = dvb_dmxdev_init(__cil_tmp66, __cil_tmp69);
10593 }
10594#line 512
10595 if (result < 0) {
10596 {
10597#line 513
10598 __cil_tmp70 = (char (*)[30U])dev;
10599#line 513
10600 __cil_tmp71 = (char *)__cil_tmp70;
10601#line 513
10602 printk("<4>%s: dvb_dmxdev_init failed (errno = %d)\n", __cil_tmp71, result);
10603 }
10604#line 515
10605 goto fail_dmxdev;
10606 } else {
10607
10608 }
10609 {
10610#line 518
10611 __cil_tmp72 = 1904 + 16;
10612#line 518
10613 __cil_tmp73 = (unsigned long )dvb;
10614#line 518
10615 __cil_tmp74 = __cil_tmp73 + __cil_tmp72;
10616#line 518
10617 *((enum dmx_frontend_source *)__cil_tmp74) = (enum dmx_frontend_source )1;
10618#line 519
10619 __cil_tmp75 = 0 + 80;
10620#line 519
10621 __cil_tmp76 = 456 + __cil_tmp75;
10622#line 519
10623 __cil_tmp77 = (unsigned long )dvb;
10624#line 519
10625 __cil_tmp78 = __cil_tmp77 + __cil_tmp76;
10626#line 519
10627 __cil_tmp79 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp78);
10628#line 519
10629 __cil_tmp80 = (unsigned long )dvb;
10630#line 519
10631 __cil_tmp81 = __cil_tmp80 + 456;
10632#line 519
10633 __cil_tmp82 = (struct dmx_demux *)__cil_tmp81;
10634#line 519
10635 __cil_tmp83 = (unsigned long )dvb;
10636#line 519
10637 __cil_tmp84 = __cil_tmp83 + 1904;
10638#line 519
10639 __cil_tmp85 = (struct dmx_frontend *)__cil_tmp84;
10640#line 519
10641 result = (*__cil_tmp79)(__cil_tmp82, __cil_tmp85);
10642 }
10643#line 520
10644 if (result < 0) {
10645 {
10646#line 521
10647 __cil_tmp86 = (char (*)[30U])dev;
10648#line 521
10649 __cil_tmp87 = (char *)__cil_tmp86;
10650#line 521
10651 printk("<4>%s: add_frontend failed (DMX_FRONTEND_0, errno = %d)\n", __cil_tmp87,
10652 result);
10653 }
10654#line 524
10655 goto fail_fe_hw;
10656 } else {
10657
10658 }
10659 {
10660#line 527
10661 __cil_tmp88 = 1928 + 16;
10662#line 527
10663 __cil_tmp89 = (unsigned long )dvb;
10664#line 527
10665 __cil_tmp90 = __cil_tmp89 + __cil_tmp88;
10666#line 527
10667 *((enum dmx_frontend_source *)__cil_tmp90) = (enum dmx_frontend_source )0;
10668#line 528
10669 __cil_tmp91 = 0 + 80;
10670#line 528
10671 __cil_tmp92 = 456 + __cil_tmp91;
10672#line 528
10673 __cil_tmp93 = (unsigned long )dvb;
10674#line 528
10675 __cil_tmp94 = __cil_tmp93 + __cil_tmp92;
10676#line 528
10677 __cil_tmp95 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp94);
10678#line 528
10679 __cil_tmp96 = (unsigned long )dvb;
10680#line 528
10681 __cil_tmp97 = __cil_tmp96 + 456;
10682#line 528
10683 __cil_tmp98 = (struct dmx_demux *)__cil_tmp97;
10684#line 528
10685 __cil_tmp99 = (unsigned long )dvb;
10686#line 528
10687 __cil_tmp100 = __cil_tmp99 + 1928;
10688#line 528
10689 __cil_tmp101 = (struct dmx_frontend *)__cil_tmp100;
10690#line 528
10691 result = (*__cil_tmp95)(__cil_tmp98, __cil_tmp101);
10692 }
10693#line 529
10694 if (result < 0) {
10695 {
10696#line 530
10697 __cil_tmp102 = (char (*)[30U])dev;
10698#line 530
10699 __cil_tmp103 = (char *)__cil_tmp102;
10700#line 530
10701 printk("<4>%s: add_frontend failed (DMX_MEMORY_FE, errno = %d)\n", __cil_tmp103,
10702 result);
10703 }
10704#line 533
10705 goto fail_fe_mem;
10706 } else {
10707
10708 }
10709 {
10710#line 536
10711 __cil_tmp104 = 0 + 104;
10712#line 536
10713 __cil_tmp105 = 456 + __cil_tmp104;
10714#line 536
10715 __cil_tmp106 = (unsigned long )dvb;
10716#line 536
10717 __cil_tmp107 = __cil_tmp106 + __cil_tmp105;
10718#line 536
10719 __cil_tmp108 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp107);
10720#line 536
10721 __cil_tmp109 = (unsigned long )dvb;
10722#line 536
10723 __cil_tmp110 = __cil_tmp109 + 456;
10724#line 536
10725 __cil_tmp111 = (struct dmx_demux *)__cil_tmp110;
10726#line 536
10727 __cil_tmp112 = (unsigned long )dvb;
10728#line 536
10729 __cil_tmp113 = __cil_tmp112 + 1904;
10730#line 536
10731 __cil_tmp114 = (struct dmx_frontend *)__cil_tmp113;
10732#line 536
10733 result = (*__cil_tmp108)(__cil_tmp111, __cil_tmp114);
10734 }
10735#line 537
10736 if (result < 0) {
10737 {
10738#line 538
10739 __cil_tmp115 = (char (*)[30U])dev;
10740#line 538
10741 __cil_tmp116 = (char *)__cil_tmp115;
10742#line 538
10743 printk("<4>%s: connect_frontend failed (errno = %d)\n", __cil_tmp116, result);
10744 }
10745#line 541
10746 goto fail_fe_conn;
10747 } else {
10748
10749 }
10750 {
10751#line 545
10752 __cil_tmp117 = (unsigned long )dvb;
10753#line 545
10754 __cil_tmp118 = __cil_tmp117 + 184;
10755#line 545
10756 __cil_tmp119 = (struct dvb_adapter *)__cil_tmp118;
10757#line 545
10758 __cil_tmp120 = (unsigned long )dvb;
10759#line 545
10760 __cil_tmp121 = __cil_tmp120 + 1952;
10761#line 545
10762 __cil_tmp122 = (struct dvb_net *)__cil_tmp121;
10763#line 545
10764 __cil_tmp123 = (unsigned long )dvb;
10765#line 545
10766 __cil_tmp124 = __cil_tmp123 + 456;
10767#line 545
10768 __cil_tmp125 = (struct dmx_demux *)__cil_tmp124;
10769#line 545
10770 dvb_net_init(__cil_tmp119, __cil_tmp122, __cil_tmp125);
10771 }
10772#line 546
10773 return (0);
10774 fail_fe_conn:
10775 {
10776#line 549
10777 __cil_tmp126 = 0 + 88;
10778#line 549
10779 __cil_tmp127 = 456 + __cil_tmp126;
10780#line 549
10781 __cil_tmp128 = (unsigned long )dvb;
10782#line 549
10783 __cil_tmp129 = __cil_tmp128 + __cil_tmp127;
10784#line 549
10785 __cil_tmp130 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp129);
10786#line 549
10787 __cil_tmp131 = (unsigned long )dvb;
10788#line 549
10789 __cil_tmp132 = __cil_tmp131 + 456;
10790#line 549
10791 __cil_tmp133 = (struct dmx_demux *)__cil_tmp132;
10792#line 549
10793 __cil_tmp134 = (unsigned long )dvb;
10794#line 549
10795 __cil_tmp135 = __cil_tmp134 + 1928;
10796#line 549
10797 __cil_tmp136 = (struct dmx_frontend *)__cil_tmp135;
10798#line 549
10799 (*__cil_tmp130)(__cil_tmp133, __cil_tmp136);
10800 }
10801 fail_fe_mem:
10802 {
10803#line 551
10804 __cil_tmp137 = 0 + 88;
10805#line 551
10806 __cil_tmp138 = 456 + __cil_tmp137;
10807#line 551
10808 __cil_tmp139 = (unsigned long )dvb;
10809#line 551
10810 __cil_tmp140 = __cil_tmp139 + __cil_tmp138;
10811#line 551
10812 __cil_tmp141 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp140);
10813#line 551
10814 __cil_tmp142 = (unsigned long )dvb;
10815#line 551
10816 __cil_tmp143 = __cil_tmp142 + 456;
10817#line 551
10818 __cil_tmp144 = (struct dmx_demux *)__cil_tmp143;
10819#line 551
10820 __cil_tmp145 = (unsigned long )dvb;
10821#line 551
10822 __cil_tmp146 = __cil_tmp145 + 1904;
10823#line 551
10824 __cil_tmp147 = (struct dmx_frontend *)__cil_tmp146;
10825#line 551
10826 (*__cil_tmp141)(__cil_tmp144, __cil_tmp147);
10827 }
10828 fail_fe_hw:
10829 {
10830#line 553
10831 __cil_tmp148 = (unsigned long )dvb;
10832#line 553
10833 __cil_tmp149 = __cil_tmp148 + 1408;
10834#line 553
10835 __cil_tmp150 = (struct dmxdev *)__cil_tmp149;
10836#line 553
10837 dvb_dmxdev_release(__cil_tmp150);
10838 }
10839 fail_dmxdev:
10840 {
10841#line 555
10842 __cil_tmp151 = (unsigned long )dvb;
10843#line 555
10844 __cil_tmp152 = __cil_tmp151 + 456;
10845#line 555
10846 __cil_tmp153 = (struct dvb_demux *)__cil_tmp152;
10847#line 555
10848 dvb_dmx_release(__cil_tmp153);
10849 }
10850 fail_dmx:
10851 {
10852#line 557
10853 __cil_tmp154 = *((struct dvb_frontend **)dvb);
10854#line 557
10855 dvb_unregister_frontend(__cil_tmp154);
10856 }
10857 fail_frontend:
10858 {
10859#line 559
10860 __cil_tmp155 = *((struct dvb_frontend **)dvb);
10861#line 559
10862 dvb_frontend_detach(__cil_tmp155);
10863#line 560
10864 __cil_tmp156 = (unsigned long )dvb;
10865#line 560
10866 __cil_tmp157 = __cil_tmp156 + 184;
10867#line 560
10868 __cil_tmp158 = (struct dvb_adapter *)__cil_tmp157;
10869#line 560
10870 dvb_unregister_adapter(__cil_tmp158);
10871 }
10872 fail_adapter: ;
10873#line 562
10874 return (result);
10875}
10876}
10877#line 565 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
10878static void unregister_dvb(struct cx231xx_dvb *dvb )
10879{ unsigned long __cil_tmp2 ;
10880 unsigned long __cil_tmp3 ;
10881 struct dvb_net *__cil_tmp4 ;
10882 unsigned long __cil_tmp5 ;
10883 unsigned long __cil_tmp6 ;
10884 unsigned long __cil_tmp7 ;
10885 unsigned long __cil_tmp8 ;
10886 int (*__cil_tmp9)(struct dmx_demux * , struct dmx_frontend * ) ;
10887 unsigned long __cil_tmp10 ;
10888 unsigned long __cil_tmp11 ;
10889 struct dmx_demux *__cil_tmp12 ;
10890 unsigned long __cil_tmp13 ;
10891 unsigned long __cil_tmp14 ;
10892 struct dmx_frontend *__cil_tmp15 ;
10893 unsigned long __cil_tmp16 ;
10894 unsigned long __cil_tmp17 ;
10895 unsigned long __cil_tmp18 ;
10896 unsigned long __cil_tmp19 ;
10897 int (*__cil_tmp20)(struct dmx_demux * , struct dmx_frontend * ) ;
10898 unsigned long __cil_tmp21 ;
10899 unsigned long __cil_tmp22 ;
10900 struct dmx_demux *__cil_tmp23 ;
10901 unsigned long __cil_tmp24 ;
10902 unsigned long __cil_tmp25 ;
10903 struct dmx_frontend *__cil_tmp26 ;
10904 unsigned long __cil_tmp27 ;
10905 unsigned long __cil_tmp28 ;
10906 struct dmxdev *__cil_tmp29 ;
10907 unsigned long __cil_tmp30 ;
10908 unsigned long __cil_tmp31 ;
10909 struct dvb_demux *__cil_tmp32 ;
10910 struct dvb_frontend *__cil_tmp33 ;
10911 struct dvb_frontend *__cil_tmp34 ;
10912 unsigned long __cil_tmp35 ;
10913 unsigned long __cil_tmp36 ;
10914 struct dvb_adapter *__cil_tmp37 ;
10915
10916 {
10917 {
10918#line 567
10919 __cil_tmp2 = (unsigned long )dvb;
10920#line 567
10921 __cil_tmp3 = __cil_tmp2 + 1952;
10922#line 567
10923 __cil_tmp4 = (struct dvb_net *)__cil_tmp3;
10924#line 567
10925 dvb_net_release(__cil_tmp4);
10926#line 568
10927 __cil_tmp5 = 0 + 88;
10928#line 568
10929 __cil_tmp6 = 456 + __cil_tmp5;
10930#line 568
10931 __cil_tmp7 = (unsigned long )dvb;
10932#line 568
10933 __cil_tmp8 = __cil_tmp7 + __cil_tmp6;
10934#line 568
10935 __cil_tmp9 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp8);
10936#line 568
10937 __cil_tmp10 = (unsigned long )dvb;
10938#line 568
10939 __cil_tmp11 = __cil_tmp10 + 456;
10940#line 568
10941 __cil_tmp12 = (struct dmx_demux *)__cil_tmp11;
10942#line 568
10943 __cil_tmp13 = (unsigned long )dvb;
10944#line 568
10945 __cil_tmp14 = __cil_tmp13 + 1928;
10946#line 568
10947 __cil_tmp15 = (struct dmx_frontend *)__cil_tmp14;
10948#line 568
10949 (*__cil_tmp9)(__cil_tmp12, __cil_tmp15);
10950#line 569
10951 __cil_tmp16 = 0 + 88;
10952#line 569
10953 __cil_tmp17 = 456 + __cil_tmp16;
10954#line 569
10955 __cil_tmp18 = (unsigned long )dvb;
10956#line 569
10957 __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
10958#line 569
10959 __cil_tmp20 = *((int (**)(struct dmx_demux * , struct dmx_frontend * ))__cil_tmp19);
10960#line 569
10961 __cil_tmp21 = (unsigned long )dvb;
10962#line 569
10963 __cil_tmp22 = __cil_tmp21 + 456;
10964#line 569
10965 __cil_tmp23 = (struct dmx_demux *)__cil_tmp22;
10966#line 569
10967 __cil_tmp24 = (unsigned long )dvb;
10968#line 569
10969 __cil_tmp25 = __cil_tmp24 + 1904;
10970#line 569
10971 __cil_tmp26 = (struct dmx_frontend *)__cil_tmp25;
10972#line 569
10973 (*__cil_tmp20)(__cil_tmp23, __cil_tmp26);
10974#line 570
10975 __cil_tmp27 = (unsigned long )dvb;
10976#line 570
10977 __cil_tmp28 = __cil_tmp27 + 1408;
10978#line 570
10979 __cil_tmp29 = (struct dmxdev *)__cil_tmp28;
10980#line 570
10981 dvb_dmxdev_release(__cil_tmp29);
10982#line 571
10983 __cil_tmp30 = (unsigned long )dvb;
10984#line 571
10985 __cil_tmp31 = __cil_tmp30 + 456;
10986#line 571
10987 __cil_tmp32 = (struct dvb_demux *)__cil_tmp31;
10988#line 571
10989 dvb_dmx_release(__cil_tmp32);
10990#line 572
10991 __cil_tmp33 = *((struct dvb_frontend **)dvb);
10992#line 572
10993 dvb_unregister_frontend(__cil_tmp33);
10994#line 573
10995 __cil_tmp34 = *((struct dvb_frontend **)dvb);
10996#line 573
10997 dvb_frontend_detach(__cil_tmp34);
10998#line 574
10999 __cil_tmp35 = (unsigned long )dvb;
11000#line 574
11001 __cil_tmp36 = __cil_tmp35 + 184;
11002#line 574
11003 __cil_tmp37 = (struct dvb_adapter *)__cil_tmp36;
11004#line 574
11005 dvb_unregister_adapter(__cil_tmp37);
11006 }
11007#line 575
11008 return;
11009}
11010}
11011#line 577 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
11012static int dvb_init(struct cx231xx *dev )
11013{ int result ;
11014 struct cx231xx_dvb *dvb ;
11015 void *tmp ;
11016 void *__r ;
11017 struct dvb_frontend *(*__a)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11018 void *tmp___1 ;
11019 void *tmp___2 ;
11020 struct dvb_frontend *(*tmp___3)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11021 void *tmp___4 ;
11022 struct dvb_frontend *tmp___5 ;
11023 void *__r___0 ;
11024 struct dvb_frontend *(*__a___0)(struct dvb_frontend * , struct i2c_adapter * , struct xc5000_config const * ) ;
11025 void *tmp___7 ;
11026 void *tmp___8 ;
11027 struct dvb_frontend *(*tmp___9)(struct dvb_frontend * , struct i2c_adapter * , struct xc5000_config const * ) ;
11028 void *tmp___10 ;
11029 struct dvb_frontend *tmp___11 ;
11030 void *__r___1 ;
11031 struct dvb_frontend *(*__a___1)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11032 void *tmp___13 ;
11033 void *tmp___14 ;
11034 struct dvb_frontend *(*tmp___15)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11035 void *tmp___16 ;
11036 struct dvb_frontend *tmp___17 ;
11037 void *__r___2 ;
11038 struct dvb_frontend *(*__a___2)(struct dvb_frontend * , struct i2c_adapter * , struct xc5000_config const * ) ;
11039 void *tmp___19 ;
11040 void *tmp___20 ;
11041 struct dvb_frontend *(*tmp___21)(struct dvb_frontend * , struct i2c_adapter * ,
11042 struct xc5000_config const * ) ;
11043 void *tmp___22 ;
11044 struct dvb_frontend *tmp___23 ;
11045 void *__r___3 ;
11046 struct dvb_frontend *(*__a___3)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11047 void *tmp___25 ;
11048 void *tmp___26 ;
11049 struct dvb_frontend *(*tmp___27)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11050 void *tmp___28 ;
11051 struct dvb_frontend *tmp___29 ;
11052 void *__r___4 ;
11053 struct dvb_frontend *(*__a___4)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11054 struct tda18271_config * ) ;
11055 void *tmp___31 ;
11056 void *tmp___32 ;
11057 struct dvb_frontend *(*tmp___33)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11058 struct tda18271_config * ) ;
11059 void *tmp___34 ;
11060 struct dvb_frontend *tmp___35 ;
11061 void *__r___5 ;
11062 struct dvb_frontend *(*__a___5)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11063 void *tmp___37 ;
11064 void *tmp___38 ;
11065 struct dvb_frontend *(*tmp___39)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11066 void *tmp___40 ;
11067 struct dvb_frontend *tmp___41 ;
11068 void *__r___6 ;
11069 struct dvb_frontend *(*__a___6)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11070 struct tda18271_config * ) ;
11071 void *tmp___43 ;
11072 void *tmp___44 ;
11073 struct dvb_frontend *(*tmp___45)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11074 struct tda18271_config * ) ;
11075 void *tmp___46 ;
11076 struct dvb_frontend *tmp___47 ;
11077 int tmp___48 ;
11078 void *__r___7 ;
11079 struct dvb_frontend *(*__a___7)(struct lgdt3305_config const * , struct i2c_adapter * ) ;
11080 void *tmp___50 ;
11081 void *tmp___51 ;
11082 struct dvb_frontend *(*tmp___52)(struct lgdt3305_config const * , struct i2c_adapter * ) ;
11083 void *tmp___53 ;
11084 struct dvb_frontend *tmp___54 ;
11085 void *__r___8 ;
11086 struct dvb_frontend *(*__a___8)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11087 struct tda18271_config * ) ;
11088 void *tmp___56 ;
11089 void *tmp___57 ;
11090 struct dvb_frontend *(*tmp___58)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11091 struct tda18271_config * ) ;
11092 void *tmp___59 ;
11093 struct dvb_frontend *tmp___60 ;
11094 int tmp___61 ;
11095 void *__r___9 ;
11096 struct dvb_frontend *(*__a___9)(struct mb86a20s_config const * , struct i2c_adapter * ) ;
11097 void *tmp___63 ;
11098 void *tmp___64 ;
11099 struct dvb_frontend *(*tmp___65)(struct mb86a20s_config const * , struct i2c_adapter * ) ;
11100 void *tmp___66 ;
11101 struct dvb_frontend *tmp___67 ;
11102 void *__r___10 ;
11103 struct dvb_frontend *(*__a___10)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11104 struct tda18271_config * ) ;
11105 void *tmp___69 ;
11106 void *tmp___70 ;
11107 struct dvb_frontend *(*tmp___71)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11108 struct tda18271_config * ) ;
11109 void *tmp___72 ;
11110 struct dvb_frontend *tmp___73 ;
11111 unsigned char *__cil_tmp103 ;
11112 unsigned char *__cil_tmp104 ;
11113 unsigned char __cil_tmp105 ;
11114 unsigned int __cil_tmp106 ;
11115 struct cx231xx_dvb *__cil_tmp107 ;
11116 unsigned long __cil_tmp108 ;
11117 unsigned long __cil_tmp109 ;
11118 unsigned long __cil_tmp110 ;
11119 unsigned long __cil_tmp111 ;
11120 unsigned long __cil_tmp112 ;
11121 unsigned long __cil_tmp113 ;
11122 unsigned long __cil_tmp114 ;
11123 unsigned long __cil_tmp115 ;
11124 unsigned long __cil_tmp116 ;
11125 unsigned long __cil_tmp117 ;
11126 struct mutex *__cil_tmp118 ;
11127 enum cx231xx_mode __cil_tmp119 ;
11128 unsigned long __cil_tmp120 ;
11129 unsigned long __cil_tmp121 ;
11130 struct dvb_frontend *(*__cil_tmp122)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11131 unsigned long __cil_tmp123 ;
11132 struct dvb_frontend *(*__cil_tmp124)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11133 unsigned long __cil_tmp125 ;
11134 bool __cil_tmp126 ;
11135 struct dvb_frontend *(*__cil_tmp127)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11136 unsigned long __cil_tmp128 ;
11137 unsigned long __cil_tmp129 ;
11138 struct s5h1432_config const *__cil_tmp130 ;
11139 unsigned long __cil_tmp131 ;
11140 unsigned long __cil_tmp132 ;
11141 unsigned long __cil_tmp133 ;
11142 u8 __cil_tmp134 ;
11143 int __cil_tmp135 ;
11144 unsigned long __cil_tmp136 ;
11145 unsigned long __cil_tmp137 ;
11146 unsigned long __cil_tmp138 ;
11147 unsigned long __cil_tmp139 ;
11148 unsigned long __cil_tmp140 ;
11149 struct i2c_adapter *__cil_tmp141 ;
11150 void *__cil_tmp142 ;
11151 unsigned long __cil_tmp143 ;
11152 unsigned long __cil_tmp144 ;
11153 unsigned long __cil_tmp145 ;
11154 unsigned long __cil_tmp146 ;
11155 struct cx231xx_dvb *__cil_tmp147 ;
11156 struct dvb_frontend *__cil_tmp148 ;
11157 unsigned long __cil_tmp149 ;
11158 unsigned long __cil_tmp150 ;
11159 unsigned long __cil_tmp151 ;
11160 struct cx231xx_dvb *__cil_tmp152 ;
11161 struct dvb_frontend *__cil_tmp153 ;
11162 unsigned long __cil_tmp154 ;
11163 struct dvb_frontend *__cil_tmp155 ;
11164 unsigned long __cil_tmp156 ;
11165 unsigned long __cil_tmp157 ;
11166 struct dvb_frontend *(*__cil_tmp158)(struct dvb_frontend * , struct i2c_adapter * ,
11167 struct xc5000_config const * ) ;
11168 unsigned long __cil_tmp159 ;
11169 struct dvb_frontend *(*__cil_tmp160)(struct dvb_frontend * , struct i2c_adapter * ,
11170 struct xc5000_config const * ) ;
11171 unsigned long __cil_tmp161 ;
11172 bool __cil_tmp162 ;
11173 struct dvb_frontend *(*__cil_tmp163)(struct dvb_frontend * , struct i2c_adapter * ,
11174 struct xc5000_config const * ) ;
11175 unsigned long __cil_tmp164 ;
11176 unsigned long __cil_tmp165 ;
11177 unsigned long __cil_tmp166 ;
11178 unsigned long __cil_tmp167 ;
11179 struct cx231xx_dvb *__cil_tmp168 ;
11180 struct dvb_frontend *__cil_tmp169 ;
11181 unsigned long __cil_tmp170 ;
11182 unsigned long __cil_tmp171 ;
11183 unsigned long __cil_tmp172 ;
11184 u8 __cil_tmp173 ;
11185 int __cil_tmp174 ;
11186 unsigned long __cil_tmp175 ;
11187 unsigned long __cil_tmp176 ;
11188 unsigned long __cil_tmp177 ;
11189 unsigned long __cil_tmp178 ;
11190 unsigned long __cil_tmp179 ;
11191 struct i2c_adapter *__cil_tmp180 ;
11192 struct xc5000_config const *__cil_tmp181 ;
11193 void *__cil_tmp182 ;
11194 unsigned long __cil_tmp183 ;
11195 unsigned long __cil_tmp184 ;
11196 void *__cil_tmp185 ;
11197 unsigned long __cil_tmp186 ;
11198 unsigned long __cil_tmp187 ;
11199 struct dvb_frontend *(*__cil_tmp188)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11200 unsigned long __cil_tmp189 ;
11201 struct dvb_frontend *(*__cil_tmp190)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11202 unsigned long __cil_tmp191 ;
11203 bool __cil_tmp192 ;
11204 struct dvb_frontend *(*__cil_tmp193)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11205 unsigned long __cil_tmp194 ;
11206 unsigned long __cil_tmp195 ;
11207 struct s5h1411_config const *__cil_tmp196 ;
11208 unsigned long __cil_tmp197 ;
11209 unsigned long __cil_tmp198 ;
11210 unsigned long __cil_tmp199 ;
11211 u8 __cil_tmp200 ;
11212 int __cil_tmp201 ;
11213 unsigned long __cil_tmp202 ;
11214 unsigned long __cil_tmp203 ;
11215 unsigned long __cil_tmp204 ;
11216 unsigned long __cil_tmp205 ;
11217 unsigned long __cil_tmp206 ;
11218 struct i2c_adapter *__cil_tmp207 ;
11219 void *__cil_tmp208 ;
11220 unsigned long __cil_tmp209 ;
11221 unsigned long __cil_tmp210 ;
11222 unsigned long __cil_tmp211 ;
11223 unsigned long __cil_tmp212 ;
11224 struct cx231xx_dvb *__cil_tmp213 ;
11225 struct dvb_frontend *__cil_tmp214 ;
11226 unsigned long __cil_tmp215 ;
11227 unsigned long __cil_tmp216 ;
11228 unsigned long __cil_tmp217 ;
11229 struct cx231xx_dvb *__cil_tmp218 ;
11230 struct dvb_frontend *__cil_tmp219 ;
11231 unsigned long __cil_tmp220 ;
11232 struct dvb_frontend *__cil_tmp221 ;
11233 unsigned long __cil_tmp222 ;
11234 unsigned long __cil_tmp223 ;
11235 struct dvb_frontend *(*__cil_tmp224)(struct dvb_frontend * , struct i2c_adapter * ,
11236 struct xc5000_config const * ) ;
11237 unsigned long __cil_tmp225 ;
11238 struct dvb_frontend *(*__cil_tmp226)(struct dvb_frontend * , struct i2c_adapter * ,
11239 struct xc5000_config const * ) ;
11240 unsigned long __cil_tmp227 ;
11241 bool __cil_tmp228 ;
11242 struct dvb_frontend *(*__cil_tmp229)(struct dvb_frontend * , struct i2c_adapter * ,
11243 struct xc5000_config const * ) ;
11244 unsigned long __cil_tmp230 ;
11245 unsigned long __cil_tmp231 ;
11246 unsigned long __cil_tmp232 ;
11247 unsigned long __cil_tmp233 ;
11248 struct cx231xx_dvb *__cil_tmp234 ;
11249 struct dvb_frontend *__cil_tmp235 ;
11250 unsigned long __cil_tmp236 ;
11251 unsigned long __cil_tmp237 ;
11252 unsigned long __cil_tmp238 ;
11253 u8 __cil_tmp239 ;
11254 int __cil_tmp240 ;
11255 unsigned long __cil_tmp241 ;
11256 unsigned long __cil_tmp242 ;
11257 unsigned long __cil_tmp243 ;
11258 unsigned long __cil_tmp244 ;
11259 unsigned long __cil_tmp245 ;
11260 struct i2c_adapter *__cil_tmp246 ;
11261 struct xc5000_config const *__cil_tmp247 ;
11262 void *__cil_tmp248 ;
11263 unsigned long __cil_tmp249 ;
11264 unsigned long __cil_tmp250 ;
11265 void *__cil_tmp251 ;
11266 unsigned long __cil_tmp252 ;
11267 unsigned long __cil_tmp253 ;
11268 struct dvb_frontend *(*__cil_tmp254)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11269 unsigned long __cil_tmp255 ;
11270 struct dvb_frontend *(*__cil_tmp256)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11271 unsigned long __cil_tmp257 ;
11272 bool __cil_tmp258 ;
11273 struct dvb_frontend *(*__cil_tmp259)(struct s5h1432_config const * , struct i2c_adapter * ) ;
11274 unsigned long __cil_tmp260 ;
11275 unsigned long __cil_tmp261 ;
11276 struct s5h1432_config const *__cil_tmp262 ;
11277 unsigned long __cil_tmp263 ;
11278 unsigned long __cil_tmp264 ;
11279 unsigned long __cil_tmp265 ;
11280 u8 __cil_tmp266 ;
11281 int __cil_tmp267 ;
11282 unsigned long __cil_tmp268 ;
11283 unsigned long __cil_tmp269 ;
11284 unsigned long __cil_tmp270 ;
11285 unsigned long __cil_tmp271 ;
11286 unsigned long __cil_tmp272 ;
11287 struct i2c_adapter *__cil_tmp273 ;
11288 void *__cil_tmp274 ;
11289 unsigned long __cil_tmp275 ;
11290 unsigned long __cil_tmp276 ;
11291 unsigned long __cil_tmp277 ;
11292 unsigned long __cil_tmp278 ;
11293 struct cx231xx_dvb *__cil_tmp279 ;
11294 struct dvb_frontend *__cil_tmp280 ;
11295 unsigned long __cil_tmp281 ;
11296 unsigned long __cil_tmp282 ;
11297 unsigned long __cil_tmp283 ;
11298 struct cx231xx_dvb *__cil_tmp284 ;
11299 struct dvb_frontend *__cil_tmp285 ;
11300 unsigned long __cil_tmp286 ;
11301 struct dvb_frontend *__cil_tmp287 ;
11302 unsigned long __cil_tmp288 ;
11303 unsigned long __cil_tmp289 ;
11304 struct dvb_frontend *(*__cil_tmp290)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11305 struct tda18271_config * ) ;
11306 unsigned long __cil_tmp291 ;
11307 struct dvb_frontend *(*__cil_tmp292)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11308 struct tda18271_config * ) ;
11309 unsigned long __cil_tmp293 ;
11310 bool __cil_tmp294 ;
11311 struct dvb_frontend *(*__cil_tmp295)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11312 struct tda18271_config * ) ;
11313 unsigned long __cil_tmp296 ;
11314 unsigned long __cil_tmp297 ;
11315 unsigned long __cil_tmp298 ;
11316 unsigned long __cil_tmp299 ;
11317 struct cx231xx_dvb *__cil_tmp300 ;
11318 struct dvb_frontend *__cil_tmp301 ;
11319 u8 __cil_tmp302 ;
11320 unsigned long __cil_tmp303 ;
11321 unsigned long __cil_tmp304 ;
11322 unsigned long __cil_tmp305 ;
11323 u8 __cil_tmp306 ;
11324 int __cil_tmp307 ;
11325 unsigned long __cil_tmp308 ;
11326 unsigned long __cil_tmp309 ;
11327 unsigned long __cil_tmp310 ;
11328 unsigned long __cil_tmp311 ;
11329 unsigned long __cil_tmp312 ;
11330 struct i2c_adapter *__cil_tmp313 ;
11331 void *__cil_tmp314 ;
11332 unsigned long __cil_tmp315 ;
11333 unsigned long __cil_tmp316 ;
11334 void *__cil_tmp317 ;
11335 unsigned long __cil_tmp318 ;
11336 unsigned long __cil_tmp319 ;
11337 struct dvb_frontend *(*__cil_tmp320)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11338 unsigned long __cil_tmp321 ;
11339 struct dvb_frontend *(*__cil_tmp322)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11340 unsigned long __cil_tmp323 ;
11341 bool __cil_tmp324 ;
11342 struct dvb_frontend *(*__cil_tmp325)(struct s5h1411_config const * , struct i2c_adapter * ) ;
11343 unsigned long __cil_tmp326 ;
11344 unsigned long __cil_tmp327 ;
11345 struct s5h1411_config const *__cil_tmp328 ;
11346 unsigned long __cil_tmp329 ;
11347 unsigned long __cil_tmp330 ;
11348 unsigned long __cil_tmp331 ;
11349 u8 __cil_tmp332 ;
11350 int __cil_tmp333 ;
11351 unsigned long __cil_tmp334 ;
11352 unsigned long __cil_tmp335 ;
11353 unsigned long __cil_tmp336 ;
11354 unsigned long __cil_tmp337 ;
11355 unsigned long __cil_tmp338 ;
11356 struct i2c_adapter *__cil_tmp339 ;
11357 void *__cil_tmp340 ;
11358 unsigned long __cil_tmp341 ;
11359 unsigned long __cil_tmp342 ;
11360 unsigned long __cil_tmp343 ;
11361 unsigned long __cil_tmp344 ;
11362 struct cx231xx_dvb *__cil_tmp345 ;
11363 struct dvb_frontend *__cil_tmp346 ;
11364 unsigned long __cil_tmp347 ;
11365 unsigned long __cil_tmp348 ;
11366 unsigned long __cil_tmp349 ;
11367 struct cx231xx_dvb *__cil_tmp350 ;
11368 struct dvb_frontend *__cil_tmp351 ;
11369 unsigned long __cil_tmp352 ;
11370 struct dvb_frontend *__cil_tmp353 ;
11371 unsigned long __cil_tmp354 ;
11372 unsigned long __cil_tmp355 ;
11373 struct dvb_frontend *(*__cil_tmp356)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11374 struct tda18271_config * ) ;
11375 unsigned long __cil_tmp357 ;
11376 struct dvb_frontend *(*__cil_tmp358)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11377 struct tda18271_config * ) ;
11378 unsigned long __cil_tmp359 ;
11379 bool __cil_tmp360 ;
11380 struct dvb_frontend *(*__cil_tmp361)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11381 struct tda18271_config * ) ;
11382 unsigned long __cil_tmp362 ;
11383 unsigned long __cil_tmp363 ;
11384 unsigned long __cil_tmp364 ;
11385 unsigned long __cil_tmp365 ;
11386 struct cx231xx_dvb *__cil_tmp366 ;
11387 struct dvb_frontend *__cil_tmp367 ;
11388 u8 __cil_tmp368 ;
11389 unsigned long __cil_tmp369 ;
11390 unsigned long __cil_tmp370 ;
11391 unsigned long __cil_tmp371 ;
11392 u8 __cil_tmp372 ;
11393 int __cil_tmp373 ;
11394 unsigned long __cil_tmp374 ;
11395 unsigned long __cil_tmp375 ;
11396 unsigned long __cil_tmp376 ;
11397 unsigned long __cil_tmp377 ;
11398 unsigned long __cil_tmp378 ;
11399 struct i2c_adapter *__cil_tmp379 ;
11400 void *__cil_tmp380 ;
11401 unsigned long __cil_tmp381 ;
11402 unsigned long __cil_tmp382 ;
11403 void *__cil_tmp383 ;
11404 unsigned long __cil_tmp384 ;
11405 unsigned long __cil_tmp385 ;
11406 unsigned long __cil_tmp386 ;
11407 unsigned long __cil_tmp387 ;
11408 unsigned long __cil_tmp388 ;
11409 u8 __cil_tmp389 ;
11410 int __cil_tmp390 ;
11411 unsigned long __cil_tmp391 ;
11412 unsigned long __cil_tmp392 ;
11413 unsigned long __cil_tmp393 ;
11414 unsigned long __cil_tmp394 ;
11415 unsigned long __cil_tmp395 ;
11416 struct i2c_adapter *__cil_tmp396 ;
11417 struct dvb_frontend *(*__cil_tmp397)(struct lgdt3305_config const * , struct i2c_adapter * ) ;
11418 unsigned long __cil_tmp398 ;
11419 struct dvb_frontend *(*__cil_tmp399)(struct lgdt3305_config const * , struct i2c_adapter * ) ;
11420 unsigned long __cil_tmp400 ;
11421 bool __cil_tmp401 ;
11422 struct dvb_frontend *(*__cil_tmp402)(struct lgdt3305_config const * , struct i2c_adapter * ) ;
11423 unsigned long __cil_tmp403 ;
11424 unsigned long __cil_tmp404 ;
11425 struct lgdt3305_config const *__cil_tmp405 ;
11426 unsigned long __cil_tmp406 ;
11427 unsigned long __cil_tmp407 ;
11428 unsigned long __cil_tmp408 ;
11429 u8 __cil_tmp409 ;
11430 int __cil_tmp410 ;
11431 unsigned long __cil_tmp411 ;
11432 unsigned long __cil_tmp412 ;
11433 unsigned long __cil_tmp413 ;
11434 unsigned long __cil_tmp414 ;
11435 unsigned long __cil_tmp415 ;
11436 struct i2c_adapter *__cil_tmp416 ;
11437 void *__cil_tmp417 ;
11438 unsigned long __cil_tmp418 ;
11439 unsigned long __cil_tmp419 ;
11440 unsigned long __cil_tmp420 ;
11441 unsigned long __cil_tmp421 ;
11442 struct cx231xx_dvb *__cil_tmp422 ;
11443 struct dvb_frontend *__cil_tmp423 ;
11444 unsigned long __cil_tmp424 ;
11445 unsigned long __cil_tmp425 ;
11446 unsigned long __cil_tmp426 ;
11447 struct cx231xx_dvb *__cil_tmp427 ;
11448 struct dvb_frontend *__cil_tmp428 ;
11449 unsigned long __cil_tmp429 ;
11450 struct dvb_frontend *__cil_tmp430 ;
11451 unsigned long __cil_tmp431 ;
11452 unsigned long __cil_tmp432 ;
11453 struct dvb_frontend *(*__cil_tmp433)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11454 struct tda18271_config * ) ;
11455 unsigned long __cil_tmp434 ;
11456 struct dvb_frontend *(*__cil_tmp435)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11457 struct tda18271_config * ) ;
11458 unsigned long __cil_tmp436 ;
11459 bool __cil_tmp437 ;
11460 struct dvb_frontend *(*__cil_tmp438)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11461 struct tda18271_config * ) ;
11462 unsigned long __cil_tmp439 ;
11463 unsigned long __cil_tmp440 ;
11464 unsigned long __cil_tmp441 ;
11465 unsigned long __cil_tmp442 ;
11466 struct cx231xx_dvb *__cil_tmp443 ;
11467 struct dvb_frontend *__cil_tmp444 ;
11468 u8 __cil_tmp445 ;
11469 unsigned long __cil_tmp446 ;
11470 unsigned long __cil_tmp447 ;
11471 unsigned long __cil_tmp448 ;
11472 u8 __cil_tmp449 ;
11473 int __cil_tmp450 ;
11474 unsigned long __cil_tmp451 ;
11475 unsigned long __cil_tmp452 ;
11476 unsigned long __cil_tmp453 ;
11477 unsigned long __cil_tmp454 ;
11478 unsigned long __cil_tmp455 ;
11479 struct i2c_adapter *__cil_tmp456 ;
11480 void *__cil_tmp457 ;
11481 unsigned long __cil_tmp458 ;
11482 unsigned long __cil_tmp459 ;
11483 unsigned long __cil_tmp460 ;
11484 unsigned long __cil_tmp461 ;
11485 unsigned long __cil_tmp462 ;
11486 u8 __cil_tmp463 ;
11487 int __cil_tmp464 ;
11488 unsigned long __cil_tmp465 ;
11489 unsigned long __cil_tmp466 ;
11490 unsigned long __cil_tmp467 ;
11491 unsigned long __cil_tmp468 ;
11492 unsigned long __cil_tmp469 ;
11493 struct i2c_adapter *__cil_tmp470 ;
11494 struct dvb_frontend *(*__cil_tmp471)(struct mb86a20s_config const * , struct i2c_adapter * ) ;
11495 unsigned long __cil_tmp472 ;
11496 struct dvb_frontend *(*__cil_tmp473)(struct mb86a20s_config const * , struct i2c_adapter * ) ;
11497 unsigned long __cil_tmp474 ;
11498 bool __cil_tmp475 ;
11499 struct dvb_frontend *(*__cil_tmp476)(struct mb86a20s_config const * , struct i2c_adapter * ) ;
11500 unsigned long __cil_tmp477 ;
11501 unsigned long __cil_tmp478 ;
11502 unsigned long __cil_tmp479 ;
11503 unsigned long __cil_tmp480 ;
11504 unsigned long __cil_tmp481 ;
11505 u8 __cil_tmp482 ;
11506 int __cil_tmp483 ;
11507 unsigned long __cil_tmp484 ;
11508 unsigned long __cil_tmp485 ;
11509 unsigned long __cil_tmp486 ;
11510 unsigned long __cil_tmp487 ;
11511 unsigned long __cil_tmp488 ;
11512 struct i2c_adapter *__cil_tmp489 ;
11513 void *__cil_tmp490 ;
11514 unsigned long __cil_tmp491 ;
11515 unsigned long __cil_tmp492 ;
11516 unsigned long __cil_tmp493 ;
11517 unsigned long __cil_tmp494 ;
11518 struct cx231xx_dvb *__cil_tmp495 ;
11519 struct dvb_frontend *__cil_tmp496 ;
11520 unsigned long __cil_tmp497 ;
11521 unsigned long __cil_tmp498 ;
11522 unsigned long __cil_tmp499 ;
11523 struct cx231xx_dvb *__cil_tmp500 ;
11524 struct dvb_frontend *__cil_tmp501 ;
11525 unsigned long __cil_tmp502 ;
11526 struct dvb_frontend *__cil_tmp503 ;
11527 unsigned long __cil_tmp504 ;
11528 unsigned long __cil_tmp505 ;
11529 struct dvb_frontend *(*__cil_tmp506)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11530 struct tda18271_config * ) ;
11531 unsigned long __cil_tmp507 ;
11532 struct dvb_frontend *(*__cil_tmp508)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11533 struct tda18271_config * ) ;
11534 unsigned long __cil_tmp509 ;
11535 bool __cil_tmp510 ;
11536 struct dvb_frontend *(*__cil_tmp511)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
11537 struct tda18271_config * ) ;
11538 unsigned long __cil_tmp512 ;
11539 unsigned long __cil_tmp513 ;
11540 unsigned long __cil_tmp514 ;
11541 unsigned long __cil_tmp515 ;
11542 struct cx231xx_dvb *__cil_tmp516 ;
11543 struct dvb_frontend *__cil_tmp517 ;
11544 u8 __cil_tmp518 ;
11545 unsigned long __cil_tmp519 ;
11546 unsigned long __cil_tmp520 ;
11547 unsigned long __cil_tmp521 ;
11548 u8 __cil_tmp522 ;
11549 int __cil_tmp523 ;
11550 unsigned long __cil_tmp524 ;
11551 unsigned long __cil_tmp525 ;
11552 unsigned long __cil_tmp526 ;
11553 unsigned long __cil_tmp527 ;
11554 unsigned long __cil_tmp528 ;
11555 struct i2c_adapter *__cil_tmp529 ;
11556 void *__cil_tmp530 ;
11557 unsigned long __cil_tmp531 ;
11558 unsigned long __cil_tmp532 ;
11559 char (*__cil_tmp533)[30U] ;
11560 char *__cil_tmp534 ;
11561 struct dvb_frontend *__cil_tmp535 ;
11562 unsigned long __cil_tmp536 ;
11563 struct dvb_frontend *__cil_tmp537 ;
11564 unsigned long __cil_tmp538 ;
11565 char (*__cil_tmp539)[30U] ;
11566 char *__cil_tmp540 ;
11567 unsigned long __cil_tmp541 ;
11568 unsigned long __cil_tmp542 ;
11569 struct usb_device *__cil_tmp543 ;
11570 unsigned long __cil_tmp544 ;
11571 unsigned long __cil_tmp545 ;
11572 struct device *__cil_tmp546 ;
11573 enum cx231xx_mode __cil_tmp547 ;
11574 unsigned long __cil_tmp548 ;
11575 unsigned long __cil_tmp549 ;
11576 struct mutex *__cil_tmp550 ;
11577 void const *__cil_tmp551 ;
11578 unsigned long __cil_tmp552 ;
11579 unsigned long __cil_tmp553 ;
11580
11581 {
11582#line 579
11583 result = 0;
11584 {
11585#line 582
11586 __cil_tmp103 = (unsigned char *)dev;
11587#line 582
11588 __cil_tmp104 = __cil_tmp103 + 136UL;
11589#line 582
11590 __cil_tmp105 = *__cil_tmp104;
11591#line 582
11592 __cil_tmp106 = (unsigned int )__cil_tmp105;
11593#line 582
11594 if (__cil_tmp106 == 0U) {
11595#line 584
11596 return (0);
11597 } else {
11598
11599 }
11600 }
11601 {
11602#line 587
11603 tmp = kzalloc(2096UL, 208U);
11604#line 587
11605 dvb = (struct cx231xx_dvb *)tmp;
11606 }
11607 {
11608#line 589
11609 __cil_tmp107 = (struct cx231xx_dvb *)0;
11610#line 589
11611 __cil_tmp108 = (unsigned long )__cil_tmp107;
11612#line 589
11613 __cil_tmp109 = (unsigned long )dvb;
11614#line 589
11615 if (__cil_tmp109 == __cil_tmp108) {
11616 {
11617#line 590
11618 printk("<6>cx231xx_dvb: memory allocation failed\n");
11619 }
11620#line 591
11621 return (-12);
11622 } else {
11623
11624 }
11625 }
11626 {
11627#line 593
11628 __cil_tmp110 = (unsigned long )dev;
11629#line 593
11630 __cil_tmp111 = __cil_tmp110 + 13448;
11631#line 593
11632 *((struct cx231xx_dvb **)__cil_tmp111) = dvb;
11633#line 594
11634 __cil_tmp112 = (unsigned long )dev;
11635#line 594
11636 __cil_tmp113 = __cil_tmp112 + 13424;
11637#line 594
11638 *((int (**)(struct cx231xx * , u32 ))__cil_tmp113) = & cx231xx_set_analog_freq;
11639#line 595
11640 __cil_tmp114 = (unsigned long )dev;
11641#line 595
11642 __cil_tmp115 = __cil_tmp114 + 13432;
11643#line 595
11644 *((int (**)(struct cx231xx * ))__cil_tmp115) = & cx231xx_reset_analog_tuner;
11645#line 597
11646 __cil_tmp116 = (unsigned long )dev;
11647#line 597
11648 __cil_tmp117 = __cil_tmp116 + 10528;
11649#line 597
11650 __cil_tmp118 = (struct mutex *)__cil_tmp117;
11651#line 597
11652 mutex_lock_nested(__cil_tmp118, 0U);
11653#line 598
11654 __cil_tmp119 = (enum cx231xx_mode )2;
11655#line 598
11656 cx231xx_set_mode(dev, __cil_tmp119);
11657#line 599
11658 cx231xx_demod_reset(dev);
11659 }
11660 {
11661#line 601
11662 __cil_tmp120 = (unsigned long )dev;
11663#line 601
11664 __cil_tmp121 = __cil_tmp120 + 32;
11665#line 602
11666 if (*((int *)__cil_tmp121) == 1) {
11667#line 602
11668 goto case_1;
11669 } else
11670#line 603
11671 if (*((int *)__cil_tmp121) == 6) {
11672#line 603
11673 goto case_6;
11674 } else
11675#line 627
11676 if (*((int *)__cil_tmp121) == 2) {
11677#line 627
11678 goto case_2;
11679 } else
11680#line 628
11681 if (*((int *)__cil_tmp121) == 7) {
11682#line 628
11683 goto case_7;
11684 } else
11685#line 651
11686 if (*((int *)__cil_tmp121) == 3) {
11687#line 651
11688 goto case_3;
11689 } else
11690#line 674
11691 if (*((int *)__cil_tmp121) == 4) {
11692#line 674
11693 goto case_4;
11694 } else
11695#line 697
11696 if (*((int *)__cil_tmp121) == 8) {
11697#line 697
11698 goto case_8;
11699 } else
11700#line 721
11701 if (*((int *)__cil_tmp121) == 10) {
11702#line 721
11703 goto case_10;
11704 } else
11705#line 722
11706 if (*((int *)__cil_tmp121) == 12) {
11707#line 722
11708 goto case_12;
11709 } else {
11710 {
11711#line 746
11712 goto switch_default;
11713#line 601
11714 if (0) {
11715 case_1: ;
11716 case_6:
11717 {
11718#line 605
11719 __r = (void *)0;
11720#line 605
11721 tmp___4 = __symbol_get("s5h1432_attach");
11722 }
11723 {
11724#line 605
11725 __cil_tmp122 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))0;
11726#line 605
11727 __cil_tmp123 = (unsigned long )__cil_tmp122;
11728#line 605
11729 __cil_tmp124 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___4;
11730#line 605
11731 __cil_tmp125 = (unsigned long )__cil_tmp124;
11732#line 605
11733 if (__cil_tmp125 != __cil_tmp123) {
11734 {
11735#line 605
11736 tmp___1 = __symbol_get("s5h1432_attach");
11737#line 605
11738 tmp___3 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___1;
11739 }
11740 } else {
11741 {
11742#line 605
11743 __cil_tmp126 = (bool )1;
11744#line 605
11745 __request_module(__cil_tmp126, "symbol:s5h1432_attach");
11746#line 605
11747 tmp___2 = __symbol_get("s5h1432_attach");
11748#line 605
11749 tmp___3 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___2;
11750 }
11751 }
11752 }
11753#line 605
11754 __a = tmp___3;
11755 {
11756#line 605
11757 __cil_tmp127 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))0;
11758#line 605
11759 __cil_tmp128 = (unsigned long )__cil_tmp127;
11760#line 605
11761 __cil_tmp129 = (unsigned long )__a;
11762#line 605
11763 if (__cil_tmp129 != __cil_tmp128) {
11764 {
11765#line 605
11766 __cil_tmp130 = (struct s5h1432_config const *)(& dvico_s5h1432_config);
11767#line 605
11768 __cil_tmp131 = 40 + 81;
11769#line 605
11770 __cil_tmp132 = (unsigned long )dev;
11771#line 605
11772 __cil_tmp133 = __cil_tmp132 + __cil_tmp131;
11773#line 605
11774 __cil_tmp134 = *((u8 *)__cil_tmp133);
11775#line 605
11776 __cil_tmp135 = (int )__cil_tmp134;
11777#line 605
11778 __cil_tmp136 = __cil_tmp135 * 2968UL;
11779#line 605
11780 __cil_tmp137 = __cil_tmp136 + 16;
11781#line 605
11782 __cil_tmp138 = 848 + __cil_tmp137;
11783#line 605
11784 __cil_tmp139 = (unsigned long )dev;
11785#line 605
11786 __cil_tmp140 = __cil_tmp139 + __cil_tmp138;
11787#line 605
11788 __cil_tmp141 = (struct i2c_adapter *)__cil_tmp140;
11789#line 605
11790 tmp___5 = (*__a)(__cil_tmp130, __cil_tmp141);
11791#line 605
11792 __r = (void *)tmp___5;
11793 }
11794 {
11795#line 605
11796 __cil_tmp142 = (void *)0;
11797#line 605
11798 __cil_tmp143 = (unsigned long )__cil_tmp142;
11799#line 605
11800 __cil_tmp144 = (unsigned long )__r;
11801#line 605
11802 if (__cil_tmp144 == __cil_tmp143) {
11803 {
11804#line 605
11805 __symbol_put("s5h1432_attach");
11806 }
11807 } else {
11808
11809 }
11810 }
11811 } else {
11812 {
11813#line 605
11814 printk("<3>DVB: Unable to find symbol s5h1432_attach()\n");
11815 }
11816 }
11817 }
11818#line 605
11819 __cil_tmp145 = (unsigned long )dev;
11820#line 605
11821 __cil_tmp146 = __cil_tmp145 + 13448;
11822#line 605
11823 __cil_tmp147 = *((struct cx231xx_dvb **)__cil_tmp146);
11824#line 605
11825 *((struct dvb_frontend **)__cil_tmp147) = (struct dvb_frontend *)__r;
11826 {
11827#line 609
11828 __cil_tmp148 = (struct dvb_frontend *)0;
11829#line 609
11830 __cil_tmp149 = (unsigned long )__cil_tmp148;
11831#line 609
11832 __cil_tmp150 = (unsigned long )dev;
11833#line 609
11834 __cil_tmp151 = __cil_tmp150 + 13448;
11835#line 609
11836 __cil_tmp152 = *((struct cx231xx_dvb **)__cil_tmp151);
11837#line 609
11838 __cil_tmp153 = *((struct dvb_frontend **)__cil_tmp152);
11839#line 609
11840 __cil_tmp154 = (unsigned long )__cil_tmp153;
11841#line 609
11842 if (__cil_tmp154 == __cil_tmp149) {
11843 {
11844#line 610
11845 printk("cx231xx: Failed to attach s5h1432 front end\n");
11846#line 612
11847 result = -22;
11848 }
11849#line 613
11850 goto out_free;
11851 } else {
11852
11853 }
11854 }
11855 {
11856#line 617
11857 __cil_tmp155 = *((struct dvb_frontend **)dvb);
11858#line 617
11859 __cil_tmp156 = (unsigned long )__cil_tmp155;
11860#line 617
11861 __cil_tmp157 = __cil_tmp156 + 944;
11862#line 617
11863 *((int (**)(void * , int , int , int ))__cil_tmp157) = & cx231xx_tuner_callback;
11864#line 619
11865 __r___0 = (void *)0;
11866#line 619
11867 tmp___10 = __symbol_get("xc5000_attach");
11868 }
11869 {
11870#line 619
11871 __cil_tmp158 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
11872 struct xc5000_config const * ))0;
11873#line 619
11874 __cil_tmp159 = (unsigned long )__cil_tmp158;
11875#line 619
11876 __cil_tmp160 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
11877 struct xc5000_config const * ))tmp___10;
11878#line 619
11879 __cil_tmp161 = (unsigned long )__cil_tmp160;
11880#line 619
11881 if (__cil_tmp161 != __cil_tmp159) {
11882 {
11883#line 619
11884 tmp___7 = __symbol_get("xc5000_attach");
11885#line 619
11886 tmp___9 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
11887 struct xc5000_config const * ))tmp___7;
11888 }
11889 } else {
11890 {
11891#line 619
11892 __cil_tmp162 = (bool )1;
11893#line 619
11894 __request_module(__cil_tmp162, "symbol:xc5000_attach");
11895#line 619
11896 tmp___8 = __symbol_get("xc5000_attach");
11897#line 619
11898 tmp___9 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
11899 struct xc5000_config const * ))tmp___8;
11900 }
11901 }
11902 }
11903#line 619
11904 __a___0 = tmp___9;
11905 {
11906#line 619
11907 __cil_tmp163 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
11908 struct xc5000_config const * ))0;
11909#line 619
11910 __cil_tmp164 = (unsigned long )__cil_tmp163;
11911#line 619
11912 __cil_tmp165 = (unsigned long )__a___0;
11913#line 619
11914 if (__cil_tmp165 != __cil_tmp164) {
11915 {
11916#line 619
11917 __cil_tmp166 = (unsigned long )dev;
11918#line 619
11919 __cil_tmp167 = __cil_tmp166 + 13448;
11920#line 619
11921 __cil_tmp168 = *((struct cx231xx_dvb **)__cil_tmp167);
11922#line 619
11923 __cil_tmp169 = *((struct dvb_frontend **)__cil_tmp168);
11924#line 619
11925 __cil_tmp170 = 40 + 80;
11926#line 619
11927 __cil_tmp171 = (unsigned long )dev;
11928#line 619
11929 __cil_tmp172 = __cil_tmp171 + __cil_tmp170;
11930#line 619
11931 __cil_tmp173 = *((u8 *)__cil_tmp172);
11932#line 619
11933 __cil_tmp174 = (int )__cil_tmp173;
11934#line 619
11935 __cil_tmp175 = __cil_tmp174 * 2968UL;
11936#line 619
11937 __cil_tmp176 = __cil_tmp175 + 16;
11938#line 619
11939 __cil_tmp177 = 848 + __cil_tmp176;
11940#line 619
11941 __cil_tmp178 = (unsigned long )dev;
11942#line 619
11943 __cil_tmp179 = __cil_tmp178 + __cil_tmp177;
11944#line 619
11945 __cil_tmp180 = (struct i2c_adapter *)__cil_tmp179;
11946#line 619
11947 __cil_tmp181 = (struct xc5000_config const *)(& cnxt_rde250_tunerconfig);
11948#line 619
11949 tmp___11 = (*__a___0)(__cil_tmp169, __cil_tmp180, __cil_tmp181);
11950#line 619
11951 __r___0 = (void *)tmp___11;
11952 }
11953 {
11954#line 619
11955 __cil_tmp182 = (void *)0;
11956#line 619
11957 __cil_tmp183 = (unsigned long )__cil_tmp182;
11958#line 619
11959 __cil_tmp184 = (unsigned long )__r___0;
11960#line 619
11961 if (__cil_tmp184 == __cil_tmp183) {
11962 {
11963#line 619
11964 __symbol_put("xc5000_attach");
11965 }
11966 } else {
11967
11968 }
11969 }
11970 } else {
11971 {
11972#line 619
11973 printk("<3>DVB: Unable to find symbol xc5000_attach()\n");
11974 }
11975 }
11976 }
11977 {
11978#line 619
11979 __cil_tmp185 = (void *)0;
11980#line 619
11981 __cil_tmp186 = (unsigned long )__cil_tmp185;
11982#line 619
11983 __cil_tmp187 = (unsigned long )__r___0;
11984#line 619
11985 if (__cil_tmp187 == __cil_tmp186) {
11986#line 622
11987 result = -22;
11988#line 623
11989 goto out_free;
11990 } else {
11991
11992 }
11993 }
11994#line 626
11995 goto ldv_42484;
11996 case_2: ;
11997 case_7:
11998 {
11999#line 630
12000 __r___1 = (void *)0;
12001#line 630
12002 tmp___16 = __symbol_get("s5h1411_attach");
12003 }
12004 {
12005#line 630
12006 __cil_tmp188 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))0;
12007#line 630
12008 __cil_tmp189 = (unsigned long )__cil_tmp188;
12009#line 630
12010 __cil_tmp190 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___16;
12011#line 630
12012 __cil_tmp191 = (unsigned long )__cil_tmp190;
12013#line 630
12014 if (__cil_tmp191 != __cil_tmp189) {
12015 {
12016#line 630
12017 tmp___13 = __symbol_get("s5h1411_attach");
12018#line 630
12019 tmp___15 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___13;
12020 }
12021 } else {
12022 {
12023#line 630
12024 __cil_tmp192 = (bool )1;
12025#line 630
12026 __request_module(__cil_tmp192, "symbol:s5h1411_attach");
12027#line 630
12028 tmp___14 = __symbol_get("s5h1411_attach");
12029#line 630
12030 tmp___15 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___14;
12031 }
12032 }
12033 }
12034#line 630
12035 __a___1 = tmp___15;
12036 {
12037#line 630
12038 __cil_tmp193 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))0;
12039#line 630
12040 __cil_tmp194 = (unsigned long )__cil_tmp193;
12041#line 630
12042 __cil_tmp195 = (unsigned long )__a___1;
12043#line 630
12044 if (__cil_tmp195 != __cil_tmp194) {
12045 {
12046#line 630
12047 __cil_tmp196 = (struct s5h1411_config const *)(& xc5000_s5h1411_config);
12048#line 630
12049 __cil_tmp197 = 40 + 81;
12050#line 630
12051 __cil_tmp198 = (unsigned long )dev;
12052#line 630
12053 __cil_tmp199 = __cil_tmp198 + __cil_tmp197;
12054#line 630
12055 __cil_tmp200 = *((u8 *)__cil_tmp199);
12056#line 630
12057 __cil_tmp201 = (int )__cil_tmp200;
12058#line 630
12059 __cil_tmp202 = __cil_tmp201 * 2968UL;
12060#line 630
12061 __cil_tmp203 = __cil_tmp202 + 16;
12062#line 630
12063 __cil_tmp204 = 848 + __cil_tmp203;
12064#line 630
12065 __cil_tmp205 = (unsigned long )dev;
12066#line 630
12067 __cil_tmp206 = __cil_tmp205 + __cil_tmp204;
12068#line 630
12069 __cil_tmp207 = (struct i2c_adapter *)__cil_tmp206;
12070#line 630
12071 tmp___17 = (*__a___1)(__cil_tmp196, __cil_tmp207);
12072#line 630
12073 __r___1 = (void *)tmp___17;
12074 }
12075 {
12076#line 630
12077 __cil_tmp208 = (void *)0;
12078#line 630
12079 __cil_tmp209 = (unsigned long )__cil_tmp208;
12080#line 630
12081 __cil_tmp210 = (unsigned long )__r___1;
12082#line 630
12083 if (__cil_tmp210 == __cil_tmp209) {
12084 {
12085#line 630
12086 __symbol_put("s5h1411_attach");
12087 }
12088 } else {
12089
12090 }
12091 }
12092 } else {
12093 {
12094#line 630
12095 printk("<3>DVB: Unable to find symbol s5h1411_attach()\n");
12096 }
12097 }
12098 }
12099#line 630
12100 __cil_tmp211 = (unsigned long )dev;
12101#line 630
12102 __cil_tmp212 = __cil_tmp211 + 13448;
12103#line 630
12104 __cil_tmp213 = *((struct cx231xx_dvb **)__cil_tmp212);
12105#line 630
12106 *((struct dvb_frontend **)__cil_tmp213) = (struct dvb_frontend *)__r___1;
12107 {
12108#line 634
12109 __cil_tmp214 = (struct dvb_frontend *)0;
12110#line 634
12111 __cil_tmp215 = (unsigned long )__cil_tmp214;
12112#line 634
12113 __cil_tmp216 = (unsigned long )dev;
12114#line 634
12115 __cil_tmp217 = __cil_tmp216 + 13448;
12116#line 634
12117 __cil_tmp218 = *((struct cx231xx_dvb **)__cil_tmp217);
12118#line 634
12119 __cil_tmp219 = *((struct dvb_frontend **)__cil_tmp218);
12120#line 634
12121 __cil_tmp220 = (unsigned long )__cil_tmp219;
12122#line 634
12123 if (__cil_tmp220 == __cil_tmp215) {
12124 {
12125#line 635
12126 printk("cx231xx: Failed to attach s5h1411 front end\n");
12127#line 637
12128 result = -22;
12129 }
12130#line 638
12131 goto out_free;
12132 } else {
12133
12134 }
12135 }
12136 {
12137#line 642
12138 __cil_tmp221 = *((struct dvb_frontend **)dvb);
12139#line 642
12140 __cil_tmp222 = (unsigned long )__cil_tmp221;
12141#line 642
12142 __cil_tmp223 = __cil_tmp222 + 944;
12143#line 642
12144 *((int (**)(void * , int , int , int ))__cil_tmp223) = & cx231xx_tuner_callback;
12145#line 644
12146 __r___2 = (void *)0;
12147#line 644
12148 tmp___22 = __symbol_get("xc5000_attach");
12149 }
12150 {
12151#line 644
12152 __cil_tmp224 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
12153 struct xc5000_config const * ))0;
12154#line 644
12155 __cil_tmp225 = (unsigned long )__cil_tmp224;
12156#line 644
12157 __cil_tmp226 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
12158 struct xc5000_config const * ))tmp___22;
12159#line 644
12160 __cil_tmp227 = (unsigned long )__cil_tmp226;
12161#line 644
12162 if (__cil_tmp227 != __cil_tmp225) {
12163 {
12164#line 644
12165 tmp___19 = __symbol_get("xc5000_attach");
12166#line 644
12167 tmp___21 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
12168 struct xc5000_config const * ))tmp___19;
12169 }
12170 } else {
12171 {
12172#line 644
12173 __cil_tmp228 = (bool )1;
12174#line 644
12175 __request_module(__cil_tmp228, "symbol:xc5000_attach");
12176#line 644
12177 tmp___20 = __symbol_get("xc5000_attach");
12178#line 644
12179 tmp___21 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
12180 struct xc5000_config const * ))tmp___20;
12181 }
12182 }
12183 }
12184#line 644
12185 __a___2 = tmp___21;
12186 {
12187#line 644
12188 __cil_tmp229 = (struct dvb_frontend *(*)(struct dvb_frontend * , struct i2c_adapter * ,
12189 struct xc5000_config const * ))0;
12190#line 644
12191 __cil_tmp230 = (unsigned long )__cil_tmp229;
12192#line 644
12193 __cil_tmp231 = (unsigned long )__a___2;
12194#line 644
12195 if (__cil_tmp231 != __cil_tmp230) {
12196 {
12197#line 644
12198 __cil_tmp232 = (unsigned long )dev;
12199#line 644
12200 __cil_tmp233 = __cil_tmp232 + 13448;
12201#line 644
12202 __cil_tmp234 = *((struct cx231xx_dvb **)__cil_tmp233);
12203#line 644
12204 __cil_tmp235 = *((struct dvb_frontend **)__cil_tmp234);
12205#line 644
12206 __cil_tmp236 = 40 + 80;
12207#line 644
12208 __cil_tmp237 = (unsigned long )dev;
12209#line 644
12210 __cil_tmp238 = __cil_tmp237 + __cil_tmp236;
12211#line 644
12212 __cil_tmp239 = *((u8 *)__cil_tmp238);
12213#line 644
12214 __cil_tmp240 = (int )__cil_tmp239;
12215#line 644
12216 __cil_tmp241 = __cil_tmp240 * 2968UL;
12217#line 644
12218 __cil_tmp242 = __cil_tmp241 + 16;
12219#line 644
12220 __cil_tmp243 = 848 + __cil_tmp242;
12221#line 644
12222 __cil_tmp244 = (unsigned long )dev;
12223#line 644
12224 __cil_tmp245 = __cil_tmp244 + __cil_tmp243;
12225#line 644
12226 __cil_tmp246 = (struct i2c_adapter *)__cil_tmp245;
12227#line 644
12228 __cil_tmp247 = (struct xc5000_config const *)(& cnxt_rdu250_tunerconfig);
12229#line 644
12230 tmp___23 = (*__a___2)(__cil_tmp235, __cil_tmp246, __cil_tmp247);
12231#line 644
12232 __r___2 = (void *)tmp___23;
12233 }
12234 {
12235#line 644
12236 __cil_tmp248 = (void *)0;
12237#line 644
12238 __cil_tmp249 = (unsigned long )__cil_tmp248;
12239#line 644
12240 __cil_tmp250 = (unsigned long )__r___2;
12241#line 644
12242 if (__cil_tmp250 == __cil_tmp249) {
12243 {
12244#line 644
12245 __symbol_put("xc5000_attach");
12246 }
12247 } else {
12248
12249 }
12250 }
12251 } else {
12252 {
12253#line 644
12254 printk("<3>DVB: Unable to find symbol xc5000_attach()\n");
12255 }
12256 }
12257 }
12258 {
12259#line 644
12260 __cil_tmp251 = (void *)0;
12261#line 644
12262 __cil_tmp252 = (unsigned long )__cil_tmp251;
12263#line 644
12264 __cil_tmp253 = (unsigned long )__r___2;
12265#line 644
12266 if (__cil_tmp253 == __cil_tmp252) {
12267#line 647
12268 result = -22;
12269#line 648
12270 goto out_free;
12271 } else {
12272
12273 }
12274 }
12275#line 650
12276 goto ldv_42484;
12277 case_3:
12278 {
12279#line 653
12280 __r___3 = (void *)0;
12281#line 653
12282 tmp___28 = __symbol_get("s5h1432_attach");
12283 }
12284 {
12285#line 653
12286 __cil_tmp254 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))0;
12287#line 653
12288 __cil_tmp255 = (unsigned long )__cil_tmp254;
12289#line 653
12290 __cil_tmp256 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___28;
12291#line 653
12292 __cil_tmp257 = (unsigned long )__cil_tmp256;
12293#line 653
12294 if (__cil_tmp257 != __cil_tmp255) {
12295 {
12296#line 653
12297 tmp___25 = __symbol_get("s5h1432_attach");
12298#line 653
12299 tmp___27 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___25;
12300 }
12301 } else {
12302 {
12303#line 653
12304 __cil_tmp258 = (bool )1;
12305#line 653
12306 __request_module(__cil_tmp258, "symbol:s5h1432_attach");
12307#line 653
12308 tmp___26 = __symbol_get("s5h1432_attach");
12309#line 653
12310 tmp___27 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))tmp___26;
12311 }
12312 }
12313 }
12314#line 653
12315 __a___3 = tmp___27;
12316 {
12317#line 653
12318 __cil_tmp259 = (struct dvb_frontend *(*)(struct s5h1432_config const * , struct i2c_adapter * ))0;
12319#line 653
12320 __cil_tmp260 = (unsigned long )__cil_tmp259;
12321#line 653
12322 __cil_tmp261 = (unsigned long )__a___3;
12323#line 653
12324 if (__cil_tmp261 != __cil_tmp260) {
12325 {
12326#line 653
12327 __cil_tmp262 = (struct s5h1432_config const *)(& dvico_s5h1432_config);
12328#line 653
12329 __cil_tmp263 = 40 + 81;
12330#line 653
12331 __cil_tmp264 = (unsigned long )dev;
12332#line 653
12333 __cil_tmp265 = __cil_tmp264 + __cil_tmp263;
12334#line 653
12335 __cil_tmp266 = *((u8 *)__cil_tmp265);
12336#line 653
12337 __cil_tmp267 = (int )__cil_tmp266;
12338#line 653
12339 __cil_tmp268 = __cil_tmp267 * 2968UL;
12340#line 653
12341 __cil_tmp269 = __cil_tmp268 + 16;
12342#line 653
12343 __cil_tmp270 = 848 + __cil_tmp269;
12344#line 653
12345 __cil_tmp271 = (unsigned long )dev;
12346#line 653
12347 __cil_tmp272 = __cil_tmp271 + __cil_tmp270;
12348#line 653
12349 __cil_tmp273 = (struct i2c_adapter *)__cil_tmp272;
12350#line 653
12351 tmp___29 = (*__a___3)(__cil_tmp262, __cil_tmp273);
12352#line 653
12353 __r___3 = (void *)tmp___29;
12354 }
12355 {
12356#line 653
12357 __cil_tmp274 = (void *)0;
12358#line 653
12359 __cil_tmp275 = (unsigned long )__cil_tmp274;
12360#line 653
12361 __cil_tmp276 = (unsigned long )__r___3;
12362#line 653
12363 if (__cil_tmp276 == __cil_tmp275) {
12364 {
12365#line 653
12366 __symbol_put("s5h1432_attach");
12367 }
12368 } else {
12369
12370 }
12371 }
12372 } else {
12373 {
12374#line 653
12375 printk("<3>DVB: Unable to find symbol s5h1432_attach()\n");
12376 }
12377 }
12378 }
12379#line 653
12380 __cil_tmp277 = (unsigned long )dev;
12381#line 653
12382 __cil_tmp278 = __cil_tmp277 + 13448;
12383#line 653
12384 __cil_tmp279 = *((struct cx231xx_dvb **)__cil_tmp278);
12385#line 653
12386 *((struct dvb_frontend **)__cil_tmp279) = (struct dvb_frontend *)__r___3;
12387 {
12388#line 657
12389 __cil_tmp280 = (struct dvb_frontend *)0;
12390#line 657
12391 __cil_tmp281 = (unsigned long )__cil_tmp280;
12392#line 657
12393 __cil_tmp282 = (unsigned long )dev;
12394#line 657
12395 __cil_tmp283 = __cil_tmp282 + 13448;
12396#line 657
12397 __cil_tmp284 = *((struct cx231xx_dvb **)__cil_tmp283);
12398#line 657
12399 __cil_tmp285 = *((struct dvb_frontend **)__cil_tmp284);
12400#line 657
12401 __cil_tmp286 = (unsigned long )__cil_tmp285;
12402#line 657
12403 if (__cil_tmp286 == __cil_tmp281) {
12404 {
12405#line 658
12406 printk("cx231xx: Failed to attach s5h1432 front end\n");
12407#line 660
12408 result = -22;
12409 }
12410#line 661
12411 goto out_free;
12412 } else {
12413
12414 }
12415 }
12416 {
12417#line 665
12418 __cil_tmp287 = *((struct dvb_frontend **)dvb);
12419#line 665
12420 __cil_tmp288 = (unsigned long )__cil_tmp287;
12421#line 665
12422 __cil_tmp289 = __cil_tmp288 + 944;
12423#line 665
12424 *((int (**)(void * , int , int , int ))__cil_tmp289) = & cx231xx_tuner_callback;
12425#line 667
12426 __r___4 = (void *)0;
12427#line 667
12428 tmp___34 = __symbol_get("tda18271_attach");
12429 }
12430 {
12431#line 667
12432 __cil_tmp290 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12433 struct tda18271_config * ))0;
12434#line 667
12435 __cil_tmp291 = (unsigned long )__cil_tmp290;
12436#line 667
12437 __cil_tmp292 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12438 struct tda18271_config * ))tmp___34;
12439#line 667
12440 __cil_tmp293 = (unsigned long )__cil_tmp292;
12441#line 667
12442 if (__cil_tmp293 != __cil_tmp291) {
12443 {
12444#line 667
12445 tmp___31 = __symbol_get("tda18271_attach");
12446#line 667
12447 tmp___33 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12448 struct tda18271_config * ))tmp___31;
12449 }
12450 } else {
12451 {
12452#line 667
12453 __cil_tmp294 = (bool )1;
12454#line 667
12455 __request_module(__cil_tmp294, "symbol:tda18271_attach");
12456#line 667
12457 tmp___32 = __symbol_get("tda18271_attach");
12458#line 667
12459 tmp___33 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12460 struct tda18271_config * ))tmp___32;
12461 }
12462 }
12463 }
12464#line 667
12465 __a___4 = tmp___33;
12466 {
12467#line 667
12468 __cil_tmp295 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12469 struct tda18271_config * ))0;
12470#line 667
12471 __cil_tmp296 = (unsigned long )__cil_tmp295;
12472#line 667
12473 __cil_tmp297 = (unsigned long )__a___4;
12474#line 667
12475 if (__cil_tmp297 != __cil_tmp296) {
12476 {
12477#line 667
12478 __cil_tmp298 = (unsigned long )dev;
12479#line 667
12480 __cil_tmp299 = __cil_tmp298 + 13448;
12481#line 667
12482 __cil_tmp300 = *((struct cx231xx_dvb **)__cil_tmp299);
12483#line 667
12484 __cil_tmp301 = *((struct dvb_frontend **)__cil_tmp300);
12485#line 667
12486 __cil_tmp302 = (u8 )96;
12487#line 667
12488 __cil_tmp303 = 40 + 80;
12489#line 667
12490 __cil_tmp304 = (unsigned long )dev;
12491#line 667
12492 __cil_tmp305 = __cil_tmp304 + __cil_tmp303;
12493#line 667
12494 __cil_tmp306 = *((u8 *)__cil_tmp305);
12495#line 667
12496 __cil_tmp307 = (int )__cil_tmp306;
12497#line 667
12498 __cil_tmp308 = __cil_tmp307 * 2968UL;
12499#line 667
12500 __cil_tmp309 = __cil_tmp308 + 16;
12501#line 667
12502 __cil_tmp310 = 848 + __cil_tmp309;
12503#line 667
12504 __cil_tmp311 = (unsigned long )dev;
12505#line 667
12506 __cil_tmp312 = __cil_tmp311 + __cil_tmp310;
12507#line 667
12508 __cil_tmp313 = (struct i2c_adapter *)__cil_tmp312;
12509#line 667
12510 tmp___35 = (*__a___4)(__cil_tmp301, __cil_tmp302, __cil_tmp313, & cnxt_rde253s_tunerconfig);
12511#line 667
12512 __r___4 = (void *)tmp___35;
12513 }
12514 {
12515#line 667
12516 __cil_tmp314 = (void *)0;
12517#line 667
12518 __cil_tmp315 = (unsigned long )__cil_tmp314;
12519#line 667
12520 __cil_tmp316 = (unsigned long )__r___4;
12521#line 667
12522 if (__cil_tmp316 == __cil_tmp315) {
12523 {
12524#line 667
12525 __symbol_put("tda18271_attach");
12526 }
12527 } else {
12528
12529 }
12530 }
12531 } else {
12532 {
12533#line 667
12534 printk("<3>DVB: Unable to find symbol tda18271_attach()\n");
12535 }
12536 }
12537 }
12538 {
12539#line 667
12540 __cil_tmp317 = (void *)0;
12541#line 667
12542 __cil_tmp318 = (unsigned long )__cil_tmp317;
12543#line 667
12544 __cil_tmp319 = (unsigned long )__r___4;
12545#line 667
12546 if (__cil_tmp319 == __cil_tmp318) {
12547#line 670
12548 result = -22;
12549#line 671
12550 goto out_free;
12551 } else {
12552
12553 }
12554 }
12555#line 673
12556 goto ldv_42484;
12557 case_4:
12558 {
12559#line 676
12560 __r___5 = (void *)0;
12561#line 676
12562 tmp___40 = __symbol_get("s5h1411_attach");
12563 }
12564 {
12565#line 676
12566 __cil_tmp320 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))0;
12567#line 676
12568 __cil_tmp321 = (unsigned long )__cil_tmp320;
12569#line 676
12570 __cil_tmp322 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___40;
12571#line 676
12572 __cil_tmp323 = (unsigned long )__cil_tmp322;
12573#line 676
12574 if (__cil_tmp323 != __cil_tmp321) {
12575 {
12576#line 676
12577 tmp___37 = __symbol_get("s5h1411_attach");
12578#line 676
12579 tmp___39 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___37;
12580 }
12581 } else {
12582 {
12583#line 676
12584 __cil_tmp324 = (bool )1;
12585#line 676
12586 __request_module(__cil_tmp324, "symbol:s5h1411_attach");
12587#line 676
12588 tmp___38 = __symbol_get("s5h1411_attach");
12589#line 676
12590 tmp___39 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))tmp___38;
12591 }
12592 }
12593 }
12594#line 676
12595 __a___5 = tmp___39;
12596 {
12597#line 676
12598 __cil_tmp325 = (struct dvb_frontend *(*)(struct s5h1411_config const * , struct i2c_adapter * ))0;
12599#line 676
12600 __cil_tmp326 = (unsigned long )__cil_tmp325;
12601#line 676
12602 __cil_tmp327 = (unsigned long )__a___5;
12603#line 676
12604 if (__cil_tmp327 != __cil_tmp326) {
12605 {
12606#line 676
12607 __cil_tmp328 = (struct s5h1411_config const *)(& tda18271_s5h1411_config);
12608#line 676
12609 __cil_tmp329 = 40 + 81;
12610#line 676
12611 __cil_tmp330 = (unsigned long )dev;
12612#line 676
12613 __cil_tmp331 = __cil_tmp330 + __cil_tmp329;
12614#line 676
12615 __cil_tmp332 = *((u8 *)__cil_tmp331);
12616#line 676
12617 __cil_tmp333 = (int )__cil_tmp332;
12618#line 676
12619 __cil_tmp334 = __cil_tmp333 * 2968UL;
12620#line 676
12621 __cil_tmp335 = __cil_tmp334 + 16;
12622#line 676
12623 __cil_tmp336 = 848 + __cil_tmp335;
12624#line 676
12625 __cil_tmp337 = (unsigned long )dev;
12626#line 676
12627 __cil_tmp338 = __cil_tmp337 + __cil_tmp336;
12628#line 676
12629 __cil_tmp339 = (struct i2c_adapter *)__cil_tmp338;
12630#line 676
12631 tmp___41 = (*__a___5)(__cil_tmp328, __cil_tmp339);
12632#line 676
12633 __r___5 = (void *)tmp___41;
12634 }
12635 {
12636#line 676
12637 __cil_tmp340 = (void *)0;
12638#line 676
12639 __cil_tmp341 = (unsigned long )__cil_tmp340;
12640#line 676
12641 __cil_tmp342 = (unsigned long )__r___5;
12642#line 676
12643 if (__cil_tmp342 == __cil_tmp341) {
12644 {
12645#line 676
12646 __symbol_put("s5h1411_attach");
12647 }
12648 } else {
12649
12650 }
12651 }
12652 } else {
12653 {
12654#line 676
12655 printk("<3>DVB: Unable to find symbol s5h1411_attach()\n");
12656 }
12657 }
12658 }
12659#line 676
12660 __cil_tmp343 = (unsigned long )dev;
12661#line 676
12662 __cil_tmp344 = __cil_tmp343 + 13448;
12663#line 676
12664 __cil_tmp345 = *((struct cx231xx_dvb **)__cil_tmp344);
12665#line 676
12666 *((struct dvb_frontend **)__cil_tmp345) = (struct dvb_frontend *)__r___5;
12667 {
12668#line 680
12669 __cil_tmp346 = (struct dvb_frontend *)0;
12670#line 680
12671 __cil_tmp347 = (unsigned long )__cil_tmp346;
12672#line 680
12673 __cil_tmp348 = (unsigned long )dev;
12674#line 680
12675 __cil_tmp349 = __cil_tmp348 + 13448;
12676#line 680
12677 __cil_tmp350 = *((struct cx231xx_dvb **)__cil_tmp349);
12678#line 680
12679 __cil_tmp351 = *((struct dvb_frontend **)__cil_tmp350);
12680#line 680
12681 __cil_tmp352 = (unsigned long )__cil_tmp351;
12682#line 680
12683 if (__cil_tmp352 == __cil_tmp347) {
12684 {
12685#line 681
12686 printk("cx231xx: Failed to attach s5h1411 front end\n");
12687#line 683
12688 result = -22;
12689 }
12690#line 684
12691 goto out_free;
12692 } else {
12693
12694 }
12695 }
12696 {
12697#line 688
12698 __cil_tmp353 = *((struct dvb_frontend **)dvb);
12699#line 688
12700 __cil_tmp354 = (unsigned long )__cil_tmp353;
12701#line 688
12702 __cil_tmp355 = __cil_tmp354 + 944;
12703#line 688
12704 *((int (**)(void * , int , int , int ))__cil_tmp355) = & cx231xx_tuner_callback;
12705#line 690
12706 __r___6 = (void *)0;
12707#line 690
12708 tmp___46 = __symbol_get("tda18271_attach");
12709 }
12710 {
12711#line 690
12712 __cil_tmp356 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12713 struct tda18271_config * ))0;
12714#line 690
12715 __cil_tmp357 = (unsigned long )__cil_tmp356;
12716#line 690
12717 __cil_tmp358 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12718 struct tda18271_config * ))tmp___46;
12719#line 690
12720 __cil_tmp359 = (unsigned long )__cil_tmp358;
12721#line 690
12722 if (__cil_tmp359 != __cil_tmp357) {
12723 {
12724#line 690
12725 tmp___43 = __symbol_get("tda18271_attach");
12726#line 690
12727 tmp___45 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12728 struct tda18271_config * ))tmp___43;
12729 }
12730 } else {
12731 {
12732#line 690
12733 __cil_tmp360 = (bool )1;
12734#line 690
12735 __request_module(__cil_tmp360, "symbol:tda18271_attach");
12736#line 690
12737 tmp___44 = __symbol_get("tda18271_attach");
12738#line 690
12739 tmp___45 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12740 struct tda18271_config * ))tmp___44;
12741 }
12742 }
12743 }
12744#line 690
12745 __a___6 = tmp___45;
12746 {
12747#line 690
12748 __cil_tmp361 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
12749 struct tda18271_config * ))0;
12750#line 690
12751 __cil_tmp362 = (unsigned long )__cil_tmp361;
12752#line 690
12753 __cil_tmp363 = (unsigned long )__a___6;
12754#line 690
12755 if (__cil_tmp363 != __cil_tmp362) {
12756 {
12757#line 690
12758 __cil_tmp364 = (unsigned long )dev;
12759#line 690
12760 __cil_tmp365 = __cil_tmp364 + 13448;
12761#line 690
12762 __cil_tmp366 = *((struct cx231xx_dvb **)__cil_tmp365);
12763#line 690
12764 __cil_tmp367 = *((struct dvb_frontend **)__cil_tmp366);
12765#line 690
12766 __cil_tmp368 = (u8 )96;
12767#line 690
12768 __cil_tmp369 = 40 + 80;
12769#line 690
12770 __cil_tmp370 = (unsigned long )dev;
12771#line 690
12772 __cil_tmp371 = __cil_tmp370 + __cil_tmp369;
12773#line 690
12774 __cil_tmp372 = *((u8 *)__cil_tmp371);
12775#line 690
12776 __cil_tmp373 = (int )__cil_tmp372;
12777#line 690
12778 __cil_tmp374 = __cil_tmp373 * 2968UL;
12779#line 690
12780 __cil_tmp375 = __cil_tmp374 + 16;
12781#line 690
12782 __cil_tmp376 = 848 + __cil_tmp375;
12783#line 690
12784 __cil_tmp377 = (unsigned long )dev;
12785#line 690
12786 __cil_tmp378 = __cil_tmp377 + __cil_tmp376;
12787#line 690
12788 __cil_tmp379 = (struct i2c_adapter *)__cil_tmp378;
12789#line 690
12790 tmp___47 = (*__a___6)(__cil_tmp367, __cil_tmp368, __cil_tmp379, & cnxt_rde253s_tunerconfig);
12791#line 690
12792 __r___6 = (void *)tmp___47;
12793 }
12794 {
12795#line 690
12796 __cil_tmp380 = (void *)0;
12797#line 690
12798 __cil_tmp381 = (unsigned long )__cil_tmp380;
12799#line 690
12800 __cil_tmp382 = (unsigned long )__r___6;
12801#line 690
12802 if (__cil_tmp382 == __cil_tmp381) {
12803 {
12804#line 690
12805 __symbol_put("tda18271_attach");
12806 }
12807 } else {
12808
12809 }
12810 }
12811 } else {
12812 {
12813#line 690
12814 printk("<3>DVB: Unable to find symbol tda18271_attach()\n");
12815 }
12816 }
12817 }
12818 {
12819#line 690
12820 __cil_tmp383 = (void *)0;
12821#line 690
12822 __cil_tmp384 = (unsigned long )__cil_tmp383;
12823#line 690
12824 __cil_tmp385 = (unsigned long )__r___6;
12825#line 690
12826 if (__cil_tmp385 == __cil_tmp384) {
12827#line 693
12828 result = -22;
12829#line 694
12830 goto out_free;
12831 } else {
12832
12833 }
12834 }
12835#line 696
12836 goto ldv_42484;
12837 case_8:
12838 {
12839#line 699
12840 __cil_tmp386 = 40 + 80;
12841#line 699
12842 __cil_tmp387 = (unsigned long )dev;
12843#line 699
12844 __cil_tmp388 = __cil_tmp387 + __cil_tmp386;
12845#line 699
12846 __cil_tmp389 = *((u8 *)__cil_tmp388);
12847#line 699
12848 __cil_tmp390 = (int )__cil_tmp389;
12849#line 699
12850 __cil_tmp391 = __cil_tmp390 * 2968UL;
12851#line 699
12852 __cil_tmp392 = __cil_tmp391 + 16;
12853#line 699
12854 __cil_tmp393 = 848 + __cil_tmp392;
12855#line 699
12856 __cil_tmp394 = (unsigned long )dev;
12857#line 699
12858 __cil_tmp395 = __cil_tmp394 + __cil_tmp393;
12859#line 699
12860 __cil_tmp396 = (struct i2c_adapter *)__cil_tmp395;
12861#line 699
12862 tmp___48 = i2c_adapter_id(__cil_tmp396);
12863#line 699
12864 printk("<6>%s: looking for tuner / demod on i2c bus: %d\n", "dvb_init", tmp___48);
12865#line 702
12866 __r___7 = (void *)0;
12867#line 702
12868 tmp___53 = __symbol_get("lgdt3305_attach");
12869 }
12870 {
12871#line 702
12872 __cil_tmp397 = (struct dvb_frontend *(*)(struct lgdt3305_config const * ,
12873 struct i2c_adapter * ))0;
12874#line 702
12875 __cil_tmp398 = (unsigned long )__cil_tmp397;
12876#line 702
12877 __cil_tmp399 = (struct dvb_frontend *(*)(struct lgdt3305_config const * ,
12878 struct i2c_adapter * ))tmp___53;
12879#line 702
12880 __cil_tmp400 = (unsigned long )__cil_tmp399;
12881#line 702
12882 if (__cil_tmp400 != __cil_tmp398) {
12883 {
12884#line 702
12885 tmp___50 = __symbol_get("lgdt3305_attach");
12886#line 702
12887 tmp___52 = (struct dvb_frontend *(*)(struct lgdt3305_config const * , struct i2c_adapter * ))tmp___50;
12888 }
12889 } else {
12890 {
12891#line 702
12892 __cil_tmp401 = (bool )1;
12893#line 702
12894 __request_module(__cil_tmp401, "symbol:lgdt3305_attach");
12895#line 702
12896 tmp___51 = __symbol_get("lgdt3305_attach");
12897#line 702
12898 tmp___52 = (struct dvb_frontend *(*)(struct lgdt3305_config const * , struct i2c_adapter * ))tmp___51;
12899 }
12900 }
12901 }
12902#line 702
12903 __a___7 = tmp___52;
12904 {
12905#line 702
12906 __cil_tmp402 = (struct dvb_frontend *(*)(struct lgdt3305_config const * ,
12907 struct i2c_adapter * ))0;
12908#line 702
12909 __cil_tmp403 = (unsigned long )__cil_tmp402;
12910#line 702
12911 __cil_tmp404 = (unsigned long )__a___7;
12912#line 702
12913 if (__cil_tmp404 != __cil_tmp403) {
12914 {
12915#line 702
12916 __cil_tmp405 = (struct lgdt3305_config const *)(& hcw_lgdt3305_config);
12917#line 702
12918 __cil_tmp406 = 40 + 80;
12919#line 702
12920 __cil_tmp407 = (unsigned long )dev;
12921#line 702
12922 __cil_tmp408 = __cil_tmp407 + __cil_tmp406;
12923#line 702
12924 __cil_tmp409 = *((u8 *)__cil_tmp408);
12925#line 702
12926 __cil_tmp410 = (int )__cil_tmp409;
12927#line 702
12928 __cil_tmp411 = __cil_tmp410 * 2968UL;
12929#line 702
12930 __cil_tmp412 = __cil_tmp411 + 16;
12931#line 702
12932 __cil_tmp413 = 848 + __cil_tmp412;
12933#line 702
12934 __cil_tmp414 = (unsigned long )dev;
12935#line 702
12936 __cil_tmp415 = __cil_tmp414 + __cil_tmp413;
12937#line 702
12938 __cil_tmp416 = (struct i2c_adapter *)__cil_tmp415;
12939#line 702
12940 tmp___54 = (*__a___7)(__cil_tmp405, __cil_tmp416);
12941#line 702
12942 __r___7 = (void *)tmp___54;
12943 }
12944 {
12945#line 702
12946 __cil_tmp417 = (void *)0;
12947#line 702
12948 __cil_tmp418 = (unsigned long )__cil_tmp417;
12949#line 702
12950 __cil_tmp419 = (unsigned long )__r___7;
12951#line 702
12952 if (__cil_tmp419 == __cil_tmp418) {
12953 {
12954#line 702
12955 __symbol_put("lgdt3305_attach");
12956 }
12957 } else {
12958
12959 }
12960 }
12961 } else {
12962 {
12963#line 702
12964 printk("<3>DVB: Unable to find symbol lgdt3305_attach()\n");
12965 }
12966 }
12967 }
12968#line 702
12969 __cil_tmp420 = (unsigned long )dev;
12970#line 702
12971 __cil_tmp421 = __cil_tmp420 + 13448;
12972#line 702
12973 __cil_tmp422 = *((struct cx231xx_dvb **)__cil_tmp421);
12974#line 702
12975 *((struct dvb_frontend **)__cil_tmp422) = (struct dvb_frontend *)__r___7;
12976 {
12977#line 706
12978 __cil_tmp423 = (struct dvb_frontend *)0;
12979#line 706
12980 __cil_tmp424 = (unsigned long )__cil_tmp423;
12981#line 706
12982 __cil_tmp425 = (unsigned long )dev;
12983#line 706
12984 __cil_tmp426 = __cil_tmp425 + 13448;
12985#line 706
12986 __cil_tmp427 = *((struct cx231xx_dvb **)__cil_tmp426);
12987#line 706
12988 __cil_tmp428 = *((struct dvb_frontend **)__cil_tmp427);
12989#line 706
12990 __cil_tmp429 = (unsigned long )__cil_tmp428;
12991#line 706
12992 if (__cil_tmp429 == __cil_tmp424) {
12993 {
12994#line 707
12995 printk("cx231xx: Failed to attach LG3305 front end\n");
12996#line 709
12997 result = -22;
12998 }
12999#line 710
13000 goto out_free;
13001 } else {
13002
13003 }
13004 }
13005 {
13006#line 714
13007 __cil_tmp430 = *((struct dvb_frontend **)dvb);
13008#line 714
13009 __cil_tmp431 = (unsigned long )__cil_tmp430;
13010#line 714
13011 __cil_tmp432 = __cil_tmp431 + 944;
13012#line 714
13013 *((int (**)(void * , int , int , int ))__cil_tmp432) = & cx231xx_tuner_callback;
13014#line 716
13015 __r___8 = (void *)0;
13016#line 716
13017 tmp___59 = __symbol_get("tda18271_attach");
13018 }
13019 {
13020#line 716
13021 __cil_tmp433 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13022 struct tda18271_config * ))0;
13023#line 716
13024 __cil_tmp434 = (unsigned long )__cil_tmp433;
13025#line 716
13026 __cil_tmp435 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13027 struct tda18271_config * ))tmp___59;
13028#line 716
13029 __cil_tmp436 = (unsigned long )__cil_tmp435;
13030#line 716
13031 if (__cil_tmp436 != __cil_tmp434) {
13032 {
13033#line 716
13034 tmp___56 = __symbol_get("tda18271_attach");
13035#line 716
13036 tmp___58 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13037 struct tda18271_config * ))tmp___56;
13038 }
13039 } else {
13040 {
13041#line 716
13042 __cil_tmp437 = (bool )1;
13043#line 716
13044 __request_module(__cil_tmp437, "symbol:tda18271_attach");
13045#line 716
13046 tmp___57 = __symbol_get("tda18271_attach");
13047#line 716
13048 tmp___58 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13049 struct tda18271_config * ))tmp___57;
13050 }
13051 }
13052 }
13053#line 716
13054 __a___8 = tmp___58;
13055 {
13056#line 716
13057 __cil_tmp438 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13058 struct tda18271_config * ))0;
13059#line 716
13060 __cil_tmp439 = (unsigned long )__cil_tmp438;
13061#line 716
13062 __cil_tmp440 = (unsigned long )__a___8;
13063#line 716
13064 if (__cil_tmp440 != __cil_tmp439) {
13065 {
13066#line 716
13067 __cil_tmp441 = (unsigned long )dev;
13068#line 716
13069 __cil_tmp442 = __cil_tmp441 + 13448;
13070#line 716
13071 __cil_tmp443 = *((struct cx231xx_dvb **)__cil_tmp442);
13072#line 716
13073 __cil_tmp444 = *((struct dvb_frontend **)__cil_tmp443);
13074#line 716
13075 __cil_tmp445 = (u8 )96;
13076#line 716
13077 __cil_tmp446 = 40 + 80;
13078#line 716
13079 __cil_tmp447 = (unsigned long )dev;
13080#line 716
13081 __cil_tmp448 = __cil_tmp447 + __cil_tmp446;
13082#line 716
13083 __cil_tmp449 = *((u8 *)__cil_tmp448);
13084#line 716
13085 __cil_tmp450 = (int )__cil_tmp449;
13086#line 716
13087 __cil_tmp451 = __cil_tmp450 * 2968UL;
13088#line 716
13089 __cil_tmp452 = __cil_tmp451 + 16;
13090#line 716
13091 __cil_tmp453 = 848 + __cil_tmp452;
13092#line 716
13093 __cil_tmp454 = (unsigned long )dev;
13094#line 716
13095 __cil_tmp455 = __cil_tmp454 + __cil_tmp453;
13096#line 716
13097 __cil_tmp456 = (struct i2c_adapter *)__cil_tmp455;
13098#line 716
13099 tmp___60 = (*__a___8)(__cil_tmp444, __cil_tmp445, __cil_tmp456, & hcw_tda18271_config);
13100#line 716
13101 __r___8 = (void *)tmp___60;
13102 }
13103 {
13104#line 716
13105 __cil_tmp457 = (void *)0;
13106#line 716
13107 __cil_tmp458 = (unsigned long )__cil_tmp457;
13108#line 716
13109 __cil_tmp459 = (unsigned long )__r___8;
13110#line 716
13111 if (__cil_tmp459 == __cil_tmp458) {
13112 {
13113#line 716
13114 __symbol_put("tda18271_attach");
13115 }
13116 } else {
13117
13118 }
13119 }
13120 } else {
13121 {
13122#line 716
13123 printk("<3>DVB: Unable to find symbol tda18271_attach()\n");
13124 }
13125 }
13126 }
13127#line 719
13128 goto ldv_42484;
13129 case_10: ;
13130 case_12:
13131 {
13132#line 724
13133 __cil_tmp460 = 40 + 80;
13134#line 724
13135 __cil_tmp461 = (unsigned long )dev;
13136#line 724
13137 __cil_tmp462 = __cil_tmp461 + __cil_tmp460;
13138#line 724
13139 __cil_tmp463 = *((u8 *)__cil_tmp462);
13140#line 724
13141 __cil_tmp464 = (int )__cil_tmp463;
13142#line 724
13143 __cil_tmp465 = __cil_tmp464 * 2968UL;
13144#line 724
13145 __cil_tmp466 = __cil_tmp465 + 16;
13146#line 724
13147 __cil_tmp467 = 848 + __cil_tmp466;
13148#line 724
13149 __cil_tmp468 = (unsigned long )dev;
13150#line 724
13151 __cil_tmp469 = __cil_tmp468 + __cil_tmp467;
13152#line 724
13153 __cil_tmp470 = (struct i2c_adapter *)__cil_tmp469;
13154#line 724
13155 tmp___61 = i2c_adapter_id(__cil_tmp470);
13156#line 724
13157 printk("<6>%s: looking for demod on i2c bus: %d\n", "dvb_init", tmp___61);
13158#line 727
13159 __r___9 = (void *)0;
13160#line 727
13161 tmp___66 = __symbol_get("mb86a20s_attach");
13162 }
13163 {
13164#line 727
13165 __cil_tmp471 = (struct dvb_frontend *(*)(struct mb86a20s_config const * ,
13166 struct i2c_adapter * ))0;
13167#line 727
13168 __cil_tmp472 = (unsigned long )__cil_tmp471;
13169#line 727
13170 __cil_tmp473 = (struct dvb_frontend *(*)(struct mb86a20s_config const * ,
13171 struct i2c_adapter * ))tmp___66;
13172#line 727
13173 __cil_tmp474 = (unsigned long )__cil_tmp473;
13174#line 727
13175 if (__cil_tmp474 != __cil_tmp472) {
13176 {
13177#line 727
13178 tmp___63 = __symbol_get("mb86a20s_attach");
13179#line 727
13180 tmp___65 = (struct dvb_frontend *(*)(struct mb86a20s_config const * , struct i2c_adapter * ))tmp___63;
13181 }
13182 } else {
13183 {
13184#line 727
13185 __cil_tmp475 = (bool )1;
13186#line 727
13187 __request_module(__cil_tmp475, "symbol:mb86a20s_attach");
13188#line 727
13189 tmp___64 = __symbol_get("mb86a20s_attach");
13190#line 727
13191 tmp___65 = (struct dvb_frontend *(*)(struct mb86a20s_config const * , struct i2c_adapter * ))tmp___64;
13192 }
13193 }
13194 }
13195#line 727
13196 __a___9 = tmp___65;
13197 {
13198#line 727
13199 __cil_tmp476 = (struct dvb_frontend *(*)(struct mb86a20s_config const * ,
13200 struct i2c_adapter * ))0;
13201#line 727
13202 __cil_tmp477 = (unsigned long )__cil_tmp476;
13203#line 727
13204 __cil_tmp478 = (unsigned long )__a___9;
13205#line 727
13206 if (__cil_tmp478 != __cil_tmp477) {
13207 {
13208#line 727
13209 __cil_tmp479 = 40 + 81;
13210#line 727
13211 __cil_tmp480 = (unsigned long )dev;
13212#line 727
13213 __cil_tmp481 = __cil_tmp480 + __cil_tmp479;
13214#line 727
13215 __cil_tmp482 = *((u8 *)__cil_tmp481);
13216#line 727
13217 __cil_tmp483 = (int )__cil_tmp482;
13218#line 727
13219 __cil_tmp484 = __cil_tmp483 * 2968UL;
13220#line 727
13221 __cil_tmp485 = __cil_tmp484 + 16;
13222#line 727
13223 __cil_tmp486 = 848 + __cil_tmp485;
13224#line 727
13225 __cil_tmp487 = (unsigned long )dev;
13226#line 727
13227 __cil_tmp488 = __cil_tmp487 + __cil_tmp486;
13228#line 727
13229 __cil_tmp489 = (struct i2c_adapter *)__cil_tmp488;
13230#line 727
13231 tmp___67 = (*__a___9)(& pv_mb86a20s_config, __cil_tmp489);
13232#line 727
13233 __r___9 = (void *)tmp___67;
13234 }
13235 {
13236#line 727
13237 __cil_tmp490 = (void *)0;
13238#line 727
13239 __cil_tmp491 = (unsigned long )__cil_tmp490;
13240#line 727
13241 __cil_tmp492 = (unsigned long )__r___9;
13242#line 727
13243 if (__cil_tmp492 == __cil_tmp491) {
13244 {
13245#line 727
13246 __symbol_put("mb86a20s_attach");
13247 }
13248 } else {
13249
13250 }
13251 }
13252 } else {
13253 {
13254#line 727
13255 printk("<3>DVB: Unable to find symbol mb86a20s_attach()\n");
13256 }
13257 }
13258 }
13259#line 727
13260 __cil_tmp493 = (unsigned long )dev;
13261#line 727
13262 __cil_tmp494 = __cil_tmp493 + 13448;
13263#line 727
13264 __cil_tmp495 = *((struct cx231xx_dvb **)__cil_tmp494);
13265#line 727
13266 *((struct dvb_frontend **)__cil_tmp495) = (struct dvb_frontend *)__r___9;
13267 {
13268#line 731
13269 __cil_tmp496 = (struct dvb_frontend *)0;
13270#line 731
13271 __cil_tmp497 = (unsigned long )__cil_tmp496;
13272#line 731
13273 __cil_tmp498 = (unsigned long )dev;
13274#line 731
13275 __cil_tmp499 = __cil_tmp498 + 13448;
13276#line 731
13277 __cil_tmp500 = *((struct cx231xx_dvb **)__cil_tmp499);
13278#line 731
13279 __cil_tmp501 = *((struct dvb_frontend **)__cil_tmp500);
13280#line 731
13281 __cil_tmp502 = (unsigned long )__cil_tmp501;
13282#line 731
13283 if (__cil_tmp502 == __cil_tmp497) {
13284 {
13285#line 732
13286 printk("cx231xx: Failed to attach mb86a20s demod\n");
13287#line 734
13288 result = -22;
13289 }
13290#line 735
13291 goto out_free;
13292 } else {
13293
13294 }
13295 }
13296 {
13297#line 739
13298 __cil_tmp503 = *((struct dvb_frontend **)dvb);
13299#line 739
13300 __cil_tmp504 = (unsigned long )__cil_tmp503;
13301#line 739
13302 __cil_tmp505 = __cil_tmp504 + 944;
13303#line 739
13304 *((int (**)(void * , int , int , int ))__cil_tmp505) = & cx231xx_tuner_callback;
13305#line 741
13306 __r___10 = (void *)0;
13307#line 741
13308 tmp___72 = __symbol_get("tda18271_attach");
13309 }
13310 {
13311#line 741
13312 __cil_tmp506 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13313 struct tda18271_config * ))0;
13314#line 741
13315 __cil_tmp507 = (unsigned long )__cil_tmp506;
13316#line 741
13317 __cil_tmp508 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13318 struct tda18271_config * ))tmp___72;
13319#line 741
13320 __cil_tmp509 = (unsigned long )__cil_tmp508;
13321#line 741
13322 if (__cil_tmp509 != __cil_tmp507) {
13323 {
13324#line 741
13325 tmp___69 = __symbol_get("tda18271_attach");
13326#line 741
13327 tmp___71 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13328 struct tda18271_config * ))tmp___69;
13329 }
13330 } else {
13331 {
13332#line 741
13333 __cil_tmp510 = (bool )1;
13334#line 741
13335 __request_module(__cil_tmp510, "symbol:tda18271_attach");
13336#line 741
13337 tmp___70 = __symbol_get("tda18271_attach");
13338#line 741
13339 tmp___71 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13340 struct tda18271_config * ))tmp___70;
13341 }
13342 }
13343 }
13344#line 741
13345 __a___10 = tmp___71;
13346 {
13347#line 741
13348 __cil_tmp511 = (struct dvb_frontend *(*)(struct dvb_frontend * , u8 , struct i2c_adapter * ,
13349 struct tda18271_config * ))0;
13350#line 741
13351 __cil_tmp512 = (unsigned long )__cil_tmp511;
13352#line 741
13353 __cil_tmp513 = (unsigned long )__a___10;
13354#line 741
13355 if (__cil_tmp513 != __cil_tmp512) {
13356 {
13357#line 741
13358 __cil_tmp514 = (unsigned long )dev;
13359#line 741
13360 __cil_tmp515 = __cil_tmp514 + 13448;
13361#line 741
13362 __cil_tmp516 = *((struct cx231xx_dvb **)__cil_tmp515);
13363#line 741
13364 __cil_tmp517 = *((struct dvb_frontend **)__cil_tmp516);
13365#line 741
13366 __cil_tmp518 = (u8 )96;
13367#line 741
13368 __cil_tmp519 = 40 + 80;
13369#line 741
13370 __cil_tmp520 = (unsigned long )dev;
13371#line 741
13372 __cil_tmp521 = __cil_tmp520 + __cil_tmp519;
13373#line 741
13374 __cil_tmp522 = *((u8 *)__cil_tmp521);
13375#line 741
13376 __cil_tmp523 = (int )__cil_tmp522;
13377#line 741
13378 __cil_tmp524 = __cil_tmp523 * 2968UL;
13379#line 741
13380 __cil_tmp525 = __cil_tmp524 + 16;
13381#line 741
13382 __cil_tmp526 = 848 + __cil_tmp525;
13383#line 741
13384 __cil_tmp527 = (unsigned long )dev;
13385#line 741
13386 __cil_tmp528 = __cil_tmp527 + __cil_tmp526;
13387#line 741
13388 __cil_tmp529 = (struct i2c_adapter *)__cil_tmp528;
13389#line 741
13390 tmp___73 = (*__a___10)(__cil_tmp517, __cil_tmp518, __cil_tmp529, & pv_tda18271_config);
13391#line 741
13392 __r___10 = (void *)tmp___73;
13393 }
13394 {
13395#line 741
13396 __cil_tmp530 = (void *)0;
13397#line 741
13398 __cil_tmp531 = (unsigned long )__cil_tmp530;
13399#line 741
13400 __cil_tmp532 = (unsigned long )__r___10;
13401#line 741
13402 if (__cil_tmp532 == __cil_tmp531) {
13403 {
13404#line 741
13405 __symbol_put("tda18271_attach");
13406 }
13407 } else {
13408
13409 }
13410 }
13411 } else {
13412 {
13413#line 741
13414 printk("<3>DVB: Unable to find symbol tda18271_attach()\n");
13415 }
13416 }
13417 }
13418#line 744
13419 goto ldv_42484;
13420 switch_default:
13421 {
13422#line 747
13423 __cil_tmp533 = (char (*)[30U])dev;
13424#line 747
13425 __cil_tmp534 = (char *)__cil_tmp533;
13426#line 747
13427 printk("<3>%s/2: The frontend of your DVB/ATSC card isn\'t supported yet\n",
13428 __cil_tmp534);
13429 }
13430#line 749
13431 goto ldv_42484;
13432 } else {
13433 switch_break: ;
13434 }
13435 }
13436 }
13437 }
13438 ldv_42484: ;
13439 {
13440#line 751
13441 __cil_tmp535 = (struct dvb_frontend *)0;
13442#line 751
13443 __cil_tmp536 = (unsigned long )__cil_tmp535;
13444#line 751
13445 __cil_tmp537 = *((struct dvb_frontend **)dvb);
13446#line 751
13447 __cil_tmp538 = (unsigned long )__cil_tmp537;
13448#line 751
13449 if (__cil_tmp538 == __cil_tmp536) {
13450 {
13451#line 752
13452 __cil_tmp539 = (char (*)[30U])dev;
13453#line 752
13454 __cil_tmp540 = (char *)__cil_tmp539;
13455#line 752
13456 printk("<3>%s/2: frontend initialization failed\n", __cil_tmp540);
13457#line 754
13458 result = -22;
13459 }
13460#line 755
13461 goto out_free;
13462 } else {
13463
13464 }
13465 }
13466 {
13467#line 759
13468 __cil_tmp541 = (unsigned long )dev;
13469#line 759
13470 __cil_tmp542 = __cil_tmp541 + 13296;
13471#line 759
13472 __cil_tmp543 = *((struct usb_device **)__cil_tmp542);
13473#line 759
13474 __cil_tmp544 = (unsigned long )__cil_tmp543;
13475#line 759
13476 __cil_tmp545 = __cil_tmp544 + 136;
13477#line 759
13478 __cil_tmp546 = (struct device *)__cil_tmp545;
13479#line 759
13480 result = register_dvb(dvb, & __this_module, dev, __cil_tmp546);
13481 }
13482#line 761
13483 if (result < 0) {
13484#line 762
13485 goto out_free;
13486 } else {
13487
13488 }
13489 {
13490#line 765
13491 printk("<6>Successfully loaded cx231xx-dvb\n");
13492 }
13493 ret:
13494 {
13495#line 768
13496 __cil_tmp547 = (enum cx231xx_mode )0;
13497#line 768
13498 cx231xx_set_mode(dev, __cil_tmp547);
13499#line 769
13500 __cil_tmp548 = (unsigned long )dev;
13501#line 769
13502 __cil_tmp549 = __cil_tmp548 + 10528;
13503#line 769
13504 __cil_tmp550 = (struct mutex *)__cil_tmp549;
13505#line 769
13506 mutex_unlock(__cil_tmp550);
13507 }
13508#line 770
13509 return (result);
13510 out_free:
13511 {
13512#line 773
13513 __cil_tmp551 = (void const *)dvb;
13514#line 773
13515 kfree(__cil_tmp551);
13516#line 774
13517 __cil_tmp552 = (unsigned long )dev;
13518#line 774
13519 __cil_tmp553 = __cil_tmp552 + 13448;
13520#line 774
13521 *((struct cx231xx_dvb **)__cil_tmp553) = (struct cx231xx_dvb *)0;
13522 }
13523#line 775
13524 goto ret;
13525}
13526}
13527#line 778 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13528static int dvb_fini(struct cx231xx *dev )
13529{ unsigned char *__cil_tmp2 ;
13530 unsigned char *__cil_tmp3 ;
13531 unsigned char __cil_tmp4 ;
13532 unsigned int __cil_tmp5 ;
13533 struct cx231xx_dvb *__cil_tmp6 ;
13534 unsigned long __cil_tmp7 ;
13535 unsigned long __cil_tmp8 ;
13536 unsigned long __cil_tmp9 ;
13537 struct cx231xx_dvb *__cil_tmp10 ;
13538 unsigned long __cil_tmp11 ;
13539 unsigned long __cil_tmp12 ;
13540 unsigned long __cil_tmp13 ;
13541 struct cx231xx_dvb *__cil_tmp14 ;
13542 unsigned long __cil_tmp15 ;
13543 unsigned long __cil_tmp16 ;
13544
13545 {
13546 {
13547#line 780
13548 __cil_tmp2 = (unsigned char *)dev;
13549#line 780
13550 __cil_tmp3 = __cil_tmp2 + 136UL;
13551#line 780
13552 __cil_tmp4 = *__cil_tmp3;
13553#line 780
13554 __cil_tmp5 = (unsigned int )__cil_tmp4;
13555#line 780
13556 if (__cil_tmp5 == 0U) {
13557#line 782
13558 return (0);
13559 } else {
13560
13561 }
13562 }
13563 {
13564#line 785
13565 __cil_tmp6 = (struct cx231xx_dvb *)0;
13566#line 785
13567 __cil_tmp7 = (unsigned long )__cil_tmp6;
13568#line 785
13569 __cil_tmp8 = (unsigned long )dev;
13570#line 785
13571 __cil_tmp9 = __cil_tmp8 + 13448;
13572#line 785
13573 __cil_tmp10 = *((struct cx231xx_dvb **)__cil_tmp9);
13574#line 785
13575 __cil_tmp11 = (unsigned long )__cil_tmp10;
13576#line 785
13577 if (__cil_tmp11 != __cil_tmp7) {
13578 {
13579#line 786
13580 __cil_tmp12 = (unsigned long )dev;
13581#line 786
13582 __cil_tmp13 = __cil_tmp12 + 13448;
13583#line 786
13584 __cil_tmp14 = *((struct cx231xx_dvb **)__cil_tmp13);
13585#line 786
13586 unregister_dvb(__cil_tmp14);
13587#line 787
13588 __cil_tmp15 = (unsigned long )dev;
13589#line 787
13590 __cil_tmp16 = __cil_tmp15 + 13448;
13591#line 787
13592 *((struct cx231xx_dvb **)__cil_tmp16) = (struct cx231xx_dvb *)0;
13593 }
13594 } else {
13595
13596 }
13597 }
13598#line 790
13599 return (0);
13600}
13601}
13602#line 793 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13603static struct cx231xx_ops dvb_ops = {{(struct list_head *)0, (struct list_head *)0}, (char *)"Cx231xx dvb Extension",
13604 32, & dvb_init, & dvb_fini};
13605#line 800 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13606static int cx231xx_dvb_register(void)
13607{ int tmp ;
13608
13609 {
13610 {
13611#line 802
13612 tmp = cx231xx_register_extension(& dvb_ops);
13613 }
13614#line 802
13615 return (tmp);
13616}
13617}
13618#line 805 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13619static void cx231xx_dvb_unregister(void)
13620{
13621
13622 {
13623 {
13624#line 807
13625 cx231xx_unregister_extension(& dvb_ops);
13626 }
13627#line 808
13628 return;
13629}
13630}
13631#line 829
13632extern void ldv_check_final_state(void) ;
13633#line 835
13634extern void ldv_initialize(void) ;
13635#line 838
13636extern int __VERIFIER_nondet_int(void) ;
13637#line 841 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13638int LDV_IN_INTERRUPT ;
13639#line 844 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13640void main(void)
13641{ struct cx231xx *var_group1 ;
13642 int tmp ;
13643 int tmp___0 ;
13644 int tmp___1 ;
13645
13646 {
13647 {
13648#line 884
13649 LDV_IN_INTERRUPT = 1;
13650#line 893
13651 ldv_initialize();
13652#line 909
13653 tmp = cx231xx_dvb_register();
13654 }
13655#line 909
13656 if (tmp != 0) {
13657#line 910
13658 goto ldv_final;
13659 } else {
13660
13661 }
13662#line 914
13663 goto ldv_42564;
13664 ldv_42563:
13665 {
13666#line 917
13667 tmp___0 = __VERIFIER_nondet_int();
13668 }
13669#line 919
13670 if (tmp___0 == 0) {
13671#line 919
13672 goto case_0;
13673 } else
13674#line 945
13675 if (tmp___0 == 1) {
13676#line 945
13677 goto case_1;
13678 } else {
13679 {
13680#line 971
13681 goto switch_default;
13682#line 917
13683 if (0) {
13684 case_0:
13685 {
13686#line 937
13687 dvb_init(var_group1);
13688 }
13689#line 944
13690 goto ldv_42560;
13691 case_1:
13692 {
13693#line 963
13694 dvb_fini(var_group1);
13695 }
13696#line 970
13697 goto ldv_42560;
13698 switch_default: ;
13699#line 971
13700 goto ldv_42560;
13701 } else {
13702 switch_break: ;
13703 }
13704 }
13705 }
13706 ldv_42560: ;
13707 ldv_42564:
13708 {
13709#line 914
13710 tmp___1 = __VERIFIER_nondet_int();
13711 }
13712#line 914
13713 if (tmp___1 != 0) {
13714#line 915
13715 goto ldv_42563;
13716 } else {
13717#line 917
13718 goto ldv_42565;
13719 }
13720 ldv_42565: ;
13721 {
13722#line 993
13723 cx231xx_dvb_unregister();
13724 }
13725 ldv_final:
13726 {
13727#line 996
13728 ldv_check_final_state();
13729 }
13730#line 999
13731 return;
13732}
13733}
13734#line 5 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast-assert.h"
13735void ldv_blast_assert(void)
13736{
13737
13738 {
13739 ERROR: ;
13740#line 6
13741 goto ERROR;
13742}
13743}
13744#line 6 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/kernel-rules/files/engine-blast.h"
13745extern int __VERIFIER_nondet_int(void) ;
13746#line 1020 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13747int ldv_spin = 0;
13748#line 1024 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13749void ldv_check_alloc_flags(gfp_t flags )
13750{
13751
13752 {
13753#line 1027
13754 if (ldv_spin != 0) {
13755#line 1027
13756 if (flags != 32U) {
13757 {
13758#line 1027
13759 ldv_blast_assert();
13760 }
13761 } else {
13762
13763 }
13764 } else {
13765
13766 }
13767#line 1030
13768 return;
13769}
13770}
13771#line 1030
13772extern struct page *ldv_some_page(void) ;
13773#line 1033 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13774struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags )
13775{ struct page *tmp ;
13776
13777 {
13778#line 1036
13779 if (ldv_spin != 0) {
13780#line 1036
13781 if (flags != 32U) {
13782 {
13783#line 1036
13784 ldv_blast_assert();
13785 }
13786 } else {
13787
13788 }
13789 } else {
13790
13791 }
13792 {
13793#line 1038
13794 tmp = ldv_some_page();
13795 }
13796#line 1038
13797 return (tmp);
13798}
13799}
13800#line 1042 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13801void ldv_check_alloc_nonatomic(void)
13802{
13803
13804 {
13805#line 1045
13806 if (ldv_spin != 0) {
13807 {
13808#line 1045
13809 ldv_blast_assert();
13810 }
13811 } else {
13812
13813 }
13814#line 1048
13815 return;
13816}
13817}
13818#line 1049 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13819void ldv_spin_lock(void)
13820{
13821
13822 {
13823#line 1052
13824 ldv_spin = 1;
13825#line 1053
13826 return;
13827}
13828}
13829#line 1056 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13830void ldv_spin_unlock(void)
13831{
13832
13833 {
13834#line 1059
13835 ldv_spin = 0;
13836#line 1060
13837 return;
13838}
13839}
13840#line 1063 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13841int ldv_spin_trylock(void)
13842{ int is_lock ;
13843
13844 {
13845 {
13846#line 1068
13847 is_lock = __VERIFIER_nondet_int();
13848 }
13849#line 1070
13850 if (is_lock != 0) {
13851#line 1073
13852 return (0);
13853 } else {
13854#line 1078
13855 ldv_spin = 1;
13856#line 1080
13857 return (1);
13858 }
13859}
13860}
13861#line 1247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13862void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 )
13863{
13864
13865 {
13866 {
13867#line 1253
13868 ldv_check_alloc_flags(ldv_func_arg2);
13869#line 1255
13870 kmem_cache_alloc(ldv_func_arg1, ldv_func_arg2);
13871 }
13872#line 1256
13873 return ((void *)0);
13874}
13875}
13876#line 1258 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13877__inline static void *kzalloc(size_t size , gfp_t flags )
13878{ void *tmp ;
13879
13880 {
13881 {
13882#line 1264
13883 ldv_check_alloc_flags(flags);
13884#line 1265
13885 tmp = __VERIFIER_nondet_pointer();
13886 }
13887#line 1265
13888 return (tmp);
13889}
13890}
13891#line 1312 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13892struct sk_buff *ldv_skb_clone_22(struct sk_buff *ldv_func_arg1 , gfp_t ldv_func_arg2 )
13893{ struct sk_buff *tmp ;
13894
13895 {
13896 {
13897#line 1318
13898 ldv_check_alloc_flags(ldv_func_arg2);
13899#line 1320
13900 tmp = skb_clone(ldv_func_arg1, ldv_func_arg2);
13901 }
13902#line 1320
13903 return (tmp);
13904}
13905}
13906#line 1334 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13907struct sk_buff *ldv_skb_copy_24(struct sk_buff const *ldv_func_arg1 , gfp_t ldv_func_arg2 )
13908{ struct sk_buff *tmp ;
13909
13910 {
13911 {
13912#line 1340
13913 ldv_check_alloc_flags(ldv_func_arg2);
13914#line 1342
13915 tmp = skb_copy(ldv_func_arg1, ldv_func_arg2);
13916 }
13917#line 1342
13918 return (tmp);
13919}
13920}
13921#line 1345 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13922struct sk_buff *ldv___netdev_alloc_skb_25(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
13923 gfp_t ldv_func_arg3 )
13924{ struct sk_buff *tmp ;
13925
13926 {
13927 {
13928#line 1352
13929 ldv_check_alloc_flags(ldv_func_arg3);
13930#line 1354
13931 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
13932 }
13933#line 1354
13934 return (tmp);
13935}
13936}
13937#line 1357 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13938struct sk_buff *ldv___netdev_alloc_skb_26(struct net_device *ldv_func_arg1 , unsigned int ldv_func_arg2 ,
13939 gfp_t ldv_func_arg3 )
13940{ struct sk_buff *tmp ;
13941
13942 {
13943 {
13944#line 1364
13945 ldv_check_alloc_flags(ldv_func_arg3);
13946#line 1366
13947 tmp = __netdev_alloc_skb(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3);
13948 }
13949#line 1366
13950 return (tmp);
13951}
13952}
13953#line 1369 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/7454/dscv_tempdir/dscv/ri/43_1a/drivers/media/video/cx231xx/cx231xx-dvb.c.p"
13954int ldv_pskb_expand_head_27(struct sk_buff *ldv_func_arg1 , int ldv_func_arg2 , int ldv_func_arg3 ,
13955 gfp_t ldv_func_arg4 )
13956{ int tmp ;
13957
13958 {
13959 {
13960#line 1377
13961 ldv_check_alloc_flags(ldv_func_arg4);
13962#line 1379
13963 tmp = pskb_expand_head(ldv_func_arg1, ldv_func_arg2, ldv_func_arg3, ldv_func_arg4);
13964 }
13965#line 1379
13966 return (tmp);
13967}
13968}