Lines Matching full:pwms
177 static int pwms; variable
178 module_param(pwms, int, 0);
179 MODULE_PARM_DESC(pwms, "Number of PWMs on the uGuru "
211 * of a sensor is a volt or a temp sensor, for bank2 and the pwms its
213 * sysfs entries per sensor, for bank2 and pwms 6.
246 u8 pwms; /* actual number of pwms found */ member
611 * many pwms there are. The purpose of this is to make sure that we don't give
689 if (pwms > 0 && pwms <= ABIT_UGURU_MAX_PWMS) { in abituguru_detect_no_pwms()
690 data->pwms = pwms; in abituguru_detect_no_pwms()
692 "\"pwms\" module param\n", (int)data->pwms); in abituguru_detect_no_pwms()
776 data->pwms = i; in abituguru_detect_no_pwms()
777 ABIT_UGURU_DEBUG(2, " found: %d PWM outputs\n", (int)data->pwms); in abituguru_detect_no_pwms()
1304 * Note: We don't know how many bank2 sensors / pwms there really are, in abituguru_probe()
1306 * anyways. If we read sensors/pwms not there we'll just read crap in abituguru_probe()
1377 /* Detect number of sensors and fill the sysfs attr for pwms */ in abituguru_probe()
1379 for (i = 0; i < data->pwms; i++) { in abituguru_probe()