Home
last modified time | relevance | path

Searched refs:tmio (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/nand/raw/
Dtmio_nand.c133 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_hwcontrol() local
154 tmio_iowrite8(mode, tmio->fcr + FCR_MODE); in tmio_nand_hwcontrol()
155 tmio->read_good = 0; in tmio_nand_hwcontrol()
164 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_dev_ready() local
166 return !(tmio_ioread8(tmio->fcr + FCR_STATUS) & FCR_STATUS_BUSY); in tmio_nand_dev_ready()
171 struct tmio_nand *tmio = __tmio; in tmio_irq() local
174 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_irq()
175 complete(&tmio->comp); in tmio_irq()
188 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(nand_chip)); in tmio_nand_wait() local
194 tmio_iowrite8(0x0f, tmio->fcr + FCR_ISR); in tmio_nand_wait()
[all …]
/drivers/usb/host/
Dohci-tmio.c76 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_write_pm() local
80 spin_lock_irqsave(&tmio->lock, flags); in tmio_write_pm()
85 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_write_pm()
86 spin_unlock_irqrestore(&tmio->lock, flags); in tmio_write_pm()
93 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_stop_hc() local
110 tmio_iowrite8(0, tmio->ccr + CCR_INTC); in tmio_stop_hc()
111 tmio_iowrite8(0, tmio->ccr + CCR_ILME); in tmio_stop_hc()
112 tmio_iowrite16(0, tmio->ccr + CCR_BASE); in tmio_stop_hc()
113 tmio_iowrite16(0, tmio->ccr + CCR_BASE + 2); in tmio_stop_hc()
114 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_stop_hc()
[all …]