Home
last modified time | relevance | path

Searched refs:active_low (Results 1 – 25 of 35) 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()
/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-eic7700-hsp.c32 bool active_low; member
57 !eic7700_hsp_reset[id].active_low); in eic7700_hsp_reset_assert()
67 eic7700_hsp_reset[id].active_low); in eic7700_hsp_reset_deassert()
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/sound/soc/amd/acp/acp3x-es83xx/
H A Dacp3x-es83xx.c231 priv->enable_spk_gpio.active_low = false; in acp3x_es83xx_configure_gpios()
232 priv->enable_hp_gpio.active_low = false; in acp3x_es83xx_configure_gpios()
246 str_low_high(priv->enable_spk_gpio.active_low), in acp3x_es83xx_configure_gpios()
248 str_low_high(priv->enable_hp_gpio.active_low)); in acp3x_es83xx_configure_gpios()
303 priv->enable_spk_gpio.active_low ? GPIOD_OUT_LOW : GPIOD_OUT_HIGH); in acp3x_es83xx_init()
310 priv->enable_hp_gpio.active_low ? GPIOD_OUT_LOW : GPIOD_OUT_HIGH); in acp3x_es83xx_init()
/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/input/misc/
H A Dsoc_button_array.c32 bool active_low; member
226 gpio_keys[n_buttons].active_low = info->active_low; in soc_button_device_create()
289 info->active_low = true; in soc_button_parse_btn_desc()
313 info->active_low = false; in soc_button_parse_btn_desc()
/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/drivers/leds/blink/
H A Dleds-bcm63138.c62 bool active_low; member
225 led->active_low = of_property_read_bool(np, "active-low"); in bcm63138_leds_create_led()
245 led->active_low ? 0 : bit); in bcm63138_leds_create_led()
/linux/include/linux/reset/
H A Dreset-simple.h41 bool active_low; member
/linux/drivers/net/pcs/
H A Dpcs-rzn1-miic.c609 u32 port, bool active_low) in miic_configure_phy_link()
670 if (polarity_active_high != active_low) in miic_configure_phy_link()
680 bool active_low; in miic_parse_dt()
705 active_low = of_property_read_bool(conv, "renesas,miic-phy-link-active-low"); in miic_parse_dt()
707 miic_configure_phy_link(miic, conf, port, active_low); in miic_parse_dt()
606 miic_configure_phy_link(struct miic * miic,u32 conf,u32 port,bool active_low) miic_configure_phy_link() argument
677 bool active_low; miic_parse_dt() local
/linux/drivers/reset/sti/
H A Dreset-syscfg.h49 bool active_low; member
H A Dreset-stih407.c119 .active_low = true,
/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
836 gpios[1] = hog->active_low ? 1 : 0; in gpio_sim_bank_add_hogs()
1339 return sysfs_emit(page, "%c\n", hog->active_low ? '1' : '0'); in gpio_sim_hog_config_active_low_show()
1348 bool active_low; in gpio_sim_hog_config_active_low_store() local
1356 ret = kstrtobool(page, &active_low); in gpio_sim_hog_config_active_low_store()
1360 hog->active_low = active_low; in gpio_sim_hog_config_active_low_store()
1365 CONFIGFS_ATTR(gpio_sim_hog_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/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/drivers/platform/x86/x86-android-tablets/
H A Dx86-android-tablets.h104 bool active_low, enum gpiod_flags dflags,
/linux/Documentation/ABI/obsolete/
H A Dsysfs-gpio25 /active_low ... r/w as: 0, 1

12