Searched refs:i2c_op (Results 1 – 1 of 1) sorted by relevance
427 xgbe_phy_i2c_xfer(struct xgbe_prv_data *pdata, struct xgbe_i2c_op *i2c_op) in xgbe_phy_i2c_xfer() argument429 return (pdata->i2c_if.i2c_xfer(pdata, i2c_op)); in xgbe_phy_i2c_xfer()437 struct xgbe_i2c_op i2c_op; in xgbe_phy_redrv_write() local460 i2c_op.cmd = XGBE_I2C_CMD_WRITE; in xgbe_phy_redrv_write()461 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()462 i2c_op.len = sizeof(redrv_data); in xgbe_phy_redrv_write()463 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write()464 ret = xgbe_phy_i2c_xfer(pdata, &i2c_op); in xgbe_phy_redrv_write()474 i2c_op.cmd = XGBE_I2C_CMD_READ; in xgbe_phy_redrv_write()475 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()[all …]