Home
last modified time | relevance | path

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

/linux/drivers/net/mdio/
H A 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()
66 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read_c45()
70 pb->current_child = cb->bus_number; in mdio_mux_read_c45()
91 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write()
95 pb->current_child = cb->bus_number; in mdio_mux_write()
113 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write_c45()
117 pb->current_child in mdio_mux_write_c45()
[all...]
H A 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()
H A Dmdio-mux-meson-gxl.c87 static int gxl_mdio_switch_fn(int current_child, int desired_child, in gxl_mdio_switch_fn() argument
92 if (current_child == desired_child) in gxl_mdio_switch_fn()
H A Dmdio-mux-meson-g12a.c198 static int g12a_mdio_switch_fn(int current_child, int desired_child, in g12a_mdio_switch_fn() argument
203 if (current_child == desired_child) in g12a_mdio_switch_fn()
H A Dmdio-mux-bcm6368.c79 static int bcm6368_mdiomux_switch_fn(int current_child, int desired_child, in bcm6368_mdiomux_switch_fn() argument
H A Dmdio-mux-bcm-iproc.c192 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
/linux/drivers/md/persistent-data/
H A Ddm-btree.c170 unsigned int current_child; member
245 f->current_child = 0; in push_frame()
303 if (f->current_child >= f->nr_children) { in dm_btree_del()
310 b = value64(f->n, f->current_child); in dm_btree_del()
311 f->current_child++; in dm_btree_del()
317 b = value64(f->n, f->current_child); in dm_btree_del()
318 f->current_child++; in dm_btree_del()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sun8i.c865 * 'current_child' is the current value of the mux register
868 * The first time this function is called, current_child == -1.
869 * If current_child == desired_child, then the mux is already set to the
872 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument
880 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()