src/dpdk/drivers/net/qede/qede_debug.c
static const struct dbg_attn_block_type_data *
qed_get_block_attn_data(struct ecore_hwfn *p_hwfn,
			enum block_id block_id, enum dbg_attn_type attn_type)
{
	const struct dbg_attn_block *base_attn_block_arr =
	    (const struct dbg_attn_block *)
	    p_hwfn->dbg_arrays[BIN_BUF_DBG_ATTN_BLOCKS].ptr;

	return &base_attn_block_arr[block_id].per_type_data[attn_type];
}
/* Returns the attention block data of the specified block */
Returns the attention block data of the specified block
Returns the attention block data of the specified block
static const struct dbg_attn_block_type_data *
qed_get_block_attn_data(struct ecore_hwfn *p_hwfn,
			enum block_id block_id, enum dbg_attn_type attn_type)
{
	const struct dbg_attn_block *base_attn_block_arr =
	    (const struct dbg_attn_block *)
	    p_hwfn->dbg_arrays[BIN_BUF_DBG_ATTN_BLOCKS].ptr;
	return &base_attn_block_arr[block_id].per_type_data[attn_type];
}
static const struct dbg_attn_block_type_data * qed_get_block_attn_data ( struct ecore_hwfn * p_hwfn , enum block_id block_id , enum dbg_attn_type attn_type ) { const struct dbg_attn_block * base_attn_block_arr = ( const struct dbg_attn_block * ) p_hwfn -> dbg_arrays [ BIN_BUF_DBG_ATTN_BLOCKS ] . ptr ; return & base_attn_block_arr [ block_id ] . per_type_data [ attn_type ] ; }
Returns the attention block data of the specified block
Returns the attention block data of the specified block