Home
last modified time | relevance | path

Searched refs:sfp_rdy (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_xgmac.c464 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpio_lookup()
465 if (IS_ERR(pdata->sfp_rdy)) in xgene_enet_gpio_lookup()
466 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpio_lookup()
468 if (IS_ERR(pdata->sfp_rdy)) in xgene_enet_gpio_lookup()
483 (!IS_ERR(pdata->sfp_rdy) || !xgene_enet_gpio_lookup(pdata)) && in xgene_enet_link_state()
484 !gpiod_get_value(pdata->sfp_rdy)) in xgene_enet_link_state()
H A Dxgene_enet_main.h235 struct gpio_desc *sfp_rdy; member
H A Dxgene_enet_main.c1677 pdata->sfp_rdy = gpiod_get(dev, "rxlos", GPIOD_IN); in xgene_enet_gpiod_get()
1678 if (IS_ERR(pdata->sfp_rdy)) in xgene_enet_gpiod_get()
1679 pdata->sfp_rdy = gpiod_get(dev, "sfp", GPIOD_IN); in xgene_enet_gpiod_get()