Showing error 893

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: ldv-linux-3.4/43_1a_cilled_safe_ok_nondet_linux-43_1a-drivers--leds--leds-bd2802.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
Line in file: 9553
Project: SV-COMP 2013
Project version: 2.6.28
Tools: Manual Work
Entered: 2013-01-17 16:57:54 UTC


Source:

   1/* Generated by CIL v. 1.3.7 */
   2/* print_CIL_Input is true */
   3
   4#line 20 "include/asm-generic/int-ll64.h"
   5typedef unsigned char __u8;
   6#line 23 "include/asm-generic/int-ll64.h"
   7typedef unsigned short __u16;
   8#line 25 "include/asm-generic/int-ll64.h"
   9typedef int __s32;
  10#line 26 "include/asm-generic/int-ll64.h"
  11typedef unsigned int __u32;
  12#line 30 "include/asm-generic/int-ll64.h"
  13typedef unsigned long long __u64;
  14#line 43 "include/asm-generic/int-ll64.h"
  15typedef unsigned char u8;
  16#line 45 "include/asm-generic/int-ll64.h"
  17typedef short s16;
  18#line 46 "include/asm-generic/int-ll64.h"
  19typedef unsigned short u16;
  20#line 48 "include/asm-generic/int-ll64.h"
  21typedef int s32;
  22#line 49 "include/asm-generic/int-ll64.h"
  23typedef unsigned int u32;
  24#line 51 "include/asm-generic/int-ll64.h"
  25typedef long long s64;
  26#line 52 "include/asm-generic/int-ll64.h"
  27typedef unsigned long long u64;
  28#line 14 "include/asm-generic/posix_types.h"
  29typedef long __kernel_long_t;
  30#line 15 "include/asm-generic/posix_types.h"
  31typedef unsigned long __kernel_ulong_t;
  32#line 31 "include/asm-generic/posix_types.h"
  33typedef int __kernel_pid_t;
  34#line 52 "include/asm-generic/posix_types.h"
  35typedef unsigned int __kernel_uid32_t;
  36#line 53 "include/asm-generic/posix_types.h"
  37typedef unsigned int __kernel_gid32_t;
  38#line 75 "include/asm-generic/posix_types.h"
  39typedef __kernel_ulong_t __kernel_size_t;
  40#line 76 "include/asm-generic/posix_types.h"
  41typedef __kernel_long_t __kernel_ssize_t;
  42#line 91 "include/asm-generic/posix_types.h"
  43typedef long long __kernel_loff_t;
  44#line 92 "include/asm-generic/posix_types.h"
  45typedef __kernel_long_t __kernel_time_t;
  46#line 93 "include/asm-generic/posix_types.h"
  47typedef __kernel_long_t __kernel_clock_t;
  48#line 94 "include/asm-generic/posix_types.h"
  49typedef int __kernel_timer_t;
  50#line 95 "include/asm-generic/posix_types.h"
  51typedef int __kernel_clockid_t;
  52#line 21 "include/linux/types.h"
  53typedef __u32 __kernel_dev_t;
  54#line 24 "include/linux/types.h"
  55typedef __kernel_dev_t dev_t;
  56#line 27 "include/linux/types.h"
  57typedef unsigned short umode_t;
  58#line 30 "include/linux/types.h"
  59typedef __kernel_pid_t pid_t;
  60#line 35 "include/linux/types.h"
  61typedef __kernel_clockid_t clockid_t;
  62#line 38 "include/linux/types.h"
  63typedef _Bool bool;
  64#line 40 "include/linux/types.h"
  65typedef __kernel_uid32_t uid_t;
  66#line 41 "include/linux/types.h"
  67typedef __kernel_gid32_t gid_t;
  68#line 54 "include/linux/types.h"
  69typedef __kernel_loff_t loff_t;
  70#line 63 "include/linux/types.h"
  71typedef __kernel_size_t size_t;
  72#line 68 "include/linux/types.h"
  73typedef __kernel_ssize_t ssize_t;
  74#line 78 "include/linux/types.h"
  75typedef __kernel_time_t time_t;
  76#line 111 "include/linux/types.h"
  77typedef __s32 int32_t;
  78#line 117 "include/linux/types.h"
  79typedef __u32 uint32_t;
  80#line 202 "include/linux/types.h"
  81typedef unsigned int gfp_t;
  82#line 221 "include/linux/types.h"
  83struct __anonstruct_atomic_t_6 {
  84   int counter ;
  85};
  86#line 221 "include/linux/types.h"
  87typedef struct __anonstruct_atomic_t_6 atomic_t;
  88#line 226 "include/linux/types.h"
  89struct __anonstruct_atomic64_t_7 {
  90   long counter ;
  91};
  92#line 226 "include/linux/types.h"
  93typedef struct __anonstruct_atomic64_t_7 atomic64_t;
  94#line 227 "include/linux/types.h"
  95struct list_head {
  96   struct list_head *next ;
  97   struct list_head *prev ;
  98};
  99#line 232
 100struct hlist_node;
 101#line 232 "include/linux/types.h"
 102struct hlist_head {
 103   struct hlist_node *first ;
 104};
 105#line 236 "include/linux/types.h"
 106struct hlist_node {
 107   struct hlist_node *next ;
 108   struct hlist_node **pprev ;
 109};
 110#line 247 "include/linux/types.h"
 111struct rcu_head {
 112   struct rcu_head *next ;
 113   void (*func)(struct rcu_head * ) ;
 114};
 115#line 55 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/alternative.h"
 116struct module;
 117#line 55
 118struct module;
 119#line 146 "include/linux/init.h"
 120typedef void (*ctor_fn_t)(void);
 121#line 46 "include/linux/dynamic_debug.h"
 122struct device;
 123#line 46
 124struct device;
 125#line 57
 126struct completion;
 127#line 57
 128struct completion;
 129#line 58
 130struct pt_regs;
 131#line 58
 132struct pt_regs;
 133#line 348 "include/linux/kernel.h"
 134struct pid;
 135#line 348
 136struct pid;
 137#line 112 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/stat.h"
 138struct timespec;
 139#line 112
 140struct timespec;
 141#line 58 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/page_types.h"
 142struct page;
 143#line 58
 144struct page;
 145#line 26 "include/asm-generic/getorder.h"
 146struct task_struct;
 147#line 26
 148struct task_struct;
 149#line 28
 150struct mm_struct;
 151#line 28
 152struct mm_struct;
 153#line 268 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/segment.h"
 154struct pt_regs {
 155   unsigned long r15 ;
 156   unsigned long r14 ;
 157   unsigned long r13 ;
 158   unsigned long r12 ;
 159   unsigned long bp ;
 160   unsigned long bx ;
 161   unsigned long r11 ;
 162   unsigned long r10 ;
 163   unsigned long r9 ;
 164   unsigned long r8 ;
 165   unsigned long ax ;
 166   unsigned long cx ;
 167   unsigned long dx ;
 168   unsigned long si ;
 169   unsigned long di ;
 170   unsigned long orig_ax ;
 171   unsigned long ip ;
 172   unsigned long cs ;
 173   unsigned long flags ;
 174   unsigned long sp ;
 175   unsigned long ss ;
 176};
 177#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 178struct __anonstruct_ldv_2180_13 {
 179   unsigned int a ;
 180   unsigned int b ;
 181};
 182#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 183struct __anonstruct_ldv_2195_14 {
 184   u16 limit0 ;
 185   u16 base0 ;
 186   unsigned char base1 ;
 187   unsigned char type : 4 ;
 188   unsigned char s : 1 ;
 189   unsigned char dpl : 2 ;
 190   unsigned char p : 1 ;
 191   unsigned char limit : 4 ;
 192   unsigned char avl : 1 ;
 193   unsigned char l : 1 ;
 194   unsigned char d : 1 ;
 195   unsigned char g : 1 ;
 196   unsigned char base2 ;
 197};
 198#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 199union __anonunion_ldv_2196_12 {
 200   struct __anonstruct_ldv_2180_13 ldv_2180 ;
 201   struct __anonstruct_ldv_2195_14 ldv_2195 ;
 202};
 203#line 125 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 204struct desc_struct {
 205   union __anonunion_ldv_2196_12 ldv_2196 ;
 206};
 207#line 13 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
 208typedef unsigned long pgdval_t;
 209#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
 210typedef unsigned long pgprotval_t;
 211#line 18 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_64_types.h"
 212struct pgprot {
 213   pgprotval_t pgprot ;
 214};
 215#line 192 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 216typedef struct pgprot pgprot_t;
 217#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 218struct __anonstruct_pgd_t_16 {
 219   pgdval_t pgd ;
 220};
 221#line 194 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 222typedef struct __anonstruct_pgd_t_16 pgd_t;
 223#line 282 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/pgtable_types.h"
 224typedef struct page *pgtable_t;
 225#line 290
 226struct file;
 227#line 290
 228struct file;
 229#line 337
 230struct thread_struct;
 231#line 337
 232struct thread_struct;
 233#line 339
 234struct cpumask;
 235#line 339
 236struct cpumask;
 237#line 327 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt_types.h"
 238struct arch_spinlock;
 239#line 327
 240struct arch_spinlock;
 241#line 300 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/ptrace.h"
 242struct kernel_vm86_regs {
 243   struct pt_regs pt ;
 244   unsigned short es ;
 245   unsigned short __esh ;
 246   unsigned short ds ;
 247   unsigned short __dsh ;
 248   unsigned short fs ;
 249   unsigned short __fsh ;
 250   unsigned short gs ;
 251   unsigned short __gsh ;
 252};
 253#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
 254union __anonunion_ldv_2824_19 {
 255   struct pt_regs *regs ;
 256   struct kernel_vm86_regs *vm86 ;
 257};
 258#line 203 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/vm86.h"
 259struct math_emu_info {
 260   long ___orig_eip ;
 261   union __anonunion_ldv_2824_19 ldv_2824 ;
 262};
 263#line 306 "include/linux/bitmap.h"
 264struct bug_entry {
 265   int bug_addr_disp ;
 266   int file_disp ;
 267   unsigned short line ;
 268   unsigned short flags ;
 269};
 270#line 89 "include/linux/bug.h"
 271struct cpumask {
 272   unsigned long bits[64U] ;
 273};
 274#line 14 "include/linux/cpumask.h"
 275typedef struct cpumask cpumask_t;
 276#line 637 "include/linux/cpumask.h"
 277typedef struct cpumask *cpumask_var_t;
 278#line 234 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/paravirt.h"
 279struct static_key;
 280#line 234
 281struct static_key;
 282#line 287 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 283struct i387_fsave_struct {
 284   u32 cwd ;
 285   u32 swd ;
 286   u32 twd ;
 287   u32 fip ;
 288   u32 fcs ;
 289   u32 foo ;
 290   u32 fos ;
 291   u32 st_space[20U] ;
 292   u32 status ;
 293};
 294#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 295struct __anonstruct_ldv_5180_24 {
 296   u64 rip ;
 297   u64 rdp ;
 298};
 299#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 300struct __anonstruct_ldv_5186_25 {
 301   u32 fip ;
 302   u32 fcs ;
 303   u32 foo ;
 304   u32 fos ;
 305};
 306#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 307union __anonunion_ldv_5187_23 {
 308   struct __anonstruct_ldv_5180_24 ldv_5180 ;
 309   struct __anonstruct_ldv_5186_25 ldv_5186 ;
 310};
 311#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 312union __anonunion_ldv_5196_26 {
 313   u32 padding1[12U] ;
 314   u32 sw_reserved[12U] ;
 315};
 316#line 305 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 317struct i387_fxsave_struct {
 318   u16 cwd ;
 319   u16 swd ;
 320   u16 twd ;
 321   u16 fop ;
 322   union __anonunion_ldv_5187_23 ldv_5187 ;
 323   u32 mxcsr ;
 324   u32 mxcsr_mask ;
 325   u32 st_space[32U] ;
 326   u32 xmm_space[64U] ;
 327   u32 padding[12U] ;
 328   union __anonunion_ldv_5196_26 ldv_5196 ;
 329};
 330#line 339 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 331struct i387_soft_struct {
 332   u32 cwd ;
 333   u32 swd ;
 334   u32 twd ;
 335   u32 fip ;
 336   u32 fcs ;
 337   u32 foo ;
 338   u32 fos ;
 339   u32 st_space[20U] ;
 340   u8 ftop ;
 341   u8 changed ;
 342   u8 lookahead ;
 343   u8 no_update ;
 344   u8 rm ;
 345   u8 alimit ;
 346   struct math_emu_info *info ;
 347   u32 entry_eip ;
 348};
 349#line 360 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 350struct ymmh_struct {
 351   u32 ymmh_space[64U] ;
 352};
 353#line 365 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 354struct xsave_hdr_struct {
 355   u64 xstate_bv ;
 356   u64 reserved1[2U] ;
 357   u64 reserved2[5U] ;
 358};
 359#line 371 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 360struct xsave_struct {
 361   struct i387_fxsave_struct i387 ;
 362   struct xsave_hdr_struct xsave_hdr ;
 363   struct ymmh_struct ymmh ;
 364};
 365#line 377 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 366union thread_xstate {
 367   struct i387_fsave_struct fsave ;
 368   struct i387_fxsave_struct fxsave ;
 369   struct i387_soft_struct soft ;
 370   struct xsave_struct xsave ;
 371};
 372#line 385 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 373struct fpu {
 374   unsigned int last_cpu ;
 375   unsigned int has_fpu ;
 376   union thread_xstate *state ;
 377};
 378#line 433
 379struct kmem_cache;
 380#line 434
 381struct perf_event;
 382#line 434
 383struct perf_event;
 384#line 435 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/processor.h"
 385struct thread_struct {
 386   struct desc_struct tls_array[3U] ;
 387   unsigned long sp0 ;
 388   unsigned long sp ;
 389   unsigned long usersp ;
 390   unsigned short es ;
 391   unsigned short ds ;
 392   unsigned short fsindex ;
 393   unsigned short gsindex ;
 394   unsigned long fs ;
 395   unsigned long gs ;
 396   struct perf_event *ptrace_bps[4U] ;
 397   unsigned long debugreg6 ;
 398   unsigned long ptrace_dr7 ;
 399   unsigned long cr2 ;
 400   unsigned long trap_nr ;
 401   unsigned long error_code ;
 402   struct fpu fpu ;
 403   unsigned long *io_bitmap_ptr ;
 404   unsigned long iopl ;
 405   unsigned int io_bitmap_max ;
 406};
 407#line 23 "include/asm-generic/atomic-long.h"
 408typedef atomic64_t atomic_long_t;
 409#line 14 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 410typedef u16 __ticket_t;
 411#line 15 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 412typedef u32 __ticketpair_t;
 413#line 16 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 414struct __raw_tickets {
 415   __ticket_t head ;
 416   __ticket_t tail ;
 417};
 418#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 419union __anonunion_ldv_5907_29 {
 420   __ticketpair_t head_tail ;
 421   struct __raw_tickets tickets ;
 422};
 423#line 26 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 424struct arch_spinlock {
 425   union __anonunion_ldv_5907_29 ldv_5907 ;
 426};
 427#line 27 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/spinlock_types.h"
 428typedef struct arch_spinlock arch_spinlock_t;
 429#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 430struct __anonstruct_ldv_5914_31 {
 431   u32 read ;
 432   s32 write ;
 433};
 434#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 435union __anonunion_arch_rwlock_t_30 {
 436   s64 lock ;
 437   struct __anonstruct_ldv_5914_31 ldv_5914 ;
 438};
 439#line 33 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/rwlock.h"
 440typedef union __anonunion_arch_rwlock_t_30 arch_rwlock_t;
 441#line 34
 442struct lockdep_map;
 443#line 34
 444struct lockdep_map;
 445#line 55 "include/linux/debug_locks.h"
 446struct stack_trace {
 447   unsigned int nr_entries ;
 448   unsigned int max_entries ;
 449   unsigned long *entries ;
 450   int skip ;
 451};
 452#line 26 "include/linux/stacktrace.h"
 453struct lockdep_subclass_key {
 454   char __one_byte ;
 455};
 456#line 53 "include/linux/lockdep.h"
 457struct lock_class_key {
 458   struct lockdep_subclass_key subkeys[8U] ;
 459};
 460#line 59 "include/linux/lockdep.h"
 461struct lock_class {
 462   struct list_head hash_entry ;
 463   struct list_head lock_entry ;
 464   struct lockdep_subclass_key *key ;
 465   unsigned int subclass ;
 466   unsigned int dep_gen_id ;
 467   unsigned long usage_mask ;
 468   struct stack_trace usage_traces[13U] ;
 469   struct list_head locks_after ;
 470   struct list_head locks_before ;
 471   unsigned int version ;
 472   unsigned long ops ;
 473   char const   *name ;
 474   int name_version ;
 475   unsigned long contention_point[4U] ;
 476   unsigned long contending_point[4U] ;
 477};
 478#line 144 "include/linux/lockdep.h"
 479struct lockdep_map {
 480   struct lock_class_key *key ;
 481   struct lock_class *class_cache[2U] ;
 482   char const   *name ;
 483   int cpu ;
 484   unsigned long ip ;
 485};
 486#line 187 "include/linux/lockdep.h"
 487struct held_lock {
 488   u64 prev_chain_key ;
 489   unsigned long acquire_ip ;
 490   struct lockdep_map *instance ;
 491   struct lockdep_map *nest_lock ;
 492   u64 waittime_stamp ;
 493   u64 holdtime_stamp ;
 494   unsigned short class_idx : 13 ;
 495   unsigned char irq_context : 2 ;
 496   unsigned char trylock : 1 ;
 497   unsigned char read : 2 ;
 498   unsigned char check : 2 ;
 499   unsigned char hardirqs_off : 1 ;
 500   unsigned short references : 11 ;
 501};
 502#line 556 "include/linux/lockdep.h"
 503struct raw_spinlock {
 504   arch_spinlock_t raw_lock ;
 505   unsigned int magic ;
 506   unsigned int owner_cpu ;
 507   void *owner ;
 508   struct lockdep_map dep_map ;
 509};
 510#line 32 "include/linux/spinlock_types.h"
 511typedef struct raw_spinlock raw_spinlock_t;
 512#line 33 "include/linux/spinlock_types.h"
 513struct __anonstruct_ldv_6122_33 {
 514   u8 __padding[24U] ;
 515   struct lockdep_map dep_map ;
 516};
 517#line 33 "include/linux/spinlock_types.h"
 518union __anonunion_ldv_6123_32 {
 519   struct raw_spinlock rlock ;
 520   struct __anonstruct_ldv_6122_33 ldv_6122 ;
 521};
 522#line 33 "include/linux/spinlock_types.h"
 523struct spinlock {
 524   union __anonunion_ldv_6123_32 ldv_6123 ;
 525};
 526#line 76 "include/linux/spinlock_types.h"
 527typedef struct spinlock spinlock_t;
 528#line 23 "include/linux/rwlock_types.h"
 529struct __anonstruct_rwlock_t_34 {
 530   arch_rwlock_t raw_lock ;
 531   unsigned int magic ;
 532   unsigned int owner_cpu ;
 533   void *owner ;
 534   struct lockdep_map dep_map ;
 535};
 536#line 23 "include/linux/rwlock_types.h"
 537typedef struct __anonstruct_rwlock_t_34 rwlock_t;
 538#line 110 "include/linux/seqlock.h"
 539struct seqcount {
 540   unsigned int sequence ;
 541};
 542#line 121 "include/linux/seqlock.h"
 543typedef struct seqcount seqcount_t;
 544#line 254 "include/linux/seqlock.h"
 545struct timespec {
 546   __kernel_time_t tv_sec ;
 547   long tv_nsec ;
 548};
 549#line 48 "include/linux/wait.h"
 550struct __wait_queue_head {
 551   spinlock_t lock ;
 552   struct list_head task_list ;
 553};
 554#line 53 "include/linux/wait.h"
 555typedef struct __wait_queue_head wait_queue_head_t;
 556#line 98 "include/linux/nodemask.h"
 557struct __anonstruct_nodemask_t_36 {
 558   unsigned long bits[16U] ;
 559};
 560#line 98 "include/linux/nodemask.h"
 561typedef struct __anonstruct_nodemask_t_36 nodemask_t;
 562#line 670 "include/linux/mmzone.h"
 563struct mutex {
 564   atomic_t count ;
 565   spinlock_t wait_lock ;
 566   struct list_head wait_list ;
 567   struct task_struct *owner ;
 568   char const   *name ;
 569   void *magic ;
 570   struct lockdep_map dep_map ;
 571};
 572#line 63 "include/linux/mutex.h"
 573struct mutex_waiter {
 574   struct list_head list ;
 575   struct task_struct *task ;
 576   void *magic ;
 577};
 578#line 171
 579struct rw_semaphore;
 580#line 171
 581struct rw_semaphore;
 582#line 172 "include/linux/mutex.h"
 583struct rw_semaphore {
 584   long count ;
 585   raw_spinlock_t wait_lock ;
 586   struct list_head wait_list ;
 587   struct lockdep_map dep_map ;
 588};
 589#line 128 "include/linux/rwsem.h"
 590struct completion {
 591   unsigned int done ;
 592   wait_queue_head_t wait ;
 593};
 594#line 312 "include/linux/jiffies.h"
 595union ktime {
 596   s64 tv64 ;
 597};
 598#line 59 "include/linux/ktime.h"
 599typedef union ktime ktime_t;
 600#line 341
 601struct tvec_base;
 602#line 341
 603struct tvec_base;
 604#line 342 "include/linux/ktime.h"
 605struct timer_list {
 606   struct list_head entry ;
 607   unsigned long expires ;
 608   struct tvec_base *base ;
 609   void (*function)(unsigned long  ) ;
 610   unsigned long data ;
 611   int slack ;
 612   int start_pid ;
 613   void *start_site ;
 614   char start_comm[16U] ;
 615   struct lockdep_map lockdep_map ;
 616};
 617#line 289 "include/linux/timer.h"
 618struct hrtimer;
 619#line 289
 620struct hrtimer;
 621#line 290
 622enum hrtimer_restart;
 623#line 302
 624struct work_struct;
 625#line 302
 626struct work_struct;
 627#line 45 "include/linux/workqueue.h"
 628struct work_struct {
 629   atomic_long_t data ;
 630   struct list_head entry ;
 631   void (*func)(struct work_struct * ) ;
 632   struct lockdep_map lockdep_map ;
 633};
 634#line 46 "include/linux/pm.h"
 635struct pm_message {
 636   int event ;
 637};
 638#line 52 "include/linux/pm.h"
 639typedef struct pm_message pm_message_t;
 640#line 53 "include/linux/pm.h"
 641struct dev_pm_ops {
 642   int (*prepare)(struct device * ) ;
 643   void (*complete)(struct device * ) ;
 644   int (*suspend)(struct device * ) ;
 645   int (*resume)(struct device * ) ;
 646   int (*freeze)(struct device * ) ;
 647   int (*thaw)(struct device * ) ;
 648   int (*poweroff)(struct device * ) ;
 649   int (*restore)(struct device * ) ;
 650   int (*suspend_late)(struct device * ) ;
 651   int (*resume_early)(struct device * ) ;
 652   int (*freeze_late)(struct device * ) ;
 653   int (*thaw_early)(struct device * ) ;
 654   int (*poweroff_late)(struct device * ) ;
 655   int (*restore_early)(struct device * ) ;
 656   int (*suspend_noirq)(struct device * ) ;
 657   int (*resume_noirq)(struct device * ) ;
 658   int (*freeze_noirq)(struct device * ) ;
 659   int (*thaw_noirq)(struct device * ) ;
 660   int (*poweroff_noirq)(struct device * ) ;
 661   int (*restore_noirq)(struct device * ) ;
 662   int (*runtime_suspend)(struct device * ) ;
 663   int (*runtime_resume)(struct device * ) ;
 664   int (*runtime_idle)(struct device * ) ;
 665};
 666#line 289
 667enum rpm_status {
 668    RPM_ACTIVE = 0,
 669    RPM_RESUMING = 1,
 670    RPM_SUSPENDED = 2,
 671    RPM_SUSPENDING = 3
 672} ;
 673#line 296
 674enum rpm_request {
 675    RPM_REQ_NONE = 0,
 676    RPM_REQ_IDLE = 1,
 677    RPM_REQ_SUSPEND = 2,
 678    RPM_REQ_AUTOSUSPEND = 3,
 679    RPM_REQ_RESUME = 4
 680} ;
 681#line 304
 682struct wakeup_source;
 683#line 304
 684struct wakeup_source;
 685#line 494 "include/linux/pm.h"
 686struct pm_subsys_data {
 687   spinlock_t lock ;
 688   unsigned int refcount ;
 689};
 690#line 499
 691struct dev_pm_qos_request;
 692#line 499
 693struct pm_qos_constraints;
 694#line 499 "include/linux/pm.h"
 695struct dev_pm_info {
 696   pm_message_t power_state ;
 697   unsigned char can_wakeup : 1 ;
 698   unsigned char async_suspend : 1 ;
 699   bool is_prepared ;
 700   bool is_suspended ;
 701   bool ignore_children ;
 702   spinlock_t lock ;
 703   struct list_head entry ;
 704   struct completion completion ;
 705   struct wakeup_source *wakeup ;
 706   bool wakeup_path ;
 707   struct timer_list suspend_timer ;
 708   unsigned long timer_expires ;
 709   struct work_struct work ;
 710   wait_queue_head_t wait_queue ;
 711   atomic_t usage_count ;
 712   atomic_t child_count ;
 713   unsigned char disable_depth : 3 ;
 714   unsigned char idle_notification : 1 ;
 715   unsigned char request_pending : 1 ;
 716   unsigned char deferred_resume : 1 ;
 717   unsigned char run_wake : 1 ;
 718   unsigned char runtime_auto : 1 ;
 719   unsigned char no_callbacks : 1 ;
 720   unsigned char irq_safe : 1 ;
 721   unsigned char use_autosuspend : 1 ;
 722   unsigned char timer_autosuspends : 1 ;
 723   enum rpm_request request ;
 724   enum rpm_status runtime_status ;
 725   int runtime_error ;
 726   int autosuspend_delay ;
 727   unsigned long last_busy ;
 728   unsigned long active_jiffies ;
 729   unsigned long suspended_jiffies ;
 730   unsigned long accounting_timestamp ;
 731   ktime_t suspend_time ;
 732   s64 max_time_suspended_ns ;
 733   struct dev_pm_qos_request *pq_req ;
 734   struct pm_subsys_data *subsys_data ;
 735   struct pm_qos_constraints *constraints ;
 736};
 737#line 558 "include/linux/pm.h"
 738struct dev_pm_domain {
 739   struct dev_pm_ops ops ;
 740};
 741#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
 742struct __anonstruct_mm_context_t_101 {
 743   void *ldt ;
 744   int size ;
 745   unsigned short ia32_compat ;
 746   struct mutex lock ;
 747   void *vdso ;
 748};
 749#line 22 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/mmu.h"
 750typedef struct __anonstruct_mm_context_t_101 mm_context_t;
 751#line 18 "include/asm-generic/pci_iomap.h"
 752struct vm_area_struct;
 753#line 18
 754struct vm_area_struct;
 755#line 835 "include/linux/sysctl.h"
 756struct rb_node {
 757   unsigned long rb_parent_color ;
 758   struct rb_node *rb_right ;
 759   struct rb_node *rb_left ;
 760};
 761#line 108 "include/linux/rbtree.h"
 762struct rb_root {
 763   struct rb_node *rb_node ;
 764};
 765#line 176
 766struct nsproxy;
 767#line 176
 768struct nsproxy;
 769#line 37 "include/linux/kmod.h"
 770struct cred;
 771#line 37
 772struct cred;
 773#line 18 "include/linux/elf.h"
 774typedef __u64 Elf64_Addr;
 775#line 19 "include/linux/elf.h"
 776typedef __u16 Elf64_Half;
 777#line 23 "include/linux/elf.h"
 778typedef __u32 Elf64_Word;
 779#line 24 "include/linux/elf.h"
 780typedef __u64 Elf64_Xword;
 781#line 193 "include/linux/elf.h"
 782struct elf64_sym {
 783   Elf64_Word st_name ;
 784   unsigned char st_info ;
 785   unsigned char st_other ;
 786   Elf64_Half st_shndx ;
 787   Elf64_Addr st_value ;
 788   Elf64_Xword st_size ;
 789};
 790#line 201 "include/linux/elf.h"
 791typedef struct elf64_sym Elf64_Sym;
 792#line 445
 793struct sock;
 794#line 445
 795struct sock;
 796#line 446
 797struct kobject;
 798#line 446
 799struct kobject;
 800#line 447
 801enum kobj_ns_type {
 802    KOBJ_NS_TYPE_NONE = 0,
 803    KOBJ_NS_TYPE_NET = 1,
 804    KOBJ_NS_TYPES = 2
 805} ;
 806#line 453 "include/linux/elf.h"
 807struct kobj_ns_type_operations {
 808   enum kobj_ns_type type ;
 809   void *(*grab_current_ns)(void) ;
 810   void const   *(*netlink_ns)(struct sock * ) ;
 811   void const   *(*initial_ns)(void) ;
 812   void (*drop_ns)(void * ) ;
 813};
 814#line 57 "include/linux/kobject_ns.h"
 815struct attribute {
 816   char const   *name ;
 817   umode_t mode ;
 818   struct lock_class_key *key ;
 819   struct lock_class_key skey ;
 820};
 821#line 33 "include/linux/sysfs.h"
 822struct attribute_group {
 823   char const   *name ;
 824   umode_t (*is_visible)(struct kobject * , struct attribute * , int  ) ;
 825   struct attribute **attrs ;
 826};
 827#line 62 "include/linux/sysfs.h"
 828struct bin_attribute {
 829   struct attribute attr ;
 830   size_t size ;
 831   void *private ;
 832   ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 833                   loff_t  , size_t  ) ;
 834   ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
 835                    loff_t  , size_t  ) ;
 836   int (*mmap)(struct file * , struct kobject * , struct bin_attribute * , struct vm_area_struct * ) ;
 837};
 838#line 98 "include/linux/sysfs.h"
 839struct sysfs_ops {
 840   ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
 841   ssize_t (*store)(struct kobject * , struct attribute * , char const   * , size_t  ) ;
 842   void const   *(*namespace)(struct kobject * , struct attribute  const  * ) ;
 843};
 844#line 117
 845struct sysfs_dirent;
 846#line 117
 847struct sysfs_dirent;
 848#line 182 "include/linux/sysfs.h"
 849struct kref {
 850   atomic_t refcount ;
 851};
 852#line 49 "include/linux/kobject.h"
 853struct kset;
 854#line 49
 855struct kobj_type;
 856#line 49 "include/linux/kobject.h"
 857struct kobject {
 858   char const   *name ;
 859   struct list_head entry ;
 860   struct kobject *parent ;
 861   struct kset *kset ;
 862   struct kobj_type *ktype ;
 863   struct sysfs_dirent *sd ;
 864   struct kref kref ;
 865   unsigned char state_initialized : 1 ;
 866   unsigned char state_in_sysfs : 1 ;
 867   unsigned char state_add_uevent_sent : 1 ;
 868   unsigned char state_remove_uevent_sent : 1 ;
 869   unsigned char uevent_suppress : 1 ;
 870};
 871#line 107 "include/linux/kobject.h"
 872struct kobj_type {
 873   void (*release)(struct kobject * ) ;
 874   struct sysfs_ops  const  *sysfs_ops ;
 875   struct attribute **default_attrs ;
 876   struct kobj_ns_type_operations  const  *(*child_ns_type)(struct kobject * ) ;
 877   void const   *(*namespace)(struct kobject * ) ;
 878};
 879#line 115 "include/linux/kobject.h"
 880struct kobj_uevent_env {
 881   char *envp[32U] ;
 882   int envp_idx ;
 883   char buf[2048U] ;
 884   int buflen ;
 885};
 886#line 122 "include/linux/kobject.h"
 887struct kset_uevent_ops {
 888   int (* const  filter)(struct kset * , struct kobject * ) ;
 889   char const   *(* const  name)(struct kset * , struct kobject * ) ;
 890   int (* const  uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
 891};
 892#line 139 "include/linux/kobject.h"
 893struct kset {
 894   struct list_head list ;
 895   spinlock_t list_lock ;
 896   struct kobject kobj ;
 897   struct kset_uevent_ops  const  *uevent_ops ;
 898};
 899#line 215
 900struct kernel_param;
 901#line 215
 902struct kernel_param;
 903#line 216 "include/linux/kobject.h"
 904struct kernel_param_ops {
 905   int (*set)(char const   * , struct kernel_param  const  * ) ;
 906   int (*get)(char * , struct kernel_param  const  * ) ;
 907   void (*free)(void * ) ;
 908};
 909#line 49 "include/linux/moduleparam.h"
 910struct kparam_string;
 911#line 49
 912struct kparam_array;
 913#line 49 "include/linux/moduleparam.h"
 914union __anonunion_ldv_13363_134 {
 915   void *arg ;
 916   struct kparam_string  const  *str ;
 917   struct kparam_array  const  *arr ;
 918};
 919#line 49 "include/linux/moduleparam.h"
 920struct kernel_param {
 921   char const   *name ;
 922   struct kernel_param_ops  const  *ops ;
 923   u16 perm ;
 924   s16 level ;
 925   union __anonunion_ldv_13363_134 ldv_13363 ;
 926};
 927#line 61 "include/linux/moduleparam.h"
 928struct kparam_string {
 929   unsigned int maxlen ;
 930   char *string ;
 931};
 932#line 67 "include/linux/moduleparam.h"
 933struct kparam_array {
 934   unsigned int max ;
 935   unsigned int elemsize ;
 936   unsigned int *num ;
 937   struct kernel_param_ops  const  *ops ;
 938   void *elem ;
 939};
 940#line 458 "include/linux/moduleparam.h"
 941struct static_key {
 942   atomic_t enabled ;
 943};
 944#line 225 "include/linux/jump_label.h"
 945struct tracepoint;
 946#line 225
 947struct tracepoint;
 948#line 226 "include/linux/jump_label.h"
 949struct tracepoint_func {
 950   void *func ;
 951   void *data ;
 952};
 953#line 29 "include/linux/tracepoint.h"
 954struct tracepoint {
 955   char const   *name ;
 956   struct static_key key ;
 957   void (*regfunc)(void) ;
 958   void (*unregfunc)(void) ;
 959   struct tracepoint_func *funcs ;
 960};
 961#line 86 "include/linux/tracepoint.h"
 962struct kernel_symbol {
 963   unsigned long value ;
 964   char const   *name ;
 965};
 966#line 27 "include/linux/export.h"
 967struct mod_arch_specific {
 968
 969};
 970#line 34 "include/linux/module.h"
 971struct module_param_attrs;
 972#line 34 "include/linux/module.h"
 973struct module_kobject {
 974   struct kobject kobj ;
 975   struct module *mod ;
 976   struct kobject *drivers_dir ;
 977   struct module_param_attrs *mp ;
 978};
 979#line 43 "include/linux/module.h"
 980struct module_attribute {
 981   struct attribute attr ;
 982   ssize_t (*show)(struct module_attribute * , struct module_kobject * , char * ) ;
 983   ssize_t (*store)(struct module_attribute * , struct module_kobject * , char const   * ,
 984                    size_t  ) ;
 985   void (*setup)(struct module * , char const   * ) ;
 986   int (*test)(struct module * ) ;
 987   void (*free)(struct module * ) ;
 988};
 989#line 69
 990struct exception_table_entry;
 991#line 69
 992struct exception_table_entry;
 993#line 198
 994enum module_state {
 995    MODULE_STATE_LIVE = 0,
 996    MODULE_STATE_COMING = 1,
 997    MODULE_STATE_GOING = 2
 998} ;
 999#line 204 "include/linux/module.h"
1000struct module_ref {
1001   unsigned long incs ;
1002   unsigned long decs ;
1003};
1004#line 219
1005struct module_sect_attrs;
1006#line 219
1007struct module_notes_attrs;
1008#line 219
1009struct ftrace_event_call;
1010#line 219 "include/linux/module.h"
1011struct module {
1012   enum module_state state ;
1013   struct list_head list ;
1014   char name[56U] ;
1015   struct module_kobject mkobj ;
1016   struct module_attribute *modinfo_attrs ;
1017   char const   *version ;
1018   char const   *srcversion ;
1019   struct kobject *holders_dir ;
1020   struct kernel_symbol  const  *syms ;
1021   unsigned long const   *crcs ;
1022   unsigned int num_syms ;
1023   struct kernel_param *kp ;
1024   unsigned int num_kp ;
1025   unsigned int num_gpl_syms ;
1026   struct kernel_symbol  const  *gpl_syms ;
1027   unsigned long const   *gpl_crcs ;
1028   struct kernel_symbol  const  *unused_syms ;
1029   unsigned long const   *unused_crcs ;
1030   unsigned int num_unused_syms ;
1031   unsigned int num_unused_gpl_syms ;
1032   struct kernel_symbol  const  *unused_gpl_syms ;
1033   unsigned long const   *unused_gpl_crcs ;
1034   struct kernel_symbol  const  *gpl_future_syms ;
1035   unsigned long const   *gpl_future_crcs ;
1036   unsigned int num_gpl_future_syms ;
1037   unsigned int num_exentries ;
1038   struct exception_table_entry *extable ;
1039   int (*init)(void) ;
1040   void *module_init ;
1041   void *module_core ;
1042   unsigned int init_size ;
1043   unsigned int core_size ;
1044   unsigned int init_text_size ;
1045   unsigned int core_text_size ;
1046   unsigned int init_ro_size ;
1047   unsigned int core_ro_size ;
1048   struct mod_arch_specific arch ;
1049   unsigned int taints ;
1050   unsigned int num_bugs ;
1051   struct list_head bug_list ;
1052   struct bug_entry *bug_table ;
1053   Elf64_Sym *symtab ;
1054   Elf64_Sym *core_symtab ;
1055   unsigned int num_symtab ;
1056   unsigned int core_num_syms ;
1057   char *strtab ;
1058   char *core_strtab ;
1059   struct module_sect_attrs *sect_attrs ;
1060   struct module_notes_attrs *notes_attrs ;
1061   char *args ;
1062   void *percpu ;
1063   unsigned int percpu_size ;
1064   unsigned int num_tracepoints ;
1065   struct tracepoint * const  *tracepoints_ptrs ;
1066   unsigned int num_trace_bprintk_fmt ;
1067   char const   **trace_bprintk_fmt_start ;
1068   struct ftrace_event_call **trace_events ;
1069   unsigned int num_trace_events ;
1070   struct list_head source_list ;
1071   struct list_head target_list ;
1072   struct task_struct *waiter ;
1073   void (*exit)(void) ;
1074   struct module_ref *refptr ;
1075   ctor_fn_t (**ctors)(void) ;
1076   unsigned int num_ctors ;
1077};
1078#line 88 "include/linux/kmemleak.h"
1079struct kmem_cache_cpu {
1080   void **freelist ;
1081   unsigned long tid ;
1082   struct page *page ;
1083   struct page *partial ;
1084   int node ;
1085   unsigned int stat[26U] ;
1086};
1087#line 55 "include/linux/slub_def.h"
1088struct kmem_cache_node {
1089   spinlock_t list_lock ;
1090   unsigned long nr_partial ;
1091   struct list_head partial ;
1092   atomic_long_t nr_slabs ;
1093   atomic_long_t total_objects ;
1094   struct list_head full ;
1095};
1096#line 66 "include/linux/slub_def.h"
1097struct kmem_cache_order_objects {
1098   unsigned long x ;
1099};
1100#line 76 "include/linux/slub_def.h"
1101struct kmem_cache {
1102   struct kmem_cache_cpu *cpu_slab ;
1103   unsigned long flags ;
1104   unsigned long min_partial ;
1105   int size ;
1106   int objsize ;
1107   int offset ;
1108   int cpu_partial ;
1109   struct kmem_cache_order_objects oo ;
1110   struct kmem_cache_order_objects max ;
1111   struct kmem_cache_order_objects min ;
1112   gfp_t allocflags ;
1113   int refcount ;
1114   void (*ctor)(void * ) ;
1115   int inuse ;
1116   int align ;
1117   int reserved ;
1118   char const   *name ;
1119   struct list_head list ;
1120   struct kobject kobj ;
1121   int remote_node_defrag_ratio ;
1122   struct kmem_cache_node *node[1024U] ;
1123};
1124#line 12 "include/linux/mod_devicetable.h"
1125typedef unsigned long kernel_ulong_t;
1126#line 215 "include/linux/mod_devicetable.h"
1127struct of_device_id {
1128   char name[32U] ;
1129   char type[32U] ;
1130   char compatible[128U] ;
1131   void *data ;
1132};
1133#line 425 "include/linux/mod_devicetable.h"
1134struct i2c_device_id {
1135   char name[20U] ;
1136   kernel_ulong_t driver_data ;
1137};
1138#line 584
1139struct klist_node;
1140#line 584
1141struct klist_node;
1142#line 37 "include/linux/klist.h"
1143struct klist_node {
1144   void *n_klist ;
1145   struct list_head n_node ;
1146   struct kref n_ref ;
1147};
1148#line 67
1149struct dma_map_ops;
1150#line 67 "include/linux/klist.h"
1151struct dev_archdata {
1152   void *acpi_handle ;
1153   struct dma_map_ops *dma_ops ;
1154   void *iommu ;
1155};
1156#line 17 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1157struct device_private;
1158#line 17
1159struct device_private;
1160#line 18
1161struct device_driver;
1162#line 18
1163struct device_driver;
1164#line 19
1165struct driver_private;
1166#line 19
1167struct driver_private;
1168#line 20
1169struct class;
1170#line 20
1171struct class;
1172#line 21
1173struct subsys_private;
1174#line 21
1175struct subsys_private;
1176#line 22
1177struct bus_type;
1178#line 22
1179struct bus_type;
1180#line 23
1181struct device_node;
1182#line 23
1183struct device_node;
1184#line 24
1185struct iommu_ops;
1186#line 24
1187struct iommu_ops;
1188#line 25 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/device.h"
1189struct bus_attribute {
1190   struct attribute attr ;
1191   ssize_t (*show)(struct bus_type * , char * ) ;
1192   ssize_t (*store)(struct bus_type * , char const   * , size_t  ) ;
1193};
1194#line 51 "include/linux/device.h"
1195struct device_attribute;
1196#line 51
1197struct driver_attribute;
1198#line 51 "include/linux/device.h"
1199struct bus_type {
1200   char const   *name ;
1201   char const   *dev_name ;
1202   struct device *dev_root ;
1203   struct bus_attribute *bus_attrs ;
1204   struct device_attribute *dev_attrs ;
1205   struct driver_attribute *drv_attrs ;
1206   int (*match)(struct device * , struct device_driver * ) ;
1207   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1208   int (*probe)(struct device * ) ;
1209   int (*remove)(struct device * ) ;
1210   void (*shutdown)(struct device * ) ;
1211   int (*suspend)(struct device * , pm_message_t  ) ;
1212   int (*resume)(struct device * ) ;
1213   struct dev_pm_ops  const  *pm ;
1214   struct iommu_ops *iommu_ops ;
1215   struct subsys_private *p ;
1216};
1217#line 125
1218struct device_type;
1219#line 182 "include/linux/device.h"
1220struct device_driver {
1221   char const   *name ;
1222   struct bus_type *bus ;
1223   struct module *owner ;
1224   char const   *mod_name ;
1225   bool suppress_bind_attrs ;
1226   struct of_device_id  const  *of_match_table ;
1227   int (*probe)(struct device * ) ;
1228   int (*remove)(struct device * ) ;
1229   void (*shutdown)(struct device * ) ;
1230   int (*suspend)(struct device * , pm_message_t  ) ;
1231   int (*resume)(struct device * ) ;
1232   struct attribute_group  const  **groups ;
1233   struct dev_pm_ops  const  *pm ;
1234   struct driver_private *p ;
1235};
1236#line 245 "include/linux/device.h"
1237struct driver_attribute {
1238   struct attribute attr ;
1239   ssize_t (*show)(struct device_driver * , char * ) ;
1240   ssize_t (*store)(struct device_driver * , char const   * , size_t  ) ;
1241};
1242#line 299
1243struct class_attribute;
1244#line 299 "include/linux/device.h"
1245struct class {
1246   char const   *name ;
1247   struct module *owner ;
1248   struct class_attribute *class_attrs ;
1249   struct device_attribute *dev_attrs ;
1250   struct bin_attribute *dev_bin_attrs ;
1251   struct kobject *dev_kobj ;
1252   int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
1253   char *(*devnode)(struct device * , umode_t * ) ;
1254   void (*class_release)(struct class * ) ;
1255   void (*dev_release)(struct device * ) ;
1256   int (*suspend)(struct device * , pm_message_t  ) ;
1257   int (*resume)(struct device * ) ;
1258   struct kobj_ns_type_operations  const  *ns_type ;
1259   void const   *(*namespace)(struct device * ) ;
1260   struct dev_pm_ops  const  *pm ;
1261   struct subsys_private *p ;
1262};
1263#line 394 "include/linux/device.h"
1264struct class_attribute {
1265   struct attribute attr ;
1266   ssize_t (*show)(struct class * , struct class_attribute * , char * ) ;
1267   ssize_t (*store)(struct class * , struct class_attribute * , char const   * , size_t  ) ;
1268   void const   *(*namespace)(struct class * , struct class_attribute  const  * ) ;
1269};
1270#line 447 "include/linux/device.h"
1271struct device_type {
1272   char const   *name ;
1273   struct attribute_group  const  **groups ;
1274   int (*uevent)(struct device * , struct kobj_uevent_env * ) ;
1275   char *(*devnode)(struct device * , umode_t * ) ;
1276   void (*release)(struct device * ) ;
1277   struct dev_pm_ops  const  *pm ;
1278};
1279#line 474 "include/linux/device.h"
1280struct device_attribute {
1281   struct attribute attr ;
1282   ssize_t (*show)(struct device * , struct device_attribute * , char * ) ;
1283   ssize_t (*store)(struct device * , struct device_attribute * , char const   * ,
1284                    size_t  ) ;
1285};
1286#line 557 "include/linux/device.h"
1287struct device_dma_parameters {
1288   unsigned int max_segment_size ;
1289   unsigned long segment_boundary_mask ;
1290};
1291#line 567
1292struct dma_coherent_mem;
1293#line 567 "include/linux/device.h"
1294struct device {
1295   struct device *parent ;
1296   struct device_private *p ;
1297   struct kobject kobj ;
1298   char const   *init_name ;
1299   struct device_type  const  *type ;
1300   struct mutex mutex ;
1301   struct bus_type *bus ;
1302   struct device_driver *driver ;
1303   void *platform_data ;
1304   struct dev_pm_info power ;
1305   struct dev_pm_domain *pm_domain ;
1306   int numa_node ;
1307   u64 *dma_mask ;
1308   u64 coherent_dma_mask ;
1309   struct device_dma_parameters *dma_parms ;
1310   struct list_head dma_pools ;
1311   struct dma_coherent_mem *dma_mem ;
1312   struct dev_archdata archdata ;
1313   struct device_node *of_node ;
1314   dev_t devt ;
1315   u32 id ;
1316   spinlock_t devres_lock ;
1317   struct list_head devres_head ;
1318   struct klist_node knode_class ;
1319   struct class *class ;
1320   struct attribute_group  const  **groups ;
1321   void (*release)(struct device * ) ;
1322};
1323#line 681 "include/linux/device.h"
1324struct wakeup_source {
1325   char const   *name ;
1326   struct list_head entry ;
1327   spinlock_t lock ;
1328   struct timer_list timer ;
1329   unsigned long timer_expires ;
1330   ktime_t total_time ;
1331   ktime_t max_time ;
1332   ktime_t last_time ;
1333   unsigned long event_count ;
1334   unsigned long active_count ;
1335   unsigned long relax_count ;
1336   unsigned long hit_count ;
1337   unsigned char active : 1 ;
1338};
1339#line 93 "include/linux/capability.h"
1340struct kernel_cap_struct {
1341   __u32 cap[2U] ;
1342};
1343#line 96 "include/linux/capability.h"
1344typedef struct kernel_cap_struct kernel_cap_t;
1345#line 105
1346struct user_namespace;
1347#line 105
1348struct user_namespace;
1349#line 554
1350struct prio_tree_node;
1351#line 554 "include/linux/capability.h"
1352struct raw_prio_tree_node {
1353   struct prio_tree_node *left ;
1354   struct prio_tree_node *right ;
1355   struct prio_tree_node *parent ;
1356};
1357#line 19 "include/linux/prio_tree.h"
1358struct prio_tree_node {
1359   struct prio_tree_node *left ;
1360   struct prio_tree_node *right ;
1361   struct prio_tree_node *parent ;
1362   unsigned long start ;
1363   unsigned long last ;
1364};
1365#line 116
1366struct address_space;
1367#line 116
1368struct address_space;
1369#line 117 "include/linux/prio_tree.h"
1370union __anonunion_ldv_15299_138 {
1371   unsigned long index ;
1372   void *freelist ;
1373};
1374#line 117 "include/linux/prio_tree.h"
1375struct __anonstruct_ldv_15309_142 {
1376   unsigned short inuse ;
1377   unsigned short objects : 15 ;
1378   unsigned char frozen : 1 ;
1379};
1380#line 117 "include/linux/prio_tree.h"
1381union __anonunion_ldv_15310_141 {
1382   atomic_t _mapcount ;
1383   struct __anonstruct_ldv_15309_142 ldv_15309 ;
1384};
1385#line 117 "include/linux/prio_tree.h"
1386struct __anonstruct_ldv_15312_140 {
1387   union __anonunion_ldv_15310_141 ldv_15310 ;
1388   atomic_t _count ;
1389};
1390#line 117 "include/linux/prio_tree.h"
1391union __anonunion_ldv_15313_139 {
1392   unsigned long counters ;
1393   struct __anonstruct_ldv_15312_140 ldv_15312 ;
1394};
1395#line 117 "include/linux/prio_tree.h"
1396struct __anonstruct_ldv_15314_137 {
1397   union __anonunion_ldv_15299_138 ldv_15299 ;
1398   union __anonunion_ldv_15313_139 ldv_15313 ;
1399};
1400#line 117 "include/linux/prio_tree.h"
1401struct __anonstruct_ldv_15321_144 {
1402   struct page *next ;
1403   int pages ;
1404   int pobjects ;
1405};
1406#line 117 "include/linux/prio_tree.h"
1407union __anonunion_ldv_15322_143 {
1408   struct list_head lru ;
1409   struct __anonstruct_ldv_15321_144 ldv_15321 ;
1410};
1411#line 117 "include/linux/prio_tree.h"
1412union __anonunion_ldv_15327_145 {
1413   unsigned long private ;
1414   struct kmem_cache *slab ;
1415   struct page *first_page ;
1416};
1417#line 117 "include/linux/prio_tree.h"
1418struct page {
1419   unsigned long flags ;
1420   struct address_space *mapping ;
1421   struct __anonstruct_ldv_15314_137 ldv_15314 ;
1422   union __anonunion_ldv_15322_143 ldv_15322 ;
1423   union __anonunion_ldv_15327_145 ldv_15327 ;
1424   unsigned long debug_flags ;
1425};
1426#line 192 "include/linux/mm_types.h"
1427struct __anonstruct_vm_set_147 {
1428   struct list_head list ;
1429   void *parent ;
1430   struct vm_area_struct *head ;
1431};
1432#line 192 "include/linux/mm_types.h"
1433union __anonunion_shared_146 {
1434   struct __anonstruct_vm_set_147 vm_set ;
1435   struct raw_prio_tree_node prio_tree_node ;
1436};
1437#line 192
1438struct anon_vma;
1439#line 192
1440struct vm_operations_struct;
1441#line 192
1442struct mempolicy;
1443#line 192 "include/linux/mm_types.h"
1444struct vm_area_struct {
1445   struct mm_struct *vm_mm ;
1446   unsigned long vm_start ;
1447   unsigned long vm_end ;
1448   struct vm_area_struct *vm_next ;
1449   struct vm_area_struct *vm_prev ;
1450   pgprot_t vm_page_prot ;
1451   unsigned long vm_flags ;
1452   struct rb_node vm_rb ;
1453   union __anonunion_shared_146 shared ;
1454   struct list_head anon_vma_chain ;
1455   struct anon_vma *anon_vma ;
1456   struct vm_operations_struct  const  *vm_ops ;
1457   unsigned long vm_pgoff ;
1458   struct file *vm_file ;
1459   void *vm_private_data ;
1460   struct mempolicy *vm_policy ;
1461};
1462#line 255 "include/linux/mm_types.h"
1463struct core_thread {
1464   struct task_struct *task ;
1465   struct core_thread *next ;
1466};
1467#line 261 "include/linux/mm_types.h"
1468struct core_state {
1469   atomic_t nr_threads ;
1470   struct core_thread dumper ;
1471   struct completion startup ;
1472};
1473#line 274 "include/linux/mm_types.h"
1474struct mm_rss_stat {
1475   atomic_long_t count[3U] ;
1476};
1477#line 287
1478struct linux_binfmt;
1479#line 287
1480struct mmu_notifier_mm;
1481#line 287 "include/linux/mm_types.h"
1482struct mm_struct {
1483   struct vm_area_struct *mmap ;
1484   struct rb_root mm_rb ;
1485   struct vm_area_struct *mmap_cache ;
1486   unsigned long (*get_unmapped_area)(struct file * , unsigned long  , unsigned long  ,
1487                                      unsigned long  , unsigned long  ) ;
1488   void (*unmap_area)(struct mm_struct * , unsigned long  ) ;
1489   unsigned long mmap_base ;
1490   unsigned long task_size ;
1491   unsigned long cached_hole_size ;
1492   unsigned long free_area_cache ;
1493   pgd_t *pgd ;
1494   atomic_t mm_users ;
1495   atomic_t mm_count ;
1496   int map_count ;
1497   spinlock_t page_table_lock ;
1498   struct rw_semaphore mmap_sem ;
1499   struct list_head mmlist ;
1500   unsigned long hiwater_rss ;
1501   unsigned long hiwater_vm ;
1502   unsigned long total_vm ;
1503   unsigned long locked_vm ;
1504   unsigned long pinned_vm ;
1505   unsigned long shared_vm ;
1506   unsigned long exec_vm ;
1507   unsigned long stack_vm ;
1508   unsigned long reserved_vm ;
1509   unsigned long def_flags ;
1510   unsigned long nr_ptes ;
1511   unsigned long start_code ;
1512   unsigned long end_code ;
1513   unsigned long start_data ;
1514   unsigned long end_data ;
1515   unsigned long start_brk ;
1516   unsigned long brk ;
1517   unsigned long start_stack ;
1518   unsigned long arg_start ;
1519   unsigned long arg_end ;
1520   unsigned long env_start ;
1521   unsigned long env_end ;
1522   unsigned long saved_auxv[44U] ;
1523   struct mm_rss_stat rss_stat ;
1524   struct linux_binfmt *binfmt ;
1525   cpumask_var_t cpu_vm_mask_var ;
1526   mm_context_t context ;
1527   unsigned int faultstamp ;
1528   unsigned int token_priority ;
1529   unsigned int last_interval ;
1530   unsigned long flags ;
1531   struct core_state *core_state ;
1532   spinlock_t ioctx_lock ;
1533   struct hlist_head ioctx_list ;
1534   struct task_struct *owner ;
1535   struct file *exe_file ;
1536   unsigned long num_exe_file_vmas ;
1537   struct mmu_notifier_mm *mmu_notifier_mm ;
1538   pgtable_t pmd_huge_pte ;
1539   struct cpumask cpumask_allocation ;
1540};
1541#line 7 "include/asm-generic/cputime.h"
1542typedef unsigned long cputime_t;
1543#line 98 "include/linux/sem.h"
1544struct sem_undo_list;
1545#line 98 "include/linux/sem.h"
1546struct sysv_sem {
1547   struct sem_undo_list *undo_list ;
1548};
1549#line 107
1550struct siginfo;
1551#line 107
1552struct siginfo;
1553#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1554struct __anonstruct_sigset_t_148 {
1555   unsigned long sig[1U] ;
1556};
1557#line 32 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1558typedef struct __anonstruct_sigset_t_148 sigset_t;
1559#line 17 "include/asm-generic/signal-defs.h"
1560typedef void __signalfn_t(int  );
1561#line 18 "include/asm-generic/signal-defs.h"
1562typedef __signalfn_t *__sighandler_t;
1563#line 20 "include/asm-generic/signal-defs.h"
1564typedef void __restorefn_t(void);
1565#line 21 "include/asm-generic/signal-defs.h"
1566typedef __restorefn_t *__sigrestore_t;
1567#line 126 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1568struct sigaction {
1569   __sighandler_t sa_handler ;
1570   unsigned long sa_flags ;
1571   __sigrestore_t sa_restorer ;
1572   sigset_t sa_mask ;
1573};
1574#line 173 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1575struct k_sigaction {
1576   struct sigaction sa ;
1577};
1578#line 185 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/signal.h"
1579union sigval {
1580   int sival_int ;
1581   void *sival_ptr ;
1582};
1583#line 10 "include/asm-generic/siginfo.h"
1584typedef union sigval sigval_t;
1585#line 11 "include/asm-generic/siginfo.h"
1586struct __anonstruct__kill_150 {
1587   __kernel_pid_t _pid ;
1588   __kernel_uid32_t _uid ;
1589};
1590#line 11 "include/asm-generic/siginfo.h"
1591struct __anonstruct__timer_151 {
1592   __kernel_timer_t _tid ;
1593   int _overrun ;
1594   char _pad[0U] ;
1595   sigval_t _sigval ;
1596   int _sys_private ;
1597};
1598#line 11 "include/asm-generic/siginfo.h"
1599struct __anonstruct__rt_152 {
1600   __kernel_pid_t _pid ;
1601   __kernel_uid32_t _uid ;
1602   sigval_t _sigval ;
1603};
1604#line 11 "include/asm-generic/siginfo.h"
1605struct __anonstruct__sigchld_153 {
1606   __kernel_pid_t _pid ;
1607   __kernel_uid32_t _uid ;
1608   int _status ;
1609   __kernel_clock_t _utime ;
1610   __kernel_clock_t _stime ;
1611};
1612#line 11 "include/asm-generic/siginfo.h"
1613struct __anonstruct__sigfault_154 {
1614   void *_addr ;
1615   short _addr_lsb ;
1616};
1617#line 11 "include/asm-generic/siginfo.h"
1618struct __anonstruct__sigpoll_155 {
1619   long _band ;
1620   int _fd ;
1621};
1622#line 11 "include/asm-generic/siginfo.h"
1623union __anonunion__sifields_149 {
1624   int _pad[28U] ;
1625   struct __anonstruct__kill_150 _kill ;
1626   struct __anonstruct__timer_151 _timer ;
1627   struct __anonstruct__rt_152 _rt ;
1628   struct __anonstruct__sigchld_153 _sigchld ;
1629   struct __anonstruct__sigfault_154 _sigfault ;
1630   struct __anonstruct__sigpoll_155 _sigpoll ;
1631};
1632#line 11 "include/asm-generic/siginfo.h"
1633struct siginfo {
1634   int si_signo ;
1635   int si_errno ;
1636   int si_code ;
1637   union __anonunion__sifields_149 _sifields ;
1638};
1639#line 102 "include/asm-generic/siginfo.h"
1640typedef struct siginfo siginfo_t;
1641#line 14 "include/linux/signal.h"
1642struct user_struct;
1643#line 24 "include/linux/signal.h"
1644struct sigpending {
1645   struct list_head list ;
1646   sigset_t signal ;
1647};
1648#line 395
1649struct pid_namespace;
1650#line 395 "include/linux/signal.h"
1651struct upid {
1652   int nr ;
1653   struct pid_namespace *ns ;
1654   struct hlist_node pid_chain ;
1655};
1656#line 56 "include/linux/pid.h"
1657struct pid {
1658   atomic_t count ;
1659   unsigned int level ;
1660   struct hlist_head tasks[3U] ;
1661   struct rcu_head rcu ;
1662   struct upid numbers[1U] ;
1663};
1664#line 68 "include/linux/pid.h"
1665struct pid_link {
1666   struct hlist_node node ;
1667   struct pid *pid ;
1668};
1669#line 10 "include/linux/seccomp.h"
1670struct __anonstruct_seccomp_t_158 {
1671   int mode ;
1672};
1673#line 10 "include/linux/seccomp.h"
1674typedef struct __anonstruct_seccomp_t_158 seccomp_t;
1675#line 427 "include/linux/rculist.h"
1676struct plist_head {
1677   struct list_head node_list ;
1678};
1679#line 84 "include/linux/plist.h"
1680struct plist_node {
1681   int prio ;
1682   struct list_head prio_list ;
1683   struct list_head node_list ;
1684};
1685#line 20 "include/linux/rtmutex.h"
1686struct rt_mutex {
1687   raw_spinlock_t wait_lock ;
1688   struct plist_head wait_list ;
1689   struct task_struct *owner ;
1690   int save_state ;
1691   char const   *name ;
1692   char const   *file ;
1693   int line ;
1694   void *magic ;
1695};
1696#line 38
1697struct rt_mutex_waiter;
1698#line 38
1699struct rt_mutex_waiter;
1700#line 41 "include/linux/resource.h"
1701struct rlimit {
1702   unsigned long rlim_cur ;
1703   unsigned long rlim_max ;
1704};
1705#line 85 "include/linux/resource.h"
1706struct timerqueue_node {
1707   struct rb_node node ;
1708   ktime_t expires ;
1709};
1710#line 12 "include/linux/timerqueue.h"
1711struct timerqueue_head {
1712   struct rb_root head ;
1713   struct timerqueue_node *next ;
1714};
1715#line 50
1716struct hrtimer_clock_base;
1717#line 50
1718struct hrtimer_clock_base;
1719#line 51
1720struct hrtimer_cpu_base;
1721#line 51
1722struct hrtimer_cpu_base;
1723#line 60
1724enum hrtimer_restart {
1725    HRTIMER_NORESTART = 0,
1726    HRTIMER_RESTART = 1
1727} ;
1728#line 65 "include/linux/timerqueue.h"
1729struct hrtimer {
1730   struct timerqueue_node node ;
1731   ktime_t _softexpires ;
1732   enum hrtimer_restart (*function)(struct hrtimer * ) ;
1733   struct hrtimer_clock_base *base ;
1734   unsigned long state ;
1735   int start_pid ;
1736   void *start_site ;
1737   char start_comm[16U] ;
1738};
1739#line 132 "include/linux/hrtimer.h"
1740struct hrtimer_clock_base {
1741   struct hrtimer_cpu_base *cpu_base ;
1742   int index ;
1743   clockid_t clockid ;
1744   struct timerqueue_head active ;
1745   ktime_t resolution ;
1746   ktime_t (*get_time)(void) ;
1747   ktime_t softirq_time ;
1748   ktime_t offset ;
1749};
1750#line 162 "include/linux/hrtimer.h"
1751struct hrtimer_cpu_base {
1752   raw_spinlock_t lock ;
1753   unsigned long active_bases ;
1754   ktime_t expires_next ;
1755   int hres_active ;
1756   int hang_detected ;
1757   unsigned long nr_events ;
1758   unsigned long nr_retries ;
1759   unsigned long nr_hangs ;
1760   ktime_t max_hang_time ;
1761   struct hrtimer_clock_base clock_base[3U] ;
1762};
1763#line 452 "include/linux/hrtimer.h"
1764struct task_io_accounting {
1765   u64 rchar ;
1766   u64 wchar ;
1767   u64 syscr ;
1768   u64 syscw ;
1769   u64 read_bytes ;
1770   u64 write_bytes ;
1771   u64 cancelled_write_bytes ;
1772};
1773#line 45 "include/linux/task_io_accounting.h"
1774struct latency_record {
1775   unsigned long backtrace[12U] ;
1776   unsigned int count ;
1777   unsigned long time ;
1778   unsigned long max ;
1779};
1780#line 29 "include/linux/key.h"
1781typedef int32_t key_serial_t;
1782#line 32 "include/linux/key.h"
1783typedef uint32_t key_perm_t;
1784#line 33
1785struct key;
1786#line 33
1787struct key;
1788#line 34
1789struct signal_struct;
1790#line 34
1791struct signal_struct;
1792#line 35
1793struct key_type;
1794#line 35
1795struct key_type;
1796#line 37
1797struct keyring_list;
1798#line 37
1799struct keyring_list;
1800#line 115
1801struct key_user;
1802#line 115 "include/linux/key.h"
1803union __anonunion_ldv_16563_159 {
1804   time_t expiry ;
1805   time_t revoked_at ;
1806};
1807#line 115 "include/linux/key.h"
1808union __anonunion_type_data_160 {
1809   struct list_head link ;
1810   unsigned long x[2U] ;
1811   void *p[2U] ;
1812   int reject_error ;
1813};
1814#line 115 "include/linux/key.h"
1815union __anonunion_payload_161 {
1816   unsigned long value ;
1817   void *rcudata ;
1818   void *data ;
1819   struct keyring_list *subscriptions ;
1820};
1821#line 115 "include/linux/key.h"
1822struct key {
1823   atomic_t usage ;
1824   key_serial_t serial ;
1825   struct rb_node serial_node ;
1826   struct key_type *type ;
1827   struct rw_semaphore sem ;
1828   struct key_user *user ;
1829   void *security ;
1830   union __anonunion_ldv_16563_159 ldv_16563 ;
1831   uid_t uid ;
1832   gid_t gid ;
1833   key_perm_t perm ;
1834   unsigned short quotalen ;
1835   unsigned short datalen ;
1836   unsigned long flags ;
1837   char *description ;
1838   union __anonunion_type_data_160 type_data ;
1839   union __anonunion_payload_161 payload ;
1840};
1841#line 316
1842struct audit_context;
1843#line 316
1844struct audit_context;
1845#line 28 "include/linux/selinux.h"
1846struct group_info {
1847   atomic_t usage ;
1848   int ngroups ;
1849   int nblocks ;
1850   gid_t small_block[32U] ;
1851   gid_t *blocks[0U] ;
1852};
1853#line 77 "include/linux/cred.h"
1854struct thread_group_cred {
1855   atomic_t usage ;
1856   pid_t tgid ;
1857   spinlock_t lock ;
1858   struct key *session_keyring ;
1859   struct key *process_keyring ;
1860   struct rcu_head rcu ;
1861};
1862#line 91 "include/linux/cred.h"
1863struct cred {
1864   atomic_t usage ;
1865   atomic_t subscribers ;
1866   void *put_addr ;
1867   unsigned int magic ;
1868   uid_t uid ;
1869   gid_t gid ;
1870   uid_t suid ;
1871   gid_t sgid ;
1872   uid_t euid ;
1873   gid_t egid ;
1874   uid_t fsuid ;
1875   gid_t fsgid ;
1876   unsigned int securebits ;
1877   kernel_cap_t cap_inheritable ;
1878   kernel_cap_t cap_permitted ;
1879   kernel_cap_t cap_effective ;
1880   kernel_cap_t cap_bset ;
1881   unsigned char jit_keyring ;
1882   struct key *thread_keyring ;
1883   struct key *request_key_auth ;
1884   struct thread_group_cred *tgcred ;
1885   void *security ;
1886   struct user_struct *user ;
1887   struct user_namespace *user_ns ;
1888   struct group_info *group_info ;
1889   struct rcu_head rcu ;
1890};
1891#line 264
1892struct llist_node;
1893#line 64 "include/linux/llist.h"
1894struct llist_node {
1895   struct llist_node *next ;
1896};
1897#line 185
1898struct futex_pi_state;
1899#line 185
1900struct futex_pi_state;
1901#line 186
1902struct robust_list_head;
1903#line 186
1904struct robust_list_head;
1905#line 187
1906struct bio_list;
1907#line 187
1908struct bio_list;
1909#line 188
1910struct fs_struct;
1911#line 188
1912struct fs_struct;
1913#line 189
1914struct perf_event_context;
1915#line 189
1916struct perf_event_context;
1917#line 190
1918struct blk_plug;
1919#line 190
1920struct blk_plug;
1921#line 149 "include/linux/sched.h"
1922struct cfs_rq;
1923#line 149
1924struct cfs_rq;
1925#line 406 "include/linux/sched.h"
1926struct sighand_struct {
1927   atomic_t count ;
1928   struct k_sigaction action[64U] ;
1929   spinlock_t siglock ;
1930   wait_queue_head_t signalfd_wqh ;
1931};
1932#line 449 "include/linux/sched.h"
1933struct pacct_struct {
1934   int ac_flag ;
1935   long ac_exitcode ;
1936   unsigned long ac_mem ;
1937   cputime_t ac_utime ;
1938   cputime_t ac_stime ;
1939   unsigned long ac_minflt ;
1940   unsigned long ac_majflt ;
1941};
1942#line 457 "include/linux/sched.h"
1943struct cpu_itimer {
1944   cputime_t expires ;
1945   cputime_t incr ;
1946   u32 error ;
1947   u32 incr_error ;
1948};
1949#line 464 "include/linux/sched.h"
1950struct task_cputime {
1951   cputime_t utime ;
1952   cputime_t stime ;
1953   unsigned long long sum_exec_runtime ;
1954};
1955#line 481 "include/linux/sched.h"
1956struct thread_group_cputimer {
1957   struct task_cputime cputime ;
1958   int running ;
1959   raw_spinlock_t lock ;
1960};
1961#line 517
1962struct autogroup;
1963#line 517
1964struct autogroup;
1965#line 518
1966struct tty_struct;
1967#line 518
1968struct taskstats;
1969#line 518
1970struct tty_audit_buf;
1971#line 518 "include/linux/sched.h"
1972struct signal_struct {
1973   atomic_t sigcnt ;
1974   atomic_t live ;
1975   int nr_threads ;
1976   wait_queue_head_t wait_chldexit ;
1977   struct task_struct *curr_target ;
1978   struct sigpending shared_pending ;
1979   int group_exit_code ;
1980   int notify_count ;
1981   struct task_struct *group_exit_task ;
1982   int group_stop_count ;
1983   unsigned int flags ;
1984   unsigned char is_child_subreaper : 1 ;
1985   unsigned char has_child_subreaper : 1 ;
1986   struct list_head posix_timers ;
1987   struct hrtimer real_timer ;
1988   struct pid *leader_pid ;
1989   ktime_t it_real_incr ;
1990   struct cpu_itimer it[2U] ;
1991   struct thread_group_cputimer cputimer ;
1992   struct task_cputime cputime_expires ;
1993   struct list_head cpu_timers[3U] ;
1994   struct pid *tty_old_pgrp ;
1995   int leader ;
1996   struct tty_struct *tty ;
1997   struct autogroup *autogroup ;
1998   cputime_t utime ;
1999   cputime_t stime ;
2000   cputime_t cutime ;
2001   cputime_t cstime ;
2002   cputime_t gtime ;
2003   cputime_t cgtime ;
2004   cputime_t prev_utime ;
2005   cputime_t prev_stime ;
2006   unsigned long nvcsw ;
2007   unsigned long nivcsw ;
2008   unsigned long cnvcsw ;
2009   unsigned long cnivcsw ;
2010   unsigned long min_flt ;
2011   unsigned long maj_flt ;
2012   unsigned long cmin_flt ;
2013   unsigned long cmaj_flt ;
2014   unsigned long inblock ;
2015   unsigned long oublock ;
2016   unsigned long cinblock ;
2017   unsigned long coublock ;
2018   unsigned long maxrss ;
2019   unsigned long cmaxrss ;
2020   struct task_io_accounting ioac ;
2021   unsigned long long sum_sched_runtime ;
2022   struct rlimit rlim[16U] ;
2023   struct pacct_struct pacct ;
2024   struct taskstats *stats ;
2025   unsigned int audit_tty ;
2026   struct tty_audit_buf *tty_audit_buf ;
2027   struct rw_semaphore group_rwsem ;
2028   int oom_adj ;
2029   int oom_score_adj ;
2030   int oom_score_adj_min ;
2031   struct mutex cred_guard_mutex ;
2032};
2033#line 699 "include/linux/sched.h"
2034struct user_struct {
2035   atomic_t __count ;
2036   atomic_t processes ;
2037   atomic_t files ;
2038   atomic_t sigpending ;
2039   atomic_t inotify_watches ;
2040   atomic_t inotify_devs ;
2041   atomic_t fanotify_listeners ;
2042   atomic_long_t epoll_watches ;
2043   unsigned long mq_bytes ;
2044   unsigned long locked_shm ;
2045   struct key *uid_keyring ;
2046   struct key *session_keyring ;
2047   struct hlist_node uidhash_node ;
2048   uid_t uid ;
2049   struct user_namespace *user_ns ;
2050   atomic_long_t locked_vm ;
2051};
2052#line 744
2053struct backing_dev_info;
2054#line 744
2055struct backing_dev_info;
2056#line 745
2057struct reclaim_state;
2058#line 745
2059struct reclaim_state;
2060#line 746 "include/linux/sched.h"
2061struct sched_info {
2062   unsigned long pcount ;
2063   unsigned long long run_delay ;
2064   unsigned long long last_arrival ;
2065   unsigned long long last_queued ;
2066};
2067#line 760 "include/linux/sched.h"
2068struct task_delay_info {
2069   spinlock_t lock ;
2070   unsigned int flags ;
2071   struct timespec blkio_start ;
2072   struct timespec blkio_end ;
2073   u64 blkio_delay ;
2074   u64 swapin_delay ;
2075   u32 blkio_count ;
2076   u32 swapin_count ;
2077   struct timespec freepages_start ;
2078   struct timespec freepages_end ;
2079   u64 freepages_delay ;
2080   u32 freepages_count ;
2081};
2082#line 1069
2083struct io_context;
2084#line 1069
2085struct io_context;
2086#line 1097
2087struct pipe_inode_info;
2088#line 1097
2089struct pipe_inode_info;
2090#line 1099
2091struct rq;
2092#line 1099
2093struct rq;
2094#line 1100 "include/linux/sched.h"
2095struct sched_class {
2096   struct sched_class  const  *next ;
2097   void (*enqueue_task)(struct rq * , struct task_struct * , int  ) ;
2098   void (*dequeue_task)(struct rq * , struct task_struct * , int  ) ;
2099   void (*yield_task)(struct rq * ) ;
2100   bool (*yield_to_task)(struct rq * , struct task_struct * , bool  ) ;
2101   void (*check_preempt_curr)(struct rq * , struct task_struct * , int  ) ;
2102   struct task_struct *(*pick_next_task)(struct rq * ) ;
2103   void (*put_prev_task)(struct rq * , struct task_struct * ) ;
2104   int (*select_task_rq)(struct task_struct * , int  , int  ) ;
2105   void (*pre_schedule)(struct rq * , struct task_struct * ) ;
2106   void (*post_schedule)(struct rq * ) ;
2107   void (*task_waking)(struct task_struct * ) ;
2108   void (*task_woken)(struct rq * , struct task_struct * ) ;
2109   void (*set_cpus_allowed)(struct task_struct * , struct cpumask  const  * ) ;
2110   void (*rq_online)(struct rq * ) ;
2111   void (*rq_offline)(struct rq * ) ;
2112   void (*set_curr_task)(struct rq * ) ;
2113   void (*task_tick)(struct rq * , struct task_struct * , int  ) ;
2114   void (*task_fork)(struct task_struct * ) ;
2115   void (*switched_from)(struct rq * , struct task_struct * ) ;
2116   void (*switched_to)(struct rq * , struct task_struct * ) ;
2117   void (*prio_changed)(struct rq * , struct task_struct * , int  ) ;
2118   unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
2119   void (*task_move_group)(struct task_struct * , int  ) ;
2120};
2121#line 1165 "include/linux/sched.h"
2122struct load_weight {
2123   unsigned long weight ;
2124   unsigned long inv_weight ;
2125};
2126#line 1170 "include/linux/sched.h"
2127struct sched_statistics {
2128   u64 wait_start ;
2129   u64 wait_max ;
2130   u64 wait_count ;
2131   u64 wait_sum ;
2132   u64 iowait_count ;
2133   u64 iowait_sum ;
2134   u64 sleep_start ;
2135   u64 sleep_max ;
2136   s64 sum_sleep_runtime ;
2137   u64 block_start ;
2138   u64 block_max ;
2139   u64 exec_max ;
2140   u64 slice_max ;
2141   u64 nr_migrations_cold ;
2142   u64 nr_failed_migrations_affine ;
2143   u64 nr_failed_migrations_running ;
2144   u64 nr_failed_migrations_hot ;
2145   u64 nr_forced_migrations ;
2146   u64 nr_wakeups ;
2147   u64 nr_wakeups_sync ;
2148   u64 nr_wakeups_migrate ;
2149   u64 nr_wakeups_local ;
2150   u64 nr_wakeups_remote ;
2151   u64 nr_wakeups_affine ;
2152   u64 nr_wakeups_affine_attempts ;
2153   u64 nr_wakeups_passive ;
2154   u64 nr_wakeups_idle ;
2155};
2156#line 1205 "include/linux/sched.h"
2157struct sched_entity {
2158   struct load_weight load ;
2159   struct rb_node run_node ;
2160   struct list_head group_node ;
2161   unsigned int on_rq ;
2162   u64 exec_start ;
2163   u64 sum_exec_runtime ;
2164   u64 vruntime ;
2165   u64 prev_sum_exec_runtime ;
2166   u64 nr_migrations ;
2167   struct sched_statistics statistics ;
2168   struct sched_entity *parent ;
2169   struct cfs_rq *cfs_rq ;
2170   struct cfs_rq *my_q ;
2171};
2172#line 1231
2173struct rt_rq;
2174#line 1231 "include/linux/sched.h"
2175struct sched_rt_entity {
2176   struct list_head run_list ;
2177   unsigned long timeout ;
2178   unsigned int time_slice ;
2179   int nr_cpus_allowed ;
2180   struct sched_rt_entity *back ;
2181   struct sched_rt_entity *parent ;
2182   struct rt_rq *rt_rq ;
2183   struct rt_rq *my_q ;
2184};
2185#line 1255
2186struct mem_cgroup;
2187#line 1255 "include/linux/sched.h"
2188struct memcg_batch_info {
2189   int do_batch ;
2190   struct mem_cgroup *memcg ;
2191   unsigned long nr_pages ;
2192   unsigned long memsw_nr_pages ;
2193};
2194#line 1616
2195struct files_struct;
2196#line 1616
2197struct css_set;
2198#line 1616
2199struct compat_robust_list_head;
2200#line 1616 "include/linux/sched.h"
2201struct task_struct {
2202   long volatile   state ;
2203   void *stack ;
2204   atomic_t usage ;
2205   unsigned int flags ;
2206   unsigned int ptrace ;
2207   struct llist_node wake_entry ;
2208   int on_cpu ;
2209   int on_rq ;
2210   int prio ;
2211   int static_prio ;
2212   int normal_prio ;
2213   unsigned int rt_priority ;
2214   struct sched_class  const  *sched_class ;
2215   struct sched_entity se ;
2216   struct sched_rt_entity rt ;
2217   struct hlist_head preempt_notifiers ;
2218   unsigned char fpu_counter ;
2219   unsigned int policy ;
2220   cpumask_t cpus_allowed ;
2221   struct sched_info sched_info ;
2222   struct list_head tasks ;
2223   struct plist_node pushable_tasks ;
2224   struct mm_struct *mm ;
2225   struct mm_struct *active_mm ;
2226   unsigned char brk_randomized : 1 ;
2227   int exit_state ;
2228   int exit_code ;
2229   int exit_signal ;
2230   int pdeath_signal ;
2231   unsigned int jobctl ;
2232   unsigned int personality ;
2233   unsigned char did_exec : 1 ;
2234   unsigned char in_execve : 1 ;
2235   unsigned char in_iowait : 1 ;
2236   unsigned char sched_reset_on_fork : 1 ;
2237   unsigned char sched_contributes_to_load : 1 ;
2238   unsigned char irq_thread : 1 ;
2239   pid_t pid ;
2240   pid_t tgid ;
2241   unsigned long stack_canary ;
2242   struct task_struct *real_parent ;
2243   struct task_struct *parent ;
2244   struct list_head children ;
2245   struct list_head sibling ;
2246   struct task_struct *group_leader ;
2247   struct list_head ptraced ;
2248   struct list_head ptrace_entry ;
2249   struct pid_link pids[3U] ;
2250   struct list_head thread_group ;
2251   struct completion *vfork_done ;
2252   int *set_child_tid ;
2253   int *clear_child_tid ;
2254   cputime_t utime ;
2255   cputime_t stime ;
2256   cputime_t utimescaled ;
2257   cputime_t stimescaled ;
2258   cputime_t gtime ;
2259   cputime_t prev_utime ;
2260   cputime_t prev_stime ;
2261   unsigned long nvcsw ;
2262   unsigned long nivcsw ;
2263   struct timespec start_time ;
2264   struct timespec real_start_time ;
2265   unsigned long min_flt ;
2266   unsigned long maj_flt ;
2267   struct task_cputime cputime_expires ;
2268   struct list_head cpu_timers[3U] ;
2269   struct cred  const  *real_cred ;
2270   struct cred  const  *cred ;
2271   struct cred *replacement_session_keyring ;
2272   char comm[16U] ;
2273   int link_count ;
2274   int total_link_count ;
2275   struct sysv_sem sysvsem ;
2276   unsigned long last_switch_count ;
2277   struct thread_struct thread ;
2278   struct fs_struct *fs ;
2279   struct files_struct *files ;
2280   struct nsproxy *nsproxy ;
2281   struct signal_struct *signal ;
2282   struct sighand_struct *sighand ;
2283   sigset_t blocked ;
2284   sigset_t real_blocked ;
2285   sigset_t saved_sigmask ;
2286   struct sigpending pending ;
2287   unsigned long sas_ss_sp ;
2288   size_t sas_ss_size ;
2289   int (*notifier)(void * ) ;
2290   void *notifier_data ;
2291   sigset_t *notifier_mask ;
2292   struct audit_context *audit_context ;
2293   uid_t loginuid ;
2294   unsigned int sessionid ;
2295   seccomp_t seccomp ;
2296   u32 parent_exec_id ;
2297   u32 self_exec_id ;
2298   spinlock_t alloc_lock ;
2299   raw_spinlock_t pi_lock ;
2300   struct plist_head pi_waiters ;
2301   struct rt_mutex_waiter *pi_blocked_on ;
2302   struct mutex_waiter *blocked_on ;
2303   unsigned int irq_events ;
2304   unsigned long hardirq_enable_ip ;
2305   unsigned long hardirq_disable_ip ;
2306   unsigned int hardirq_enable_event ;
2307   unsigned int hardirq_disable_event ;
2308   int hardirqs_enabled ;
2309   int hardirq_context ;
2310   unsigned long softirq_disable_ip ;
2311   unsigned long softirq_enable_ip ;
2312   unsigned int softirq_disable_event ;
2313   unsigned int softirq_enable_event ;
2314   int softirqs_enabled ;
2315   int softirq_context ;
2316   u64 curr_chain_key ;
2317   int lockdep_depth ;
2318   unsigned int lockdep_recursion ;
2319   struct held_lock held_locks[48U] ;
2320   gfp_t lockdep_reclaim_gfp ;
2321   void *journal_info ;
2322   struct bio_list *bio_list ;
2323   struct blk_plug *plug ;
2324   struct reclaim_state *reclaim_state ;
2325   struct backing_dev_info *backing_dev_info ;
2326   struct io_context *io_context ;
2327   unsigned long ptrace_message ;
2328   siginfo_t *last_siginfo ;
2329   struct task_io_accounting ioac ;
2330   u64 acct_rss_mem1 ;
2331   u64 acct_vm_mem1 ;
2332   cputime_t acct_timexpd ;
2333   nodemask_t mems_allowed ;
2334   seqcount_t mems_allowed_seq ;
2335   int cpuset_mem_spread_rotor ;
2336   int cpuset_slab_spread_rotor ;
2337   struct css_set *cgroups ;
2338   struct list_head cg_list ;
2339   struct robust_list_head *robust_list ;
2340   struct compat_robust_list_head *compat_robust_list ;
2341   struct list_head pi_state_list ;
2342   struct futex_pi_state *pi_state_cache ;
2343   struct perf_event_context *perf_event_ctxp[2U] ;
2344   struct mutex perf_event_mutex ;
2345   struct list_head perf_event_list ;
2346   struct mempolicy *mempolicy ;
2347   short il_next ;
2348   short pref_node_fork ;
2349   struct rcu_head rcu ;
2350   struct pipe_inode_info *splice_pipe ;
2351   struct task_delay_info *delays ;
2352   int make_it_fail ;
2353   int nr_dirtied ;
2354   int nr_dirtied_pause ;
2355   unsigned long dirty_paused_when ;
2356   int latency_record_count ;
2357   struct latency_record latency_record[32U] ;
2358   unsigned long timer_slack_ns ;
2359   unsigned long default_timer_slack_ns ;
2360   struct list_head *scm_work_list ;
2361   unsigned long trace ;
2362   unsigned long trace_recursion ;
2363   struct memcg_batch_info memcg_batch ;
2364   atomic_t ptrace_bp_refcnt ;
2365};
2366#line 28 "include/linux/of.h"
2367typedef u32 phandle;
2368#line 30 "include/linux/of.h"
2369struct property {
2370   char *name ;
2371   int length ;
2372   void *value ;
2373   struct property *next ;
2374   unsigned long _flags ;
2375   unsigned int unique_id ;
2376};
2377#line 39
2378struct proc_dir_entry;
2379#line 39 "include/linux/of.h"
2380struct device_node {
2381   char const   *name ;
2382   char const   *type ;
2383   phandle phandle ;
2384   char *full_name ;
2385   struct property *properties ;
2386   struct property *deadprops ;
2387   struct device_node *parent ;
2388   struct device_node *child ;
2389   struct device_node *sibling ;
2390   struct device_node *next ;
2391   struct device_node *allnext ;
2392   struct proc_dir_entry *pde ;
2393   struct kref kref ;
2394   unsigned long _flags ;
2395   void *data ;
2396};
2397#line 41 "include/linux/i2c.h"
2398struct i2c_msg;
2399#line 41
2400struct i2c_msg;
2401#line 42
2402struct i2c_algorithm;
2403#line 42
2404struct i2c_algorithm;
2405#line 43
2406struct i2c_adapter;
2407#line 43
2408struct i2c_adapter;
2409#line 44
2410struct i2c_client;
2411#line 44
2412struct i2c_client;
2413#line 45
2414struct i2c_driver;
2415#line 45
2416struct i2c_driver;
2417#line 46
2418union i2c_smbus_data;
2419#line 46
2420union i2c_smbus_data;
2421#line 47
2422struct i2c_board_info;
2423#line 47
2424struct i2c_board_info;
2425#line 119 "include/linux/i2c.h"
2426struct i2c_driver {
2427   unsigned int class ;
2428   int (*attach_adapter)(struct i2c_adapter * ) ;
2429   int (*detach_adapter)(struct i2c_adapter * ) ;
2430   int (*probe)(struct i2c_client * , struct i2c_device_id  const  * ) ;
2431   int (*remove)(struct i2c_client * ) ;
2432   void (*shutdown)(struct i2c_client * ) ;
2433   int (*suspend)(struct i2c_client * , pm_message_t  ) ;
2434   int (*resume)(struct i2c_client * ) ;
2435   void (*alert)(struct i2c_client * , unsigned int  ) ;
2436   int (*command)(struct i2c_client * , unsigned int  , void * ) ;
2437   struct device_driver driver ;
2438   struct i2c_device_id  const  *id_table ;
2439   int (*detect)(struct i2c_client * , struct i2c_board_info * ) ;
2440   unsigned short const   *address_list ;
2441   struct list_head clients ;
2442};
2443#line 200 "include/linux/i2c.h"
2444struct i2c_client {
2445   unsigned short flags ;
2446   unsigned short addr ;
2447   char name[20U] ;
2448   struct i2c_adapter *adapter ;
2449   struct i2c_driver *driver ;
2450   struct device dev ;
2451   int irq ;
2452   struct list_head detected ;
2453};
2454#line 251 "include/linux/i2c.h"
2455struct i2c_board_info {
2456   char type[20U] ;
2457   unsigned short flags ;
2458   unsigned short addr ;
2459   void *platform_data ;
2460   struct dev_archdata *archdata ;
2461   struct device_node *of_node ;
2462   int irq ;
2463};
2464#line 336 "include/linux/i2c.h"
2465struct i2c_algorithm {
2466   int (*master_xfer)(struct i2c_adapter * , struct i2c_msg * , int  ) ;
2467   int (*smbus_xfer)(struct i2c_adapter * , u16  , unsigned short  , char  , u8  ,
2468                     int  , union i2c_smbus_data * ) ;
2469   u32 (*functionality)(struct i2c_adapter * ) ;
2470};
2471#line 368 "include/linux/i2c.h"
2472struct i2c_adapter {
2473   struct module *owner ;
2474   unsigned int class ;
2475   struct i2c_algorithm  const  *algo ;
2476   void *algo_data ;
2477   struct rt_mutex bus_lock ;
2478   int timeout ;
2479   int retries ;
2480   struct device dev ;
2481   int nr ;
2482   char name[48U] ;
2483   struct completion dev_released ;
2484   struct mutex userspace_clients_lock ;
2485   struct list_head userspace_clients ;
2486};
2487#line 486 "include/linux/i2c.h"
2488struct i2c_msg {
2489   __u16 addr ;
2490   __u16 flags ;
2491   __u16 len ;
2492   __u8 *buf ;
2493};
2494#line 551 "include/linux/i2c.h"
2495union i2c_smbus_data {
2496   __u8 byte ;
2497   __u16 word ;
2498   __u8 block[34U] ;
2499};
2500#line 54 "include/linux/delay.h"
2501enum led_brightness {
2502    LED_OFF = 0,
2503    LED_HALF = 127,
2504    LED_FULL = 255
2505} ;
2506#line 60
2507struct led_trigger;
2508#line 60 "include/linux/delay.h"
2509struct led_classdev {
2510   char const   *name ;
2511   int brightness ;
2512   int max_brightness ;
2513   int flags ;
2514   void (*brightness_set)(struct led_classdev * , enum led_brightness  ) ;
2515   enum led_brightness (*brightness_get)(struct led_classdev * ) ;
2516   int (*blink_set)(struct led_classdev * , unsigned long * , unsigned long * ) ;
2517   struct device *dev ;
2518   struct list_head node ;
2519   char const   *default_trigger ;
2520   unsigned long blink_delay_on ;
2521   unsigned long blink_delay_off ;
2522   struct timer_list blink_timer ;
2523   int blink_brightness ;
2524   struct rw_semaphore trigger_lock ;
2525   struct led_trigger *trigger ;
2526   struct list_head trig_list ;
2527   void *trigger_data ;
2528};
2529#line 113 "include/linux/leds.h"
2530struct led_trigger {
2531   char const   *name ;
2532   void (*activate)(struct led_classdev * ) ;
2533   void (*deactivate)(struct led_classdev * ) ;
2534   rwlock_t leddev_list_lock ;
2535   struct list_head led_cdevs ;
2536   struct list_head next_trig ;
2537};
2538#line 211 "include/linux/leds.h"
2539struct bd2802_led_platform_data {
2540   int reset_gpio ;
2541   u8 rgb_time ;
2542};
2543#line 21 "include/linux/leds-bd2802.h"
2544enum led_ids {
2545    LED1 = 0,
2546    LED2 = 1,
2547    LED_NUM = 2
2548} ;
2549#line 27
2550enum led_colors {
2551    RED = 0,
2552    GREEN = 1,
2553    BLUE = 2
2554} ;
2555#line 33
2556enum led_bits {
2557    BD2802_OFF = 0,
2558    BD2802_BLINK = 1,
2559    BD2802_ON = 2
2560} ;
2561#line 39 "include/linux/leds-bd2802.h"
2562struct led_state {
2563   unsigned char r : 2 ;
2564   unsigned char g : 2 ;
2565   unsigned char b : 2 ;
2566};
2567#line 85 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
2568struct bd2802_led {
2569   struct bd2802_led_platform_data *pdata ;
2570   struct i2c_client *client ;
2571   struct rw_semaphore rwsem ;
2572   struct work_struct work ;
2573   struct led_state led[2U] ;
2574   struct led_classdev cdev_led1r ;
2575   struct led_classdev cdev_led1g ;
2576   struct led_classdev cdev_led1b ;
2577   struct led_classdev cdev_led2r ;
2578   struct led_classdev cdev_led2g ;
2579   struct led_classdev cdev_led2b ;
2580   int adf_on ;
2581   enum led_ids led_id ;
2582   enum led_colors color ;
2583   enum led_bits state ;
2584   int wave_pattern ;
2585   int rgb_current ;
2586};
2587#line 2
2588void ldv_spin_lock(void) ;
2589#line 3
2590void ldv_spin_unlock(void) ;
2591#line 4
2592int ldv_spin_trylock(void) ;
2593#line 218 "include/linux/kernel.h"
2594extern int kstrtoull(char const   * , unsigned int  , unsigned long long * ) ;
2595#line 220 "include/linux/kernel.h"
2596__inline static int kstrtoul(char const   *s , unsigned int base , unsigned long *res ) 
2597{ int tmp ;
2598  unsigned long long *__cil_tmp6 ;
2599
2600  {
2601  {
2602#line 228
2603  __cil_tmp6 = (unsigned long long *)res;
2604#line 228
2605  tmp = kstrtoull(s, base, __cil_tmp6);
2606  }
2607#line 228
2608  return (tmp);
2609}
2610}
2611#line 320
2612extern int sprintf(char * , char const   *  , ...) ;
2613#line 24 "include/linux/list.h"
2614__inline static void INIT_LIST_HEAD(struct list_head *list ) 
2615{ unsigned long __cil_tmp2 ;
2616  unsigned long __cil_tmp3 ;
2617
2618  {
2619#line 26
2620  *((struct list_head **)list) = list;
2621#line 27
2622  __cil_tmp2 = (unsigned long )list;
2623#line 27
2624  __cil_tmp3 = __cil_tmp2 + 8;
2625#line 27
2626  *((struct list_head **)__cil_tmp3) = list;
2627#line 28
2628  return;
2629}
2630}
2631#line 45 "include/linux/string.h"
2632extern int strncmp(char const   * , char const   * , __kernel_size_t  ) ;
2633#line 261 "include/linux/lockdep.h"
2634extern void lockdep_init_map(struct lockdep_map * , char const   * , struct lock_class_key * ,
2635                             int  ) ;
2636#line 67 "include/linux/rwsem.h"
2637extern void __init_rwsem(struct rw_semaphore * , char const   * , struct lock_class_key * ) ;
2638#line 80
2639extern void down_read(struct rw_semaphore * ) ;
2640#line 90
2641extern void down_write(struct rw_semaphore * ) ;
2642#line 100
2643extern void up_read(struct rw_semaphore * ) ;
2644#line 105
2645extern void up_write(struct rw_semaphore * ) ;
2646#line 156 "include/linux/workqueue.h"
2647extern void __init_work(struct work_struct * , int  ) ;
2648#line 380
2649extern int schedule_work(struct work_struct * ) ;
2650#line 161 "include/linux/slab.h"
2651extern void kfree(void const   * ) ;
2652#line 220 "include/linux/slub_def.h"
2653extern void *kmem_cache_alloc(struct kmem_cache * , gfp_t  ) ;
2654#line 223
2655void *ldv_kmem_cache_alloc_16(struct kmem_cache *ldv_func_arg1 , gfp_t ldv_func_arg2 ) ;
2656#line 353 "include/linux/slab.h"
2657__inline static void *kzalloc(size_t size , gfp_t flags ) ;
2658#line 10 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
2659extern void *__VERIFIER_nondet_pointer(void) ;
2660#line 11
2661void ldv_check_alloc_flags(gfp_t flags ) ;
2662#line 12
2663void ldv_check_alloc_nonatomic(void) ;
2664#line 14
2665struct page *ldv_check_alloc_flags_and_return_some_page(gfp_t flags ) ;
2666#line 507 "include/linux/device.h"
2667extern int device_create_file(struct device * , struct device_attribute  const  * ) ;
2668#line 509
2669extern void device_remove_file(struct device * , struct device_attribute  const  * ) ;
2670#line 792
2671extern void *dev_get_drvdata(struct device  const  * ) ;
2672#line 793
2673extern int dev_set_drvdata(struct device * , void * ) ;
2674#line 892
2675extern int dev_err(struct device  const  * , char const   *  , ...) ;
2676#line 898
2677extern int _dev_info(struct device  const  * , char const   *  , ...) ;
2678#line 88 "include/linux/i2c.h"
2679extern s32 i2c_smbus_write_byte_data(struct i2c_client  const  * , u8  , u8  ) ;
2680#line 242 "include/linux/i2c.h"
2681__inline static void *i2c_get_clientdata(struct i2c_client  const  *dev ) 
2682{ void *tmp ;
2683  unsigned long __cil_tmp3 ;
2684  unsigned long __cil_tmp4 ;
2685  struct device  const  *__cil_tmp5 ;
2686
2687  {
2688  {
2689#line 244
2690  __cil_tmp3 = (unsigned long )dev;
2691#line 244
2692  __cil_tmp4 = __cil_tmp3 + 40;
2693#line 244
2694  __cil_tmp5 = (struct device  const  *)__cil_tmp4;
2695#line 244
2696  tmp = dev_get_drvdata(__cil_tmp5);
2697  }
2698#line 244
2699  return (tmp);
2700}
2701}
2702#line 247 "include/linux/i2c.h"
2703__inline static void i2c_set_clientdata(struct i2c_client *dev , void *data ) 
2704{ unsigned long __cil_tmp3 ;
2705  unsigned long __cil_tmp4 ;
2706  struct device *__cil_tmp5 ;
2707
2708  {
2709  {
2710#line 249
2711  __cil_tmp3 = (unsigned long )dev;
2712#line 249
2713  __cil_tmp4 = __cil_tmp3 + 40;
2714#line 249
2715  __cil_tmp5 = (struct device *)__cil_tmp4;
2716#line 249
2717  dev_set_drvdata(__cil_tmp5, data);
2718  }
2719#line 250
2720  return;
2721}
2722}
2723#line 170 "include/asm-generic/gpio.h"
2724extern void __gpio_set_value(unsigned int  , int  ) ;
2725#line 176
2726extern int gpio_request_one(unsigned int  , unsigned long  , char const   * ) ;
2727#line 31 "/home/zakharov/launch/inst/current/envs/linux-3.4/linux-3.4/arch/x86/include/asm/gpio.h"
2728__inline static void gpio_set_value(unsigned int gpio , int value ) 
2729{ 
2730
2731  {
2732  {
2733#line 33
2734  __gpio_set_value(gpio, value);
2735  }
2736#line 34
2737  return;
2738}
2739}
2740#line 10 "include/asm-generic/delay.h"
2741extern void __const_udelay(unsigned long  ) ;
2742#line 79 "include/linux/leds.h"
2743extern int led_classdev_register(struct device * , struct led_classdev * ) ;
2744#line 81
2745extern void led_classdev_unregister(struct led_classdev * ) ;
2746#line 127 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
2747__inline static int bd2802_is_rgb_off(struct bd2802_led *led , enum led_ids id , enum led_colors color ) 
2748{ unsigned int __cil_tmp4 ;
2749  unsigned int __cil_tmp5 ;
2750  unsigned long __cil_tmp6 ;
2751  unsigned long __cil_tmp7 ;
2752  unsigned long __cil_tmp8 ;
2753  unsigned long __cil_tmp9 ;
2754  unsigned char __cil_tmp10 ;
2755  unsigned int __cil_tmp11 ;
2756  unsigned int __cil_tmp12 ;
2757  unsigned long __cil_tmp13 ;
2758  unsigned long __cil_tmp14 ;
2759  unsigned long __cil_tmp15 ;
2760  unsigned long __cil_tmp16 ;
2761  unsigned char __cil_tmp17 ;
2762  unsigned int __cil_tmp18 ;
2763  unsigned int __cil_tmp19 ;
2764  unsigned long __cil_tmp20 ;
2765  unsigned long __cil_tmp21 ;
2766  unsigned long __cil_tmp22 ;
2767  unsigned long __cil_tmp23 ;
2768  unsigned char __cil_tmp24 ;
2769  unsigned int __cil_tmp25 ;
2770  unsigned long __cil_tmp26 ;
2771  unsigned long __cil_tmp27 ;
2772  struct i2c_client *__cil_tmp28 ;
2773  unsigned long __cil_tmp29 ;
2774  unsigned long __cil_tmp30 ;
2775  struct device *__cil_tmp31 ;
2776  struct device  const  *__cil_tmp32 ;
2777
2778  {
2779  {
2780#line 130
2781  __cil_tmp4 = (unsigned int )color;
2782#line 131
2783  if ((int )__cil_tmp4 == 0) {
2784#line 131
2785    goto case_0;
2786  } else
2787#line 133
2788  if ((int )__cil_tmp4 == 1) {
2789#line 133
2790    goto case_1;
2791  } else
2792#line 135
2793  if ((int )__cil_tmp4 == 2) {
2794#line 135
2795    goto case_2;
2796  } else {
2797    {
2798#line 137
2799    goto switch_default;
2800#line 130
2801    if (0) {
2802      case_0: /* CIL Label */ ;
2803      {
2804#line 132
2805      __cil_tmp5 = (unsigned int )id;
2806#line 132
2807      __cil_tmp6 = __cil_tmp5 * 1UL;
2808#line 132
2809      __cil_tmp7 = 240 + __cil_tmp6;
2810#line 132
2811      __cil_tmp8 = (unsigned long )led;
2812#line 132
2813      __cil_tmp9 = __cil_tmp8 + __cil_tmp7;
2814#line 132
2815      __cil_tmp10 = *((unsigned char *)__cil_tmp9);
2816#line 132
2817      __cil_tmp11 = (unsigned int )__cil_tmp10;
2818#line 132
2819      return (__cil_tmp11 == 0U);
2820      }
2821      case_1: /* CIL Label */ ;
2822      {
2823#line 134
2824      __cil_tmp12 = (unsigned int )id;
2825#line 134
2826      __cil_tmp13 = __cil_tmp12 * 1UL;
2827#line 134
2828      __cil_tmp14 = 240 + __cil_tmp13;
2829#line 134
2830      __cil_tmp15 = (unsigned long )led;
2831#line 134
2832      __cil_tmp16 = __cil_tmp15 + __cil_tmp14;
2833#line 134
2834      __cil_tmp17 = ((struct led_state *)__cil_tmp16)->g;
2835#line 134
2836      __cil_tmp18 = (unsigned int )__cil_tmp17;
2837#line 134
2838      return (__cil_tmp18 == 0U);
2839      }
2840      case_2: /* CIL Label */ ;
2841      {
2842#line 136
2843      __cil_tmp19 = (unsigned int )id;
2844#line 136
2845      __cil_tmp20 = __cil_tmp19 * 1UL;
2846#line 136
2847      __cil_tmp21 = 240 + __cil_tmp20;
2848#line 136
2849      __cil_tmp22 = (unsigned long )led;
2850#line 136
2851      __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
2852#line 136
2853      __cil_tmp24 = ((struct led_state *)__cil_tmp23)->b;
2854#line 136
2855      __cil_tmp25 = (unsigned int )__cil_tmp24;
2856#line 136
2857      return (__cil_tmp25 == 0U);
2858      }
2859      switch_default: /* CIL Label */ 
2860      {
2861#line 138
2862      __cil_tmp26 = (unsigned long )led;
2863#line 138
2864      __cil_tmp27 = __cil_tmp26 + 8;
2865#line 138
2866      __cil_tmp28 = *((struct i2c_client **)__cil_tmp27);
2867#line 138
2868      __cil_tmp29 = (unsigned long )__cil_tmp28;
2869#line 138
2870      __cil_tmp30 = __cil_tmp29 + 40;
2871#line 138
2872      __cil_tmp31 = (struct device *)__cil_tmp30;
2873#line 138
2874      __cil_tmp32 = (struct device  const  *)__cil_tmp31;
2875#line 138
2876      dev_err(__cil_tmp32, "%s: Invalid color\n", "bd2802_is_rgb_off");
2877      }
2878#line 139
2879      return (-22);
2880    } else {
2881      switch_break: /* CIL Label */ ;
2882    }
2883    }
2884  }
2885  }
2886}
2887}
2888#line 143 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
2889__inline static int bd2802_is_led_off(struct bd2802_led *led , enum led_ids id ) 
2890{ unsigned int __cil_tmp3 ;
2891  unsigned long __cil_tmp4 ;
2892  unsigned long __cil_tmp5 ;
2893  unsigned long __cil_tmp6 ;
2894  unsigned long __cil_tmp7 ;
2895  unsigned char __cil_tmp8 ;
2896  unsigned int __cil_tmp9 ;
2897  unsigned int __cil_tmp10 ;
2898  unsigned long __cil_tmp11 ;
2899  unsigned long __cil_tmp12 ;
2900  unsigned long __cil_tmp13 ;
2901  unsigned long __cil_tmp14 ;
2902  unsigned char __cil_tmp15 ;
2903  unsigned int __cil_tmp16 ;
2904  unsigned int __cil_tmp17 ;
2905  unsigned long __cil_tmp18 ;
2906  unsigned long __cil_tmp19 ;
2907  unsigned long __cil_tmp20 ;
2908  unsigned long __cil_tmp21 ;
2909  unsigned char __cil_tmp22 ;
2910  unsigned int __cil_tmp23 ;
2911
2912  {
2913  {
2914#line 145
2915  __cil_tmp3 = (unsigned int )id;
2916#line 145
2917  __cil_tmp4 = __cil_tmp3 * 1UL;
2918#line 145
2919  __cil_tmp5 = 240 + __cil_tmp4;
2920#line 145
2921  __cil_tmp6 = (unsigned long )led;
2922#line 145
2923  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
2924#line 145
2925  __cil_tmp8 = *((unsigned char *)__cil_tmp7);
2926#line 145
2927  __cil_tmp9 = (unsigned int )__cil_tmp8;
2928#line 145
2929  if (__cil_tmp9 != 0U) {
2930#line 146
2931    return (0);
2932  } else {
2933    {
2934#line 145
2935    __cil_tmp10 = (unsigned int )id;
2936#line 145
2937    __cil_tmp11 = __cil_tmp10 * 1UL;
2938#line 145
2939    __cil_tmp12 = 240 + __cil_tmp11;
2940#line 145
2941    __cil_tmp13 = (unsigned long )led;
2942#line 145
2943    __cil_tmp14 = __cil_tmp13 + __cil_tmp12;
2944#line 145
2945    __cil_tmp15 = ((struct led_state *)__cil_tmp14)->g;
2946#line 145
2947    __cil_tmp16 = (unsigned int )__cil_tmp15;
2948#line 145
2949    if (__cil_tmp16 != 0U) {
2950#line 146
2951      return (0);
2952    } else {
2953      {
2954#line 145
2955      __cil_tmp17 = (unsigned int )id;
2956#line 145
2957      __cil_tmp18 = __cil_tmp17 * 1UL;
2958#line 145
2959      __cil_tmp19 = 240 + __cil_tmp18;
2960#line 145
2961      __cil_tmp20 = (unsigned long )led;
2962#line 145
2963      __cil_tmp21 = __cil_tmp20 + __cil_tmp19;
2964#line 145
2965      __cil_tmp22 = ((struct led_state *)__cil_tmp21)->b;
2966#line 145
2967      __cil_tmp23 = (unsigned int )__cil_tmp22;
2968#line 145
2969      if (__cil_tmp23 != 0U) {
2970#line 146
2971        return (0);
2972      } else {
2973
2974      }
2975      }
2976    }
2977    }
2978  }
2979  }
2980#line 148
2981  return (1);
2982}
2983}
2984#line 151 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
2985__inline static int bd2802_is_all_off(struct bd2802_led *led ) 
2986{ int i ;
2987  int tmp ;
2988  enum led_ids __cil_tmp4 ;
2989
2990  {
2991#line 155
2992  i = 0;
2993#line 155
2994  goto ldv_19076;
2995  ldv_19075: 
2996  {
2997#line 156
2998  __cil_tmp4 = (enum led_ids )i;
2999#line 156
3000  tmp = bd2802_is_led_off(led, __cil_tmp4);
3001  }
3002#line 156
3003  if (tmp == 0) {
3004#line 157
3005    return (0);
3006  } else {
3007
3008  }
3009#line 155
3010  i = i + 1;
3011  ldv_19076: ;
3012#line 155
3013  if (i <= 1) {
3014#line 156
3015    goto ldv_19075;
3016  } else {
3017#line 158
3018    goto ldv_19077;
3019  }
3020  ldv_19077: ;
3021#line 159
3022  return (1);
3023}
3024}
3025#line 162 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3026__inline static u8 bd2802_get_base_offset(enum led_ids id , enum led_colors color ) 
3027{ u8 __cil_tmp3 ;
3028  unsigned int __cil_tmp4 ;
3029  unsigned int __cil_tmp5 ;
3030  u8 __cil_tmp6 ;
3031  unsigned int __cil_tmp7 ;
3032  unsigned int __cil_tmp8 ;
3033  unsigned int __cil_tmp9 ;
3034
3035  {
3036  {
3037#line 164
3038  __cil_tmp3 = (u8 )color;
3039#line 164
3040  __cil_tmp4 = (unsigned int )__cil_tmp3;
3041#line 164
3042  __cil_tmp5 = __cil_tmp4 * 3U;
3043#line 164
3044  __cil_tmp6 = (u8 )id;
3045#line 164
3046  __cil_tmp7 = (unsigned int )__cil_tmp6;
3047#line 164
3048  __cil_tmp8 = __cil_tmp7 * 10U;
3049#line 164
3050  __cil_tmp9 = __cil_tmp8 + __cil_tmp5;
3051#line 164
3052  return ((u8 )__cil_tmp9);
3053  }
3054}
3055}
3056#line 167 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3057__inline static u8 bd2802_get_reg_addr(enum led_ids id , enum led_colors color , u8 reg_offset ) 
3058{ u8 tmp ;
3059  int __cil_tmp5 ;
3060  int __cil_tmp6 ;
3061  int __cil_tmp7 ;
3062
3063  {
3064  {
3065#line 170
3066  tmp = bd2802_get_base_offset(id, color);
3067  }
3068  {
3069#line 170
3070  __cil_tmp5 = (int )reg_offset;
3071#line 170
3072  __cil_tmp6 = (int )tmp;
3073#line 170
3074  __cil_tmp7 = __cil_tmp6 + __cil_tmp5;
3075#line 170
3076  return ((u8 )__cil_tmp7);
3077  }
3078}
3079}
3080#line 178 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3081static int bd2802_write_byte(struct i2c_client *client , u8 reg , u8 val ) 
3082{ int ret ;
3083  s32 tmp ;
3084  struct i2c_client  const  *__cil_tmp6 ;
3085  int __cil_tmp7 ;
3086  u8 __cil_tmp8 ;
3087  int __cil_tmp9 ;
3088  u8 __cil_tmp10 ;
3089  unsigned long __cil_tmp11 ;
3090  unsigned long __cil_tmp12 ;
3091  struct device *__cil_tmp13 ;
3092  struct device  const  *__cil_tmp14 ;
3093  int __cil_tmp15 ;
3094  int __cil_tmp16 ;
3095
3096  {
3097  {
3098#line 180
3099  __cil_tmp6 = (struct i2c_client  const  *)client;
3100#line 180
3101  __cil_tmp7 = (int )reg;
3102#line 180
3103  __cil_tmp8 = (u8 )__cil_tmp7;
3104#line 180
3105  __cil_tmp9 = (int )val;
3106#line 180
3107  __cil_tmp10 = (u8 )__cil_tmp9;
3108#line 180
3109  tmp = i2c_smbus_write_byte_data(__cil_tmp6, __cil_tmp8, __cil_tmp10);
3110#line 180
3111  ret = tmp;
3112  }
3113#line 181
3114  if (ret >= 0) {
3115#line 182
3116    return (0);
3117  } else {
3118
3119  }
3120  {
3121#line 184
3122  __cil_tmp11 = (unsigned long )client;
3123#line 184
3124  __cil_tmp12 = __cil_tmp11 + 40;
3125#line 184
3126  __cil_tmp13 = (struct device *)__cil_tmp12;
3127#line 184
3128  __cil_tmp14 = (struct device  const  *)__cil_tmp13;
3129#line 184
3130  __cil_tmp15 = (int )reg;
3131#line 184
3132  __cil_tmp16 = (int )val;
3133#line 184
3134  dev_err(__cil_tmp14, "%s: reg 0x%x, val 0x%x, err %d\n", "bd2802_write_byte", __cil_tmp15,
3135          __cil_tmp16, ret);
3136  }
3137#line 187
3138  return (ret);
3139}
3140}
3141#line 190 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3142static void bd2802_update_state(struct bd2802_led *led , enum led_ids id , enum led_colors color ,
3143                                enum led_bits led_bit ) 
3144{ int i ;
3145  u8 value ;
3146  int tmp ;
3147  int tmp___0 ;
3148  unsigned int __cil_tmp9 ;
3149  unsigned int __cil_tmp10 ;
3150  unsigned int __cil_tmp11 ;
3151  unsigned long __cil_tmp12 ;
3152  unsigned long __cil_tmp13 ;
3153  unsigned long __cil_tmp14 ;
3154  unsigned long __cil_tmp15 ;
3155  unsigned long __cil_tmp16 ;
3156  unsigned long __cil_tmp17 ;
3157  unsigned long __cil_tmp18 ;
3158  unsigned long __cil_tmp19 ;
3159  unsigned long __cil_tmp20 ;
3160  unsigned long __cil_tmp21 ;
3161  unsigned long __cil_tmp22 ;
3162  unsigned long __cil_tmp23 ;
3163  unsigned long __cil_tmp24 ;
3164  unsigned long __cil_tmp25 ;
3165  struct i2c_client *__cil_tmp26 ;
3166  unsigned long __cil_tmp27 ;
3167  unsigned long __cil_tmp28 ;
3168  struct device *__cil_tmp29 ;
3169  struct device  const  *__cil_tmp30 ;
3170  unsigned int __cil_tmp31 ;
3171  unsigned int __cil_tmp32 ;
3172  unsigned long __cil_tmp33 ;
3173  unsigned long __cil_tmp34 ;
3174  int __cil_tmp35 ;
3175  struct bd2802_led_platform_data *__cil_tmp36 ;
3176  int __cil_tmp37 ;
3177  unsigned int __cil_tmp38 ;
3178  unsigned int __cil_tmp39 ;
3179  unsigned long __cil_tmp40 ;
3180  unsigned long __cil_tmp41 ;
3181  struct i2c_client *__cil_tmp42 ;
3182  u8 __cil_tmp43 ;
3183  int __cil_tmp44 ;
3184  u8 __cil_tmp45 ;
3185
3186  {
3187#line 196
3188  i = 0;
3189#line 196
3190  goto ldv_19109;
3191  ldv_19108: ;
3192  {
3193#line 197
3194  __cil_tmp9 = (unsigned int )id;
3195#line 197
3196  __cil_tmp10 = (unsigned int )i;
3197#line 197
3198  if (__cil_tmp10 == __cil_tmp9) {
3199    {
3200#line 198
3201    __cil_tmp11 = (unsigned int )color;
3202#line 199
3203    if ((int )__cil_tmp11 == 0) {
3204#line 199
3205      goto case_0;
3206    } else
3207#line 202
3208    if ((int )__cil_tmp11 == 1) {
3209#line 202
3210      goto case_1;
3211    } else
3212#line 205
3213    if ((int )__cil_tmp11 == 2) {
3214#line 205
3215      goto case_2;
3216    } else {
3217      {
3218#line 208
3219      goto switch_default;
3220#line 198
3221      if (0) {
3222        case_0: /* CIL Label */ 
3223#line 200
3224        __cil_tmp12 = i * 1UL;
3225#line 200
3226        __cil_tmp13 = 240 + __cil_tmp12;
3227#line 200
3228        __cil_tmp14 = (unsigned long )led;
3229#line 200
3230        __cil_tmp15 = __cil_tmp14 + __cil_tmp13;
3231#line 200
3232        *((unsigned char *)__cil_tmp15) = (unsigned char )led_bit;
3233#line 201
3234        goto ldv_19103;
3235        case_1: /* CIL Label */ 
3236#line 203
3237        __cil_tmp16 = i * 1UL;
3238#line 203
3239        __cil_tmp17 = 240 + __cil_tmp16;
3240#line 203
3241        __cil_tmp18 = (unsigned long )led;
3242#line 203
3243        __cil_tmp19 = __cil_tmp18 + __cil_tmp17;
3244#line 203
3245        ((struct led_state *)__cil_tmp19)->g = (unsigned char )led_bit;
3246#line 204
3247        goto ldv_19103;
3248        case_2: /* CIL Label */ 
3249#line 206
3250        __cil_tmp20 = i * 1UL;
3251#line 206
3252        __cil_tmp21 = 240 + __cil_tmp20;
3253#line 206
3254        __cil_tmp22 = (unsigned long )led;
3255#line 206
3256        __cil_tmp23 = __cil_tmp22 + __cil_tmp21;
3257#line 206
3258        ((struct led_state *)__cil_tmp23)->b = (unsigned char )led_bit;
3259#line 207
3260        goto ldv_19103;
3261        switch_default: /* CIL Label */ 
3262        {
3263#line 209
3264        __cil_tmp24 = (unsigned long )led;
3265#line 209
3266        __cil_tmp25 = __cil_tmp24 + 8;
3267#line 209
3268        __cil_tmp26 = *((struct i2c_client **)__cil_tmp25);
3269#line 209
3270        __cil_tmp27 = (unsigned long )__cil_tmp26;
3271#line 209
3272        __cil_tmp28 = __cil_tmp27 + 40;
3273#line 209
3274        __cil_tmp29 = (struct device *)__cil_tmp28;
3275#line 209
3276        __cil_tmp30 = (struct device  const  *)__cil_tmp29;
3277#line 209
3278        dev_err(__cil_tmp30, "%s: Invalid color\n", "bd2802_update_state");
3279        }
3280#line 211
3281        return;
3282      } else {
3283        switch_break: /* CIL Label */ ;
3284      }
3285      }
3286    }
3287    }
3288    ldv_19103: ;
3289  } else {
3290
3291  }
3292  }
3293#line 196
3294  i = i + 1;
3295  ldv_19109: ;
3296#line 196
3297  if (i <= 1) {
3298#line 197
3299    goto ldv_19108;
3300  } else {
3301#line 199
3302    goto ldv_19110;
3303  }
3304  ldv_19110: ;
3305  {
3306#line 216
3307  __cil_tmp31 = (unsigned int )led_bit;
3308#line 216
3309  if (__cil_tmp31 == 1U) {
3310#line 217
3311    return;
3312  } else {
3313    {
3314#line 216
3315    __cil_tmp32 = (unsigned int )led_bit;
3316#line 216
3317    if (__cil_tmp32 == 2U) {
3318#line 217
3319      return;
3320    } else {
3321
3322    }
3323    }
3324  }
3325  }
3326  {
3327#line 219
3328  tmp = bd2802_is_led_off(led, id);
3329  }
3330#line 219
3331  if (tmp == 0) {
3332#line 220
3333    return;
3334  } else {
3335
3336  }
3337  {
3338#line 222
3339  tmp___0 = bd2802_is_all_off(led);
3340  }
3341#line 222
3342  if (tmp___0 != 0) {
3343    {
3344#line 222
3345    __cil_tmp33 = (unsigned long )led;
3346#line 222
3347    __cil_tmp34 = __cil_tmp33 + 2696;
3348#line 222
3349    __cil_tmp35 = *((int *)__cil_tmp34);
3350#line 222
3351    if (__cil_tmp35 == 0) {
3352      {
3353#line 223
3354      __cil_tmp36 = *((struct bd2802_led_platform_data **)led);
3355#line 223
3356      __cil_tmp37 = *((int *)__cil_tmp36);
3357#line 223
3358      __cil_tmp38 = (unsigned int )__cil_tmp37;
3359#line 223
3360      gpio_set_value(__cil_tmp38, 0);
3361      }
3362#line 224
3363      return;
3364    } else {
3365
3366    }
3367    }
3368  } else {
3369
3370  }
3371  {
3372#line 231
3373  __cil_tmp39 = (unsigned int )id;
3374#line 231
3375  if (__cil_tmp39 == 0U) {
3376#line 231
3377    value = (u8 )16U;
3378  } else {
3379#line 231
3380    value = (u8 )1U;
3381  }
3382  }
3383  {
3384#line 232
3385  __cil_tmp40 = (unsigned long )led;
3386#line 232
3387  __cil_tmp41 = __cil_tmp40 + 8;
3388#line 232
3389  __cil_tmp42 = *((struct i2c_client **)__cil_tmp41);
3390#line 232
3391  __cil_tmp43 = (u8 )1;
3392#line 232
3393  __cil_tmp44 = (int )value;
3394#line 232
3395  __cil_tmp45 = (u8 )__cil_tmp44;
3396#line 232
3397  bd2802_write_byte(__cil_tmp42, __cil_tmp43, __cil_tmp45);
3398  }
3399#line 233
3400  return;
3401}
3402}
3403#line 235 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3404static void bd2802_configure(struct bd2802_led *led ) 
3405{ struct bd2802_led_platform_data *pdata ;
3406  u8 reg ;
3407  enum led_ids __cil_tmp4 ;
3408  enum led_colors __cil_tmp5 ;
3409  u8 __cil_tmp6 ;
3410  unsigned long __cil_tmp7 ;
3411  unsigned long __cil_tmp8 ;
3412  struct i2c_client *__cil_tmp9 ;
3413  int __cil_tmp10 ;
3414  u8 __cil_tmp11 ;
3415  unsigned long __cil_tmp12 ;
3416  unsigned long __cil_tmp13 ;
3417  u8 __cil_tmp14 ;
3418  int __cil_tmp15 ;
3419  u8 __cil_tmp16 ;
3420  enum led_ids __cil_tmp17 ;
3421  enum led_colors __cil_tmp18 ;
3422  u8 __cil_tmp19 ;
3423  unsigned long __cil_tmp20 ;
3424  unsigned long __cil_tmp21 ;
3425  struct i2c_client *__cil_tmp22 ;
3426  int __cil_tmp23 ;
3427  u8 __cil_tmp24 ;
3428  unsigned long __cil_tmp25 ;
3429  unsigned long __cil_tmp26 ;
3430  u8 __cil_tmp27 ;
3431  int __cil_tmp28 ;
3432  u8 __cil_tmp29 ;
3433
3434  {
3435  {
3436#line 237
3437  pdata = *((struct bd2802_led_platform_data **)led);
3438#line 240
3439  __cil_tmp4 = (enum led_ids )0;
3440#line 240
3441  __cil_tmp5 = (enum led_colors )0;
3442#line 240
3443  __cil_tmp6 = (u8 )2;
3444#line 240
3445  reg = bd2802_get_reg_addr(__cil_tmp4, __cil_tmp5, __cil_tmp6);
3446#line 241
3447  __cil_tmp7 = (unsigned long )led;
3448#line 241
3449  __cil_tmp8 = __cil_tmp7 + 8;
3450#line 241
3451  __cil_tmp9 = *((struct i2c_client **)__cil_tmp8);
3452#line 241
3453  __cil_tmp10 = (int )reg;
3454#line 241
3455  __cil_tmp11 = (u8 )__cil_tmp10;
3456#line 241
3457  __cil_tmp12 = (unsigned long )pdata;
3458#line 241
3459  __cil_tmp13 = __cil_tmp12 + 4;
3460#line 241
3461  __cil_tmp14 = *((u8 *)__cil_tmp13);
3462#line 241
3463  __cil_tmp15 = (int )__cil_tmp14;
3464#line 241
3465  __cil_tmp16 = (u8 )__cil_tmp15;
3466#line 241
3467  bd2802_write_byte(__cil_tmp9, __cil_tmp11, __cil_tmp16);
3468#line 243
3469  __cil_tmp17 = (enum led_ids )1;
3470#line 243
3471  __cil_tmp18 = (enum led_colors )0;
3472#line 243
3473  __cil_tmp19 = (u8 )2;
3474#line 243
3475  reg = bd2802_get_reg_addr(__cil_tmp17, __cil_tmp18, __cil_tmp19);
3476#line 244
3477  __cil_tmp20 = (unsigned long )led;
3478#line 244
3479  __cil_tmp21 = __cil_tmp20 + 8;
3480#line 244
3481  __cil_tmp22 = *((struct i2c_client **)__cil_tmp21);
3482#line 244
3483  __cil_tmp23 = (int )reg;
3484#line 244
3485  __cil_tmp24 = (u8 )__cil_tmp23;
3486#line 244
3487  __cil_tmp25 = (unsigned long )pdata;
3488#line 244
3489  __cil_tmp26 = __cil_tmp25 + 4;
3490#line 244
3491  __cil_tmp27 = *((u8 *)__cil_tmp26);
3492#line 244
3493  __cil_tmp28 = (int )__cil_tmp27;
3494#line 244
3495  __cil_tmp29 = (u8 )__cil_tmp28;
3496#line 244
3497  bd2802_write_byte(__cil_tmp22, __cil_tmp24, __cil_tmp29);
3498  }
3499#line 245
3500  return;
3501}
3502}
3503#line 247 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3504static void bd2802_reset_cancel(struct bd2802_led *led ) 
3505{ struct bd2802_led_platform_data *__cil_tmp2 ;
3506  int __cil_tmp3 ;
3507  unsigned int __cil_tmp4 ;
3508
3509  {
3510  {
3511#line 249
3512  __cil_tmp2 = *((struct bd2802_led_platform_data **)led);
3513#line 249
3514  __cil_tmp3 = *((int *)__cil_tmp2);
3515#line 249
3516  __cil_tmp4 = (unsigned int )__cil_tmp3;
3517#line 249
3518  gpio_set_value(__cil_tmp4, 1);
3519#line 250
3520  __const_udelay(429500UL);
3521#line 251
3522  bd2802_configure(led);
3523  }
3524#line 252
3525  return;
3526}
3527}
3528#line 254 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3529static void bd2802_enable(struct bd2802_led *led , enum led_ids id ) 
3530{ enum led_ids other_led ;
3531  u8 value ;
3532  u8 other_led_on ;
3533  int tmp ;
3534  unsigned int __cil_tmp7 ;
3535  int __cil_tmp8 ;
3536  int __cil_tmp9 ;
3537  unsigned int __cil_tmp10 ;
3538  int __cil_tmp11 ;
3539  int __cil_tmp12 ;
3540  signed char __cil_tmp13 ;
3541  int __cil_tmp14 ;
3542  int __cil_tmp15 ;
3543  unsigned int __cil_tmp16 ;
3544  unsigned int __cil_tmp17 ;
3545  unsigned long __cil_tmp18 ;
3546  unsigned long __cil_tmp19 ;
3547  struct i2c_client *__cil_tmp20 ;
3548  u8 __cil_tmp21 ;
3549  int __cil_tmp22 ;
3550  u8 __cil_tmp23 ;
3551
3552  {
3553  {
3554#line 256
3555  __cil_tmp7 = (unsigned int )id;
3556#line 256
3557  __cil_tmp8 = __cil_tmp7 == 0U;
3558#line 256
3559  other_led = (enum led_ids )__cil_tmp8;
3560#line 259
3561  tmp = bd2802_is_led_off(led, other_led);
3562#line 259
3563  __cil_tmp9 = tmp == 0;
3564#line 259
3565  other_led_on = (u8 )__cil_tmp9;
3566  }
3567  {
3568#line 260
3569  __cil_tmp10 = (unsigned int )id;
3570#line 260
3571  if (__cil_tmp10 == 0U) {
3572#line 261
3573    __cil_tmp11 = (int )other_led_on;
3574#line 261
3575    __cil_tmp12 = __cil_tmp11 << 4;
3576#line 261
3577    __cil_tmp13 = (signed char )__cil_tmp12;
3578#line 261
3579    __cil_tmp14 = (int )__cil_tmp13;
3580#line 261
3581    __cil_tmp15 = __cil_tmp14 | 1;
3582#line 261
3583    value = (u8 )__cil_tmp15;
3584  } else {
3585#line 263
3586    __cil_tmp16 = (unsigned int )other_led_on;
3587#line 263
3588    __cil_tmp17 = __cil_tmp16 | 16U;
3589#line 263
3590    value = (u8 )__cil_tmp17;
3591  }
3592  }
3593  {
3594#line 265
3595  __cil_tmp18 = (unsigned long )led;
3596#line 265
3597  __cil_tmp19 = __cil_tmp18 + 8;
3598#line 265
3599  __cil_tmp20 = *((struct i2c_client **)__cil_tmp19);
3600#line 265
3601  __cil_tmp21 = (u8 )1;
3602#line 265
3603  __cil_tmp22 = (int )value;
3604#line 265
3605  __cil_tmp23 = (u8 )__cil_tmp22;
3606#line 265
3607  bd2802_write_byte(__cil_tmp20, __cil_tmp21, __cil_tmp23);
3608  }
3609#line 266
3610  return;
3611}
3612}
3613#line 268 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3614static void bd2802_set_on(struct bd2802_led *led , enum led_ids id , enum led_colors color ) 
3615{ u8 reg ;
3616  int tmp ;
3617  unsigned long __cil_tmp6 ;
3618  unsigned long __cil_tmp7 ;
3619  int __cil_tmp8 ;
3620  u8 __cil_tmp9 ;
3621  unsigned long __cil_tmp10 ;
3622  unsigned long __cil_tmp11 ;
3623  struct i2c_client *__cil_tmp12 ;
3624  int __cil_tmp13 ;
3625  u8 __cil_tmp14 ;
3626  unsigned long __cil_tmp15 ;
3627  unsigned long __cil_tmp16 ;
3628  int __cil_tmp17 ;
3629  u8 __cil_tmp18 ;
3630  int __cil_tmp19 ;
3631  u8 __cil_tmp20 ;
3632  u8 __cil_tmp21 ;
3633  unsigned long __cil_tmp22 ;
3634  unsigned long __cil_tmp23 ;
3635  struct i2c_client *__cil_tmp24 ;
3636  int __cil_tmp25 ;
3637  u8 __cil_tmp26 ;
3638  u8 __cil_tmp27 ;
3639  u8 __cil_tmp28 ;
3640  unsigned long __cil_tmp29 ;
3641  unsigned long __cil_tmp30 ;
3642  struct i2c_client *__cil_tmp31 ;
3643  int __cil_tmp32 ;
3644  u8 __cil_tmp33 ;
3645  u8 __cil_tmp34 ;
3646  enum led_bits __cil_tmp35 ;
3647
3648  {
3649  {
3650#line 273
3651  tmp = bd2802_is_all_off(led);
3652  }
3653#line 273
3654  if (tmp != 0) {
3655    {
3656#line 273
3657    __cil_tmp6 = (unsigned long )led;
3658#line 273
3659    __cil_tmp7 = __cil_tmp6 + 2696;
3660#line 273
3661    __cil_tmp8 = *((int *)__cil_tmp7);
3662#line 273
3663    if (__cil_tmp8 == 0) {
3664      {
3665#line 274
3666      bd2802_reset_cancel(led);
3667      }
3668    } else {
3669
3670    }
3671    }
3672  } else {
3673
3674  }
3675  {
3676#line 276
3677  __cil_tmp9 = (u8 )3;
3678#line 276
3679  reg = bd2802_get_reg_addr(id, color, __cil_tmp9);
3680#line 277
3681  __cil_tmp10 = (unsigned long )led;
3682#line 277
3683  __cil_tmp11 = __cil_tmp10 + 8;
3684#line 277
3685  __cil_tmp12 = *((struct i2c_client **)__cil_tmp11);
3686#line 277
3687  __cil_tmp13 = (int )reg;
3688#line 277
3689  __cil_tmp14 = (u8 )__cil_tmp13;
3690#line 277
3691  __cil_tmp15 = (unsigned long )led;
3692#line 277
3693  __cil_tmp16 = __cil_tmp15 + 2716;
3694#line 277
3695  __cil_tmp17 = *((int *)__cil_tmp16);
3696#line 277
3697  __cil_tmp18 = (u8 )__cil_tmp17;
3698#line 277
3699  __cil_tmp19 = (int )__cil_tmp18;
3700#line 277
3701  __cil_tmp20 = (u8 )__cil_tmp19;
3702#line 277
3703  bd2802_write_byte(__cil_tmp12, __cil_tmp14, __cil_tmp20);
3704#line 278
3705  __cil_tmp21 = (u8 )4;
3706#line 278
3707  reg = bd2802_get_reg_addr(id, color, __cil_tmp21);
3708#line 279
3709  __cil_tmp22 = (unsigned long )led;
3710#line 279
3711  __cil_tmp23 = __cil_tmp22 + 8;
3712#line 279
3713  __cil_tmp24 = *((struct i2c_client **)__cil_tmp23);
3714#line 279
3715  __cil_tmp25 = (int )reg;
3716#line 279
3717  __cil_tmp26 = (u8 )__cil_tmp25;
3718#line 279
3719  __cil_tmp27 = (u8 )0;
3720#line 279
3721  bd2802_write_byte(__cil_tmp24, __cil_tmp26, __cil_tmp27);
3722#line 280
3723  __cil_tmp28 = (u8 )5;
3724#line 280
3725  reg = bd2802_get_reg_addr(id, color, __cil_tmp28);
3726#line 281
3727  __cil_tmp29 = (unsigned long )led;
3728#line 281
3729  __cil_tmp30 = __cil_tmp29 + 8;
3730#line 281
3731  __cil_tmp31 = *((struct i2c_client **)__cil_tmp30);
3732#line 281
3733  __cil_tmp32 = (int )reg;
3734#line 281
3735  __cil_tmp33 = (u8 )__cil_tmp32;
3736#line 281
3737  __cil_tmp34 = (u8 )7;
3738#line 281
3739  bd2802_write_byte(__cil_tmp31, __cil_tmp33, __cil_tmp34);
3740#line 283
3741  bd2802_enable(led, id);
3742#line 284
3743  __cil_tmp35 = (enum led_bits )2;
3744#line 284
3745  bd2802_update_state(led, id, color, __cil_tmp35);
3746  }
3747#line 285
3748  return;
3749}
3750}
3751#line 287 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3752static void bd2802_set_blink(struct bd2802_led *led , enum led_ids id , enum led_colors color ) 
3753{ u8 reg ;
3754  int tmp ;
3755  unsigned long __cil_tmp6 ;
3756  unsigned long __cil_tmp7 ;
3757  int __cil_tmp8 ;
3758  u8 __cil_tmp9 ;
3759  unsigned long __cil_tmp10 ;
3760  unsigned long __cil_tmp11 ;
3761  struct i2c_client *__cil_tmp12 ;
3762  int __cil_tmp13 ;
3763  u8 __cil_tmp14 ;
3764  u8 __cil_tmp15 ;
3765  u8 __cil_tmp16 ;
3766  unsigned long __cil_tmp17 ;
3767  unsigned long __cil_tmp18 ;
3768  struct i2c_client *__cil_tmp19 ;
3769  int __cil_tmp20 ;
3770  u8 __cil_tmp21 ;
3771  unsigned long __cil_tmp22 ;
3772  unsigned long __cil_tmp23 ;
3773  int __cil_tmp24 ;
3774  u8 __cil_tmp25 ;
3775  int __cil_tmp26 ;
3776  u8 __cil_tmp27 ;
3777  u8 __cil_tmp28 ;
3778  unsigned long __cil_tmp29 ;
3779  unsigned long __cil_tmp30 ;
3780  struct i2c_client *__cil_tmp31 ;
3781  int __cil_tmp32 ;
3782  u8 __cil_tmp33 ;
3783  unsigned long __cil_tmp34 ;
3784  unsigned long __cil_tmp35 ;
3785  int __cil_tmp36 ;
3786  u8 __cil_tmp37 ;
3787  int __cil_tmp38 ;
3788  u8 __cil_tmp39 ;
3789  enum led_bits __cil_tmp40 ;
3790
3791  {
3792  {
3793#line 292
3794  tmp = bd2802_is_all_off(led);
3795  }
3796#line 292
3797  if (tmp != 0) {
3798    {
3799#line 292
3800    __cil_tmp6 = (unsigned long )led;
3801#line 292
3802    __cil_tmp7 = __cil_tmp6 + 2696;
3803#line 292
3804    __cil_tmp8 = *((int *)__cil_tmp7);
3805#line 292
3806    if (__cil_tmp8 == 0) {
3807      {
3808#line 293
3809      bd2802_reset_cancel(led);
3810      }
3811    } else {
3812
3813    }
3814    }
3815  } else {
3816
3817  }
3818  {
3819#line 295
3820  __cil_tmp9 = (u8 )3;
3821#line 295
3822  reg = bd2802_get_reg_addr(id, color, __cil_tmp9);
3823#line 296
3824  __cil_tmp10 = (unsigned long )led;
3825#line 296
3826  __cil_tmp11 = __cil_tmp10 + 8;
3827#line 296
3828  __cil_tmp12 = *((struct i2c_client **)__cil_tmp11);
3829#line 296
3830  __cil_tmp13 = (int )reg;
3831#line 296
3832  __cil_tmp14 = (u8 )__cil_tmp13;
3833#line 296
3834  __cil_tmp15 = (u8 )0;
3835#line 296
3836  bd2802_write_byte(__cil_tmp12, __cil_tmp14, __cil_tmp15);
3837#line 297
3838  __cil_tmp16 = (u8 )4;
3839#line 297
3840  reg = bd2802_get_reg_addr(id, color, __cil_tmp16);
3841#line 298
3842  __cil_tmp17 = (unsigned long )led;
3843#line 298
3844  __cil_tmp18 = __cil_tmp17 + 8;
3845#line 298
3846  __cil_tmp19 = *((struct i2c_client **)__cil_tmp18);
3847#line 298
3848  __cil_tmp20 = (int )reg;
3849#line 298
3850  __cil_tmp21 = (u8 )__cil_tmp20;
3851#line 298
3852  __cil_tmp22 = (unsigned long )led;
3853#line 298
3854  __cil_tmp23 = __cil_tmp22 + 2716;
3855#line 298
3856  __cil_tmp24 = *((int *)__cil_tmp23);
3857#line 298
3858  __cil_tmp25 = (u8 )__cil_tmp24;
3859#line 298
3860  __cil_tmp26 = (int )__cil_tmp25;
3861#line 298
3862  __cil_tmp27 = (u8 )__cil_tmp26;
3863#line 298
3864  bd2802_write_byte(__cil_tmp19, __cil_tmp21, __cil_tmp27);
3865#line 299
3866  __cil_tmp28 = (u8 )5;
3867#line 299
3868  reg = bd2802_get_reg_addr(id, color, __cil_tmp28);
3869#line 300
3870  __cil_tmp29 = (unsigned long )led;
3871#line 300
3872  __cil_tmp30 = __cil_tmp29 + 8;
3873#line 300
3874  __cil_tmp31 = *((struct i2c_client **)__cil_tmp30);
3875#line 300
3876  __cil_tmp32 = (int )reg;
3877#line 300
3878  __cil_tmp33 = (u8 )__cil_tmp32;
3879#line 300
3880  __cil_tmp34 = (unsigned long )led;
3881#line 300
3882  __cil_tmp35 = __cil_tmp34 + 2712;
3883#line 300
3884  __cil_tmp36 = *((int *)__cil_tmp35);
3885#line 300
3886  __cil_tmp37 = (u8 )__cil_tmp36;
3887#line 300
3888  __cil_tmp38 = (int )__cil_tmp37;
3889#line 300
3890  __cil_tmp39 = (u8 )__cil_tmp38;
3891#line 300
3892  bd2802_write_byte(__cil_tmp31, __cil_tmp33, __cil_tmp39);
3893#line 302
3894  bd2802_enable(led, id);
3895#line 303
3896  __cil_tmp40 = (enum led_bits )1;
3897#line 303
3898  bd2802_update_state(led, id, color, __cil_tmp40);
3899  }
3900#line 304
3901  return;
3902}
3903}
3904#line 306 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3905static void bd2802_turn_on(struct bd2802_led *led , enum led_ids id , enum led_colors color ,
3906                           enum led_bits led_bit ) 
3907{ unsigned int __cil_tmp5 ;
3908  unsigned long __cil_tmp6 ;
3909  unsigned long __cil_tmp7 ;
3910  struct i2c_client *__cil_tmp8 ;
3911  unsigned long __cil_tmp9 ;
3912  unsigned long __cil_tmp10 ;
3913  struct device *__cil_tmp11 ;
3914  struct device  const  *__cil_tmp12 ;
3915  unsigned int __cil_tmp13 ;
3916
3917  {
3918  {
3919#line 309
3920  __cil_tmp5 = (unsigned int )led_bit;
3921#line 309
3922  if (__cil_tmp5 == 0U) {
3923    {
3924#line 310
3925    __cil_tmp6 = (unsigned long )led;
3926#line 310
3927    __cil_tmp7 = __cil_tmp6 + 8;
3928#line 310
3929    __cil_tmp8 = *((struct i2c_client **)__cil_tmp7);
3930#line 310
3931    __cil_tmp9 = (unsigned long )__cil_tmp8;
3932#line 310
3933    __cil_tmp10 = __cil_tmp9 + 40;
3934#line 310
3935    __cil_tmp11 = (struct device *)__cil_tmp10;
3936#line 310
3937    __cil_tmp12 = (struct device  const  *)__cil_tmp11;
3938#line 310
3939    dev_err(__cil_tmp12, "Only \'blink\' and \'on\' are allowed\n");
3940    }
3941#line 312
3942    return;
3943  } else {
3944
3945  }
3946  }
3947  {
3948#line 315
3949  __cil_tmp13 = (unsigned int )led_bit;
3950#line 315
3951  if (__cil_tmp13 == 1U) {
3952    {
3953#line 316
3954    bd2802_set_blink(led, id, color);
3955    }
3956  } else {
3957    {
3958#line 318
3959    bd2802_set_on(led, id, color);
3960    }
3961  }
3962  }
3963#line 319
3964  return;
3965}
3966}
3967#line 321 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
3968static void bd2802_turn_off(struct bd2802_led *led , enum led_ids id , enum led_colors color ) 
3969{ u8 reg ;
3970  int tmp ;
3971  u8 __cil_tmp6 ;
3972  unsigned long __cil_tmp7 ;
3973  unsigned long __cil_tmp8 ;
3974  struct i2c_client *__cil_tmp9 ;
3975  int __cil_tmp10 ;
3976  u8 __cil_tmp11 ;
3977  u8 __cil_tmp12 ;
3978  u8 __cil_tmp13 ;
3979  unsigned long __cil_tmp14 ;
3980  unsigned long __cil_tmp15 ;
3981  struct i2c_client *__cil_tmp16 ;
3982  int __cil_tmp17 ;
3983  u8 __cil_tmp18 ;
3984  u8 __cil_tmp19 ;
3985  enum led_bits __cil_tmp20 ;
3986
3987  {
3988  {
3989#line 326
3990  tmp = bd2802_is_rgb_off(led, id, color);
3991  }
3992#line 326
3993  if (tmp != 0) {
3994#line 327
3995    return;
3996  } else {
3997
3998  }
3999  {
4000#line 329
4001  __cil_tmp6 = (u8 )3;
4002#line 329
4003  reg = bd2802_get_reg_addr(id, color, __cil_tmp6);
4004#line 330
4005  __cil_tmp7 = (unsigned long )led;
4006#line 330
4007  __cil_tmp8 = __cil_tmp7 + 8;
4008#line 330
4009  __cil_tmp9 = *((struct i2c_client **)__cil_tmp8);
4010#line 330
4011  __cil_tmp10 = (int )reg;
4012#line 330
4013  __cil_tmp11 = (u8 )__cil_tmp10;
4014#line 330
4015  __cil_tmp12 = (u8 )0;
4016#line 330
4017  bd2802_write_byte(__cil_tmp9, __cil_tmp11, __cil_tmp12);
4018#line 331
4019  __cil_tmp13 = (u8 )4;
4020#line 331
4021  reg = bd2802_get_reg_addr(id, color, __cil_tmp13);
4022#line 332
4023  __cil_tmp14 = (unsigned long )led;
4024#line 332
4025  __cil_tmp15 = __cil_tmp14 + 8;
4026#line 332
4027  __cil_tmp16 = *((struct i2c_client **)__cil_tmp15);
4028#line 332
4029  __cil_tmp17 = (int )reg;
4030#line 332
4031  __cil_tmp18 = (u8 )__cil_tmp17;
4032#line 332
4033  __cil_tmp19 = (u8 )0;
4034#line 332
4035  bd2802_write_byte(__cil_tmp16, __cil_tmp18, __cil_tmp19);
4036#line 334
4037  __cil_tmp20 = (enum led_bits )0;
4038#line 334
4039  bd2802_update_state(led, id, color, __cil_tmp20);
4040  }
4041#line 335
4042  return;
4043}
4044}
4045#line 359 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4046static ssize_t bd2802_store_reg0x00(struct device *dev , struct device_attribute *attr ,
4047                                    char const   *buf , size_t count ) 
4048{ struct bd2802_led *led ;
4049  struct device  const  *__mptr ;
4050  void *tmp ;
4051  unsigned long val ;
4052  int ret ;
4053  struct i2c_client *__cil_tmp10 ;
4054  struct i2c_client *__cil_tmp11 ;
4055  struct i2c_client  const  *__cil_tmp12 ;
4056  unsigned long __cil_tmp13 ;
4057  unsigned long __cil_tmp14 ;
4058  struct rw_semaphore *__cil_tmp15 ;
4059  unsigned long __cil_tmp16 ;
4060  unsigned long __cil_tmp17 ;
4061  struct i2c_client *__cil_tmp18 ;
4062  u8 __cil_tmp19 ;
4063  unsigned long *__cil_tmp20 ;
4064  unsigned long __cil_tmp21 ;
4065  unsigned char __cil_tmp22 ;
4066  int __cil_tmp23 ;
4067  u8 __cil_tmp24 ;
4068  unsigned long __cil_tmp25 ;
4069  unsigned long __cil_tmp26 ;
4070  struct rw_semaphore *__cil_tmp27 ;
4071
4072  {
4073  {
4074#line 359
4075  __mptr = (struct device  const  *)dev;
4076#line 359
4077  __cil_tmp10 = (struct i2c_client *)__mptr;
4078#line 359
4079  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4080#line 359
4081  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4082#line 359
4083  tmp = i2c_get_clientdata(__cil_tmp12);
4084#line 359
4085  led = (struct bd2802_led *)tmp;
4086  }
4087#line 359
4088  if (count == 0UL) {
4089#line 359
4090    return (-22L);
4091  } else {
4092
4093  }
4094  {
4095#line 359
4096  ret = kstrtoul(buf, 16U, & val);
4097  }
4098#line 359
4099  if (ret != 0) {
4100#line 359
4101    return ((ssize_t )ret);
4102  } else {
4103
4104  }
4105  {
4106#line 359
4107  __cil_tmp13 = (unsigned long )led;
4108#line 359
4109  __cil_tmp14 = __cil_tmp13 + 16;
4110#line 359
4111  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4112#line 359
4113  down_write(__cil_tmp15);
4114#line 359
4115  __cil_tmp16 = (unsigned long )led;
4116#line 359
4117  __cil_tmp17 = __cil_tmp16 + 8;
4118#line 359
4119  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4120#line 359
4121  __cil_tmp19 = (u8 )0;
4122#line 359
4123  __cil_tmp20 = & val;
4124#line 359
4125  __cil_tmp21 = *__cil_tmp20;
4126#line 359
4127  __cil_tmp22 = (unsigned char )__cil_tmp21;
4128#line 359
4129  __cil_tmp23 = (int )__cil_tmp22;
4130#line 359
4131  __cil_tmp24 = (u8 )__cil_tmp23;
4132#line 359
4133  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4134#line 359
4135  __cil_tmp25 = (unsigned long )led;
4136#line 359
4137  __cil_tmp26 = __cil_tmp25 + 16;
4138#line 359
4139  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4140#line 359
4141  up_write(__cil_tmp27);
4142  }
4143#line 359
4144  return ((ssize_t )count);
4145}
4146}
4147#line 359 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4148static struct device_attribute bd2802_reg0x00_attr  =    {{"0x00", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4149                                                           {(char)0}, {(char)0}, {(char)0},
4150                                                           {(char)0}, {(char)0}}}},
4151    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x00};
4152#line 360 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4153static ssize_t bd2802_store_reg0x01(struct device *dev , struct device_attribute *attr ,
4154                                    char const   *buf , size_t count ) 
4155{ struct bd2802_led *led ;
4156  struct device  const  *__mptr ;
4157  void *tmp ;
4158  unsigned long val ;
4159  int ret ;
4160  struct i2c_client *__cil_tmp10 ;
4161  struct i2c_client *__cil_tmp11 ;
4162  struct i2c_client  const  *__cil_tmp12 ;
4163  unsigned long __cil_tmp13 ;
4164  unsigned long __cil_tmp14 ;
4165  struct rw_semaphore *__cil_tmp15 ;
4166  unsigned long __cil_tmp16 ;
4167  unsigned long __cil_tmp17 ;
4168  struct i2c_client *__cil_tmp18 ;
4169  u8 __cil_tmp19 ;
4170  unsigned long *__cil_tmp20 ;
4171  unsigned long __cil_tmp21 ;
4172  unsigned char __cil_tmp22 ;
4173  int __cil_tmp23 ;
4174  u8 __cil_tmp24 ;
4175  unsigned long __cil_tmp25 ;
4176  unsigned long __cil_tmp26 ;
4177  struct rw_semaphore *__cil_tmp27 ;
4178
4179  {
4180  {
4181#line 360
4182  __mptr = (struct device  const  *)dev;
4183#line 360
4184  __cil_tmp10 = (struct i2c_client *)__mptr;
4185#line 360
4186  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4187#line 360
4188  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4189#line 360
4190  tmp = i2c_get_clientdata(__cil_tmp12);
4191#line 360
4192  led = (struct bd2802_led *)tmp;
4193  }
4194#line 360
4195  if (count == 0UL) {
4196#line 360
4197    return (-22L);
4198  } else {
4199
4200  }
4201  {
4202#line 360
4203  ret = kstrtoul(buf, 16U, & val);
4204  }
4205#line 360
4206  if (ret != 0) {
4207#line 360
4208    return ((ssize_t )ret);
4209  } else {
4210
4211  }
4212  {
4213#line 360
4214  __cil_tmp13 = (unsigned long )led;
4215#line 360
4216  __cil_tmp14 = __cil_tmp13 + 16;
4217#line 360
4218  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4219#line 360
4220  down_write(__cil_tmp15);
4221#line 360
4222  __cil_tmp16 = (unsigned long )led;
4223#line 360
4224  __cil_tmp17 = __cil_tmp16 + 8;
4225#line 360
4226  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4227#line 360
4228  __cil_tmp19 = (u8 )1;
4229#line 360
4230  __cil_tmp20 = & val;
4231#line 360
4232  __cil_tmp21 = *__cil_tmp20;
4233#line 360
4234  __cil_tmp22 = (unsigned char )__cil_tmp21;
4235#line 360
4236  __cil_tmp23 = (int )__cil_tmp22;
4237#line 360
4238  __cil_tmp24 = (u8 )__cil_tmp23;
4239#line 360
4240  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4241#line 360
4242  __cil_tmp25 = (unsigned long )led;
4243#line 360
4244  __cil_tmp26 = __cil_tmp25 + 16;
4245#line 360
4246  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4247#line 360
4248  up_write(__cil_tmp27);
4249  }
4250#line 360
4251  return ((ssize_t )count);
4252}
4253}
4254#line 360 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4255static struct device_attribute bd2802_reg0x01_attr  =    {{"0x01", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4256                                                           {(char)0}, {(char)0}, {(char)0},
4257                                                           {(char)0}, {(char)0}}}},
4258    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x01};
4259#line 361 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4260static ssize_t bd2802_store_reg0x02(struct device *dev , struct device_attribute *attr ,
4261                                    char const   *buf , size_t count ) 
4262{ struct bd2802_led *led ;
4263  struct device  const  *__mptr ;
4264  void *tmp ;
4265  unsigned long val ;
4266  int ret ;
4267  struct i2c_client *__cil_tmp10 ;
4268  struct i2c_client *__cil_tmp11 ;
4269  struct i2c_client  const  *__cil_tmp12 ;
4270  unsigned long __cil_tmp13 ;
4271  unsigned long __cil_tmp14 ;
4272  struct rw_semaphore *__cil_tmp15 ;
4273  unsigned long __cil_tmp16 ;
4274  unsigned long __cil_tmp17 ;
4275  struct i2c_client *__cil_tmp18 ;
4276  u8 __cil_tmp19 ;
4277  unsigned long *__cil_tmp20 ;
4278  unsigned long __cil_tmp21 ;
4279  unsigned char __cil_tmp22 ;
4280  int __cil_tmp23 ;
4281  u8 __cil_tmp24 ;
4282  unsigned long __cil_tmp25 ;
4283  unsigned long __cil_tmp26 ;
4284  struct rw_semaphore *__cil_tmp27 ;
4285
4286  {
4287  {
4288#line 361
4289  __mptr = (struct device  const  *)dev;
4290#line 361
4291  __cil_tmp10 = (struct i2c_client *)__mptr;
4292#line 361
4293  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4294#line 361
4295  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4296#line 361
4297  tmp = i2c_get_clientdata(__cil_tmp12);
4298#line 361
4299  led = (struct bd2802_led *)tmp;
4300  }
4301#line 361
4302  if (count == 0UL) {
4303#line 361
4304    return (-22L);
4305  } else {
4306
4307  }
4308  {
4309#line 361
4310  ret = kstrtoul(buf, 16U, & val);
4311  }
4312#line 361
4313  if (ret != 0) {
4314#line 361
4315    return ((ssize_t )ret);
4316  } else {
4317
4318  }
4319  {
4320#line 361
4321  __cil_tmp13 = (unsigned long )led;
4322#line 361
4323  __cil_tmp14 = __cil_tmp13 + 16;
4324#line 361
4325  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4326#line 361
4327  down_write(__cil_tmp15);
4328#line 361
4329  __cil_tmp16 = (unsigned long )led;
4330#line 361
4331  __cil_tmp17 = __cil_tmp16 + 8;
4332#line 361
4333  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4334#line 361
4335  __cil_tmp19 = (u8 )2;
4336#line 361
4337  __cil_tmp20 = & val;
4338#line 361
4339  __cil_tmp21 = *__cil_tmp20;
4340#line 361
4341  __cil_tmp22 = (unsigned char )__cil_tmp21;
4342#line 361
4343  __cil_tmp23 = (int )__cil_tmp22;
4344#line 361
4345  __cil_tmp24 = (u8 )__cil_tmp23;
4346#line 361
4347  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4348#line 361
4349  __cil_tmp25 = (unsigned long )led;
4350#line 361
4351  __cil_tmp26 = __cil_tmp25 + 16;
4352#line 361
4353  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4354#line 361
4355  up_write(__cil_tmp27);
4356  }
4357#line 361
4358  return ((ssize_t )count);
4359}
4360}
4361#line 361 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4362static struct device_attribute bd2802_reg0x02_attr  =    {{"0x02", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4363                                                           {(char)0}, {(char)0}, {(char)0},
4364                                                           {(char)0}, {(char)0}}}},
4365    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x02};
4366#line 362 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4367static ssize_t bd2802_store_reg0x03(struct device *dev , struct device_attribute *attr ,
4368                                    char const   *buf , size_t count ) 
4369{ struct bd2802_led *led ;
4370  struct device  const  *__mptr ;
4371  void *tmp ;
4372  unsigned long val ;
4373  int ret ;
4374  struct i2c_client *__cil_tmp10 ;
4375  struct i2c_client *__cil_tmp11 ;
4376  struct i2c_client  const  *__cil_tmp12 ;
4377  unsigned long __cil_tmp13 ;
4378  unsigned long __cil_tmp14 ;
4379  struct rw_semaphore *__cil_tmp15 ;
4380  unsigned long __cil_tmp16 ;
4381  unsigned long __cil_tmp17 ;
4382  struct i2c_client *__cil_tmp18 ;
4383  u8 __cil_tmp19 ;
4384  unsigned long *__cil_tmp20 ;
4385  unsigned long __cil_tmp21 ;
4386  unsigned char __cil_tmp22 ;
4387  int __cil_tmp23 ;
4388  u8 __cil_tmp24 ;
4389  unsigned long __cil_tmp25 ;
4390  unsigned long __cil_tmp26 ;
4391  struct rw_semaphore *__cil_tmp27 ;
4392
4393  {
4394  {
4395#line 362
4396  __mptr = (struct device  const  *)dev;
4397#line 362
4398  __cil_tmp10 = (struct i2c_client *)__mptr;
4399#line 362
4400  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4401#line 362
4402  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4403#line 362
4404  tmp = i2c_get_clientdata(__cil_tmp12);
4405#line 362
4406  led = (struct bd2802_led *)tmp;
4407  }
4408#line 362
4409  if (count == 0UL) {
4410#line 362
4411    return (-22L);
4412  } else {
4413
4414  }
4415  {
4416#line 362
4417  ret = kstrtoul(buf, 16U, & val);
4418  }
4419#line 362
4420  if (ret != 0) {
4421#line 362
4422    return ((ssize_t )ret);
4423  } else {
4424
4425  }
4426  {
4427#line 362
4428  __cil_tmp13 = (unsigned long )led;
4429#line 362
4430  __cil_tmp14 = __cil_tmp13 + 16;
4431#line 362
4432  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4433#line 362
4434  down_write(__cil_tmp15);
4435#line 362
4436  __cil_tmp16 = (unsigned long )led;
4437#line 362
4438  __cil_tmp17 = __cil_tmp16 + 8;
4439#line 362
4440  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4441#line 362
4442  __cil_tmp19 = (u8 )3;
4443#line 362
4444  __cil_tmp20 = & val;
4445#line 362
4446  __cil_tmp21 = *__cil_tmp20;
4447#line 362
4448  __cil_tmp22 = (unsigned char )__cil_tmp21;
4449#line 362
4450  __cil_tmp23 = (int )__cil_tmp22;
4451#line 362
4452  __cil_tmp24 = (u8 )__cil_tmp23;
4453#line 362
4454  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4455#line 362
4456  __cil_tmp25 = (unsigned long )led;
4457#line 362
4458  __cil_tmp26 = __cil_tmp25 + 16;
4459#line 362
4460  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4461#line 362
4462  up_write(__cil_tmp27);
4463  }
4464#line 362
4465  return ((ssize_t )count);
4466}
4467}
4468#line 362 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4469static struct device_attribute bd2802_reg0x03_attr  =    {{"0x03", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4470                                                           {(char)0}, {(char)0}, {(char)0},
4471                                                           {(char)0}, {(char)0}}}},
4472    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x03};
4473#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4474static ssize_t bd2802_store_reg0x04(struct device *dev , struct device_attribute *attr ,
4475                                    char const   *buf , size_t count ) 
4476{ struct bd2802_led *led ;
4477  struct device  const  *__mptr ;
4478  void *tmp ;
4479  unsigned long val ;
4480  int ret ;
4481  struct i2c_client *__cil_tmp10 ;
4482  struct i2c_client *__cil_tmp11 ;
4483  struct i2c_client  const  *__cil_tmp12 ;
4484  unsigned long __cil_tmp13 ;
4485  unsigned long __cil_tmp14 ;
4486  struct rw_semaphore *__cil_tmp15 ;
4487  unsigned long __cil_tmp16 ;
4488  unsigned long __cil_tmp17 ;
4489  struct i2c_client *__cil_tmp18 ;
4490  u8 __cil_tmp19 ;
4491  unsigned long *__cil_tmp20 ;
4492  unsigned long __cil_tmp21 ;
4493  unsigned char __cil_tmp22 ;
4494  int __cil_tmp23 ;
4495  u8 __cil_tmp24 ;
4496  unsigned long __cil_tmp25 ;
4497  unsigned long __cil_tmp26 ;
4498  struct rw_semaphore *__cil_tmp27 ;
4499
4500  {
4501  {
4502#line 363
4503  __mptr = (struct device  const  *)dev;
4504#line 363
4505  __cil_tmp10 = (struct i2c_client *)__mptr;
4506#line 363
4507  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4508#line 363
4509  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4510#line 363
4511  tmp = i2c_get_clientdata(__cil_tmp12);
4512#line 363
4513  led = (struct bd2802_led *)tmp;
4514  }
4515#line 363
4516  if (count == 0UL) {
4517#line 363
4518    return (-22L);
4519  } else {
4520
4521  }
4522  {
4523#line 363
4524  ret = kstrtoul(buf, 16U, & val);
4525  }
4526#line 363
4527  if (ret != 0) {
4528#line 363
4529    return ((ssize_t )ret);
4530  } else {
4531
4532  }
4533  {
4534#line 363
4535  __cil_tmp13 = (unsigned long )led;
4536#line 363
4537  __cil_tmp14 = __cil_tmp13 + 16;
4538#line 363
4539  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4540#line 363
4541  down_write(__cil_tmp15);
4542#line 363
4543  __cil_tmp16 = (unsigned long )led;
4544#line 363
4545  __cil_tmp17 = __cil_tmp16 + 8;
4546#line 363
4547  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4548#line 363
4549  __cil_tmp19 = (u8 )4;
4550#line 363
4551  __cil_tmp20 = & val;
4552#line 363
4553  __cil_tmp21 = *__cil_tmp20;
4554#line 363
4555  __cil_tmp22 = (unsigned char )__cil_tmp21;
4556#line 363
4557  __cil_tmp23 = (int )__cil_tmp22;
4558#line 363
4559  __cil_tmp24 = (u8 )__cil_tmp23;
4560#line 363
4561  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4562#line 363
4563  __cil_tmp25 = (unsigned long )led;
4564#line 363
4565  __cil_tmp26 = __cil_tmp25 + 16;
4566#line 363
4567  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4568#line 363
4569  up_write(__cil_tmp27);
4570  }
4571#line 363
4572  return ((ssize_t )count);
4573}
4574}
4575#line 363 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4576static struct device_attribute bd2802_reg0x04_attr  =    {{"0x04", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4577                                                           {(char)0}, {(char)0}, {(char)0},
4578                                                           {(char)0}, {(char)0}}}},
4579    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x04};
4580#line 364 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4581static ssize_t bd2802_store_reg0x05(struct device *dev , struct device_attribute *attr ,
4582                                    char const   *buf , size_t count ) 
4583{ struct bd2802_led *led ;
4584  struct device  const  *__mptr ;
4585  void *tmp ;
4586  unsigned long val ;
4587  int ret ;
4588  struct i2c_client *__cil_tmp10 ;
4589  struct i2c_client *__cil_tmp11 ;
4590  struct i2c_client  const  *__cil_tmp12 ;
4591  unsigned long __cil_tmp13 ;
4592  unsigned long __cil_tmp14 ;
4593  struct rw_semaphore *__cil_tmp15 ;
4594  unsigned long __cil_tmp16 ;
4595  unsigned long __cil_tmp17 ;
4596  struct i2c_client *__cil_tmp18 ;
4597  u8 __cil_tmp19 ;
4598  unsigned long *__cil_tmp20 ;
4599  unsigned long __cil_tmp21 ;
4600  unsigned char __cil_tmp22 ;
4601  int __cil_tmp23 ;
4602  u8 __cil_tmp24 ;
4603  unsigned long __cil_tmp25 ;
4604  unsigned long __cil_tmp26 ;
4605  struct rw_semaphore *__cil_tmp27 ;
4606
4607  {
4608  {
4609#line 364
4610  __mptr = (struct device  const  *)dev;
4611#line 364
4612  __cil_tmp10 = (struct i2c_client *)__mptr;
4613#line 364
4614  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4615#line 364
4616  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4617#line 364
4618  tmp = i2c_get_clientdata(__cil_tmp12);
4619#line 364
4620  led = (struct bd2802_led *)tmp;
4621  }
4622#line 364
4623  if (count == 0UL) {
4624#line 364
4625    return (-22L);
4626  } else {
4627
4628  }
4629  {
4630#line 364
4631  ret = kstrtoul(buf, 16U, & val);
4632  }
4633#line 364
4634  if (ret != 0) {
4635#line 364
4636    return ((ssize_t )ret);
4637  } else {
4638
4639  }
4640  {
4641#line 364
4642  __cil_tmp13 = (unsigned long )led;
4643#line 364
4644  __cil_tmp14 = __cil_tmp13 + 16;
4645#line 364
4646  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4647#line 364
4648  down_write(__cil_tmp15);
4649#line 364
4650  __cil_tmp16 = (unsigned long )led;
4651#line 364
4652  __cil_tmp17 = __cil_tmp16 + 8;
4653#line 364
4654  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4655#line 364
4656  __cil_tmp19 = (u8 )5;
4657#line 364
4658  __cil_tmp20 = & val;
4659#line 364
4660  __cil_tmp21 = *__cil_tmp20;
4661#line 364
4662  __cil_tmp22 = (unsigned char )__cil_tmp21;
4663#line 364
4664  __cil_tmp23 = (int )__cil_tmp22;
4665#line 364
4666  __cil_tmp24 = (u8 )__cil_tmp23;
4667#line 364
4668  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4669#line 364
4670  __cil_tmp25 = (unsigned long )led;
4671#line 364
4672  __cil_tmp26 = __cil_tmp25 + 16;
4673#line 364
4674  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4675#line 364
4676  up_write(__cil_tmp27);
4677  }
4678#line 364
4679  return ((ssize_t )count);
4680}
4681}
4682#line 364 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4683static struct device_attribute bd2802_reg0x05_attr  =    {{"0x05", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4684                                                           {(char)0}, {(char)0}, {(char)0},
4685                                                           {(char)0}, {(char)0}}}},
4686    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x05};
4687#line 365 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4688static ssize_t bd2802_store_reg0x06(struct device *dev , struct device_attribute *attr ,
4689                                    char const   *buf , size_t count ) 
4690{ struct bd2802_led *led ;
4691  struct device  const  *__mptr ;
4692  void *tmp ;
4693  unsigned long val ;
4694  int ret ;
4695  struct i2c_client *__cil_tmp10 ;
4696  struct i2c_client *__cil_tmp11 ;
4697  struct i2c_client  const  *__cil_tmp12 ;
4698  unsigned long __cil_tmp13 ;
4699  unsigned long __cil_tmp14 ;
4700  struct rw_semaphore *__cil_tmp15 ;
4701  unsigned long __cil_tmp16 ;
4702  unsigned long __cil_tmp17 ;
4703  struct i2c_client *__cil_tmp18 ;
4704  u8 __cil_tmp19 ;
4705  unsigned long *__cil_tmp20 ;
4706  unsigned long __cil_tmp21 ;
4707  unsigned char __cil_tmp22 ;
4708  int __cil_tmp23 ;
4709  u8 __cil_tmp24 ;
4710  unsigned long __cil_tmp25 ;
4711  unsigned long __cil_tmp26 ;
4712  struct rw_semaphore *__cil_tmp27 ;
4713
4714  {
4715  {
4716#line 365
4717  __mptr = (struct device  const  *)dev;
4718#line 365
4719  __cil_tmp10 = (struct i2c_client *)__mptr;
4720#line 365
4721  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4722#line 365
4723  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4724#line 365
4725  tmp = i2c_get_clientdata(__cil_tmp12);
4726#line 365
4727  led = (struct bd2802_led *)tmp;
4728  }
4729#line 365
4730  if (count == 0UL) {
4731#line 365
4732    return (-22L);
4733  } else {
4734
4735  }
4736  {
4737#line 365
4738  ret = kstrtoul(buf, 16U, & val);
4739  }
4740#line 365
4741  if (ret != 0) {
4742#line 365
4743    return ((ssize_t )ret);
4744  } else {
4745
4746  }
4747  {
4748#line 365
4749  __cil_tmp13 = (unsigned long )led;
4750#line 365
4751  __cil_tmp14 = __cil_tmp13 + 16;
4752#line 365
4753  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4754#line 365
4755  down_write(__cil_tmp15);
4756#line 365
4757  __cil_tmp16 = (unsigned long )led;
4758#line 365
4759  __cil_tmp17 = __cil_tmp16 + 8;
4760#line 365
4761  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4762#line 365
4763  __cil_tmp19 = (u8 )6;
4764#line 365
4765  __cil_tmp20 = & val;
4766#line 365
4767  __cil_tmp21 = *__cil_tmp20;
4768#line 365
4769  __cil_tmp22 = (unsigned char )__cil_tmp21;
4770#line 365
4771  __cil_tmp23 = (int )__cil_tmp22;
4772#line 365
4773  __cil_tmp24 = (u8 )__cil_tmp23;
4774#line 365
4775  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4776#line 365
4777  __cil_tmp25 = (unsigned long )led;
4778#line 365
4779  __cil_tmp26 = __cil_tmp25 + 16;
4780#line 365
4781  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4782#line 365
4783  up_write(__cil_tmp27);
4784  }
4785#line 365
4786  return ((ssize_t )count);
4787}
4788}
4789#line 365 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4790static struct device_attribute bd2802_reg0x06_attr  =    {{"0x06", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4791                                                           {(char)0}, {(char)0}, {(char)0},
4792                                                           {(char)0}, {(char)0}}}},
4793    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x06};
4794#line 366 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4795static ssize_t bd2802_store_reg0x07(struct device *dev , struct device_attribute *attr ,
4796                                    char const   *buf , size_t count ) 
4797{ struct bd2802_led *led ;
4798  struct device  const  *__mptr ;
4799  void *tmp ;
4800  unsigned long val ;
4801  int ret ;
4802  struct i2c_client *__cil_tmp10 ;
4803  struct i2c_client *__cil_tmp11 ;
4804  struct i2c_client  const  *__cil_tmp12 ;
4805  unsigned long __cil_tmp13 ;
4806  unsigned long __cil_tmp14 ;
4807  struct rw_semaphore *__cil_tmp15 ;
4808  unsigned long __cil_tmp16 ;
4809  unsigned long __cil_tmp17 ;
4810  struct i2c_client *__cil_tmp18 ;
4811  u8 __cil_tmp19 ;
4812  unsigned long *__cil_tmp20 ;
4813  unsigned long __cil_tmp21 ;
4814  unsigned char __cil_tmp22 ;
4815  int __cil_tmp23 ;
4816  u8 __cil_tmp24 ;
4817  unsigned long __cil_tmp25 ;
4818  unsigned long __cil_tmp26 ;
4819  struct rw_semaphore *__cil_tmp27 ;
4820
4821  {
4822  {
4823#line 366
4824  __mptr = (struct device  const  *)dev;
4825#line 366
4826  __cil_tmp10 = (struct i2c_client *)__mptr;
4827#line 366
4828  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4829#line 366
4830  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4831#line 366
4832  tmp = i2c_get_clientdata(__cil_tmp12);
4833#line 366
4834  led = (struct bd2802_led *)tmp;
4835  }
4836#line 366
4837  if (count == 0UL) {
4838#line 366
4839    return (-22L);
4840  } else {
4841
4842  }
4843  {
4844#line 366
4845  ret = kstrtoul(buf, 16U, & val);
4846  }
4847#line 366
4848  if (ret != 0) {
4849#line 366
4850    return ((ssize_t )ret);
4851  } else {
4852
4853  }
4854  {
4855#line 366
4856  __cil_tmp13 = (unsigned long )led;
4857#line 366
4858  __cil_tmp14 = __cil_tmp13 + 16;
4859#line 366
4860  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4861#line 366
4862  down_write(__cil_tmp15);
4863#line 366
4864  __cil_tmp16 = (unsigned long )led;
4865#line 366
4866  __cil_tmp17 = __cil_tmp16 + 8;
4867#line 366
4868  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4869#line 366
4870  __cil_tmp19 = (u8 )7;
4871#line 366
4872  __cil_tmp20 = & val;
4873#line 366
4874  __cil_tmp21 = *__cil_tmp20;
4875#line 366
4876  __cil_tmp22 = (unsigned char )__cil_tmp21;
4877#line 366
4878  __cil_tmp23 = (int )__cil_tmp22;
4879#line 366
4880  __cil_tmp24 = (u8 )__cil_tmp23;
4881#line 366
4882  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4883#line 366
4884  __cil_tmp25 = (unsigned long )led;
4885#line 366
4886  __cil_tmp26 = __cil_tmp25 + 16;
4887#line 366
4888  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4889#line 366
4890  up_write(__cil_tmp27);
4891  }
4892#line 366
4893  return ((ssize_t )count);
4894}
4895}
4896#line 366 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4897static struct device_attribute bd2802_reg0x07_attr  =    {{"0x07", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
4898                                                           {(char)0}, {(char)0}, {(char)0},
4899                                                           {(char)0}, {(char)0}}}},
4900    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x07};
4901#line 367 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
4902static ssize_t bd2802_store_reg0x08(struct device *dev , struct device_attribute *attr ,
4903                                    char const   *buf , size_t count ) 
4904{ struct bd2802_led *led ;
4905  struct device  const  *__mptr ;
4906  void *tmp ;
4907  unsigned long val ;
4908  int ret ;
4909  struct i2c_client *__cil_tmp10 ;
4910  struct i2c_client *__cil_tmp11 ;
4911  struct i2c_client  const  *__cil_tmp12 ;
4912  unsigned long __cil_tmp13 ;
4913  unsigned long __cil_tmp14 ;
4914  struct rw_semaphore *__cil_tmp15 ;
4915  unsigned long __cil_tmp16 ;
4916  unsigned long __cil_tmp17 ;
4917  struct i2c_client *__cil_tmp18 ;
4918  u8 __cil_tmp19 ;
4919  unsigned long *__cil_tmp20 ;
4920  unsigned long __cil_tmp21 ;
4921  unsigned char __cil_tmp22 ;
4922  int __cil_tmp23 ;
4923  u8 __cil_tmp24 ;
4924  unsigned long __cil_tmp25 ;
4925  unsigned long __cil_tmp26 ;
4926  struct rw_semaphore *__cil_tmp27 ;
4927
4928  {
4929  {
4930#line 367
4931  __mptr = (struct device  const  *)dev;
4932#line 367
4933  __cil_tmp10 = (struct i2c_client *)__mptr;
4934#line 367
4935  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
4936#line 367
4937  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
4938#line 367
4939  tmp = i2c_get_clientdata(__cil_tmp12);
4940#line 367
4941  led = (struct bd2802_led *)tmp;
4942  }
4943#line 367
4944  if (count == 0UL) {
4945#line 367
4946    return (-22L);
4947  } else {
4948
4949  }
4950  {
4951#line 367
4952  ret = kstrtoul(buf, 16U, & val);
4953  }
4954#line 367
4955  if (ret != 0) {
4956#line 367
4957    return ((ssize_t )ret);
4958  } else {
4959
4960  }
4961  {
4962#line 367
4963  __cil_tmp13 = (unsigned long )led;
4964#line 367
4965  __cil_tmp14 = __cil_tmp13 + 16;
4966#line 367
4967  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
4968#line 367
4969  down_write(__cil_tmp15);
4970#line 367
4971  __cil_tmp16 = (unsigned long )led;
4972#line 367
4973  __cil_tmp17 = __cil_tmp16 + 8;
4974#line 367
4975  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
4976#line 367
4977  __cil_tmp19 = (u8 )8;
4978#line 367
4979  __cil_tmp20 = & val;
4980#line 367
4981  __cil_tmp21 = *__cil_tmp20;
4982#line 367
4983  __cil_tmp22 = (unsigned char )__cil_tmp21;
4984#line 367
4985  __cil_tmp23 = (int )__cil_tmp22;
4986#line 367
4987  __cil_tmp24 = (u8 )__cil_tmp23;
4988#line 367
4989  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
4990#line 367
4991  __cil_tmp25 = (unsigned long )led;
4992#line 367
4993  __cil_tmp26 = __cil_tmp25 + 16;
4994#line 367
4995  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
4996#line 367
4997  up_write(__cil_tmp27);
4998  }
4999#line 367
5000  return ((ssize_t )count);
5001}
5002}
5003#line 367 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5004static struct device_attribute bd2802_reg0x08_attr  =    {{"0x08", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5005                                                           {(char)0}, {(char)0}, {(char)0},
5006                                                           {(char)0}, {(char)0}}}},
5007    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x08};
5008#line 368 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5009static ssize_t bd2802_store_reg0x09(struct device *dev , struct device_attribute *attr ,
5010                                    char const   *buf , size_t count ) 
5011{ struct bd2802_led *led ;
5012  struct device  const  *__mptr ;
5013  void *tmp ;
5014  unsigned long val ;
5015  int ret ;
5016  struct i2c_client *__cil_tmp10 ;
5017  struct i2c_client *__cil_tmp11 ;
5018  struct i2c_client  const  *__cil_tmp12 ;
5019  unsigned long __cil_tmp13 ;
5020  unsigned long __cil_tmp14 ;
5021  struct rw_semaphore *__cil_tmp15 ;
5022  unsigned long __cil_tmp16 ;
5023  unsigned long __cil_tmp17 ;
5024  struct i2c_client *__cil_tmp18 ;
5025  u8 __cil_tmp19 ;
5026  unsigned long *__cil_tmp20 ;
5027  unsigned long __cil_tmp21 ;
5028  unsigned char __cil_tmp22 ;
5029  int __cil_tmp23 ;
5030  u8 __cil_tmp24 ;
5031  unsigned long __cil_tmp25 ;
5032  unsigned long __cil_tmp26 ;
5033  struct rw_semaphore *__cil_tmp27 ;
5034
5035  {
5036  {
5037#line 368
5038  __mptr = (struct device  const  *)dev;
5039#line 368
5040  __cil_tmp10 = (struct i2c_client *)__mptr;
5041#line 368
5042  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5043#line 368
5044  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5045#line 368
5046  tmp = i2c_get_clientdata(__cil_tmp12);
5047#line 368
5048  led = (struct bd2802_led *)tmp;
5049  }
5050#line 368
5051  if (count == 0UL) {
5052#line 368
5053    return (-22L);
5054  } else {
5055
5056  }
5057  {
5058#line 368
5059  ret = kstrtoul(buf, 16U, & val);
5060  }
5061#line 368
5062  if (ret != 0) {
5063#line 368
5064    return ((ssize_t )ret);
5065  } else {
5066
5067  }
5068  {
5069#line 368
5070  __cil_tmp13 = (unsigned long )led;
5071#line 368
5072  __cil_tmp14 = __cil_tmp13 + 16;
5073#line 368
5074  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5075#line 368
5076  down_write(__cil_tmp15);
5077#line 368
5078  __cil_tmp16 = (unsigned long )led;
5079#line 368
5080  __cil_tmp17 = __cil_tmp16 + 8;
5081#line 368
5082  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5083#line 368
5084  __cil_tmp19 = (u8 )9;
5085#line 368
5086  __cil_tmp20 = & val;
5087#line 368
5088  __cil_tmp21 = *__cil_tmp20;
5089#line 368
5090  __cil_tmp22 = (unsigned char )__cil_tmp21;
5091#line 368
5092  __cil_tmp23 = (int )__cil_tmp22;
5093#line 368
5094  __cil_tmp24 = (u8 )__cil_tmp23;
5095#line 368
5096  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5097#line 368
5098  __cil_tmp25 = (unsigned long )led;
5099#line 368
5100  __cil_tmp26 = __cil_tmp25 + 16;
5101#line 368
5102  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5103#line 368
5104  up_write(__cil_tmp27);
5105  }
5106#line 368
5107  return ((ssize_t )count);
5108}
5109}
5110#line 368 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5111static struct device_attribute bd2802_reg0x09_attr  =    {{"0x09", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5112                                                           {(char)0}, {(char)0}, {(char)0},
5113                                                           {(char)0}, {(char)0}}}},
5114    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x09};
5115#line 369 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5116static ssize_t bd2802_store_reg0x0a(struct device *dev , struct device_attribute *attr ,
5117                                    char const   *buf , size_t count ) 
5118{ struct bd2802_led *led ;
5119  struct device  const  *__mptr ;
5120  void *tmp ;
5121  unsigned long val ;
5122  int ret ;
5123  struct i2c_client *__cil_tmp10 ;
5124  struct i2c_client *__cil_tmp11 ;
5125  struct i2c_client  const  *__cil_tmp12 ;
5126  unsigned long __cil_tmp13 ;
5127  unsigned long __cil_tmp14 ;
5128  struct rw_semaphore *__cil_tmp15 ;
5129  unsigned long __cil_tmp16 ;
5130  unsigned long __cil_tmp17 ;
5131  struct i2c_client *__cil_tmp18 ;
5132  u8 __cil_tmp19 ;
5133  unsigned long *__cil_tmp20 ;
5134  unsigned long __cil_tmp21 ;
5135  unsigned char __cil_tmp22 ;
5136  int __cil_tmp23 ;
5137  u8 __cil_tmp24 ;
5138  unsigned long __cil_tmp25 ;
5139  unsigned long __cil_tmp26 ;
5140  struct rw_semaphore *__cil_tmp27 ;
5141
5142  {
5143  {
5144#line 369
5145  __mptr = (struct device  const  *)dev;
5146#line 369
5147  __cil_tmp10 = (struct i2c_client *)__mptr;
5148#line 369
5149  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5150#line 369
5151  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5152#line 369
5153  tmp = i2c_get_clientdata(__cil_tmp12);
5154#line 369
5155  led = (struct bd2802_led *)tmp;
5156  }
5157#line 369
5158  if (count == 0UL) {
5159#line 369
5160    return (-22L);
5161  } else {
5162
5163  }
5164  {
5165#line 369
5166  ret = kstrtoul(buf, 16U, & val);
5167  }
5168#line 369
5169  if (ret != 0) {
5170#line 369
5171    return ((ssize_t )ret);
5172  } else {
5173
5174  }
5175  {
5176#line 369
5177  __cil_tmp13 = (unsigned long )led;
5178#line 369
5179  __cil_tmp14 = __cil_tmp13 + 16;
5180#line 369
5181  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5182#line 369
5183  down_write(__cil_tmp15);
5184#line 369
5185  __cil_tmp16 = (unsigned long )led;
5186#line 369
5187  __cil_tmp17 = __cil_tmp16 + 8;
5188#line 369
5189  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5190#line 369
5191  __cil_tmp19 = (u8 )10;
5192#line 369
5193  __cil_tmp20 = & val;
5194#line 369
5195  __cil_tmp21 = *__cil_tmp20;
5196#line 369
5197  __cil_tmp22 = (unsigned char )__cil_tmp21;
5198#line 369
5199  __cil_tmp23 = (int )__cil_tmp22;
5200#line 369
5201  __cil_tmp24 = (u8 )__cil_tmp23;
5202#line 369
5203  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5204#line 369
5205  __cil_tmp25 = (unsigned long )led;
5206#line 369
5207  __cil_tmp26 = __cil_tmp25 + 16;
5208#line 369
5209  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5210#line 369
5211  up_write(__cil_tmp27);
5212  }
5213#line 369
5214  return ((ssize_t )count);
5215}
5216}
5217#line 369 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5218static struct device_attribute bd2802_reg0x0a_attr  =    {{"0x0a", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5219                                                           {(char)0}, {(char)0}, {(char)0},
5220                                                           {(char)0}, {(char)0}}}},
5221    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0a};
5222#line 370 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5223static ssize_t bd2802_store_reg0x0b(struct device *dev , struct device_attribute *attr ,
5224                                    char const   *buf , size_t count ) 
5225{ struct bd2802_led *led ;
5226  struct device  const  *__mptr ;
5227  void *tmp ;
5228  unsigned long val ;
5229  int ret ;
5230  struct i2c_client *__cil_tmp10 ;
5231  struct i2c_client *__cil_tmp11 ;
5232  struct i2c_client  const  *__cil_tmp12 ;
5233  unsigned long __cil_tmp13 ;
5234  unsigned long __cil_tmp14 ;
5235  struct rw_semaphore *__cil_tmp15 ;
5236  unsigned long __cil_tmp16 ;
5237  unsigned long __cil_tmp17 ;
5238  struct i2c_client *__cil_tmp18 ;
5239  u8 __cil_tmp19 ;
5240  unsigned long *__cil_tmp20 ;
5241  unsigned long __cil_tmp21 ;
5242  unsigned char __cil_tmp22 ;
5243  int __cil_tmp23 ;
5244  u8 __cil_tmp24 ;
5245  unsigned long __cil_tmp25 ;
5246  unsigned long __cil_tmp26 ;
5247  struct rw_semaphore *__cil_tmp27 ;
5248
5249  {
5250  {
5251#line 370
5252  __mptr = (struct device  const  *)dev;
5253#line 370
5254  __cil_tmp10 = (struct i2c_client *)__mptr;
5255#line 370
5256  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5257#line 370
5258  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5259#line 370
5260  tmp = i2c_get_clientdata(__cil_tmp12);
5261#line 370
5262  led = (struct bd2802_led *)tmp;
5263  }
5264#line 370
5265  if (count == 0UL) {
5266#line 370
5267    return (-22L);
5268  } else {
5269
5270  }
5271  {
5272#line 370
5273  ret = kstrtoul(buf, 16U, & val);
5274  }
5275#line 370
5276  if (ret != 0) {
5277#line 370
5278    return ((ssize_t )ret);
5279  } else {
5280
5281  }
5282  {
5283#line 370
5284  __cil_tmp13 = (unsigned long )led;
5285#line 370
5286  __cil_tmp14 = __cil_tmp13 + 16;
5287#line 370
5288  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5289#line 370
5290  down_write(__cil_tmp15);
5291#line 370
5292  __cil_tmp16 = (unsigned long )led;
5293#line 370
5294  __cil_tmp17 = __cil_tmp16 + 8;
5295#line 370
5296  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5297#line 370
5298  __cil_tmp19 = (u8 )11;
5299#line 370
5300  __cil_tmp20 = & val;
5301#line 370
5302  __cil_tmp21 = *__cil_tmp20;
5303#line 370
5304  __cil_tmp22 = (unsigned char )__cil_tmp21;
5305#line 370
5306  __cil_tmp23 = (int )__cil_tmp22;
5307#line 370
5308  __cil_tmp24 = (u8 )__cil_tmp23;
5309#line 370
5310  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5311#line 370
5312  __cil_tmp25 = (unsigned long )led;
5313#line 370
5314  __cil_tmp26 = __cil_tmp25 + 16;
5315#line 370
5316  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5317#line 370
5318  up_write(__cil_tmp27);
5319  }
5320#line 370
5321  return ((ssize_t )count);
5322}
5323}
5324#line 370 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5325static struct device_attribute bd2802_reg0x0b_attr  =    {{"0x0b", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5326                                                           {(char)0}, {(char)0}, {(char)0},
5327                                                           {(char)0}, {(char)0}}}},
5328    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0b};
5329#line 371 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5330static ssize_t bd2802_store_reg0x0c(struct device *dev , struct device_attribute *attr ,
5331                                    char const   *buf , size_t count ) 
5332{ struct bd2802_led *led ;
5333  struct device  const  *__mptr ;
5334  void *tmp ;
5335  unsigned long val ;
5336  int ret ;
5337  struct i2c_client *__cil_tmp10 ;
5338  struct i2c_client *__cil_tmp11 ;
5339  struct i2c_client  const  *__cil_tmp12 ;
5340  unsigned long __cil_tmp13 ;
5341  unsigned long __cil_tmp14 ;
5342  struct rw_semaphore *__cil_tmp15 ;
5343  unsigned long __cil_tmp16 ;
5344  unsigned long __cil_tmp17 ;
5345  struct i2c_client *__cil_tmp18 ;
5346  u8 __cil_tmp19 ;
5347  unsigned long *__cil_tmp20 ;
5348  unsigned long __cil_tmp21 ;
5349  unsigned char __cil_tmp22 ;
5350  int __cil_tmp23 ;
5351  u8 __cil_tmp24 ;
5352  unsigned long __cil_tmp25 ;
5353  unsigned long __cil_tmp26 ;
5354  struct rw_semaphore *__cil_tmp27 ;
5355
5356  {
5357  {
5358#line 371
5359  __mptr = (struct device  const  *)dev;
5360#line 371
5361  __cil_tmp10 = (struct i2c_client *)__mptr;
5362#line 371
5363  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5364#line 371
5365  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5366#line 371
5367  tmp = i2c_get_clientdata(__cil_tmp12);
5368#line 371
5369  led = (struct bd2802_led *)tmp;
5370  }
5371#line 371
5372  if (count == 0UL) {
5373#line 371
5374    return (-22L);
5375  } else {
5376
5377  }
5378  {
5379#line 371
5380  ret = kstrtoul(buf, 16U, & val);
5381  }
5382#line 371
5383  if (ret != 0) {
5384#line 371
5385    return ((ssize_t )ret);
5386  } else {
5387
5388  }
5389  {
5390#line 371
5391  __cil_tmp13 = (unsigned long )led;
5392#line 371
5393  __cil_tmp14 = __cil_tmp13 + 16;
5394#line 371
5395  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5396#line 371
5397  down_write(__cil_tmp15);
5398#line 371
5399  __cil_tmp16 = (unsigned long )led;
5400#line 371
5401  __cil_tmp17 = __cil_tmp16 + 8;
5402#line 371
5403  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5404#line 371
5405  __cil_tmp19 = (u8 )12;
5406#line 371
5407  __cil_tmp20 = & val;
5408#line 371
5409  __cil_tmp21 = *__cil_tmp20;
5410#line 371
5411  __cil_tmp22 = (unsigned char )__cil_tmp21;
5412#line 371
5413  __cil_tmp23 = (int )__cil_tmp22;
5414#line 371
5415  __cil_tmp24 = (u8 )__cil_tmp23;
5416#line 371
5417  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5418#line 371
5419  __cil_tmp25 = (unsigned long )led;
5420#line 371
5421  __cil_tmp26 = __cil_tmp25 + 16;
5422#line 371
5423  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5424#line 371
5425  up_write(__cil_tmp27);
5426  }
5427#line 371
5428  return ((ssize_t )count);
5429}
5430}
5431#line 371 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5432static struct device_attribute bd2802_reg0x0c_attr  =    {{"0x0c", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5433                                                           {(char)0}, {(char)0}, {(char)0},
5434                                                           {(char)0}, {(char)0}}}},
5435    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0c};
5436#line 372 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5437static ssize_t bd2802_store_reg0x0d(struct device *dev , struct device_attribute *attr ,
5438                                    char const   *buf , size_t count ) 
5439{ struct bd2802_led *led ;
5440  struct device  const  *__mptr ;
5441  void *tmp ;
5442  unsigned long val ;
5443  int ret ;
5444  struct i2c_client *__cil_tmp10 ;
5445  struct i2c_client *__cil_tmp11 ;
5446  struct i2c_client  const  *__cil_tmp12 ;
5447  unsigned long __cil_tmp13 ;
5448  unsigned long __cil_tmp14 ;
5449  struct rw_semaphore *__cil_tmp15 ;
5450  unsigned long __cil_tmp16 ;
5451  unsigned long __cil_tmp17 ;
5452  struct i2c_client *__cil_tmp18 ;
5453  u8 __cil_tmp19 ;
5454  unsigned long *__cil_tmp20 ;
5455  unsigned long __cil_tmp21 ;
5456  unsigned char __cil_tmp22 ;
5457  int __cil_tmp23 ;
5458  u8 __cil_tmp24 ;
5459  unsigned long __cil_tmp25 ;
5460  unsigned long __cil_tmp26 ;
5461  struct rw_semaphore *__cil_tmp27 ;
5462
5463  {
5464  {
5465#line 372
5466  __mptr = (struct device  const  *)dev;
5467#line 372
5468  __cil_tmp10 = (struct i2c_client *)__mptr;
5469#line 372
5470  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5471#line 372
5472  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5473#line 372
5474  tmp = i2c_get_clientdata(__cil_tmp12);
5475#line 372
5476  led = (struct bd2802_led *)tmp;
5477  }
5478#line 372
5479  if (count == 0UL) {
5480#line 372
5481    return (-22L);
5482  } else {
5483
5484  }
5485  {
5486#line 372
5487  ret = kstrtoul(buf, 16U, & val);
5488  }
5489#line 372
5490  if (ret != 0) {
5491#line 372
5492    return ((ssize_t )ret);
5493  } else {
5494
5495  }
5496  {
5497#line 372
5498  __cil_tmp13 = (unsigned long )led;
5499#line 372
5500  __cil_tmp14 = __cil_tmp13 + 16;
5501#line 372
5502  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5503#line 372
5504  down_write(__cil_tmp15);
5505#line 372
5506  __cil_tmp16 = (unsigned long )led;
5507#line 372
5508  __cil_tmp17 = __cil_tmp16 + 8;
5509#line 372
5510  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5511#line 372
5512  __cil_tmp19 = (u8 )13;
5513#line 372
5514  __cil_tmp20 = & val;
5515#line 372
5516  __cil_tmp21 = *__cil_tmp20;
5517#line 372
5518  __cil_tmp22 = (unsigned char )__cil_tmp21;
5519#line 372
5520  __cil_tmp23 = (int )__cil_tmp22;
5521#line 372
5522  __cil_tmp24 = (u8 )__cil_tmp23;
5523#line 372
5524  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5525#line 372
5526  __cil_tmp25 = (unsigned long )led;
5527#line 372
5528  __cil_tmp26 = __cil_tmp25 + 16;
5529#line 372
5530  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5531#line 372
5532  up_write(__cil_tmp27);
5533  }
5534#line 372
5535  return ((ssize_t )count);
5536}
5537}
5538#line 372 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5539static struct device_attribute bd2802_reg0x0d_attr  =    {{"0x0d", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5540                                                           {(char)0}, {(char)0}, {(char)0},
5541                                                           {(char)0}, {(char)0}}}},
5542    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0d};
5543#line 373 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5544static ssize_t bd2802_store_reg0x0e(struct device *dev , struct device_attribute *attr ,
5545                                    char const   *buf , size_t count ) 
5546{ struct bd2802_led *led ;
5547  struct device  const  *__mptr ;
5548  void *tmp ;
5549  unsigned long val ;
5550  int ret ;
5551  struct i2c_client *__cil_tmp10 ;
5552  struct i2c_client *__cil_tmp11 ;
5553  struct i2c_client  const  *__cil_tmp12 ;
5554  unsigned long __cil_tmp13 ;
5555  unsigned long __cil_tmp14 ;
5556  struct rw_semaphore *__cil_tmp15 ;
5557  unsigned long __cil_tmp16 ;
5558  unsigned long __cil_tmp17 ;
5559  struct i2c_client *__cil_tmp18 ;
5560  u8 __cil_tmp19 ;
5561  unsigned long *__cil_tmp20 ;
5562  unsigned long __cil_tmp21 ;
5563  unsigned char __cil_tmp22 ;
5564  int __cil_tmp23 ;
5565  u8 __cil_tmp24 ;
5566  unsigned long __cil_tmp25 ;
5567  unsigned long __cil_tmp26 ;
5568  struct rw_semaphore *__cil_tmp27 ;
5569
5570  {
5571  {
5572#line 373
5573  __mptr = (struct device  const  *)dev;
5574#line 373
5575  __cil_tmp10 = (struct i2c_client *)__mptr;
5576#line 373
5577  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5578#line 373
5579  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5580#line 373
5581  tmp = i2c_get_clientdata(__cil_tmp12);
5582#line 373
5583  led = (struct bd2802_led *)tmp;
5584  }
5585#line 373
5586  if (count == 0UL) {
5587#line 373
5588    return (-22L);
5589  } else {
5590
5591  }
5592  {
5593#line 373
5594  ret = kstrtoul(buf, 16U, & val);
5595  }
5596#line 373
5597  if (ret != 0) {
5598#line 373
5599    return ((ssize_t )ret);
5600  } else {
5601
5602  }
5603  {
5604#line 373
5605  __cil_tmp13 = (unsigned long )led;
5606#line 373
5607  __cil_tmp14 = __cil_tmp13 + 16;
5608#line 373
5609  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5610#line 373
5611  down_write(__cil_tmp15);
5612#line 373
5613  __cil_tmp16 = (unsigned long )led;
5614#line 373
5615  __cil_tmp17 = __cil_tmp16 + 8;
5616#line 373
5617  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5618#line 373
5619  __cil_tmp19 = (u8 )14;
5620#line 373
5621  __cil_tmp20 = & val;
5622#line 373
5623  __cil_tmp21 = *__cil_tmp20;
5624#line 373
5625  __cil_tmp22 = (unsigned char )__cil_tmp21;
5626#line 373
5627  __cil_tmp23 = (int )__cil_tmp22;
5628#line 373
5629  __cil_tmp24 = (u8 )__cil_tmp23;
5630#line 373
5631  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5632#line 373
5633  __cil_tmp25 = (unsigned long )led;
5634#line 373
5635  __cil_tmp26 = __cil_tmp25 + 16;
5636#line 373
5637  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5638#line 373
5639  up_write(__cil_tmp27);
5640  }
5641#line 373
5642  return ((ssize_t )count);
5643}
5644}
5645#line 373 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5646static struct device_attribute bd2802_reg0x0e_attr  =    {{"0x0e", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5647                                                           {(char)0}, {(char)0}, {(char)0},
5648                                                           {(char)0}, {(char)0}}}},
5649    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0e};
5650#line 374 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5651static ssize_t bd2802_store_reg0x0f(struct device *dev , struct device_attribute *attr ,
5652                                    char const   *buf , size_t count ) 
5653{ struct bd2802_led *led ;
5654  struct device  const  *__mptr ;
5655  void *tmp ;
5656  unsigned long val ;
5657  int ret ;
5658  struct i2c_client *__cil_tmp10 ;
5659  struct i2c_client *__cil_tmp11 ;
5660  struct i2c_client  const  *__cil_tmp12 ;
5661  unsigned long __cil_tmp13 ;
5662  unsigned long __cil_tmp14 ;
5663  struct rw_semaphore *__cil_tmp15 ;
5664  unsigned long __cil_tmp16 ;
5665  unsigned long __cil_tmp17 ;
5666  struct i2c_client *__cil_tmp18 ;
5667  u8 __cil_tmp19 ;
5668  unsigned long *__cil_tmp20 ;
5669  unsigned long __cil_tmp21 ;
5670  unsigned char __cil_tmp22 ;
5671  int __cil_tmp23 ;
5672  u8 __cil_tmp24 ;
5673  unsigned long __cil_tmp25 ;
5674  unsigned long __cil_tmp26 ;
5675  struct rw_semaphore *__cil_tmp27 ;
5676
5677  {
5678  {
5679#line 374
5680  __mptr = (struct device  const  *)dev;
5681#line 374
5682  __cil_tmp10 = (struct i2c_client *)__mptr;
5683#line 374
5684  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5685#line 374
5686  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5687#line 374
5688  tmp = i2c_get_clientdata(__cil_tmp12);
5689#line 374
5690  led = (struct bd2802_led *)tmp;
5691  }
5692#line 374
5693  if (count == 0UL) {
5694#line 374
5695    return (-22L);
5696  } else {
5697
5698  }
5699  {
5700#line 374
5701  ret = kstrtoul(buf, 16U, & val);
5702  }
5703#line 374
5704  if (ret != 0) {
5705#line 374
5706    return ((ssize_t )ret);
5707  } else {
5708
5709  }
5710  {
5711#line 374
5712  __cil_tmp13 = (unsigned long )led;
5713#line 374
5714  __cil_tmp14 = __cil_tmp13 + 16;
5715#line 374
5716  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5717#line 374
5718  down_write(__cil_tmp15);
5719#line 374
5720  __cil_tmp16 = (unsigned long )led;
5721#line 374
5722  __cil_tmp17 = __cil_tmp16 + 8;
5723#line 374
5724  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5725#line 374
5726  __cil_tmp19 = (u8 )15;
5727#line 374
5728  __cil_tmp20 = & val;
5729#line 374
5730  __cil_tmp21 = *__cil_tmp20;
5731#line 374
5732  __cil_tmp22 = (unsigned char )__cil_tmp21;
5733#line 374
5734  __cil_tmp23 = (int )__cil_tmp22;
5735#line 374
5736  __cil_tmp24 = (u8 )__cil_tmp23;
5737#line 374
5738  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5739#line 374
5740  __cil_tmp25 = (unsigned long )led;
5741#line 374
5742  __cil_tmp26 = __cil_tmp25 + 16;
5743#line 374
5744  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5745#line 374
5746  up_write(__cil_tmp27);
5747  }
5748#line 374
5749  return ((ssize_t )count);
5750}
5751}
5752#line 374 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5753static struct device_attribute bd2802_reg0x0f_attr  =    {{"0x0f", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5754                                                           {(char)0}, {(char)0}, {(char)0},
5755                                                           {(char)0}, {(char)0}}}},
5756    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x0f};
5757#line 375 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5758static ssize_t bd2802_store_reg0x10(struct device *dev , struct device_attribute *attr ,
5759                                    char const   *buf , size_t count ) 
5760{ struct bd2802_led *led ;
5761  struct device  const  *__mptr ;
5762  void *tmp ;
5763  unsigned long val ;
5764  int ret ;
5765  struct i2c_client *__cil_tmp10 ;
5766  struct i2c_client *__cil_tmp11 ;
5767  struct i2c_client  const  *__cil_tmp12 ;
5768  unsigned long __cil_tmp13 ;
5769  unsigned long __cil_tmp14 ;
5770  struct rw_semaphore *__cil_tmp15 ;
5771  unsigned long __cil_tmp16 ;
5772  unsigned long __cil_tmp17 ;
5773  struct i2c_client *__cil_tmp18 ;
5774  u8 __cil_tmp19 ;
5775  unsigned long *__cil_tmp20 ;
5776  unsigned long __cil_tmp21 ;
5777  unsigned char __cil_tmp22 ;
5778  int __cil_tmp23 ;
5779  u8 __cil_tmp24 ;
5780  unsigned long __cil_tmp25 ;
5781  unsigned long __cil_tmp26 ;
5782  struct rw_semaphore *__cil_tmp27 ;
5783
5784  {
5785  {
5786#line 375
5787  __mptr = (struct device  const  *)dev;
5788#line 375
5789  __cil_tmp10 = (struct i2c_client *)__mptr;
5790#line 375
5791  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5792#line 375
5793  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5794#line 375
5795  tmp = i2c_get_clientdata(__cil_tmp12);
5796#line 375
5797  led = (struct bd2802_led *)tmp;
5798  }
5799#line 375
5800  if (count == 0UL) {
5801#line 375
5802    return (-22L);
5803  } else {
5804
5805  }
5806  {
5807#line 375
5808  ret = kstrtoul(buf, 16U, & val);
5809  }
5810#line 375
5811  if (ret != 0) {
5812#line 375
5813    return ((ssize_t )ret);
5814  } else {
5815
5816  }
5817  {
5818#line 375
5819  __cil_tmp13 = (unsigned long )led;
5820#line 375
5821  __cil_tmp14 = __cil_tmp13 + 16;
5822#line 375
5823  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5824#line 375
5825  down_write(__cil_tmp15);
5826#line 375
5827  __cil_tmp16 = (unsigned long )led;
5828#line 375
5829  __cil_tmp17 = __cil_tmp16 + 8;
5830#line 375
5831  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5832#line 375
5833  __cil_tmp19 = (u8 )16;
5834#line 375
5835  __cil_tmp20 = & val;
5836#line 375
5837  __cil_tmp21 = *__cil_tmp20;
5838#line 375
5839  __cil_tmp22 = (unsigned char )__cil_tmp21;
5840#line 375
5841  __cil_tmp23 = (int )__cil_tmp22;
5842#line 375
5843  __cil_tmp24 = (u8 )__cil_tmp23;
5844#line 375
5845  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5846#line 375
5847  __cil_tmp25 = (unsigned long )led;
5848#line 375
5849  __cil_tmp26 = __cil_tmp25 + 16;
5850#line 375
5851  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5852#line 375
5853  up_write(__cil_tmp27);
5854  }
5855#line 375
5856  return ((ssize_t )count);
5857}
5858}
5859#line 375 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5860static struct device_attribute bd2802_reg0x10_attr  =    {{"0x10", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5861                                                           {(char)0}, {(char)0}, {(char)0},
5862                                                           {(char)0}, {(char)0}}}},
5863    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x10};
5864#line 376 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5865static ssize_t bd2802_store_reg0x11(struct device *dev , struct device_attribute *attr ,
5866                                    char const   *buf , size_t count ) 
5867{ struct bd2802_led *led ;
5868  struct device  const  *__mptr ;
5869  void *tmp ;
5870  unsigned long val ;
5871  int ret ;
5872  struct i2c_client *__cil_tmp10 ;
5873  struct i2c_client *__cil_tmp11 ;
5874  struct i2c_client  const  *__cil_tmp12 ;
5875  unsigned long __cil_tmp13 ;
5876  unsigned long __cil_tmp14 ;
5877  struct rw_semaphore *__cil_tmp15 ;
5878  unsigned long __cil_tmp16 ;
5879  unsigned long __cil_tmp17 ;
5880  struct i2c_client *__cil_tmp18 ;
5881  u8 __cil_tmp19 ;
5882  unsigned long *__cil_tmp20 ;
5883  unsigned long __cil_tmp21 ;
5884  unsigned char __cil_tmp22 ;
5885  int __cil_tmp23 ;
5886  u8 __cil_tmp24 ;
5887  unsigned long __cil_tmp25 ;
5888  unsigned long __cil_tmp26 ;
5889  struct rw_semaphore *__cil_tmp27 ;
5890
5891  {
5892  {
5893#line 376
5894  __mptr = (struct device  const  *)dev;
5895#line 376
5896  __cil_tmp10 = (struct i2c_client *)__mptr;
5897#line 376
5898  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
5899#line 376
5900  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
5901#line 376
5902  tmp = i2c_get_clientdata(__cil_tmp12);
5903#line 376
5904  led = (struct bd2802_led *)tmp;
5905  }
5906#line 376
5907  if (count == 0UL) {
5908#line 376
5909    return (-22L);
5910  } else {
5911
5912  }
5913  {
5914#line 376
5915  ret = kstrtoul(buf, 16U, & val);
5916  }
5917#line 376
5918  if (ret != 0) {
5919#line 376
5920    return ((ssize_t )ret);
5921  } else {
5922
5923  }
5924  {
5925#line 376
5926  __cil_tmp13 = (unsigned long )led;
5927#line 376
5928  __cil_tmp14 = __cil_tmp13 + 16;
5929#line 376
5930  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
5931#line 376
5932  down_write(__cil_tmp15);
5933#line 376
5934  __cil_tmp16 = (unsigned long )led;
5935#line 376
5936  __cil_tmp17 = __cil_tmp16 + 8;
5937#line 376
5938  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
5939#line 376
5940  __cil_tmp19 = (u8 )17;
5941#line 376
5942  __cil_tmp20 = & val;
5943#line 376
5944  __cil_tmp21 = *__cil_tmp20;
5945#line 376
5946  __cil_tmp22 = (unsigned char )__cil_tmp21;
5947#line 376
5948  __cil_tmp23 = (int )__cil_tmp22;
5949#line 376
5950  __cil_tmp24 = (u8 )__cil_tmp23;
5951#line 376
5952  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
5953#line 376
5954  __cil_tmp25 = (unsigned long )led;
5955#line 376
5956  __cil_tmp26 = __cil_tmp25 + 16;
5957#line 376
5958  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
5959#line 376
5960  up_write(__cil_tmp27);
5961  }
5962#line 376
5963  return ((ssize_t )count);
5964}
5965}
5966#line 376 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5967static struct device_attribute bd2802_reg0x11_attr  =    {{"0x11", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
5968                                                           {(char)0}, {(char)0}, {(char)0},
5969                                                           {(char)0}, {(char)0}}}},
5970    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x11};
5971#line 377 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
5972static ssize_t bd2802_store_reg0x12(struct device *dev , struct device_attribute *attr ,
5973                                    char const   *buf , size_t count ) 
5974{ struct bd2802_led *led ;
5975  struct device  const  *__mptr ;
5976  void *tmp ;
5977  unsigned long val ;
5978  int ret ;
5979  struct i2c_client *__cil_tmp10 ;
5980  struct i2c_client *__cil_tmp11 ;
5981  struct i2c_client  const  *__cil_tmp12 ;
5982  unsigned long __cil_tmp13 ;
5983  unsigned long __cil_tmp14 ;
5984  struct rw_semaphore *__cil_tmp15 ;
5985  unsigned long __cil_tmp16 ;
5986  unsigned long __cil_tmp17 ;
5987  struct i2c_client *__cil_tmp18 ;
5988  u8 __cil_tmp19 ;
5989  unsigned long *__cil_tmp20 ;
5990  unsigned long __cil_tmp21 ;
5991  unsigned char __cil_tmp22 ;
5992  int __cil_tmp23 ;
5993  u8 __cil_tmp24 ;
5994  unsigned long __cil_tmp25 ;
5995  unsigned long __cil_tmp26 ;
5996  struct rw_semaphore *__cil_tmp27 ;
5997
5998  {
5999  {
6000#line 377
6001  __mptr = (struct device  const  *)dev;
6002#line 377
6003  __cil_tmp10 = (struct i2c_client *)__mptr;
6004#line 377
6005  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6006#line 377
6007  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6008#line 377
6009  tmp = i2c_get_clientdata(__cil_tmp12);
6010#line 377
6011  led = (struct bd2802_led *)tmp;
6012  }
6013#line 377
6014  if (count == 0UL) {
6015#line 377
6016    return (-22L);
6017  } else {
6018
6019  }
6020  {
6021#line 377
6022  ret = kstrtoul(buf, 16U, & val);
6023  }
6024#line 377
6025  if (ret != 0) {
6026#line 377
6027    return ((ssize_t )ret);
6028  } else {
6029
6030  }
6031  {
6032#line 377
6033  __cil_tmp13 = (unsigned long )led;
6034#line 377
6035  __cil_tmp14 = __cil_tmp13 + 16;
6036#line 377
6037  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
6038#line 377
6039  down_write(__cil_tmp15);
6040#line 377
6041  __cil_tmp16 = (unsigned long )led;
6042#line 377
6043  __cil_tmp17 = __cil_tmp16 + 8;
6044#line 377
6045  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
6046#line 377
6047  __cil_tmp19 = (u8 )18;
6048#line 377
6049  __cil_tmp20 = & val;
6050#line 377
6051  __cil_tmp21 = *__cil_tmp20;
6052#line 377
6053  __cil_tmp22 = (unsigned char )__cil_tmp21;
6054#line 377
6055  __cil_tmp23 = (int )__cil_tmp22;
6056#line 377
6057  __cil_tmp24 = (u8 )__cil_tmp23;
6058#line 377
6059  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
6060#line 377
6061  __cil_tmp25 = (unsigned long )led;
6062#line 377
6063  __cil_tmp26 = __cil_tmp25 + 16;
6064#line 377
6065  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
6066#line 377
6067  up_write(__cil_tmp27);
6068  }
6069#line 377
6070  return ((ssize_t )count);
6071}
6072}
6073#line 377 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6074static struct device_attribute bd2802_reg0x12_attr  =    {{"0x12", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
6075                                                           {(char)0}, {(char)0}, {(char)0},
6076                                                           {(char)0}, {(char)0}}}},
6077    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x12};
6078#line 378 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6079static ssize_t bd2802_store_reg0x13(struct device *dev , struct device_attribute *attr ,
6080                                    char const   *buf , size_t count ) 
6081{ struct bd2802_led *led ;
6082  struct device  const  *__mptr ;
6083  void *tmp ;
6084  unsigned long val ;
6085  int ret ;
6086  struct i2c_client *__cil_tmp10 ;
6087  struct i2c_client *__cil_tmp11 ;
6088  struct i2c_client  const  *__cil_tmp12 ;
6089  unsigned long __cil_tmp13 ;
6090  unsigned long __cil_tmp14 ;
6091  struct rw_semaphore *__cil_tmp15 ;
6092  unsigned long __cil_tmp16 ;
6093  unsigned long __cil_tmp17 ;
6094  struct i2c_client *__cil_tmp18 ;
6095  u8 __cil_tmp19 ;
6096  unsigned long *__cil_tmp20 ;
6097  unsigned long __cil_tmp21 ;
6098  unsigned char __cil_tmp22 ;
6099  int __cil_tmp23 ;
6100  u8 __cil_tmp24 ;
6101  unsigned long __cil_tmp25 ;
6102  unsigned long __cil_tmp26 ;
6103  struct rw_semaphore *__cil_tmp27 ;
6104
6105  {
6106  {
6107#line 378
6108  __mptr = (struct device  const  *)dev;
6109#line 378
6110  __cil_tmp10 = (struct i2c_client *)__mptr;
6111#line 378
6112  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6113#line 378
6114  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6115#line 378
6116  tmp = i2c_get_clientdata(__cil_tmp12);
6117#line 378
6118  led = (struct bd2802_led *)tmp;
6119  }
6120#line 378
6121  if (count == 0UL) {
6122#line 378
6123    return (-22L);
6124  } else {
6125
6126  }
6127  {
6128#line 378
6129  ret = kstrtoul(buf, 16U, & val);
6130  }
6131#line 378
6132  if (ret != 0) {
6133#line 378
6134    return ((ssize_t )ret);
6135  } else {
6136
6137  }
6138  {
6139#line 378
6140  __cil_tmp13 = (unsigned long )led;
6141#line 378
6142  __cil_tmp14 = __cil_tmp13 + 16;
6143#line 378
6144  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
6145#line 378
6146  down_write(__cil_tmp15);
6147#line 378
6148  __cil_tmp16 = (unsigned long )led;
6149#line 378
6150  __cil_tmp17 = __cil_tmp16 + 8;
6151#line 378
6152  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
6153#line 378
6154  __cil_tmp19 = (u8 )19;
6155#line 378
6156  __cil_tmp20 = & val;
6157#line 378
6158  __cil_tmp21 = *__cil_tmp20;
6159#line 378
6160  __cil_tmp22 = (unsigned char )__cil_tmp21;
6161#line 378
6162  __cil_tmp23 = (int )__cil_tmp22;
6163#line 378
6164  __cil_tmp24 = (u8 )__cil_tmp23;
6165#line 378
6166  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
6167#line 378
6168  __cil_tmp25 = (unsigned long )led;
6169#line 378
6170  __cil_tmp26 = __cil_tmp25 + 16;
6171#line 378
6172  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
6173#line 378
6174  up_write(__cil_tmp27);
6175  }
6176#line 378
6177  return ((ssize_t )count);
6178}
6179}
6180#line 378 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6181static struct device_attribute bd2802_reg0x13_attr  =    {{"0x13", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
6182                                                           {(char)0}, {(char)0}, {(char)0},
6183                                                           {(char)0}, {(char)0}}}},
6184    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x13};
6185#line 379 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6186static ssize_t bd2802_store_reg0x14(struct device *dev , struct device_attribute *attr ,
6187                                    char const   *buf , size_t count ) 
6188{ struct bd2802_led *led ;
6189  struct device  const  *__mptr ;
6190  void *tmp ;
6191  unsigned long val ;
6192  int ret ;
6193  struct i2c_client *__cil_tmp10 ;
6194  struct i2c_client *__cil_tmp11 ;
6195  struct i2c_client  const  *__cil_tmp12 ;
6196  unsigned long __cil_tmp13 ;
6197  unsigned long __cil_tmp14 ;
6198  struct rw_semaphore *__cil_tmp15 ;
6199  unsigned long __cil_tmp16 ;
6200  unsigned long __cil_tmp17 ;
6201  struct i2c_client *__cil_tmp18 ;
6202  u8 __cil_tmp19 ;
6203  unsigned long *__cil_tmp20 ;
6204  unsigned long __cil_tmp21 ;
6205  unsigned char __cil_tmp22 ;
6206  int __cil_tmp23 ;
6207  u8 __cil_tmp24 ;
6208  unsigned long __cil_tmp25 ;
6209  unsigned long __cil_tmp26 ;
6210  struct rw_semaphore *__cil_tmp27 ;
6211
6212  {
6213  {
6214#line 379
6215  __mptr = (struct device  const  *)dev;
6216#line 379
6217  __cil_tmp10 = (struct i2c_client *)__mptr;
6218#line 379
6219  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6220#line 379
6221  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6222#line 379
6223  tmp = i2c_get_clientdata(__cil_tmp12);
6224#line 379
6225  led = (struct bd2802_led *)tmp;
6226  }
6227#line 379
6228  if (count == 0UL) {
6229#line 379
6230    return (-22L);
6231  } else {
6232
6233  }
6234  {
6235#line 379
6236  ret = kstrtoul(buf, 16U, & val);
6237  }
6238#line 379
6239  if (ret != 0) {
6240#line 379
6241    return ((ssize_t )ret);
6242  } else {
6243
6244  }
6245  {
6246#line 379
6247  __cil_tmp13 = (unsigned long )led;
6248#line 379
6249  __cil_tmp14 = __cil_tmp13 + 16;
6250#line 379
6251  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
6252#line 379
6253  down_write(__cil_tmp15);
6254#line 379
6255  __cil_tmp16 = (unsigned long )led;
6256#line 379
6257  __cil_tmp17 = __cil_tmp16 + 8;
6258#line 379
6259  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
6260#line 379
6261  __cil_tmp19 = (u8 )20;
6262#line 379
6263  __cil_tmp20 = & val;
6264#line 379
6265  __cil_tmp21 = *__cil_tmp20;
6266#line 379
6267  __cil_tmp22 = (unsigned char )__cil_tmp21;
6268#line 379
6269  __cil_tmp23 = (int )__cil_tmp22;
6270#line 379
6271  __cil_tmp24 = (u8 )__cil_tmp23;
6272#line 379
6273  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
6274#line 379
6275  __cil_tmp25 = (unsigned long )led;
6276#line 379
6277  __cil_tmp26 = __cil_tmp25 + 16;
6278#line 379
6279  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
6280#line 379
6281  up_write(__cil_tmp27);
6282  }
6283#line 379
6284  return ((ssize_t )count);
6285}
6286}
6287#line 379 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6288static struct device_attribute bd2802_reg0x14_attr  =    {{"0x14", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
6289                                                           {(char)0}, {(char)0}, {(char)0},
6290                                                           {(char)0}, {(char)0}}}},
6291    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x14};
6292#line 380 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6293static ssize_t bd2802_store_reg0x15(struct device *dev , struct device_attribute *attr ,
6294                                    char const   *buf , size_t count ) 
6295{ struct bd2802_led *led ;
6296  struct device  const  *__mptr ;
6297  void *tmp ;
6298  unsigned long val ;
6299  int ret ;
6300  struct i2c_client *__cil_tmp10 ;
6301  struct i2c_client *__cil_tmp11 ;
6302  struct i2c_client  const  *__cil_tmp12 ;
6303  unsigned long __cil_tmp13 ;
6304  unsigned long __cil_tmp14 ;
6305  struct rw_semaphore *__cil_tmp15 ;
6306  unsigned long __cil_tmp16 ;
6307  unsigned long __cil_tmp17 ;
6308  struct i2c_client *__cil_tmp18 ;
6309  u8 __cil_tmp19 ;
6310  unsigned long *__cil_tmp20 ;
6311  unsigned long __cil_tmp21 ;
6312  unsigned char __cil_tmp22 ;
6313  int __cil_tmp23 ;
6314  u8 __cil_tmp24 ;
6315  unsigned long __cil_tmp25 ;
6316  unsigned long __cil_tmp26 ;
6317  struct rw_semaphore *__cil_tmp27 ;
6318
6319  {
6320  {
6321#line 380
6322  __mptr = (struct device  const  *)dev;
6323#line 380
6324  __cil_tmp10 = (struct i2c_client *)__mptr;
6325#line 380
6326  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6327#line 380
6328  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6329#line 380
6330  tmp = i2c_get_clientdata(__cil_tmp12);
6331#line 380
6332  led = (struct bd2802_led *)tmp;
6333  }
6334#line 380
6335  if (count == 0UL) {
6336#line 380
6337    return (-22L);
6338  } else {
6339
6340  }
6341  {
6342#line 380
6343  ret = kstrtoul(buf, 16U, & val);
6344  }
6345#line 380
6346  if (ret != 0) {
6347#line 380
6348    return ((ssize_t )ret);
6349  } else {
6350
6351  }
6352  {
6353#line 380
6354  __cil_tmp13 = (unsigned long )led;
6355#line 380
6356  __cil_tmp14 = __cil_tmp13 + 16;
6357#line 380
6358  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
6359#line 380
6360  down_write(__cil_tmp15);
6361#line 380
6362  __cil_tmp16 = (unsigned long )led;
6363#line 380
6364  __cil_tmp17 = __cil_tmp16 + 8;
6365#line 380
6366  __cil_tmp18 = *((struct i2c_client **)__cil_tmp17);
6367#line 380
6368  __cil_tmp19 = (u8 )21;
6369#line 380
6370  __cil_tmp20 = & val;
6371#line 380
6372  __cil_tmp21 = *__cil_tmp20;
6373#line 380
6374  __cil_tmp22 = (unsigned char )__cil_tmp21;
6375#line 380
6376  __cil_tmp23 = (int )__cil_tmp22;
6377#line 380
6378  __cil_tmp24 = (u8 )__cil_tmp23;
6379#line 380
6380  bd2802_write_byte(__cil_tmp18, __cil_tmp19, __cil_tmp24);
6381#line 380
6382  __cil_tmp25 = (unsigned long )led;
6383#line 380
6384  __cil_tmp26 = __cil_tmp25 + 16;
6385#line 380
6386  __cil_tmp27 = (struct rw_semaphore *)__cil_tmp26;
6387#line 380
6388  up_write(__cil_tmp27);
6389  }
6390#line 380
6391  return ((ssize_t )count);
6392}
6393}
6394#line 380 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6395static struct device_attribute bd2802_reg0x15_attr  =    {{"0x15", (umode_t )420U, (struct lock_class_key *)0, {{{(char)0}, {(char)0}, {(char)0},
6396                                                           {(char)0}, {(char)0}, {(char)0},
6397                                                           {(char)0}, {(char)0}}}},
6398    (ssize_t (*)(struct device * , struct device_attribute * , char * ))0, & bd2802_store_reg0x15};
6399#line 382 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6400static struct device_attribute *bd2802_addr_attributes[22U]  = 
6401#line 382
6402  {      & bd2802_reg0x00_attr,      & bd2802_reg0x01_attr,      & bd2802_reg0x02_attr,      & bd2802_reg0x03_attr, 
6403        & bd2802_reg0x04_attr,      & bd2802_reg0x05_attr,      & bd2802_reg0x06_attr,      & bd2802_reg0x07_attr, 
6404        & bd2802_reg0x08_attr,      & bd2802_reg0x09_attr,      & bd2802_reg0x0a_attr,      & bd2802_reg0x0b_attr, 
6405        & bd2802_reg0x0c_attr,      & bd2802_reg0x0d_attr,      & bd2802_reg0x0e_attr,      & bd2802_reg0x0f_attr, 
6406        & bd2802_reg0x10_attr,      & bd2802_reg0x11_attr,      & bd2802_reg0x12_attr,      & bd2802_reg0x13_attr, 
6407        & bd2802_reg0x14_attr,      & bd2802_reg0x15_attr};
6408#line 407 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6409static void bd2802_enable_adv_conf(struct bd2802_led *led ) 
6410{ int i ;
6411  int ret ;
6412  int tmp ;
6413  unsigned long __cil_tmp5 ;
6414  unsigned long __cil_tmp6 ;
6415  struct i2c_client *__cil_tmp7 ;
6416  unsigned long __cil_tmp8 ;
6417  unsigned long __cil_tmp9 ;
6418  struct device *__cil_tmp10 ;
6419  unsigned long __cil_tmp11 ;
6420  unsigned long __cil_tmp12 ;
6421  struct device_attribute *__cil_tmp13 ;
6422  struct device_attribute  const  *__cil_tmp14 ;
6423  unsigned long __cil_tmp15 ;
6424  unsigned long __cil_tmp16 ;
6425  struct i2c_client *__cil_tmp17 ;
6426  unsigned long __cil_tmp18 ;
6427  unsigned long __cil_tmp19 ;
6428  struct device *__cil_tmp20 ;
6429  struct device  const  *__cil_tmp21 ;
6430  unsigned long __cil_tmp22 ;
6431  unsigned long __cil_tmp23 ;
6432  struct device_attribute *__cil_tmp24 ;
6433  char const   *__cil_tmp25 ;
6434  unsigned int __cil_tmp26 ;
6435  unsigned long __cil_tmp27 ;
6436  unsigned long __cil_tmp28 ;
6437  unsigned long __cil_tmp29 ;
6438  unsigned long __cil_tmp30 ;
6439  struct i2c_client *__cil_tmp31 ;
6440  unsigned long __cil_tmp32 ;
6441  unsigned long __cil_tmp33 ;
6442  struct device *__cil_tmp34 ;
6443  unsigned long __cil_tmp35 ;
6444  unsigned long __cil_tmp36 ;
6445  struct device_attribute *__cil_tmp37 ;
6446  struct device_attribute  const  *__cil_tmp38 ;
6447
6448  {
6449#line 411
6450  i = 0;
6451#line 411
6452  goto ldv_19424;
6453  ldv_19423: 
6454  {
6455#line 412
6456  __cil_tmp5 = (unsigned long )led;
6457#line 412
6458  __cil_tmp6 = __cil_tmp5 + 8;
6459#line 412
6460  __cil_tmp7 = *((struct i2c_client **)__cil_tmp6);
6461#line 412
6462  __cil_tmp8 = (unsigned long )__cil_tmp7;
6463#line 412
6464  __cil_tmp9 = __cil_tmp8 + 40;
6465#line 412
6466  __cil_tmp10 = (struct device *)__cil_tmp9;
6467#line 412
6468  __cil_tmp11 = i * 8UL;
6469#line 412
6470  __cil_tmp12 = (unsigned long )(bd2802_addr_attributes) + __cil_tmp11;
6471#line 412
6472  __cil_tmp13 = *((struct device_attribute **)__cil_tmp12);
6473#line 412
6474  __cil_tmp14 = (struct device_attribute  const  *)__cil_tmp13;
6475#line 412
6476  ret = device_create_file(__cil_tmp10, __cil_tmp14);
6477  }
6478#line 414
6479  if (ret != 0) {
6480    {
6481#line 415
6482    __cil_tmp15 = (unsigned long )led;
6483#line 415
6484    __cil_tmp16 = __cil_tmp15 + 8;
6485#line 415
6486    __cil_tmp17 = *((struct i2c_client **)__cil_tmp16);
6487#line 415
6488    __cil_tmp18 = (unsigned long )__cil_tmp17;
6489#line 415
6490    __cil_tmp19 = __cil_tmp18 + 40;
6491#line 415
6492    __cil_tmp20 = (struct device *)__cil_tmp19;
6493#line 415
6494    __cil_tmp21 = (struct device  const  *)__cil_tmp20;
6495#line 415
6496    __cil_tmp22 = i * 8UL;
6497#line 415
6498    __cil_tmp23 = (unsigned long )(bd2802_addr_attributes) + __cil_tmp22;
6499#line 415
6500    __cil_tmp24 = *((struct device_attribute **)__cil_tmp23);
6501#line 415
6502    __cil_tmp25 = *((char const   **)__cil_tmp24);
6503#line 415
6504    dev_err(__cil_tmp21, "failed: sysfs file %s\n", __cil_tmp25);
6505    }
6506#line 417
6507    goto failed_remove_files;
6508  } else {
6509
6510  }
6511#line 411
6512  i = i + 1;
6513  ldv_19424: ;
6514  {
6515#line 411
6516  __cil_tmp26 = (unsigned int )i;
6517#line 411
6518  if (__cil_tmp26 <= 21U) {
6519#line 412
6520    goto ldv_19423;
6521  } else {
6522#line 414
6523    goto ldv_19425;
6524  }
6525  }
6526  ldv_19425: 
6527  {
6528#line 421
6529  tmp = bd2802_is_all_off(led);
6530  }
6531#line 421
6532  if (tmp != 0) {
6533    {
6534#line 422
6535    bd2802_reset_cancel(led);
6536    }
6537  } else {
6538
6539  }
6540#line 424
6541  __cil_tmp27 = (unsigned long )led;
6542#line 424
6543  __cil_tmp28 = __cil_tmp27 + 2696;
6544#line 424
6545  *((int *)__cil_tmp28) = 1;
6546#line 426
6547  return;
6548  failed_remove_files: 
6549#line 429
6550  i = i - 1;
6551#line 429
6552  goto ldv_19427;
6553  ldv_19426: 
6554  {
6555#line 430
6556  __cil_tmp29 = (unsigned long )led;
6557#line 430
6558  __cil_tmp30 = __cil_tmp29 + 8;
6559#line 430
6560  __cil_tmp31 = *((struct i2c_client **)__cil_tmp30);
6561#line 430
6562  __cil_tmp32 = (unsigned long )__cil_tmp31;
6563#line 430
6564  __cil_tmp33 = __cil_tmp32 + 40;
6565#line 430
6566  __cil_tmp34 = (struct device *)__cil_tmp33;
6567#line 430
6568  __cil_tmp35 = i * 8UL;
6569#line 430
6570  __cil_tmp36 = (unsigned long )(bd2802_addr_attributes) + __cil_tmp35;
6571#line 430
6572  __cil_tmp37 = *((struct device_attribute **)__cil_tmp36);
6573#line 430
6574  __cil_tmp38 = (struct device_attribute  const  *)__cil_tmp37;
6575#line 430
6576  device_remove_file(__cil_tmp34, __cil_tmp38);
6577#line 429
6578  i = i - 1;
6579  }
6580  ldv_19427: ;
6581#line 429
6582  if (i >= 0) {
6583#line 430
6584    goto ldv_19426;
6585  } else {
6586#line 432
6587    goto ldv_19428;
6588  }
6589  ldv_19428: ;
6590#line 434
6591  return;
6592}
6593}
6594#line 434 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6595static void bd2802_disable_adv_conf(struct bd2802_led *led ) 
6596{ int i ;
6597  int tmp ;
6598  unsigned long __cil_tmp4 ;
6599  unsigned long __cil_tmp5 ;
6600  struct i2c_client *__cil_tmp6 ;
6601  unsigned long __cil_tmp7 ;
6602  unsigned long __cil_tmp8 ;
6603  struct device *__cil_tmp9 ;
6604  unsigned long __cil_tmp10 ;
6605  unsigned long __cil_tmp11 ;
6606  struct device_attribute *__cil_tmp12 ;
6607  struct device_attribute  const  *__cil_tmp13 ;
6608  unsigned int __cil_tmp14 ;
6609  struct bd2802_led_platform_data *__cil_tmp15 ;
6610  int __cil_tmp16 ;
6611  unsigned int __cil_tmp17 ;
6612  unsigned long __cil_tmp18 ;
6613  unsigned long __cil_tmp19 ;
6614
6615  {
6616#line 438
6617  i = 0;
6618#line 438
6619  goto ldv_19436;
6620  ldv_19435: 
6621  {
6622#line 439
6623  __cil_tmp4 = (unsigned long )led;
6624#line 439
6625  __cil_tmp5 = __cil_tmp4 + 8;
6626#line 439
6627  __cil_tmp6 = *((struct i2c_client **)__cil_tmp5);
6628#line 439
6629  __cil_tmp7 = (unsigned long )__cil_tmp6;
6630#line 439
6631  __cil_tmp8 = __cil_tmp7 + 40;
6632#line 439
6633  __cil_tmp9 = (struct device *)__cil_tmp8;
6634#line 439
6635  __cil_tmp10 = i * 8UL;
6636#line 439
6637  __cil_tmp11 = (unsigned long )(bd2802_addr_attributes) + __cil_tmp10;
6638#line 439
6639  __cil_tmp12 = *((struct device_attribute **)__cil_tmp11);
6640#line 439
6641  __cil_tmp13 = (struct device_attribute  const  *)__cil_tmp12;
6642#line 439
6643  device_remove_file(__cil_tmp9, __cil_tmp13);
6644#line 438
6645  i = i + 1;
6646  }
6647  ldv_19436: ;
6648  {
6649#line 438
6650  __cil_tmp14 = (unsigned int )i;
6651#line 438
6652  if (__cil_tmp14 <= 21U) {
6653#line 439
6654    goto ldv_19435;
6655  } else {
6656#line 441
6657    goto ldv_19437;
6658  }
6659  }
6660  ldv_19437: 
6661  {
6662#line 442
6663  tmp = bd2802_is_all_off(led);
6664  }
6665#line 442
6666  if (tmp != 0) {
6667    {
6668#line 443
6669    __cil_tmp15 = *((struct bd2802_led_platform_data **)led);
6670#line 443
6671    __cil_tmp16 = *((int *)__cil_tmp15);
6672#line 443
6673    __cil_tmp17 = (unsigned int )__cil_tmp16;
6674#line 443
6675    gpio_set_value(__cil_tmp17, 0);
6676    }
6677  } else {
6678
6679  }
6680#line 445
6681  __cil_tmp18 = (unsigned long )led;
6682#line 445
6683  __cil_tmp19 = __cil_tmp18 + 2696;
6684#line 445
6685  *((int *)__cil_tmp19) = 0;
6686#line 446
6687  return;
6688}
6689}
6690#line 448 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6691static ssize_t bd2802_show_adv_conf(struct device *dev , struct device_attribute *attr ,
6692                                    char *buf ) 
6693{ struct bd2802_led *led ;
6694  struct device  const  *__mptr ;
6695  void *tmp ;
6696  ssize_t ret ;
6697  int tmp___0 ;
6698  int tmp___1 ;
6699  struct i2c_client *__cil_tmp10 ;
6700  struct i2c_client *__cil_tmp11 ;
6701  struct i2c_client  const  *__cil_tmp12 ;
6702  unsigned long __cil_tmp13 ;
6703  unsigned long __cil_tmp14 ;
6704  struct rw_semaphore *__cil_tmp15 ;
6705  unsigned long __cil_tmp16 ;
6706  unsigned long __cil_tmp17 ;
6707  int __cil_tmp18 ;
6708  unsigned long __cil_tmp19 ;
6709  unsigned long __cil_tmp20 ;
6710  struct rw_semaphore *__cil_tmp21 ;
6711
6712  {
6713  {
6714#line 451
6715  __mptr = (struct device  const  *)dev;
6716#line 451
6717  __cil_tmp10 = (struct i2c_client *)__mptr;
6718#line 451
6719  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6720#line 451
6721  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6722#line 451
6723  tmp = i2c_get_clientdata(__cil_tmp12);
6724#line 451
6725  led = (struct bd2802_led *)tmp;
6726#line 454
6727  __cil_tmp13 = (unsigned long )led;
6728#line 454
6729  __cil_tmp14 = __cil_tmp13 + 16;
6730#line 454
6731  __cil_tmp15 = (struct rw_semaphore *)__cil_tmp14;
6732#line 454
6733  down_read(__cil_tmp15);
6734  }
6735  {
6736#line 455
6737  __cil_tmp16 = (unsigned long )led;
6738#line 455
6739  __cil_tmp17 = __cil_tmp16 + 2696;
6740#line 455
6741  __cil_tmp18 = *((int *)__cil_tmp17);
6742#line 455
6743  if (__cil_tmp18 != 0) {
6744    {
6745#line 456
6746    tmp___0 = sprintf(buf, "on\n");
6747#line 456
6748    ret = (ssize_t )tmp___0;
6749    }
6750  } else {
6751    {
6752#line 458
6753    tmp___1 = sprintf(buf, "off\n");
6754#line 458
6755    ret = (ssize_t )tmp___1;
6756    }
6757  }
6758  }
6759  {
6760#line 459
6761  __cil_tmp19 = (unsigned long )led;
6762#line 459
6763  __cil_tmp20 = __cil_tmp19 + 16;
6764#line 459
6765  __cil_tmp21 = (struct rw_semaphore *)__cil_tmp20;
6766#line 459
6767  up_read(__cil_tmp21);
6768  }
6769#line 461
6770  return (ret);
6771}
6772}
6773#line 464 "/home/zakharov/launch/work/current--X--drivers/--X--defaultlinux-3.4--X--43_1a--X--cpachecker/linux-3.4/csd_deg_dscv/12440/dscv_tempdir/dscv/ri/43_1a/drivers/leds/leds-bd2802.c.p"
6774static ssize_t bd2802_store_adv_conf(struct device *dev , struct device_attribute *attr ,
6775                                     char const   *buf , size_t count ) 
6776{ struct bd2802_led *led ;
6777  struct device  const  *__mptr ;
6778  void *tmp ;
6779  int tmp___0 ;
6780  int tmp___1 ;
6781  struct i2c_client *__cil_tmp10 ;
6782  struct i2c_client *__cil_tmp11 ;
6783  struct i2c_client  const  *__cil_tmp12 ;
6784  unsigned long __cil_tmp13 ;
6785  unsigned long __cil_tmp14 ;
6786  struct rw_semaphore *__cil_tmp15 ;
6787  unsigned long __cil_tmp16 ;
6788  unsigned long __cil_tmp17 ;
6789  int __cil_tmp18 ;
6790  unsigned long __cil_tmp19 ;
6791  unsigned long __cil_tmp20 ;
6792  int __cil_tmp21 ;
6793  unsigned long __cil_tmp22 ;
6794  unsigned long __cil_tmp23 ;
6795  struct rw_semaphore *__cil_tmp24 ;
6796
6797  {
6798  {
6799#line 467
6800  __mptr = (struct device  const  *)dev;
6801#line 467
6802  __cil_tmp10 = (struct i2c_client *)__mptr;
6803#line 467
6804  __cil_tmp11 = __cil_tmp10 + 0xffffffffffffffd8UL;
6805#line 467
6806  __cil_tmp12 = (struct i2c_client  const  *)__cil_tmp11;
6807#line 467
6808  tmp = i2c_get_clientdata(__cil_tmp12);
6809#line 467
6810  led = (struct bd2802_led *)tmp;
6811  }
6812#line 469
6813  if (count == 0UL) {
6814#line 470
6815