Searched refs:cfi_portwidth (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/sys/dev/nor/
H A Dcfi_0002.c245 KASSERT((chip->nc_page_size & ((1 << cfi->cfi_portwidth) - 1)) == 0);
249 bus_size_t count = chip->nc_page_size >> cfi->cfi_portwidth;
256 switch(cfi->cfi_portwidth) {
270 panic("%s: bad port width %d\n", __func__, cfi->cfi_portwidth);
289 KASSERT((chip->nc_page_size & ((1 << cfi->cfi_portwidth) - 1)) == 0);
293 bus_size_t count = chip->nc_page_size >> cfi->cfi_portwidth;
295 bus_size_t sa = offset << (3 - cfi->cfi_portwidth);
308 switch(cfi->cfi_portwidth) {
322 panic("%s: bad port width %d\n", __func__, cfi->cfi_portwidth);
370 bus_size_t sa = offset << (3 - cfi->cfi_portwidth);
[all...]
H A Dcfi.c362 switch(cfi->cfi_portwidth) {
377 __func__, cfi->cfi_portwidth);
423 cfi->cfi_portwidth = pw;
464 sc->sc_nor_if->access_width = cfi->cfi_portwidth;
582 off >>= 3 - cfi->cfi_portwidth;
584 pw = 1 << cfi->cfi_portwidth;
595 switch (cfi->cfi_portwidth) {
612 __func__, 1 << cfi->cfi_portwidth);
623 off <<= cfi->cfi_portwidth;
625 switch (cfi->cfi_portwidth) {
[all...]
H A Dcfi.h175 uint8_t cfi_portwidth; /* port width, 1<<N bytes */ member in struct:cfi
/netbsd-current/sys/arch/sandpoint/sandpoint/
H A Dflash_cfi.c141 sc->sc_nor_if.access_width = (1 << sc->sc_cfi.cfi_portwidth);
/netbsd-current/sys/arch/powerpc/booke/dev/
H A Dpq3cfi.c145 sc->sc_nor_if.access_width = (1 << sc->sc_cfi.cfi_portwidth);
/netbsd-current/sys/arch/mips/ralink/
H A Dralink_cfi.c159 sc->sc_nor_if.access_width = (1 << sc->sc_cfi.cfi_portwidth);

Completed in 94 milliseconds