Lines Matching refs:r852_device
34 static inline uint8_t r852_read_reg(struct r852_device *dev, int address) in r852_read_reg()
41 static inline void r852_write_reg(struct r852_device *dev, in r852_write_reg()
49 static inline uint32_t r852_read_reg_dword(struct r852_device *dev, int address) in r852_read_reg_dword()
56 static inline void r852_write_reg_dword(struct r852_device *dev, in r852_write_reg_dword()
63 static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) in r852_get_dev()
71 static void r852_dma_test(struct r852_device *dev) in r852_dma_test()
89 static void r852_dma_enable(struct r852_device *dev) in r852_dma_enable()
130 static void r852_dma_done(struct r852_device *dev, int error) in r852_dma_done()
157 static int r852_dma_wait(struct r852_device *dev) in r852_dma_wait()
172 static void r852_do_dma(struct r852_device *dev, uint8_t *buf, int do_read) in r852_do_dma()
232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf()
266 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_read_buf()
303 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_read_byte()
317 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_cmdctl()
362 struct r852_device *dev = nand_get_controller_data(chip); in r852_wait()
389 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ready()
400 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_hwctl()
433 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_calculate()
469 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_correct()
529 static void r852_engine_enable(struct r852_device *dev) in r852_engine_enable()
547 static void r852_engine_disable(struct r852_device *dev) in r852_engine_disable()
557 static void r852_card_update_present(struct r852_device *dev) in r852_card_update_present()
572 static void r852_update_card_detect(struct r852_device *dev) in r852_update_card_detect()
590 struct r852_device *dev = r852_get_dev(mtd); in media_type_show()
600 static void r852_update_media_status(struct r852_device *dev) in r852_update_media_status()
629 static int r852_register_nand_device(struct r852_device *dev) in r852_register_nand_device()
665 static void r852_unregister_nand_device(struct r852_device *dev) in r852_unregister_nand_device()
682 struct r852_device *dev = in r852_card_detect_work()
683 container_of(work, struct r852_device, card_detect_work.work); in r852_card_detect_work()
706 static void r852_disable_irqs(struct r852_device *dev) in r852_disable_irqs()
723 struct r852_device *dev = (struct r852_device *)data; in r852_irq()
845 struct r852_device *dev; in r852_probe()
883 dev = kzalloc(sizeof(struct r852_device), GFP_KERNEL); in r852_probe()
975 struct r852_device *dev = pci_get_drvdata(pci_dev); in r852_remove()
1005 struct r852_device *dev = pci_get_drvdata(pci_dev); in r852_shutdown()
1016 struct r852_device *dev = dev_get_drvdata(device); in r852_suspend()
1037 struct r852_device *dev = dev_get_drvdata(device); in r852_resume()