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

/linux-master/drivers/mtd/nand/raw/
H A Dnand_legacy.c583 unsigned int busw = chip->options & NAND_BUSWIDTH_16; local
603 /* If called twice, pointers that depend on busw may need to be reset */
605 chip->legacy.read_byte = busw ? nand_read_byte16 : nand_read_byte;
607 chip->legacy.write_buf = busw ? nand_write_buf16 : nand_write_buf;
609 chip->legacy.write_byte = busw ? nand_write_byte16 : nand_write_byte;
611 chip->legacy.read_buf = busw ? nand_read_buf16 : nand_read_buf;
H A Dnandsim.c295 uint busw; /* flash chip bus width (8 or 16) */ member in struct:nandsim
654 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8;
670 if (ns->busw == 8)
741 if (ns->busw == 16)
751 printk("bus width: %u\n", ns->busw);
1574 int busdiv = ns->busw == 8 ? 1 : 2;
1763 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) {
1897 if (ns->busw == 8) {
2069 if (ns->busw == 8) {
2316 ns->busw
[all...]
H A Dnand_base.c3122 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; local
3170 aligned_pos = oobregion.offset & ~(busw - 1);
3172 if (oobregion.offset & (busw - 1))
3175 (busw - 1))
5239 int busw, ret; local
5308 busw = chip->options & NAND_BUSWIDTH_16;
5366 WARN_ON(busw & NAND_BUSWIDTH_16);
5368 } else if (busw != (chip->options & NAND_BUSWIDTH_16)) {
5377 pr_warn("bus width %d instead of %d bits\n", busw ? 16 : 8,
/linux-master/drivers/spi/
H A Dspi-mxic.c600 unsigned int busw = OP_BUSW_1; local
617 busw = OP_BUSW_4;
619 busw = OP_BUSW_2;
622 busw = OP_BUSW_4;
624 busw = OP_BUSW_2;
627 writel(OP_CMD_BYTES(1) | OP_CMD_BUSW(busw) |
628 OP_DATA_BUSW(busw) | (t->rx_buf ? OP_READ : 0),
/linux-master/drivers/gpu/drm/ast/
H A Dast_post.c206 static int cbrscan_ast2150(struct ast_device *ast, int busw) argument
223 static void cbrdlli_ast2150(struct ast_device *ast, int busw) argument
234 data = cbrscan_ast2150(ast, busw);

Completed in 367 milliseconds