Lines Matching refs:polarity
182 const char *polarity = "unknown";
187 switch (state.polarity) {
189 polarity = "normal";
193 polarity = "inversed";
197 return sprintf(buf, "%s\n", polarity);
204 enum pwm_polarity polarity;
209 polarity = PWM_POLARITY_NORMAL;
211 polarity = PWM_POLARITY_INVERSED;
218 state.polarity = polarity;
245 static DEVICE_ATTR_RW(polarity);