Searched defs:gpio (Results 1 - 4 of 4) sorted by relevance

/external/autotest/client/site_tests/hardware_GPIOSwitches/
H A Dhardware_GPIOSwitches.py13 from autotest_lib.client.cros import gpio namespace
19 self._gpio = gpio.Gpio(error.TestError)
26 'Unable to read gpio value "%s"\n'
27 '測試程式無法讀取 gpio 數值 "%s"' % (name, name))
/external/syslinux/gpxe/src/drivers/net/ath5k/
H A Dath5k_gpio.c34 int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) argument
36 if (gpio >= AR5K_NUM_GPIO)
40 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio))
41 | AR5K_GPIOCR_IN(gpio), AR5K_GPIOCR);
49 int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) argument
51 if (gpio >= AR5K_NUM_GPIO)
55 (ath5k_hw_reg_read(ah, AR5K_GPIOCR) & ~AR5K_GPIOCR_OUT(gpio))
56 | AR5K_GPIOCR_OUT(gpio), AR5K_GPIOCR);
64 u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) argument
66 if (gpio >
77 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) argument
98 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, u32 interrupt_level) argument
[all...]
H A Dbase.h107 #define ATH_STAT_LEDSOFT 0x08 /* enable LED gpio status */
127 u16 gpio; member in struct:ath5k_softc::__anon20146
/external/libese/libese-hw/nxp/pn80t/
H A Dlinux_spidev.c45 if (snprintf(val_path, sizeof(val_path), "/sys/class/gpio/gpio%d/value",
93 if (snprintf(dir_path, sizeof(dir_path), "/sys/class/gpio/gpio%d/direction",
100 fd = open("/sys/class/gpio/export", O_WRONLY);
124 int gpio = 0; local
133 for (; gpio < kBoardGpioMax; ++gpio) {
134 if (gpio_configure(board->gpios[gpio], 1, 1) < 0) {

Completed in 132 milliseconds