/drivers/clk/ |
D | clk-gpio.c | 99 bool active_low, unsigned long flags, in clk_register_gpio() argument 116 if (active_low) in clk_register_gpio() 172 const char *parent_name, unsigned gpio, bool active_low, in clk_hw_register_gpio_gate() argument 177 (parent_name ? 1 : 0), gpio, active_low, flags, in clk_hw_register_gpio_gate() 183 const char *parent_name, unsigned gpio, bool active_low, in clk_register_gpio_gate() argument 188 hw = clk_hw_register_gpio_gate(dev, name, parent_name, gpio, active_low, in clk_register_gpio_gate() 208 bool active_low, unsigned long flags) in clk_hw_register_gpio_mux() argument 216 gpio, active_low, flags, &clk_gpio_mux_ops); in clk_hw_register_gpio_mux() 222 bool active_low, unsigned long flags) in clk_register_gpio_mux() argument 227 gpio, active_low, flags); in clk_register_gpio_mux() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | led.c | 24 if (wl->radio_led.active_low) in brcms_radio_led_ctrl() 64 bool active_low = false; in brcms_led_register() local 68 radio_led->active_low = false; in brcms_led_register() 79 active_low = true; in brcms_led_register() 89 active_low ? GPIOF_OUT_INIT_HIGH in brcms_led_register() 123 radio_led->active_low = active_low; in brcms_led_register()
|
D | led.h | 22 bool active_low; member
|
/drivers/watchdog/ |
D | gpio_wdt.c | 30 bool active_low; member 43 gpio_set_value_cansleep(priv->gpio, !priv->active_low); in gpio_wdt_disable() 73 gpio_set_value_cansleep(priv->gpio, !priv->active_low); in gpio_wdt_hwping() 75 gpio_set_value_cansleep(priv->gpio, priv->active_low); in gpio_wdt_hwping() 82 priv->state = priv->active_low; in gpio_wdt_start_impl() 160 priv->active_low = flags & OF_GPIO_ACTIVE_LOW; in gpio_wdt_probe() 170 f = priv->active_low ? GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW; in gpio_wdt_probe()
|
/drivers/leds/ |
D | leds-bcm6358.c | 47 bool active_low; member 89 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set() 90 (!led->active_low && value != LED_OFF)) in bcm6358_led_set() 114 led->active_low = true; in bcm6358_led() 128 if ((led->active_low && !val) || in bcm6358_led() 129 (!led->active_low && val)) in bcm6358_led()
|
D | leds-pwm.c | 29 unsigned int active_low; member 63 if (led_dat->active_low) in led_pwm_set() 97 led_data->active_low = led->active_low; in led_pwm_add() 159 led.active_low = of_property_read_bool(child, "active-low"); in led_pwm_create_of()
|
D | leds-bcm6328.c | 74 bool active_low; member 135 if ((led->active_low && value == LED_OFF) || in bcm6328_led_set() 136 (!led->active_low && value != LED_OFF)) in bcm6328_led_set() 299 led->active_low = true; in bcm6328_led() 322 if ((led->active_low && val == BCM6328_LED_MODE_OFF) || in bcm6328_led() 323 (!led->active_low && val == BCM6328_LED_MODE_ON)) in bcm6328_led()
|
D | leds-gpio.c | 100 if (template->active_low) in create_gpio_led()
|
/drivers/reset/sti/ |
D | reset-syscfg.c | 45 bool active_low; member 57 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw() 134 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status() 164 rc->active_low = data->active_low; in syscfg_reset_controller_register()
|
D | reset-syscfg.h | 53 bool active_low; member
|
D | reset-stih415.c | 87 .active_low = true,
|
D | reset-stih416.c | 118 .active_low = true,
|
D | reset-stih407.c | 123 .active_low = true,
|
/drivers/media/rc/ |
D | gpio-ir-recv.c | 32 bool active_low; member 55 pdata->active_low = (flags & OF_GPIO_ACTIVE_LOW); in gpio_ir_recv_get_devtree_pdata() 87 if (gpio_dev->active_low) in gpio_ir_recv_irq() 173 gpio_dev->active_low = pdata->active_low; in gpio_ir_recv_probe()
|
/drivers/input/keyboard/ |
D | nspire-keypad.c | 50 bool active_low; member 72 if (keypad->active_low) in nspire_keypad_irq() 199 keypad->active_low = of_property_read_bool(of_node, "active-low"); in nspire_keypad_probe() 257 keypad->active_low ? ", active_low" : ""); in nspire_keypad_probe()
|
D | matrix_keypad.c | 52 bool level_on = !pdata->active_low; in __activate_col() 84 !pdata->active_low : pdata->active_low; in row_asserted() 321 gpio_direction_output(pdata->col_gpios[i], !pdata->active_low); in matrix_keypad_init_gpio() 435 pdata->active_low = true; in matrix_keypad_parse_dt()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 238 data->active_low = of_property_read_bool(np, in stmmac_mdio_reset() 248 data->active_low ? 1 : 0); in stmmac_mdio_reset() 252 gpio_set_value(data->reset_gpio, data->active_low ? 0 : 1); in stmmac_mdio_reset() 256 gpio_set_value(data->reset_gpio, data->active_low ? 1 : 0); in stmmac_mdio_reset()
|
/drivers/gpio/ |
D | gpiolib-acpi.c | 381 args->args[2] = par->active_low; in acpi_get_driver_gpio_data() 393 bool active_low; member 457 if (lookup->active_low) in acpi_gpio_resource_lookup() 458 info->polarity = lookup->active_low; in acpi_gpio_resource_lookup() 491 lookup->active_low = !!args.args[2]; in acpi_gpio_property_lookup() 541 lookup.pin_index, lookup.active_low); in acpi_get_gpiod_by_index()
|
/drivers/staging/iio/trigger/ |
D | iio-trig-bfin-timer.h | 20 bool active_low; member
|
D | iio-trig-bfin-timer.c | 244 if (pdata->active_low) in iio_bfin_tmr_trigger_probe()
|
/drivers/video/backlight/ |
D | gpio_backlight.c | 114 gbl->active = pdata->active_low ? 0 : 1; in gpio_backlight_probe()
|
/drivers/input/misc/ |
D | soc_button_array.c | 101 gpio_keys[n_buttons].active_low = 1; in soc_button_device_create()
|
/drivers/hwmon/ |
D | gpio-fan.c | 87 if (alarm->active_low) in show_fan_alarm() 467 alarm->active_low = flags & OF_GPIO_ACTIVE_LOW; in gpio_fan_get_of_pdata()
|
/drivers/net/ethernet/8390/ |
D | axnet_cs.c | 120 int active_low; member 326 info->active_low = 0; in axnet_config() 344 info->active_low = 1; in axnet_config() 395 if (info->active_low == 1) in axnet_resume()
|
/drivers/mfd/ |
D | dm355evm_msp.c | 267 #define GPIO_LED(l) .name = l, .active_low = true in add_children()
|