Lines Matching refs:index_stripped
1129 u_int16_t index_stripped; in arcmsr_post_srb() local
1141 index_stripped = postq_index & 0xFF; in arcmsr_post_srb()
1142 index_stripped += 1; in arcmsr_post_srb()
1143 index_stripped %= ARCMSR_MAX_HBD_POSTQUEUE; in arcmsr_post_srb()
1144 phbdmu->postq_index = index_stripped ? (index_stripped | 0x4000) : index_stripped; in arcmsr_post_srb()
1146 index_stripped = postq_index; in arcmsr_post_srb()
1147 index_stripped += 1; in arcmsr_post_srb()
1148 index_stripped %= ARCMSR_MAX_HBD_POSTQUEUE; in arcmsr_post_srb()
1149 phbdmu->postq_index = index_stripped ? index_stripped : (index_stripped | 0x4000); in arcmsr_post_srb()
2137 uint16_t doneq_index, index_stripped; in arcmsr_get_doneq_index() local
2141 index_stripped = doneq_index & 0xFF; in arcmsr_get_doneq_index()
2142 index_stripped += 1; in arcmsr_get_doneq_index()
2143 index_stripped %= ARCMSR_MAX_HBD_POSTQUEUE; in arcmsr_get_doneq_index()
2144 phbdmu->doneq_index = index_stripped ? in arcmsr_get_doneq_index()
2145 (index_stripped | 0x4000) : index_stripped; in arcmsr_get_doneq_index()
2147 index_stripped = doneq_index; in arcmsr_get_doneq_index()
2148 index_stripped += 1; in arcmsr_get_doneq_index()
2149 index_stripped %= ARCMSR_MAX_HBD_POSTQUEUE; in arcmsr_get_doneq_index()
2150 phbdmu->doneq_index = index_stripped ? in arcmsr_get_doneq_index()
2151 index_stripped : (index_stripped | 0x4000); in arcmsr_get_doneq_index()