Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/dma/
H A Dqcom-gpi-dma.h49 enum i2c_op { enum
79 enum i2c_op op;
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-phy-v2.c432 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write()
445 i2c_op.len = 1; in xgbe_phy_redrv_write()
474 i2c_op.target = target; in xgbe_phy_i2c_write()
475 i2c_op.len = val_len; in xgbe_phy_i2c_write()
476 i2c_op.buf = val; in xgbe_phy_i2c_write()
495 i2c_op.target = target; in xgbe_phy_i2c_read()
496 i2c_op.len = reg_len; in xgbe_phy_i2c_read()
497 i2c_op.buf = reg; in xgbe_phy_i2c_read()
510 i2c_op.target = target; in xgbe_phy_i2c_read()
511 i2c_op.len = val_len; in xgbe_phy_i2c_read()
[all …]
/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