/* pmcraid_reinit_buffers - resets various buffer pointers @pinstance: pointer to adapter instance Return value none  */
static void pmcraid_reinit_buffers(struct pmcraid_instance *)
/* pmcraid_reinit_buffers - resets various buffer pointers @pinstance: pointer to adapter instance Return value none  */
static void pmcraid_reinit_buffers(struct pmcraid_instance *)
{
	int i;
	int buffer_size = HRRQ_ENTRY_SIZE * PMCRAID_MAX_CMD;
	for (i = 0; i < pinstance->num_hrrq; i++) {
		memset(pinstance->hrrq_start[i], 0, buffer_size);
		pinstance->hrrq_curr[i] = pinstance->hrrq_start[i];
		pinstance->hrrq_end[i] =
			pinstance->hrrq_start[i] + PMCRAID_MAX_CMD - 1;
		pinstance->host_toggle_bit[i] = 1;
	}
}