Home
last modified time | relevance | path

Searched refs:rst_gpio (Results 1 – 5 of 5) sorted by relevance

/rk3399_rockchip-uboot/board/ti/evm/
H A Devm.c275 int rst_gpio; in reset_net_chip() local
278 rst_gpio = OMAP3EVM_GPIO_ETH_RST_GEN1; in reset_net_chip()
280 rst_gpio = OMAP3EVM_GPIO_ETH_RST_GEN2; in reset_net_chip()
283 ret = gpio_request(rst_gpio, ""); in reset_net_chip()
285 printf("Unable to get GPIO %d\n", rst_gpio); in reset_net_chip()
290 gpio_direction_output(rst_gpio, 0); in reset_net_chip()
293 gpio_set_value(rst_gpio, 1); in reset_net_chip()
295 gpio_set_value(rst_gpio, 0); in reset_net_chip()
297 gpio_set_value(rst_gpio, 1); in reset_net_chip()
/rk3399_rockchip-uboot/board/compulab/common/
H A Domap3_smc911x.c76 int (*reset)(int), int rst_gpio) in cl_omap3_smc911x_init() argument
83 reset(rst_gpio); in cl_omap3_smc911x_init()
85 cl_omap3_smc911x_reset_net_chip(rst_gpio); in cl_omap3_smc911x_init()
H A Dcommon.h29 int (*reset)(int), int rst_gpio);
32 int (*reset)(int), int rst_gpio) in cl_omap3_smc911x_init() argument
/rk3399_rockchip-uboot/drivers/net/
H A Dpic32_eth.c35 struct gpio_desc rst_gpio; member
42 if (!dm_gpio_is_valid(&priv->rst_gpio)) in board_netphy_reset()
46 dm_gpio_set_value(&priv->rst_gpio, 0); in board_netphy_reset()
48 dm_gpio_set_value(&priv->rst_gpio, 1); in board_netphy_reset()
565 &priv->rst_gpio, GPIOD_IS_OUT); in pic32_eth_probe()
582 dm_gpio_free(dev, &priv->rst_gpio); in pic32_eth_remove()
/rk3399_rockchip-uboot/drivers/pci/
H A Dpcie_dw_rockchip.c70 struct gpio_desc rst_gpio; member
658 if (dm_gpio_is_valid(&priv->rst_gpio)) { in rk_pcie_link_up()
665 dm_gpio_set_value(&priv->rst_gpio, 1); in rk_pcie_link_up()
698 if (dm_gpio_is_valid(&priv->rst_gpio)) in rk_pcie_link_up()
699 dm_gpio_set_value(&priv->rst_gpio, 0); in rk_pcie_link_up()
712 if (dm_gpio_is_valid(&priv->rst_gpio)) in rockchip_pcie_init_port()
713 dm_gpio_set_value(&priv->rst_gpio, 0); in rockchip_pcie_init_port()
816 &priv->rst_gpio, GPIOD_IS_OUT); in rockchip_pcie_parse_dt()
980 dm_gpio_free(dev, &priv->rst_gpio); in rockchip_pcie_probe()