Home
last modified time | relevance | path

Searched refs:switch_fn (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/mdio/
H A Dmdio-mux.c22 int (*switch_fn)(int current_child, int desired_child, void *data); member
36 * The parent bus' lock is used to order access to the switch_fn.
45 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read()
66 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read_c45()
80 * The parent bus' lock is used to order access to the switch_fn.
91 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write()
113 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write_c45()
141 int (*switch_fn)(int cur, int desired, void *data), in mdio_mux_init()
181 pb->switch_fn = switch_fn; in mdio_mux_init()
[all...]
/kernel/linux/linux-5.10/drivers/net/mdio/
H A Dmdio-mux.c22 int (*switch_fn)(int current_child, int desired_child, void *data); member
36 * The parent bus' lock is used to order access to the switch_fn.
45 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_read()
59 * The parent bus' lock is used to order access to the switch_fn.
70 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); in mdio_mux_write()
98 int (*switch_fn)(int cur, int desired, void *data), in mdio_mux_init()
138 pb->switch_fn = switch_fn; in mdio_mux_init()
/kernel/linux/linux-5.10/include/linux/
H A Dmdio-mux.h18 * @switch_fn The function called for switching target MDIO child
20 * @data Private data used by switch_fn()
25 int (*switch_fn) (int cur, int desired, void *data),
/kernel/linux/linux-6.6/include/linux/
H A Dmdio-mux.h18 * @switch_fn The function called for switching target MDIO child
20 * @data Private data used by switch_fn()
25 int (*switch_fn) (int cur, int desired, void *data),
/kernel/linux/linux-5.10/tools/testing/selftests/sigaltstack/
H A Dsas.c93 static void switch_fn(void) in switch_fn() function
169 makecontext(&uc, switch_fn, 0); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/sigaltstack/
H A Dsas.c99 static void switch_fn(void) in switch_fn() function
179 makecontext(&uc, switch_fn, 0); in main()

Completed in 4 milliseconds