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
852 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()