src/dpdk/drivers/net/igc/base/igc_api.c
static bool igc_get_i2c_data(u32 *i2cctl)
{
	bool data;

	DEBUGFUNC("igc_get_i2c_data");

	if (*i2cctl & IGC_I2C_DATA_IN)
		data = 1;
	else
		data = 0;

	return data;
}
/**
 *  igc_get_i2c_data - Reads the I2C SDA data bit
 *  @i2cctl: Current value of I2CCTL register
 *
 *  Returns the I2C data bit value
 **/
Reads the I2C SDA data bit
@i2cctl: Current value of I2CCTL register

Returns the I2C data bit value
Reads the I2C SDA data bit @i2cctl : Current value of I2CCTL register Returns the I2C data bit value
static bool igc_get_i2c_data(u32 *i2cctl)
{
	bool data;
	DEBUGFUNC("igc_get_i2c_data");
	if (*i2cctl & IGC_I2C_DATA_IN)
		data = 1;
	else
		data = 0;
	return data;
}
static bool igc_get_i2c_data ( u32 * i2cctl ) { bool data ; DEBUGFUNC ( " " ) ; if ( * i2cctl & IGC_I2C_DATA_IN ) data = 1 ; else data = 0 ; return data ; }
igc_get_i2c_data - Reads the I2C SDA data bit
  @i2cctl: Current value of I2CCTL register
igc_get_i2c_data - Reads the I2C SDA data bit @i2cctl : Current value of I2CCTL register