Searched refs:CFIDEV_BUSWIDTH (Results 1 – 4 of 4) sorted by relevance
159 # ifdef CFIDEV_BUSWIDTH160 # undef CFIDEV_BUSWIDTH161 # define CFIDEV_BUSWIDTH (map->buswidth) macro163 # define CFIDEV_BUSWIDTH CFIDEV_BUSWIDTH_1 macro165 # define cfi_buswidth_is_1() (CFIDEV_BUSWIDTH == CFIDEV_BUSWIDTH_1)171 # ifdef CFIDEV_BUSWIDTH172 # undef CFIDEV_BUSWIDTH173 # define CFIDEV_BUSWIDTH (map->buswidth) macro175 # define CFIDEV_BUSWIDTH CFIDEV_BUSWIDTH_2 macro177 # define cfi_buswidth_is_2() (CFIDEV_BUSWIDTH == CFIDEV_BUSWIDTH_2)[all …]
315 cmd_addr = adr & ~(CFIDEV_BUSWIDTH-1); 476 cmd_addr = adr & ~(CFIDEV_BUSWIDTH-1); 952 if (ofs & (CFIDEV_BUSWIDTH-1)) {953 unsigned long bus_ofs = ofs & ~(CFIDEV_BUSWIDTH-1);961 while (len && i < CFIDEV_BUSWIDTH)963 while (i < CFIDEV_BUSWIDTH)993 while(len >= CFIDEV_BUSWIDTH) {1013 ofs += CFIDEV_BUSWIDTH;1014 buf += CFIDEV_BUSWIDTH;1015 (*retlen) += CFIDEV_BUSWIDTH;[all …]
211 switch (CFIDEV_BUSWIDTH) in cfi_amdstd_setup()585 if (ofs & (CFIDEV_BUSWIDTH-1)) { in cfi_amdstd_write()586 unsigned long bus_ofs = ofs & ~(CFIDEV_BUSWIDTH-1); in cfi_amdstd_write()592 map->copy_from(map, tmp_buf, bus_ofs + cfi->chips[chipnum].start, CFIDEV_BUSWIDTH); in cfi_amdstd_write()593 while (len && i < CFIDEV_BUSWIDTH) in cfi_amdstd_write()629 while(len >= CFIDEV_BUSWIDTH) { in cfi_amdstd_write()652 ofs += CFIDEV_BUSWIDTH; in cfi_amdstd_write()653 buf += CFIDEV_BUSWIDTH; in cfi_amdstd_write()654 (*retlen) += CFIDEV_BUSWIDTH; in cfi_amdstd_write()655 len -= CFIDEV_BUSWIDTH; in cfi_amdstd_write()[all …]
277 cmd_addr = adr & ~(CFIDEV_BUSWIDTH-1); in do_read_onechip()448 if (adr & (CFIDEV_BUSWIDTH-1)) in do_write_buffer()538 cfi_write(map, CMD(len/CFIDEV_BUSWIDTH-1), cmd_adr ); in do_write_buffer()541 for (z = 0; z < len; z += CFIDEV_BUSWIDTH) { in do_write_buffer()652 printk("%s: CFIDEV_BUSWIDTH[%x]\n", __FUNCTION__, CFIDEV_BUSWIDTH); in cfi_staa_write_buffers()