Lines Matching defs:cpld
116 /* Synology CPLD (2007 and newer models) */
760 unsigned cpld, version, flags;
765 * Determine if a CPLD is present and whether is has 4-bit
769 cpld = 0;
796 * CPLD register set, by turning the fan off and check if
810 cpld = BI_MODEL_CPLD207;
819 cpld = BI_MODEL_CPLD209;
824 /* XXX What about DS108j? Does it have a CPLD? */
831 goto cpld_done; /* timeout: no valid CPLD */
852 cpld = BI_MODEL_CPLD406;
856 cpld = BI_MODEL_CPLD407;
861 printf("CPLD V%s%u detected for model %s\n",
862 cpld < BI_MODEL_CPLD406 ? "" : "1.",
865 if (cpld == BI_MODEL_CPLD406 || cpld == BI_MODEL_CPLD407) {
868 * We have to watch over the current power state in a CPLD
880 * with several seconds delay, but no CPLD register to
893 bi_model.flags = cpld | version | flags;
895 printf("No CPLD found. DS101/DS106.\n");
903 unsigned cpld;
905 cpld = bi_model.flags & BI_MODEL_CPLD_MASK;
907 if (cpld == BI_MODEL_CPLD406 || cpld == BI_MODEL_CPLD407) {
915 } else if (cpld == BI_MODEL_CPLD207 || cpld == BI_MODEL_CPLD209) {