Home
last modified time | relevance | path

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

/drivers/net/phy/
Dmdio-mux.c23 int current_child; member
26 int (*switch_fn)(int current_child, int desired_child, void *data);
56 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read()
60 pb->current_child = cb->bus_number; in mdio_mux_read()
81 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write()
85 pb->current_child = cb->bus_number; in mdio_mux_write()
130 pb->current_child = -1; in mdio_mux_init()
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()
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()
/drivers/md/persistent-data/
Ddm-btree.c169 unsigned current_child; member
244 f->current_child = 0; in push_frame()
297 if (f->current_child >= f->nr_children) { in dm_btree_del()
304 b = value64(f->n, f->current_child); in dm_btree_del()
305 f->current_child++; in dm_btree_del()
311 b = value64(f->n, f->current_child); in dm_btree_del()
312 f->current_child++; in dm_btree_del()