Lines Matching defs:s3c24xx_i2c

95 struct s3c24xx_i2c {
139 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat);
173 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret)
188 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c)
196 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c)
205 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c)
213 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c)
221 static bool is_ack(struct s3c24xx_i2c *i2c)
250 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c,
291 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret)
354 static inline int is_lastmsg(struct s3c24xx_i2c *i2c)
362 static inline int is_msglast(struct s3c24xx_i2c *i2c)
378 static inline int is_msgend(struct s3c24xx_i2c *i2c)
386 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
561 struct s3c24xx_i2c *i2c = dev_id;
600 static inline void s3c24xx_i2c_disable_bus(struct s3c24xx_i2c *i2c)
620 static int s3c24xx_i2c_set_master(struct s3c24xx_i2c *i2c)
640 static void s3c24xx_i2c_wait_idle(struct s3c24xx_i2c *i2c)
692 static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c,
760 struct s3c24xx_i2c *i2c = (struct s3c24xx_i2c *)adap->algo_data;
832 static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
895 #define freq_to_i2c(_n) container_of(_n, struct s3c24xx_i2c, freq_transition)
900 struct s3c24xx_i2c *i2c = freq_to_i2c(nb);
927 static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
935 static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
942 static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c)
947 static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c)
953 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
972 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c)
981 static int s3c24xx_i2c_init(struct s3c24xx_i2c *i2c)
1020 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c)
1051 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c) { }
1056 struct s3c24xx_i2c *i2c;
1069 i2c = devm_kzalloc(&pdev->dev, sizeof(struct s3c24xx_i2c), GFP_KERNEL);
1194 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev);
1210 struct s3c24xx_i2c *i2c = dev_get_drvdata(dev);
1222 struct s3c24xx_i2c *i2c = dev_get_drvdata(dev);