Searched refs:polarity (Results 1 - 3 of 3) sorted by relevance

/netgear-R7800-V1.0.2.28/target/linux/generic/files/drivers/pwm/
H A Dgpio-pwm.c39 unsigned long polarity : 1; member in struct:gpio_pwm
54 gpio_direction_output(gp->gpio, gp->polarity ? 1 : 0);
56 gpio_direction_output(gp->gpio, gp->polarity ? 0 : 1);
181 gp->polarity = c->polarity ? 1 : 0;
182 p->active_high = gp->polarity;
H A Dpwm.c321 " polarity %d duty_ns %lu period_ns %lu duty_percent %d\n",
323 c->polarity, c->duty_ns, c->period_ns, c->duty_percent);
382 .polarity = active_high,
536 int polarity; local
539 if (1 == sscanf(buf, "%d", &polarity))
540 pwm_set_polarity(p, polarity);
543 static DEVICE_ATTR(polarity, 0644, pwm_polarity_show, pwm_polarity_store);
/netgear-R7800-V1.0.2.28/target/linux/generic/files/include/linux/pwm/
H A Dpwm.h47 int polarity; member in struct:pwm_channel_config

Completed in 73 milliseconds