Searched refs:bcdev (Results 1 – 1 of 1) sorted by relevance
16 struct udevice *bcdev; member25 ret = dm_i2c_reg_write(priv->bcdev, priv->offset, BC_MAGIC); in bootcount_i2c_set()29 ret = dm_i2c_reg_write(priv->bcdev, priv->offset + 1, val & 0xff); in bootcount_i2c_set()45 ret = dm_i2c_reg_read(priv->bcdev, priv->offset); in bootcount_i2c_get()55 ret = dm_i2c_reg_read(priv->bcdev, priv->offset + 1); in bootcount_i2c_get()76 ret = i2c_get_chip_by_phandle(dev, "i2cbcdev", &priv->bcdev); in bootcount_i2c_probe()
Completed in 5 milliseconds