Searched refs:desired_child (Results 1 – 3 of 3) sorted by relevance
44 static int mdio_mux_mmioreg_switch_fn(int current_child, int desired_child, in mdio_mux_mmioreg_switch_fn() argument49 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()
25 static int mdio_mux_gpio_switch_fn(int current_child, int desired_child, in mdio_mux_gpio_switch_fn() argument32 if (current_child == desired_child) in mdio_mux_gpio_switch_fn()36 values[n] = (desired_child >> n) & 1; in mdio_mux_gpio_switch_fn()
26 int (*switch_fn)(int current_child, int desired_child, void *data);