Lines Matching refs:sel
17 int sel; member
20 static int mdio_mux_sandbox_mark_selection(struct udevice *dev, int sel) in mdio_mux_sandbox_mark_selection() argument
35 SANDBOX_PHY_REG_CNT - 1, (u16)sel); in mdio_mux_sandbox_mark_selection()
38 static int mdio_mux_sandbox_select(struct udevice *dev, int cur, int sel) in mdio_mux_sandbox_select() argument
45 if (cur != priv->sel) in mdio_mux_sandbox_select()
48 priv->sel = sel; in mdio_mux_sandbox_select()
49 mdio_mux_sandbox_mark_selection(dev, priv->sel); in mdio_mux_sandbox_select()
54 static int mdio_mux_sandbox_deselect(struct udevice *dev, int sel) in mdio_mux_sandbox_deselect() argument
61 if (sel != priv->sel) in mdio_mux_sandbox_deselect()
64 priv->sel = -1; in mdio_mux_sandbox_deselect()
65 mdio_mux_sandbox_mark_selection(dev, priv->sel); in mdio_mux_sandbox_deselect()
80 priv->sel = -1; in mdio_mux_sandbox_probe()