Lines Matching +full:bank +full:- +full:ioport

1 // SPDX-License-Identifier: GPL-2.0-only
7 * S3C24XX CPU Frequency scaling - debugfs status support
15 #include <linux/ioport.h>
21 #include <linux/soc/samsung/s3c-cpufreq-core.h>
33 f->fclk, f->hclk, f->pclk, f->armclk); in show_max()
47 brd = cfg->board; in board_show()
53 seq_printf(seq, "SDRAM refresh %u ns\n", brd->refresh); in board_show()
54 seq_printf(seq, "auto_io=%u\n", brd->auto_io); in board_show()
55 seq_printf(seq, "need_io=%u\n", brd->need_io); in board_show()
57 show_max(seq, &brd->max); in board_show()
75 seq_printf(seq, " FCLK %ld Hz\n", cfg->freq.fclk); in info_show()
77 cfg->freq.hclk, print_ns(cfg->freq.hclk_tns)); in info_show()
78 seq_printf(seq, " PCLK %ld Hz\n", cfg->freq.hclk); in info_show()
79 seq_printf(seq, "ARMCLK %ld Hz\n", cfg->freq.armclk); in info_show()
82 show_max(seq, &cfg->max); in info_show()
85 cfg->divs.h_divisor, cfg->divs.p_divisor, in info_show()
86 cfg->divs.arm_divisor, cfg->divs.dvs ? "on" : "off"); in info_show()
89 seq_printf(seq, "lock_pll=%u\n", cfg->lock_pll); in info_show()
102 int bank; in io_show() local
110 show_bank = cfg->info->debug_io_show; in io_show()
112 seq_printf(seq, "no code to show bank timing\n"); in io_show()
122 seq_printf(seq, "hclk period is %lu.%lu ns\n", print_ns(cfg->freq.hclk_tns)); in io_show()
124 for (bank = 0; bank < MAX_BANKS; bank++) { in io_show()
125 iob = &iot->bank[bank]; in io_show()
127 seq_printf(seq, "bank %d: ", bank); in io_show()
129 if (!iob->io_2410) { in io_show()
144 dbgfs_root = debugfs_create_dir("s3c-cpufreq", NULL); in s3c_freq_debugfs_init()
150 dbgfs_file_io = debugfs_create_file("io-timing", S_IRUGO, dbgfs_root, in s3c_freq_debugfs_init()