Searched refs:riocm_cmp (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/rapidio/ |
H A D | rio_cm.c | 248 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()
|
/kernel/linux/linux-6.6/drivers/rapidio/ |
H A D | rio_cm.c | 248 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()
|
Completed in 6 milliseconds