Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
Drockchip-nand-controller.c211 struct rk_nfc_nand_chip *rknand = rk_nfc_to_rknand(chip); in rk_nfc_buf_to_oob_ecc_ptr() local
214 poi = chip->oob_poi + rknand->metadata_size + chip->ecc.bytes * i; in rk_nfc_buf_to_oob_ecc_ptr()
264 struct rk_nfc_nand_chip *rknand = rk_nfc_to_rknand(chip); in rk_nfc_select_chip() local
277 nfc->selected_bank = rknand->sels[cs]; in rk_nfc_select_chip()
290 if (nfc->cur_timing != rknand->timing) { in rk_nfc_select_chip()
291 writel(rknand->timing, nfc->regs + NFC_FMWAIT); in rk_nfc_select_chip()
292 nfc->cur_timing = rknand->timing; in rk_nfc_select_chip()
417 struct rk_nfc_nand_chip *rknand = rk_nfc_to_rknand(chip); in rk_nfc_setup_interface() local
463 rknand->timing = ACCTIMING(tc2rw, trwpw, trw2c); in rk_nfc_setup_interface()
509 struct rk_nfc_nand_chip *rknand = rk_nfc_to_rknand(chip); in rk_nfc_write_page_raw() local
[all …]