Searched refs:at91_twi_dev (Results 1 – 4 of 4) sorted by relevance
124 struct at91_twi_dev { struct150 unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg); argument151 void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val);152 void at91_disable_twi_interrupts(struct at91_twi_dev *dev);153 void at91_twi_irq_save(struct at91_twi_dev *dev);154 void at91_twi_irq_restore(struct at91_twi_dev *dev);155 void at91_init_twi_bus(struct at91_twi_dev *dev);157 void at91_init_twi_bus_master(struct at91_twi_dev *dev);159 struct at91_twi_dev *dev);162 void at91_init_twi_bus_slave(struct at91_twi_dev *dev);[all …]
29 unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg) in at91_twi_read()34 void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val) in at91_twi_write()39 void at91_disable_twi_interrupts(struct at91_twi_dev *dev) in at91_disable_twi_interrupts()44 void at91_twi_irq_save(struct at91_twi_dev *dev) in at91_twi_irq_save()50 void at91_twi_irq_restore(struct at91_twi_dev *dev) in at91_twi_irq_restore()55 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()277 struct at91_twi_dev *dev = platform_get_drvdata(pdev); in at91_twi_remove()292 struct at91_twi_dev *twi_dev = dev_get_drvdata(dev); in at91_twi_runtime_suspend()303 struct at91_twi_dev *twi_dev = dev_get_drvdata(dev); in at91_twi_runtime_resume()[all …]
32 void at91_init_twi_bus_master(struct at91_twi_dev *dev) in at91_init_twi_bus_master()46 static void at91_calc_twi_clock(struct at91_twi_dev *dev) in at91_calc_twi_clock()94 static void at91_twi_dma_cleanup(struct at91_twi_dev *dev) in at91_twi_dma_cleanup()116 static void at91_twi_write_next_byte(struct at91_twi_dev *dev) in at91_twi_write_next_byte()138 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_write_data_dma_callback()155 static void at91_twi_write_data_dma(struct at91_twi_dev *dev) in at91_twi_write_data_dma()233 static void at91_twi_read_next_byte(struct at91_twi_dev *dev) in at91_twi_read_next_byte()279 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_read_data_dma_callback()294 static void at91_twi_read_data_dma(struct at91_twi_dev *dev) in at91_twi_read_data_dma()353 struct at91_twi_dev *dev = dev_id; in atmel_twi_interrupt()[all …]
17 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()120 u32 phy_addr, struct at91_twi_dev *dev) in at91_twi_probe_slave()136 void at91_init_twi_bus_slave(struct at91_twi_dev *dev) in at91_init_twi_bus_slave()