Home
last modified time | relevance | path

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

/external/u-boot/drivers/mmc/
Dgen_atmel_mci.c386 int busw; local
402 busw = 3;
405 busw = 2;
408 busw = 0;
412 writel(busw << 6 | MMCI_BF(SCDSEL, MCI_BUS), &mci->sdcr);
414 busw = (bus_width == 4) ? 1 : 0;
416 writel(busw << 7 | MMCI_BF(SCDSEL, MCI_BUS), &mci->sdcr);
/external/u-boot/drivers/mtd/nand/
Dnand_base.c1334 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage() local
1378 aligned_pos = eccpos[index] & ~(busw - 1); in nand_read_subpage()
1380 if (eccpos[index] & (busw - 1)) in nand_read_subpage()
1382 if (eccpos[index + (num_steps * chip->ecc.bytes)] & (busw - 1)) in nand_read_subpage()
3083 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults() argument
3108 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()
3116 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_set_defaults()
3118 chip->write_byte = busw ? nand_write_byte16 : nand_write_byte; in nand_set_defaults()
3120 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf; in nand_set_defaults()
3264 int *busw) in nand_flash_detect_onfi() argument
[all …]