Lines Matching refs:desired_child
34 * 'desired_child' is the value of the 'reg' property of the target child MDIO
39 * If current_child == desired_child, then the mux is already set to the
42 static int mdio_mux_mmioreg_switch_fn(int current_child, int desired_child,
47 if (current_child ^ desired_child) {
57 y = (x & ~s->mask) | desired_child;
59 iowrite8((x & ~s->mask) | desired_child, p);
69 y = (x & ~s->mask) | desired_child;
71 iowrite16((x & ~s->mask) | desired_child, p);
81 y = (x & ~s->mask) | desired_child;
83 iowrite32((x & ~s->mask) | desired_child, p);