mrsas_reg_set
mrsas_write_reg(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set,
scratch_pad_3 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad_3));
msix_enable = (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad)) & 0x4000000) >> 0x1a;
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
scratch_pad_4 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
status = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
scratch_pad_2 = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_low_queue_port),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_high_queue_port),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, inbound_single_queue_port),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask), mask);
val = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask));
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_scratch_pad));
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell), MFI_RESET_FLAGS);
if (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, doorbell)) & 1)
fw_state = (mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
curr_abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_status), ~0);
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_status));
mrsas_write_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask), ~mask);
(void)mrsas_read_reg(sc, offsetof(mrsas_reg_set, outbound_intr_mask));
offsetof(mrsas_reg_set, outbound_scratch_pad));
status = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set, outbound_intr_status));
status_reg = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_seq_offset),
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set, fusion_host_diag),
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
host_diag = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
abs_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,
mrsas_write_reg(sc, offsetof(mrsas_reg_set, doorbell),
mrsas_read_reg(sc, offsetof(mrsas_reg_set, doorbell));
fw_state = mrsas_read_reg_with_retries(sc, offsetof(mrsas_reg_set,