Lines Matching refs:req_ring_index
1888 ha->req_ring_index = 0; in qla1280_init_rings()
2765 if (ha->req_ring_index < cnt) in qla1280_64bit_start_scsi()
2766 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_64bit_start_scsi()
2769 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_64bit_start_scsi()
2779 "0x%xreq_cnt=0x%x", ha->req_ring_index, ha->req_q_cnt, in qla1280_64bit_start_scsi()
2812 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_64bit_start_scsi()
2889 ha->req_ring_index++; in qla1280_64bit_start_scsi()
2890 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_64bit_start_scsi()
2891 ha->req_ring_index = 0; in qla1280_64bit_start_scsi()
2907 (uint8_t)ha->req_ring_index; in qla1280_64bit_start_scsi()
2943 ha->req_ring_index++; in qla1280_64bit_start_scsi()
2944 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_64bit_start_scsi()
2945 ha->req_ring_index = 0; in qla1280_64bit_start_scsi()
2955 WRT_REG_WORD(®->mailbox4, ha->req_ring_index); in qla1280_64bit_start_scsi()
3027 if (ha->req_ring_index < cnt) in qla1280_32bit_start_scsi()
3028 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_32bit_start_scsi()
3031 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_32bit_start_scsi()
3040 "req_q_cnt=0x%x, req_cnt=0x%x", ha->req_ring_index, in qla1280_32bit_start_scsi()
3067 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_32bit_start_scsi()
3134 ha->req_ring_index++; in qla1280_32bit_start_scsi()
3135 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_32bit_start_scsi()
3136 ha->req_ring_index = 0; in qla1280_32bit_start_scsi()
3153 (uint8_t) ha->req_ring_index; in qla1280_32bit_start_scsi()
3191 ha->req_ring_index++; in qla1280_32bit_start_scsi()
3192 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_32bit_start_scsi()
3193 ha->req_ring_index = 0; in qla1280_32bit_start_scsi()
3203 WRT_REG_WORD(®->mailbox4, ha->req_ring_index); in qla1280_32bit_start_scsi()
3244 if (ha->req_ring_index < cnt) in qla1280_req_pkt()
3245 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_req_pkt()
3248 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_req_pkt()
3264 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_req_pkt()
3306 ha->req_ring_index++; in qla1280_isp_cmd()
3307 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_isp_cmd()
3308 ha->req_ring_index = 0; in qla1280_isp_cmd()
3316 WRT_REG_WORD(®->mailbox4, ha->req_ring_index); in qla1280_isp_cmd()