Lines Matching refs:req_ring_index

1928 	ha->req_ring_index = 0;  in qla1280_init_rings()
2814 if (ha->req_ring_index < cnt) in qla1280_64bit_start_scsi()
2815 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_64bit_start_scsi()
2818 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_64bit_start_scsi()
2828 "0x%xreq_cnt=0x%x", ha->req_ring_index, ha->req_q_cnt, in qla1280_64bit_start_scsi()
2861 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_64bit_start_scsi()
2944 ha->req_ring_index++; in qla1280_64bit_start_scsi()
2945 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_64bit_start_scsi()
2946 ha->req_ring_index = 0; in qla1280_64bit_start_scsi()
2962 (uint8_t)ha->req_ring_index; in qla1280_64bit_start_scsi()
3004 ha->req_ring_index++; in qla1280_64bit_start_scsi()
3005 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_64bit_start_scsi()
3006 ha->req_ring_index = 0; in qla1280_64bit_start_scsi()
3016 WRT_REG_WORD(&reg->mailbox4, ha->req_ring_index); in qla1280_64bit_start_scsi()
3090 if (ha->req_ring_index < cnt) in qla1280_32bit_start_scsi()
3091 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_32bit_start_scsi()
3094 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_32bit_start_scsi()
3103 "req_q_cnt=0x%x, req_cnt=0x%x", ha->req_ring_index, in qla1280_32bit_start_scsi()
3130 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_32bit_start_scsi()
3197 ha->req_ring_index++; in qla1280_32bit_start_scsi()
3198 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_32bit_start_scsi()
3199 ha->req_ring_index = 0; in qla1280_32bit_start_scsi()
3216 (uint8_t) ha->req_ring_index; in qla1280_32bit_start_scsi()
3254 ha->req_ring_index++; in qla1280_32bit_start_scsi()
3255 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_32bit_start_scsi()
3256 ha->req_ring_index = 0; in qla1280_32bit_start_scsi()
3266 WRT_REG_WORD(&reg->mailbox4, ha->req_ring_index); in qla1280_32bit_start_scsi()
3309 if (ha->req_ring_index < cnt) in qla1280_req_pkt()
3310 ha->req_q_cnt = cnt - ha->req_ring_index; in qla1280_req_pkt()
3313 REQUEST_ENTRY_CNT - (ha->req_ring_index - cnt); in qla1280_req_pkt()
3329 pkt->sys_define = (uint8_t) ha->req_ring_index; in qla1280_req_pkt()
3371 ha->req_ring_index++; in qla1280_isp_cmd()
3372 if (ha->req_ring_index == REQUEST_ENTRY_CNT) { in qla1280_isp_cmd()
3373 ha->req_ring_index = 0; in qla1280_isp_cmd()
3391 WRT_REG_WORD(&reg->mailbox4, ha->req_ring_index); in qla1280_isp_cmd()