Home | History | Annotate | Download | only in bfin

Lines Matching refs:nfc

1 /* Blackfin NAND Flash Memory Controller (NFC) model
76 struct bfin_nfc *nfc = hw_data (me);
86 mmr_off = addr - nfc->base;
87 valuep = (void *)((uintptr_t)nfc + mmr_base() + mmr_off);
110 nfc->irqstat |= RD_RDY;
128 struct bfin_nfc *nfc = hw_data (me);
136 mmr_off = addr - nfc->base;
137 valuep = (void *)((uintptr_t)nfc + mmr_base() + mmr_off);
195 attach_bfin_nfc_regs (struct hw *me, struct bfin_nfc *nfc)
219 nfc->base = attach_address;
225 struct bfin_nfc *nfc;
227 nfc = HW_ZALLOC (me, struct bfin_nfc);
229 set_hw_data (me, nfc);
236 attach_bfin_nfc_regs (me, nfc);
238 /* Initialize the NFC. */
239 nfc->ctl = 0x0200;
240 nfc->stat = 0x0011;
241 nfc->irqstat = 0x0004;
242 nfc->irqmask = 0x001F;