Home
last modified time | relevance | path

Searched refs:i2c_slave_event (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-at91-slave.c28 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
34 i2c_slave_event(dev->slave, in atmel_twi_interrupt_slave()
44 i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, &value); in atmel_twi_interrupt_slave()
51 i2c_slave_event(dev->slave, I2C_SLAVE_WRITE_RECEIVED, &value); in atmel_twi_interrupt_slave()
59 i2c_slave_event(dev->slave, I2C_SLAVE_STOP, &value); in atmel_twi_interrupt_slave()
H A Di2c-designware-slave.c178 i2c_slave_event(dev->slave, I2C_SLAVE_WRITE_REQUESTED, in i2c_dw_irq_handler_slave()
184 if (!i2c_slave_event(dev->slave, I2C_SLAVE_WRITE_RECEIVED, in i2c_dw_irq_handler_slave()
194 if (!i2c_slave_event(dev->slave, in i2c_dw_irq_handler_slave()
202 if (!i2c_slave_event(dev->slave, I2C_SLAVE_READ_PROCESSED, in i2c_dw_irq_handler_slave()
209 i2c_slave_event(dev->slave, I2C_SLAVE_STOP, &val); in i2c_dw_irq_handler_slave()
H A Di2c-emev2.c231 enum i2c_slave_event event; in em_i2c_slave_irq()
248 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value); in em_i2c_slave_irq()
270 i2c_slave_event(priv->slave, event, &value); in em_i2c_slave_irq()
284 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTED, in em_i2c_slave_irq()
289 ret = i2c_slave_event(priv->slave, in em_i2c_slave_irq()
H A Di2c-cadence.c291 i2c_slave_event(id->slave, I2C_SLAVE_WRITE_REQUESTED, NULL); in cdns_i2c_slave_rcv_data()
300 i2c_slave_event(id->slave, I2C_SLAVE_WRITE_RECEIVED, &data); in cdns_i2c_slave_rcv_data()
311 i2c_slave_event(id->slave, I2C_SLAVE_READ_REQUESTED, &data); in cdns_i2c_slave_send_data()
313 i2c_slave_event(id->slave, I2C_SLAVE_READ_PROCESSED, &data); in cdns_i2c_slave_send_data()
352 i2c_slave_event(id->slave, I2C_SLAVE_STOP, NULL); in cdns_i2c_slave_isr()
362 i2c_slave_event(id->slave, I2C_SLAVE_STOP, NULL); in cdns_i2c_slave_isr()
370 i2c_slave_event(id->slave, I2C_SLAVE_STOP, NULL); in cdns_i2c_slave_isr()
H A Di2c-bcm-iproc.c357 i2c_slave_event(iproc_i2c->slave, in bcm_iproc_i2c_slave_read()
364 i2c_slave_event(iproc_i2c->slave, in bcm_iproc_i2c_slave_read()
370 i2c_slave_event(iproc_i2c->slave, in bcm_iproc_i2c_slave_read()
374 i2c_slave_event(iproc_i2c->slave, I2C_SLAVE_STOP, in bcm_iproc_i2c_slave_read()
462 i2c_slave_event(iproc_i2c->slave, in bcm_iproc_i2c_slave_isr()
467 i2c_slave_event(iproc_i2c->slave, in bcm_iproc_i2c_slave_isr()
503 i2c_slave_event(iproc_i2c->slave, I2C_SLAVE_STOP, &value); in bcm_iproc_i2c_slave_isr()
H A Di2c-axxia.c324 i2c_slave_event(idev->slave, in axxia_i2c_slv_fifo_event()
328 i2c_slave_event(idev->slave, I2C_SLAVE_WRITE_RECEIVED, &val); in axxia_i2c_slv_fifo_event()
332 i2c_slave_event(idev->slave, I2C_SLAVE_STOP, &val); in axxia_i2c_slv_fifo_event()
348 i2c_slave_event(idev->slave, I2C_SLAVE_READ_REQUESTED, &val); in axxia_i2c_slv_isr()
352 i2c_slave_event(idev->slave, I2C_SLAVE_READ_PROCESSED, &val); in axxia_i2c_slv_isr()
356 i2c_slave_event(idev->slave, I2C_SLAVE_STOP, &val); in axxia_i2c_slv_isr()
H A Di2c-aspeed.c299 i2c_slave_event(slave, I2C_SLAVE_READ_REQUESTED, &value); in aspeed_i2c_slave_irq()
310 i2c_slave_event(slave, I2C_SLAVE_READ_PROCESSED, &value); in aspeed_i2c_slave_irq()
316 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in aspeed_i2c_slave_irq()
319 i2c_slave_event(slave, I2C_SLAVE_WRITE_RECEIVED, &value); in aspeed_i2c_slave_irq()
322 i2c_slave_event(slave, I2C_SLAVE_STOP, &value); in aspeed_i2c_slave_irq()
H A Di2c-mlxbf.c1908 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in mlxbf_smbus_irq_send()
1910 ret = i2c_slave_event(slave, I2C_SLAVE_WRITE_RECEIVED, in mlxbf_smbus_irq_send()
1912 i2c_slave_event(slave, I2C_SLAVE_STOP, &value); in mlxbf_smbus_irq_send()
1924 i2c_slave_event(slave, I2C_SLAVE_READ_REQUESTED, &value); in mlxbf_smbus_irq_send()
1928 i2c_slave_event(slave, I2C_SLAVE_READ_PROCESSED, &value); in mlxbf_smbus_irq_send()
1932 i2c_slave_event(slave, I2C_SLAVE_STOP, &value); in mlxbf_smbus_irq_send()
1991 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in mlxbf_smbus_irq_recv()
1996 ret = i2c_slave_event(slave, I2C_SLAVE_WRITE_RECEIVED, in mlxbf_smbus_irq_recv()
2003 i2c_slave_event(slave, I2C_SLAVE_STOP, &value); in mlxbf_smbus_irq_recv()
H A Di2c-rcar.c578 i2c_slave_event(priv->slave, I2C_SLAVE_READ_REQUESTED, &value); in rcar_i2c_slave_irq()
582 i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_REQUESTED, &value); in rcar_i2c_slave_irq()
593 i2c_slave_event(priv->slave, I2C_SLAVE_STOP, &value); in rcar_i2c_slave_irq()
604 ret = i2c_slave_event(priv->slave, I2C_SLAVE_WRITE_RECEIVED, &value); in rcar_i2c_slave_irq()
612 i2c_slave_event(priv->slave, I2C_SLAVE_READ_PROCESSED, &value); in rcar_i2c_slave_irq()
H A Di2c-pxa.c622 i2c_slave_event(i2c->slave, I2C_SLAVE_READ_PROCESSED, in i2c_pxa_slave_txempty()
635 i2c_slave_event(i2c->slave, I2C_SLAVE_WRITE_RECEIVED, &byte); in i2c_pxa_slave_rxfull()
652 i2c_slave_event(i2c->slave, I2C_SLAVE_READ_REQUESTED, in i2c_pxa_slave_start()
656 i2c_slave_event(i2c->slave, I2C_SLAVE_WRITE_REQUESTED, in i2c_pxa_slave_start()
692 i2c_slave_event(i2c->slave, I2C_SLAVE_STOP, NULL); in i2c_pxa_slave_stop()
H A Di2c-npcm7xx.c916 i2c_slave_event(bus->slave, I2C_SLAVE_READ_REQUESTED, &value); in npcm_i2c_slave_get_wr_buf()
919 i2c_slave_event(bus->slave, I2C_SLAVE_READ_PROCESSED, &value); in npcm_i2c_slave_get_wr_buf()
933 i2c_slave_event(bus->slave, I2C_SLAVE_WRITE_RECEIVED, in npcm_i2c_slave_send_rd_buf()
1112 i2c_slave_event(bus->slave, I2C_SLAVE_STOP, 0); in npcm_i2c_int_slave_handler()
1156 i2c_slave_event(bus->slave, I2C_SLAVE_WRITE_REQUESTED, in npcm_i2c_int_slave_handler()
H A Di2c-stm32f7.c1255 i2c_slave_event(slave, I2C_SLAVE_READ_REQUESTED, &value); in stm32f7_i2c_slave_start()
1276 i2c_slave_event(slave, I2C_SLAVE_WRITE_REQUESTED, &value); in stm32f7_i2c_slave_start()
1407 i2c_slave_event(i2c_dev->slave_running, in stm32f7_i2c_slave_isr_event()
1422 ret = i2c_slave_event(i2c_dev->slave_running, in stm32f7_i2c_slave_isr_event()
1459 i2c_slave_event(i2c_dev->slave_running, I2C_SLAVE_STOP, &val); in stm32f7_i2c_slave_isr_event()
/OK3568_Linux_fs/kernel/include/linux/
H A Di2c.h38 enum i2c_slave_event;
40 enum i2c_slave_event event, u8 *val);
364 enum i2c_slave_event { enum
376 static inline int i2c_slave_event(struct i2c_client *client, in i2c_slave_event() function
377 enum i2c_slave_event event, u8 *val) in i2c_slave_event()
/OK3568_Linux_fs/kernel/drivers/i2c/
H A Di2c-slave-testunit.c88 enum i2c_slave_event event, u8 *val) in i2c_slave_testunit_slave_cb()
H A Di2c-slave-eeprom.c46 enum i2c_slave_event event, u8 *val) in i2c_slave_eeprom_slave_cb()
H A Di2c-smbus.c208 enum i2c_slave_event event, u8 *val) in i2c_slave_host_notify_cb()
/OK3568_Linux_fs/kernel/drivers/char/ipmi/
H A Dipmb_dev_int.c250 enum i2c_slave_event event, u8 *val) in ipmb_slave_cb()
/OK3568_Linux_fs/kernel/Documentation/i2c/
H A Dslave-interface.rst60 ret = i2c_slave_event(client, event, &val)