Searched refs:sh_i2c (Results 1 – 5 of 5) sorted by relevance
19 struct sh_i2c { struct48 static const struct sh_i2c *i2c_dev[CONFIG_SYS_I2C_SH_NUM_CONTROLLERS] = {49 (struct sh_i2c *)CONFIG_SYS_I2C_SH_BASE0,51 (struct sh_i2c *)CONFIG_SYS_I2C_SH_BASE1,54 (struct sh_i2c *)CONFIG_SYS_I2C_SH_BASE2,57 (struct sh_i2c *)CONFIG_SYS_I2C_SH_BASE3,60 (struct sh_i2c *)CONFIG_SYS_I2C_SH_BASE4,68 static void sh_irq_dte(struct sh_i2c *dev) in sh_irq_dte()79 static int sh_irq_dte_with_tack(struct sh_i2c *dev) in sh_irq_dte_with_tack()93 static void sh_irq_busy(struct sh_i2c *dev) in sh_irq_busy()[all …]
15 struct sh_i2c { struct29 static struct sh_i2c *base; argument68 static void sh_i2c_send_stop(struct sh_i2c *base) in sh_i2c_send_stop()73 static int check_icsr_bits(struct sh_i2c *base, u8 bits) in check_icsr_bits()86 static int check_stop(struct sh_i2c *base) in check_stop()94 static int check_tend(struct sh_i2c *base, int stop) in check_tend()107 static int check_tdre(struct sh_i2c *base) in check_tdre()112 static int check_rdrf(struct sh_i2c *base) in check_rdrf()117 static int check_bbsy(struct sh_i2c *base) in check_bbsy()129 static int check_ackbr(struct sh_i2c *base) in check_ackbr()[all …]
38 obj-$(CONFIG_SYS_I2C_SH) += sh_i2c.o
16 sh_i2c
1827 - drivers/i2c/sh_i2c.c: