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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnand_base.c832 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; local
871 aligned_pos = eccpos[start_step * chip->ecc.bytes] & ~(busw - 1);
873 if (eccpos[start_step * chip->ecc.bytes] & (busw - 1))
875 if (eccpos[(start_step + num_steps) * chip->ecc.bytes] & (busw - 1))
2284 static void nand_set_defaults(struct nand_chip *chip, int busw) argument
2301 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte;
2309 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf;
2311 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf;
2313 chip->verify_buf = busw ? nand_verify_buf16 : nand_verify_buf;
2330 int busw, in
2328 nand_get_flash_type(struct mtd_info *mtd, struct nand_chip *chip, int busw, int *maf_id) argument
2500 int i, busw, nand_maf_id; local
[all...]
H A Dnandsim.c280 uint busw; /* flash chip bus width (8 or 16) */ member in struct:nandsim
482 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8;
502 if (ns->busw == 8)
571 if (ns->busw == 16)
580 printk("bus width: %u\n", ns->busw);
1296 int busdiv = ns->busw == 8 ? 1 : 2;
1489 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) {
1618 if (ns->busw == 8) {
1796 if (ns->busw == 8) {
1985 nand->busw
[all...]

Completed in 52 milliseconds