src/dpdk/drivers/net/bnx2x/bnx2x.c
static void
bnx2x_wr_fp_sb_data(struct bnx2x_softc *sc, int fw_sb_id, uint32_t * sb_data_p,
		  uint32_t data_size)
{
	uint32_t index;

	for (index = 0; index < data_size; index++) {
		REG_WR(sc,
		       (BAR_CSTRORM_INTMEM +
			CSTORM_STATUS_BLOCK_DATA_OFFSET(fw_sb_id) +
			(sizeof(uint32_t) * index)), *(sb_data_p + index));
	}
}
/* writes FP SP data to FW - data_size in dwords */
writes FP SP data to FW - data_size in dwords
writes FP SP data to FW - data_size in dwords
static void
bnx2x_wr_fp_sb_data(struct bnx2x_softc *sc, int fw_sb_id, uint32_t * sb_data_p,
		  uint32_t data_size)
{
	uint32_t index;
	for (index = 0; index < data_size; index++) {
		REG_WR(sc,
		       (BAR_CSTRORM_INTMEM +
			CSTORM_STATUS_BLOCK_DATA_OFFSET(fw_sb_id) +
			(sizeof(uint32_t) * index)), *(sb_data_p + index));
	}
}
static void bnx2x_wr_fp_sb_data ( struct bnx2x_softc * sc , int fw_sb_id , uint32_t * sb_data_p , uint32_t data_size ) { uint32_t index ; for ( index = 0 ; index < data_size ; index ++ ) { REG_WR ( sc , ( BAR_CSTRORM_INTMEM + CSTORM_STATUS_BLOCK_DATA_OFFSET ( fw_sb_id ) + ( sizeof ( uint32_t ) * index ) ) , * ( sb_data_p + index ) ) ; } }
writes FP SP data to FW - data_size in dwords
writes FP SP data to FW - data_size in dwords