Home
last modified time | relevance | path

Searched refs:at91_twi_dev (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-at91.h137 struct at91_twi_dev { struct
167 unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg); argument
169 void at91_disable_twi_interrupts(struct at91_twi_dev *dev);
170 void at91_twi_irq_save(struct at91_twi_dev *dev);
171 void at91_twi_irq_restore(struct at91_twi_dev *dev);
172 void at91_init_twi_bus(struct at91_twi_dev *dev);
174 void at91_init_twi_bus_master(struct at91_twi_dev *dev);
176 struct at91_twi_dev *dev);
179 void at91_init_twi_bus_slave(struct at91_twi_dev *dev);
181 struct at91_twi_dev *dev);
[all …]
H A Di2c-at91-core.c28 unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) in at91_twi_read()
33 void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val) in at91_twi_write()
38 void at91_disable_twi_interrupts(struct at91_twi_dev *dev) in at91_disable_twi_interrupts()
43 void at91_twi_irq_save(struct at91_twi_dev *dev) in at91_twi_irq_save()
49 void at91_twi_irq_restore(struct at91_twi_dev *dev) in at91_twi_irq_restore()
54 void at91_init_twi_bus(struct at91_twi_dev *dev) in at91_init_twi_bus()
198 struct at91_twi_dev *dev; in at91_twi_probe()
272 struct at91_twi_dev *dev = platform_get_drvdata(pdev); in at91_twi_remove()
283 struct at91_twi_dev *twi_dev = dev_get_drvdata(dev); in at91_twi_runtime_suspend()
294 struct at91_twi_dev *twi_dev = dev_get_drvdata(dev); in at91_twi_runtime_resume()
[all …]
H A Di2c-at91-master.c32 void at91_init_twi_bus_master(struct at91_twi_dev *dev) in at91_init_twi_bus_master()
66 static void at91_calc_twi_clock(struct at91_twi_dev *dev) in at91_calc_twi_clock()
132 static void at91_twi_dma_cleanup(struct at91_twi_dev *dev) in at91_twi_dma_cleanup()
176 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_write_data_dma_callback()
317 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_read_data_dma_callback()
391 struct at91_twi_dev *dev = dev_id; in atmel_twi_interrupt()
653 struct at91_twi_dev *dev = i2c_get_adapdata(adap); in at91_twi_xfer()
829 struct at91_twi_dev *dev) in at91_init_twi_recovery_gpio()
849 struct at91_twi_dev *dev = i2c_get_adapdata(adap); in at91_twi_recover_bus_cmd()
868 struct at91_twi_dev *dev) in at91_init_twi_recovery_info()
[all …]
H A Di2c-at91-slave.c17 struct at91_twi_dev *dev = dev_id; in atmel_twi_interrupt_slave()
67 struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter); in at91_reg_slave()
91 struct at91_twi_dev *dev = i2c_get_adapdata(slave->adapter); in at91_unreg_slave()
119 u32 phy_addr, struct at91_twi_dev *dev) in at91_twi_probe_slave()
135 void at91_init_twi_bus_slave(struct at91_twi_dev *dev) in at91_init_twi_bus_slave()