• Home
  • Raw
  • Download

Lines Matching refs:bt

40 	struct s3c2412_iobank_timing *bt;  in s3c2412_print_timing()  local
44 bt = iot->bank[bank].io_2412; in s3c2412_print_timing()
45 if (!bt) in s3c2412_print_timing()
50 print_ns(bt->idcy), in s3c2412_print_timing()
51 print_ns(bt->wstrd), in s3c2412_print_timing()
52 print_ns(bt->wstwr), in s3c2412_print_timing()
53 print_ns(bt->wstoen), in s3c2412_print_timing()
54 print_ns(bt->wstwen), in s3c2412_print_timing()
55 print_ns(bt->wstbrd)); in s3c2412_print_timing()
92 struct s3c2412_iobank_timing *bt) in s3c2412_calc_bank() argument
97 bt->smbidcyr = calc_timing(bt->idcy, hclk, &err); in s3c2412_calc_bank()
98 bt->smbwstrd = calc_timing(bt->wstrd, hclk, &err); in s3c2412_calc_bank()
99 bt->smbwstwr = calc_timing(bt->wstwr, hclk, &err); in s3c2412_calc_bank()
100 bt->smbwstoen = calc_timing(bt->wstoen, hclk, &err); in s3c2412_calc_bank()
101 bt->smbwstwen = calc_timing(bt->wstwen, hclk, &err); in s3c2412_calc_bank()
102 bt->smbwstbrd = calc_timing(bt->wstbrd, hclk, &err); in s3c2412_calc_bank()
117 struct s3c2412_iobank_timing *bt = iob->io_2412; in s3c2412_iotiming_debugfs() local
122 print_ns(bt->idcy), in s3c2412_iotiming_debugfs()
123 print_ns(bt->wstrd), in s3c2412_iotiming_debugfs()
124 print_ns(bt->wstwr), in s3c2412_iotiming_debugfs()
125 print_ns(bt->wstoen), in s3c2412_iotiming_debugfs()
126 print_ns(bt->wstwen), in s3c2412_iotiming_debugfs()
127 print_ns(bt->wstbrd)); in s3c2412_iotiming_debugfs()
141 struct s3c2412_iobank_timing *bt; in s3c2412_iotiming_calc() local
146 bt = iot->bank[bank].io_2412; in s3c2412_iotiming_calc()
147 if (!bt) in s3c2412_iotiming_calc()
150 ret = s3c2412_calc_bank(cfg, bt); in s3c2412_iotiming_calc()
174 struct s3c2412_iobank_timing *bt; in s3c2412_iotiming_set() local
181 bt = iot->bank[bank].io_2412; in s3c2412_iotiming_set()
182 if (!bt) in s3c2412_iotiming_set()
187 __raw_writel(bt->smbidcyr, regs + SMBIDCYR); in s3c2412_iotiming_set()
188 __raw_writel(bt->smbwstrd, regs + SMBWSTRDR); in s3c2412_iotiming_set()
189 __raw_writel(bt->smbwstwr, regs + SMBWSTWRR); in s3c2412_iotiming_set()
190 __raw_writel(bt->smbwstoen, regs + SMBWSTOENR); in s3c2412_iotiming_set()
191 __raw_writel(bt->smbwstwen, regs + SMBWSTWENR); in s3c2412_iotiming_set()
192 __raw_writel(bt->smbwstbrd, regs + SMBWSTBRDR); in s3c2412_iotiming_set()
202 struct s3c2412_iobank_timing *bt, in s3c2412_iotiming_getbank() argument
208 bt->idcy = s3c2412_decode_timing(clk, __raw_readl(regs + SMBIDCYR)); in s3c2412_iotiming_getbank()
209 bt->wstrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTRDR)); in s3c2412_iotiming_getbank()
210 bt->wstoen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTOENR)); in s3c2412_iotiming_getbank()
211 bt->wstwen = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTWENR)); in s3c2412_iotiming_getbank()
212 bt->wstbrd = s3c2412_decode_timing(clk, __raw_readl(regs + SMBWSTBRDR)); in s3c2412_iotiming_getbank()
231 struct s3c2412_iobank_timing *bt; in s3c2412_iotiming_get() local
241 bt = kzalloc(sizeof(*bt), GFP_KERNEL); in s3c2412_iotiming_get()
242 if (!bt) in s3c2412_iotiming_get()
245 timings->bank[bank].io_2412 = bt; in s3c2412_iotiming_get()
246 s3c2412_iotiming_getbank(cfg, bt, bank); in s3c2412_iotiming_get()