Searched refs:gpio (Results 1 – 8 of 8) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ath5k/ |
D | ath5k_gpio.c | 34 int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_input() argument 36 if (gpio >= AR5K_NUM_GPIO) in ath5k_hw_set_gpio_input() 40 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio)) in ath5k_hw_set_gpio_input() 41 | AR5K_GPIOCR_IN(gpio), AR5K_GPIOCR); in ath5k_hw_set_gpio_input() 49 int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_output() argument 51 if (gpio >= AR5K_NUM_GPIO) in ath5k_hw_set_gpio_output() 55 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio)) in ath5k_hw_set_gpio_output() 56 | AR5K_GPIOCR_OUT(gpio), AR5K_GPIOCR); in ath5k_hw_set_gpio_output() 64 u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_get_gpio() argument 66 if (gpio >= AR5K_NUM_GPIO) in ath5k_hw_get_gpio() [all …]
|
D | ath5k_rfkill.c | 45 sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_disable() 46 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio); in ath5k_rfkill_disable() 47 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, !sc->rf_kill.polarity); in ath5k_rfkill_disable() 54 sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_enable() 55 ath5k_hw_set_gpio_output(sc->ah, sc->rf_kill.gpio); in ath5k_rfkill_enable() 56 ath5k_hw_set_gpio(sc->ah, sc->rf_kill.gpio, sc->rf_kill.polarity); in ath5k_rfkill_enable() 64 ath5k_hw_set_gpio_input(ah, sc->rf_kill.gpio); in ath5k_rfkill_set_intr() 65 curval = ath5k_hw_get_gpio(ah, sc->rf_kill.gpio); in ath5k_rfkill_set_intr() 66 ath5k_hw_set_gpio_intr(ah, sc->rf_kill.gpio, enable ? in ath5k_rfkill_set_intr() 75 return (ath5k_hw_get_gpio(sc->ah, sc->rf_kill.gpio) == in ath5k_is_rfkill_set() [all …]
|
D | ath5k.h | 1150 extern int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio); 1151 extern int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio); 1152 extern u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio); 1153 extern int ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val); 1154 extern void ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, u32 interrupt_level);
|
D | base.h | 127 u16 gpio; member
|
/external/autotest/client/cros/ |
D | gpio.py | 114 gpio = Gpio() 116 gpio.setup() 118 gpio.read(gpio.DEVELOPER_SWITCH_CURRENT))
|
/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 124 int gpio = 0; in platform_init() local 133 for (; gpio < kBoardGpioMax; ++gpio) { in platform_init() 134 if (gpio_configure(board->gpios[gpio], 1, 1) < 0) { in platform_init()
|
/external/autotest/client/site_tests/hardware_GPIOSwitches/ |
D | hardware_GPIOSwitches.py | 13 from autotest_lib.client.cros import gpio 19 self._gpio = gpio.Gpio(error.TestError)
|
/external/dtc/tests/ |
D | propname_escapes.dts | 5 \#gpio-cells = <2>;
|