Home
last modified time | relevance | path

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

/linux/drivers/rapidio/
H A Drio_cm.c244 static int riocm_cmp(struct rio_channel *ch, enum rio_cm_state cmp) in riocm_cmp() function
796 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_send()
871 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_receive()
893 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -ECONNRESET; in riocm_ch_receive()
1013 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -1; in riocm_ch_connect()
1085 if (!riocm_cmp(ch, RIO_CM_LISTEN)) { in riocm_ch_accept()