Searched refs:busw (Results 1 – 4 of 4) sorted by relevance
1635 int busw = (chip->options & NAND_BUSWIDTH_16) ? 2 : 1; in nand_read_subpage() local1681 aligned_pos = oobregion.offset & ~(busw - 1); in nand_read_subpage()1683 if (oobregion.offset & (busw - 1)) in nand_read_subpage()1686 (busw - 1)) in nand_read_subpage()3411 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults() argument3436 chip->read_byte = busw ? nand_read_byte16 : nand_read_byte; in nand_set_defaults()3444 chip->write_buf = busw ? nand_write_buf16 : nand_write_buf; in nand_set_defaults()3446 chip->write_byte = busw ? nand_write_byte16 : nand_write_byte; in nand_set_defaults()3448 chip->read_buf = busw ? nand_read_buf16 : nand_read_buf; in nand_set_defaults()3588 int *busw) in nand_flash_detect_onfi() argument[all …]
309 uint busw; /* flash chip bus width (8 or 16) */ member684 ns->busw = chip->options & NAND_BUSWIDTH_16 ? 16 : 8; in init_nandsim()700 if (ns->busw == 8) in init_nandsim()769 if (ns->busw == 16) in init_nandsim()779 printk("bus width: %u\n", ns->busw); in init_nandsim()1617 int busdiv = ns->busw == 8 ? 1 : 2; in do_state_action()1810 if ((ns->nxstate & STATE_ADDR_MASK) && ns->busw == 16) { in switch_state()1944 if (ns->busw == 8) { in ns_nand_read_byte()2114 if (ns->busw == 8) { in ns_nand_write_byte()2298 nand->busw = 16; in ns_init_module()
172 void (*select_chip)(uint32_t bank, uint32_t busw);252 uint32_t busw, struct fsmc_nand_timings *timings) in fsmc_nand_setup() argument278 if (busw) in fsmc_nand_setup()
222 static int cbrscan_ast2150(struct ast_private *ast, int busw) in cbrscan_ast2150() argument239 static void cbrdlli_ast2150(struct ast_private *ast, int busw) in cbrdlli_ast2150() argument250 data = cbrscan_ast2150(ast, busw); in cbrdlli_ast2150()