Lines Matching defs:mii_handle_t
64 typedef struct mii_info *mii_handle_t;
70 int mii_create(dev_info_t *, mii_writefunc_t, mii_readfunc_t, mii_handle_t *);
73 int mii_init_phy(mii_handle_t, int phy);
76 int mii_getspeed(mii_handle_t, int phy, int *speed, int *full_duplex);
79 int mii_probe_phy(mii_handle_t, int phy);
82 int mii_rsan(mii_handle_t mac, int phy, enum mii_wait_type wait_type);
85 int mii_fixspeed(mii_handle_t, int phy, int speed, int fullduplex);
88 int mii_autoneg_enab(mii_handle_t mac, int phy);
91 int mii_reset_phy(mii_handle_t, int phy, enum mii_wait_type wait_type);
94 int mii_disable_fullduplex(mii_handle_t, int phy);
97 int mii_linkup(mii_handle_t, int phy);
100 int mii_sync(mii_handle_t, int phy);
103 int mii_isolate(mii_handle_t, int phy);
106 int mii_unisolate(mii_handle_t, int phy);
109 int mii_dump_phy(mii_handle_t, int phy);
112 int mii_start_portmon(mii_handle_t mac, mii_linkfunc_t func, kmutex_t *lock);
115 int mii_stop_portmon(mii_handle_t mac);
118 void mii_destroy(mii_handle_t mac);
135 typedef void (*phy_genfunc)(mii_handle_t, int phy);
136 typedef int (*phy_getspeedfunc)(mii_handle_t, int phy, int *speed, int *fd);