Lines Matching refs:buff
1693 u16 *buff = (u16 *)p_dev->ahw->reset.buff; in qlcnic_83xx_reset_template_checksum() local
1697 sum += *buff++; in qlcnic_83xx_reset_template_checksum()
1716 if (ahw->reset.buff != NULL) { in qlcnic_83xx_get_reset_instruction_template()
1720 kfree(ahw->reset.buff); in qlcnic_83xx_get_reset_instruction_template()
1726 ahw->reset.buff = kzalloc(QLC_83XX_RESTART_TEMPLATE_SIZE, GFP_KERNEL); in qlcnic_83xx_get_reset_instruction_template()
1727 if (p_dev->ahw->reset.buff == NULL) in qlcnic_83xx_get_reset_instruction_template()
1730 p_buff = p_dev->ahw->reset.buff; in qlcnic_83xx_get_reset_instruction_template()
1739 ahw->reset.hdr = (struct qlc_83xx_reset_hdr *)ahw->reset.buff; in qlcnic_83xx_get_reset_instruction_template()
1741 p_buff = ahw->reset.buff + ahw->reset.hdr->hdr_size; in qlcnic_83xx_get_reset_instruction_template()
1753 ahw->reset.init_offset = ahw->reset.buff + ahw->reset.hdr->init_offset; in qlcnic_83xx_get_reset_instruction_template()
1754 ahw->reset.start_offset = ahw->reset.buff + in qlcnic_83xx_get_reset_instruction_template()
1756 ahw->reset.stop_offset = ahw->reset.buff + ahw->reset.hdr->hdr_size; in qlcnic_83xx_get_reset_instruction_template()