Lines Matching refs:req_ring_index
115 if (ha->req_ring_index < cnt) {
117 (cnt - ha->req_ring_index);
120 (ha->req_ring_index - cnt));
132 " req_q_cnt=%d, req_ring_index=%d\n",
134 ha->req_ring_index);
182 pkt->sys_define = (uint8_t)ha->req_ring_index;
198 (off_t)(ha->req_ring_index * REQUEST_ENTRY_SIZE +
203 ha->req_ring_index++;
204 if (ha->req_ring_index == REQUEST_ENTRY_CNT) {
205 ha->req_ring_index = 0;
223 w32 = ha->req_ring_index << 16 |
231 WRT16_IO_REG(ha, req_in, ha->req_ring_index);
287 if (ha->req_ring_index < cnt) {
289 (cnt - ha->req_ring_index);
293 (ha->req_ring_index - cnt));
314 (uint8_t)ha->req_ring_index;
380 (off_t)(ha->req_ring_index * REQUEST_ENTRY_SIZE +
385 ha->req_ring_index++;
386 if (ha->req_ring_index == REQUEST_ENTRY_CNT) {
387 ha->req_ring_index = 0;
397 w32 = ha->req_ring_index << 16 |
404 WRT16_IO_REG(ha, req_in, ha->req_ring_index);
562 (off_t)(ha->req_ring_index * REQUEST_ENTRY_SIZE +
567 ha->req_ring_index++;
568 if (ha->req_ring_index == REQUEST_ENTRY_CNT) {
569 ha->req_ring_index = 0;
587 pkt->sys_define = (uint8_t)ha->req_ring_index;