Searched defs:active_low (Results 1 - 16 of 16) sorted by relevance

/drivers/staging/iio/trigger/
H A Diio-trig-bfin-timer.h7 * @active_low: Whether the trigger pulse is active low.
13 * converters which needs an external signal to start conversion. active_low and
15 * is set to false no external trigger pulse will be generated and active_low
20 bool active_low; member in struct:iio_bfin_timer_trigger_pdata
/drivers/net/wireless/brcm80211/brcmsmac/
H A Dled.h22 bool active_low; member in struct:brcms_led
H A Dled.c24 if (wl->radio_led.active_low)
64 bool active_low = false; local
68 radio_led->active_low = false;
79 active_low = true;
89 active_low ? GPIOF_OUT_INIT_HIGH
123 radio_led->active_low = active_low;
/drivers/staging/android/
H A Dtimed_gpio.h25 u8 active_low; member in struct:timed_gpio
H A Dtimed_gpio.c34 u8 active_low; member in struct:timed_gpio_data
42 gpio_direction_output(data->gpio, data->active_low ? 1 : 0);
71 gpio_direction_output(data->gpio, data->active_low ? !value : !!value);
124 gpio_dat->active_low = cur_gpio->active_low;
125 gpio_direction_output(gpio_dat->gpio, gpio_dat->active_low);
/drivers/reset/sti/
H A Dreset-syscfg.h46 * @active_low: Are the resets in this controller active low, i.e. clearing
53 bool active_low; member in struct:syscfg_reset_controller_data
H A Dreset-syscfg.c39 * @active_low: are the resets in this controller active low, i.e. clearing
45 bool active_low; member in struct:syscfg_reset_controller
57 u32 ctrl_val = rst->active_low ? !assert : !!assert;
139 rc->active_low = data->active_low;
/drivers/media/rc/
H A Dgpio-ir-recv.c32 bool active_low; member in struct:gpio_rc_dev
54 pdata->active_low = (flags & OF_GPIO_ACTIVE_LOW);
86 if (gpio_dev->active_low)
155 gpio_dev->active_low = pdata->active_low;
/drivers/leds/
H A Dleds-pwm.c31 unsigned int active_low; member in struct:led_pwm_data
73 if (led_dat->active_low)
105 led_data->active_low = led->active_low;
160 led.active_low = of_property_read_bool(child, "active-low");
H A Dleds-gpio.c31 u8 active_low; member in struct:gpio_led_data
63 if (led_dat->active_low)
117 led_dat->active_low = template->active_low;
125 state = !!gpio_get_value_cansleep(led_dat->gpio) ^ led_dat->active_low;
132 ret = gpio_direction_output(led_dat->gpio, led_dat->active_low ^ state);
192 led.active_low = flags & OF_GPIO_ACTIVE_LOW;
/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c141 int reset_gpio, active_low; local
153 data->active_low = of_property_read_bool(np,
160 active_low = data->active_low;
163 gpio_direction_output(reset_gpio, active_low ? 1 : 0);
165 gpio_set_value(reset_gpio, active_low ? 0 : 1);
167 gpio_set_value(reset_gpio, active_low ? 1 : 0);
/drivers/watchdog/
H A Dgpio_wdt.c32 bool active_low; member in struct:gpio_wdt_priv
44 gpio_set_value_cansleep(priv->gpio, !priv->active_low);
55 priv->state = priv->active_low;
111 gpio_set_value_cansleep(priv->gpio, !priv->active_low);
113 gpio_set_value_cansleep(priv->gpio, priv->active_low);
169 priv->active_low = flags & OF_GPIO_ACTIVE_LOW;
179 f = priv->active_low ? GPIOF_OUT_INIT_HIGH : GPIOF_OUT_INIT_LOW;
/drivers/gpio/
H A Dgpiolib.h23 * @active_low: in case of @gpioint, the pin is active low
27 bool active_low; member in struct:acpi_gpio_info
/drivers/input/keyboard/
H A Dnspire-keypad.c50 bool active_low; member in struct:nspire_keypad
72 if (keypad->active_low)
199 keypad->active_low = of_property_read_bool(of_node, "active-low");
257 keypad->active_low ? ", active_low" : "");
/drivers/net/ethernet/8390/
H A Daxnet_cs.c120 int active_low; member in struct:axnet_dev
326 info->active_low = 0;
344 info->active_low = 1;
395 if (info->active_low == 1)
/drivers/video/fbdev/
H A Datmel_lcdfb.c68 int active_low; member in struct:atmel_lcdfb_power_ctrl_gpio
1088 og->active_low = flags & OF_GPIO_ACTIVE_LOW;
1096 ret = gpio_direction_output(gpio, og->active_low);

Completed in 251 milliseconds