Searched refs:GPIO_PIN_HIGH (Results 1 – 19 of 19) sorted by relevance
272 bits & GPIOIIC_SDA ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gpioiic_bb_set_bits()274 bits & GPIOIIC_SCL ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gpioiic_bb_set_bits()301 GPIO_PIN_HIGH) in gpioiic_bb_read_bits()304 GPIO_PIN_HIGH) in gpioiic_bb_read_bits()
239 GPIO_PIN_HIGH ? 1 : 0); in gpioow_bb_get()248 value ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gpioow_bb_set()
130 return GPIO_PIN_HIGH; in gpiosim_pin_read()
368 if (value != GPIO_PIN_LOW && value != GPIO_PIN_HIGH) in gpio_ioctl()401 GPIO_PIN_HIGH : GPIO_PIN_LOW); in gpio_ioctl()
240 GPIO_PIN_HIGH ? 1 : 0); in gpiodcf_signal()
305 bits & GPIOIIC_SDA ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gdiumiic_bb_set_bits()307 bits & GPIOIIC_SCL ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in gdiumiic_bb_set_bits()336 GPIO_PIN_HIGH) in gdiumiic_bb_read_bits()339 GPIO_PIN_HIGH) in gdiumiic_bb_read_bits()
318 return data & mask ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in voyager_gpio_pin_read()
178 return (data & (1 << pin)) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in skgpio_gpio_read()191 else if (value == GPIO_PIN_HIGH) in skgpio_gpio_write()222 return (value & 0x1) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in skgpio_led_read()
146 else if (value == GPIO_PIN_HIGH) in isagpio_pin_write()
527 i) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in nsclpcsio_gpio_init()
23 #define GPIO_PIN_HIGH 0x01 /* high level (logical 1) */ macro
116 GPIO_PIN_HIGH : GPIO_PIN_LOW; in gscpcib_attach()
217 return mpfgpio_get_pin(sc, cells) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in mpfgpio_pin_read()
241 op.gp_value = (value == 0 ? GPIO_PIN_LOW : GPIO_PIN_HIGH); in pinwrite()
360 GPIO_PIN_HIGH : GPIO_PIN_LOW; in omgpio_attach()462 omgpio_pin_write(sc, GPIO_PIN_TO_OFFSET(gpio), GPIO_PIN_HIGH); in omgpio_set_bit()
316 return bcmgpio_get_pin(sc, cells) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in bcmgpio_pin_read()
507 return sxipio_get_pin(gpio->sc, cells) ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in sxipio_pin_read()
524 return data & 1 << pin ? GPIO_PIN_HIGH : GPIO_PIN_LOW; in glxpcib_gpio_pin_read()
3108 GPIO_PIN_HIGH : GPIO_PIN_LOW; in ath_gpio_attach()3145 return (ath_hal_get_gpio(ah, pin) ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in ath_gpio_pin_read()3153 ath_hal_set_gpio(ah, pin, value ? GPIO_PIN_HIGH : GPIO_PIN_LOW); in ath_gpio_pin_write()