Searched refs:chip_nr (Results 1 – 4 of 4) sorted by relevance
52 while (!fun->dev_ready(fun->chip_nr)) in fun_wait()64 static void fun_select_chip(struct mtd_info *mtd, int chip_nr) in fun_select_chip() argument69 if (chip_nr >= 0) { in fun_select_chip()70 fun->chip_nr = chip_nr; in fun_select_chip()72 fun->upm.io_addr + fun->chip_offset * chip_nr; in fun_select_chip()73 } else if (chip_nr == -1) { in fun_select_chip()105 if (fun->chip_nr > 0) { in fun_cmd_ctrl()106 io_addr += fun->chip_offset * fun->chip_nr; in fun_cmd_ctrl()108 mar |= fun->upm_mar_chip_offset * fun->chip_nr; in fun_cmd_ctrl()160 return fun->dev_ready(fun->chip_nr); in nand_dev_ready()
443 static int chip_nr; in fsmc_nand_init() local514 if (nand_register(chip_nr++, mtd)) in fsmc_nand_init()
33 int (*dev_ready)(int chip_nr);36 int chip_nr; member
831 u8 chip_nr, in cadence_nand_generic_cmd_send() argument836 mini_ctrl_cmd |= FIELD_PREP(GCMD_LAY_CS, chip_nr); in cadence_nand_generic_cmd_send()1268 cadence_nand_cdma_transfer(struct cdns_nand_ctrl *cdns_ctrl, u8 chip_nr, in cadence_nand_cdma_transfer() argument1274 u8 thread_nr = chip_nr; in cadence_nand_cdma_transfer()1302 cadence_nand_cdma_desc_prepare(cdns_ctrl, chip_nr, page, in cadence_nand_cdma_transfer()