Home
last modified time | relevance | path

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

/drivers/net/phy/
Dmdio-mux-mmioreg.c44 static int mdio_mux_mmioreg_switch_fn(int current_child, int desired_child, in mdio_mux_mmioreg_switch_fn() argument
49 if (current_child ^ desired_child) { in mdio_mux_mmioreg_switch_fn()
57 y = (x & ~s->mask) | desired_child; in mdio_mux_mmioreg_switch_fn()
59 iowrite8((x & ~s->mask) | desired_child, p); in mdio_mux_mmioreg_switch_fn()
Dmdio-mux-gpio.c25 static int mdio_mux_gpio_switch_fn(int current_child, int desired_child, in mdio_mux_gpio_switch_fn() argument
32 if (current_child == desired_child) in mdio_mux_gpio_switch_fn()
36 values[n] = (desired_child >> n) & 1; in mdio_mux_gpio_switch_fn()
Dmdio-mux.c26 int (*switch_fn)(int current_child, int desired_child, void *data);