Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-latest/arch/x86/core/
Dx86_acpi.c9 uint32_t arch_acpi_encode_irq_flags(uint8_t polarity, uint8_t trigger) in arch_acpi_encode_irq_flags() argument
19 if (polarity == ACPI_ACTIVE_HIGH) { in arch_acpi_encode_irq_flags()
21 } else if (polarity == ACPI_ACTIVE_LOW) { in arch_acpi_encode_irq_flags()
/Zephyr-latest/include/zephyr/arch/x86/
Dx86_acpi.h14 uint32_t arch_acpi_encode_irq_flags(uint8_t polarity, uint8_t trigger);
/Zephyr-latest/soc/mediatek/mt8xxx/
Dsoc.c92 struct intc64 polarity; /* 1 == active low */ member
123 INTC.polarity.lo = 0xffffffff; in mt8196_intc_init()
124 INTC.polarity.hi = 0xffffffff; in mt8196_intc_init()
/Zephyr-latest/soc/st/stm32/common/
Dstm32_wkup_pins.c122 bool polarity; /* True if detection on the low level : falling edge */ member
200 if (wakeup_pin_cfg->polarity == STM32_PWR_WKUP_PIN_P_FALLING) { in wkup_pin_setup()
301 wakeup_pin_cfg.polarity = STM32_PWR_WKUP_PIN_P_FALLING; in stm32_pwr_wkup_pin_cfg_gpio()
303 wakeup_pin_cfg.polarity = STM32_PWR_WKUP_PIN_P_RISING; in stm32_pwr_wkup_pin_cfg_gpio()
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_flexio.c103 enum pwm_nxp_flexio_polarity polarity; in pwm_nxp_flexio_set_cycles() local
134 polarity = FLEXIO_PWM_ACTIVE_HIGH; in pwm_nxp_flexio_set_cycles()
136 polarity = FLEXIO_PWM_ACTIVE_LOW; in pwm_nxp_flexio_set_cycles()
139 if (polarity == FLEXIO_PWM_ACTIVE_HIGH) { in pwm_nxp_flexio_set_cycles()
164 timerConfig.pinPolarity = polarity; in pwm_nxp_flexio_set_cycles()
Dpwm_nxp_s32_emios.c599 BUILD_ASSERT(DT_NODE_HAS_PROP(node_id, polarity), \
679 BUILD_ASSERT(!DT_NODE_HAS_PROP(node_id, polarity), \
728 .OutputPolarity = EMIOS_PWM_POLARITY(DT_STRING_TOKEN(node_id, polarity)), \
/Zephyr-latest/samples/sensor/qdec/boards/
Dnucleo_f401re.overlay22 st,input-polarity-inverted;
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/
DKconfig8 SPI mode value (clock polarity and phase) used in the test.
/Zephyr-latest/boards/nxp/mr_canhubk3/
Dmr_canhubk3.dts519 polarity = "ACTIVE_HIGH";
528 polarity = "ACTIVE_HIGH";
537 polarity = "ACTIVE_HIGH";
546 polarity = "ACTIVE_HIGH";
555 polarity = "ACTIVE_HIGH";
564 polarity = "ACTIVE_HIGH";
572 polarity = "ACTIVE_LOW";
611 polarity = "ACTIVE_LOW";
619 polarity = "ACTIVE_LOW";
/Zephyr-latest/drivers/counter/
Dcounter_mcux_lptmr.c27 lptmr_pin_polarity_t polarity; member
141 lptmr_config.pinPolarity = config->polarity; in mcux_lptmr_init()
196 .polarity = DT_INST_PROP(n, active_low), \
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/boards/
Dmr_canhubk3.overlay35 /delete-property/ polarity;
/Zephyr-latest/drivers/gpio/
Dgpio_b91.c72 uint8_t polarity; /* Polarity: interrupt polarity: rising, falling */ member
186 BM_CLR(gpio->polarity, BIT(pin)); in gpio_b91_irq_set()
191 BM_SET(gpio->polarity, BIT(pin)); in gpio_b91_irq_set()
196 BM_CLR(gpio->polarity, BIT(pin)); in gpio_b91_irq_set()
201 BM_SET(gpio->polarity, BIT(pin)); in gpio_b91_irq_set()
Dgpio_mcux_lpc.c340 pin_config.polarity = kGPIO_PinIntEnableHighOrRise; in gpio_mcux_lpc_module_interrupt_cfg()
342 pin_config.polarity = kGPIO_PinIntEnableLowOrFall; in gpio_mcux_lpc_module_interrupt_cfg()
Dgpio_sx1509b.c46 uint16_t polarity; /* 0x0C */ member
259 pin_buf.pins.polarity = sys_cpu_to_be16(pins->polarity); in write_pin_state()
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h74 #define ESAI_INVERT_POLARITY(polarity) (polarity) = !(polarity) argument
/Zephyr-latest/samples/subsys/usb_c/sink/boards/
Dnumaker_m2l31ki.overlay57 vbus-sink-enable-polarity = "high-active";
/Zephyr-latest/samples/boards/nordic/nrfx/src/
Dmain.c103 .polarity = NRF_GPIOTE_POLARITY_TOGGLE, in main()
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.h165 #define SAI_INVERT_POLARITY(polarity) (polarity) = !(polarity) argument
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-pinctrl.dtsi382 psl-polarity = <&altd_psl_in1_ahi>;
388 psl-polarity = <&altd_psl_in2_ahi>;
394 psl-polarity = <&altd_psl_in3_ahi>;
400 psl-polarity = <&altd_psl_in4_ahi>;
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_tcpc.h143 int (*set_cc_polarity)(const struct device *dev, enum tc_cc_polarity polarity);
491 static inline int tcpc_set_cc_polarity(const struct device *dev, enum tc_cc_polarity polarity) in tcpc_set_cc_polarity() argument
497 return api->set_cc_polarity(dev, polarity); in tcpc_set_cc_polarity()
/Zephyr-latest/samples/sensor/qdec/
DREADME.rst45 st,input-polarity-inverted;
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-pinctrl.dtsi399 psl-polarity = <&altd_psl_in1_ahi>;
405 psl-polarity = <&altd_psl_in2_ahi>;
411 psl-polarity = <&altd_psl_in3_ahi>;
417 psl-polarity = <&altd_psl_in4_ahi>;
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-pinctrl.dtsi492 psl-polarity = <&altd_psl_in1_ahi>;
498 psl-polarity = <&altd_psl_in2_ahi>;
504 psl-polarity = <&altd_psl_in3_ahi>;
510 psl-polarity = <&altd_psl_in4_ahi>;
/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c308 int ps8xxx_tcpc_set_cc_polarity(const struct device *dev, enum tc_cc_polarity polarity) in ps8xxx_tcpc_set_cc_polarity() argument
320 (polarity == TC_POLARITY_CC1) ? 0 : TCPC_REG_TCPC_CTRL_PLUG_ORIENTATION); in ps8xxx_tcpc_set_cc_polarity()
327 data->cc_polarity = polarity; in ps8xxx_tcpc_set_cc_polarity()
Ducpd_numaker.c1849 enum tc_cc_polarity polarity = in numaker_tcpc_vconn_discharge() local
1854 return data->dpm.vconn_discharge_cb(dev, polarity, enable); in numaker_tcpc_vconn_discharge()
1884 enum tc_cc_polarity polarity = in numaker_tcpc_set_vconn() local
1889 return data->dpm.vconn_cb(dev, polarity, enable); in numaker_tcpc_set_vconn()
2003 static int numaker_tcpc_set_cc_polarity(const struct device *dev, enum tc_cc_polarity polarity) in numaker_tcpc_set_cc_polarity() argument
2010 switch (polarity) { in numaker_tcpc_set_cc_polarity()
2020 LOG_ERR("Invalid CC polarity: %d", polarity); in numaker_tcpc_set_cc_polarity()

12