Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_legacy.c583 unsigned int busw = chip->options & NAND_BUSWIDTH_16; in nand_legacy_set_defaults() local
605 chip->legacy.read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_legacy_set_defaults()
607 chip->legacy.write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_legacy_set_defaults()
609 chip->legacy.write_byte = busw ? nand_write_byte16 : nand_write_byte; in nand_legacy_set_defaults()
611 chip->legacy.read_buf = busw ? nand_read_buf16 : nand_read_buf; in nand_legacy_set_defaults()
Dnandsim.c295 uint busw; /* flash chip bus width (8 or 16) */ member
654 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; in ns_init()
670 if (ns->busw == 8) in ns_init()
741 if (ns->busw == 16) in ns_init()
751 printk("bus width: %u\n", ns->busw); in ns_init()
1574 int busdiv = ns->busw == 8 ? 1 : 2; in ns_do_state_action()
1763 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) { in ns_switch_state()
1897 if (ns->busw == 8) { in ns_nand_read_byte()
2069 if (ns->busw == 8) { in ns_nand_write_byte()
2301 ns->busw = 16; in ns_init_module()
Dnand_base.c2999 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage() local
3047 aligned_pos = oobregion.offset & ~(busw - 1); in nand_read_subpage()
3049 if (oobregion.offset & (busw - 1)) in nand_read_subpage()
3052 (busw - 1)) in nand_read_subpage()
5002 int busw, ret; in nand_detect() local
5069 busw = chip->options & NAND_BUSWIDTH_16; in nand_detect()
5127 WARN_ON(busw & NAND_BUSWIDTH_16); in nand_detect()
5129 } else if (busw != (chip->options & NAND_BUSWIDTH_16)) { in nand_detect()
5138 pr_warn("bus width %d instead of %d bits\n", busw ? 16 : 8, in nand_detect()
/linux-6.1.9/drivers/spi/
Dspi-mxic.c600 unsigned int busw = OP_BUSW_1; in mxic_spi_transfer_one() local
617 busw = OP_BUSW_4; in mxic_spi_transfer_one()
619 busw = OP_BUSW_2; in mxic_spi_transfer_one()
622 busw = OP_BUSW_4; in mxic_spi_transfer_one()
624 busw = OP_BUSW_2; in mxic_spi_transfer_one()
627 writel(OP_CMD_BYTES(1) | OP_CMD_BUSW(busw) | in mxic_spi_transfer_one()
628 OP_DATA_BUSW(busw) | (t->rx_buf ? OP_READ : 0), in mxic_spi_transfer_one()
/linux-6.1.9/drivers/gpu/drm/ast/
Dast_post.c225 static int cbrscan_ast2150(struct ast_private *ast, int busw) in cbrscan_ast2150() argument
242 static void cbrdlli_ast2150(struct ast_private *ast, int busw) in cbrdlli_ast2150() argument
253 data = cbrscan_ast2150(ast, busw); in cbrdlli_ast2150()