Searched refs:i2c_op (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 392 struct xgbe_i2c_op *i2c_op) in xgbe_phy_i2c_xfer() argument 394 return pdata->i2c_if.i2c_xfer(pdata, i2c_op); in xgbe_phy_i2c_xfer() 401 struct xgbe_i2c_op i2c_op; in xgbe_phy_redrv_write() local 424 i2c_op.cmd = XGBE_I2C_CMD_WRITE; in xgbe_phy_redrv_write() 425 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write() 426 i2c_op.len = sizeof(redrv_data); in xgbe_phy_redrv_write() 427 i2c_op.buf = redrv_data; in xgbe_phy_redrv_write() 428 ret = xgbe_phy_i2c_xfer(pdata, &i2c_op); in xgbe_phy_redrv_write() 438 i2c_op.cmd = XGBE_I2C_CMD_READ; in xgbe_phy_redrv_write() 439 i2c_op.target = phy_data->redrv_addr; in xgbe_phy_redrv_write() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-sh_mobile.c | 303 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 …]
|
/kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
D | saa7146_i2c.c | 184 *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()
|
D | saa7146_core.c | 317 if (0 != dev->i2c_op) { in interrupt_hw() 318 dev->i2c_op = 0; in interrupt_hw()
|
/kernel/linux/linux-5.10/include/media/drv-intf/ |
D | saa7146.h | 152 int i2c_op; member
|