Home
last modified time | relevance | path

Searched refs:sc_buswidth (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/sys/arch/mips/rmi/
H A Drmixl_nand.c80 int sc_buswidth; /* in bytes */ member
194 sc->sc_buswidth = 1; /* 8 bit */ in rmixl_nand_attach()
197 sc->sc_buswidth = 2; /* 16 bit */ in rmixl_nand_attach()
200 sc->sc_buswidth = 4; /* 32 bit */ in rmixl_nand_attach()
203 aprint_debug_dev(self, "bus width %d bits\n", 8 * sc->sc_buswidth); in rmixl_nand_attach()
/netbsd-src/sys/dev/nand/
H A Dnandemulator.c104 int sc_buswidth; member
204 sc->sc_buswidth = NANDEMULATOR_16BIT; /* 16bit for now */ in nandemulator_attach()
555 KASSERT(sc->sc_buswidth == NANDEMULATOR_16BIT); in nandemulator_read_2()
557 if (sc->sc_buswidth != NANDEMULATOR_16BIT) { in nandemulator_read_2()
589 KASSERT(sc->sc_buswidth == NANDEMULATOR_16BIT); in nandemulator_write_2()
591 if (sc->sc_buswidth != NANDEMULATOR_16BIT) { in nandemulator_write_2()
710 if (sc->sc_buswidth == NANDEMULATOR_16BIT) in nandemulator_column_address_to_subpage()
/netbsd-src/sys/arch/arm/ti/
H A Domap2_nand.c114 int sc_buswidth; /* 0: 8bit, 1: 16bit */ member
255 sc->sc_buswidth = 1; in omap2_nand_attach()
258 sc->sc_buswidth = 0; in omap2_nand_attach()
483 if (sc->sc_buswidth == 1) in omap2_nand_ecc_prepare()
/netbsd-src/sys/arch/arm/xscale/
H A Dpxa2x0_mci.h74 int sc_buswidth; /* current bus width */ member
H A Dpxa2x0_mci.c246 sc->sc_buswidth = 1; in pxamci_attach_sub()
543 sc->sc_buswidth = width; in pxamci_bus_width()
596 if (sc->sc_buswidth == 4) in pxamci_exec_command()
/netbsd-src/sys/dev/sdmmc/
H A Dsdmmcvar.h304 int sc_buswidth; /* host bus width */
283 int sc_buswidth; /* host bus width */ global() member
H A Dsdmmc.c131 sc->sc_buswidth = 1; in sdmmc_attach()