Home
last modified time | relevance | path

Searched refs:current_child (Results 1 – 8 of 8) sorted by relevance

/drivers/net/mdio/
Dmdio-mux.c19 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()
Dmdio-mux-multiplexer.c31 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()
Dmdio-mux-gpio.c22 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()
Dmdio-mux-mmioreg.c42 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()
Dmdio-mux-meson-g12a.c204 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()
Dmdio-mux-bcm-iproc.c160 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
/drivers/md/persistent-data/
Ddm-btree.c169 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/
Ddwmac-sun8i.c844 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()