Home
last modified time | relevance | path

Searched refs:desc_to_gpio (Results 1 – 16 of 16) sorted by relevance

/drivers/gpio/
Dgpiolib.h151 pr_emerg("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
154 pr_crit("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
157 pr_err("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
160 pr_warn("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
163 pr_info("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?", \
166 pr_debug("gpio-%d (%s): " fmt, desc_to_gpio(desc), desc->label ? : "?",\
Dgpiolib.c164 int desc_to_gpio(const struct gpio_desc *desc) in desc_to_gpio() function
168 EXPORT_SYMBOL_GPL(desc_to_gpio);
2376 trace_gpio_direction(desc_to_gpio(desc), 1, ret); in gpiod_direction_input()
2420 trace_gpio_value(desc_to_gpio(desc), 0, val); in gpiod_direction_output_raw_commit()
2421 trace_gpio_direction(desc_to_gpio(desc), 0, ret); in gpiod_direction_output_raw_commit()
2651 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_raw_value_commit()
2762 trace_gpio_value(desc_to_gpio(desc), 1, value); in gpiod_get_array_value_complex()
2895 trace_gpio_direction(desc_to_gpio(desc), value, ret); in gpio_set_open_drain_value_commit()
2920 trace_gpio_direction(desc_to_gpio(desc), !value, ret); in gpio_set_open_source_value_commit()
2932 trace_gpio_value(desc_to_gpio(desc), 0, value); in gpiod_set_raw_value_commit()
[all …]
Dgpiolib-of.c288 return desc_to_gpio(desc); in of_get_named_gpio_flags()
633 desc_to_gpio(desc), np); in of_parse_own_gpio()
Dgpio-aggregator.c484 dev_dbg(dev, "%u => gpio-%d\n", i, desc_to_gpio(descs[i])); in gpiochip_fwd_create()
Dgpiolib-sysfs.c644 desc_to_gpio(desc)); in gpiod_export()
/drivers/input/misc/
Dgpio_decoder.c43 desc_to_gpio(gpios->desc[i]), val); in gpio_decoder_get_gpios_state()
Dsoc_button_array.c144 *gpio_ret = desc_to_gpio(desc); in soc_button_lookup_gpio()
/drivers/i2c/busses/
Di2c-gpio.c461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
/drivers/platform/x86/
Dsurface3_button.c80 gpio = desc_to_gpio(desc); in surface3_button_lookup_gpio()
/drivers/char/tpm/st33zp24/
Di2c.c136 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_i2c_acpi_request_resources()
Dspi.c254 phy->io_lpcpd = desc_to_gpio(gpiod_lpcpd); in st33zp24_spi_acpi_request_resources()
/drivers/iio/humidity/
Ddht11.c312 dev_err(dev, "GPIO %d has no interrupt\n", desc_to_gpio(dht11->gpiod)); in dht11_probe()
/drivers/iio/accel/
Dmma9551.c432 desc_to_gpio(gpio), data->irqs[i]); in mma9551_gpio_probe()
/drivers/input/touchscreen/
Dedt-ft5x06.c1250 tsdata->wake_gpio ? desc_to_gpio(tsdata->wake_gpio) : -1, in edt_ft5x06_ts_probe()
1251 tsdata->reset_gpio ? desc_to_gpio(tsdata->reset_gpio) : -1); in edt_ft5x06_ts_probe()
/drivers/power/supply/
Dbq24257_charger.c878 dev_dbg(bq->dev, "probed PG pin = %d\n", desc_to_gpio(bq->pg)); in bq24257_pg_gpio_probe()
/drivers/bluetooth/
Dhci_intel.c1185 desc_to_gpio(idev->reset), idev->irq); in intel_probe()