Home
last modified time | relevance | path

Searched full:active_low (Results 1 – 25 of 104) sorted by relevance

12345

/openbmc/linux/arch/mips/bcm63xx/boards/
H A Dboard_bcm963xx.c87 .active_low = 1,
92 .active_low = 1,
98 .active_low = 1,
103 .active_low = 1,
108 .active_low = 1,
135 .active_low = 1,
140 .active_low = 1,
145 .active_low = 1,
150 .active_low = 1,
156 .active_low = 1,
[all …]
/openbmc/linux/arch/sh/boards/mach-x3proto/
H A Dsetup.c130 .active_low = 1,
135 .active_low = 1,
140 .active_low = 1,
144 .active_low = 1,
148 .active_low = 1,
152 .active_low = 1,
156 .active_low = 1,
160 .active_low = 1,
164 .active_low = 1,
168 .active_low = 1,
[all …]
/openbmc/linux/arch/mips/ar7/
H A Dplatform.c340 .active_low = 1,
345 { .name = "status", .gpio = 8, .active_low = 1, },
346 { .name = "wifi", .gpio = 13, .active_low = 1, },
353 .active_low = 1,
358 .active_low = 1,
363 .active_low = 1,
371 .active_low = 1,
376 .active_low = 1,
381 .active_low = 1,
386 .active_low = 1,
[all …]
/openbmc/linux/arch/sh/boards/mach-rsk/
H A Ddevices-rsk7203.c54 .active_low = 1,
59 .active_low = 1,
64 .active_low = 1,
69 .active_low = 1,
90 .active_low = 1,
95 .active_low = 1,
100 .active_low = 1,
/openbmc/linux/drivers/leds/
H A Dleds-bcm6358.c36 * @active_low: LED is active low
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()
112 led->active_low = true; in bcm6358_led()
124 if ((led->active_low && !val) || (!led->active_low && val)) in bcm6358_led()
H A Dleds-pwm.c24 u8 active_low; member
33 unsigned int active_low; member
52 if (led_dat->active_low) in led_pwm_set()
74 led_data->active_low = led->active_low; in led_pwm_add()
159 led.active_low = fwnode_property_read_bool(fwnode, in led_pwm_create_fwnode()
H A Dleds-bcm6328.c66 * @active_low: LED is active low
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()
349 led->active_low = true; in bcm6328_led()
367 if ((led->active_low && val == BCM6328_LED_MODE_OFF) || in bcm6328_led()
368 (!led->active_low && val == BCM6328_LED_MODE_ON)) in bcm6328_led()
/openbmc/u-boot/drivers/led/
H A Dled_bcm6358.c37 bool active_low; member
72 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6358_led_get_state()
75 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6358_led_get_state()
89 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6358_led_set_state()
92 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6358_led_set_state()
164 priv->active_low = true; in bcm6358_led_probe()
H A Dled_bcm6328.c44 bool active_low; member
73 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state()
76 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state()
95 mode = (priv->active_low ? LED_MODE_ON : LED_MODE_OFF); in bcm6328_led_set_state()
98 mode = (priv->active_low ? LED_MODE_OFF : LED_MODE_ON); in bcm6328_led_set_state()
195 priv->active_low = true; in bcm6328_led_probe()
/openbmc/linux/drivers/reset/sti/
H A Dreset-syscfg.c36 * @active_low: are the resets in this controller active low, i.e. clearing
42 bool active_low; member
54 u32 ctrl_val = rst->active_low ? !assert : !!assert; in syscfg_reset_program_hw()
121 return rst->active_low ? !ret_val : !!ret_val; in syscfg_reset_status()
149 rc->active_low = data->active_low; in syscfg_reset_controller_register()
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/
H A Dgbs-gpio-common.sh48 # 1 is active_low 0 is active_high
101 local active_low=${GPIO_NAMES_TO_ACTIVE_LOW["${name}"]}
102 if [[ -z ${active_low} ]]; then
103 echo "Missing active_low info for: ${name}" >&2
110 echo "${active_low}" >"/sys/class/gpio/gpio${number}/active_low"
/openbmc/linux/drivers/reset/
H A Dreset-simple.c43 if (assert ^ data->active_low) in reset_simple_update()
110 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
119 bool active_low; member
132 .active_low = true,
188 data->active_low = devdata->active_low; in reset_simple_probe()
/openbmc/linux/arch/x86/kernel/
H A Ddevicetree.c179 u32 active_low; member
187 .active_low = 1,
192 .active_low = 0,
197 .active_low = 1,
202 .active_low = 0,
222 ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->is_level, it->active_low); in dt_irqdomain_alloc()
/openbmc/linux/Documentation/devicetree/bindings/spi/
H A Dspi-controller.yaml60 spi-cs-high | ACTIVE_LOW | H | 2
61 - | ACTIVE_LOW | L |
66 ACTIVE_LOW.
68 because ACTIVE_LOW is overridden by spi-cs-high.
/openbmc/linux/drivers/input/keyboard/
H A Dnspire-keypad.c47 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()
255 keypad->active_low ? ", active_low" : ""); in nspire_keypad_probe()
/openbmc/gpioplus/src/gpioplus/
H A Dhandle.cpp14 output(line_flags.output), active_low(line_flags.active_low), in HandleFlags()
29 if (active_low) in toInt()
/openbmc/linux/arch/arm/mach-orion5x/
H A Ddns323-setup.c262 .active_low = 1,
266 .active_low = 1,
276 .active_low = 1,
280 .active_low = 1,
284 .active_low = 1,
318 .active_low = 1,
323 .active_low = 1,
337 .active_low = 1,
624 dns323ab_leds[0].active_low = 1; in dns323_init()
H A Dts409-setup.c172 .active_low = 1,
176 .active_low = 1,
180 .active_low = 1,
184 .active_low = 1,
214 .active_low = 1,
219 .active_low = 1,
H A Dmv2120-setup.c83 .active_low = 1,
88 .active_low = 1,
160 .active_low = 1,
165 .active_low = 1,
/openbmc/openbmc/meta-google/recipes-google/gpio/gpio-ctrl/
H A Dlib.sh170 local active_low=0
172 active_low=1
174 if ! echo "$active_low" >"/sys/class/gpio/gpio$num/active_low"; then
175 echo "Failed to set active_low for $name gpio$num" >&2
/openbmc/linux/arch/mips/loongson32/ls1b/
H A Dboard.c20 .active_low = 1,
26 .active_low = 1,
/openbmc/linux/include/linux/reset/
H A Dreset-simple.h24 * @active_low: if true, bits are cleared to assert the reset. Otherwise, bits
41 bool active_low; member
/openbmc/gpioplus/test/
H A Dchip.cpp33 EXPECT_FALSE(line_flags.active_low); in TEST()
40 EXPECT_TRUE(line_flags.active_low); in TEST()
118 EXPECT_TRUE(retrieved_info.flags.active_low); in TEST_F()
/openbmc/linux/include/linux/
H A Dgpio_keys.h13 * @active_low: %true indicates that button is considered
28 int active_low; member
/openbmc/linux/drivers/leds/rgb/
H A Dleds-pwm-multicolor.c22 bool active_low; member
49 if (priv->leds[i].active_low) in led_pwm_mc_set()
83 pwmled->active_low = fwnode_property_read_bool(fwnode, "active-low"); in iterate_subleds()

12345