Lines Matching refs:at91_twi_dev
33 void at91_init_twi_bus_master(struct at91_twi_dev *dev) in at91_init_twi_bus_master()
67 static void at91_calc_twi_clock(struct at91_twi_dev *dev) in at91_calc_twi_clock()
133 static void at91_twi_dma_cleanup(struct at91_twi_dev *dev) in at91_twi_dma_cleanup()
155 static void at91_twi_write_next_byte(struct at91_twi_dev *dev) in at91_twi_write_next_byte()
177 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_write_data_dma_callback()
194 static void at91_twi_write_data_dma(struct at91_twi_dev *dev) in at91_twi_write_data_dma()
272 static void at91_twi_read_next_byte(struct at91_twi_dev *dev) in at91_twi_read_next_byte()
318 struct at91_twi_dev *dev = (struct at91_twi_dev *)data; in at91_twi_read_data_dma_callback()
333 static void at91_twi_read_data_dma(struct at91_twi_dev *dev) in at91_twi_read_data_dma()
392 struct at91_twi_dev *dev = dev_id; in atmel_twi_interrupt()
476 static int at91_do_twi_transfer(struct at91_twi_dev *dev) in at91_do_twi_transfer()
654 struct at91_twi_dev *dev = i2c_get_adapdata(adap); in at91_twi_xfer()
747 static int at91_twi_configure_dma(struct at91_twi_dev *dev, u32 phy_addr) in at91_twi_configure_dma()
830 struct at91_twi_dev *dev) in at91_init_twi_recovery_gpio()
846 struct at91_twi_dev *dev = i2c_get_adapdata(adap); in at91_twi_recover_bus_cmd()
865 struct at91_twi_dev *dev) in at91_init_twi_recovery_info()
880 u32 phy_addr, struct at91_twi_dev *dev) in at91_twi_probe_master()