Searched refs:i2c_op (Results 1 – 1 of 1) sorted by relevance
387 xgbe_phy_i2c_xfer(struct xgbe_prv_data *pdata, struct xgbe_i2c_op *i2c_op) in xgbe_phy_i2c_xfer() argument389 return (pdata->i2c_if.i2c_xfer(pdata, i2c_op)); in xgbe_phy_i2c_xfer()397 struct xgbe_i2c_op i2c_op; in xgbe_phy_redrv_write() local420 i2c_op.cmd = XGBE_I2C_CMD_WRITE; in xgbe_phy_redrv_write()421 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()422 i2c_op.len = sizeof(redrv_data); in xgbe_phy_redrv_write()423 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write()424 ret = xgbe_phy_i2c_xfer(pdata, &i2c_op); in xgbe_phy_redrv_write()434 i2c_op.cmd = XGBE_I2C_CMD_READ; in xgbe_phy_redrv_write()435 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()[all …]