Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsl_upm.c52 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() argument
69 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()
H A Dfsmc_nand.c443 static int chip_nr; in fsmc_nand_init() local
514 if (nand_register(chip_nr++, mtd)) in fsmc_nand_init()
/openbmc/u-boot/include/linux/mtd/
H A Dfsl_upm.h33 int (*dev_ready)(int chip_nr);
36 int chip_nr; member
/openbmc/linux/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c831 u8 chip_nr, in cadence_nand_generic_cmd_send() argument
836 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() argument
1274 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()