Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/mdio/
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()
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()
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()
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()
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()
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()
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()
A Dmdio-mux-bcm6368.c79 static int bcm6368_mdiomux_switch_fn(int current_child, int desired_child, in bcm6368_mdiomux_switch_fn() argument
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
/linux-6.3-rc2/drivers/md/persistent-data/
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-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-sun8i.c856 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument
864 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()

Completed in 30 milliseconds