HomeSort by: relevance | last modified time | path
    Searched defs:polarity (Results 1 - 18 of 18) sorted by relevancy

  /src/sys/dev/pwm/
pwmvar.h 40 enum pwm_polarity polarity; /* PWM_ACTIVE_{HIGH,LOW} */ member in struct:pwm_config
  /src/sys/arch/arm/nxp/
imx6_pwm.c 67 const u_int polarity = be32toh(pwm[3]); local in function:imxpwm_get_tag
68 sc->sc_conf.period = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
  /src/sys/arch/arm/imx/
imxpwm.c 95 const int polarity = __SHIFTOUT(cr, PWM_CR_POUTC); local in function:imxpwm_get_config
100 conf->polarity = polarity ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
129 if (conf->polarity == PWM_ACTIVE_LOW)
177 .polarity = PWM_ACTIVE_HIGH,
  /src/sys/arch/arm/rockchip/
rk_pwm.c 101 const u_int polarity = be32toh(pwm[3]); local in function:rk_pwm_get_tag
104 sc->sc_conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
157 conf->polarity = (ctrl & CTRL_DUTY_POL) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
181 if (conf->polarity == PWM_ACTIVE_HIGH)
rk_gpio.c 333 uint32_t polarity, bool mpsafe, int (*func)(void *), void *arg)
359 if (polarity)
414 uint32_t level, polarity; local in function:rk_fdt_intr_establish
422 polarity = 1;
426 polarity = 0;
430 polarity = 1;
434 polarity = 0;
442 return rk_intr_enable(sc, pin, level, polarity, mpsafe, func, arg);
504 uint32_t level, polarity; local in function:rk_gpio_intr_establish
509 polarity = 1
    [all...]
rk_tsadc.c 478 int mode, polarity, tshut_temp; local in function:rk_tsadc_attach
510 if (of_getprop_uint32(phandle, "rockchip,hw-tshut-polarity",
511 &polarity) != 0) {
512 aprint_error(": could not get TSHUT polarity, default to low");
513 polarity = TSHUT_LOW_ACTIVE;
583 rk_tsadc_init(sc, mode, polarity);
709 rk_tsadc_init_tshut(struct rk_tsadc_softc *sc, int mode, int polarity)
732 /* Handle TSHUT polarity setting. */
734 if (polarity == TSHUT_HIGH_ACTIVE)
742 rk_tsadc_init_common(struct rk_tsadc_softc *sc, int mode, int polarity)
    [all...]
  /src/sys/arch/arm/samsung/
exynos_pwm.c 124 conf->polarity = (tcon & TCON_OUTINV(timer->timer_index)) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
139 if (conf->polarity == PWM_ACTIVE_HIGH)
181 const u_int polarity = be32toh(pwm[3]); local in function:exynos_pwm_get_tag
185 /* Set initial timer polarity and period from specifier */
188 conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
  /src/sys/arch/arm/sunxi/
sunxi_pwm.c 96 const u_int polarity = be32toh(pwm[3]); local in function:sunxi_pwm_get_tag
99 sc->sc_conf.polarity = polarity ? PWM_ACTIVE_LOW : PWM_ACTIVE_HIGH;
139 conf->polarity = (ctrl & PWM_CH0_ACT_STA) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW;
161 if (conf->polarity == PWM_ACTIVE_HIGH)
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_misc.c 144 int polarity = MS(rfsilent, AR_EEPROM_RFSILENT_POLARITY); local in function:ar5210EnableRfKill
154 ar5210Gpio0SetIntr(ah, select, (ar5210GpioGet(ah, select) == polarity));
  /src/sys/arch/arm/marvell/
mvsocgpp.c 139 uint32_t mask, dir, valin, valout, polarity, blink; local in function:mvsocgpp_attach
143 dir = valin = valout = polarity = blink = 0;
203 polarity = MVSOCGPP_READ(sc, MVSOCGPP_GPIODIP(i));
219 if (polarity & mask) {
440 aprint_normal_dev(sc->sc_dev, " Data In Polarity: \t0x%08x\n",
460 aprint_normal_dev(sc->sc_dev, " High Data In Polarity: \t0x%08x\n",
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_misc.c 172 int polarity = MS(rfsilent, AR_EEPROM_RFSILENT_POLARITY); local in function:ar5211EnableRfKill
188 ar5211GpioSetIntr(ah, select, (ar5211GpioGet(ah, select) != polarity));
  /src/sys/arch/arm/amlogic/
meson_pwm.c 160 conf->polarity = PWM_ACTIVE_HIGH;
191 if (conf->polarity == PWM_ACTIVE_LOW)
264 "%s: %s: polarity=%s, DutuCycle/Period=%uns/%uns(%u%%) : "
268 (conf->polarity == PWM_ACTIVE_LOW) ? "LOW" : "HIGH",
292 const u_int polarity = (pwm[3] == 0) ? PWM_ACTIVE_HIGH : PWM_ACTIVE_LOW; local in function:meson_pwm_get_tag
297 * if polarity or period in pwm-tag is different from the copy of
302 if (pwmchan->mpc_conf.polarity != polarity) {
305 pwmchan->mpc_conf.polarity = polarity;
    [all...]
  /src/sys/arch/x86/acpi/
acpi_machdep.c 278 int polarity = ovr.flags & ACPI_MADT_POLARITY_MASK; local in function:acpi_md_intr_establish
282 if (polarity == ACPI_MADT_POLARITY_ACTIVE_HIGH ||
283 (!sci && polarity == ACPI_MADT_POLARITY_CONFORMS)) {
  /src/sys/external/isc/atheros_hal/dist/ar5212/
ar5212_misc.c 147 * on a switch signal. Assumes GPIO port and interrupt polarity
155 int polarity = MS(rfsilent, AR_EEPROM_RFSILENT_POLARITY); local in function:ar5212EnableRfKill
172 (ath_hal_gpioGet(ah, select) == polarity ? !polarity : polarity));
  /src/sys/dev/pci/
esa.c 1488 uint32_t gpo, polarity_port, polarity; local in function:esa_amp_enable
1507 polarity = polarity_port >> 12;
1508 polarity = !polarity; /* Enable */
1509 polarity = polarity << gpo;
1514 data = ESA_GPO_SECONDARY_AC97 | ESA_GPO_PRIMARY_AC97 | polarity;
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/
physdev.h 248 uint8_t polarity; member in struct:physdev_setup_gsi
  /src/sys/dev/ic/
ac97.c 280 unsigned polarity:1; /* Does 0 == MAX or MIN */ member in struct:ac97_source_info
1162 si->polarity = 0;
1784 if (!si->polarity) {
1902 if (!si->polarity) {
  /src/sys/external/mit/xen-include-public/dist/xen/include/public/arch-x86/hvm/
save.h 372 uint8_t polarity:1; member in struct:vioapic_redir_entry::__anon6c5026fa0508

Completed in 47 milliseconds