Lines Matching defs:bt
46 struct s3c2412_iobank_timing *bt;
50 bt = iot->bank[bank].io_2412;
51 if (!bt)
56 print_ns(bt->idcy),
57 print_ns(bt->wstrd),
58 print_ns(bt->wstwr),
59 print_ns(bt->wstoen),
60 print_ns(bt->wstwen),
61 print_ns(bt->wstbrd));
95 * @bt: The bank timing.
98 struct s3c2412_iobank_timing *bt)
103 bt->smbidcyr = calc_timing(bt->idcy, hclk, &err);
104 bt->smbwstrd = calc_timing(bt->wstrd, hclk, &err);
105 bt->smbwstwr = calc_timing(bt->wstwr, hclk, &err);
106 bt->smbwstoen = calc_timing(bt->wstoen, hclk, &err);
107 bt->smbwstwen = calc_timing(bt->wstwen, hclk, &err);
108 bt->smbwstbrd = calc_timing(bt->wstbrd, hclk, &err);
123 struct s3c2412_iobank_timing *bt = iob->io_2412;
128 print_ns(bt->idcy),
129 print_ns(bt->wstrd),
130 print_ns(bt->wstwr),
131 print_ns(bt->wstoen),
132 print_ns(bt->wstwen),
133 print_ns(bt->wstbrd));
147 struct s3c2412_iobank_timing *bt;
152 bt = iot->bank[bank].io_2412;
153 if (!bt)
156 ret = s3c2412_calc_bank(cfg, bt);
180 struct s3c2412_iobank_timing *bt;
187 bt = iot->bank[bank].io_2412;
188 if (!bt)
193 __raw_writel(bt->smbidcyr, regs + SMBIDCYR);
194 __raw_writel(bt->smbwstrd, regs + SMBWSTRDR);
195 __raw_writel(bt->smbwstwr, regs + SMBWSTWRR);
196 __raw_writel(bt->smbwstoen, regs + SMBWSTOENR);
197 __raw_writel(bt->smbwstwen, regs + SMBWSTWENR);
198 __raw_writel(bt->smbwstbrd, regs + SMBWSTBRDR);
208 struct s3c2412_iobank_timing *bt,
214 bt->idcy = s3c2412_decode_timing(clk, __raw_readl(regs + SMBIDCYR));
215 bt->wstrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTRDR));
216 bt->wstoen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTOENR));
217 bt->wstwen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTWENR));
218 bt->wstbrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTBRDR));
237 struct s3c2412_iobank_timing *bt;
247 bt = kzalloc(sizeof(struct s3c2412_iobank_timing), GFP_KERNEL);
248 if (!bt) {
253 timings->bank[bank].io_2412 = bt;
254 s3c2412_iotiming_getbank(cfg, bt, bank);