Home
last modified time | relevance | path

Searched refs:riocm_cmp (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/rapidio/
Drio_cm.c257 static int riocm_cmp(struct rio_channel *ch, enum rio_cm_state cmp) in riocm_cmp() function
806 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_send()
881 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_receive()
903 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -ECONNRESET; in riocm_ch_receive()
1023 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -1; in riocm_ch_connect()
1095 if (!riocm_cmp(ch, RIO_CM_LISTEN)) { in riocm_ch_accept()