Lines Matching refs:io_settings

73 	u32 io_settings = 0;  in io_settings_ddr3()  local
104 io_settings = (readl((*ctrl)->control_port_emif1_sdram_config) in io_settings_ddr3()
106 writel(io_settings, in io_settings_ddr3()
109 io_settings = (readl((*ctrl)->control_port_emif2_sdram_config) in io_settings_ddr3()
111 writel(io_settings, in io_settings_ddr3()
124 u32 io_settings = 0, mask = 0; in do_io_settings() local
130 io_settings = readl((*ctrl)->control_smart1io_padconf_0) & in do_io_settings()
132 io_settings |= (ds_60_ohm << 8) | (ds_45_ohm << 16) | in do_io_settings()
134 writel(io_settings, (*ctrl)->control_smart1io_padconf_0); in do_io_settings()
138 io_settings = readl((*ctrl)->control_smart1io_padconf_1) & in do_io_settings()
140 io_settings |= (ds_60_ohm << 30); in do_io_settings()
141 writel(io_settings, (*ctrl)->control_smart1io_padconf_1); in do_io_settings()
145 io_settings = readl((*ctrl)->control_smart1io_padconf_2) & in do_io_settings()
147 io_settings |= (ds_45_ohm << 14) | (ds_45_ohm << 16); in do_io_settings()
148 writel(io_settings, (*ctrl)->control_smart1io_padconf_2); in do_io_settings()
152 io_settings = readl((*ctrl)->control_smart2io_padconf_0) & in do_io_settings()
154 io_settings |= (sc_fast << 8) | (sc_na << 16) | (sc_na << 18); in do_io_settings()
155 writel(io_settings, (*ctrl)->control_smart2io_padconf_0); in do_io_settings()
159 io_settings = readl((*ctrl)->control_smart2io_padconf_1) & in do_io_settings()
161 io_settings |= (sc_fast << 28) | (sc_fast << 24); in do_io_settings()
162 writel(io_settings, (*ctrl)->control_smart2io_padconf_1); in do_io_settings()
166 io_settings = readl((*ctrl)->control_smart2io_padconf_2) & in do_io_settings()
168 io_settings |= (sc_na << 16) | (sc_na << 18); in do_io_settings()
169 writel(io_settings, (*ctrl)->control_smart2io_padconf_2); in do_io_settings()
174 io_settings = readl((*ctrl)->control_smart3io_padconf_1) & in do_io_settings()
176 io_settings |= (ds_60_ohm << 29) | (ds_60_ohm << 26) | in do_io_settings()
179 writel(io_settings, (*ctrl)->control_smart3io_padconf_1); in do_io_settings()