src/dpdk/drivers/net/qede/qede_debug.c
void qed_read_regs(struct ecore_hwfn *p_hwfn,
		   struct ecore_ptt *p_ptt, u32 *buf, u32 addr, u32 len)
{
	u32 i;

	for (i = 0; i < len; i++)
		buf[i] = ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr + i));
}
/* Reads the specified registers into the specified buffer.
 * The addr and len arguments are specified in dwords.
 */
Reads the specified registers into the specified buffer.
The addr and len arguments are specified in dwords.
Reads the specified registers into the specified buffer . The addr and len arguments are specified in dwords .
void qed_read_regs(struct ecore_hwfn *p_hwfn,
		   struct ecore_ptt *p_ptt, u32 *buf, u32 addr, u32 len)
{
	u32 i;
	for (i = 0; i < len; i++)
		buf[i] = ecore_rd(p_hwfn, p_ptt, DWORDS_TO_BYTES(addr + i));
}
void qed_read_regs ( struct ecore_hwfn * p_hwfn , struct ecore_ptt * p_ptt , u32 * buf , u32 addr , u32 len ) { u32 i ; for ( i = 0 ; i < len ; i ++ ) buf [ i ] = ecore_rd ( p_hwfn , p_ptt , DWORDS_TO_BYTES ( addr + i ) ) ; }
Reads the specified registers into the specified buffer.
Reads the specified registers into the specified buffer .