Searched refs:i2c_wait (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-cpm.c | 117 wait_queue_head_t i2c_wait; member 142 wake_up(&cpm->i2c_wait); in cpm_i2c_interrupt() 362 ret = wait_event_timeout(cpm->i2c_wait, in cpm_i2c_xfer() 367 ret = wait_event_timeout(cpm->i2c_wait, in cpm_i2c_xfer() 444 init_waitqueue_head(&cpm->i2c_wait); in cpm_i2c_setup()
|
D | i2c-mpc.c | 134 static int i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) in i2c_wait() function 557 result = i2c_wait(i2c, timeout, 1); in mpc_write() 565 result = i2c_wait(i2c, timeout, 1); in mpc_write() 585 result = i2c_wait(i2c, timeout, 1); in mpc_read() 601 result = i2c_wait(i2c, timeout, 0); in mpc_read()
|