/arch/arm/mach-footbridge/ |
D | ebsa285.c | 50 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_set() local 54 hw_led_state |= led->mask; in ebsa285_led_set() 56 hw_led_state &= ~led->mask; in ebsa285_led_set() 62 struct ebsa285_led *led = container_of(cdev, in ebsa285_led_get() local 65 return hw_led_state & led->mask ? LED_OFF : LED_FULL; in ebsa285_led_get() 84 struct ebsa285_led *led; in ebsa285_leds_init() local 86 led = kzalloc(sizeof(*led), GFP_KERNEL); in ebsa285_leds_init() 87 if (!led) in ebsa285_leds_init() 90 led->cdev.name = ebsa285_leds[i].name; in ebsa285_leds_init() 91 led->cdev.brightness_set = ebsa285_led_set; in ebsa285_leds_init() [all …]
|
D | netwinder-hw.c | 690 struct netwinder_led *led = container_of(cdev, in netwinder_led_set() local 698 reg &= ~led->mask; in netwinder_led_set() 700 reg |= led->mask; in netwinder_led_set() 701 nw_gpio_modify_op(led->mask, reg); in netwinder_led_set() 707 struct netwinder_led *led = container_of(cdev, in netwinder_led_get() local 716 return (reg & led->mask) ? LED_OFF : LED_FULL; in netwinder_led_get() 727 struct netwinder_led *led; in netwinder_leds_init() local 729 led = kzalloc(sizeof(*led), GFP_KERNEL); in netwinder_leds_init() 730 if (!led) in netwinder_leds_init() 733 led->cdev.name = netwinder_leds[i].name; in netwinder_leds_init() [all …]
|
/arch/arm/plat-omap/ |
D | debug-leds.c | 85 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_set() local 90 reg |= led->mask; in dbg_led_set() 92 reg &= ~led->mask; in dbg_led_set() 98 struct dbg_led *led = container_of(cdev, struct dbg_led, cdev); in dbg_led_get() local 102 return (reg & led->mask) ? LED_FULL : LED_OFF; in dbg_led_get() 118 struct dbg_led *led; in fpga_probe() local 120 led = kzalloc(sizeof(*led), GFP_KERNEL); in fpga_probe() 121 if (!led) in fpga_probe() 124 led->cdev.name = dbg_leds[i].name; in fpga_probe() 125 led->cdev.brightness_set = dbg_led_set; in fpga_probe() [all …]
|
/arch/arm/mach-pxa/ |
D | idp.c | 223 struct idp_led *led = container_of(cdev, in idp_led_set() local 228 reg &= ~led->mask; in idp_led_set() 230 reg |= led->mask; in idp_led_set() 237 struct idp_led *led = container_of(cdev, in idp_led_get() local 240 return (IDP_CPLD_LED_CONTROL & led->mask) ? LED_OFF : LED_FULL; in idp_led_get() 251 struct idp_led *led; in idp_leds_init() local 253 led = kzalloc(sizeof(*led), GFP_KERNEL); in idp_leds_init() 254 if (!led) in idp_leds_init() 257 led->cdev.name = idp_leds[i].name; in idp_leds_init() 258 led->cdev.brightness_set = idp_led_set; in idp_leds_init() [all …]
|
D | lubbock.c | 541 struct lubbock_led *led = container_of(cdev, in lubbock_led_set() local 546 reg |= led->mask; in lubbock_led_set() 548 reg &= ~led->mask; in lubbock_led_set() 555 struct lubbock_led *led = container_of(cdev, in lubbock_led_get() local 559 return (reg & led->mask) ? LED_FULL : LED_OFF; in lubbock_led_get() 572 struct lubbock_led *led; in lubbock_leds_init() local 574 led = kzalloc(sizeof(*led), GFP_KERNEL); in lubbock_leds_init() 575 if (!led) in lubbock_leds_init() 578 led->cdev.name = lubbock_leds[i].name; in lubbock_leds_init() 579 led->cdev.brightness_set = lubbock_led_set; in lubbock_leds_init() [all …]
|
D | mainstone.c | 609 struct mainstone_led *led = container_of(cdev, in mainstone_led_set() local 614 reg |= led->mask; in mainstone_led_set() 616 reg &= ~led->mask; in mainstone_led_set() 623 struct mainstone_led *led = container_of(cdev, in mainstone_led_get() local 627 return (reg & led->mask) ? LED_FULL : LED_OFF; in mainstone_led_get() 640 struct mainstone_led *led; in mainstone_leds_init() local 642 led = kzalloc(sizeof(*led), GFP_KERNEL); in mainstone_leds_init() 643 if (!led) in mainstone_leds_init() 646 led->cdev.name = mainstone_leds[i].name; in mainstone_leds_init() 647 led->cdev.brightness_set = mainstone_led_set; in mainstone_leds_init() [all …]
|
/arch/mips/sgi-ip32/ |
D | ip32-reset.c | 75 unsigned long led = mace->perif.ctrl.misc ^ MACEISA_LED_RED; in blink_timeout() local 76 mace->perif.ctrl.misc = led; in blink_timeout() 113 unsigned long led; in panic_event() local 120 led = mace->perif.ctrl.misc | MACEISA_LED_GREEN; in panic_event() 121 mace->perif.ctrl.misc = led; in panic_event() 136 unsigned long led = mace->perif.ctrl.misc; in ip32_reboot_setup() local 137 led |= MACEISA_LED_RED; in ip32_reboot_setup() 138 led &= ~MACEISA_LED_GREEN; in ip32_reboot_setup() 139 mace->perif.ctrl.misc = led; in ip32_reboot_setup()
|
/arch/arm/boot/dts/ |
D | integrator.dtsi | 13 led@0c.0 { 14 compatible = "register-bit-led"; 101 led@04.0 { 102 compatible = "register-bit-led"; 109 led@04.1 { 110 compatible = "register-bit-led"; 116 led@04.2 { 117 compatible = "register-bit-led"; 123 led@04.3 { 124 compatible = "register-bit-led";
|
D | kirkwood-iomega_ix2_200.dts | 42 pmx_led_backup: pmx-led-backup { 46 pmx_led_power: pmx-led-power { 54 pmx_led_rebuild: pmx-led-rebuild { 62 pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 { 66 pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 { 70 pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 { 74 pmx_led_backup_brt_ctrl_2: pmx-led-backup-brt-ctrl-2 { 78 pmx_led_power_brt_ctrl_1: pmx-led-power-brt-ctrl-1 { 82 pmx_led_power_brt_ctrl_2: pmx-led-power-brt-ctrl-2 { 86 pmx_led_health_brt_ctrl_1: pmx-led-health-brt-ctrl-1 { [all …]
|
D | kirkwood-nsa310.dts | 33 pmx_led_esata_green: pmx-led-esata-green { 38 pmx_led_esata_red: pmx-led-esata-red { 43 pmx_led_usb_green: pmx-led-usb-green { 48 pmx_led_usb_red: pmx-led-usb-red { 53 pmx_led_sys_green: pmx-led-sys-green { 58 pmx_led_sys_red: pmx-led-sys-red { 63 pmx_led_hdd_green: pmx-led-hdd-green { 68 pmx_led_hdd_red: pmx-led-hdd-red {
|
D | kirkwood-lswvl.dts | 63 pmx_led_hdderr0: pmx-led-hdderr0 { 67 pmx_led_hdderr1: pmx-led-hdderr1 { 71 pmx_led_alarm: pmx-led-alarm { 75 pmx_led_function_red: pmx-led-function-red { 79 pmx_led_info: pmx-led-info { 83 pmx_led_function_blue: pmx-led-function-blue { 87 pmx_led_power: pmx-led-power { 187 led@1 { 192 led@2 { 197 led@3 { [all …]
|
D | kirkwood-lswxl.dts | 63 pmx_led_hdderr0: pmx-led-hdderr0 { 67 pmx_led_hdderr1: pmx-led-hdderr1 { 71 pmx_led_alarm: pmx-led-alarm { 75 pmx_led_function_red: pmx-led-function-red { 79 pmx_led_function_blue: pmx-led-function-blue { 83 pmx_led_info: pmx-led-info { 87 pmx_led_power: pmx-led-power { 187 led@1 { 192 led@2 { 197 led@3 { [all …]
|
D | kirkwood-nsa310a.dts | 27 pmx_led_esata_green: pmx-led-esata-green { 32 pmx_led_esata_red: pmx-led-esata-red { 37 pmx_led_usb_green: pmx-led-usb-green { 42 pmx_led_sys_green: pmx-led-sys-green { 47 pmx_led_sys_red: pmx-led-sys-red { 52 pmx_led_hdd_green: pmx-led-hdd-green { 57 pmx_led_hdd_red: pmx-led-hdd-red {
|
D | socfpga_cyclone5_socrates.dts | 62 led@0 { 63 label = "led:green:heartbeat"; 68 led@1 { 69 label = "led:green:D7"; 73 led@2 { 74 label = "led:green:D8";
|
D | kirkwood-lsxl.dtsi | 28 pmx_led_function_blue: pmx-led-function-blue { 32 pmx_led_alarm: pmx-led-alarm { 36 pmx_led_info: pmx-led-info { 40 pmx_led_power: pmx-led-power { 60 pmx_led_function_red: pmx-led-function_red { 136 led@1 { 141 led@2 { 146 led@3 { 151 led@4 { 157 led@5 {
|
D | kirkwood-iconnect.dts | 42 pmx_led_level: pmx-led-level { 46 pmx_led_power_blue: pmx-led-power-blue { 54 pmx_led_usb1: pmx-led-usb1 { 58 pmx_led_usb2: pmx-led-usb2 { 62 pmx_led_usb3: pmx-led-usb3 { 66 pmx_led_usb4: pmx-led-usb4 { 70 pmx_led_otb: pmx-led-otb { 96 led-level {
|
D | kirkwood-mplcec4.dts | 32 pmx_led_health: pmx-led-health { 47 pmx_led_user1o: pmx-led-user1o { 52 pmx_led_user1g: pmx-led-user1g { 57 pmx_led_user0o: pmx-led-user0o { 62 pmx_led_user0g: pmx-led-user0g { 67 pmx_led_misc: pmx-led-misc {
|
D | imx27-phytec-phycore-rdk.dts | 226 ledr1: led@3 { 231 ledg1: led@4 { 236 ledb1: led@5 { 241 ledr2: led@6 { 246 ledg2: led@7 { 251 ledb2: led@8 { 256 ledr3: led@9 { 262 ledg3: led@10 { 268 ledb3: led@11 {
|
D | arm-realview-pb1176.dts | 120 led@08.0 { 121 compatible = "register-bit-led"; 128 led@08.1 { 129 compatible = "register-bit-led"; 136 led@08.2 { 137 compatible = "register-bit-led"; 144 led@08.3 { 145 compatible = "register-bit-led"; 151 led@08.4 { 152 compatible = "register-bit-led"; [all …]
|
D | kirkwood-dir665.dts | 49 pmx_led_usb: pmx-led-usb { 53 pmx_led_internet_blue: pmx-led-internet-blue { 57 pmx_led_internet_amber: pmx-led-internet-amber { 61 pmx_led_5g: pmx-led-5g { 65 pmx_led_status_blue: pmx-led-status-blue { 69 pmx_led_wps: pmx-led-wps { 73 pmx_led_status_amber: pmx-led-status-amber { 77 pmx_led_24g: pmx-led-24g {
|
/arch/arm64/boot/dts/arm/ |
D | juno-motherboard.dtsi | 162 led@08.0 { 163 compatible = "register-bit-led"; 170 led@08.1 { 171 compatible = "register-bit-led"; 178 led@08.2 { 179 compatible = "register-bit-led"; 186 led@08.3 { 187 compatible = "register-bit-led"; 194 led@08.4 { 195 compatible = "register-bit-led"; [all …]
|
/arch/arm/mach-sa1100/ |
D | assabet.c | 694 struct assabet_led *led = container_of(cdev, in assabet_led_set() local 698 ASSABET_BCR_clear(led->mask); in assabet_led_set() 700 ASSABET_BCR_set(led->mask); in assabet_led_set() 705 struct assabet_led *led = container_of(cdev, in assabet_led_get() local 708 return (ASSABET_BCR & led->mask) ? LED_OFF : LED_FULL; in assabet_led_get() 719 struct assabet_led *led; in assabet_leds_init() local 721 led = kzalloc(sizeof(*led), GFP_KERNEL); in assabet_leds_init() 722 if (!led) in assabet_leds_init() 725 led->cdev.name = assabet_leds[i].name; in assabet_leds_init() 726 led->cdev.brightness_set = assabet_led_set; in assabet_leds_init() [all …]
|
/arch/arm/mach-davinci/ |
D | board-dm365-evm.c | 577 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_set() local 581 reg &= ~led->mask; in cpld_led_set() 583 reg |= led->mask; in cpld_led_set() 589 struct cpld_led *led = container_of(cdev, struct cpld_led, cdev); in cpld_led_get() local 592 return (reg & led->mask) ? LED_OFF : LED_FULL; in cpld_led_get() 605 struct cpld_led *led; in cpld_leds_init() local 607 led = kzalloc(sizeof(*led), GFP_KERNEL); in cpld_leds_init() 608 if (!led) in cpld_leds_init() 611 led->cdev.name = cpld_leds[i].name; in cpld_leds_init() 612 led->cdev.brightness_set = cpld_led_set; in cpld_leds_init() [all …]
|
/arch/arm64/boot/dts/qcom/ |
D | apq8016-sbc.dtsi | 70 led@1 { 77 led@2 { 84 led@3 { 91 led@4 { 98 led@5 { 105 led@6 {
|
/arch/mips/boot/dts/qca/ |
D | ar9132_tl_wr1043nd_v1.dts | 91 led@0 { 96 led@1 { 102 led@2 { 107 led@3 {
|