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

/linux-master/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),
/linux-master/drivers/net/mdio/
H A Dmdio-mux.c22 int (*switch_fn)(int current_child, int desired_child, void *data); member in struct:mdio_mux_parent_bus
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);
66 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data);
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);
113 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data);
141 int (*switch_fn)(int cur, int desired, void *data),
181 pb->switch_fn = switch_fn;
[all...]
/linux-master/tools/testing/selftests/sigaltstack/
H A Dsas.c99 static void switch_fn(void) function
179 makecontext(&uc, switch_fn, 0);

Completed in 116 milliseconds