Lines Matching refs:reset_tmplt
243 value = vha->reset_tmplt.array[p_rmw_hdr->index_a]; in qla8044_rmw_crb_reg()
693 vha->reset_tmplt.seq_error++; in qla8044_poll_reg()
799 vha->reset_tmplt.seq_index); in qla8044_poll_write_list()
863 vha->reset_tmplt.template_end = 1; in qla8044_template_end()
865 if (vha->reset_tmplt.seq_error == 0) { in qla8044_template_end()
915 vha->reset_tmplt.seq_index); in qla8044_poll_read_list()
917 index = vha->reset_tmplt.array_index; in qla8044_poll_read_list()
920 vha->reset_tmplt.array[index++] = value; in qla8044_poll_read_list()
922 vha->reset_tmplt.array_index = 1; in qla8044_poll_read_list()
947 vha->reset_tmplt.seq_end = 0; in qla8044_process_reset_template()
948 vha->reset_tmplt.template_end = 0; in qla8044_process_reset_template()
949 entries = vha->reset_tmplt.hdr->entries; in qla8044_process_reset_template()
950 index = vha->reset_tmplt.seq_index; in qla8044_process_reset_template()
952 for (; (!vha->reset_tmplt.seq_end) && (index < entries); index++) { in qla8044_process_reset_template()
976 vha->reset_tmplt.seq_end = 1; in qla8044_process_reset_template()
995 vha->reset_tmplt.seq_index = index; in qla8044_process_reset_template()
1002 vha->reset_tmplt.init_offset); in qla8044_process_init_seq()
1003 if (vha->reset_tmplt.seq_end != 1) in qla8044_process_init_seq()
1012 vha->reset_tmplt.seq_index = 0; in qla8044_process_stop_seq()
1013 qla8044_process_reset_template(vha, vha->reset_tmplt.stop_offset); in qla8044_process_stop_seq()
1014 if (vha->reset_tmplt.seq_end != 1) in qla8044_process_stop_seq()
1022 qla8044_process_reset_template(vha, vha->reset_tmplt.start_offset); in qla8044_process_start_seq()
1023 if (vha->reset_tmplt.template_end != 1) in qla8044_process_start_seq()
1460 if (!vha->reset_tmplt.buff) { in qla8044_dump_reset_seq_hdr()
1466 phdr = vha->reset_tmplt.buff; in qla8044_dump_reset_seq_hdr()
1488 uint16_t *buff = (uint16_t *)vha->reset_tmplt.buff; in qla8044_reset_seq_checksum_test()
1489 int u16_count = vha->reset_tmplt.hdr->size / sizeof(uint16_t); in qla8044_reset_seq_checksum_test()
1519 vha->reset_tmplt.seq_error = 0; in qla8044_read_reset_template()
1520 vha->reset_tmplt.buff = vmalloc(QLA8044_RESTART_TEMPLATE_SIZE); in qla8044_read_reset_template()
1521 if (vha->reset_tmplt.buff == NULL) { in qla8044_read_reset_template()
1528 p_buff = vha->reset_tmplt.buff; in qla8044_read_reset_template()
1545 vha->reset_tmplt.hdr = in qla8044_read_reset_template()
1546 (struct qla8044_reset_template_hdr *) vha->reset_tmplt.buff; in qla8044_read_reset_template()
1549 tmplt_hdr_size = vha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t); in qla8044_read_reset_template()
1551 (vha->reset_tmplt.hdr->signature != RESET_TMPLT_HDR_SIGNATURE)) { in qla8044_read_reset_template()
1559 addr = QLA8044_RESET_TEMPLATE_ADDR + vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1560 p_buff = vha->reset_tmplt.buff + vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1561 tmplt_hdr_def_size = (vha->reset_tmplt.hdr->size - in qla8044_read_reset_template()
1562 vha->reset_tmplt.hdr->hdr_size)/sizeof(uint32_t); in qla8044_read_reset_template()
1566 __func__, vha->reset_tmplt.hdr->size); in qla8044_read_reset_template()
1587 vha->reset_tmplt.init_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1588 vha->reset_tmplt.hdr->init_seq_offset; in qla8044_read_reset_template()
1590 vha->reset_tmplt.start_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1591 vha->reset_tmplt.hdr->start_seq_offset; in qla8044_read_reset_template()
1593 vha->reset_tmplt.stop_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1594 vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1601 vfree(vha->reset_tmplt.buff); in qla8044_read_reset_template()