Lines Matching defs:pwms
177 static int pwms;
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 */
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) {
690 data->pwms = pwms;
692 "\"pwms\" module param\n", (int)data->pwms);
776 data->pwms = i;
777 ABIT_UGURU_DEBUG(2, " found: %d PWM outputs\n", (int)data->pwms);
1304 * Note: We don't know how many bank2 sensors / pwms there really are,
1306 * anyways. If we read sensors/pwms not there we'll just read crap
1377 /* Detect number of sensors and fill the sysfs attr for pwms */
1379 for (i = 0; i < data->pwms; i++) {