Searched refs:busw (Results 1 - 3 of 3) sorted by relevance
/drivers/mtd/nand/ |
H A D | nand_base.c | 1181 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; local 1226 aligned_pos = eccpos[index] & ~(busw - 1); 1228 if (eccpos[index] & (busw - 1)) 1230 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) 2767 static void nand_set_defaults(struct nand_chip *chip, int busw) argument 2784 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; 2792 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf; 2794 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf; 2796 chip->verify_buf = busw ? nand_verify_buf16 : nand_verify_buf; 2842 int *busw) 2841 nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, int *busw) argument 2911 nand_get_flash_type(struct mtd_info *mtd, struct nand_chip *chip, int busw, int *maf_id, int *dev_id, struct nand_flash_dev *type) argument 3179 int i, busw, nand_maf_id, nand_dev_id; local [all...] |
H A D | nandsim.c | 305 uint busw; /* flash chip bus width (8 or 16) */ member in struct:nandsim 578 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; 598 if (ns->busw == 8) 670 if (ns->busw == 16) 680 printk("bus width: %u\n", ns->busw); 1592 int busdiv = ns->busw == 8 ? 1 : 2; 1785 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) { 1919 if (ns->busw == 8) { 2101 if (ns->busw == 8) { 2302 nand->busw [all...] |
H A D | fsmc_nand.c | 326 void (*select_chip)(uint32_t bank, uint32_t busw); 402 uint32_t busw, struct fsmc_nand_timings *timings) 428 if (busw) 401 fsmc_nand_setup(void __iomem *regs, uint32_t bank, uint32_t busw, struct fsmc_nand_timings *timings) argument
|
Completed in 1834 milliseconds