Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-pwm.c23 u8 active_low; member
31 unsigned int active_low; member
50 if (led_dat->active_low) in led_pwm_set()
66 led_data->active_low = led->active_low; in led_pwm_add()
118 led.active_low = fwnode_property_read_bool(fwnode, in led_pwm_create_fwnode()
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()
111 led->active_low = true; in bcm6358_led()
120 if ((led->active_low && !val) || in bcm6358_led()
121 (!led->active_low && val)) in bcm6358_led()
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()
347 led->active_low = true; in bcm6328_led()
365 if ((led->active_low && val == BCM6328_LED_MODE_OFF) || in bcm6328_led()
366 (!led->active_low && val == BCM6328_LED_MODE_ON)) in bcm6328_led()
Dleds-gpio.c232 if (template->active_low) in gpio_led_get_gpiod()
/drivers/reset/sti/
Dreset-syscfg.c42 bool active_low; member
54 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
131 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
159 rc->active_low = data->active_low; in syscfg_reset_controller_register()
Dreset-syscfg.h49 bool active_low; member
Dreset-stih407.c119 .active_low = true,
/drivers/reset/
Dreset-simple.c44 if (assert ^ data->active_low) in reset_simple_update()
120 bool active_low; member
133 .active_low = true,
186 data->active_low = devdata->active_low; in reset_simple_probe()
Dreset-sunxi.c56 data->active_low = true; in sunxi_reset_init()
Dreset-uniphier-glue.c83 priv->rdata.active_low = true; in uniphier_glue_reset_probe()
/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()
256 keypad->active_low ? ", active_low" : ""); in nspire_keypad_probe()
Dmatrix_keypad.c49 bool level_on = !pdata->active_low; in __activate_col()
82 !pdata->active_low : pdata->active_low; in row_asserted()
319 gpio_direction_output(pdata->col_gpios[i], !pdata->active_low); in matrix_keypad_init_gpio()
433 pdata->active_low = true; in matrix_keypad_parse_dt()
Dgpio_keys.c521 if (button->active_low) in gpio_keys_setup_key()
537 bool active_low = gpiod_is_active_low(bdata->gpiod); in gpio_keys_setup_key() local
569 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key()
573 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key()
Dtca6416-keypad.c109 ^ button->active_low; in tca6416_keys_scan()
Dgpio_keys_polled.c317 if (button->active_low) in gpio_keys_polled_probe()
/drivers/platform/x86/
Dsurface3_button.c61 bool active_low; member
121 gpio_keys[n_buttons].active_low = info->active_low; in surface3_button_device_create()
Dpcengines-apuv2.c106 .active_low = 1,
/drivers/input/misc/
Dsoc_button_array.c32 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/gpio/
Dgpiolib-of.c148 bool active_low = !of_property_read_bool(np, in of_gpio_flags_quirks() local
156 if ((*flags & OF_GPIO_ACTIVE_LOW) && !active_low) { in of_gpio_flags_quirks()
161 if (active_low) in of_gpio_flags_quirks()
314 bool active_low = false; in gpiod_get_from_of_node() local
327 active_low = flags & OF_GPIO_ACTIVE_LOW; in gpiod_get_from_of_node()
338 if (active_low) in gpiod_get_from_of_node()
Dgpiolib-acpi.c519 args->args[2] = par->active_low; in acpi_get_driver_gpio_data()
637 bool active_low; member
687 lookup->info.polarity = lookup->active_low; in acpi_populate_gpio_lookup()
751 lookup->active_low = !!args.args[2]; in acpi_gpio_property_lookup()
804 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index()
Dgpiolib-sysfs.c364 static DEVICE_ATTR_RW(active_low);
Dgpiolib.c4462 bool active_low; in gpiolib_dbg_show() local
4476 active_low = test_bit(FLAG_ACTIVE_LOW, &gdesc->flags); in gpiolib_dbg_show()
4482 active_low ? "ACTIVE LOW" : ""); in gpiolib_dbg_show()
/drivers/clk/meson/
Dmeson8b.c3559 bool active_low; member
3564 .active_low = false,
3569 .active_low = false,
3574 .active_low = false,
3579 .active_low = false,
3584 .active_low = false,
3589 .active_low = false,
3594 .active_low = false,
3599 .active_low = false,
3604 .active_low = false,
[all …]
/drivers/net/ethernet/8390/
Daxnet_cs.c119 int active_low; member
323 info->active_low = 0; in axnet_config()
341 info->active_low = 1; in axnet_config()
392 if (info->active_low == 1) in axnet_resume()
/drivers/thermal/tegra/
Dsoctherm.c309 u32 active_low; member
1623 stc->oc_cfg.active_low = 1; in soctherm_oc_cfg_parse()
1625 stc->oc_cfg.active_low = 0; in soctherm_oc_cfg_parse()
1918 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program()