src/dpdk/drivers/net/qede/qede_debug.c
static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset)
{
	u8 offset_in_dword, align_size;

	offset_in_dword = (u8)(byte_offset & 0x3);
	align_size = offset_in_dword ? BYTES_IN_DWORD - offset_in_dword : 0;

	if (dump && align_size)
		memset(dump_buf, 0, align_size);

	return align_size;
}
/* Dumps zeros to align the specified buffer to dwords.
 * Returns the dumped size in bytes.
 */
Dumps zeros to align the specified buffer to dwords.
Returns the dumped size in bytes.
Dumps zeros to align the specified buffer to dwords . Returns the dumped size in bytes .
static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset)
{
	u8 offset_in_dword, align_size;
	offset_in_dword = (u8)(byte_offset & 0x3);
	align_size = offset_in_dword ? BYTES_IN_DWORD - offset_in_dword : 0;
	if (dump && align_size)
		memset(dump_buf, 0, align_size);
	return align_size;
}
static u32 qed_dump_align ( char * dump_buf , bool dump , u32 byte_offset ) { u8 offset_in_dword , align_size ; offset_in_dword = ( u8 ) ( byte_offset & 0x3 ) ; align_size = offset_in_dword ? BYTES_IN_DWORD - offset_in_dword : 0 ; if ( dump && align_size ) memset ( dump_buf , 0 , align_size ) ; return align_size ; }
Dumps zeros to align the specified buffer to dwords.
Dumps zeros to align the specified buffer to dwords .