Home
last modified time | relevance | path

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

12

/drivers/clk/
Dclk-gpio.c99 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/
Dled.c24 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()
Dled.h22 bool active_low; member
/drivers/watchdog/
Dgpio_wdt.c30 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/
Dleds-bcm6358.c47 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()
Dleds-pwm.c29 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()
Dleds-bcm6328.c74 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()
Dleds-gpio.c100 if (template->active_low) in create_gpio_led()
/drivers/reset/sti/
Dreset-syscfg.c45 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()
Dreset-syscfg.h53 bool active_low; member
Dreset-stih415.c87 .active_low = true,
Dreset-stih416.c118 .active_low = true,
Dreset-stih407.c123 .active_low = true,
/drivers/media/rc/
Dgpio-ir-recv.c32 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/
Dnspire-keypad.c50 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()
Dmatrix_keypad.c52 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/
Dstmmac_mdio.c238 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/
Dgpiolib-acpi.c381 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/
Diio-trig-bfin-timer.h20 bool active_low; member
Diio-trig-bfin-timer.c244 if (pdata->active_low) in iio_bfin_tmr_trigger_probe()
/drivers/video/backlight/
Dgpio_backlight.c114 gbl->active = pdata->active_low ? 0 : 1; in gpio_backlight_probe()
/drivers/input/misc/
Dsoc_button_array.c101 gpio_keys[n_buttons].active_low = 1; in soc_button_device_create()
/drivers/hwmon/
Dgpio-fan.c87 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/
Daxnet_cs.c120 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/
Ddm355evm_msp.c267 #define GPIO_LED(l) .name = l, .active_low = true in add_children()

12