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

/illumos-gate/usr/src/cmd/devfsadm/
H A Dmisc_link.c51 static int gpio(di_minor_t minor, di_node_t node);
160 TYPE_EXACT | DRV_EXACT, ILEVEL_0, gpio
248 /* Rules for gpio devices */
250 {"^gpio([0-9]+)$", 1, MATCH_ALL};
555 gpio(di_minor_t minor, di_node_t node) function
579 (void) snprintf(l_path, sizeof (l_path), "%s%s", "gpio", buf);
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ioctl.c2067 int gpio; local
2110 gpio = state->ts_fw_gpio[0] | 0x70;
2111 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_DIR, gpio);
2113 gpio = state->ts_fw_gpio[1] & ~0x70;
2114 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_POL, gpio);
2116 gpio = state->ts_fw_gpio[2] & ~0x70;
2117 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_MOD, gpio);
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c2372 int gpio; local
2426 gpio = state->hs_fw_gpio[0] | HERMON_HW_FLASH_GPIO_PIN_ENABLE;
2427 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_DATA, gpio);
2442 gpio = state->hs_fw_gpio[1] | HERMON_HW_FLASH_GPIO_PIN_ENABLE;
2443 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_MOD0, gpio);
2445 gpio = state->hs_fw_gpio[2] & ~HERMON_HW_FLASH_GPIO_PIN_ENABLE;
2446 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_MOD1, gpio);
2646 /* Give up gpio semaphore */
/illumos-gate/usr/src/uts/common/io/axf/
H A Daxf_usbgem.c134 * gpio bit2 has to be 0 and gpio bit0 has to be 1
259 uint8_t gpio; member in struct:axf_dev
336 DPRINTF(0, (CE_CONT, "!%s: %s: gpio 0x%b",
356 lp->gpio = GPIO_RSE | GPIO_DATA2 | GPIO_EN2;
357 OUT(dp, VCMD_WRITE_GPIO, lp->gpio, 0,
607 uint8_t gpio; local
613 IN(dp, VCMD_READ_GPIO, 0, 0, 1, &gpio, &err, usberr);
615 DPRINTF(0, (CE_CONT, "!%s: %s: called, gpio:%b",
616 dp->name, __func__, gpio, GPIO_BIT
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.c3757 uint32_t gpio, uint32_t type)
3762 if (gpio > 11)
3764 else if (gpio > 5)
3769 gpio_shift = (gpio % 6) * 5;
3785 ath9k_hw_cfg_gpio_input(struct ath_hal *ah, uint32_t gpio) argument
3789 ASSERT(gpio < ah->ah_caps.num_gpio_pins);
3791 gpio_shift = gpio << 1;
3800 ath9k_hw_gpio_get(struct ath_hal *ah, uint32_t gpio) argument
3802 if (gpio >= ah->ah_caps.num_gpio_pins)
3807 AR928X_GPIO_IN_VAL) & AR_GPIO_BIT(gpio)) !
3756 ath9k_hw_gpio_cfg_output_mux(struct ath_hal *ah, uint32_t gpio, uint32_t type) argument
3816 ath9k_hw_cfg_output(struct ath_hal *ah, uint32_t gpio, uint32_t ah_signal_type) argument
3832 ath9k_hw_set_gpio(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c262 #define ENXS_FRONT_LEDS "gpio@0,70:"
263 #define ENXS_REAR_LEDS ENXS_LED_DIR "gpio@0,44:port_1"
266 #define ENTS_LEDS "gpio@0,70:"
269 #define V440_LED_PATH V440_LED_DIR "gpio@0,48:port_0"
276 #define BOSTON_FRONT_LED_PATH BOSTON_LED_DIR "gpio@0,3a:port_0"
302 * path names to system-controller device and fault led gpio
641 i2c_gpio_t gpio; local
647 gpio.reg_val = (leds ^ 0xff);
648 gpio.reg_mask = 0xffffffff;
649 if (ioctl(fd, GPIO_SET_CONFIG, &gpio)
683 i2c_gpio_t gpio; local
720 i2c_gpio_t gpio; local
[all...]

Completed in 99 milliseconds