Lines Matching refs:chip_mode
69 int wordwidth, words_per_bus, chip_mode, chips_per_word; in cfi_build_cmd() local
85 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_build_cmd()
90 switch (chip_mode) { in cfi_build_cmd()
109 onecmd |= (onecmd << (chip_mode * 32)); in cfi_build_cmd()
113 onecmd |= (onecmd << (chip_mode * 16)); in cfi_build_cmd()
116 onecmd |= (onecmd << (chip_mode * 8)); in cfi_build_cmd()
135 int wordwidth, words_per_bus, chip_mode, chips_per_word; in cfi_merge_status() local
151 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_merge_status()
165 res |= (onestat >> (chip_mode * 32)); in cfi_merge_status()
169 res |= (onestat >> (chip_mode * 16)); in cfi_merge_status()
172 res |= (onestat >> (chip_mode * 8)); in cfi_merge_status()
180 switch (chip_mode) { in cfi_merge_status()