Home
last modified time | relevance | path

Searched refs:gpio_cfg1 (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/microchip/
Dlan743x_ptp.c33 gpio->gpio_cfg1 = 0x0FFF0000;/* disable all gpio, set to open drain */ in lan743x_gpio_init()
37 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_init()
203 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOEN_BIT_(bit); in lan743x_gpio_rsrv_ptp_out()
204 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOBUF_BIT_(bit); in lan743x_gpio_rsrv_ptp_out()
205 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_rsrv_ptp_out()
249 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOEN_BIT_(bit); in lan743x_gpio_release()
250 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOBUF_BIT_(bit); in lan743x_gpio_release()
251 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_release()
Dlan743x_ptp.h21 u32 gpio_cfg1; member