Home
last modified time | relevance | path

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

/openbmc/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 = cb->bus_number; in mdio_mux_write_c45()
[all …]
H A 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()
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.c86 static int gxl_mdio_switch_fn(int current_child, int desired_child, in gxl_mdio_switch_fn() argument
91 if (current_child == desired_child) in gxl_mdio_switch_fn()
H A 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()
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.c190 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sun8i.c874 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument
882 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()