Lines Matching refs:polarity
95 if (config->polarity != PWM_NORMAL_POLARITY && config->polarity != PWM_INVERTED_POLARITY) {
96 HDF_LOGE("%s: polarity %hhu is invalid", __func__, config->polarity);
112 if (pwm->cfg.polarity != config->polarity && hp->supportPolarity) {
113 HiPwmSetPolarity(hp->reg, config->polarity);
114 HDF_LOGI("%s: [HiPwmSetPolarity] done, polarity: %hhu -> %hhu.", __func__, pwm->cfg.polarity, config->polarity);
133 HDF_LOGI("%s: set PwmConfig done: number %u, period %u, duty %u, polarity %hhu, enable %hhu.",
134 __func__, config->number, config->period, config->duty, config->polarity, config->status);
183 hp->dev.cfg.polarity = PWM_DEFAULT_POLARITY;
198 HDF_LOGI("%s: set PwmConfig: number %u, period %u, duty %u, polarity %hhu, enable %hhu.", __func__,
199 hp->dev.cfg.number, hp->dev.cfg.period, hp->dev.cfg.duty, hp->dev.cfg.polarity, hp->dev.cfg.status);