Home
last modified time | relevance | path

Searched refs:active_low (Results 1 – 8 of 8) sorted by relevance

/u-boot/drivers/led/
A Dled_bcm6358.c39 bool active_low; member
74 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6358_led_get_state()
77 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6358_led_get_state()
91 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6358_led_set_state()
94 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6358_led_set_state()
166 priv->active_low = true; in bcm6358_led_probe()
A Dled_bcm6328.c45 bool active_low; member
74 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state()
77 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state()
96 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6328_led_set_state()
99 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6328_led_set_state()
196 priv->active_low = true; in bcm6328_led_probe()
A Dled_cortina.c51 bool active_low; /*Active-High or Active-Low*/ member
158 priv->active_low = true; in ca_led_of_to_plat()
160 priv->active_low = false; in ca_led_of_to_plat()
215 if (priv->active_low) in cortina_led_probe()
/u-boot/include/
A Dirq.h61 int (*set_polarity)(struct udevice *dev, uint irq, bool active_low);
174 int irq_set_polarity(struct udevice *dev, uint irq, bool active_low);
/u-boot/drivers/reset/
A Dsti-reset.c61 bool active_low; member
186 .active_low = true,
234 u32 ctrl_val = reset_desc->active_low ? !assert : !!assert; in sti_reset_program_hw()
/u-boot/drivers/misc/
A Dirq-uclass.c26 int irq_set_polarity(struct udevice *dev, uint irq, bool active_low) in irq_set_polarity() argument
33 return ops->set_polarity(dev, irq, active_low); in irq_set_polarity()
A Dirq_sandbox.c25 static int sandbox_set_polarity(struct udevice *dev, uint irq, bool active_low) in sandbox_set_polarity() argument
/u-boot/arch/x86/cpu/intel_common/
A Ditss.c23 static int set_polarity(struct udevice *dev, uint irq, bool active_low) in set_polarity() argument
34 pcr_clrsetbits32(dev, reg, mask, active_low ? mask : 0); in set_polarity()

Completed in 8 milliseconds