Home
last modified time | relevance | path

Searched refs:switch_fn (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/mdio/
H A Dmdio-mux.c22 int (*switch_fn)(int current_child, int desired_child, void *data); member
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()
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()
/openbmc/linux/include/linux/
H A Dmdio-mux.h25 int (*switch_fn) (int cur, int desired, void *data),
/openbmc/linux/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()