Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/include/asm/arch-omap3/
Di2c.h11 struct i2c { struct
12 unsigned short rev; /* 0x00 */
13 unsigned short res1;
14 unsigned short ie; /* 0x04 */
15 unsigned short res2;
16 unsigned short stat; /* 0x08 */
17 unsigned short res3;
18 unsigned short we; /* 0x0C */
19 unsigned short res4;
20 unsigned short syss; /* 0x10 */
[all …]
/external/u-boot/arch/arm/include/asm/arch-omap4/
Di2c.h11 struct i2c { struct
12 unsigned short revnb_lo; /* 0x00 */
13 unsigned short res1;
14 unsigned short revnb_hi; /* 0x04 */
15 unsigned short res2[5];
16 unsigned short sysc; /* 0x10 */
17 unsigned short res3[9];
18 unsigned short irqstatus_raw; /* 0x24 */
19 unsigned short res4;
20 unsigned short stat; /* 0x28 */
[all …]
/external/u-boot/arch/arm/include/asm/arch-omap5/
Di2c.h11 struct i2c { struct
12 unsigned short revnb_lo; /* 0x00 */
13 unsigned short res1;
14 unsigned short revnb_hi; /* 0x04 */
15 unsigned short res2[5];
16 unsigned short sysc; /* 0x10 */
17 unsigned short res3[9];
18 unsigned short irqstatus_raw; /* 0x24 */
19 unsigned short res4;
20 unsigned short stat; /* 0x28 */
[all …]
/external/u-boot/arch/arm/include/asm/arch-am33xx/
Di2c.h15 struct i2c { struct
16 unsigned short revnb_lo; /* 0x00 */
17 unsigned short res1;
18 unsigned short revnb_hi; /* 0x04 */
19 unsigned short res2[5];
20 unsigned short sysc; /* 0x10 */
21 unsigned short res3[9];
22 unsigned short irqstatus_raw; /* 0x24 */
23 unsigned short res4;
24 unsigned short stat; /* 0x28 */
[all …]
/external/u-boot/drivers/i2c/
Dmeson_i2c.c55 static void meson_i2c_reset_tokens(struct meson_i2c *i2c) in meson_i2c_reset_tokens()
62 static void meson_i2c_add_token(struct meson_i2c *i2c, int token) in meson_i2c_add_token()
76 static void meson_i2c_get_data(struct meson_i2c *i2c, u8 *buf, int len) in meson_i2c_get_data()
97 static void meson_i2c_put_data(struct meson_i2c *i2c, u8 *buf, int len) in meson_i2c_put_data()
119 static void meson_i2c_prepare_xfer(struct meson_i2c *i2c) in meson_i2c_prepare_xfer()
146 static void meson_i2c_do_start(struct meson_i2c *i2c, struct i2c_msg *msg) in meson_i2c_do_start()
158 static int meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, in meson_i2c_xfer_msg()
210 struct meson_i2c *i2c = dev_get_priv(bus); in meson_i2c_xfer() local
224 struct meson_i2c *i2c = dev_get_priv(bus); in meson_i2c_set_bus_speed() local
253 struct meson_i2c *i2c = dev_get_priv(bus); in meson_i2c_probe() local
Ds3c24x0_i2c.c39 static int WaitForXfer(struct s3c24x0_i2c *i2c) in WaitForXfer()
52 static void read_write_byte(struct s3c24x0_i2c *i2c) in read_write_byte()
57 static void i2c_ch_init(struct s3c24x0_i2c *i2c, int speed, int slaveadd) in i2c_ch_init()
103 static int i2c_transfer(struct s3c24x0_i2c *i2c, in i2c_transfer()
229 struct s3c24x0_i2c *i2c = i2c_bus->regs; in s3c24x0_do_msg() local
282 struct s3c24x0_i2c *i2c = i2c_bus->regs; in s3c24x0_i2c_xfer() local
Drk_i2c.c48 static void rk_i2c_set_clk(struct rk_i2c *i2c, uint32_t scl_rate) in rk_i2c_set_clk()
90 static int rk_i2c_send_start_bit(struct rk_i2c *i2c) in rk_i2c_send_start_bit()
118 static int rk_i2c_send_stop_bit(struct rk_i2c *i2c) in rk_i2c_send_stop_bit()
146 static inline void rk_i2c_disable(struct rk_i2c *i2c) in rk_i2c_disable()
151 static int rk_i2c_read(struct rk_i2c *i2c, uchar chip, uint reg, uint r_len, in rk_i2c_read()
250 static int rk_i2c_write(struct rk_i2c *i2c, uchar chip, uint reg, uint r_len, in rk_i2c_write()
332 struct rk_i2c *i2c = dev_get_priv(bus); in rockchip_i2c_xfer() local
356 struct rk_i2c *i2c = dev_get_priv(bus); in rockchip_i2c_set_bus_speed() local
Dexynos_hs_i2c.c102 static int hsi2c_wait_for_trx(struct exynos5_hsi2c *i2c) in hsi2c_wait_for_trx()
226 struct exynos5_hsi2c *i2c = i2c_bus->hsregs; in exynos5_i2c_reset() local
259 static unsigned hsi2c_poll_fifo(struct exynos5_hsi2c *i2c, bool rx_transfer) in hsi2c_poll_fifo()
303 static int hsi2c_prepare_transaction(struct exynos5_hsi2c *i2c, in hsi2c_prepare_transaction()
347 static int hsi2c_wait_while_busy(struct exynos5_hsi2c *i2c) in hsi2c_wait_while_busy()
361 static int hsi2c_write(struct exynos5_hsi2c *i2c, in hsi2c_write()
414 static int hsi2c_read(struct exynos5_hsi2c *i2c, in hsi2c_read()
Dsandbox_i2c.c68 struct dm_i2c_bus *i2c = dev_get_uclass_priv(bus); in sandbox_i2c_xfer() local
Dintel_i2c.c206 struct intel_i2c *i2c = dev_get_priv(bus); in intel_i2c_xfer() local
236 struct intel_i2c *i2c = dev_get_priv(bus); in intel_i2c_probe_chip() local
Di2c-uclass.c384 struct dm_i2c_bus *i2c = dev_get_uclass_priv(bus); in dm_i2c_set_bus_speed() local
405 struct dm_i2c_bus *i2c = dev_get_uclass_priv(bus); in dm_i2c_get_bus_speed() local
588 struct dm_i2c_bus *i2c = dev_get_uclass_priv(dev); in i2c_post_probe() local
Dmv_i2c.c538 struct mv_i2c_priv *i2c = dev_get_priv(bus); in mv_i2c_xfer() local
/external/u-boot/arch/powerpc/include/asm/
Dimmap_8xx.h180 typedef struct i2c { struct
181 u_char i2c_i2mod; argument
183 u_char i2c_i2add; argument
185 u_char i2c_i2brg; argument
187 u_char i2c_i2com; argument
189 u_char i2c_i2cer; argument
191 u_char i2c_i2cmr; argument
193 } i2c8xx_t; argument
Dimmap_83xx.h650 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
697 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
732 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
777 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
827 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
866 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
900 fsl_i2c_t i2c[2]; /* I2C Controllers */ member
Dimmap_86xx.h95 struct fsl_i2c_base i2c[2]; member
Dimmap_85xx.h122 struct fsl_i2c_base i2c[1]; member
/external/u-boot/include/power/
Dpmic.h73 struct p_i2c i2c; member
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding_test.cc1328 Output i2c = ops::Identity(scope.WithOpName("i2c"), s[1]); in TEST_F() local