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

12

/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
H A Diio-trig-bfin-timer.c242 if (pdata->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/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/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;
H A Dreset-stih415.c87 .active_low = true,
H A Dreset-stih416.c118 .active_low = true,
/drivers/leds/
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;
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");
/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/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/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" : "");
H A Dmatrix_keypad.c52 bool level_on = !pdata->active_low;
84 !pdata->active_low : pdata->active_low;
319 gpio_direction_output(pdata->col_gpios[i], !pdata->active_low);
431 pdata->active_low = true;
H A Dgpio_keys_polled.c62 !!(state ^ button->active_low));
158 button->active_low = flags & OF_GPIO_ACTIVE_LOW;
H A Dgpio_keys.c331 int state = (gpio_get_value_cansleep(button->gpio) ? 1 : 0) ^ button->active_low;
642 button->active_low = flags & OF_GPIO_ACTIVE_LOW;
H A Dtca6416-keypad.c112 ^ button->active_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/misc/
H A Dsoc_button_array.c102 gpio_keys[n_buttons].active_low = 1;
/drivers/video/backlight/
H A Dgpio_backlight.c113 gbl->active = pdata->active_low ? 0 : 1;
/drivers/mfd/
H A Ddm355evm_msp.c269 #define GPIO_LED(l) .name = l, .active_low = true
/drivers/hwmon/
H A Dgpio-fan.c84 if (alarm->active_low)
477 alarm->active_low = flags & OF_GPIO_ACTIVE_LOW;

Completed in 474 milliseconds

12