FreeBSD/sys/dev/cxgbe/common/t4_hw.c
/**
 *	t4_read_rss_pf_map - read PF RSS Map
 *	@adapter: the adapter
 *
 *	Reads the PF RSS Map register and returns its value.
 */
read PF RSS Map
@adapter: the adapter

Reads the PF RSS Map register and returns its value.
read PF RSS Map @adapter : the adapter Reads the PF RSS Map register and returns its value .
u32 t4_read_rss_pf_map(struct adapter *adapter)
{
	u32 pfmap;
	if (t4_use_ldst(adapter))
		t4_fw_tp_pio_rw(adapter, &pfmap, 1, A_TP_RSS_PF_MAP, 1);
	else
		t4_read_indirect(adapter, A_TP_PIO_ADDR, A_TP_PIO_DATA,
				 &pfmap, 1, A_TP_RSS_PF_MAP);
	return pfmap;
}
u32 t4_read_rss_pf_map ( struct adapter * adapter ) { u32 pfmap ; if ( t4_use_ldst ( adapter ) ) t4_fw_tp_pio_rw ( adapter , & pfmap , 1 , A_TP_RSS_PF_MAP , 1 ) ; else t4_read_indirect ( adapter , A_TP_PIO_ADDR , A_TP_PIO_DATA , & pfmap , 1 , A_TP_RSS_PF_MAP ) ; return pfmap ; }
t4_read_rss_pf_map - read PF RSS Map
      @adapter: the adapter
t4_read_rss_pf_map - read PF RSS Map @adapter : the adapter