Lines Matching +full:bank +full:- +full:ioport

1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/arm/mach-footbridge/netwinder-hw.c
10 #include <linux/ioport.h>
20 #include <asm/mach-types.h>
219 * Initialise the Winbond W83977F Infra-Red device
237 * RX DMA - ISA DMA 0 in wb977_init_irda()
242 * TX DMA - Disable Tx DMA in wb977_init_irda()
247 * Append CRC, Enable bank selection in wb977_init_irda()
267 current_gpio_io = -1; in wb977_init_gpio()
268 __gpio_modify_io(-1, GPIO_DONE | GPIO_WDTIMER); in wb977_init_gpio()
304 * - timer disable in wb977_init_gpio()
309 * - disable LED, no mouse nor keyboard IRQ in wb977_init_gpio()
314 * - timer counting, disable power LED, disable timeouot in wb977_init_gpio()
327 nw_gpio_modify_op(-1, GPIO_RED_LED | GPIO_FAN); in wb977_init_gpio()
350 * the multi-IO chip. in wb977_init()
390 nw_cpld_modify(-1, CPLD_UNMUTE | CPLD_7111_DISABLE); in cpld_init()
464 /* disable the MPU-401 section of the chip */ in rwa010_global_init()
524 dprintk(" 8-bit DMA: "); in rwa010_soundblaster_init()
631 * on the NetWinder - it will reset the settings in fixup_netwinder()
655 /* set GP16 for WD-TIMER output */ in netwinder_restart()
685 * - setting bit means turn off LED
686 * - clearing bit means turn on LED
699 reg &= ~led->mask; in netwinder_led_set()
701 reg |= led->mask; in netwinder_led_set()
702 nw_gpio_modify_op(led->mask, reg); in netwinder_led_set()
717 return (reg & led->mask) ? LED_OFF : LED_FULL; in netwinder_led_get()
725 return -ENODEV; in netwinder_leds_init()
734 led->cdev.name = netwinder_leds[i].name; in netwinder_leds_init()
735 led->cdev.brightness_set = netwinder_led_set; in netwinder_leds_init()
736 led->cdev.brightness_get = netwinder_led_get; in netwinder_leds_init()
737 led->cdev.default_trigger = netwinder_leds[i].trigger; in netwinder_leds_init()
740 led->mask = GPIO_GREEN_LED; in netwinder_leds_init()
742 led->mask = GPIO_RED_LED; in netwinder_leds_init()
744 if (led_classdev_register(NULL, &led->cdev) < 0) { in netwinder_leds_init()
760 MACHINE_START(NETWINDER, "Rebel-NetWinder")