Lines Matching refs:ctlcode
91 u32 ctlcode; in bcm47xxnflash_ops_bcm4706_read() local
111 ctlcode = NCTL_CSA | NCTL_CMD1W | NCTL_ROW | NCTL_COL | in bcm47xxnflash_ops_bcm4706_read()
113 ctlcode |= NAND_CMD_READSTART << 8; in bcm47xxnflash_ops_bcm4706_read()
114 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_read()
121 ctlcode = NCTL_CSA | 0x30000000 | NCTL_READ; in bcm47xxnflash_ops_bcm4706_read()
123 ctlcode &= ~NCTL_CSA; in bcm47xxnflash_ops_bcm4706_read()
125 ctlcode)) in bcm47xxnflash_ops_bcm4706_read()
142 u32 ctlcode; in bcm47xxnflash_ops_bcm4706_write() local
153 ctlcode = NCTL_CSA | 0x30000000 | NCTL_WRITE; in bcm47xxnflash_ops_bcm4706_write()
155 ctlcode &= ~NCTL_CSA; in bcm47xxnflash_ops_bcm4706_write()
156 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(cc, ctlcode)) { in bcm47xxnflash_ops_bcm4706_write()
216 u32 ctlcode; in bcm47xxnflash_ops_bcm4706_cmdfunc() local
232 ctlcode = NCTL_CSA | 0x01000000 | NCTL_CMD1W | NCTL_CMD0; in bcm47xxnflash_ops_bcm4706_cmdfunc()
233 ctlcode |= NAND_CMD_READID; in bcm47xxnflash_ops_bcm4706_cmdfunc()
234 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(b47n->cc, ctlcode)) { in bcm47xxnflash_ops_bcm4706_cmdfunc()
245 ctlcode = NCTL_CSA | NCTL_READ; in bcm47xxnflash_ops_bcm4706_cmdfunc()
247 ctlcode &= ~NCTL_CSA; in bcm47xxnflash_ops_bcm4706_cmdfunc()
249 ctlcode)) { in bcm47xxnflash_ops_bcm4706_cmdfunc()
260 ctlcode = NCTL_CSA | NCTL_CMD0 | NAND_CMD_STATUS; in bcm47xxnflash_ops_bcm4706_cmdfunc()
261 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_cmdfunc()
273 ctlcode = NCTL_ROW | NCTL_CMD1W | NCTL_CMD0 | in bcm47xxnflash_ops_bcm4706_cmdfunc()
275 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_cmdfunc()
288 ctlcode = 0x40000000 | NCTL_ROW | NCTL_COL | NCTL_CMD0; in bcm47xxnflash_ops_bcm4706_cmdfunc()
289 ctlcode |= NAND_CMD_SEQIN; in bcm47xxnflash_ops_bcm4706_cmdfunc()
290 if (bcm47xxnflash_ops_bcm4706_ctl_cmd(cc, ctlcode)) in bcm47xxnflash_ops_bcm4706_cmdfunc()