/kernel/linux/linux-6.6/drivers/net/mdio/ |
H A 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() 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 D | mdio-mux-multiplexer.c | 22 * @current_child: current value of the mux register. 27 * The first time this function is called, current_child == -1. 28 * If current_child == desired_child, then the mux is already set to the 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()
|
H A 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()
|
H A D | mdio-mux-meson-gxl.c | 86 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 D | mdio-mux-mmioreg.c | 31 * 'current_child' is the current value of the mux register (masked via 37 * The first time this function is called, current_child == -1. 39 * If current_child == desired_child, then the mux is already set to the 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()
|
H A D | mdio-mux-meson-g12a.c | 198 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 D | mdio-mux-bcm6368.c | 79 static int bcm6368_mdiomux_switch_fn(int current_child, int desired_child, in bcm6368_mdiomux_switch_fn() argument
|
H A D | mdio-mux-bcm-iproc.c | 190 static int mdio_mux_iproc_switch_fn(int current_child, int desired_child, in mdio_mux_iproc_switch_fn() argument
|
/kernel/linux/linux-5.10/drivers/net/mdio/ |
H A 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()
|
H A D | mdio-mux-multiplexer.c | 22 * @current_child: current value of the mux register. 27 * The first time this function is called, current_child == -1. 28 * If current_child == desired_child, then the mux is already set to the 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()
|
H A 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()
|
H A D | mdio-mux-mmioreg.c | 31 * 'current_child' is the current value of the mux register (masked via 37 * The first time this function is called, current_child == -1. 39 * If current_child == desired_child, then the mux is already set to the 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()
|
H A 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()
|
H A 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
|
/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-btree.c | 169 unsigned current_child; member 244 f->current_child = 0; in push_frame() 302 if (f->current_child >= f->nr_children) { in dm_btree_del() 309 b = value64(f->n, f->current_child); in dm_btree_del() 310 f->current_child++; in dm_btree_del() 316 b = value64(f->n, f->current_child); in dm_btree_del() 317 f->current_child++; in dm_btree_del()
|
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-btree.c | 170 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-sun8i.c | 837 * 'current_child' is the current value of the mux register 840 * The first time this function is called, current_child == -1. 841 * If current_child == desired_child, then the mux is already set to the 844 static int mdio_mux_syscon_switch_fn(int current_child, int desired_child, in mdio_mux_syscon_switch_fn() argument 852 if (current_child ^ desired_child) { in mdio_mux_syscon_switch_fn()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-sun8i.c | 867 * 'current_child' is the current value of the mux register 870 * The first time this function is called, current_child == -1. 871 * If current_child == desired_child, then the mux is already set to the 874 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()
|