Lines Matching refs:bank
41 unsigned int bank;
43 for (bank = 0; bank < MAX_BANKS; bank++) {
44 bt = iot->bank[bank].io_2412;
49 "wstoen=%d.%d wstwen=%d.%d wstbrd=%d.%d\n", pfx, bank,
87 * s3c2412_calc_bank - calculate the bank divisor settings.
89 * @bt: The bank timing.
108 * s3c2412_iotiming_debugfs - debugfs show io bank timing information
111 * @iob: The IO bank information to decode.
131 * s3c2412_iotiming_calc - calculate all the bank divisor settings.
133 * @iot: The bank timing information.
142 int bank;
145 for (bank = 0; bank < MAX_BANKS; bank++) {
146 bt = iot->bank[bank].io_2412;
152 printk(KERN_ERR "%s: cannot calculate bank %d io\n",
153 __func__, bank);
166 * @iot: The bank timing information.
168 * Set the IO bank information from the details calculated earlier from
176 int bank;
180 for (bank = 0; bank < MAX_BANKS; bank++) {
181 bt = iot->bank[bank].io_2412;
185 regs = S3C2412_SSMC_BANK(bank);
203 unsigned int bank)
206 void __iomem *regs = S3C2412_SSMC_BANK(bank);
216 * bank_is_io - return true if bank is (possibly) IO.
217 * @bank: The bank number.
220 static inline bool bank_is_io(unsigned int bank, u32 bankcfg)
222 if (bank < 2)
225 return !(bankcfg & (1 << bank));
233 unsigned int bank;
237 for (bank = 0; bank < MAX_BANKS; bank++) {
238 if (!bank_is_io(bank, bankcfg))
245 timings->bank[bank].io_2412 = bt;
246 s3c2412_iotiming_getbank(cfg, bt, bank);