Lines Matching refs:state
257 phi->dch.state = dch->state;
457 if (((ch->protocol == ISDN_P_NT_S0) && (hw->dch.state == 3)) ||
458 ((ch->protocol == ISDN_P_TE_S0) && (hw->dch.state == 7)))
571 * S0 TE state change event handler
579 if (dch->state <= HFC_MAX_TE_LAYER1_STATE)
581 HFC_TE_LAYER1_STATES[dch->state]);
584 hw->name, __func__, dch->state);
587 switch (dch->state) {
605 if (dch->state == 7)
612 * S0 NT state change event handler
620 if (dch->state <= HFC_MAX_NT_LAYER1_STATE)
623 HFC_NT_LAYER1_STATES[dch->state]);
627 hw->name, __func__, dch->state);
630 switch (dch->state) {
691 hw->name, __func__, bch->state, protocol,
701 bch->state = -1;
704 if (bch->state == ISDN_P_NONE)
705 return 0; /* already in idle state */
706 bch->state = ISDN_P_NONE;
712 bch->state = protocol;
716 bch->state = protocol;
777 if (hw->dch.state == 3)
1056 /* signal S0 layer1 state change */
1058 (s0_state != hw->dch.state)) {
1059 hw->dch.state = s0_state;
1129 /* signal S0 layer1 state change */
1130 if (hw->initdone && ((buf[0] >> 4) != hw->dch.state)) {
1131 hw->dch.state = (buf[0] >> 4);
1355 * abuse DChannel tx iso completion to trigger NT mode state