Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic79xx.h177 #define AHD_QIN_WRAP(x) ((x) & (AHD_QIN_SIZE-1)) macro
Daic79xx_core.c852 ahd->qinfifo[AHD_QIN_WRAP(ahd->qinfifonext)] = SCB_GET_TAG(scb); in ahd_queue_scb()
8057 prev_pos = AHD_QIN_WRAP(ahd->qinfifonext - 1); in ahd_qinfifo_requeue_tail()
8080 ahd->qinfifo[AHD_QIN_WRAP(ahd->qinfifonext)] = SCB_GET_TAG(scb); in ahd_qinfifo_requeue()
8095 wrap_qinpos = AHD_QIN_WRAP(qinpos); in ahd_qinfifo_count()
8096 wrap_qinfifonext = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_qinfifo_count()
8181 qintail = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_search_qinfifo()
8183 qinpos = AHD_QIN_WRAP(qinstart); in ahd_search_qinfifo()
8233 qinpos = AHD_QIN_WRAP(qinpos+1); in ahd_search_qinfifo()