Lines Matching refs:mac_state
624 ASSERT(dp->mac_state == MAC_STATE_ONLINE);
852 ASSERT(dp->mac_state != MAC_STATE_DISCONNECTED);
857 if (dp->mac_state == MAC_STATE_ONLINE) {
945 if ((dp->mac_state != MAC_STATE_DISCONNECTED &&
948 (dp->mac_state == MAC_STATE_ONLINE &&
963 " mac_state:%d starttime:%ld",
966 dp->nic_state, dp->mac_state,
1091 dp->rx_active = dp->mac_state == MAC_STATE_ONLINE;
1184 if (dp->mac_state != MAC_STATE_ONLINE && dp->tx_busy_cnt == 0) {
1477 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
1927 if (dp->mac_state == MAC_STATE_INITIALIZED) {
1984 dp->mac_state == MAC_STATE_ONLINE &&
2405 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
2410 ASSERT(dp->mac_state == MAC_STATE_STOPPED);
2428 dp->mac_state = MAC_STATE_INITIALIZED;
2449 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
2454 if (dp->mac_state != MAC_STATE_INITIALIZED) {
2457 "!%s: %s: mac_state(%d) is not MAC_STATE_INITIALIZED",
2458 dp->name, __func__, dp->mac_state));
2462 dp->mac_state = MAC_STATE_ONLINE;
2521 ASSERT(dp->mac_state == MAC_STATE_ONLINE);
2553 dp->mac_state = new_state;
2555 /* other processors must get mac_state correctly after here */
2621 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
2663 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4071 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
4123 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4134 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4186 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4214 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
4543 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4579 dp->mac_state != MAC_STATE_ONLINE) {
4680 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4737 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4747 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4810 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
4831 if (dp->mac_state != MAC_STATE_DISCONNECTED) {
5473 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
5540 " bp:x%p mac_state:%d",
5541 dp->name, __func__, reqt, req, val, ix, len, bp, dp->mac_state));
5543 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
5855 dp->mac_state = MAC_STATE_STOPPED;
5896 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
5919 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
5950 if (dp->mac_state == MAC_STATE_DISCONNECTED) {
6063 dp->mac_state = MAC_STATE_STOPPED;
6380 if (dp->mac_state != MAC_STATE_DISCONNECTED &&
6381 dp->mac_state != MAC_STATE_STOPPED) {