/illumos-gate/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() 650 gpio.reg_val = (leds ^ 0xff); in solaris_setleds() 651 gpio.reg_mask = 0xffffffff; in solaris_setleds() 683 i2c_gpio_t gpio; in boston_set_frontleds() local 707 gpio.reg_val = leds; in boston_set_frontleds() 709 ioctl(fd, GPIO_SET_OUTPUT, &gpio); in boston_set_frontleds() 720 i2c_gpio_t gpio; in boston_set_rearleds() local 744 gpio.reg_val = leds; in boston_set_rearleds() [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_phy_api.h | 274 u16 gpio, u16 gpio_val, char *p_phy_result_buf); 287 u16 gpio, char *p_phy_result_buf); 301 u16 gpio, char *p_phy_result_buf);
|
H A D | ecore_phy.c | 1452 u16 gpio; in ecore_phy_sfp_set_txdisable() local 1460 gpio = (u16)ecore_rd(p_hwfn, p_ptt, in ecore_phy_sfp_set_txdisable() 1464 gpio &= NVM_CFG1_PORT_TRANS_MODULE_ABS_MASK; in ecore_phy_sfp_set_txdisable() 1465 rc = ecore_phy_gpio_write(p_hwfn, p_ptt, gpio, in ecore_phy_sfp_set_txdisable() 1651 u16 gpio, u16 gpio_val, char *p_phy_result_buf) in ecore_phy_gpio_write() argument 1660 gpio); in ecore_phy_gpio_write() 1663 "Can't write to gpio %d\n", gpio); in ecore_phy_gpio_write() 1670 u16 gpio, char *p_phy_result_buf) in ecore_phy_gpio_read() argument 1681 "Can't read from gpio %d\n", gpio); in ecore_phy_gpio_read() 1688 u16 gpio, char *p_phy_result_buf) in ecore_phy_gpio_info() argument [all …]
|
H A D | ecore_mcp_api.h | 1105 u16 gpio, u32 *gpio_val); 1119 u16 gpio, u16 gpio_val); 1135 u16 gpio, u32 *gpio_direction,
|
H A D | ecore_mcp.c | 3218 u16 gpio, u32 *gpio_val) in ecore_mcp_gpio_read() argument 3223 drv_mb_param = (gpio << DRV_MB_PARAM_GPIO_NUMBER_SHIFT); in ecore_mcp_gpio_read() 3239 u16 gpio, u16 gpio_val) in ecore_mcp_gpio_write() argument 3244 drv_mb_param = (gpio << DRV_MB_PARAM_GPIO_NUMBER_SHIFT) | in ecore_mcp_gpio_write() 3261 u16 gpio, u32 *gpio_direction, in ecore_mcp_gpio_info() argument 3267 drv_mb_param = gpio << DRV_MB_PARAM_GPIO_NUMBER_SHIFT; in ecore_mcp_gpio_info()
|
H A D | release.txt | 3771 8. Request: Add support for gpio read and write.
|
/illumos-gate/usr/src/uts/common/io/axf/ |
H A D | axf_usbgem.c | 257 uint8_t gpio; member 354 lp->gpio = GPIO_RSE | GPIO_DATA2 | GPIO_EN2; in axf_reset_phy() 355 OUT(dp, VCMD_WRITE_GPIO, lp->gpio, 0, in axf_reset_phy() 605 uint8_t gpio; in axf_set_media() local 611 IN(dp, VCMD_READ_GPIO, 0, 0, 1, &gpio, &err, usberr); in axf_set_media() 614 dp->name, __func__, gpio, GPIO_BITS)); in axf_set_media() 617 gpio_old = gpio; in axf_set_media() 618 gpio = lp->chip->gpio_reset[0]; in axf_set_media() 673 gpio |= lp->chip->gpio_duplex[dp->full_duplex ? 1 : 0]; in axf_set_media() 680 if (gpio != gpio_old) { in axf_set_media() [all …]
|
/illumos-gate/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() 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() 3802 if (gpio >= ah->ah_caps.num_gpio_pins) in ath9k_hw_gpio_get() 3811 AR_GPIO_BIT(gpio)) != 0); in ath9k_hw_gpio_get() 3823 gpio_shift = 2 * gpio; in ath9k_hw_cfg_output() 3834 REG_RMW(ah, AR_GPIO_IN_OUT, ((val & 1) << gpio), in ath9k_hw_set_gpio() [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);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 53 static int gpio(di_minor_t minor, di_node_t node); 163 TYPE_EXACT | DRV_EXACT, ILEVEL_0, gpio 567 gpio(di_minor_t minor, di_node_t node) in gpio() function
|
/illumos-gate/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);
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 1776 int gpio; in tavor_flash_init() local 1817 gpio = state->ts_fw_gpio[0] | 0x70; in tavor_flash_init() 1818 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_DIR, gpio); in tavor_flash_init() 1820 gpio = state->ts_fw_gpio[1] & ~0x70; in tavor_flash_init() 1821 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_POL, gpio); in tavor_flash_init() 1823 gpio = state->ts_fw_gpio[2] & ~0x70; in tavor_flash_init() 1824 tavor_flash_write_cfg(hdl, TAVOR_HW_FLASH_GPIO_MOD, gpio); in tavor_flash_init()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_mbox.c | 1104 IOCTL_LOWLEVEL_GPIO_RDWR *gpio; in emlxs_mb_gpio_write() local 1125 gpio = (IOCTL_LOWLEVEL_GPIO_RDWR *)&mb4->un.varSLIConfig.payload; in emlxs_mb_gpio_write() 1126 gpio->params.request.GpioAction = LOWLEVEL_GPIO_ACT_WRITE; in emlxs_mb_gpio_write() 1127 gpio->params.request.LogicalPin = pin; in emlxs_mb_gpio_write() 1128 gpio->params.request.PinValue = val; in emlxs_mb_gpio_write()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | nvm_meta.txt | 319 233,name "Thermal Alarm gpio" 233,group_name "features" 233,entity_name "glob" 233,struct_name "nvm…
|