Home
last modified time | relevance | path

Searched full:active_low (Results 1 – 25 of 86) sorted by relevance

1234

/linux-6.12.1/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c87 .active_low = 1,
92 .active_low = 1,
98 .active_low = 1,
103 .active_low = 1,
108 .active_low = 1,
135 .active_low = 1,
140 .active_low = 1,
145 .active_low = 1,
150 .active_low = 1,
156 .active_low = 1,
[all …]
/linux-6.12.1/arch/sh/boards/mach-x3proto/
Dsetup.c130 .active_low = 1,
135 .active_low = 1,
140 .active_low = 1,
144 .active_low = 1,
148 .active_low = 1,
152 .active_low = 1,
156 .active_low = 1,
160 .active_low = 1,
164 .active_low = 1,
168 .active_low = 1,
[all …]
/linux-6.12.1/arch/sh/boards/mach-rsk/
Ddevices-rsk7203.c54 .active_low = 1,
59 .active_low = 1,
64 .active_low = 1,
69 .active_low = 1,
90 .active_low = 1,
95 .active_low = 1,
100 .active_low = 1,
/linux-6.12.1/drivers/leds/
Dleds-bcm6358.c36 * @active_low: LED is active low
43 bool active_low; member
85 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set()
86 (!led->active_low && value != LED_OFF)) in bcm6358_led_set()
112 led->active_low = true; in bcm6358_led()
124 if ((led->active_low && !val) || (!led->active_low && val)) in bcm6358_led()
Dleds-pwm.c24 u8 active_low; member
33 unsigned int active_low; member
52 if (led_dat->active_low) in led_pwm_set()
74 led_data->active_low = led->active_low; in led_pwm_add()
159 led.active_low = fwnode_property_read_bool(fwnode, in led_pwm_create_fwnode()
Dleds-bcm6328.c66 * @active_low: LED is active low
75 bool active_low; member
141 if ((led->active_low && value == LED_OFF) || in bcm6328_led_set()
142 (!led->active_low && value != LED_OFF)) in bcm6328_led_set()
349 led->active_low = true; in bcm6328_led()
367 if ((led->active_low && val == BCM6328_LED_MODE_OFF) || in bcm6328_led()
368 (!led->active_low && val == BCM6328_LED_MODE_ON)) in bcm6328_led()
/linux-6.12.1/drivers/reset/sti/
Dreset-syscfg.c37 * @active_low: are the resets in this controller active low, i.e. clearing
43 bool active_low; member
55 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
122 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
150 rc->active_low = data->active_low; in syscfg_reset_controller_register()
Dreset-syscfg.h42 * @active_low: Are the resets in this controller active low, i.e. clearing
49 bool active_low; member
/linux-6.12.1/drivers/reset/
Dreset-simple.c43 if (assert ^ data->active_low) in reset_simple_update()
110 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
119 bool active_low; member
132 .active_low = true,
189 data->active_low = devdata->active_low; in reset_simple_probe()
/linux-6.12.1/arch/x86/kernel/
Ddevicetree.c181 u32 active_low; member
189 .active_low = 1,
194 .active_low = 0,
199 .active_low = 1,
204 .active_low = 0,
224 ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->is_level, it->active_low); in dt_irqdomain_alloc()
/linux-6.12.1/drivers/net/phy/aquantia/
Daquantia_leds.c130 bool active_low = false; in aqr_phy_led_polarity_set() local
139 active_low = true; in aqr_phy_led_polarity_set()
147 if (active_low) in aqr_phy_led_polarity_set()
150 return aqr_phy_led_active_low_set(phydev, index, active_low); in aqr_phy_led_polarity_set()
/linux-6.12.1/Documentation/devicetree/bindings/spi/
Dspi-controller.yaml60 spi-cs-high | ACTIVE_LOW | H | 2
61 - | ACTIVE_LOW | L |
66 ACTIVE_LOW.
68 because ACTIVE_LOW is overridden by spi-cs-high.
/linux-6.12.1/drivers/input/keyboard/
Dnspire-keypad.c47 bool active_low; member
69 if (keypad->active_low) in nspire_keypad_irq()
181 keypad->active_low = of_property_read_bool(of_node, "active-low"); in nspire_keypad_probe()
255 keypad->active_low ? ", active_low" : ""); in nspire_keypad_probe()
Dmatrix_keypad.c277 bool active_low; in matrix_keypad_init_gpio() local
292 active_low = device_property_read_bool(&pdev->dev, "gpio-activelow"); in matrix_keypad_init_gpio()
308 if (active_low ^ gpiod_is_active_low(keypad->col_gpios[i])) in matrix_keypad_init_gpio()
327 if (active_low ^ gpiod_is_active_low(keypad->row_gpios[i])) in matrix_keypad_init_gpio()
/linux-6.12.1/sound/soc/amd/acp/acp3x-es83xx/
Dacp3x-es83xx.c229 priv->enable_spk_gpio.active_low = false; in acp3x_es83xx_configure_gpios()
230 priv->enable_hp_gpio.active_low = false; in acp3x_es83xx_configure_gpios()
244 priv->enable_spk_gpio.active_low ? "low" : "high", in acp3x_es83xx_configure_gpios()
246 priv->enable_hp_gpio.active_low ? "low" : "high"); in acp3x_es83xx_configure_gpios()
301 priv->enable_spk_gpio.active_low ? GPIOD_OUT_LOW : GPIOD_OUT_HIGH); in acp3x_es83xx_init()
308 priv->enable_hp_gpio.active_low ? GPIOD_OUT_LOW : GPIOD_OUT_HIGH); in acp3x_es83xx_init()
/linux-6.12.1/arch/mips/loongson32/ls1b/
Dboard.c18 .active_low = 1,
24 .active_low = 1,
/linux-6.12.1/include/linux/reset/
Dreset-simple.h24 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
41 bool active_low; member
/linux-6.12.1/include/linux/
Dgpio_keys.h13 * @active_low: %true indicates that button is considered
29 int active_low; member
/linux-6.12.1/drivers/leds/rgb/
Dleds-pwm-multicolor.c22 bool active_low; member
49 if (priv->leds[i].active_low) in led_pwm_mc_set()
83 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()
/linux-6.12.1/tools/testing/selftests/gpio/
Dgpio-mockup-sysfs.sh51 echo 0 > "$sysfs_ldir/active_low"
54 echo 1 > "$sysfs_ldir/active_low"
/linux-6.12.1/Documentation/firmware-guide/acpi/
Dgpio-properties.rst42 Package () { "name", Package () { ref, index, pin, active_low }}
51 active_low
52 If 1, the GPIO is marked as active_low.
55 active low or high, the "active_low" argument can be used here. Setting
58 Note, active_low in _DSD does not make sense for GpioInt() resource and
243 crs_entry_index, line_index, active_low, representing the index of the target
/linux-6.12.1/arch/x86/kernel/apic/
Dio_apic.c97 bool active_low; member
790 int acpi_get_override_irq(u32 gsi, int *is_level, int *active_low) in acpi_get_override_irq() argument
792 *is_level = *active_low = 0; in acpi_get_override_irq()
794 (bool *)active_low); in acpi_get_override_irq()
805 info->ioapic.active_low = polarity; in ioapic_set_alloc_attr()
823 dst->ioapic.active_low = src->ioapic.active_low; in ioapic_copy_alloc_attr()
828 dst->ioapic.active_low = pol_low; in ioapic_copy_alloc_attr()
835 dst->ioapic.active_low = true; in ioapic_copy_alloc_attr()
875 data->entry.active_low = data->active_low = info->ioapic.active_low; in mp_check_pin_attr()
879 data->active_low == info->ioapic.active_low; in mp_check_pin_attr()
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath10k/
Dleds.c29 ar->leds.gpio_state_pin = (brightness != LED_OFF) ^ led->active_low; in ath10k_leds_set_brightness_blocking()
66 ar->leds.wifi_led.active_low = 1; in ath10k_leds_register()
/linux-6.12.1/drivers/net/phy/qcom/
Dqca808x.c593 bool active_low = false; in qca808x_led_polarity_set() local
599 active_low = true; in qca808x_led_polarity_set()
611 priv->led_polarity_mode != active_low) { in qca808x_led_polarity_set()
617 priv->led_polarity_mode = active_low; in qca808x_led_polarity_set()
622 active_low ? 0 : QCA808X_LED_ACTIVE_HIGH); in qca808x_led_polarity_set()
/linux-6.12.1/drivers/leds/blink/
Dleds-bcm63138.c57 bool active_low; member
226 led->active_low = of_property_read_bool(np, "active-low"); in bcm63138_leds_create_led()
246 led->active_low ? 0 : bit); in bcm63138_leds_create_led()

1234