Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/nand/
Dnand_base.c1181 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage() local
1226 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1228 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
1230 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) in nand_read_subpage()
2767 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults() argument
2784 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()
2792 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_set_defaults()
2794 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf; in nand_set_defaults()
2796 chip->verify_buf = busw ? nand_verify_buf16 : nand_verify_buf; in nand_set_defaults()
2842 int *busw) in nand_flash_detect_onfi() argument
[all …]
Dnandsim.c305 uint busw; /* flash chip bus width (8 or 16) */ member
572 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; in init_nandsim()
592 if (ns->busw == 8) in init_nandsim()
664 if (ns->busw == 16) in init_nandsim()
674 printk("bus width: %u\n", ns->busw); in init_nandsim()
1586 int busdiv = ns->busw == 8 ? 1 : 2; in do_state_action()
1779 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) { in switch_state()
1913 if (ns->busw == 8) { in ns_nand_read_byte()
2095 if (ns->busw == 8) { in ns_nand_write_byte()
2296 nand->busw = 16; in ns_init_module()
Dfsmc_nand.c326 void (*select_chip)(uint32_t bank, uint32_t busw);
402 uint32_t busw, struct fsmc_nand_timings *timings) in fsmc_nand_setup() argument
428 if (busw) in fsmc_nand_setup()
/linux-3.4.99/include/linux/mtd/
Dfsmc.h163 void (*select_bank)(uint32_t bank, uint32_t busw);