Lines Matching refs:s3c24xx_i2c
62 struct s3c24xx_i2c { struct
98 static inline int s3c24xx_i2c_is2440(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_is2440() argument
119 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_master_complete()
133 static inline void s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_ack()
141 static inline void s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_ack()
151 static inline void s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_disable_irq()
159 static inline void s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_enable_irq()
173 static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_message_start()
213 static inline void s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) in s3c24xx_i2c_stop()
237 static inline int is_lastmsg(struct s3c24xx_i2c *i2c) in is_lastmsg()
247 static inline int is_msglast(struct s3c24xx_i2c *i2c) in is_msglast()
257 static inline int is_msgend(struct s3c24xx_i2c *i2c) in is_msgend()
267 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) in i2c_s3c_irq_nextbyte()
434 struct s3c24xx_i2c *i2c = dev_id; in s3c24xx_i2c_irq()
469 static int s3c24xx_i2c_set_master(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_set_master()
491 static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, in s3c24xx_i2c_doxfer()
564 struct s3c24xx_i2c *i2c = (struct s3c24xx_i2c *)adap->algo_data; in s3c24xx_i2c_xfer()
641 static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got) in s3c24xx_i2c_clockrate()
701 #define freq_to_i2c(_n) container_of(_n, struct s3c24xx_i2c, freq_transition)
706 struct s3c24xx_i2c *i2c = freq_to_i2c(nb); in s3c24xx_i2c_cpufreq_transition()
734 static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_register_cpufreq()
742 static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_deregister_cpufreq()
749 static inline int s3c24xx_i2c_register_cpufreq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_register_cpufreq()
754 static inline void s3c24xx_i2c_deregister_cpufreq(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_deregister_cpufreq()
760 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_parse_dt_gpio()
785 static void s3c24xx_i2c_dt_gpio_free(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_dt_gpio_free()
792 static int s3c24xx_i2c_parse_dt_gpio(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_parse_dt_gpio()
797 static void s3c24xx_i2c_dt_gpio_free(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_dt_gpio_free()
807 static int s3c24xx_i2c_init(struct s3c24xx_i2c *i2c) in s3c24xx_i2c_init()
856 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c) in s3c24xx_i2c_parse_dt()
871 s3c24xx_i2c_parse_dt(struct device_node *np, struct s3c24xx_i2c *i2c) in s3c24xx_i2c_parse_dt()
884 struct s3c24xx_i2c *i2c; in s3c24xx_i2c_probe()
897 i2c = devm_kzalloc(&pdev->dev, sizeof(struct s3c24xx_i2c), GFP_KERNEL); in s3c24xx_i2c_probe()
1055 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); in s3c24xx_i2c_remove()
1081 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); in s3c24xx_i2c_suspend_noirq()
1091 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); in s3c24xx_i2c_resume()