| /drivers/reset/ |
| A D | reset-imx8mp-audiomix.c | 26 bool active_low; member 33 .active_low = true, 38 .active_low = true, 43 .active_low = false, 63 unsigned int mask, offset, active_low; in imx8mp_audiomix_update() local 68 active_low = reset_map[id].active_low; in imx8mp_audiomix_update() 73 if (active_low ^ assert) in imx8mp_audiomix_update()
|
| A D | reset-simple.c | 43 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()
|
| A D | reset-sunxi.c | 56 data->active_low = true; in sunxi_reset_init()
|
| A D | reset-k230.c | 194 bool assert, bool write_en, bool active_low) in k230_rst_update() argument 202 if (assert ^ active_low) in k230_rst_update()
|
| A D | reset-uniphier-glue.c | 85 priv->rdata.active_low = true; in uniphier_glue_reset_probe()
|
| /drivers/leds/ |
| A D | leds-bcm6358.c | 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()
|
| A D | leds-pwm.c | 23 u8 active_low; member 32 unsigned int active_low; member 51 if (led_dat->active_low) in led_pwm_set() 87 led_data->active_low = led->active_low; in led_pwm_add() 170 led.active_low = fwnode_property_read_bool(fwnode, in led_pwm_create_fwnode()
|
| A D | leds-bcm6328.c | 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()
|
| /drivers/reset/sti/ |
| A D | reset-syscfg.c | 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()
|
| A D | reset-syscfg.h | 49 bool active_low; member
|
| A D | reset-stih407.c | 119 .active_low = true,
|
| /drivers/input/keyboard/ |
| A D | nspire-keypad.c | 47 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()
|
| A D | matrix_keypad.c | 302 bool active_low; in matrix_keypad_init_gpio() local 317 active_low = device_property_read_bool(&pdev->dev, "gpio-activelow"); in matrix_keypad_init_gpio() 333 if (active_low ^ gpiod_is_active_low(keypad->col_gpios[i])) in matrix_keypad_init_gpio() 352 if (active_low ^ gpiod_is_active_low(keypad->row_gpios[i])) in matrix_keypad_init_gpio()
|
| A D | gpio_keys.c | 547 if (button->active_low ^ gpiod_is_active_low(bdata->gpiod)) in gpio_keys_setup_key() 552 bool active_low = gpiod_is_active_low(bdata->gpiod); in gpio_keys_setup_key() local 603 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key() 607 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key()
|
| /drivers/input/misc/ |
| A D | soc_button_array.c | 32 bool active_low; member 219 gpio_keys[n_buttons].active_low = info->active_low; in soc_button_device_create() 282 info->active_low = true; in soc_button_parse_btn_desc() 306 info->active_low = false; in soc_button_parse_btn_desc()
|
| /drivers/leds/rgb/ |
| A D | leds-pwm-multicolor.c | 22 bool active_low; member 49 if (priv->leds[i].active_low) in led_pwm_mc_set() 89 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()
|
| /drivers/net/wireless/ath/ath10k/ |
| A D | leds.c | 29 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()
|
| /drivers/net/phy/qcom/ |
| A D | qca808x.c | 598 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()
|
| /drivers/leds/blink/ |
| A D | leds-bcm63138.c | 62 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()
|
| /drivers/platform/x86/x86-android-tablets/ |
| A D | other.c | 107 .active_low = true, 219 .active_low = true, 231 .active_low = true, 506 .active_low = true,
|
| A D | x86-android-tablets.h | 105 bool active_low, enum gpiod_flags dflags,
|
| A D | core.c | 46 bool active_low, enum gpiod_flags dflags, in x86_android_tablet_get_gpiod() argument 58 GPIO_LOOKUP(chip, pin, con_id, active_low ? GPIO_ACTIVE_LOW : GPIO_ACTIVE_HIGH); in x86_android_tablet_get_gpiod()
|
| /drivers/clk/meson/ |
| A D | meson8b.c | 3478 bool active_low; member 3483 .active_low = false, 3488 .active_low = false, 3493 .active_low = false, 3498 .active_low = false, 3503 .active_low = false, 3508 .active_low = false, 3513 .active_low = false, 3518 .active_low = false, 3553 .active_low = true, [all …]
|
| /drivers/platform/x86/ |
| A D | meraki-mx100.c | 127 .active_low = 1,
|
| /drivers/gpio/ |
| A D | gpiolib-acpi-core.c | 588 args->args[2] = params->active_low; in acpi_get_driver_gpio_data() 726 info->polarity = params->active_low; in acpi_populate_gpio_lookup() 789 params->active_low = !!args.args[2]; in acpi_gpio_property_lookup() 837 params->crs_entry_index, params->line_index, params->active_low); in acpi_get_gpiod_by_index()
|