Home
last modified time | relevance | path

Searched defs:i2c (Results 1 – 25 of 55) sorted by relevance

123

/qemu/hw/ppc/
H A Dpnv_i2c.c27 static I2CBus *pnv_i2c_get_bus(PnvI2C *i2c) in pnv_i2c_get_bus()
39 static void pnv_i2c_update_irq(PnvI2C *i2c) in pnv_i2c_update_irq()
127 static void pnv_i2c_fifo_flush(PnvI2C *i2c) in pnv_i2c_fifo_flush()
220 static void pnv_i2c_fifo_in(PnvI2C *i2c) in pnv_i2c_fifo_in()
255 static void pnv_i2c_fifo_out(PnvI2C *i2c) in pnv_i2c_fifo_out()
294 PnvI2C *i2c = PNV_I2C(opaque); in pnv_i2c_xscom_read() local
339 PnvI2C *i2c = PNV_I2C(dev); in pnv_i2c_reset() local
357 PnvI2C *i2c = PNV_I2C(opaque); in pnv_i2c_xscom_write() local
472 PnvI2C *i2c = PNV_I2C(dev); in pnv_i2c_dt_xscom() local
506 PnvI2C *i2c = PNV_I2C(dev); in pnv_i2c_sys_reset() local
[all …]
/qemu/hw/i2c/
H A Dbitbang_i2c.c48 static void bitbang_i2c_set_state(bitbang_i2c_interface *i2c, in bitbang_i2c_set_state()
55 static void bitbang_i2c_enter_stop(bitbang_i2c_interface *i2c) in bitbang_i2c_enter_stop()
64 static int bitbang_i2c_ret(bitbang_i2c_interface *i2c, int level) in bitbang_i2c_ret()
74 static int bitbang_i2c_nop(bitbang_i2c_interface *i2c) in bitbang_i2c_nop()
80 int bitbang_i2c_set(bitbang_i2c_interface *i2c, int line, int level) in bitbang_i2c_set()
H A Dppc4xx_i2c.c91 PPC4xxI2CState *i2c = PPC4xx_I2C(s); in ppc4xx_i2c_reset() local
109 PPC4xxI2CState *i2c = PPC4xx_I2C(opaque); in ppc4xx_i2c_readb() local
189 PPC4xxI2CState *i2c = opaque; in ppc4xx_i2c_writeb() local
/qemu/hw/sensor/
H A Dtmp105.c186 static uint8_t tmp105_rx(I2CSlave *i2c) in tmp105_rx()
197 static int tmp105_tx(I2CSlave *i2c, uint8_t data) in tmp105_tx()
215 static int tmp105_event(I2CSlave *i2c, enum i2c_event event) in tmp105_event()
282 static void tmp105_reset(I2CSlave *i2c) in tmp105_reset()
301 I2CSlave *i2c = I2C_SLAVE(dev); in tmp105_realize() local
H A Ddps310.c21 I2CSlave i2c; member
136 static uint8_t dps310_rx(I2CSlave *i2c) in dps310_rx()
147 static int dps310_tx(I2CSlave *i2c, uint8_t data) in dps310_tx()
165 static int dps310_event(I2CSlave *i2c, enum i2c_event event) in dps310_event()
H A Dtmp421.c54 I2CSlave i2c; member
247 static uint8_t tmp421_rx(I2CSlave *i2c) in tmp421_rx()
258 static int tmp421_tx(I2CSlave *i2c, uint8_t data) in tmp421_tx()
277 static int tmp421_event(I2CSlave *i2c, enum i2c_event event) in tmp421_event()
306 static void tmp421_reset(I2CSlave *i2c) in tmp421_reset()
H A Demc141x.c187 static uint8_t emc141x_rx(I2CSlave *i2c) in emc141x_rx()
199 static int emc141x_tx(I2CSlave *i2c, uint8_t data) in emc141x_tx()
215 static int emc141x_event(I2CSlave *i2c, enum i2c_event event) in emc141x_event()
H A Dlsm303dlhc_mag.c302 static int lsm303dlhc_mag_send(I2CSlave *i2c, uint8_t data) in lsm303dlhc_mag_send()
324 static uint8_t lsm303dlhc_mag_recv(I2CSlave *i2c) in lsm303dlhc_mag_recv()
415 static int lsm303dlhc_mag_event(I2CSlave *i2c, enum i2c_event event) in lsm303dlhc_mag_event()
501 I2CSlave *i2c = I2C_SLAVE(dev); in lsm303dlhc_mag_reset() local
/qemu/hw/rtc/
H A Dm41t80.c34 static int m41t80_send(I2CSlave *i2c, uint8_t data) in m41t80_send()
46 static uint8_t m41t80_recv(I2CSlave *i2c) in m41t80_recv()
87 static int m41t80_event(I2CSlave *i2c, enum i2c_event event) in m41t80_event()
H A Dds1338.c101 static int ds1338_event(I2CSlave *i2c, enum i2c_event event) in ds1338_event()
124 static uint8_t ds1338_recv(I2CSlave *i2c) in ds1338_recv()
137 static int ds1338_send(I2CSlave *i2c, uint8_t data) in ds1338_send()
/qemu/hw/display/
H A Di2c-ddc.c45 static int i2c_ddc_event(I2CSlave *i2c, enum i2c_event event) in i2c_ddc_event()
56 static uint8_t i2c_ddc_rx(I2CSlave *i2c) in i2c_ddc_rx()
66 static int i2c_ddc_tx(I2CSlave *i2c, uint8_t data) in i2c_ddc_tx()
H A Dsii9022.c65 static int sii9022_event(I2CSlave *i2c, enum i2c_event event) in sii9022_event()
86 static uint8_t sii9022_rx(I2CSlave *i2c) in sii9022_rx()
115 static int sii9022_tx(I2CSlave *i2c, uint8_t data) in sii9022_tx()
H A Dssd0303.c69 static uint8_t ssd0303_recv(I2CSlave *i2c) in ssd0303_recv()
75 static int ssd0303_send(I2CSlave *i2c, uint8_t data) in ssd0303_send()
186 static int ssd0303_event(I2CSlave *i2c, enum i2c_event event) in ssd0303_event()
/qemu/hw/misc/
H A Daxp2xx.c48 I2CSlave i2c; member
172 static int axp2xx_event(I2CSlave *i2c, enum i2c_event event) in axp2xx_event()
182 static uint8_t axp2xx_rx(I2CSlave *i2c) in axp2xx_rx()
200 static int axp2xx_tx(I2CSlave *i2c, uint8_t data) in axp2xx_tx()
/qemu/tests/qtest/libqos/
H A Di2c-imx.c40 static void imx_i2c_send(I2CAdapter *i2c, uint8_t addr, in imx_i2c_send()
100 static void imx_i2c_recv(I2CAdapter *i2c, uint8_t addr, in imx_i2c_recv()
H A Di2c-omap.c53 static void omap_i2c_send(I2CAdapter *i2c, uint8_t addr, in omap_i2c_send()
97 static void omap_i2c_recv(I2CAdapter *i2c, uint8_t addr, in omap_i2c_recv()
/qemu/hw/gpio/
H A Dpcf8574.c64 static uint8_t pcf8574_rx(I2CSlave *i2c) in pcf8574_rx()
77 static int pcf8574_tx(I2CSlave *i2c, uint8_t data) in pcf8574_tx()
H A Dpca9554.c118 static uint8_t pca9554_recv(I2CSlave *i2c) in pca9554_recv()
128 static int pca9554_send(I2CSlave *i2c, uint8_t data) in pca9554_send()
143 static int pca9554_event(I2CSlave *i2c, enum i2c_event event) in pca9554_event()
/qemu/include/hw/display/
H A Di2c-ddc.h29 I2CSlave i2c; member
/qemu/hw/arm/
H A Dcubieboard.c40 I2CBus *i2c; in cubieboard_init() local
H A Dbananapi_m2u.c66 I2CBus *i2c; in bpim2u_init() local
H A Dmicrobit.c27 MicrobitI2CState i2c; member
/qemu/hw/tpm/
H A Dtpm_tis_i2c.c306 static int tpm_tis_i2c_event(I2CSlave *i2c, enum i2c_event event) in tpm_tis_i2c_event()
339 static uint8_t tpm_tis_i2c_recv(I2CSlave *i2c) in tpm_tis_i2c_recv()
442 static int tpm_tis_i2c_send(I2CSlave *i2c, uint8_t data) in tpm_tis_i2c_send()
/qemu/include/hw/gpio/
H A Dpca9554.h24 I2CSlave i2c; member
H A Dpca9552.h26 I2CSlave i2c; member

123