Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Darasan-nand-controller.c189 int ncs_idx; member
1284 anand->ncs_idx = of_property_count_elems_of_size(np, "reg", sizeof(u32)); in anfc_chip_init()
1285 if (anand->ncs_idx <= 0 || anand->ncs_idx > nfc->ncs) { in anfc_chip_init()
1290 anand->cs_idx = devm_kcalloc(nfc->dev, anand->ncs_idx, in anfc_chip_init()
1295 for (i = 0; i < anand->ncs_idx; i++) { in anfc_chip_init()
1329 ret = nand_scan(chip, anand->ncs_idx); in anfc_chip_init()