Lines Matching refs:chip_mode
70 int wordwidth, words_per_bus, chip_mode, chips_per_word; in cfi_build_cmd() local
86 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_build_cmd()
91 switch (chip_mode) { in cfi_build_cmd()
110 onecmd |= (onecmd << (chip_mode * 32)); in cfi_build_cmd()
114 onecmd |= (onecmd << (chip_mode * 16)); in cfi_build_cmd()
117 onecmd |= (onecmd << (chip_mode * 8)); in cfi_build_cmd()
136 int wordwidth, words_per_bus, chip_mode, chips_per_word; in cfi_merge_status() local
152 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_merge_status()
166 res |= (onestat >> (chip_mode * 32)); in cfi_merge_status()
170 res |= (onestat >> (chip_mode * 16)); in cfi_merge_status()
173 res |= (onestat >> (chip_mode * 8)); in cfi_merge_status()
181 switch (chip_mode) { in cfi_merge_status()