Searched refs:docptr (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/nand/ |
D | docg4.c | 237 static inline void write_nop(void __iomem *docptr) in write_nop() argument 239 writew(0, docptr + DOC_NOP); in write_nop() 274 void __iomem *docptr = doc->virtadr; in poll_status() local 279 flash_status = readw(docptr + DOC_FLASHCONTROL); in poll_status() 284 flash_status = readb(docptr + DOC_FLASHCONTROL); in poll_status() 323 void __iomem *docptr = doc->virtadr; in docg4_select_chip() local 333 writew(0, docptr + DOC_DEVICESELECT); in docg4_select_chip() 342 void __iomem *docptr = doc->virtadr; in reset() local 345 docptr + DOC_ASICMODE); in reset() 347 docptr + DOC_ASICMODECONFIRM); in reset() [all …]
|
D | diskonchip.c | 243 void __iomem *docptr = doc->virtadr; in _DoC_WaitReady() local 250 while ((ReadDOC(docptr, Mplus_FlashControl) & CDSN_CTRL_FR_B_MASK) != CDSN_CTRL_FR_B_MASK) { in _DoC_WaitReady() 259 while (!(ReadDOC(docptr, CDSNControl) & CDSN_CTRL_FR_B)) { in _DoC_WaitReady() 274 void __iomem *docptr = doc->virtadr; in DoC_WaitReady() local 280 if ((ReadDOC(docptr, Mplus_FlashControl) & CDSN_CTRL_FR_B_MASK) != CDSN_CTRL_FR_B_MASK) in DoC_WaitReady() 286 if (!(ReadDOC(docptr, CDSNControl) & CDSN_CTRL_FR_B)) in DoC_WaitReady() 301 void __iomem *docptr = doc->virtadr; in doc2000_write_byte() local 305 WriteDOC(datum, docptr, CDSNSlowIO); in doc2000_write_byte() 306 WriteDOC(datum, docptr, 2k_CDSN_IO); in doc2000_write_byte() 313 void __iomem *docptr = doc->virtadr; in doc2000_read_byte() local [all …]
|