src/dpdk/drivers/net/qede/qede_debug.c
static u32 qed_grc_dump_special_regs(struct ecore_hwfn *p_hwfn,
				     struct ecore_ptt *p_ptt,
				     u32 *dump_buf, bool dump)
{
	u32 offset = 0, addr;

	offset += qed_grc_dump_regs_hdr(dump_buf,
					dump, 2, SPLIT_TYPE_NONE, 0, "REGS");

	/* Dump R/TDIF_REG_DEBUG_ERROR_INFO_SIZE (every 8'th register should be
	 * skipped).
	 */
	addr = BYTES_TO_DWORDS(RDIF_REG_DEBUG_ERROR_INFO);
	offset += qed_grc_dump_reg_entry_skip(p_hwfn,
					      p_ptt,
					      dump_buf + offset,
					      dump,
					      addr,
					      RDIF_REG_DEBUG_ERROR_INFO_SIZE,
					      7,
					      1);
	addr = BYTES_TO_DWORDS(TDIF_REG_DEBUG_ERROR_INFO);
	offset +=
	    qed_grc_dump_reg_entry_skip(p_hwfn,
					p_ptt,
					dump_buf + offset,
					dump,
					addr,
					TDIF_REG_DEBUG_ERROR_INFO_SIZE,
					7,
					1);

	return offset;
}
/* Dumps registers that can't be represented in the debug arrays */
Dumps registers that can't be represented in the debug arrays
Dumps registers that can ' t be represented in the debug arrays
static u32 qed_grc_dump_special_regs(struct ecore_hwfn *p_hwfn,
				     struct ecore_ptt *p_ptt,
				     u32 *dump_buf, bool dump)
{
	u32 offset = 0, addr;
	offset += qed_grc_dump_regs_hdr(dump_buf,
					dump, 2, SPLIT_TYPE_NONE, 0, "REGS");
	addr = BYTES_TO_DWORDS(RDIF_REG_DEBUG_ERROR_INFO);
	offset += qed_grc_dump_reg_entry_skip(p_hwfn,
					      p_ptt,
					      dump_buf + offset,
					      dump,
					      addr,
					      RDIF_REG_DEBUG_ERROR_INFO_SIZE,
					      7,
					      1);
	addr = BYTES_TO_DWORDS(TDIF_REG_DEBUG_ERROR_INFO);
	offset +=
	    qed_grc_dump_reg_entry_skip(p_hwfn,
					p_ptt,
					dump_buf + offset,
					dump,
					addr,
					TDIF_REG_DEBUG_ERROR_INFO_SIZE,
					7,
					1);
	return offset;
}
static u32 qed_grc_dump_special_regs ( struct ecore_hwfn * p_hwfn , struct ecore_ptt * p_ptt , u32 * dump_buf , bool dump ) { u32 offset = 0 , addr ; offset += qed_grc_dump_regs_hdr ( dump_buf , dump , 2 , SPLIT_TYPE_NONE , 0 , " " ) ; addr = BYTES_TO_DWORDS ( RDIF_REG_DEBUG_ERROR_INFO ) ; offset += qed_grc_dump_reg_entry_skip ( p_hwfn , p_ptt , dump_buf + offset , dump , addr , RDIF_REG_DEBUG_ERROR_INFO_SIZE , 7 , 1 ) ; addr = BYTES_TO_DWORDS ( TDIF_REG_DEBUG_ERROR_INFO ) ; offset += qed_grc_dump_reg_entry_skip ( p_hwfn , p_ptt , dump_buf + offset , dump , addr , TDIF_REG_DEBUG_ERROR_INFO_SIZE , 7 , 1 ) ; return offset ; }
Dumps registers that can't be represented in the debug arrays
Dumps registers that can ' t be represented in the debug arrays
/* Dump R/TDIF_REG_DEBUG_ERROR_INFO_SIZE (every 8'th register should be
	 * skipped).
	 */