Lines Matching defs:source
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
257 zy7_pl_fclk_set_source(int unit, int source)
270 /* Modify FPGAx source. */
273 reg |= (source << ZY7_SLCR_FPGA_CLK_CTRL_SRCSEL_SHIFT);
289 int source;
298 source = (reg & ZY7_SLCR_FPGA_CLK_CTRL_SRCSEL_MASK) >>
302 if ((source & 2) == 0)
303 source = ZY7_PL_FCLK_SRC_IO;
307 return (source);
317 int source;
322 source = zy7_pl_fclk_get_source(unit);
323 switch (source) {
384 int source;
389 source = zy7_pl_fclk_get_source(unit);
390 switch (source) {