Lines Matching refs:mode
164 static void set_mode(struct clk_mode *mode, u8 low, u8 high, int type) in set_mode() argument
166 mode->low = low; in set_mode()
167 mode->high = high; in set_mode()
168 mode->type = type; in set_mode()
185 static int retrieve_mode(int clk, int soc_type, struct clk_mode *mode) in retrieve_mode() argument
194 set_mode(mode, 0, 0, TYPE_SPECIAL); in retrieve_mode()
197 set_mode(mode, 1, 1, TYPE_SPMR_DIRECT_MULTIPLY); in retrieve_mode()
201 set_mode(mode, 0, 0, TYPE_SPMR_DIRECT_MULTIPLY); in retrieve_mode()
204 set_mode(mode, 0, 1, TYPE_SCCR_STANDARD); in retrieve_mode()
208 set_mode(mode, 2, 3, TYPE_SCCR_STANDARD); in retrieve_mode()
210 set_mode(mode, 0, 1, TYPE_SCCR_STANDARD); in retrieve_mode()
213 set_mode(mode, 4, 5, TYPE_SCCR_STANDARD); in retrieve_mode()
216 set_mode(mode, 6, 7, TYPE_SCCR_STANDARD); in retrieve_mode()
220 set_mode(mode, 2, 3, TYPE_SCCR_STANDARD); in retrieve_mode()
222 set_mode(mode, 6, 7, TYPE_SCCR_STANDARD); in retrieve_mode()
225 set_mode(mode, 10, 11, TYPE_SCCR_STANDARD); in retrieve_mode()
228 set_mode(mode, 12, 13, TYPE_SCCR_STANDARD); in retrieve_mode()
232 set_mode(mode, 10, 11, TYPE_SCCR_STANDARD); in retrieve_mode()
234 set_mode(mode, 8, 9, TYPE_SCCR_STANDARD); in retrieve_mode()
237 set_mode(mode, 8, 9, TYPE_SCCR_STANDARD); in retrieve_mode()
240 set_mode(mode, 15, 15, TYPE_SCCR_ONOFF); in retrieve_mode()
243 set_mode(mode, 26, 27, TYPE_SCCR_STANDARD); in retrieve_mode()
248 set_mode(mode, 24, 25, TYPE_SCCR_STANDARD); in retrieve_mode()
249 set_mode(mode, 26, 27, TYPE_SCCR_STANDARD); in retrieve_mode()
250 set_mode(mode, 28, 29, TYPE_SCCR_STANDARD); in retrieve_mode()
251 set_mode(mode, 30, 31, TYPE_SCCR_STANDARD); in retrieve_mode()
253 set_mode(mode, 18, 19, TYPE_SCCR_STANDARD); in retrieve_mode()
254 set_mode(mode, 20, 21, TYPE_SCCR_STANDARD); in retrieve_mode()
258 set_mode(mode, 26, 27, TYPE_SCCR_STANDARD); in retrieve_mode()
263 set_mode(mode, 0, 0, TYPE_INVALID); in retrieve_mode()