Home
last modified time | relevance | path

Searched refs:dw_i2c_dev (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-designware-core.h225 struct dw_i2c_dev { struct
232 u32 (*get_clk_rate_khz) (struct dw_i2c_dev *dev); argument
266 int (*acquire_lock)(struct dw_i2c_dev *dev); argument
267 void (*release_lock)(struct dw_i2c_dev *dev); argument
269 void (*disable)(struct dw_i2c_dev *dev); argument
270 void (*disable_int)(struct dw_i2c_dev *dev); argument
271 int (*init)(struct dw_i2c_dev *dev); argument
282 u32 dw_readl(struct dw_i2c_dev *dev, int offset); argument
283 void dw_writel(struct dw_i2c_dev *dev, u32 b, int offset);
284 int i2c_dw_set_reg_access(struct dw_i2c_dev *dev);
[all …]
Di2c-designware-common.c56 u32 dw_readl(struct dw_i2c_dev *dev, int offset) in dw_readl()
72 void dw_writel(struct dw_i2c_dev *dev, u32 b, int offset) in dw_writel()
92 int i2c_dw_set_reg_access(struct dw_i2c_dev *dev) in i2c_dw_set_reg_access()
174 int i2c_dw_set_sda_hold(struct dw_i2c_dev *dev) in i2c_dw_set_sda_hold()
215 void __i2c_dw_disable(struct dw_i2c_dev *dev) in __i2c_dw_disable()
239 unsigned long i2c_dw_clk_rate(struct dw_i2c_dev *dev) in i2c_dw_clk_rate()
250 int i2c_dw_prepare_clk(struct dw_i2c_dev *dev, bool prepare) in i2c_dw_prepare_clk()
263 int i2c_dw_acquire_lock(struct dw_i2c_dev *dev) in i2c_dw_acquire_lock()
279 void i2c_dw_release_lock(struct dw_i2c_dev *dev) in i2c_dw_release_lock()
288 int i2c_dw_wait_bus_not_busy(struct dw_i2c_dev *dev) in i2c_dw_wait_bus_not_busy()
[all …]
Di2c-designware-baytrail.c25 static u32 get_sem_addr(struct dw_i2c_dev *dev) in get_sem_addr()
33 static int get_sem(struct dw_i2c_dev *dev, u32 *sem) in get_sem()
50 static void reset_semaphore(struct dw_i2c_dev *dev) in reset_semaphore()
63 static int baytrail_i2c_acquire(struct dw_i2c_dev *dev) in baytrail_i2c_acquire()
128 static void baytrail_i2c_release(struct dw_i2c_dev *dev) in baytrail_i2c_release()
141 int i2c_dw_probe_lock_support(struct dw_i2c_dev *dev) in i2c_dw_probe_lock_support()
175 void i2c_dw_remove_lock_support(struct dw_i2c_dev *dev) in i2c_dw_remove_lock_support()
Di2c-designware-slave.c20 static void i2c_dw_configure_fifo_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_slave()
39 static int i2c_dw_init_slave(struct dw_i2c_dev *dev) in i2c_dw_init_slave()
62 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_reg_slave()
93 struct dw_i2c_dev *dev = i2c_get_adapdata(slave->adapter); in i2c_dw_unreg_slave()
104 static u32 i2c_dw_read_clear_intrbits_slave(struct dw_i2c_dev *dev) in i2c_dw_read_clear_intrbits_slave()
156 static int i2c_dw_irq_handler_slave(struct dw_i2c_dev *dev) in i2c_dw_irq_handler_slave()
227 struct dw_i2c_dev *dev = dev_id; in i2c_dw_isr_slave()
244 int i2c_dw_probe_slave(struct dw_i2c_dev *dev) in i2c_dw_probe_slave()
Di2c-designware-platdrv.c36 static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev) in i2c_dw_get_clk_rate_khz()
85 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_acpi_configure()
164 static void i2c_dw_configure_master(struct dw_i2c_dev *dev) in i2c_dw_configure_master()
187 static void i2c_dw_configure_slave(struct dw_i2c_dev *dev) in i2c_dw_configure_slave()
197 static void dw_i2c_set_fifo_size(struct dw_i2c_dev *dev, int id) in dw_i2c_set_fifo_size()
220 static void dw_i2c_plat_pm_cleanup(struct dw_i2c_dev *dev) in dw_i2c_plat_pm_cleanup()
232 struct dw_i2c_dev *dev; in dw_i2c_plat_probe()
245 dev = devm_kzalloc(&pdev->dev, sizeof(struct dw_i2c_dev), GFP_KERNEL); in dw_i2c_plat_probe()
376 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_plat_remove()
435 struct dw_i2c_dev *i_dev = dev_get_drvdata(dev); in dw_i2c_plat_suspend()
[all …]
Di2c-designware-master.c25 static void i2c_dw_configure_fifo_master(struct dw_i2c_dev *dev) in i2c_dw_configure_fifo_master()
35 static int i2c_dw_set_timings_master(struct dw_i2c_dev *dev) in i2c_dw_set_timings_master()
153 static int i2c_dw_init_master(struct dw_i2c_dev *dev) in i2c_dw_init_master()
188 static void i2c_dw_xfer_init(struct dw_i2c_dev *dev) in i2c_dw_xfer_init()
240 i2c_dw_xfer_msg(struct dw_i2c_dev *dev) in i2c_dw_xfer_msg()
353 i2c_dw_recv_len(struct dw_i2c_dev *dev, u8 len) in i2c_dw_recv_len()
371 i2c_dw_read(struct dw_i2c_dev *dev) in i2c_dw_read()
422 struct dw_i2c_dev *dev = i2c_get_adapdata(adap); in i2c_dw_xfer()
513 static u32 i2c_dw_read_clear_intrbits(struct dw_i2c_dev *dev) in i2c_dw_read_clear_intrbits()
572 static int i2c_dw_irq_handler_master(struct dw_i2c_dev *dev) in i2c_dw_irq_handler_master()
[all …]
Di2c-designware-pcidrv.c177 struct dw_i2c_dev *i_dev = pci_get_drvdata(pdev); in i2c_dw_pci_suspend()
187 struct dw_i2c_dev *i_dev = pci_get_drvdata(pdev); in i2c_dw_pci_resume()
196 static u32 i2c_dw_get_clk_rate_khz(struct dw_i2c_dev *dev) in i2c_dw_get_clk_rate_khz()
204 struct dw_i2c_dev *dev; in i2c_dw_pci_probe()
231 dev = devm_kzalloc(&pdev->dev, sizeof(struct dw_i2c_dev), GFP_KERNEL); in i2c_dw_pci_probe()
287 struct dw_i2c_dev *dev = pci_get_drvdata(pdev); in i2c_dw_pci_remove()