Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c288 struct xgbe_i2c_op *i2c_op) in xgbe_phy_i2c_xfer() argument
290 return pdata->i2c_if.i2c_xfer(pdata, i2c_op); in xgbe_phy_i2c_xfer()
297 struct xgbe_i2c_op i2c_op; in xgbe_phy_redrv_write() local
320 i2c_op.cmd = XGBE_I2C_CMD_WRITE; in xgbe_phy_redrv_write()
321 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
322 i2c_op.len = sizeof(redrv_data); in xgbe_phy_redrv_write()
323 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write()
324 ret = xgbe_phy_i2c_xfer(pdata, &i2c_op); in xgbe_phy_redrv_write()
334 i2c_op.cmd = XGBE_I2C_CMD_READ; in xgbe_phy_redrv_write()
335 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-sh_mobile.c304 static unsigned char i2c_op(struct sh_mobile_i2c_data *pd, enum sh_mobile_i2c_op op) in i2c_op() function
358 i2c_op(pd, OP_TX_STOP); in sh_mobile_i2c_isr_tx()
363 i2c_op(pd, OP_TX_FIRST); in sh_mobile_i2c_isr_tx()
365 i2c_op(pd, OP_TX); in sh_mobile_i2c_isr_tx()
379 i2c_op(pd, OP_TX_FIRST); in sh_mobile_i2c_isr_rx()
381 i2c_op(pd, OP_TX_TO_RX); in sh_mobile_i2c_isr_rx()
385 i2c_op(pd, OP_RX_STOP); in sh_mobile_i2c_isr_rx()
391 i2c_op(pd, OP_RX_STOP); in sh_mobile_i2c_isr_rx()
393 pd->msg->buf[real_pos] = i2c_op(pd, OP_RX_STOP_DATA); in sh_mobile_i2c_isr_rx()
395 pd->msg->buf[real_pos] = i2c_op(pd, OP_RX); in sh_mobile_i2c_isr_rx()
[all …]
/linux/include/linux/dma/
H A Dqcom-gpi-dma.h49 enum i2c_op { enum
79 enum i2c_op op;
/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()
/linux/include/media/drv-intf/
H A Dsaa7146.h152 int i2c_op; member