i2c_prop_get
if (!i2c_prop_get(ctrl, i, &arg.icpg_u32,
if (!i2c_prop_get(ctrl, I2C_PROP_BUS_SPEED, &arg.icl_speed,
if (!i2c_prop_get(ctrl, I2C_PROP_TYPE, &arg.icl_type, &len)) {
if (!i2c_prop_get(ctrl, I2C_PROP_NPORTS, &arg.icl_nports,
extern bool i2c_prop_get(i2c_ctrl_t *, i2c_prop_t, void *, size_t *);
extern bool i2c_prop_get(i2c_ctrl_t *, i2c_prop_t, void *, uint32_t *,
if (!i2c_prop_get(ctrl, SMBUS_PROP_SUP_OPS,
if (!i2c_prop_get(ctrl, SMBUS_PROP_MAX_BLOCK,
if (!i2c_prop_get(ctrl, I2C_PROP_MAX_READ,
if (!i2c_prop_get(ctrl, I2C_PROP_MAX_WRITE,
if (i2c_prop_get(ctrl, prop.up_prop, prop.up_value, &prop.up_size,