Searched refs:current_child (Results 1 – 8 of 8) sorted by relevance
/drivers/net/mdio/ |
D | mdio-mux.c | 19 int current_child; member 22 int (*switch_fn)(int current_child, int desired_child, void *data); 45 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read() 49 pb->current_child = cb->bus_number; in mdio_mux_read() 70 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write() 74 pb->current_child = cb->bus_number; in mdio_mux_write() 139 pb->current_child = -1; in mdio_mux_init()
|
D | mdio-mux-multiplexer.c | 31 static int mdio_mux_multiplexer_switch_fn(int current_child, int desired_child, in mdio_mux_multiplexer_switch_fn() argument 41 if (!(current_child ^ desired_child)) in mdio_mux_multiplexer_switch_fn() 54 dev_dbg(&pdev->dev, "%s %d -> %d\n", __func__, current_child, in mdio_mux_multiplexer_switch_fn()
|
D | mdio-mux-gpio.c | 22 static int mdio_mux_gpio_switch_fn(int current_child, int desired_child, in mdio_mux_gpio_switch_fn() argument 28 if (current_child == desired_child) in mdio_mux_gpio_switch_fn()
|
D | mdio-mux-mmioreg.c | 42 static int mdio_mux_mmioreg_switch_fn(int current_child, int desired_child, in mdio_mux_mmioreg_switch_fn() argument 47 if (current_child ^ desired_child) { in mdio_mux_mmioreg_switch_fn()
|
D | mdio-mux-meson-g12a.c | 204 static int g12a_mdio_switch_fn(int current_child, int desired_child, in g12a_mdio_switch_fn() argument 209 if (current_child == desired_child) in g12a_mdio_switch_fn()
|
D | mdio-mux-bcm-iproc.c | 160 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 169 unsigned current_child; member 244 f->current_child = 0; in push_frame() 302 if (f->current_child >= f->nr_children) { in dm_btree_del() 309 b = value64(f->n, f->current_child); in dm_btree_del() 310 f->current_child++; in dm_btree_del() 316 b = value64(f->n, f->current_child); in dm_btree_del() 317 f->current_child++; in dm_btree_del()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-sun8i.c | 844 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument 852 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()
|