led 13 include/debug_led.h void camera_set_led(int led, int state, int bright); led 215 include/lolevel.h extern int _LEDDrive(int led, int action); led 21 loader/generic/check_compat.c unsigned int led; // LED MMIO address (BLINK_LED_GPIO= in platform/(cam)/makefile.inc) led 52 loader/generic/check_compat.c void set_led(int led, int state, int method) { led 53 loader/generic/check_compat.c volatile long *p = (void*)led; led 93 loader/generic/check_compat.c unsigned int led = 0; led 99 loader/generic/check_compat.c led = pid_leds[i].led; led 105 loader/generic/check_compat.c if (!led) led 109 loader/generic/check_compat.c set_led(led, 1, method); led 113 loader/generic/check_compat.c set_led(led, 0, method); led 44 platform/a1000/lib.c void camera_set_led(int led, int state, int bright) { led 57 platform/a1000/lib.c led_c.led_num=convert_table[led%11]; led 39 platform/a1100/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 41 platform/a1100/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 30 platform/a1200/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 33 platform/a1200/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 39 platform/a1300/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 41 platform/a1300/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 31 platform/a1400/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 33 platform/a1400/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 57 platform/a2000/lib.c void camera_set_led(int led, int state, int bright) { led 70 platform/a2000/lib.c led_c.led_num=convert_table[led%11]; led 58 platform/a2100/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 60 platform/a2100/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 29 platform/a2200/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 32 platform/a2200/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 36 platform/a2300/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 38 platform/a2300/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 36 platform/a2400/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 38 platform/a2400/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 33 platform/a2500/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 35 platform/a2500/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 33 platform/a2600/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 35 platform/a2600/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 57 platform/a3000/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 58 platform/a3000/lib.c if (led == 4 || led == 7 ) // Green (power) or orange led led 60 platform/a3000/lib.c else if ( led == 9 ) // Red AF-Light led 57 platform/a3100/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 61 platform/a3100/lib.c if(led < 4 || led > 10) return; led 62 platform/a3100/lib.c led -= 4; led 63 platform/a3100/lib.c if (leds[led]) led 65 platform/a3100/lib.c volatile long *p=(void*)LED_BASE + leds[led]; led 20 platform/a3200/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 22 platform/a3200/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 20 platform/a3300/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 22 platform/a3300/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 34 platform/a3400/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 36 platform/a3400/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 34 platform/a4000/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 36 platform/a4000/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 33 platform/a410/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a410/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a410/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a420/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a420/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a420/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a430/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a430/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a430/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a450/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a450/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a450/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a460/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a460/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a460/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 19 platform/a470/wrappers.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 27 platform/a470/wrappers.c _LEDDrive(leds[led%4], state<=1 ? !state : state); led 38 platform/a480/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 40 platform/a480/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 31 platform/a490/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 33 platform/a490/lib.c switch ( led ) led 44 platform/a495/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 46 platform/a495/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 34 platform/a530/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 37 platform/a530/lib.c if(led < 4 || led > 10 || led == 6) return; led 38 platform/a530/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a540/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a540/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a540/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a550/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a550/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a550/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 38 platform/a560/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 42 platform/a560/lib.c if(led < 4 || led > 10 || led == 6) return; led 43 platform/a560/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 38 platform/a570/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 42 platform/a570/lib.c if(led < 4 || led > 10 || led == 6) return; led 43 platform/a570/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 19 platform/a580/wrappers.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 28 platform/a580/wrappers.c if(led < 4 || led > 9 || led == 6) return; led 29 platform/a580/wrappers.c _LEDDrive(leds[led-4], state<=1 ? !state : state); led 20 platform/a590/wrappers.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 29 platform/a590/wrappers.c if(led < 4 || led > 9 || led == 6) return; led 30 platform/a590/wrappers.c _LEDDrive(leds[led-4], state<=1 ? !state : state); led 33 platform/a610/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a610/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a610/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a620/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a620/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a620/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a630/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a630/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a630/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a640/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/a640/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/a640/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/a650/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 37 platform/a650/lib.c if(led < 4 || led > 10 || led == 6) return; led 38 platform/a650/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 19 platform/a700/wrappers.c void camera_set_led(int led, int state, int bright) led 24 platform/a700/wrappers.c led_c.led_num=convert_table[led%11]; led 18 platform/a710/wrappers.c void camera_set_led(int led, int state, int bright) led 23 platform/a710/wrappers.c led_c.led_num=convert_table[led%11]; led 20 platform/a720/wrappers.c void camera_set_led(int led, int state, int bright) led 34 platform/a720/wrappers.c led_c.led_num=convert_table[led%11]; led 31 platform/a800/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 33 platform/a800/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 39 platform/a810/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 41 platform/a810/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/d10/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/d10/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 682 platform/d10/sub/100a/boot.c int *led = (void*) ledlist[0]; led 689 platform/d10/sub/100a/boot.c *led = 0x46; // led on led 695 platform/d10/sub/100a/boot.c *led = 0x44; // LED off led 696 platform/d10/sub/100a/boot.c led=(void *)ledlist[(++i_led)%2]; led 700 platform/d10/sub/100a/boot.c *led = 0x46; // LED on led 58 platform/d20/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 60 platform/d20/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 56 platform/d30/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 58 platform/d30/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 55 platform/g10/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 57 platform/g10/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 41 platform/g11/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 43 platform/g11/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 70 platform/g12/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 72 platform/g12/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 50 platform/g15/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 52 platform/g15/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 42 platform/g16/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 45 platform/g16/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 71 platform/g1x/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 73 platform/g1x/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 73 platform/g5x/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 75 platform/g5x/lib.c _LEDDrive(led_table[led % sizeof(led_table)], state <= 1 ? !state : state); led 32 platform/g7/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/g7/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/g7/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 49 platform/g7x/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 51 platform/g7x/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 69 platform/g7x2/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 71 platform/g7x2/lib.c _LEDDrive(led_table[led % sizeof(led_table)], state <= 1 ? !state : state); led 39 platform/g9/lib.c void camera_set_led1(int led, int state, __attribute__ ((unused))int bright)//? led 42 platform/g9/lib.c if(led < 4 || led > 10 || led == 6) return; led 43 platform/g9/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 19 platform/g9/wrappers.c void camera_set_led(int led, int state, int bright) led 33 platform/g9/wrappers.c led_c.led_num=convert_table[led%11]; led 72 platform/ixus1000_sd4500/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 74 platform/ixus1000_sd4500/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 44 platform/ixus100_sd780/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 53 platform/ixus100_sd780/lib.c if((unsigned)led < sizeof(led_table)) led 54 platform/ixus100_sd780/lib.c _LEDDrive(led_table[led], state<=1 ? !state : state); led 60 platform/ixus105_sd1300/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 63 platform/ixus105_sd1300/lib.c if(led >=4 && led <= 10) led 64 platform/ixus105_sd1300/lib.c _LEDDrive(led_table[(led-4)%sizeof(led_table)], state<=1 ? !state : state); led 61 platform/ixus110_sd960/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 63 platform/ixus110_sd960/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 744 platform/ixus110_sd960/sub/100b/boot.c int *led = (void*) ledlist[0]; led 751 platform/ixus110_sd960/sub/100b/boot.c *led = 0x46; // led on led 757 platform/ixus110_sd960/sub/100b/boot.c *led = 0x44; // LED off led 758 platform/ixus110_sd960/sub/100b/boot.c led=(void *)ledlist[(++i_led)%2]; led 762 platform/ixus110_sd960/sub/100b/boot.c *led = 0x46; // LED on led 744 platform/ixus110_sd960/sub/101d/boot.c int *led = (void*) ledlist[0]; led 751 platform/ixus110_sd960/sub/101d/boot.c *led = 0x46; // led on led 757 platform/ixus110_sd960/sub/101d/boot.c *led = 0x44; // LED off led 758 platform/ixus110_sd960/sub/101d/boot.c led=(void *)ledlist[(++i_led)%2]; led 762 platform/ixus110_sd960/sub/101d/boot.c *led = 0x46; // LED on led 744 platform/ixus110_sd960/sub/101f/boot.c int *led = (void*) ledlist[0]; led 751 platform/ixus110_sd960/sub/101f/boot.c *led = 0x46; // led on led 757 platform/ixus110_sd960/sub/101f/boot.c *led = 0x44; // LED off led 758 platform/ixus110_sd960/sub/101f/boot.c led=(void *)ledlist[(++i_led)%2]; led 762 platform/ixus110_sd960/sub/101f/boot.c *led = 0x46; // LED on led 42 platform/ixus115_elph100hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 44 platform/ixus115_elph100hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 53 platform/ixus120_sd940/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 55 platform/ixus120_sd940/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 61 platform/ixus125_elph110hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 63 platform/ixus125_elph110hs/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 50 platform/ixus130_sd1400/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 60 platform/ixus130_sd1400/lib.c if ((unsigned)led < sizeof(led_table)) { led 61 platform/ixus130_sd1400/lib.c _LEDDrive(led_table[led], state<=1 ? !state : state); led 14 platform/ixus130_sd1400/sub/100a/led.c void led_on(long * led) { led 15 platform/ixus130_sd1400/sub/100a/led.c LED_ON(led); led 18 platform/ixus130_sd1400/sub/100a/led.c void led_off(long * led) { led 19 platform/ixus130_sd1400/sub/100a/led.c LED_OFF(led); led 44 platform/ixus130_sd1400/sub/100a/led.c void led_flashx(long * led, ulong times, ulong delay) { led 45 platform/ixus130_sd1400/sub/100a/led.c LED_FLASHX(led, times, delay); led 13 platform/ixus130_sd1400/sub/100a/led.h void led_on(long * led); led 14 platform/ixus130_sd1400/sub/100a/led.h void led_off(long * led); led 15 platform/ixus130_sd1400/sub/100a/led.h void led_flashx(long * led, ulong times, ulong delay); led 34 platform/ixus130_sd1400/sub/100a/led.h #define led_flash(led, times) led_flashx(led, times, DEFAULT_DELAY) led 40 platform/ixus130_sd1400/sub/100a/led.h #define LED_ON(led) do { *(long*)(led) = 0x46; } while(0) led 42 platform/ixus130_sd1400/sub/100a/led.h #define LED_OFF(led) do { *(long*)(led) = 0x44; } while(0) led 44 platform/ixus130_sd1400/sub/100a/led.h #define LED_FLASHX(led, times, delay) \ led 48 platform/ixus130_sd1400/sub/100a/led.h LED_ON((led)); \ led 50 platform/ixus130_sd1400/sub/100a/led.h LED_OFF((led)); \ led 55 platform/ixus130_sd1400/sub/100a/led.h #define LED_FLASH(led, times) LED_FLASHX((led), (times), DEFAULT_DELAY) led 42 platform/ixus132_elph115/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 44 platform/ixus132_elph115/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 42 platform/ixus135_elph120/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 44 platform/ixus135_elph120/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 40 platform/ixus140_elph130/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 42 platform/ixus140_elph130/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 37 platform/ixus145_elph135/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 39 platform/ixus145_elph135/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 24 platform/ixus150_elph140/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 26 platform/ixus150_elph140/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 37 platform/ixus155_elph150/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 39 platform/ixus155_elph150/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 25 platform/ixus160_elph160/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 27 platform/ixus160_elph160/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 23 platform/ixus170_elph170/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 25 platform/ixus170_elph170/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 23 platform/ixus175_elph180/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 25 platform/ixus175_elph180/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 47 platform/ixus185_elph185/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 49 platform/ixus185_elph185/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 37 platform/ixus200_sd980/lib.c void ubasic_set_led(int led, int state, __attribute__ ((unused))int bright) { led 39 platform/ixus200_sd980/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 42 platform/ixus200_sd980/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 44 platform/ixus200_sd980/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 43 platform/ixus220_elph300hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 45 platform/ixus220_elph300hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 38 platform/ixus230_elph310hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 40 platform/ixus230_elph310hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 72 platform/ixus240_elph320hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 74 platform/ixus240_elph320hs/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 36 platform/ixus255_elph330hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 38 platform/ixus255_elph330hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/ixus265_elph340hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/ixus265_elph340hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/ixus275_elph350hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/ixus275_elph350hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/ixus285_elph360hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/ixus285_elph360hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 43 platform/ixus300_sd4000/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { // camera has three LED's (focus assist lamp & and a green/orange combo LED) led 45 platform/ixus300_sd4000/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 175 platform/ixus30_sd200/lib.c static void led_on(const int led, const int brightness) led 177 platform/ixus30_sd200/lib.c if (led < 4 || led > 10 || led == 6) return; led 191 platform/ixus30_sd200/lib.c switch(led){ led 200 platform/ixus30_sd200/lib.c if (led == LED_AF_BEAM){ led 208 platform/ixus30_sd200/lib.c static void led_off(const int led) led 210 platform/ixus30_sd200/lib.c if (led < 4 || led > 10 || led == 6) return; led 213 platform/ixus30_sd200/lib.c switch(led){ led 222 platform/ixus30_sd200/lib.c if (led == LED_AF_BEAM){ led 242 platform/ixus30_sd200/lib.c void set_led(int led, int state) led 245 platform/ixus30_sd200/lib.c led_on(led, LED_BRIGHTNESS); led 247 platform/ixus30_sd200/lib.c led_off(led); led 249 platform/ixus30_sd200/lib.c void camera_set_led(int led, int state, int bright) led 253 platform/ixus30_sd200/lib.c if (led == 6) { led 257 platform/ixus30_sd200/lib.c led_on(led, bright); led 260 platform/ixus30_sd200/lib.c if (led == 6) { led 264 platform/ixus30_sd200/lib.c led_off(led); led 65 platform/ixus310_elph500hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 67 platform/ixus310_elph500hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 171 platform/ixus40_sd300/lib.c static void led_on(const int led, const int brightness) led 173 platform/ixus40_sd300/lib.c if (led < 4 || led > 10 || led == 6) return; led 187 platform/ixus40_sd300/lib.c switch(led){ led 196 platform/ixus40_sd300/lib.c if (led == LED_AF_BEAM){ led 204 platform/ixus40_sd300/lib.c static void led_off(const int led) led 206 platform/ixus40_sd300/lib.c if (led < 4 || led > 10 || led == 6) return; led 209 platform/ixus40_sd300/lib.c switch(led){ led 218 platform/ixus40_sd300/lib.c if (led == LED_AF_BEAM){ led 238 platform/ixus40_sd300/lib.c void set_led(int led, int state) led 241 platform/ixus40_sd300/lib.c led_on(led, LED_BRIGHTNESS); led 243 platform/ixus40_sd300/lib.c led_off(led); led 245 platform/ixus40_sd300/lib.c void camera_set_led(int led, int state, int bright) led 249 platform/ixus40_sd300/lib.c if (led == 6) { led 253 platform/ixus40_sd300/lib.c led_on(led, bright); led 256 platform/ixus40_sd300/lib.c if (led == 6) { led 260 platform/ixus40_sd300/lib.c led_off(led); led 32 platform/ixus50_sd400/lib.c static void led_on(const int led, const int brightness) led 34 platform/ixus50_sd400/lib.c if (led < 4 || led > 10 || led == 6) return; led 36 platform/ixus50_sd400/lib.c addr = led_table + (led * 0x40); led 40 platform/ixus50_sd400/lib.c static void led_off(const int led) led 42 platform/ixus50_sd400/lib.c if (led < 4 || led > 10 || led == 6) return; led 44 platform/ixus50_sd400/lib.c addr = led_table + (led * 0x40); led 60 platform/ixus50_sd400/lib.c void set_led(int led, int state) led 63 platform/ixus50_sd400/lib.c led_on(led, LED_BRIGHTNESS); led 65 platform/ixus50_sd400/lib.c led_off(led); led 67 platform/ixus50_sd400/lib.c void camera_set_led(int led, int state, int bright) led 71 platform/ixus50_sd400/lib.c if (led == 6) { led 75 platform/ixus50_sd400/lib.c led_on(led, bright); led 78 platform/ixus50_sd400/lib.c if (led == 6) { led 82 platform/ixus50_sd400/lib.c led_off(led); led 33 platform/ixus55_sd450/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 37 platform/ixus55_sd450/lib.c if(led < 4 || led > 10 || led == 6) return; led 38 platform/ixus55_sd450/lib.c volatile long *p=(void*)LED_BASE+ leds[led-4]; led 33 platform/ixus60_sd600/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/ixus60_sd600/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/ixus60_sd600/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/ixus65_sd630/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/ixus65_sd630/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/ixus65_sd630/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 31 platform/ixus700_sd500/lib.c static void led_on(const int led, const int brightness) led 33 platform/ixus700_sd500/lib.c if (led < 4 || led > 10 || led == 6) return; led 35 platform/ixus700_sd500/lib.c addr = led_table + (led * 0x40); led 39 platform/ixus700_sd500/lib.c static void led_off(const int led) led 41 platform/ixus700_sd500/lib.c if (led < 4 || led > 10 || led == 6) return; led 43 platform/ixus700_sd500/lib.c addr = led_table + (led * 0x40); led 59 platform/ixus700_sd500/lib.c void set_led(int led, int state) led 62 platform/ixus700_sd500/lib.c led_on(led, LED_BRIGHTNESS); led 64 platform/ixus700_sd500/lib.c led_off(led); led 66 platform/ixus700_sd500/lib.c void camera_set_led(int led, int state, int bright) led 70 platform/ixus700_sd500/lib.c if (led == 6) { led 74 platform/ixus700_sd500/lib.c led_on(led, bright); led 77 platform/ixus700_sd500/lib.c if (led == 6) { led 81 platform/ixus700_sd500/lib.c led_off(led); led 45 platform/ixus70_sd1000/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 49 platform/ixus70_sd1000/lib.c if(led < 4 || led > 10 || led == 6) return; led 50 platform/ixus70_sd1000/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 33 platform/ixus750_sd550/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 37 platform/ixus750_sd550/lib.c if(led < 4 || led > 10 || led == 6) return; led 38 platform/ixus750_sd550/lib.c volatile long *p=(void*)LED_BASE+ leds[led-4]; led 45 platform/ixus75_sd750/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 49 platform/ixus75_sd750/lib.c if(led < 4 || led > 10 || led == 6) return; led 50 platform/ixus75_sd750/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 34 platform/ixus800_sd700/lib.c void camera_set_led(__attribute__ ((unused))int led, int state, __attribute__ ((unused))int bright) led 31 platform/ixus80_sd1100/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 34 platform/ixus80_sd1100/lib.c if(led >= 3 && led <= 10 && led != 6) // map to valid params; no extra TIMER LED (is same as AF) led 36 platform/ixus80_sd1100/lib.c volatile long *p=(void*)0xc0220000 + leds[(led-3)%sizeof(leds)]; led 44 platform/ixus850_sd800/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 47 platform/ixus850_sd800/lib.c if(led < 4 || led > 10 || led == 6) return; led 48 platform/ixus850_sd800/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 30 platform/ixus85_sd770/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 33 platform/ixus85_sd770/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 36 platform/ixus860_sd870/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 42 platform/ixus860_sd870/lib.c if(led < 4 || led > 10 || led == 6) return; // return on invalid params; no extra TIMER LED (is same as AF) led 43 platform/ixus860_sd870/lib.c volatile long *p=(void*)LED_PR + leds[led-4]; led 48 platform/ixus870_sd880/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 51 platform/ixus870_sd880/lib.c switch ( led ) led 43 platform/ixus900_sd900/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 45 platform/ixus900_sd900/lib.c if(led < 4 || led > 10 || led == 6) return; led 46 platform/ixus900_sd900/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 49 platform/ixus90_sd790/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 56 platform/ixus90_sd790/lib.c volatile long *p=(void*)0xc0220000 + leds[(led-4)%sizeof(leds)]; led 44 platform/ixus950_sd850/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 48 platform/ixus950_sd850/lib.c if(led < 4 || led > 10 || led == 6) return; led 49 platform/ixus950_sd850/lib.c volatile long *p=(void*)LED_BASE + leds[led-4]; led 35 platform/ixus95_sd1200/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 38 platform/ixus95_sd1200/lib.c volatile long *p=(void*)0xc0220000 + leds[(led-4)%sizeof(leds)]; led 27 platform/ixus960_sd950/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 30 platform/ixus960_sd950/lib.c if(led < 4 || led > 10 || led == 6) return; led 31 platform/ixus960_sd950/lib.c volatile long *p=(void*)LED_PR + leds[led-4]; led 30 platform/ixus970_sd890/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 33 platform/ixus970_sd890/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 44 platform/ixus980_sd990/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 53 platform/ixus980_sd990/lib.c if((unsigned)led < sizeof(led_table)) led 54 platform/ixus980_sd990/lib.c _LEDDrive(led_table[led], state<=1 ? !state : state); led 777 platform/ixus980_sd990/sub/100e/boot.c int *led = (void*) ledlist[0]; led 784 platform/ixus980_sd990/sub/100e/boot.c *led = 0x46; // led on led 790 platform/ixus980_sd990/sub/100e/boot.c *led = 0x44; // LED off led 791 platform/ixus980_sd990/sub/100e/boot.c led=(void *)ledlist[(++i_led)%5]; led 795 platform/ixus980_sd990/sub/100e/boot.c *led = 0x46; // LED on led 777 platform/ixus980_sd990/sub/101b/boot.c int *led = (void*) ledlist[0]; led 784 platform/ixus980_sd990/sub/101b/boot.c *led = 0x46; // led on led 790 platform/ixus980_sd990/sub/101b/boot.c *led = 0x44; // LED off led 791 platform/ixus980_sd990/sub/101b/boot.c led=(void *)ledlist[(++i_led)%5]; led 795 platform/ixus980_sd990/sub/101b/boot.c *led = 0x46; // LED on led 42 platform/ixus990_sd970/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 50 platform/ixus990_sd970/lib.c if((unsigned)led < sizeof(led_table)) led 51 platform/ixus990_sd970/lib.c _LEDDrive(led_table[led], state<=1 ? !state : state); led 33 platform/ixusizoom_sd30/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 36 platform/ixusizoom_sd30/lib.c if(led < 4 || led > 10 || led == 6) return; led 37 platform/ixusizoom_sd30/lib.c volatile long *p=(void*)LED_AF + leds[led-4]; led 33 platform/ixusw_sd430/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 37 platform/ixusw_sd430/lib.c if(led < 4 || led > 10 || led == 6) return; led 38 platform/ixusw_sd430/lib.c volatile long *p=(void*)LED_BASE+ leds[led-4]; led 38 platform/m10/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 40 platform/m10/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 52 platform/m3/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 54 platform/m3/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 49 platform/n/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 52 platform/n/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 49 platform/n_facebook/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) led 52 platform/n_facebook/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 46 platform/s100/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 48 platform/s100/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 47 platform/s110/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 49 platform/s110/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 31 platform/s2is/lib.c static void led_on(const int led, const int brightness) led 33 platform/s2is/lib.c if (led < 4 || led > 10 || led == 6) return; led 35 platform/s2is/lib.c addr = led_table + (led * 0x40); led 39 platform/s2is/lib.c static void led_off(const int led) led 41 platform/s2is/lib.c if (led < 4 || led > 10 || led == 6) return; led 43 platform/s2is/lib.c addr = led_table + (led * 0x40); led 59 platform/s2is/lib.c void camera_set_led(int led, int state, int bright) led 63 platform/s2is/lib.c if (led == 6) { led 67 platform/s2is/lib.c led_on(led, bright); led 70 platform/s2is/lib.c if (led == 6) { led 74 platform/s2is/lib.c led_off(led); led 31 platform/s3is/lib.c static void led_on(const int led, const int brightness) led 33 platform/s3is/lib.c if (led < 4 || led > 10 || led == 6) return; led 35 platform/s3is/lib.c addr = led_table + (led * 0x40); led 39 platform/s3is/lib.c static void led_off(const int led) led 41 platform/s3is/lib.c if (led < 4 || led > 10 || led == 6) return; led 43 platform/s3is/lib.c addr = led_table + (led * 0x40); led 60 platform/s3is/lib.c void camera_set_led(int led, int state, int bright) led 64 platform/s3is/lib.c if (led == 6) { // yellow = red + green led 68 platform/s3is/lib.c led_on(led, bright); led 71 platform/s3is/lib.c if (led == 6) { led 75 platform/s3is/lib.c led_off(led); led 34 platform/s5is/lib.c static void led_on(const int led, const int brightness) led 36 platform/s5is/lib.c if (led < 0 || led > 6 || led == LED_YELLOW) return; led 38 platform/s5is/lib.c if(led == LED_AF_BEAM) { // does not accept anything (so it seems), bypass led 41 platform/s5is/lib.c addr = led_table + (led * 0x40) + 0x100; led 46 platform/s5is/lib.c static void led_off(const int led) led 48 platform/s5is/lib.c if (led < 0 || led > 6 || led == LED_YELLOW) return; led 50 platform/s5is/lib.c if(led == LED_AF_BEAM) { // does not accept anything (so it seems), bypass led 53 platform/s5is/lib.c addr = led_table + (led * 0x40) + 0x100; led 66 platform/s5is/lib.c void camera_set_led(int led, int state, int bright) led 70 platform/s5is/lib.c if (led == LED_YELLOW) { // yellow = red + green led 74 platform/s5is/lib.c led_on(led, bright); led 77 platform/s5is/lib.c if (led == LED_YELLOW) { led 81 platform/s5is/lib.c led_off(led); led 37 platform/s80/lib.c void camera_set_led(int led, int state, int bright) led 50 platform/s80/lib.c led_c.led_num=led%16; led 32 platform/s90/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 34 platform/s90/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 38 platform/s95/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 41 platform/s95/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 36 platform/sx1/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 38 platform/sx1/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 41 platform/sx10/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 43 platform/sx10/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 24 platform/sx100is/lib.c void led_on(int led) led 27 platform/sx100is/lib.c switch (led) { led 46 platform/sx100is/lib.c void led_off(int led) led 49 platform/sx100is/lib.c switch (led) { led 20 platform/sx100is/wrappers.c void camera_set_led(int led, int state, int bright) led 36 platform/sx100is/wrappers.c led_c.led_num=convert_table[led%11]; led 52 platform/sx110is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 54 platform/sx110is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 54 platform/sx120is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 56 platform/sx120is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 147 platform/sx130is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 149 platform/sx130is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 86 platform/sx150is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 88 platform/sx150is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 35 platform/sx160is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 37 platform/sx160is/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 50 platform/sx170is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 52 platform/sx170is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 47 platform/sx20/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 49 platform/sx20/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 50 platform/sx200is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 52 platform/sx200is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 62 platform/sx210is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 64 platform/sx210is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 41 platform/sx220hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 43 platform/sx220hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 43 platform/sx230hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 45 platform/sx230hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 45 platform/sx240hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 47 platform/sx240hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 45 platform/sx260hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 47 platform/sx260hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 38 platform/sx280hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 40 platform/sx280hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 66 platform/sx30/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 68 platform/sx30/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 57 platform/sx400is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 59 platform/sx400is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 69 platform/sx40hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 71 platform/sx40hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 49 platform/sx410is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 51 platform/sx410is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 49 platform/sx420is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 51 platform/sx420is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 47 platform/sx430is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 49 platform/sx430is/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 42 platform/sx500is/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 44 platform/sx500is/lib.c if(state<=1) _LEDDrive(led_table[led%sizeof(led_table)], (!state)&1); led 49 platform/sx50hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 51 platform/sx50hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 57 platform/sx510hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 59 platform/sx510hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 62 platform/sx520hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 64 platform/sx520hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 62 platform/sx530hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 64 platform/sx530hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 45 platform/sx60hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 47 platform/sx60hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/sx610hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/sx610hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 59 platform/sx620hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 61 platform/sx620hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 43 platform/sx700hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 45 platform/sx700hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 43 platform/sx710hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 45 platform/sx710hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 44 platform/sx730hs/lib.c void camera_set_led(int led, int state, __attribute__ ((unused))int bright) { led 46 platform/sx730hs/lib.c _LEDDrive(led_table[led%sizeof(led_table)], state<=1 ? !state : state); led 31 platform/tx1/lib.c static void led_on(const int led, const int brightness) led 34 platform/tx1/lib.c if (led < 4 || led > 10 || led == 6) return; led 36 platform/tx1/lib.c addr = led_table + (led * 0x40); led 41 platform/tx1/lib.c static void led_off(const int led) led 44 platform/tx1/lib.c if (led < 4 || led > 10 || led == 6) return; led 46 platform/tx1/lib.c addr = led_table + (led * 0x40); led 61 platform/tx1/lib.c void set_led(int led, int state) led 64 platform/tx1/lib.c led_on(led, LED_BRIGHTNESS); led 66 platform/tx1/lib.c led_off(led); led 70 platform/tx1/lib.c void camera_set_led(int led, int state, int bright) led 74 platform/tx1/lib.c led_on(led, bright); led 77 platform/tx1/lib.c led_off(led); led 5362 tools/finsig_vxworks.c LED_s led; led 5388 tools/finsig_vxworks.c led.reg = fwRd(fw,j1); led 5389 tools/finsig_vxworks.c led.addr = 0x220000; led 5390 tools/finsig_vxworks.c led.offs = 0; led 5394 tools/finsig_vxworks.c if ((fwval(fw,n)&0xfffff000) == (0xe2800000+(led.reg<<12)+(led.reg<<16))) // ADD Rx, Rx, #0xc00000yz led 5398 tools/finsig_vxworks.c led.addr += ALUop2a(fw,n); led 5401 tools/finsig_vxworks.c else if ((fwval(fw,n)&0xfffff000) == (0xe3a00000+(led.reg<<12))) // MOV Rx, #imm led 5403 tools/finsig_vxworks.c led.addr += ALUop2a(fw,n); led 5407 tools/finsig_vxworks.c if ((fwval(fw,m)&0xfff0f000) == (0xe5800000+(led.reg<<12))) // STR Rx, [Ry, imm] led 5409 tools/finsig_vxworks.c led.offs = fwval(fw,m) & 0xfff; led 5414 tools/finsig_vxworks.c if (led.offs != 0) led 5420 tools/finsig_vxworks.c if (led.offs != 0) led 5422 tools/finsig_vxworks.c bprintf("// LED #%i: 0x%08x, offset 0x%x\n",j2, led.addr, led.offs); led 207 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int LEDDrive(int led, int action); led 216 tools/ubasic_test/camera_functions.c void camera_set_led(int led, int state, int bright) led 218 tools/ubasic_test/camera_functions.c printf("*** set led %d %d %d ***\n",led, state, bright); led 25 tools/ubasic_test/camera_functions.h void camera_set_led(int led, int state, int bright);