Lines Matching defs:s3c24xx_i2c
95 struct s3c24xx_i2c {
136 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat);
166 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret)
181 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c)
189 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c)
198 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c)
206 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c)
214 static bool is_ack(struct s3c24xx_i2c *i2c)
243 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c,
284 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret)
347 static inline int is_lastmsg(struct s3c24xx_i2c *i2c)
355 static inline int is_msglast(struct s3c24xx_i2c *i2c)
371 static inline int is_msgend(struct s3c24xx_i2c *i2c)
379 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
554 struct s3c24xx_i2c *i2c = dev_id;
593 static inline void s3c24xx_i2c_disable_bus(struct s3c24xx_i2c *i2c)
613 static int s3c24xx_i2c_set_master(struct s3c24xx_i2c *i2c)
633 static void s3c24xx_i2c_wait_idle(struct s3c24xx_i2c *i2c)
685 static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c,
753 struct s3c24xx_i2c *i2c = (struct s3c24xx_i2c *)adap->algo_data;
825 static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
887 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
906 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
915 static int s3c24xx_i2c_init(struct s3c24xx_i2c *i2c)
954 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c)
985 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c) { }
990 struct s3c24xx_i2c *i2c;
1003 i2c = devm_kzalloc(&pdev->dev, sizeof(struct s3c24xx_i2c), GFP_KERNEL);
1117 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev);
1128 struct s3c24xx_i2c *i2c = dev_get_drvdata(dev);
1140 struct s3c24xx_i2c *i2c = dev_get_drvdata(dev);