/drivers/leds/ |
D | leds-pwm.c | 23 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()
|
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() 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()
|
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() 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()
|
D | leds-gpio.c | 232 if (template->active_low) in gpio_led_get_gpiod()
|
/drivers/reset/sti/ |
D | reset-syscfg.c | 42 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()
|
D | reset-syscfg.h | 49 bool active_low; member
|
D | reset-stih407.c | 119 .active_low = true,
|
/drivers/reset/ |
D | reset-simple.c | 44 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()
|
D | reset-sunxi.c | 56 data->active_low = true; in sunxi_reset_init()
|
D | reset-uniphier-glue.c | 83 priv->rdata.active_low = true; in uniphier_glue_reset_probe()
|
/drivers/input/keyboard/ |
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() 256 keypad->active_low ? ", active_low" : ""); in nspire_keypad_probe()
|
D | matrix_keypad.c | 49 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()
|
D | gpio_keys.c | 522 if (button->active_low) in gpio_keys_setup_key() 538 bool active_low = gpiod_is_active_low(bdata->gpiod); in gpio_keys_setup_key() local 570 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key() 574 bdata->wakeup_trigger_type = active_low ? in gpio_keys_setup_key()
|
D | tca6416-keypad.c | 109 ^ button->active_low; in tca6416_keys_scan()
|
D | gpio_keys_polled.c | 317 if (button->active_low) in gpio_keys_polled_probe()
|
/drivers/platform/x86/ |
D | surface3_button.c | 61 bool active_low; member 121 gpio_keys[n_buttons].active_low = info->active_low; in surface3_button_device_create()
|
D | pcengines-apuv2.c | 106 .active_low = 1,
|
/drivers/input/misc/ |
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/gpio/ |
D | gpiolib-of.c | 148 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()
|
D | gpiolib-acpi.c | 519 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()
|
D | gpiolib-sysfs.c | 364 static DEVICE_ATTR_RW(active_low);
|
D | gpiolib.c | 4462 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/ |
D | meson8b.c | 3559 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/ |
D | axnet_cs.c | 119 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/ |
D | soctherm.c | 309 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()
|