Searched refs:current_child (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/mdio/ |
D | mdio-mux.c | 19 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()
|
D | mdio-mux-multiplexer.c | 31 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()
|
D | mdio-mux-gpio.c | 22 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()
|
D | mdio-mux-mmioreg.c | 42 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()
|
D | mdio-mux-meson-g12a.c | 204 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()
|
D | mdio-mux-bcm6368.c | 79 static int bcm6368_mdiomux_switch_fn(int current_child, int desired_child, in bcm6368_mdiomux_switch_fn() argument
|
D | mdio-mux-bcm-iproc.c | 160 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/ |
D | dm-btree.c | 167 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/ |
D | dwmac-sun8i.c | 856 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()
|