Searched refs:gpio_cfg1 (Results 1 – 2 of 2) sorted by relevance
36 u32 gpio_cfg1; member
47 gpio->gpio_cfg1 = 0x0FFF0000;/* disable all gpio, set to open drain */ in lan743x_gpio_init()51 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_init()273 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOEN_BIT_(pin); in lan743x_gpio_rsrv_ptp_out()274 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOBUF_BIT_(pin); in lan743x_gpio_rsrv_ptp_out()275 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_rsrv_ptp_out()319 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOEN_BIT_(pin); in lan743x_gpio_release()320 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOBUF_BIT_(pin); in lan743x_gpio_release()321 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_release()