Lines Matching refs:pin

34 		 "controller@pin combos on which to ignore the ACPI wake flag "
35 "ignore_wake=controller@pin[,controller@pin[,...]]");
40 "controller@pin combos on which to ignore interrupt "
41 "ignore_interrupt=controller@pin[,controller@pin[,...]]");
55 * @pin: GPIO pin number on the struct gpio_chip
60 * @desc: struct gpio_desc for the GPIO pin for this event
66 unsigned int pin;
76 unsigned int pin;
99 * @pin_config: pin bias as provided by ACPI
135 * acpi_get_gpiod() - Translate ACPI GPIO pin to GPIO descriptor usable with GPIO API
137 * @pin: ACPI GPIO pin number (0-based, controller-relative)
144 static struct gpio_desc *acpi_get_gpiod(char *path, unsigned int pin)
162 return gpio_device_get_desc(gdev, pin);
178 acpi_execute_simple_method(event->handle, NULL, event->pin);
278 * and the polarity instead. If the pin is pulled up we assume
280 * to be low, otherwise we leave pin untouched. For active low
311 unsigned int pin = agpio->pin_table[index];
315 desc = gpiochip_request_own_desc(chip, pin, label, polarity, flags);
323 "Failed to set debounce-timeout for pin 0x%04X, err %d\n",
324 pin, ret);
333 unsigned int pin;
346 pin = simple_strtoul(pin_str + 1, &endp, 10);
350 if (pin == pin_in)
368 unsigned int pin = agpio->pin_table[0];
373 if (acpi_gpio_in_ignore_list(ignore_wake, dev_name(parent), pin)) {
374 dev_info(parent, "Ignoring wakeup on pin %u\n", pin);
392 unsigned int pin;
399 pin = agpio->pin_table[0];
401 if (pin <= 255) {
405 pin);
416 if (acpi_gpio_in_ignore_list(ignore_interrupt, dev_name(chip->parent), pin)) {
417 dev_info(chip->parent, "Ignoring interrupt on pin %u\n", pin);
424 "Failed to request GPIO for pin 0x%04X, err %ld\n",
425 pin, PTR_ERR(desc));
429 ret = gpiochip_lock_as_irq(chip, pin);
432 "Failed to lock GPIO pin 0x%04X as interrupt, err %d\n",
433 pin, ret);
440 "Failed to translate GPIO pin 0x%04X to IRQ, err %d\n",
441 pin, irq);
474 event->pin = pin;
482 gpiochip_unlock_as_irq(chip, pin);
575 gpiochip_unlock_as_irq(chip, event->pin);
865 * Note: if the GPIO resource has multiple entries in the pin list, this
1025 * pin direction according to the flags in GpioInt resource.
1143 unsigned int pin = agpio->pin_table[i];
1152 if (conn->pin == pin) {
1169 if (event->pin == pin) {
1193 conn->pin = pin;
1500 * The Minix Neo Z83-4 has a micro-USB-B id-pin handler for
1514 * The Terra Pad 1061 has a micro-USB-B id-pin handler, which
1531 * event handler on INT33FFC:02 pin 12, causing spurious wakeups.
1545 * event handler on INT33FF:01 pin 0, causing spurious wakeups.
1566 * event handler on INT33FC:02 pin 28, causing spurious wakeups.
1581 * event handler on INT33FF:01 pin 0, causing spurious wakeups.
1594 * Interrupt storm caused from edge triggered floating pin
1608 * Spurious wakeups from TP_ATTN# pin
1621 * Spurious wakeups from TP_ATTN# pin
1634 * Spurious wakeups from TP_ATTN# pin
1646 * On the Peaq C1010 2-in-1 INT33FC:00 pin 3 is connected to
1654 * Ignore the _AEI handler for the pin, so that it is not busy.
1666 * Spurious wakeups from TP_ATTN# pin