Lines Matching defs:smp
77 sfxge_mac_t *smp = &(sp->s_mac);
78 sfxge_phy_t *spp = &(smp->sm_phy);
89 ASSERT(mutex_owned(&(smp->sm_lock)));
91 if (smp->sm_state != SFXGE_MAC_STARTED)
230 sfxge_mac_t *smp = &(sp->s_mac);
233 mutex_enter(&(smp->sm_lock));
235 if (smp->sm_state != SFXGE_MAC_STARTED)
241 mutex_exit(&(smp->sm_lock));
254 sfxge_mac_t *smp = &(sp->s_mac);
260 ASSERT(mutex_owned(&(smp->sm_lock)));
269 adv_cap |= smp->sm_phy_cap_to_set;
270 smp->sm_phy_cap_to_set = 0;
271 adv_cap &= ~(smp->sm_phy_cap_to_unset);
272 smp->sm_phy_cap_to_unset = 0;
313 sfxge_mac_t *smp = &(sp->s_mac);
318 mutex_enter(&(smp->sm_lock));
321 if (smp->sm_state != SFXGE_MAC_STARTED)
328 mutex_exit(&(smp->sm_lock));
340 sfxge_mac_t *smp = &(sp->s_mac);
345 mutex_enter(&(smp->sm_lock));
347 if (smp->sm_state != SFXGE_MAC_STARTED) {
350 smp->sm_phy_cap_to_set |= (1 << field);
352 smp->sm_phy_cap_to_unset |= (1 << field);
365 mutex_exit(&(smp->sm_lock));