• Home
  • Raw
  • Download

Lines Matching refs:reset_tmplt

229 		value = vha->reset_tmplt.array[p_rmw_hdr->index_a];  in qla8044_rmw_crb_reg()
680 vha->reset_tmplt.seq_error++; in qla8044_poll_reg()
786 vha->reset_tmplt.seq_index); in qla8044_poll_write_list()
850 vha->reset_tmplt.template_end = 1; in qla8044_template_end()
852 if (vha->reset_tmplt.seq_error == 0) { in qla8044_template_end()
902 vha->reset_tmplt.seq_index); in qla8044_poll_read_list()
904 index = vha->reset_tmplt.array_index; in qla8044_poll_read_list()
907 vha->reset_tmplt.array[index++] = value; in qla8044_poll_read_list()
909 vha->reset_tmplt.array_index = 1; in qla8044_poll_read_list()
934 vha->reset_tmplt.seq_end = 0; in qla8044_process_reset_template()
935 vha->reset_tmplt.template_end = 0; in qla8044_process_reset_template()
936 entries = vha->reset_tmplt.hdr->entries; in qla8044_process_reset_template()
937 index = vha->reset_tmplt.seq_index; in qla8044_process_reset_template()
939 for (; (!vha->reset_tmplt.seq_end) && (index < entries); index++) { in qla8044_process_reset_template()
963 vha->reset_tmplt.seq_end = 1; in qla8044_process_reset_template()
982 vha->reset_tmplt.seq_index = index; in qla8044_process_reset_template()
989 vha->reset_tmplt.init_offset); in qla8044_process_init_seq()
990 if (vha->reset_tmplt.seq_end != 1) in qla8044_process_init_seq()
999 vha->reset_tmplt.seq_index = 0; in qla8044_process_stop_seq()
1000 qla8044_process_reset_template(vha, vha->reset_tmplt.stop_offset); in qla8044_process_stop_seq()
1001 if (vha->reset_tmplt.seq_end != 1) in qla8044_process_stop_seq()
1009 qla8044_process_reset_template(vha, vha->reset_tmplt.start_offset); in qla8044_process_start_seq()
1010 if (vha->reset_tmplt.template_end != 1) in qla8044_process_start_seq()
1447 if (!vha->reset_tmplt.buff) { in qla8044_dump_reset_seq_hdr()
1453 phdr = vha->reset_tmplt.buff; in qla8044_dump_reset_seq_hdr()
1475 uint16_t *buff = (uint16_t *)vha->reset_tmplt.buff; in qla8044_reset_seq_checksum_test()
1476 int u16_count = vha->reset_tmplt.hdr->size / sizeof(uint16_t); in qla8044_reset_seq_checksum_test()
1506 vha->reset_tmplt.seq_error = 0; in qla8044_read_reset_template()
1507 vha->reset_tmplt.buff = vmalloc(QLA8044_RESTART_TEMPLATE_SIZE); in qla8044_read_reset_template()
1508 if (vha->reset_tmplt.buff == NULL) { in qla8044_read_reset_template()
1515 p_buff = vha->reset_tmplt.buff; in qla8044_read_reset_template()
1532 vha->reset_tmplt.hdr = in qla8044_read_reset_template()
1533 (struct qla8044_reset_template_hdr *) vha->reset_tmplt.buff; in qla8044_read_reset_template()
1536 tmplt_hdr_size = vha->reset_tmplt.hdr->hdr_size/sizeof(uint32_t); in qla8044_read_reset_template()
1538 (vha->reset_tmplt.hdr->signature != RESET_TMPLT_HDR_SIGNATURE)) { in qla8044_read_reset_template()
1546 addr = QLA8044_RESET_TEMPLATE_ADDR + vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1547 p_buff = vha->reset_tmplt.buff + vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1548 tmplt_hdr_def_size = (vha->reset_tmplt.hdr->size - in qla8044_read_reset_template()
1549 vha->reset_tmplt.hdr->hdr_size)/sizeof(uint32_t); in qla8044_read_reset_template()
1553 __func__, vha->reset_tmplt.hdr->size); in qla8044_read_reset_template()
1574 vha->reset_tmplt.init_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1575 vha->reset_tmplt.hdr->init_seq_offset; in qla8044_read_reset_template()
1577 vha->reset_tmplt.start_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1578 vha->reset_tmplt.hdr->start_seq_offset; in qla8044_read_reset_template()
1580 vha->reset_tmplt.stop_offset = vha->reset_tmplt.buff + in qla8044_read_reset_template()
1581 vha->reset_tmplt.hdr->hdr_size; in qla8044_read_reset_template()
1588 vfree(vha->reset_tmplt.buff); in qla8044_read_reset_template()