Searched refs:gpio (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 641 i2c_gpio_t gpio; in solaris_setleds() local 647 gpio.reg_val = (leds ^ 0xff); in solaris_setleds() 648 gpio.reg_mask = 0xffffffff; in solaris_setleds() 649 if (ioctl(fd, GPIO_SET_CONFIG, &gpio) == 0) { in solaris_setleds() 650 gpio.reg_val = (leds ^ 0xff); in solaris_setleds() 651 gpio.reg_mask = 0xffffffff; in solaris_setleds() 652 (void) ioctl(fd, GPIO_SET_OUTPUT, &gpio); in solaris_setleds() 683 i2c_gpio_t gpio; in boston_set_frontleds() local 691 gpio.reg_val = BOSTON_FRONT_CLEAR_POL; in boston_set_frontleds() 692 gpio.reg_mask = BOSTON_FRONT_LED_MASK; in boston_set_frontleds() [all …]
|
/titanic_44/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 51 static int gpio(di_minor_t minor, di_node_t node); 151 TYPE_EXACT | DRV_EXACT, ILEVEL_0, gpio 546 gpio(di_minor_t minor, di_node_t node) in gpio() function
|
/titanic_44/usr/src/uts/common/io/arn/ |
H A D | arn_hw.c | 3757 uint32_t gpio, uint32_t type) in ath9k_hw_gpio_cfg_output_mux() argument 3762 if (gpio > 11) in ath9k_hw_gpio_cfg_output_mux() 3764 else if (gpio > 5) in ath9k_hw_gpio_cfg_output_mux() 3769 gpio_shift = (gpio % 6) * 5; in ath9k_hw_gpio_cfg_output_mux() 3785 ath9k_hw_cfg_gpio_input(struct ath_hal *ah, uint32_t gpio) in ath9k_hw_cfg_gpio_input() argument 3789 ASSERT(gpio < ah->ah_caps.num_gpio_pins); in ath9k_hw_cfg_gpio_input() 3791 gpio_shift = gpio << 1; in ath9k_hw_cfg_gpio_input() 3800 ath9k_hw_gpio_get(struct ath_hal *ah, uint32_t gpio) in ath9k_hw_gpio_get() argument 3802 if (gpio >= ah->ah_caps.num_gpio_pins) in ath9k_hw_gpio_get() 3807 AR928X_GPIO_IN_VAL) & AR_GPIO_BIT(gpio)) != 0); in ath9k_hw_gpio_get() [all …]
|
H A D | arn_ath9k.h | 906 void ath9k_hw_cfg_gpio_input(struct ath_hal *ah, uint32_t gpio); 907 uint32_t ath9k_hw_gpio_get(struct ath_hal *ah, uint32_t gpio); 908 void ath9k_hw_cfg_output(struct ath_hal *ah, uint32_t gpio, 910 void ath9k_hw_set_gpio(struct ath_hal *ah, uint32_t gpio, uint32_t val);
|
/titanic_44/usr/src/uts/common/io/ath/ |
H A D | ath_hal.h | 971 HAL_BOOL (*ah_gpioCfgOutput) (struct ath_hal *, uint32_t gpio); 972 HAL_BOOL (*ah_gpioCfgInput) (struct ath_hal *, uint32_t gpio); 973 uint32_t (*ah_gpioGet) (struct ath_hal *, uint32_t gpio); 975 uint32_t gpio, uint32_t val);
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 2067 int gpio; in tavor_flash_init() local 2110 gpio = state->ts_fw_gpio[0] | 0x70; in tavor_flash_init() 2111 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_DIR, gpio); in tavor_flash_init() 2113 gpio = state->ts_fw_gpio[1] & ~0x70; in tavor_flash_init() 2114 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_POL, gpio); in tavor_flash_init() 2116 gpio = state->ts_fw_gpio[2] & ~0x70; in tavor_flash_init() 2117 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_MOD, gpio); in tavor_flash_init()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ioctl.c | 2372 int gpio; in hermon_flash_init() local 2426 gpio = state->hs_fw_gpio[0] | HERMON_HW_FLASH_GPIO_PIN_ENABLE; in hermon_flash_init() 2427 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_DATA, gpio); in hermon_flash_init() 2442 gpio = state->hs_fw_gpio[1] | HERMON_HW_FLASH_GPIO_PIN_ENABLE; in hermon_flash_init() 2443 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_MOD0, gpio); in hermon_flash_init() 2445 gpio = state->hs_fw_gpio[2] & ~HERMON_HW_FLASH_GPIO_PIN_ENABLE; in hermon_flash_init() 2446 hermon_flash_write_cfg(state, hdl, HERMON_HW_FLASH_GPIO_MOD1, gpio); in hermon_flash_init()
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | system-kernel-platform.mf | 421 $(sparc_ONLY)driver name=gpio_87317 alias=ns87317-gpio perms="* 0600 root sys"
|