Lines Matching defs:polarity
159 const char *polarity = "unknown";
164 switch (state.polarity) {
166 polarity = "normal";
170 polarity = "inversed";
174 return sprintf(buf, "%s\n", polarity);
183 enum pwm_polarity polarity;
188 polarity = PWM_POLARITY_NORMAL;
190 polarity = PWM_POLARITY_INVERSED;
196 state.polarity = polarity;
221 static DEVICE_ATTR_RW(polarity);