Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rapidio/
Drio_cm.c250 static int riocm_cmp(struct rio_channel *ch, enum rio_cm_state cmp) in riocm_cmp() function
799 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_send()
874 if (!riocm_cmp(ch, RIO_CM_CONNECTED)) { in riocm_ch_receive()
896 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -ECONNRESET; in riocm_ch_receive()
1016 ret = riocm_cmp(ch, RIO_CM_CONNECTED) ? 0 : -1; in riocm_ch_connect()
1088 if (!riocm_cmp(ch, RIO_CM_LISTEN)) { in riocm_ch_accept()