Home
last modified time | relevance | path

Searched refs:i2c_op (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c397 struct xgbe_i2c_op *i2c_op) in xgbe_phy_i2c_xfer() argument
399 return pdata->i2c_if.i2c_xfer(pdata, i2c_op); in xgbe_phy_i2c_xfer()
406 struct xgbe_i2c_op i2c_op; in xgbe_phy_redrv_write() local
429 i2c_op.cmd = XGBE_I2C_CMD_WRITE; in xgbe_phy_redrv_write()
430 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
431 i2c_op.len = sizeof(redrv_data); in xgbe_phy_redrv_write()
432 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write()
433 ret = xgbe_phy_i2c_xfer(pdata, &i2c_op); in xgbe_phy_redrv_write()
443 i2c_op.cmd = XGBE_I2C_CMD_READ; in xgbe_phy_redrv_write()
444 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
[all …]
/openbmc/linux/include/linux/dma/
H A Dqcom-gpi-dma.h49 enum i2c_op { enum
79 enum i2c_op op;
/openbmc/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c303 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, enum sh_mobile_i2c_op op) in i2c_op() function
357 i2c_op(pd, OP_TX_STOP); in sh_mobile_i2c_isr_tx()
362 i2c_op(pd, OP_TX_FIRST); in sh_mobile_i2c_isr_tx()
364 i2c_op(pd, OP_TX); in sh_mobile_i2c_isr_tx()
378 i2c_op(pd, OP_TX_FIRST); in sh_mobile_i2c_isr_rx()
380 i2c_op(pd, OP_TX_TO_RX); in sh_mobile_i2c_isr_rx()
384 i2c_op(pd, OP_RX_STOP); in sh_mobile_i2c_isr_rx()
390 i2c_op(pd, OP_RX_STOP); in sh_mobile_i2c_isr_rx()
392 pd->msg->buf[real_pos] = i2c_op(pd, OP_RX_STOP_DATA); in sh_mobile_i2c_isr_rx()
394 pd->msg->buf[real_pos] = i2c_op(pd, OP_RX); in sh_mobile_i2c_isr_rx()
[all …]
/openbmc/linux/drivers/media/common/saa7146/
H A Dsaa7146_i2c.c184 *dword, saa7146_read(dev, I2C_STATUS), dev->i2c_op); in saa7146_i2c_writeout()
191 dev->i2c_op = 1; in saa7146_i2c_writeout()
197 timeout = wait_event_interruptible_timeout(dev->i2c_wq, dev->i2c_op == 0, timeout); in saa7146_i2c_writeout()
198 if (timeout == -ERESTARTSYS || dev->i2c_op) { in saa7146_i2c_writeout()
H A Dsaa7146_core.c305 if (0 != dev->i2c_op) { in interrupt_hw()
306 dev->i2c_op = 0; in interrupt_hw()
/openbmc/linux/include/media/drv-intf/
H A Dsaa7146.h152 int i2c_op; member