Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dtmio_nand.c132 struct tmio_nand *tmio = mtd_to_tmio(mtd); 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(mtd); 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
172 struct nand_chip *nand_chip = &tmio->chip; in tmio_irq()
175 tmio_iowrite8(0x00, tmio->fcr + FCR_IMR); in tmio_irq()
178 dev_warn(&tmio->dev->dev, "spurious interrupt\n"); in tmio_irq()
193 struct tmio_nand *tmio = mtd_to_tmio(mtd); in tmio_nand_wait() local
[all …]
/drivers/usb/host/
Dohci-tmio.c80 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_write_pm() local
84 spin_lock_irqsave(&tmio->lock, flags); in tmio_write_pm()
89 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_write_pm()
90 spin_unlock_irqrestore(&tmio->lock, flags); in tmio_write_pm()
97 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_stop_hc() local
111 tmio_iowrite8(0, tmio->ccr + CCR_INTC); in tmio_stop_hc()
112 tmio_iowrite8(0, tmio->ccr + CCR_ILME); in tmio_stop_hc()
113 tmio_iowrite16(0, tmio->ccr + CCR_BASE); in tmio_stop_hc()
114 tmio_iowrite16(0, tmio->ccr + CCR_BASE + 2); in tmio_stop_hc()
115 tmio_iowrite16(pm, tmio->ccr + CCR_PM); in tmio_stop_hc()
[all …]