Searched refs:AHD_QIN_WRAP (Results 1 – 2 of 2) sorted by relevance
177 #define AHD_QIN_WRAP(x) ((x) & (AHD_QIN_SIZE-1)) macro
860 ahd->qinfifo[AHD_QIN_WRAP(ahd->qinfifonext)] = SCB_GET_TAG(scb); in ahd_queue_scb()8109 prev_pos = AHD_QIN_WRAP(ahd->qinfifonext - 1); in ahd_qinfifo_requeue_tail()8132 ahd->qinfifo[AHD_QIN_WRAP(ahd->qinfifonext)] = SCB_GET_TAG(scb); in ahd_qinfifo_requeue()8147 wrap_qinpos = AHD_QIN_WRAP(qinpos); in ahd_qinfifo_count()8148 wrap_qinfifonext = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_qinfifo_count()8233 qintail = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_search_qinfifo()8235 qinpos = AHD_QIN_WRAP(qinstart); in ahd_search_qinfifo()8285 qinpos = AHD_QIN_WRAP(qinpos+1); in ahd_search_qinfifo()