Lines Matching refs:seq
30 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max() argument
32 seq_printf(seq, "MAX: F=%lu, H=%lu, P=%lu, A=%lu\n", in show_max()
36 static int board_show(struct seq_file *seq, void *p) in board_show() argument
43 seq_printf(seq, "no configuration registered\n"); in board_show()
49 seq_printf(seq, "no board definition set?\n"); 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()
65 static int info_show(struct seq_file *seq, void *p) in info_show() argument
71 seq_printf(seq, "no configuration registered\n"); in info_show()
75 seq_printf(seq, " FCLK %ld Hz\n", cfg->freq.fclk); in info_show()
76 seq_printf(seq, " HCLK %ld Hz (%lu.%lu ns)\n", 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()
80 seq_printf(seq, "\n"); in info_show()
82 show_max(seq, &cfg->max); in info_show()
84 seq_printf(seq, "Divisors: P=%d, H=%d, A=%d, dvs=%s\n", in info_show()
87 seq_printf(seq, "\n"); in info_show()
89 seq_printf(seq, "lock_pll=%u\n", cfg->lock_pll); in info_show()
96 static int io_show(struct seq_file *seq, void *p) in io_show() argument
106 seq_printf(seq, "no configuration registered\n"); in io_show()
112 seq_printf(seq, "no code to show bank timing\n"); in io_show()
118 seq_printf(seq, "no io timings registered\n"); in io_show()
122 seq_printf(seq, "hclk period is %lu.%lu ns\n", print_ns(cfg->freq.hclk_tns)); in io_show()
127 seq_printf(seq, "bank %d: ", bank); in io_show()
130 seq_printf(seq, "nothing set\n"); in io_show()
134 show_bank(seq, cfg, iob); in io_show()