HomeSort by: relevance | last modified time | path
    Searched refs:polarity (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/sys/dev/pwm/
pwmvar.h 40 enum pwm_polarity polarity; /* PWM_ACTIVE_{HIGH,LOW} */ member in struct:pwm_config
  /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/external/gpl2/dts/dist/arch/arm/boot/dts/
rk3228-evb.dts 67 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
rk3288-rock2-som.dtsi 251 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
imx6q-apalis-eval.dts 178 /* active-high meaning opposite of regular PERST# active-low polarity */
imx6q-apalis-ixora-v1.1.dts 178 /* active-high meaning opposite of regular PERST# active-low polarity */
imx6q-apalis-ixora.dts 182 /* active-high meaning opposite of regular PERST# active-low polarity */
rk3288-evb.dtsi 301 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
rk3288-vyasa.dts 406 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
  /src/sys/arch/arm/rockchip/
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_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_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/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/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/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/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/mips/rmi/
rmixl_intr.c 654 rmixl_intr_polarity_t polarity)
675 switch (polarity) {
682 panic("%s: bad polarity %d\n", __func__, polarity);
701 if ((polarity == RMIXL_POLR_FALLING) || (polarity == RMIXL_POLR_LOW))
780 rmixl_intr_trigger_t trigger, rmixl_intr_polarity_t polarity,
815 rmixl_irt_establish(irt, vec, cpumask, trigger, polarity);
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rk3368-evb.dtsi 225 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
rk3368-r88.dts 319 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
  /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/dev/i2c/
pca9685.c 244 * pwm_config::polarity? I'm thinking not, but...
247 chan->ch_conf.polarity = PWM_ACTIVE_HIGH;
347 if (conf->polarity != PWM_ACTIVE_HIGH) {
349 "set_config: invalid polarity: %d\n", conf->polarity);
  /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/mit/xen-include-public/dist/xen/include/public/
physdev.h 248 uint8_t polarity; member in struct:physdev_setup_gsi
  /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/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));

Completed in 29 milliseconds

1 2 3