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

/linux-4.4.14/drivers/net/phy/
H A Dmdio-mux.c26 int (*switch_fn)(int current_child, int desired_child, void *data); member in struct:mdio_mux_parent_bus
41 * The parent bus' lock is used to order access to the switch_fn.
56 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); mdio_mux_read()
70 * The parent bus' lock is used to order access to the switch_fn.
81 r = pb->switch_fn(pb->current_child, cb->bus_number, pb->switch_data); mdio_mux_write()
97 int (*switch_fn)(int cur, int desired, void *data), mdio_mux_init()
129 pb->switch_fn = switch_fn; mdio_mux_init()
/linux-4.4.14/include/linux/
H A Dmdio-mux.h15 int (*switch_fn) (int cur, int desired, void *data),

Completed in 189 milliseconds