Searched refs:current_child (Results 1 – 4 of 4) sorted by relevance
/drivers/net/phy/ |
D | mdio-mux.c | 23 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()
|
D | mdio-mux-gpio.c | 25 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()
|
D | mdio-mux-mmioreg.c | 44 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/ |
D | dm-btree.c | 169 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()
|