Home
last modified time | relevance | path

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

12

/linux/arch/sh/boards/mach-x3proto/
H A 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/arch/sh/boards/mach-rsk/
H A 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/drivers/leds/
H A Dleds-bcm6358.c43 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()
H A Dleds-bcm6328.c75 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()
H A Dleds-gpio.c249 if (template->active_low ^ gpiod_is_active_low(gpiod)) in gpio_led_get_gpiod()
/linux/drivers/reset/
H A Dreset-simple.c43 if (assert ^ data->active_low) in reset_simple_update()
119 bool active_low; member
132 .active_low = true,
191 data->active_low = devdata->active_low; in reset_simple_probe()
H A Dreset-sunxi.c56 data->active_low = true; in sunxi_reset_init()
H A Dreset-k230.c194 bool assert, bool write_en, bool active_low) in k230_rst_update() argument
202 if (assert ^ active_low) in k230_rst_update()
/linux/drivers/input/keyboard/
H A 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()
/linux/drivers/leds/rgb/
H A Dleds-pwm-multicolor.c21 bool active_low; member
48 if (priv->leds[i].active_low) in led_pwm_mc_set()
88 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()
/linux/drivers/net/phy/qcom/
H A Dqca808x.c598 bool active_low = false; in qca808x_led_polarity_set() local
604 active_low = true; in qca808x_led_polarity_set()
616 priv->led_polarity_mode != active_low) { in qca808x_led_polarity_set()
622 priv->led_polarity_mode = active_low; in qca808x_led_polarity_set()
627 active_low ? 0 : QCA808X_LED_ACTIVE_HIGH); in qca808x_led_polarity_set()
/linux/include/linux/reset/
H A Dreset-simple.h41 bool active_low; member
/linux/drivers/reset/sti/
H A Dreset-syscfg.h49 bool active_low; member
H A Dreset-stih407.c119 .active_low = true,
/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c606 u32 port, bool active_low) in miic_configure_phy_link() argument
667 if (polarity_active_high != active_low) in miic_configure_phy_link()
677 bool active_low; in miic_parse_dt() local
701 active_low = of_property_read_bool(conv, "renesas,miic-phy-link-active-low"); in miic_parse_dt()
703 miic_configure_phy_link(miic, conf, port, active_low); in miic_parse_dt()
/linux/arch/x86/include/asm/
H A Dmsi.h21 active_low : 1, member
H A Dio_apic.h65 active_low : 1, member
/linux/drivers/gpio/
H A Dgpio-sim.c654 bool active_low; member
837 gpios[1] = hog->active_low ? 1 : 0; in gpio_sim_bank_add_hogs()
1340 return sysfs_emit(page, "%c\n", hog->active_low ? '1' : '0'); in gpio_sim_hog_config_active_low_show()
1349 bool active_low; in gpio_sim_hog_config_active_low_store() local
1357 ret = kstrtobool(page, &active_low); in gpio_sim_hog_config_active_low_store()
1361 hog->active_low = active_low; in gpio_sim_hog_config_active_low_store()
1366 CONFIGFS_ATTR(gpio_sim_hog_config_, active_low);
H A Dgpiolib-acpi-core.c617 args->args[2] = params->active_low; in acpi_get_driver_gpio_data()
755 info->polarity = params->active_low; in acpi_populate_gpio_lookup()
818 params->active_low = !!args.args[2]; in acpi_gpio_property_lookup()
866 params->crs_entry_index, params->line_index, params->active_low); in acpi_get_gpiod_by_index()
H A Dgpio-virtuser.c1262 bool active_low; in gpio_virtuser_lookup_entry_config_active_low_store() local
1265 ret = kstrtobool(page, &active_low); in gpio_virtuser_lookup_entry_config_active_low_store()
1274 if (active_low) in gpio_virtuser_lookup_entry_config_active_low_store()
1282 CONFIGFS_ATTR(gpio_virtuser_lookup_entry_config_, active_low);
/linux/drivers/clk/meson/
H A Dmeson8b.c3452 bool active_low; member
3457 .active_low = false,
3462 .active_low = false,
3467 .active_low = false,
3472 .active_low = false,
3477 .active_low = false,
3482 .active_low = false,
3487 .active_low = false,
3492 .active_low = false,
3497 .active_low = false,
[all …]
/linux/drivers/platform/x86/x86-android-tablets/
H A Dx86-android-tablets.h103 bool active_low, enum gpiod_flags dflags,
/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst42 Package () { "name", Package () { ref, index, pin, active_low }}
51 active_low
55 active-low or active-high, the "active_low" argument can be used here.
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/Documentation/ABI/obsolete/
H A Dsysfs-gpio25 /active_low ... r/w as: 0, 1
/linux/arch/mips/bcm47xx/
H A Dleds.c16 .active_low = _active_low, \
25 .active_low = _active_low, \

12