Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/mdio/
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()
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()
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()
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()
Dmdio-mux-meson-g12a.c204 static int g12a_mdio_switch_fn(int current_child, int desired_child, in g12a_mdio_switch_fn() argument
209 if (current_child == desired_child) in g12a_mdio_switch_fn()
Dmdio-mux-bcm6368.c79 static int bcm6368_mdiomux_switch_fn(int current_child, int desired_child, in bcm6368_mdiomux_switch_fn() argument
Dmdio-mux-bcm-iproc.c160 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
/linux-6.1.9/drivers/md/persistent-data/
Ddm-btree.c167 unsigned current_child; member
242 f->current_child = 0; in push_frame()
300 if (f->current_child >= f->nr_children) { in dm_btree_del()
307 b = value64(f->n, f->current_child); in dm_btree_del()
308 f->current_child++; in dm_btree_del()
314 b = value64(f->n, f->current_child); in dm_btree_del()
315 f->current_child++; in dm_btree_del()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
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()