FreeBSD/sys/dev/cxgb/common/cxgb_t3_hw.c
/**
 * 	t3_sge_read_cq - read an SGE CQ context
 * 	@adapter: the adapter
 * 	@id: the context id
 * 	@data: holds the retrieved context
 *
 * 	Read an SGE CQ context.  The caller is responsible for ensuring
 * 	only one context operation occurs at a time.
 */
read an SGE CQ context
@adapter: the adapter
@id: the context id
@data: holds the retrieved context

Read an SGE CQ context.  The caller is responsible for ensuring
only one context operation occurs at a time.
read an SGE CQ context @adapter : the adapter @id : the context id @data : holds the retrieved context Read an SGE CQ context . The caller is responsible for ensuring only one context operation occurs at a time .
int t3_sge_read_cq(adapter_t *adapter, unsigned int id, u32 data[4])
{
	if (id >= 65536)
		return -EINVAL;
	return t3_sge_read_context(F_CQ, adapter, id, data);
}
int t3_sge_read_cq ( adapter_t * adapter , unsigned int id , u32 data [ 4 ] ) { if ( id >= 65536 ) return - EINVAL ; return t3_sge_read_context ( F_CQ , adapter , id , data ) ; }
t3_sge_read_cq - read an SGE CQ context
      @adapter: the adapter
      @id: the context id
      @data: holds the retrieved context
t3_sge_read_cq - read an SGE CQ context @adapter : the adapter @id : the context id @data : holds the retrieved context