Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/rapidio/
Drio_cm.c248 static int riocm_cmp(struct rio_channel *ch, enum rio_cm_state cmp) in riocm_cmp() function
797 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_send()
872 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_receive()
894 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -ECONNRESET; in riocm_ch_receive()
1014 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -1; in riocm_ch_connect()
1086 if (!riocm_cmp(ch, RIO_CM_LISTEN)) { in riocm_ch_accept()