Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/
A Dlan743x_ptp.c35 gpio->gpio_cfg1 = 0x0FFF0000;/* disable all gpio, set to open drain */ in lan743x_gpio_init()
39 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_init()
259 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOEN_BIT_(pin); in lan743x_gpio_rsrv_ptp_out()
260 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOBUF_BIT_(pin); in lan743x_gpio_rsrv_ptp_out()
261 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_rsrv_ptp_out()
305 gpio->gpio_cfg1 |= GPIO_CFG1_GPIOEN_BIT_(pin); in lan743x_gpio_release()
306 gpio->gpio_cfg1 &= ~GPIO_CFG1_GPIOBUF_BIT_(pin); in lan743x_gpio_release()
307 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_release()
A Dlan743x_ptp.h33 u32 gpio_cfg1; member

Completed in 5 milliseconds