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()8012 prev_pos = AHD_QIN_WRAP(ahd->qinfifonext - 1); in ahd_qinfifo_requeue_tail()8035 ahd->qinfifo[AHD_QIN_WRAP(ahd->qinfifonext)] = SCB_GET_TAG(scb); in ahd_qinfifo_requeue()8050 wrap_qinpos = AHD_QIN_WRAP(qinpos); in ahd_qinfifo_count()8051 wrap_qinfifonext = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_qinfifo_count()8136 qintail = AHD_QIN_WRAP(ahd->qinfifonext); in ahd_search_qinfifo()8138 qinpos = AHD_QIN_WRAP(qinstart); in ahd_search_qinfifo()8188 qinpos = AHD_QIN_WRAP(qinpos+1); in ahd_search_qinfifo()