Searched refs:busw (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/
H A Dnand_base.c1168 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; local
1207 aligned_pos = eccpos[start_step * chip->ecc.bytes] & ~(busw - 1);
1209 if (eccpos[start_step * chip->ecc.bytes] & (busw - 1))
1211 if (eccpos[(start_step + num_steps) * chip->ecc.bytes] & (busw - 1))
2748 static void nand_set_defaults(struct nand_chip *chip, int busw) argument
2765 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte;
2773 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf;
2775 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf;
2777 chip->verify_buf = busw ? nand_verify_buf16 : nand_verify_buf;
2794 int busw, in
2792 nand_get_flash_type(struct mtd_info *mtd, struct nand_chip *chip, int busw, int *maf_id, struct nand_flash_dev *type) argument
3027 int i, busw, nand_maf_id; local
[all...]
H A Dnandsim.c295 uint busw; /* flash chip bus width (8 or 16) */ member in struct:nandsim
569 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8;
589 if (ns->busw == 8)
661 if (ns->busw == 16)
671 printk("bus width: %u\n", ns->busw);
1583 int busdiv = ns->busw == 8 ? 1 : 2;
1776 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) {
1910 if (ns->busw == 8) {
2092 if (ns->busw == 8) {
2281 nand->busw
[all...]

Completed in 62 milliseconds