Searched refs:chipnr (Results 1 - 6 of 6) sorted by relevance

/drivers/mtd/nand/
H A Djz4740_nand.c81 static void jz_nand_select_chip(struct mtd_info *mtd, int chipnr) argument
91 if (chipnr == -1) {
94 banknr = nand->banks[chipnr] - 1;
328 size_t chipnr, uint8_t *nand_maf_id,
364 if (chipnr == 0) {
378 chip->select_chip(mtd, chipnr);
392 dev_info(&pdev->dev, "Found chip %i on bank %i\n", chipnr, bank);
415 size_t chipnr, bank_idx; local
470 chipnr = 0;
490 nand->banks[chipnr]
326 jz_nand_detect_bank(struct platform_device *pdev, struct jz_nand *nand, unsigned char bank, size_t chipnr, uint8_t *nand_maf_id, uint8_t *nand_dev_id) argument
[all...]
H A Dnand_base.c187 * @chipnr: chipnumber to select, -1 for deselect
191 static void nand_select_chip(struct mtd_info *mtd, int chipnr) argument
195 switch (chipnr) {
324 int page, chipnr, res = 0, i = 0; local
334 chipnr = (int)(ofs >> chip->chip_shift);
339 chip->select_chip(mtd, chipnr);
965 int chipnr; local
981 chipnr = ofs >> chip->chip_shift;
983 chip->select_chip(mtd, chipnr);
1028 int chipnr, statu local
1530 int chipnr, page, realpage, col, bytes, aligned, oob_required; local
1875 int page, realpage, chipnr; local
2372 int chipnr, realpage, page, blockmask, column; local
2562 int chipnr, page, status, len; local
2719 int page, status, pages_per_block, ret, chipnr; local
[all...]
H A Dcafe_nand.c314 static void cafe_select_chip(struct mtd_info *mtd, int chipnr) argument
318 cafe_dev_dbg(&cafe->pdev->dev, "select_chip %d\n", chipnr);
322 if (chipnr)
H A Dfsmc_nand.c329 /* Assert CS signal based on chipnr */
330 static void fsmc_select_chip(struct mtd_info *mtd, int chipnr) argument
337 switch (chipnr) {
346 host->select_chip(chipnr,
H A Dsh_flctl.c875 static void flctl_select_chip(struct mtd_info *mtd, int chipnr) argument
880 switch (chipnr) {
/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-nand.c895 static void gpmi_select_chip(struct mtd_info *mtd, int chipnr) argument
900 if ((this->current_chip < 0) && (chipnr >= 0))
902 else if ((this->current_chip >= 0) && (chipnr < 0))
905 this->current_chip = chipnr;
1356 int column, page, status, chipnr; local
1358 chipnr = (int)(ofs >> chip->chip_shift);
1359 chip->select_chip(mtd, chipnr);
1552 int chipnr; local
1585 chipnr = block >> (chip->chip_shift - chip->phys_erase_shift);
1590 chip->select_chip(mtd, chipnr);
[all...]

Completed in 105 milliseconds