Lines Matching defs:state
205 cl->state = ISHTP_CL_INITIALIZING;
273 dev->print_log(dev, "%s() state %d\n", __func__, cl->state);
275 if (cl->state != ISHTP_CL_DISCONNECTING) {
288 cl->state == ISHTP_CL_DISCONNECTED),
301 if (cl->state == ISHTP_CL_DISCONNECTED) {
330 if ((pos->state == ISHTP_CL_CONNECTING) && (pos != cl) &&
361 dev->print_log(dev, "%s() current_state = %d\n", __func__, cl->state);
375 (cl->state == ISHTP_CL_CONNECTED ||
376 cl->state == ISHTP_CL_DISCONNECTED)),
389 if (cl->state != ISHTP_CL_CONNECTED) {
390 dev->print_log(dev, "%s() state != ISHTP_CL_CONNECTED\n",
458 if (cl->state != ISHTP_CL_CONNECTED)
522 * If the client is correct state to send message, this function gets a buffer
541 if (cl->state != ISHTP_CL_CONNECTED) {
656 if (cl->state != ISHTP_CL_CONNECTED)
856 !(cl->state == ISHTP_CL_CONNECTED))
976 !(cl->state == ISHTP_CL_CONNECTED))
1098 void ishtp_set_connection_state(struct ishtp_cl *cl, int state)
1100 cl->state = state;